]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - ChangeLog
plugins/elements/gstqueue.c: Improve debugging. Fixes #480858.
[glsdk/gstreamer0-10.git] / ChangeLog
1 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
7         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
8         Improve debugging. Fixes #480858.
10 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
12         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
14         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15         First patch of code cleanups, use the macros and right arguments in the
16         macros to signal and lock the queue. See #480858.
18 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
20         * gst/gstbus.c: (poll_func):
21         Improve debugging when dealing with _poll().
23 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
25         * gst/gstregistryxml.c:
26           Fix memory leak I introduced a few days ago.
28 2007-09-26  Michael Smith <msmith@fluendo.com>
30         * gst/gstbuffer.c: (gst_buffer_finalize):
31           Make it once again possible to free GstBuffers in the default
32           build.
33           The poisoning scribbles on parts of the miniobject we need in
34           order to free it.
35           Fixes #480341
37 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
39         * docs/gst/gstreamer-sections.txt:
40         * gst/gsttaglist.c:
41         * gst/gsttaglist.h:
42         API: add GST_TAG_COMPOSER, fixes #459809.
44 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
46         * gst/gstplugin.c:
47         * gst/gstplugin.h:
48         Add the 3-clause BSD license and the MIT/X11 license to the license
49         list. Fixes #479784.
51 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
53         * docs/faq/getting.xml:
54           Add Q+A about different GStreamer versions (#364056).
56 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
58         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
59         (gst_base_sink_event), (gst_base_sink_change_state):
60         Return correct gboolean from query function.
62 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
64         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
65         (gst_base_sink_event), (gst_base_sink_query),
66         (gst_base_sink_change_state):
67         Simplify latency query.
68         When not synchronizing, we can report latency without querying the peer
69         element.
71 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
73         * gst/gstobject.h:
74         * gst/gstvalue.c:
75         Fix small typos in the docs.
77 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
79         * docs/design/draft-latency.txt:
80         * docs/design/draft-push-pull.txt:
81         * docs/design/draft-tagreading.txt:
82         * docs/design/part-MT-refcounting.txt:
83         * docs/design/part-activation.txt:
84         * docs/design/part-block.txt:
85         * docs/design/part-element-source.txt:
86         * docs/design/part-events.txt:
87         * docs/design/part-gstbin.txt:
88         * docs/design/part-gstelement.txt:
89         * docs/design/part-gstobject.txt:
90         * docs/design/part-gstpipeline.txt:
91         * docs/design/part-messages.txt:
92         * docs/design/part-preroll.txt:
93         * docs/design/part-push-pull.txt:
94         * docs/design/part-qos.txt:
95         * docs/design/part-query.txt:
96         * docs/design/part-scheduling.txt:
97         * docs/design/part-seeking.txt:
98         * docs/design/part-segments.txt:
99         * docs/design/part-states.txt:
100         Documentation updates and typo fixes.
102 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
104         * plugins/elements/gstfakesink.c:
105           Add some debug text to error message to indicate that
106           we errored out on request.
108         * tools/gst-launch.c:
109           When the state change to PLAYING fails, check for an
110           error message on the bus and print it.
112 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
114         translated by: Jorge González González <aloriel@gmail.com>
116         * po/LINGUAS:
117         * po/es.po:
118           Added Spanish translation.
120 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
122         * plugins/elements/gstqueue.c: (gst_queue_push_one):
123         Fix printf arguments.
125 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
127         * tests/check/generic/states.c:
128           Improved state change unit test.
130 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
132         * gst/gstbin.h:
133           Move priv to the right place.
135         * gst/gstsystemclock.c:
136           Add FIXME: and improve log.
138         * tests/check/Makefile.am:
139         * tests/examples/manual/Makefile.am:
140           Work with all types of registries.
142 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
144         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
145         Don't unref the event after pushing it. Fixes #478401.
147 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
149         * .cvsignore:
150         * tests/examples/manual/.cvsignore:
151           Ignore registries in any format.
153 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
155         * gst/glib-compat-private.h:
156           Add compatibility macro for g_intern_string() for
157           GLib-2.8 (any reason we can't just bump the
158           requirement to at least 2.10?)
160         * gst/gstpadtemplate.h:
161         * gst/gstelementfactory.c:
162         * gst/gstregistryxml.c:
163         * gst/gstregistrybinary.c:
164           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
165           up the internal code accordingly.  This shouldn't be a problem, since
166           there is no reason external code could ever assume the string in such
167           a structure is dynamically allocated unless it did that itself;  the
168           use of g_strdup() is private to element factories.  The new code also
169           saves some memory by putting pad template name strings into the GLib
170           quark table instead of allocating them dynamically.
171           Declaring this field constant fixes warnings with g++-4.2 when using
172           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
174 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
176         * gst/gstelementfactory.c:
177           Release static caps. Fixes #475723.
179 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
181         * gst/gstinfo.c:
182         * gst/gstinfo.h:
183           Make some internal API take const gchar * instead of just
184           gchar * to avoid compiler warnings with g++-4.2.2 when
185           passing string constants (partially fixes #478092).
187 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
189         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
190         A latency query fails when one of the sinks fail.
192         * gst/gstelement.c: (gst_element_set_base_time):
193         Improve debugging.
195 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
197         * gst/gstbin.c: (gst_bin_continue_func):
198         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
200         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
202         Fix minor compilation warnings shown with Forte.
204 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
206         * plugins/elements/gstqueue.c: (apply_buffer),
207         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
208         Measure queue level based on the diff between head and tail timestamps
209         even when pushing the first buffer.
211 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
213         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
214         (gst_base_sink_event), (gst_base_sink_change_state):
215         Sinks that don't preroll can always be queried for the latency.
216         Don't post ASYNC start when we are not async.
218 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
220         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
221         (gst_queue_handle_sink_event), (gst_queue_chain),
222         (gst_queue_push_one), (gst_queue_handle_src_query),
223         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
224         * plugins/elements/gstqueue.h:
225         When downstream returns UNEXPECTED from pushing a buffer, don't try to
226         push more buffers but allow pushing of EOS and NEWSEGMENT.
227         Add some more debug info here and there. Fixes #476514.
229 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
231         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
232         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
233         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
234         (gst_base_sink_set_flushing), (gst_base_sink_query),
235         (gst_base_sink_change_state):
236         Latency query is allowed after we are prerolled. Introduce a new flag
237         for this and stop abusing other variables.
239 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
241         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
242         Push OOB events downstream when we get them in send_event. This allows
243         the application to insert events in the pipeline.
244         Add some more comments.
246 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
248         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
249         (do_bin_latency), (gst_bin_change_state_func):
250         * gst/gstpipeline.c: (gst_pipeline_change_state):
251         Move latency query from GstPipeline to GstBin so that we can also
252         use it when async-handling is enabled on bins.
254 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
256         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
257         (gst_base_src_do_sync), (gst_base_src_change_state):
258         Update docs.
259         Clean up the timestamping and syncing code for pseudo live sources.
261 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
263         Patch by: Steve Fink  <sphink gmail com>
265         * docs/manual/appendix-checklist.xml:
266           Mention less -R switch in the section about debug output (#474055).
268 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
270         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
271         Queue can latency to the pipeline up to the configured max size in time.
272         Report this fact in the latency query.
274 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
276         Patch by: Sebastien Moutte <sebastien at moutte dot net>
278         * libs/gst/controller/gstinterpolation.c:
279         * libs/gst/controller/gstlfocontrolsource.c:
280         Use gst_guint64_to_gdouble() when converting from a uint64 or
281         GstClockTime to double to fix the build on win32. Fixes #474371.
283 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
285         * gst/gstbuffer.c: (gst_buffer_finalize):
286         Implement poisoning for GstBuffer if --enable-poisoning is specified.
287         When finalizing a buffer the complete struct is filled with 0xff,
288         thus making a use of the buffer after the final unref impossible.
290 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
292         * tests/check/libs/controller.c: (GST_START_TEST):
293         Use fail_unless_equals_int(a, b) instead of
294         fail_unless_equals (a == b) to get better output on failures.
296 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
298         * tests/check/gst/gsturi.c:
299           Also check for the other file URI variant on win32.
301 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
303         * gst/gsturi.c: (gst_uri_get_location):
304           If there's no hostname, we want to return 'c:/foo/bar.txt'
305           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
307         * tests/check/gst/gsturi.c:
308           Unit test for the above and a few more things.
310 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
312         * docs/design/part-live-source.txt:
313         Add docs on how live sources should timestamp.
315         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
316         Add some more debug info.
317         For subclasses that are live and like to sync, add aditional startup
318         latency to sync time and timestamps so that we timstamp according to the
319         design doc.
321 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
323         * gst/gstbuffer.c:
324           Also do a g_type_class_ref() for the subbuffer type in
325           the init function.
327 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
329         * docs/gst/gstreamer-sections.txt:
330         * gst/gstpad.c: (gst_pad_peer_query):
331         * gst/gstpad.h:
332         Add function to perform a query on the peer of a pad.
333         API: gst_pad_peer_query()
335 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
337         * tests/check/gst/gstsystemclock.c:
338           Cleanup the test a little (use gst-logging and not g_message). Improve
339           test to check if a wait reached the target.
341 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
343         * docs/libs/gstreamer-libs-sections.txt:
344           Add new API to docs and fix the build.
346 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
348         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
349         (gst_base_src_init), (gst_base_src_set_do_timestamp),
350         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
351         (gst_base_src_get_property), (gst_base_src_do_sync):
352         * libs/gst/base/gstbasesrc.h:
353         Add property to make the basesrc timestamp buffers based on the current
354         running time.
355         API: GstBaseSrc::do-timestamp
356         API: gst_base_src_set_do_timestamp()
357         API: gst_base_src_get_do_timestamp()
359 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
361         * docs/random/release:
362           Really make sure translations are up-to-date before
363           a release (#465010).
365 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
367         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
368         Always destroy the timer, also in error cases.
370 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
372         * docs/manual/highlevel-xml.xml:
373         Fix XML example code. Fixes #472714.
375 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
377         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
378         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
379         (gst_base_sink_query):
380         Protect eos and have_preroll with the OBJECT lock so we don't need to
381         take the PREROLL lock when querying the latency. Fixes #473846.
383 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
385         * gst/gstelement.c:
386           Give some log-messages a category.
388 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
390         * gst/gststructure.c:
391         (gst_structure_fixate_field_nearest_fraction):
392         Fix fraction list fixation code. Take the fraction with the smallest
393         difference with the target instead of the first one in the list.
395         * tests/check/gst/gststructure.c: (GST_START_TEST),
396         (gst_structure_suite):
397         Added test to verify correct fraction list fixation behaviour.
399 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
401         * win32/common/libgstreamer.def:
402           Export gst_bus_add_signal_watch too.
404 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
406         * docs/libs/gstreamer-libs-sections.txt:
407         Add new methods to docs.
409         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
410         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
411         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
412         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
413         * libs/gst/base/gstbasesink.h:
414         Add ts-offset property to fine-tune the synchronisation.
415         API: GstBaseSink::ts-offset property
416         API: gst_base_sink_set_ts_offset()
417         API: gst_base_sink_get_ts_offset()
419 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
421         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
422         (gst_base_sink_init), (gst_base_sink_set_sync),
423         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
424         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
425         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
426         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
427         (gst_base_sink_get_property), (gst_base_sink_change_state):
428         * libs/gst/base/gstbasesink.h:
429         Add async property to instruct the sink never to inform the parent about
430         ASYNC state changes, update docs.
431         Check argument with g_return_* for the public functions.
432         API: GstBaseSink::async property
433         API: gst_base_sink_set_async_enabled()
434         API: gst_base_sink_is_async_enabled()
436 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
438         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
439         Improve debugging.
441         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
442         (gst_base_src_default_query), (gst_base_src_wait),
443         (gst_base_src_do_sync), (gst_base_src_change_state):
444         Rearrange some code so that we can add support for measuring the 
445         startup latency.
447 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
449         * docs/random/ensonic/dynlink.txt:
450           More thoughs on this.
452         * plugins/elements/gstcapsfilter.c:
453           Add bugzilla ticket number to FIXME comment.
455 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
457         * docs/design/part-TODO.txt:
458         * docs/design/part-block.txt:
459         Update some docs.
461 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
463         * gst/Makefile.am:
464           Revert patch which uses $(gst_headers) instead of $^ because it
465           breaks make dist.
467 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
469         * tests/check/gst/gstbin.c: (GST_START_TEST):
470           Fix leaks in the new unit test.
472 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
474         * gst/gst.c:
475           Don't use GST_INFO before the debug system is actually initialised
476           (shouldn't do any harm, but won't print anything either, so we can
477           just as well remove it).
479         * gst/gstinfo.h:
480           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
481           compilers that don't support variadic macros (such as MSVC), should
482           check for debug_level <= __gst_debug_min as well, since that's the
483           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
484           inline helper functions. Should improve performance a bit, but also
485           makes sure uses of GST_INFO et.al are ignored if the debugging
486           system isn't initialised yet (instead of printing an assertion
487           failure).
489 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
491         patch by: David Nečas <yeti@physics.muni.cz>
493         * gst/Makefile.am:
494           Replace some non portable makefile constructs.
496 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
498         * common/gtk-doc-plugins.mak:
499           Grrrrr. Don't remove the types file on make clean.
501 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
503         * tools/gst-launch.1.in:
504         Add colorspace to example pipeline. Fixes #458274.
506 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
508         * docs/random/release:
509           The release manager should run 'make download-po' before making a
510           release to make sure translations are up-to-date.
512         * po/LINGUAS:
513         * po/be.po:
514         * po/pl.po:
515         * po/rw.po:
516           Add some new translations.
518 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
520         * tools/gst-launch.c: (event_loop), (main):
521         Don´t try to do any state management when a live pipeline posts
522         buffering messages.
523         Also make the buffering string translatable.
525 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
527         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
528         (bin_handle_async_start), (gst_bin_handle_message_func):
529         Improve debugging.
530         When adding elements, insert messages into the bus of the newly added
531         element and make sure the element is the source of the message. This
532         allows the parent bin to intercept the message and do the
533         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
534         messages to the app (which is not allowed).
535         Update some docs.
537         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
538         Fix testsuite so that is does not work around messages that should not
539         have been posted in the first place.
541 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
543         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
544         (update_degree), (gst_bin_sort_iterator_next):
545         Fix annoying bug in the sorted iterator where a sink that is not really
546         a sink (when it has downstream links) screwed up the iterator.
548         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
549         Unit test to verify the fix.
551 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
553         * gst/gstmessage.h:
554         Add some more docs for the messages.
556         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
557         (gst_base_sink_query):
558         Add some more debugging.
560         * tools/gst-launch.c: (event_loop):
561         When interrupting, don't try to set pipeline to PAUSED twice.
563 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
565         
566         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
567         (bin_handle_async_start), (gst_bin_handle_message_func):
568         Move ASYNC_START message posting to where it belongs, similar to
569         async_done. 
570         Don't post ASYNC_START when we are in error. 
571         Post ASYNC_START when we added an async element to a bin.
573 2007-08-14  Julien MOUTTE  <julien@moutte.net>
575         * gst/gstindex.c: (gst_index_add_association): Fix index entry
576         generation from vargs. Fixes #466595.
578 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
580         * gst/gstbin.c: (gst_bin_element_set_state):
581         Always change the state of a NO_PREROLL element even if it has ASYNC
582         elements inside (in case of a bin).
584         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
585         Unit test for this case.
587 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
589         * libs/gst/check/gstbufferstraw.c:
590         * libs/gst/check/gstcheck.h:
591         * libs/gst/controller/gstcontroller.c:
592         * libs/gst/controller/gstcontrolsource.h:
593         * libs/gst/controller/gstlfocontrolsource.h:
594         * plugins/elements/gstcapsfilter.h:
595         * plugins/elements/gstfdsink.h:
596         * plugins/elements/gstfdsrc.h:
597           Add more missing docs.
599 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
601         * gst/gststructure.c:
602         Add Since tag to docs.
604 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
606         * docs/gst/gstreamer-sections.txt:
607         * gst/gststructure.c: (gst_structure_get_uint):
608         * gst/gststructure.h:
609         Add function to get uint from a structure.
610         API: gst_structure_get_uint()
612 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
614         * gst/gstcaps.c: (gst_caps_set_simple_valist),
615         (gst_caps_intersect):
616         Fix proper check for simple caps.
618 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
620         * docs/gst/Makefile.am:
621         * docs/libs/Makefile.am:
622           Remove cruft and do some cleanups.
624         * docs/gst/gstreamer-docs.sgml:
625         * docs/libs/gstreamer-libs-docs.sgml:
626           Prepare for comming gtkdoc features (rebase against online docs).
628 2007-08-10  Michael Smith <msmith@fluendo.com>
630         * docs/gst/gstreamer-sections.txt:
631           Add gst_registry_add_path to docs.
633 2007-08-10  Michael Smith <msmith@fluendo.com>
635         * gst/gstregistry.h:
636           Add gst_registry_add_path, which was missing from this header.
638 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
640         * libs/gst/controller/gstlfocontrolsource.c:
641           Printf format fix.
643 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
645         * libs/gst/base/gstbasesink.c:
646           Don't send an async_start message during downwards state change if 
647           target state is less than READY
649 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
651         translated by: Gabor Kelemen <kelemeng@gnome.hu>
653         * po/LINGUAS:
654         * po/hu.po:
655           Added Hungarian translation.
657 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
659         * po/fi.po:
660         * po/it.po:
661         * po/nl.po:
662         * po/sv.po:
663         * po/uk.po:
664           Updated translations.
666 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
668         * libs/gst/controller/Makefile.am:
669         Dist gstlfocontrolsourceprivate.h
671 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
673         * docs/libs/gstreamer-libs.types:
674         Don't register the enum type gst_lfo_waveform_get_type() in the
675         .types file - only GObject derived types belong.
677 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
679         Patch by: <arenevier at fdn dot fr>
681         * gst/gstbuffer.h:
682         Remove comma from last element in enum to avoid compile errors when
683         using -pendantic. Fixes #464366.
685 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
687         * docs/design/part-TODO.txt:
688         Add some more TODO items
690         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
691         Improve debugging.
693         * gst/gstcaps.c: (gst_caps_intersect):
694         Optimize trivial intersection case between identical caps pointers.
696         * gst/gstelement.c: (gst_element_continue_state),
697         (gst_element_set_state_func):
698         * gst/gstpad.c:
699         Fix spelling and grammar mistakes.
701 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
703         * po/POTFILES.in:
704         * po/POTFILES.skip:
705           Update POTFILES. Fixes #461599.
707 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
709         * gst/gst.c:
710         Fix confusing typo in debug output.
712 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
714         reviewed by: Stefan Kost <ensonic@users.sf.net>
716         * libs/gst/controller/Makefile.am:
717         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
718         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
719         (gst_lfo_control_source_new),
720         (gst_lfo_control_source_set_waveform),
721         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
722         (gst_lfo_control_source_finalize),
723         (gst_lfo_control_source_dispose),
724         (gst_lfo_control_source_set_property),
725         (gst_lfo_control_source_get_property),
726         (gst_lfo_control_source_class_init):
727         * libs/gst/controller/gstlfocontrolsource.h:
728         * libs/gst/controller/gstlfocontrolsourceprivate.h:
729         API: Add GstLFOControlSource, a control source that gives values
730         for specific timestamps based on several periodic waveforms.
731         Fixes #459717.
733         * tests/check/libs/controller.c: (GST_START_TEST),
734         (gst_controller_suite):
735         * docs/libs/gstreamer-libs-docs.sgml:
736         * docs/libs/gstreamer-libs-sections.txt:
737         * docs/libs/gstreamer-libs.types:
738         Add documentation and unit tests for GstLFOControlSource.
740 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
742         * configure.ac:
743         Back to CVS
745 === release 0.10.14 ===
747 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
749         * configure.ac:
750           releasing 0.10.14, "Breathing Vacuum"
752 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
754         * gst/gstelement.c: (gst_element_class_set_details_simple):
755         * gst/gstelement.h:
756           Make strings passed to gst_element_class_set_details_simple()
757           constant, as they should be (#462752).
759 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
761         * gst/gstbin.c: (gst_bin_change_state_func),
762         (bin_handle_async_done), (gst_bin_handle_message_func):
763         Don't forget about the fact that some element went ASYNC even after a
764         resync. This makes us post the ASYNC_DONE message correctly.
765         Fixes #462558.
767 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
769         * gst/gstregistry.c: (gst_registry_add_feature):
770         When replacing an existing feature in the registry, make sure to
771         continue holding a reference until we've replaced the name string
772         within our feature hash table. Make sure to use g_hash_table_replace
773         instead of g_hash_table_insert to ensure the new name string is used
774         as a key instead of the old one that we're about to free.
775         Fixes: #462085
777 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
779         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
780         (gst_plugin_feature_set_name):
781         Revert patch from #459466 until after the release and we can work
782         out exactly what the problem is (if any).
784 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
786         * docs/gst/gstreamer-sections.txt:
787         * gst/gsttaglist.c:
788         * gst/gsttaglist.h:
789           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
791 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
793         * docs/libs/Makefile.am:
794         Include our build-prefix libs and includes before the generic ones to
795         avoid linking against the installed libs when we want the build-tree
796         ones.
798 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
800         Patch by: Steve Fink  <sphink gmail com>
802         * docs/pwg/building-testapp.xml:
803           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
804           if people try to build or install the example from the plugin
805           template against a GStreamer from package using the configure
806           defaults.
808 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
810         Patch by: Steve Fink  <sphink gmail com>
812         * tools/gst-inspect.1.in:
813           Document --print-all and --print-plugin-auto-install-info command
814           line options in man page.
816 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
818         * docs/gst/gstreamer-sections.txt:
819         Add docs for new api function.
821 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
823         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
824         * gst/gstelementfactory.h:
825         API: gst_element_factory_has_interface()
826         Added method to check if an element factory implements a named
827         interface.
829 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
831         * configure.ac:
832         * docs/gst/gstreamer.types.in:
833           Another conditional doc check.
835         * gst/gstmessage.c:
836         * gst/gstparamspecs.h:
837         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
838         * gst/gstvalue.c:
839         * gst/gstxml.h:
840           API-doc fixes.
842 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
844         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
845         (gst_registry_binary_load_feature),
846         (gst_registry_binary_load_plugin),
847         (gst_registry_binary_read_cache):
848           Print error just once and with additional info.
850 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
852         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
853         (helper_find_suggest), (helper_find_get_length),
854         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
855         (gst_type_find_helper_for_buffer):
856           Cleanup the typefindhelper code and add private doc comments.
858 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
860         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
861         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
862         Fix capsfilter for cases where the caps set on capsfilter will provide
863         additional information.
864         Fixes #449197
866 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
868         * gst/gsttypefindfactory.c:
869           Fix docs that recommened wrong function to use.
871 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
873         * tools/gst-inspect.c: (print_plugin_features):
874           Also give media-type for typefinders in element output.
876 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
878         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
879         (gst_registry_remove_features_for_plugin_unlocked),
880         (gst_registry_add_feature), (gst_registry_remove_feature),
881         (gst_registry_lookup_feature_locked):
882         * gst/gstregistry.h:
883           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
884           Fixes #459501.
886 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
888         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
889         (gst_plugin_feature_set_name):
890           Avoid double memory usage for pluginfeature names. Fixes #459466.
892 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
894         * gst/gstpad.h:
895           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
896           driving the pipeline may need to explicitly check for NOT_LINKED as
897           well, since IS_FATAL doesn't cover that.
899 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
901         * docs/pwg/advanced-types.xml:
902           Fix typo and duplicate entry in video formats list.
904 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
906         * libs/gst/controller/gstinterpolation.c:
907         Also round to the nearest int when using cubic interpolation.
909 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
911         * libs/gst/controller/gstinterpolation.c:
912         When linearly interpolating integer types, round to the nearest int
913         by adding 0.5. Don't do it for float/double types.
914         Fixes the failing controller test on my machine, which is somehow
915         rounding differently than on the buildbots.
917 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
919         * tools/gst-plot-timeline.py:
920           Better log parsing (categories can have -). Adjust text vs. lines, so
921           that they span the same y-range.        
923 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
925         * docs/random/ensonic/audiobaseclasses.txt:
926         * docs/random/ensonic/dynlink.txt:
927         * docs/random/ensonic/profiling.txt:
928           Save my thoughts.
930         * docs/random/moving-plugins:
931           Add note to use g_assert type macros.
933 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
935         * configure.ac:
936         * libs/gst/check/Makefile.am:
937           Add libm check as we use in for plugins.
939 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
941         * gst/gstbin.c: (gst_bin_continue_func):
942         Check that the state_cookie hasn't changed since the continue_func
943         was scheduled. Avoids problems where the state changes back to
944         something it shouldn't be because it was changed in the meantime.
946 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
948         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
949         (gst_registry_binary_save_string),
950         (gst_registry_binary_save_pad_template),
951         (gst_registry_binary_save_feature),
952         (gst_registry_binary_save_plugin),
953         (gst_registry_binary_load_feature),
954         (gst_registry_binary_load_plugin),
955         (gst_registry_binary_read_cache):
956           Fix memory leak. Be less verbose in the log.
958 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
960         * tests/check/elements/.cvsignore:
961         Add file to cvsignore as commanded.
963 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
965         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
966         (mq_dummypad_event), (run_output_order_test):
967         Use a GStaticMutex to protect all cases where libcheck
968         fail_if/fail_unless macros might be called from multiple threads
969         simultaneously to avoid errors like:
970           "check_pack.c:107: :-1081725400:Bad message type arg"
972 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
974         * tests/check/pipelines/stress.c: (GST_START_TEST):
975         Make sure we set the pipeline back to the NULL state before
976         dropping our final reference.
978 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
980         * tests/check/elements/tee.c: (GST_START_TEST):
981         Make the tee stress-test a little less stressful so it doesn't just
982         time out on slow-machines, and remove a small race when it's starting 
983         up by adding a get_state() call.
985 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
987         * gst/gst.c:
988           Avoid reading registry twice on startup. Fixes #457322.
990 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
992         * pkgconfig/gstreamer-check-uninstalled.pc.in:
993         * pkgconfig/gstreamer-check.pc.in:
994         Substitute the CFLAGS for libcheck into our .pc file too so that
995         dependent modules will pick it up properly if libcheck is installed
996         into some other prefix.
998 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1000         * configure.ac:
1001         Revert the pkg-config check for libcheck, since it pulls in the
1002         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1003         a proper solution, either from the check project, or something else.
1005 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1007         * configure.ac:
1008           Use pkg-config to locate check.
1010 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1012         * gst/gsttaglist.c:
1013           Fix doc syntax.
1015         * gst/gstutils.c:
1016         * gst/gstutils.h:
1017           Add deprecation guards.
1019         * libs/gst/base/gstcollectpads.h:
1020           Don't document object (this is implicitly private).
1022 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1024         * gst/gststructure.c: (gst_structure_parse_value):
1025           When deserialising foo=bar without a type cast, check if it's a
1026           boolean before falling back to a string type, otherwise things like
1027           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1028           because the filtercaps end up having a signed=(string)true field,
1029           which causes problems later when intersection caps.
1031         * tests/check/gst/gststructure.c: (GST_START_TEST):
1032           Add a unit test for this.
1034 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1036         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1038         * libs/gst/controller/Makefile.am:
1039         * libs/gst/controller/gstcontroller.c:
1040         (gst_controlled_property_add_interpolation_control_source),
1041         (gst_controlled_property_new), (gst_controlled_property_free),
1042         (gst_controller_find_controlled_property),
1043         (gst_controller_new_valist), (gst_controller_new_list),
1044         (gst_controller_new), (gst_controller_remove_properties_valist),
1045         (gst_controller_remove_properties_list),
1046         (gst_controller_remove_properties),
1047         (gst_controller_set_property_disabled),
1048         (gst_controller_set_disabled), (gst_controller_set_control_source),
1049         (gst_controller_get_control_source), (gst_controller_get),
1050         (gst_controller_sync_values), (gst_controller_get_value_array),
1051         (_gst_controller_dispose), (gst_controller_get_type),
1052         (gst_controlled_property_set_interpolation_mode),
1053         (gst_controller_set), (gst_controller_set_from_list),
1054         (gst_controller_unset), (gst_controller_unset_all),
1055         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1056         * libs/gst/controller/gstcontroller.h:
1057         * libs/gst/controller/gstcontrollerprivate.h:
1058         * libs/gst/controller/gstcontrolsource.c:
1059         (gst_control_source_class_init), (gst_control_source_init),
1060         (gst_control_source_get_value),
1061         (gst_control_source_get_value_array), (gst_control_source_bind):
1062         * libs/gst/controller/gstcontrolsource.h:
1063         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1064         (gst_object_get_control_source):
1065         * libs/gst/controller/gstinterpolation.c:
1066         (gst_interpolation_control_source_find_control_point_node),
1067         (gst_interpolation_control_source_get_first_value),
1068         (_interpolate_none_get), (interpolate_none_get),
1069         (interpolate_none_get_boolean_value_array),
1070         (interpolate_none_get_enum_value_array),
1071         (interpolate_none_get_string_value_array),
1072         (_interpolate_trigger_get), (interpolate_trigger_get),
1073         (interpolate_trigger_get_boolean_value_array),
1074         (interpolate_trigger_get_enum_value_array),
1075         (interpolate_trigger_get_string_value_array):
1076         * libs/gst/controller/gstinterpolationcontrolsource.c:
1077         (gst_control_point_free), (gst_interpolation_control_source_reset),
1078         (gst_interpolation_control_source_new),
1079         (gst_interpolation_control_source_set_interpolation_mode),
1080         (gst_interpolation_control_source_bind),
1081         (gst_control_point_compare), (gst_control_point_find),
1082         (gst_interpolation_control_source_set_internal),
1083         (gst_interpolation_control_source_set),
1084         (gst_interpolation_control_source_set_from_list),
1085         (gst_interpolation_control_source_unset),
1086         (gst_interpolation_control_source_unset_all),
1087         (gst_interpolation_control_source_get_all),
1088         (gst_interpolation_control_source_get_count),
1089         (gst_interpolation_control_source_init),
1090         (gst_interpolation_control_source_finalize),
1091         (gst_interpolation_control_source_dispose),
1092         (gst_interpolation_control_source_class_init):
1093         * libs/gst/controller/gstinterpolationcontrolsource.h:
1094         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1095         API: Refactor GstController into the core controller which can take
1096         a GstControlSource for providing actual values for timestamps.
1097         Implement a interpolation control source and use this for backward
1098         compatibility, deprecate a bunch of functions that are now handled
1099         by GstControlSource or GstInterpolationControlSource.
1100         Make it possible to disable the controller completely or only for
1101         specific properties. Fixes #450711.
1102         * docs/libs/gstreamer-libs-docs.sgml:
1103         * docs/libs/gstreamer-libs-sections.txt:
1104         * docs/libs/gstreamer-libs.types:
1105         Add new functions and classes to the docs.
1106         * tests/check/libs/controller.c: (GST_START_TEST),
1107         (gst_controller_suite):
1108         * tests/examples/controller/audio-example.c: (main):
1109         Port unit test and example to the new API and add some new
1110         unit tests.
1112 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1114         Patch by: Mark Nauwelaerts <manauw at skynet be>
1116         * plugins/elements/gstmultiqueue.c:
1117         (gst_multi_queue_get_internal_links), (apply_buffer),
1118         (single_queue_overrun_cb), (gst_single_queue_new):
1119         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1120         the pipeline layout can be tracked correctly. Fixes #453732.
1122 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1124         * docs/gst/Makefile.am:
1125         * docs/libs/Makefile.am:
1126         * docs/plugins/Makefile.am:
1127           Simplify --extra-dir as gtkdoc scans recursively.
1129 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1131         * tools/gst-launch.c: (main):
1132         When we got an error, there is no point in waiting for preroll when
1133         shutting down.
1135 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1137         * plugins/elements/gsttee.c: (gst_tee_base_init),
1138         (gst_tee_request_new_pad), (gst_tee_release_pad),
1139         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1140         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1141         (gst_tee_chain):
1142         Be a lot smarter when deciding what srcpad to use for proxying
1143         the buffer_alloc. Also handle pad added/removed when doing so.
1144         Fixes #357959.
1145         Keep track of what pads we already pushed on in case we have pads
1146         added/removed while pushing. Fixes #374639 
1148         * tests/check/Makefile.am:
1149         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1150         (tee_suite):
1151         Added unit test for pad resync.
1153 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1155         * po/nl.po:
1156         * po/sv.po:
1157           Updated translations.
1159 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1161         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1163         * po/LINGUAS:
1164         * po/fi.po:
1165           Added new Finnish translation.
1167 2007-06-28  Wim Taymans  <wim@fluendo.com>
1169         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1170         (single_queue_overrun_cb):
1171         When figuring out when a queue is filled, use our internal time estimate
1172         based on segments, just like check_full does.
1174 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1176         * gst/gstminiobject.c: (gst_mini_object_get_type):
1177           Remove 3 do-nothing methods.
1179 2007-06-27  Wim Taymans  <wim@fluendo.com>
1181         Patch by: Tim Angus <tim at ngus dot net>
1183         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1184         (gst_capsfilter_set_property):
1185         Take a reference instead of a copy when setting "caps".
1186         Fix documentation to clarify this behaviour. Fixes #449414.
1188 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1190         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1191         * gst/gstplugin.c: (gst_plugin_init):
1192         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1193         * gst/gstquery.c: (gst_query_get_type):
1194         * gst/gstregistry.c: (gst_registry_init):
1195         * gst/gsturi.c: (gst_uri_handler_base_init):
1196           Remove empty instance_init() functions to save relocs and lessen the
1197           noise. Remove some of the function prototypes that are doubled by
1198           G_DEFINE_TYPE.
1199           
1200 2007-06-27  Wim Taymans  <wim@fluendo.com>
1202         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1204         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1205         Add peer and direction in the XML serialisation of ghostpads.
1206         Fixes #449226.
1208 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1210         * configure.ac:
1211           Preserve useful information, thanks Tim.
1213 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
1215         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1216         (gst_single_queue_flush), (apply_segment), (apply_buffer),
1217         (gst_single_queue_push_one), (gst_multi_queue_loop),
1218         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1219         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1220         (compute_high_id), (gst_single_queue_new):
1221         * plugins/elements/gstmultiqueue.h:
1222         Take the multiqueue lock when updating the fill level so we don't get
1223         confused. 
1225         After applying a buffer or event on the src pad segment, make sure to
1226         call gst_data_queue_limits_changed() to get the data queue to unblock
1227         and check the filled state again.
1228         
1229         Rework the not-linked pad handling so the logic is that not-linked 
1230         pads can push as fast as they like, but only so they never get 
1231         ahead of any linked pads.
1233         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1234         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1235         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1237         Add a test to check that not-linked pads always stay behind
1238         linked pads.
1240         Fixes: #430682
1242 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
1244         * docs/random/release:
1245           Some updates to the release procedure.
1247 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1249         * gst/gstelementfactory.c: (__gst_element_details_clear):
1250           Microoptimization that saves stunning 80 bytes.
1252 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
1254         * docs/plugins/gstreamer-plugins.args:
1255         * docs/plugins/inspect/plugin-coreelements.xml:
1256         * docs/plugins/inspect/plugin-coreindexers.xml:
1257           Update docs with caps info.
1259 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1261         * po/it.po:
1262           Updated Italian translation.
1264 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1266         * ChangeLog:
1267         * po/vi.po:
1268           Update Vietnamese translations.
1270 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1272         * libs/gst/base/gstbasesink.c:
1273           Remove unused signal enum.
1275 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1277         * docs/gst/gstreamer-sections.txt:
1278         * gst/gstelement.c:
1279         * gst/gstutils.c: (gst_type_register_static_full):
1280         Beef up and include the docs for gst_type_register_static_full and
1281         gst_element_class_set_details_simple and add the API keyword
1282         in the ChangeLog.
1284 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
1286         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1287         (update_time_level), (gst_single_queue_push_one),
1288         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1289         (single_queue_overrun_cb), (single_queue_underrun_cb),
1290         (single_queue_check_full):
1291         Fix setting max-* properties after adding queues.
1292         Use IS_FILLED for checking visible items.
1293         Signal overrun if multiple queues overrun.
1294         Add extra debug output.
1295         Patch by: Wim Taymans <wim@fluendo.com>
1297 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
1299         * gst/gstelement.c: (gst_element_class_set_details_simple):
1300         * gst/gstelement.h:
1301         * gst/gstutils.c: (gst_type_register_static_full):
1302         * gst/gstutils.h:
1303         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1304         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1305         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1306         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1307         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1308         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1309         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1310         * plugins/elements/gstidentity.c: (gst_identity_base_init):
1311         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1312         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1313         (apply_buffer), (gst_queue_chain):
1314         * plugins/elements/gsttee.c: (gst_tee_base_init):
1315         * plugins/elements/gsttypefindelement.c:
1316         (gst_type_find_element_base_init),
1317         (gst_type_find_element_class_init):
1318           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1319           API: add gst_type_register_static_full
1320           API: add gst_element_class_set_details_simple
1322 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
1324         * docs/pwg/advanced-types.xml:
1325           Fix typo in iana.org URI.
1327 2007-06-19  Andy Wingo  <wingo@pobox.com>
1329         * tests/check/pipelines/simple-launch-lines.c
1330         (test_state_change_returns): Enable pull-mode tests now that
1331         basesink has been fixed.
1333         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
1334         Changed from gst_base_sink_is_prerolled, reversing the sense of
1335         the return value. Returns FALSE also if the sink is in pull mode,
1336         in which case it needs no preroll.
1337         (gst_base_sink_query, gst_base_sink_change_state): Update for
1338         needs_preroll change.
1339         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
1340         chaining up, in which we return SUCCESS directly if we activated
1341         in pull mode instead of ASYNC. Involves countering an async_start
1342         message sent before chaining up; not sure if this is correct, in
1343         an ideal world we only send async-start when activating in push
1344         mode.
1346         * tests/check/pipelines/simple-launch-lines.c
1347         (test_state_change_returns): New test, partially disabled until
1348         basesink is fixed.
1350 2007-06-19  Wim Taymans  <wim@fluendo.com>
1352         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1353         (gst_multi_queue_sink_event):
1354         Fix event leak.
1356 2007-06-19  Wim Taymans  <wim@fluendo.com>
1358         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1359         (gst_bin_change_state_func), (bin_push_state_continue),
1360         (bin_handle_async_start), (bin_handle_async_done),
1361         (gst_bin_handle_message_func):
1362         Move the common code for posting state-change messages into
1363         one function.
1364         Broadcast the state signal after we posted the messages.
1365         Mark the bin as busy when it's doing a state-change.
1366         Make sure async-start/done messages don't interfere with the bin's
1367         state when it's busy.
1368         After the state change, let the bin check which elements completed the
1369         state change while it was busy so that it can update its state.
1371 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
1373         * docs/random/release:
1374         Add a note about updating the doap file to the release checklist
1376 2007-06-18  Wim Taymans  <wim@fluendo.com>
1378         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1379         (gst_single_queue_push_one), (gst_multi_queue_chain),
1380         (gst_multi_queue_sink_event):
1381         Make sure we don't reference the buffer/event after we have given away
1382         ownership in the queue.
1384 2007-06-18  Wim Taymans  <wim@fluendo.com>
1386         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1387         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
1388         Update queue state _after_ adding the item in the queue because else we
1389         could end up being full without the element added yet.
1391 2007-06-18  Wim Taymans  <wim@fluendo.com>
1393         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1394         (gst_bin_remove_func), (gst_bin_get_state_func),
1395         (gst_bin_element_set_state), (gst_bin_continue_func),
1396         (bin_push_state_continue), (bin_handle_async_start),
1397         (bin_handle_async_done), (gst_bin_handle_message_func):
1398         * gst/gstbin.h:
1399         Immediatly commit the toplevel bin state when receiving an async-done
1400         message. This enables us to avoid spawning a thread to commit the state
1401         in some common cases and it also avoids some races.
1402         Avoid spawning a state thread when adding/removing async elements to a
1403         toplevel bin. Instead we immediatly update the bin state.
1404         Get rid of iterating all the children when getting the state in the bin
1405         because it is now always up-to-date.
1406         Fix bug where locked elements would always return _SUCCESS even it they
1407         returned NO_PREROLL before being locked.
1408         Fix the order of the state_change, async-start/done messages that was
1409         sometimes incorrect.
1410         Mark the state_dirty field as deprecated, we don't need it anymore as we
1411         are always up-to-date.
1413         * gst/gstelement.c: (gst_element_get_state_func),
1414         (gst_element_continue_state):
1415         Small debug inprovements.
1416         Return the previous element state return when nothing is pending instead
1417         of blindly returning SUCCESS.
1419         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
1420         (gst_sinks_suite):
1421         Add a whole bunch of new testcases.
1423 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1425         * po/uk.po:
1426         * po/vi.po:
1427           Update translations.
1429 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
1431         * gst/gstpad.c:
1432         Fix typo in the docs.
1434 2007-06-15  Wim Taymans  <wim@fluendo.com>
1436         * docs/libs/gstreamer-libs-sections.txt:
1437         Add docs for new methods.
1439 2007-06-15  Wim Taymans  <wim@fluendo.com>
1441         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
1442         (gst_multi_queue_item_new):
1443         Don't use GSlice because we don't depend on >= 2.10 yet.
1445 2007-06-15  Wim Taymans  <wim@fluendo.com>
1447         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
1448         (update_time_level), (apply_segment), (apply_buffer),
1449         (gst_single_queue_push_one), (gst_multi_queue_item_new),
1450         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
1451         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
1452         (single_queue_underrun_cb), (single_queue_check_full):
1453         Remove debug printf.
1455 2007-06-15  Wim Taymans  <wim@fluendo.com>
1457         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1458         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1459         (gst_data_queue_set_flushing), (gst_data_queue_push),
1460         (gst_data_queue_pop), (gst_data_queue_drop_head),
1461         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1462         * libs/gst/base/gstdataqueue.h:
1463         Various cleanups.
1464         Added methods to get the current levels and to inform the queue that the
1465         'full' limits changed.
1467         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1468         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1469         (gst_single_queue_flush), (update_time_level), (apply_segment),
1470         (apply_buffer), (gst_single_queue_push_one),
1471         (gst_multi_queue_item_steal_object),
1472         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1473         (gst_multi_queue_loop), (gst_multi_queue_chain),
1474         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1475         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1476         (gst_multi_queue_src_query), (single_queue_overrun_cb),
1477         (single_queue_underrun_cb), (single_queue_check_full),
1478         (gst_single_queue_new):
1479         Keep track of time in the queue by measuring the difference between
1480         running_time on input and output. This gives more accurate results and
1481         can compensate for segments correctly.
1482         Make a queue by default only 5 buffers deep. We will now increase the
1483         buffer size depending on the filledness of the other queues.
1484         Factor out commong flush code.
1485         Make sure we don't add additional refcounts to buffers when we can avoid
1486         it.
1487         Propagate GstFlowReturn differently.
1488         Use GSlice for intermediate GstMultiQueueItems.
1489         Keep track of EOS.
1490         Resize queues on over and underruns based on filled level of other
1491         queues.
1492         When checking if the queue is filled, prefer to measure in time if we
1493         can and fall back to bytes when no time is known.
1495         * plugins/elements/gstqueue.c:
1496         Fix return value.
1498 2007-06-15  Wim Taymans  <wim@fluendo.com>
1500         * libs/gst/base/gstbasetransform.c:
1501         (gst_base_transform_sink_event):
1502         Work around the brokenness of the event vmethod in basetransform. Prefer
1503         to return TRUE when the subclass returned FALSE (meaning don't forward
1504         the event). 
1506         * libs/gst/base/gstbasetransform.h:
1507         Clarify the docs.
1509 2007-06-15  Wim Taymans  <wim@fluendo.com>
1511         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1512         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1513         (gst_base_src_default_query), (gst_base_src_get_range),
1514         (gst_base_src_start):
1515         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1516         Improve debugging.
1518 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1520         * docs/pwg/advanced-types.xml:
1521           Added more formats to caps table.
1523 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
1525         * tools/gst-launch.c: (main):
1526           Remove crufy code. GOption does not need this workaround.
1528 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1530         * libs/gst/controller/gstcontroller.c:
1531         (gst_controlled_property_set_interpolation_mode):
1532           Fix wrong getter for enums in controller.
1534 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1536         * libs/gst/check/gstcheck.c: (gst_check_init):
1537           Intercept criticals and warnings in the Gst-Phonon log domain, so
1538           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1539           well.
1540         
1541 2007-06-14  Edward Hervey  <edward@fluendo.com>
1543         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1544         Since this file doesn't include "gst.h" it will not go through the
1545         macros that disable GST_LOG if debugging was disabled.
1547 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1549         * libs/gst/check/Makefile.am:
1550         * libs/gst/check/gstcheck.h:
1551         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1552         * pkgconfig/gstreamer-check.pc.in:
1553           Ugly 'fix' for the controller unit test on the p5 bot: in
1554           fail_unless_equals_float() check whether the values are 'almost
1555           equal' by allowing a small absolute error, which should be good
1556           enough for our use cases (normal numbers and values close to 0).
1557           Proper fixage left to floating point arithmetic aficionados.
1559 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1561         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1562         (gst_base_sink_render_object), (gst_base_sink_get_position):
1563           Add two breaks thats where missing.
1565 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1567         * docs/libs/gstreamer-libs-sections.txt:
1568         * libs/gst/check/gstcheck.h:
1569           API: add fail_unless_equals_float() and assert_equals_float().
1570           Add documentation for some of the macros.
1572         * tests/check/libs/controller.c: (GST_START_TEST):
1573           Use newly-added asserts.
1575 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
1577         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1578           Show the caps change in the log to help spotting the case of not
1579           exactly matching caps.
1581 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
1583         * docs/pwg/building-boiler.xml:
1584           Fix typos, spotted by Thijs Vermeir (#447190).
1586 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1588         * docs/plugins/tmpl/.cvsignore:
1589         Ignore file to keep the buildbots happy
1591 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
1593         * docs/plugins/Makefile.am:
1594         * docs/plugins/gstreamer-plugins-docs.sgml:
1595         * docs/plugins/gstreamer-plugins-sections.txt:
1596         Pull fdsink into the docs too.
1598 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
1600         * libs/gst/controller/gstinterpolation.c:
1601         Actually use the new functions with min/max checks for the trigger and
1602         none interpolation modes for get() and get_value_array() instead of
1603         just the latter.
1605 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
1607         * libs/gst/controller/gstcontroller.c:
1608         (gst_controlled_property_free):
1609         Unset the minimum and maximum GValues when freeing the corresponding
1610         GstControllerProperty struct.
1612 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
1614         * libs/gst/controller/gstcontroller.c:
1615         (gst_controlled_property_new):
1616         * libs/gst/controller/gstcontrollerprivate.h:
1617         * libs/gst/controller/gstinterpolation.c:
1618         (gst_controlled_property_find_control_point_node),
1619         (interpolate_none_get), (interpolate_none_get_enum_value_array),
1620         (interpolate_none_get_string_value_array),
1621         (interpolate_trigger_get),
1622         (interpolate_trigger_get_enum_value_array),
1623         (interpolate_trigger_get_string_value_array):
1624         Protect against values larger or smaller than the minimum or maximum
1625         allowed value for the property when using values that can be compared.
1627         Optimize trigger interpolator a bit by taking the last requested value
1628         into account instead of always looping through the complete list.
1630         Fix coding style a bit, everywhere else we use "return foo" instead
1631         of "return (foo)".
1632         
1633         * tests/check/libs/controller.c: (GST_START_TEST),
1634         (gst_controller_suite):
1635         Add unit test for the protection against too large or too small
1636         values.
1638 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
1640         * docs/random/slomo/controller.txt:
1641         Add some thoughts about the future of the controller.
1643 2007-06-08  Wim Taymans  <wim@fluendo.com>
1645         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1646         Don't overflow in retimestamping code.
1648 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
1650         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1651         Use gst_util_guint64_to_gdouble for conversions.
1652         * win32/common/libgstreamer.def:
1653         Add new exported functions.
1655 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
1657         * gst/gstutils.c:
1658           Small docs addition.
1660 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1662         * README:
1663           Remove that test line again.
1665 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1667         * README:
1668           Test commit mail sending.
1670 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1672         * configure.ac:
1673           Fix typo and test commit mail sending.
1675 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1677         * tests/examples/controller/audio-example.c:
1678           Improve comment and test commit mail sending.
1680 2007-06-07  Wim Taymans  <wim@fluendo.com>
1682         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1683         (gst_bin_remove_func), (gst_bin_element_set_state),
1684         (bin_handle_async_start), (bin_handle_async_done),
1685         (gst_bin_handle_message_func):
1686         Add helper function to find messages.
1687         Generate the async-done messages together with the state change
1688         messages.
1689         Small cleanups in handling toplevel bins.
1691 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1693         * libs/gst/base/gstdataqueue.c:
1694         * libs/gst/base/gstdataqueue.h:
1695         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1696         (gst_multi_queue_item_new), (gst_multi_queue_chain),
1697         (gst_multi_queue_sink_event):
1698         * tests/check/elements/multiqueue.c: (multiqueue_suite):
1699           Fix multiqueue leaking buffers and events when downstream or the
1700           queue are flushing. Make refcounting assumptions explicit and
1701           document them (shouldn't break existing code that uses it other than
1702           maybe leak miniobjects, but that already happens anyway). Add unit
1703           test for the most common flushing case. Fixes #423700.
1704           
1705 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1707         * libs/gst/controller/gstcontroller.c:
1708         Clarify docs: The get_all, get_value_array(s) functions
1709         don't modify the GObject properties.
1711 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1713         * libs/gst/controller/gstcontroller.c:
1714         (gst_controlled_property_set_interpolation_mode),
1715         (gst_controlled_property_prepend_default),
1716         (gst_controlled_property_new), (gst_controller_set_unlocked),
1717         (gst_controller_set), (gst_controller_set_from_list),
1718         (gst_controller_unset), (gst_controller_unset_all):
1719         * libs/gst/controller/gstcontrollerprivate.h:
1720         * libs/gst/controller/gstinterpolation.c:
1721         Factor out the 'set' logic into gst_controller_set_unlocked for the
1722         gst_controller_set and gst_controller_set_from_list functions.
1724         To make life of the interpolators easier always add a control point
1725         at timestamp zero with the default value.
1727         In the linear interpolator make things more obvious by better variable
1728         naming (slope).
1730         Implement cubic interpolation mode (by using a natural cubic spline)
1731         and map the quadratic interpolation mode to this too (as quadratic
1732         doesn't make much sense, see discussion on the list).
1734         * tests/check/libs/controller.c: (GST_START_TEST),
1735         (gst_controller_suite):
1736         Add unit test for the cubic interpolation mode and check everywhere
1737         if the interpolation mode could be set as expected.
1739 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1741         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1742           Don't use GLib-2.10 functions, we still depend on
1743           GLib-how-old-is-it-again-2.8.
1745 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1747         * docs/gst/gstreamer-sections.txt:
1748         * gst/Makefile.am:
1749         * gst/gst.c:
1750         * gst/gst.h:
1751         * gst/gstparamspecs.c: (_gst_param_fraction_init),
1752         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1753         (_gst_param_fraction_values_cmp),
1754         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1755         * gst/gstparamspecs.h:
1756         * gst/gstvalue.c:
1757         * tests/check/Makefile.am:
1758         * tests/check/gst/.cvsignore:
1759         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1760         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1761         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1762         (GST_START_TEST), (gst_param_spec_suite):
1763           API: add GstParamSpecFraction, so elements can have fraction
1764           properties without lots of painful string parsing (#444648).
1766 2007-06-05  Wim Taymans  <wim@fluendo.com>
1768         * gst/gstobject.c: (gst_object_class_init):
1769         Fix signal signature.
1771         * gst/gstsegment.c:
1772         Add small clarification in the api docs.
1774         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1775         States are protected with object lock.
1777 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1779         * AUTHORS:
1780         I should probably be listed as an author by now.
1782         * docs/random/release:
1783         Update the release doc
1785 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1787         * gst/gstvalue.c:
1788           Make docs for gst_value_compare() mention return enums that
1789           actually exist.
1791 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1793         * configure.ac:
1794           Back to CVS
1796 === release 0.10.13 ===
1798 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1800         * configure.ac:
1801           releasing 0.10.13, "With or without you"
1803 2007-05-25  Wim Taymans  <wim@fluendo.com>
1805         * gst/gstbin.c: (bin_handle_async_done):
1806         Make sure that the child bin stops after completing the async state
1807         change so that the parent can continue the state change to PLAYING.
1808         Fixes #441159.
1810 2007-05-25  Wim Taymans  <wim@fluendo.com>
1812         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1813         (unref_data), (gst_collect_pads_remove_pad),
1814         (gst_collect_pads_check_pads):
1815         Use additional refcounting to avoid crashes when dynamically adding and
1816         removing pads. Fixes #420206.
1818 2007-05-24  Wim Taymans  <wim@fluendo.com>
1820         * tools/gst-launch.c: (event_loop):
1821         When buffering goes from a two digit to a single digit number, make sure
1822         to remove the old second digit by writing a blank over it.
1824 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1826         * libs/gst/base/gstdataqueue.c:
1827           Eliminate tabs and trailing comma in enum list; fix some typos.
1829 2007-05-24  Wim Taymans  <wim@fluendo.com>
1831         * tests/check/gst/gstbin.c: (GST_START_TEST):
1832         Allow refcount of 3 and 4 because some state thread might still be busy
1833         with it.
1835 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1837         * plugins/elements/Makefile.am:
1838         * plugins/elements/gstmultiqueue.h:
1839         * plugins/elements/gstqueue.h:
1840           These are not installed headers, no need for padding.
1842 2007-05-24  Wim Taymans  <wim@fluendo.com>
1844         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1845         (gst_bin_continue_func):
1846         Enable latency for next release.
1847         Restore STATE_LOCK around recalc_state that was left out during the
1848         rewrite and could result in racy behaviour when _get_state and
1849         recalc_state are run concurrently. See #440463.
1851 2007-05-23  Wim Taymans  <wim@fluendo.com>
1853         * tests/check/gst/gstsystemclock.c: (store_callback),
1854         (GST_START_TEST):
1855         Improve test_async_order to also work when both timers are already
1856         expired when we get scheduled to check it.
1858 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1860         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1861         (gst_bin_set_property), (gst_bin_get_property),
1862         (gst_bin_remove_func), (gst_bin_handle_message_func):
1863         * gst/gstbin.h:
1864           'private' is a c++ keyword, let's not use that in header files,
1865           otherwise c++ compilers will throw a tantrum.
1867 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1869         * plugins/elements/gstelements.c:
1870         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1871         (gst_file_sink_get_current_offset):
1872         * plugins/indexers/gstindexers.c: (plugin_init):
1873           Use #ifdef for HAVE_XYZ for consistency.
1875         * tests/check/Makefile.am:
1876         * tests/check/elements/.cvsignore:
1877         * tests/check/elements/filesink.c: (setup_filesink),
1878         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1879           Add some unit tests for filesink.
1881 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1883         Patch by: Mark Nauwelaerts <manauw at skynet be>
1885         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1886         (gst_file_sink_query), (gst_file_sink_do_seek),
1887         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1888         * plugins/elements/gstfilesink.h:
1889           Fix position reporting; rename data_written member to current_pos to
1890           reflect its real meaning (fixes #412648).
1892 2007-05-22  Edward Hervey  <edward@fluendo.com>
1894         * docs/gst/gstreamer-sections.txt:
1895         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1896         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1897         (gst_bin_remove_func), (gst_bin_handle_message_func):
1898         * gst/gstbin.h:
1899         Add a property for bins that handle the state change of their childs.
1900         Fixes #435880
1902 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1904         * libs/gst/controller/gstinterpolation.c:
1905         Use an array of the correct type when using _get_value_array with
1906         linear interpolation.
1908 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1910         * gst/gstelement.c (gst_element_requires_clock,
1911           gst_element_provides_clock, gst_element_request_pad,
1912           gst_element_class_set_details, gst_element_class_set_details_simple,
1913           gst_element_default_send_event, gst_element_abort_state,
1914           gst_element_continue_state, gst_element_set_state,
1915           gst_element_set_state_func, iterator_activate_fold_with_resync):
1916         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1917           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1918           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1919           gst_pad_get_range, gst_pad_pull_range):
1920         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1921           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1922           GstPadActivateModeFunction, GstPadChainFunction,
1923           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1924           GstPadFixateCapsFunction, GstPadTemplate):
1925         * gst/gstpipeline.c (gst_pipeline_change_state,
1926           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1927           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1928           gst_pipeline_get_delay):
1929           Whitespace and docs fixes.
1931 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1933         * libs/gst/controller/gstinterpolation.c:
1934         (interpolate_trigger_get_enum_value_array),
1935         (interpolate_trigger_get_string_value_array):
1936         Add support for retrieving value arrays when using the trigger
1937         interpolation mode. 
1939 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1941         * libs/gst/controller/gstcontroller.c:
1942         (gst_controller_get_value_array):
1943         * libs/gst/controller/gstcontroller.h:
1944         Clarify the docs of gst_controller_get_value_array(): The array where
1945         the values should be written to must be allocated as there seems to be
1946         no way to get the size of a random GType. This doesn't change any
1947         behaviour. Also fix some typos all over the place and remove an unused,
1948         commented function that is not necessary as g_object_set() could be
1949         used instead.
1950         * tests/check/libs/controller.c: (GST_START_TEST),
1951         (gst_controller_suite):
1952         Add unit test for gst_controller_get_value_array().
1954 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1956         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1958         Disable part of the gst_buffer_try_new_and_alloc test, because
1959         it can happily succeed on 64-bit systems where there's more address
1960         space available.
1962 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1964         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1965         Add unit test for the improved caps checking from bug #421543.
1967 2007-05-21  Wim Taymans  <wim@fluendo.com>
1969         * docs/design/part-synchronisation.txt:
1970         Small addition.
1972         * gst/gstbin.c: (gst_bin_query):
1973         * plugins/elements/gstqueue.c: (apply_segment):
1974         Improve debugging.
1976         * gst/gstmessage.h:
1977         Improve docs.
1979 2007-05-21  Wim Taymans  <wim@fluendo.com>
1981         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1982         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1983         (gst_pad_configure_src):
1984         Added simple version of improved caps checking. It was previously
1985         assumed that a setcaps function would check the validity of the caps but
1986         people prefer us to check caps against the template automatically. 
1987         Fixes #421543.
1989 2007-05-21  Wim Taymans  <wim@fluendo.com>
1991         * libs/gst/base/gstbasetransform.h:
1992         Fix macro for locking/unlocking the transform lock.
1994 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1996         * docs/plugins/tmpl/.cvsignore:
1997           Ignore more.
1999 2007-05-18  Edward Hervey  <edward@fluendo.com>
2001         * plugins/elements/gstqueue.c: (gst_queue_loop):
2002         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2003         for the subtle art of warning a potentially blocking thread that it
2004         should check the source pad return value, and relay the information
2005         upstream.
2007 2007-05-18  Edward Hervey  <edward@fluendo.com>
2009         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2010         Release the queue lock !
2012 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2014         * docs/libs/gstreamer-libs-sections.txt:
2015         Add the two new controller functions to the appropiate places.
2017 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2019         reviewed by: Stefan Kost <ensonic@users.sf.net>
2021         * libs/gst/controller/gstcontroller.c:
2022         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2023         (_gst_controller_get_property), (_gst_controller_set_property),
2024         (_gst_controller_init), (_gst_controller_class_init):
2025         * libs/gst/controller/gstcontroller.h:
2026         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2027         (gst_object_get_control_rate), (gst_object_set_control_rate):
2028         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2029         Add API that provides sync suggestion timestamps for elements that
2030         call gst_object_sync_values() from which those elements can subdivide
2031         their processing loop to get the best results for the controlled
2032         properties. For now it just suggests last_sync + control_rate as
2033         new timestamp but this will be improved in the future.
2035         While doing that change the control-rate property to a GstClockTime
2036         from guint and change it's meaning from samples to nanoseconds as
2037         the GstController doesn't know anything about sampling rate. Strictly
2038         speaking this breaks ABI but as the control-rate property didn't do
2039         anything in the past and as such couldn't be used this should be no
2040         problem.        
2042 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2044         reviewed by: Stefan Kost <ensonic@users.sf.net>
2046         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2047         (gst_controller_unset_all):
2048         * libs/gst/controller/gstcontrollerprivate.h:
2049         * libs/gst/controller/gstinterpolation.c:
2050         (gst_controlled_property_find_control_point_node):
2051         Save last synced value from the list to continue searching from there
2052         in future syncs. This speeds everything up a bit.
2053         
2054 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2056         reviewed by: Stefan Kost <ensonic@users.sf.net>
2058         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2059         (gst_control_point_find), (gst_controlled_property_new),
2060         (gst_control_point_free), (gst_controlled_property_free),
2061         (gst_controller_set), (gst_controller_set_from_list),
2062         (gst_controller_unset), (gst_controller_unset_all),
2063         (gst_controller_sync_values):
2064         * libs/gst/controller/gstcontroller.h:
2065         * libs/gst/controller/gstcontrollerprivate.h:
2066         * libs/gst/controller/gstinterpolation.c:
2067         (gst_controlled_property_find_control_point_node),
2068         (interpolate_none_get), (interpolate_trigger_get):
2069         Add a new private GstControlPoint struct which "inherits" from
2070         GstTimedValue to allow different interpolators to store internal
2071         values next to each control point. From the outside everything is
2072         still a GstControlPoint so we don't loose binary compatibility.
2073         Also fixup all the GValue handling to not leak GValues or list nodes.
2074         * tests/check/libs/controller.c: (GST_START_TEST):
2075         Free the list nodes and GValues in the controller_misc test.
2077 2007-05-17  Edward Hervey  <edward@fluendo.com>
2079         * gst/gstsegment.c:
2080         Small doc fix.
2082 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2084         * gst/gstplugin.c: (gst_plugin_load_file):
2085           If we fail to load a plugin because of unresolved symbols or missing
2086           libraries and spew a warning to stderr, we may just as well mention
2087           which plugin it was that failed to load.
2089 2007-05-13  David Schleef  <ds@schleef.org>
2091         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2092           handles the case when ENABLE_GTK_DOC is false, and installs
2093           the prebuilt documentation.  So gtk-doc subdirs are 
2094           unconditionally enabled.  Fixes: #349099.
2096 2007-05-13  David Schleef  <ds@schleef.org>
2098         * gst/gstutils.h: Reword some documentation.
2100 2007-05-12  David Schleef  <ds@schleef.org>
2102         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2103           do anything with the passed "module" parameter, so remove it.
2104           Allows removal of additional vestigal code.
2106 2007-05-12  David Schleef  <ds@schleef.org>
2108         * gst/gstplugin.c:
2109           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2110           Switch to using g_stat() because it's more portable.
2112 2007-05-12  David Schleef  <ds@schleef.org>
2114         * gst/gst.c:
2115           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2116           parsing for embedded systems.
2117         * gst/gstelementfactory.c:
2118           Allow gst_element_register() to be called with plugin==NULL.
2119           Did nobody notice that static elements were broken?
2121 2007-05-12  Wim Taymans  <wim@fluendo.com>
2123         * tools/gst-launch.c: (event_loop):
2124         Give more interesting info when buffering starts and stops.
2125         Fix case where buffering starts but we fail to update the buffering flag
2126         because the target state is not PLAYING.
2128 2007-05-12  Wim Taymans  <wim@fluendo.com>
2130         * plugins/elements/gstqueue.c: (gst_queue_init),
2131         (gst_queue_finalize), (update_time_level), (apply_segment),
2132         (apply_buffer), (gst_queue_locked_flush),
2133         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2134         (gst_queue_handle_sink_event), (gst_queue_chain),
2135         (gst_queue_push_one), (gst_queue_loop):
2136         * plugins/elements/gstqueue.h:
2137         Refactor an cleanup queue a bit.
2138         Do better time level calculations that also work when the srcpad is not
2139         yet running.
2140         Remove some unneeded debug lines.
2142         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2143         Added testcase for time level measurement.
2144         Try to make some stuff more racefree.
2146 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2148         * gst/gsturi.c: (gst_element_make_from_uri):
2149           Don't leak plugin feature.
2151         * tests/check/Makefile.am:
2152         * tests/check/gst/.cvsignore:
2153         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2154           Add brain-dead unit test.
2156 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2158         Patch by: Jeroen Wouters <woutersj at gmail com>
2160         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2161           Treat protocol strings in a case-insensitive way (#437563).
2163 2007-05-11  Michael Smith <msmith@fluendo.com>
2165         * gst/gstplugin.c: (gst_plugin_load_file):
2166         * gst/gstregistry.c: (gst_registry_scan_path_level):
2167           Don't print a g_warning for any failure to load a shared object.
2168           Instead, push this down into gstplugin.c, and warn _only_ if we
2169           failed to open the module (i.e. failure to link).
2170           Avoids warnings on normal, working, non-plugin .so files.
2172 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2174         * gst/gstplugin.c (gst_plugin_load_file):
2175         * gst/gstregistry.c (GST_CAT_DEFAULT,
2176           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2177           Print a g_warning if there was an error when loading a plugins during
2178           registry scan. The shuld help beginners starting with gst-plugin
2179           template.
2181 2007-05-10  Wim Taymans  <wim@fluendo.com>
2183         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2184         (update_time_level), (gst_queue_locked_flush),
2185         (gst_queue_handle_sink_event), (gst_queue_chain),
2186         (gst_queue_push_one), (gst_queue_loop):
2187         * plugins/elements/gstqueue.h:
2188         Be smarter when calculating the current amount of data in the queue by
2189         measuring the difference between start and end timestamps (in running
2190         time) inside the queue. Fixes #432876.
2191         API: GstQueue::pushing to notify elements that we are pushing data again
2192         since the running signal is rather broken for this purpose.
2194 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2196         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2197           gst_queue_base_init, gst_queue_init):
2198           use GST_BOILERPLATE
2200 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2202         * win32/common/libgstreamer.def:
2203         Add new exported functions.
2204         * win32/vs6/grammar.dsp:
2205         Use grammar pre-generated files.
2207 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2209         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
2211         * gst/Makefile.am:
2212         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2213         * gst/gstparse.h:
2214         * gst/gstutils.c: (gst_parse_bin_from_description):
2215         * gst/gstutils.h:
2216           Maintain API and ABI when --disable-parse is used. Now that
2217           we have an appropriate error code, we can just return NULL and the
2218           appropriate error when gst_parse_launch() is used despite it having
2219           been disabled (#342564).
2221         * tests/check/Makefile.am:
2222         * tests/check/pipelines/.cvsignore:
2223         * tests/check/pipelines/parse-disabled.c:
2224           Make sure these functions exist and return NULL plus a GError when
2225           --disable-parse is used.
2227 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2229         * tests/benchmarks/complexity.c: (main):
2230         * tests/benchmarks/mass-elements.c: (main):
2231           Set a good example and don't leak messages.
2233 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
2235         * docs/gst/Makefile.am:
2236         * docs/libs/Makefile.am:
2237           Correct fixxrefs options.
2239         * docs/plugins/Makefile.am:
2240         * docs/plugins/gstreamer-plugins-docs.sgml:
2241         * docs/plugins/gstreamer-plugins-sections.txt:
2242         * plugins/elements/Makefile.am:
2243         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2244         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2245           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2246           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2247           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2248           _GstCapsFilterClass, trans_class):
2249         * plugins/elements/gstelements.c (name, rank, type, _elements):
2250         * plugins/elements/gstidentity.c
2251           (gst_identity_check_imperfect_timestamp,
2252           gst_identity_check_imperfect_offset):
2253           Document capsfilter and add doc-blurb to identity.
2255 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2257         * libs/gst/controller/gstcontroller.c:
2258         (gst_controlled_property_set_interpolation_mode):
2259         * libs/gst/controller/gstinterpolation.c:
2260           Don't crash if someone tries to set an interpolation mode that
2261           is invalid or that isn't supported yet. Fixes #422295.
2263         * tests/check/libs/controller.c: (GST_START_TEST),
2264         (gst_controller_suite):
2265           Add a test case for the above.
2267 2007-05-03  Edward Hervey  <edward@fluendo.com>
2269         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2270         Properly set the last_stop position on GstSegment. This will only happen
2271         if there is a buffer to push out.
2273 2007-05-03  Wim Taymans  <wim@fluendo.com>
2275         * libs/gst/base/gstbasetransform.c:
2276         (gst_base_transform_buffer_alloc):
2277         always_in_place does not mean that the sink and source caps are the
2278         same! Make sure we don't blindly proxy the buffer_alloc in this case.
2280 2007-05-03  Wim Taymans  <wim@fluendo.com>
2282         * docs/libs/gstreamer-libs-sections.txt:
2283         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2284         (gst_base_src_default_query), (gst_base_src_get_range):
2285         * libs/gst/base/gstbasesrc.h:
2286         API: gst_base_src_query_latency(). Added method so that subclasses can
2287         easily get the latency values of the base source class.
2289 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
2291         * tools/gst-inspect.c (print_implementation_info):
2292         Remove 0.8 cruft.
2294 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
2296         * tools/Makefile.am:
2297         * tools/gst-launch.1.in:
2298           Don't create a customised man page based on the host architecture,
2299           describe the default registry path generically. That way the man
2300           page is the same for all architectures and packagers have one
2301           multilib issue less to deal with. Fixes #434926.
2303 2007-05-02  Wim Taymans  <wim@fluendo.com>
2305         * gst/gstpad.c:
2306         Fix documentation as spotted by rg on IRC. 
2308 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
2310         * gst/gstutils.c:
2311           Improve docs for gst_element_{link,unlink}.
2313 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
2315         * docs/design/part-events.txt:
2316         * docs/design/part-overview.txt:
2317         * gst/gstevent.c:
2318         * gst/gsturi.c:
2319         * gst/gsturi.h:
2320         * libs/gst/base/gstbasesink.c:
2321           Typo fixes; minor docs addition.
2323 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2325         * docs/gst/gstreamer-sections.txt:
2326         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2327         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2328         * gst/gsturi.h:
2329         API: Add gst_uri_protocol_is_supported(), which checks if a sink
2330         or src that supports a given URI protocol exists.
2332 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2334         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2335         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2336         Set the location to NULL if "file://" is set as URI. Otherwise
2337         some random previous URI would still be set if "file://" is
2338         set on an already used filesink/filesrc.
2340 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
2342         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2343         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2344         Special case the "file://" URI as as this is used by some
2345         applications to test with gst_element_make_from_uri if there's
2346         an element that supports the URI protocol.
2347         Also move the g_path_is_absolute() check for the location part
2348         of the URI to also check this for "file://localhost/bla" URIs.
2350 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
2352         * docs/gst/gstreamer-sections.txt:
2353         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
2354         * gst/gstbuffer.h:
2355         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2356         (gst_buffer_suite):
2357           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2359 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
2361         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2362         (gst_registry_binary_load_pad_template),
2363         (gst_registry_binary_load_plugin),
2364         (gst_registry_binary_read_cache):
2365         * gst/gstregistrybinary.h:
2366           Implement no-mmap alternative for registry reading. Do code cleanups.
2367           Add more comments about avoiding strdups for all text data. Comments
2368           welcome.
2370 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2372         * gst/gstregistrybinary.h (GstBinaryPluginElement,
2373           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
2374           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
2375           Comment structs and reformat to fix the build (that stuff should go
2376           into a priv. header).
2378 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
2380         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2381         (gst_registry_binary_load_feature):
2382         * gst/gstregistrybinary.h:
2383           Refactor so that we can implement multiple features. Add support for
2384           TypeFindFactory features.
2386 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
2388         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
2390         * configure.ac:
2391           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2393 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
2395         * gst/gstbin.c: (gst_bin_element_set_state),
2396         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
2397         (bin_handle_async_done), (gst_bin_handle_message_func):
2398           Fix build with --gst-disable-gst-debug
2400 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
2402         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
2403           Make sure streaming has finished before calling the ::stop() vfunc,
2404           since that vfunc might clear state which is being used in the
2405           streaming thread. This fixes a race that caused crashes in
2406           audioresample when shutting down a pipeline (#420106).
2408 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2410         * docs/gst/gstreamer-sections.txt:
2411           That was one byte missing.
2413 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2415         * configure.ac:
2416         * docs/gst/gstreamer-sections.txt:
2417         * gst/Makefile.am:
2418         * gst/gstconfig.h.in:
2419         * gst/gstobject.c: (gst_object_class_init),
2420         (gst_signal_object_class_init):
2421         * gst/gstobject.h:
2422           2nd attempt to have a xml-less build as a joined effort of #413123
2423           and #421480.
2425 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
2427         * docs/design/draft-tagreading.txt:
2428           Added open issues/thoughts to draft.
2430 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2432         * gst/parse/grammar.tab.pre.c:
2433         * gst/parse/grammar.tab.pre.h:
2434         * gst/parse/lex._gst_parse_yy.pre.c:
2435         Update the prebuild parser sources.
2437 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2439         * gst/parse/Makefile.am:
2440         And now fix the building of the flex sources. Now everything should
2441         work as expected.
2443 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2445         * gst/parse/Makefile.am:
2446         Now hopefully fix the build failures by setting proper rule
2447         dependencies and moving instead of copying.
2449 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2451         * tests/benchmarks/complexity.gnuplot:
2452         * tests/benchmarks/complexity.scm:
2453         * tests/benchmarks/mass-elements.gnuplot:
2454         * tests/benchmarks/mass-elements.scm:
2455           Total licensification.
2457 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2459         * gst/parse/Makefile.am:
2460           Fix the build by correcting the rule that gave wrong files to flex.
2462 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
2464         * tests/benchmarks/complexity.c:
2465         * tests/benchmarks/mass-elements.c:
2466           Change licence to LGPL as granted by Benjamin and Andy.
2468 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2470         * gst/parse/Makefile.am:
2471         Add correct grammar.tab.h dependency if compiling without new enough
2472         flex. Fixes #431150.
2474 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2476         * gst/parse/Makefile.am:
2477         Fix typo and use outdated sources if the flex/bison sources are newer
2478         than the pregenerated ones but flex is too old. Print a warning in
2479         that case. This should fix the build on the build bot.
2481 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
2483         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2484         * gst/parse/Makefile.am:
2485         * gst/parse/grammar.y:
2486         * gst/parse/parse.l:
2487         Make the parser reentrant and recursively callable. This requires flex
2488         >= 2.5.31, for older versions pregenerated sources are used as we
2489         can't bump the build dependency. Finally fixes #349180.
2491         * gst/gstparse.c: (gst_parse_launch):
2492         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2493         now anyway.
2495         * docs/gst/Makefile.am:
2496         * docs/gst/Makefile.am:
2497         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2498         (__gst_parse_strfree), (__gst_parse_link_new),
2499         (__gst_parse_link_free), (__gst_parse_chain_new),
2500         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2501         (gst_parse_element_set), (gst_parse_free_link),
2502         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2503         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2504         (_gst_parse_launch):
2505         * gst/parse/grammar.tab.pre.h:
2506         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2507         (yy_get_previous_state), (yy_try_NUL_trans), (input),
2508         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2509         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2510         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2511         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2512         (_gst_parse_yypop_buffer_state),
2513         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2514         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2515         (yy_fatal_error), (_gst_parse_yyget_extra),
2516         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2517         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2518         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2519         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2520         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2521         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2522         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2523         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2524         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2525         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2526         (_gst_parse_yyfree):
2527         If the installed flex version is too old use pre-generated parser
2528         sources. These pre-generated parser sources are always updated when
2529         the actual flex/bison sources change but require everybody who wants
2530         to change something in the parser to have flex >= 2.5.31 installed.
2532 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
2534         * common/m4/gst-gettext.m4:
2535         * gst/gst-i18n-lib.h:
2536           Make --disable-nls to work
2538 2007-04-17  Wim Taymans  <wim@fluendo.com>
2540         * gst/gstconfig.h.in:
2541         Revert previous change that broke the build.
2543 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
2545         * configure.ac:
2546         * gst/Makefile.am:
2547         * gst/gstconfig.h.in:
2548           Drop libxml2 dependency when building with 
2549           --enable-binary-registry --disable-loadsave
2551 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
2553         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2554         (gst_registry_binary_read_cache):
2555         * gst/gstregistrybinary.h:
2556           Remove unnecessary <sys/mman.h> include which broke the win32 build
2557           with MingW; move includes from header file to .c file, even if the
2558           header file isn't installed; use g_strerror() where UTF-8 strings
2559           are expected, such as in GST_DEBUG messages.
2561 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2563         * docs/libs/gstreamer-libs-sections.txt:
2564         Remove bogus addition for API I didn't end up keeping.
2566         * libs/gst/base/gstbasesrc.h:
2567         Mention Since: 0.10.13 in the documentation.
2569         Add the API keyword to the previous ChangeLog entry.
2571 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2573         * docs/libs/gstreamer-libs-sections.txt:
2574         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2575         (gst_base_src_default_prepare_seek_segment),
2576         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2577         * libs/gst/base/gstbasesrc.h:
2578         Allow basesrc derived classes to execute seeks in other formats
2579         by providing a prepare_seek_segment vmethod. Sub-classes can choose
2580         to prepare the GstSegment in any format that their perform_seek method
2581         will be able to understand. The default implementation provides the
2582         old behaviour of attempting to convert the seek offsets to the 
2583         configured native format.
2585         API: basesrc::prepare_seek_segment vmethod.
2587 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2589         * gst/gstelement.c: (gst_element_get_state_func):
2590         Don't output the same debug statement twice.
2592         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2593         (gst_adapter_peek), (gst_adapter_take_buffer):
2594         Optimise the case where we have buffers at the head of the queue that
2595         can be joined quickly (because they're contiguous sub-buffers) by
2596         merging them together rather than copying data out into new memory.
2598         * gst/parse/grammar.y:
2599         * tests/check/pipelines/parse-launch.c:
2600         Fix a leak in an error path for parse_launch, and add a check 
2601         for it to the testsuite.
2603 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
2605         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2606           Don't deadlock when releasing a pad - gst_pad_set_active may try
2607           and take the multiqueue lock too.
2609 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2611         * gst/gsterror.c: (_gst_core_errors_init):
2612         * gst/gsterror.h:
2613           API: add GST_CORE_ERROR_DISABLED (#392804).
2615 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2617         * docs/faq/gst-uninstalled:
2618           don't get empty paths on the PATH variables
2619         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2620           Don't format for the uncommon terminal width of 84 characters.
2622 2007-04-06  Wim Taymans  <wim@fluendo.com>
2624         * gst/gstpipeline.c: (reset_stream_time),
2625         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2626         Only try to select a different pipeline clock when we went back to
2627         PAUSED and not when we merely got flushed.
2629 2007-04-05  Michael Smith  <msmith@fluendo.com>
2631         * tools/gst-launch.1.in:
2632           fractions are better supported in gstreamer than ractions, so
2633           suggest using those.
2635 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2637         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2639         * po/LINGUAS:
2640         * po/da.po:
2641           Added Danish translation.
2643 2007-04-05  Wim Taymans  <wim@fluendo.com>
2645         * libs/gst/base/gstbasesink.c:
2646         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2647         Fix leak caused when refusing newsegment after EOS.
2649         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2650         (gst_fake_sink_init), (gst_fake_sink_set_property),
2651         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2652         (gst_fake_sink_render), (gst_fake_sink_change_state):
2653         * plugins/elements/gstfakesink.h:
2654         Add num-buffers property to make the element generate EOS after a
2655         configurable amount of buffers.
2656         API: fakesink::num-buffers property.
2658         * tests/check/elements/fakesink.c: (GST_START_TEST),
2659         (fakesink_suite):
2660         Fix GstBus leak in test.
2661         Test for fakesink num-buffers.
2663 2007-04-05  Wim Taymans  <wim@fluendo.com>
2665         * libs/gst/base/gstbasesink.c:
2666         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2667         (gst_base_sink_change_state):
2668         Don't accept anything after an EOS, return UNEXPECTED instead.
2670         * tests/check/elements/fakesink.c: (GST_START_TEST),
2671         (fakesink_suite):
2672         Unit test for new EOS behaviour.
2674 2007-04-05  Wim Taymans  <wim@fluendo.com>
2676         * gst/gstelement.c: (gst_element_get_request_pad):
2677         Make padtemplates also work when they don't contain %s or %d.
2679 2007-04-05  Wim Taymans  <wim@fluendo.com>
2681         * docs/gst/gstreamer-sections.txt:
2682         * gst/gstclock.c: (gst_clock_adjust_unlocked),
2683         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2684         * gst/gstclock.h:
2685         Improve _adjust_unlocked() so that it overflows less.
2686         Add gst_clock_unadjust_unlocked to convert from external time to
2687         internal time based on calibration.
2688         Add some more debug.
2689         API: GstClock::gst_clock_unadjust_unlocked()
2691 2007-04-03  Wim Taymans  <wim@fluendo.com>
2693         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2695         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2696         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2697         when releasing sink pad. Fixes #425400.
2699 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
2701         * docs/random/ensonic/dynlink.txt:
2702           More work on proposal for new core api.
2704         * docs/libs/gstreamer-libs-sections.txt:
2705         * libs/gst/base/gstbasetransform.h:
2706           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2707           
2708         * libs/gst/controller/gstcontroller.c:
2709         (on_object_controlled_property_changed),
2710         (gst_controller_sync_values),
2711         (gst_controller_set_interpolation_mode):
2712         * libs/gst/controller/gstcontroller.h:
2713           Less verbose logging add docs for unimplemented parts and correctly
2714           return when using unavailable parts.
2716 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2718         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2719         Move all the debug to the CLOCK category, and associate it with
2720         the clock object.
2722 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2724         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2725         Make take_buffer a bit quicker by removing redundant checks
2726         caused by calling gst_adapter_take.
2728 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2730         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2731           Don't leak GCond.
2733         * tests/check/Makefile.am:
2734         * tests/check/elements/.cvsignore:
2735         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2736         (GST_START_TEST), (multiqueue_suite):
2737           Add some dead simple unit tests for the 'multiqueue' element
2738           (some bits don't work yet and are disabled for now).
2740 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2742         * gst/gstelement.c: (gst_element_get_request_pad),
2743         (gst_element_class_get_request_pad_template):
2744           Make gst_element_get_request_pad() create request pads only for
2745           request pad templates and not for, say, sometimes pad templates.
2747 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
2749         * docs/design/draft-klass.txt:
2750           Add example that needs more thinking.
2751         
2752         * docs/design/draft-missing-plugins.txt:
2753           More thoughts about wrapper plugins.
2754         
2755         * docs/random/ensonic/embedded.txt:
2756         * docs/random/ensonic/profiling.txt:
2757           More design work.
2759 2007-03-25  Wim Taymans  <wim@fluendo.com>
2761         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2762         (gst_base_src_loop):
2763         Only push the segment events in the PLAYING state for live sources.
2765 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
2767         * gst/gstpipeline.c: (gst_pipeline_change_state):
2768         Modify the clock distribution path in PAUSED->PLAYING so that we 
2769         never attempt to choose a new clock unless we're actually leaving
2770         the PAUSED state for the first time. This prevents choosing a
2771         different clock when the state_change gets called for a 2nd time due
2772         to some element doing an async state change.
2774 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2776         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2777         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2778         (gst_pad_chain_unchecked), (gst_pad_push):
2779         Revert last commit. This needs some more thoughts.
2781 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2783         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2784         (gst_pad_chain_unchecked), (gst_pad_push):
2785         Check in set_caps if the caps are compatible with the pad and remove
2786         two functions that are redundant now. Fixes #421543.
2788 2007-03-22  Wim Taymans  <wim@fluendo.com>
2790         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2791         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2792         Unref some more to make valgrind happy.
2794 2007-03-22  Wim Taymans  <wim@fluendo.com>
2796         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2797         (gst_system_clock_id_wait_jitter),
2798         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2799         Fix anoying regression that survived a few releases. When adding an
2800         async entry while blocking on a sync entry, the sync entry will unblock
2801         but still be busy, so it should continue to wait instead of returning
2802         _BUSY to the app.
2803         Add some comments here and there.
2805         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2806         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2807         Add testcase for this.
2809 2007-03-22  Wim Taymans  <wim@fluendo.com>
2811         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2812         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2813         WRONG_STATE and can silently pause the task. All other cases should
2814         error out.
2816 2007-03-22  Wim Taymans  <wim@fluendo.com>
2818         Patch by: Ville Syrjala <syrjala at sci dot fi>
2820         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2821         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2822         Improve debugging.
2824 2007-03-21  Michael Smith  <msmith@fluendo.com>
2826         * docs/pwg/advanced-types.xml:
2827           Fix some errors in the typefinding docs pointed out on irc.
2829 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2831         * libs/gst/base/gstbasesrc.c:
2832         Clarify FIXME comment in the face of having added unlock_stop()
2834 2007-03-21  Wim Taymans  <wim@fluendo.com>
2836         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2837         Prepare for release where we warn against possible app breakage in the
2838         case of live pipelines along with an env var to enable/disable live
2839         preroll mode (GST_COMPAT=[no-]live-preroll).
2841 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2843         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2844         So we should use correct constants for checking for None offset.
2846 2007-03-20  Wim Taymans  <wim@fluendo.com>
2848         * docs/design/part-block.txt:
2849         Mention the fact that the newly switched element should be set to at
2850         least PAUSED.
2852 2007-03-20  Wim Taymans  <wim@fluendo.com>
2854         * gst/gst.c:
2855         Fix compilation with registry disabled as spotted by Saur.
2857 2007-03-20  Wim Taymans  <wim@fluendo.com>
2859         Patch by: Olivier Crete <tester at tester dot ca>
2861         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2862         Look at the pending state too when syncing the element state to the
2863         parent. Fixes #420133.
2865 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2867         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2868         (gst_base_sink_change_state):
2869         * libs/gst/base/gstbasesink.h:
2870         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2871         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2872         (gst_base_src_deactivate):
2873         * libs/gst/base/gstbasesrc.h:
2874         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2875         for sub-classes to correctly clear any state they set trying to
2876         unlock, such as clearing out unlock commands from a command fd.
2877         API: basesrc::unlock_stop
2878         API: basesink::unlock_stop
2880         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2881         (gst_fd_sink_render), (gst_fd_sink_unlock),
2882         (gst_fd_sink_unlock_stop):
2883         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2884         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2885         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2887         Implement unlock_stop in fdsrc and fdsink.
2888         Implement seeking in fdsrc when a seekable fd is passed, as in
2889         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2891 2007-03-19  Wim Taymans  <wim@fluendo.com>
2893         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2895         * gst/gstelement.c: (gst_element_class_init):
2896         Fix pad-added and pad-removed signal signatures so that the pad type is
2897         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2899 2007-03-19  Wim Taymans  <wim@fluendo.com>
2901         * docs/gst/gstreamer-sections.txt:
2902         Add new element field and method.
2904         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2905         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2906         (gst_bin_recalc_state), (gst_bin_get_state_func),
2907         (gst_bin_element_set_state), (gst_bin_change_state_func),
2908         (gst_bin_continue_func), (bin_bus_handler),
2909         (bin_push_state_continue), (bin_handle_async_start),
2910         (bin_handle_async_done), (gst_bin_handle_message_func):
2911         Make async state changes a bit smarter by using new ASYNC_START and
2912         ASYNC_DONE messages. This reduces the number of times we run the state
2913         recalculation thread.
2914         Don't change state of element with a pending ASYNC_START message.
2915         Deprecate STATE_DIRTY messages.
2916         
2917         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2918         (gst_element_get_state_func), (gst_element_continue_state),
2919         (gst_element_lost_state), (gst_element_set_state_func),
2920         (gst_element_change_state):
2921         * gst/gstelement.h:
2922         Keep the state that was last set by the app in a new element field.
2923         Don't allow state changes when handling an element event.
2924         Post ASYNC_START and ASYNC_DONE messages.
2925         Change lost_state so that we go to PAUSED and wait for the parent to set
2926         us to PLAYING again (so latency calculation can be performed)
2927         Export gst_element_change_state() method so that subclasses can use it.
2928         API: gst_element_change_state()
2929         API: GST_STATE_TARGET
2931         * gst/gstpipeline.c: (gst_pipeline_class_init),
2932         (reset_stream_time), (gst_pipeline_change_state),
2933         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2934         Using the new ASYNC_START message we can reset the base_time when
2935         needed. This can then be used to implement base_time redistribution in
2936         flushing seeks so that we can remove the explicit seek handling.
2937         Perform latency query and configuration when going to PLAYING.
2939         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2940         (gst_base_sink_query), (gst_base_sink_change_state):
2941         Post new ASYNC_START/ASYNC_DONE messages.
2943         * tests/check/generic/sinks.c: (GST_START_TEST):
2944         Fix test because the bin will not set the async element to PLAYING right
2945         away.
2947         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2948         Make the message check a little stronger.
2949         Handle ASYNC messages.
2951         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2952         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2953         Expect ASYNC_DONE messages.
2955 2007-03-19  Wim Taymans  <wim@fluendo.com>
2957         * docs/gst/gstreamer-sections.txt:
2958         * gst/gstmessage.c: (gst_message_new_async_start),
2959         (gst_message_new_async_done), (gst_message_parse_info),
2960         (gst_message_parse_async_start):
2961         * gst/gstmessage.h:
2962         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2963         support.
2965 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2967         * tools/gst-inspect.c:
2968         (print_plugin_automatic_install_info_codecs):
2969           Now that we don't check for the 'Codec' keyword any longer in the
2970           klass, we shouldn't spew a warning if the klass isn't a decoder or
2971           encoder (since it might be a Source/Network, for example).
2973 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2975         * tools/gst-inspect.c:
2976         (print_plugin_automatic_install_info_codecs):
2977           Don't require decoder/demuxer/depayloader elements or
2978           encoder/muxer/paylader elements to have 'Codec' as part of their
2979           factory class string when introspecting a plugin's capabilities.
2980           draft-klass.txt mentions that it might be removed in future, and
2981           flump3dec doesn't have it as part of its class string, so chances
2982           are others might also not have it.
2984 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2986         * po/af.po:
2987         * po/az.po:
2988         * po/bg.po:
2989         * po/ca.po:
2990         * po/cs.po:
2991         * po/de.po:
2992         * po/en_GB.po:
2993         * po/fr.po:
2994         * po/it.po:
2995         * po/nb.po:
2996         * po/nl.po:
2997         * po/ru.po:
2998         * po/sq.po:
2999         * po/sr.po:
3000         * po/sv.po:
3001         * po/tr.po:
3002         * po/uk.po:
3003         * po/vi.po:
3004         * po/zh_CN.po:
3005         * po/zh_TW.po:
3006           Update translations from translation project
3008 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3010         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3011         (gst_child_proxy_set_property):
3012           Invert precondition check to be alike the ones in the mimiced gobject
3013           api.
3015 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3017         * docs/design/draft-tagreading.txt:
3018         * docs/random/ensonic/audiobaseclasses.txt:
3019           Do some Architect work.
3021         * gst/gstobject.c: (gst_object_set_name):
3022           Add a WARNING.
3024         * gst/gstpad.c:
3025           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3027 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3029         * gst/gstsystemclock.c: (gst_system_clock_init),
3030         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3031         Defer starting the async system clock thread until the first async
3032         wait is scheduled. Fixes #414986.
3034 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3036         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3037         (gst_single_queue_free):
3038           Fix small leak (free GstSingleQueue structure too, not only contents).
3040 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3042         * gst/gstbin.c:(gst_bin_add):
3043         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3044         * win32/common/libgstbase.def:
3045         * win32/common/libgstreamer.def:
3046         Add new exported functions.
3048 2007-03-09  Wim Taymans  <wim@fluendo.com>
3050         * docs/plugins/gstreamer-plugins-sections.txt:
3051         Fix GstTee docs.
3053 2007-03-09  Wim Taymans  <wim@fluendo.com>
3055         * docs/gst/gstreamer-sections.txt:
3056         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3057         * gst/gstbuffer.h:
3058         Add metadata copy functions. Fixes #393099.
3059         API: gst_buffer_copy_metadata()
3061         * gst/gstutils.c: (gst_buffer_stamp):
3062         * libs/gst/base/gstbasetransform.c:
3063         (gst_base_transform_prepare_output_buffer):
3064         Use new metadata copy functions.
3066 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3068         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3069         (gst_identity_init), (gst_identity_check_perfect),
3070         (gst_identity_check_imperfect_timestamp),
3071         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3072         (gst_identity_set_property), (gst_identity_get_property):
3073         * plugins/elements/gstidentity.h:
3074         Separate out check-imperfect-timestamp and check-imperfect-offset.
3075         Put back check-perfect as it was to keep compatibility.
3077 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3079         * gst/gstelement.c: (gst_element_dispose):
3080         There's no need to warn if VOID_PENDING is not NONE here, as
3081         long as the state is NULL it's ok, and that's checked immediately
3082         above.
3084 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3086         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3087         Fix check for perfect stream to ignore buffers with -1 
3088         offsets/offset ends when checking data contiguity.
3090 2007-03-08  Wim Taymans  <wim@fluendo.com>
3092         * tools/gst-launch.c: (event_loop):
3093         Print INFO messages.
3095 2007-03-08  Wim Taymans  <wim@fluendo.com>
3097         * libs/gst/base/gstbasetransform.c:
3098         (gst_base_transform_sink_eventfunc),
3099         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3100         (gst_base_transform_activate):
3101         * libs/gst/base/gstbasetransform.h:
3102         Add support for dropping buffers with custom GstFlowReturn.
3103         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3104         buffers or dropped buffers.
3106         * docs/libs/gstreamer-libs-sections.txt:
3107         docs for new custom return code.
3109         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3110         Use drop support in base class to implement drop-probability.
3112 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3114         * gst/gst.c: (load_plugin_func):
3115         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3116         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3117         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3118           Remove newlines at end of debug log strings.
3120 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3122         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3123         Only post bus message at max, once per buffer received.
3125 2007-03-07  Wim Taymans  <wim@fluendo.com>
3127         * docs/design/Makefile.am:
3128         * docs/design/part-synchronisation.txt:
3129         Add doc about synchronisation
3131         * docs/design/draft-latency.txt:
3132         * docs/design/part-TODO.txt:
3133         * docs/design/part-clocks.txt:
3134         * docs/design/part-events.txt:
3135         * docs/design/part-gstbus.txt:
3136         * docs/design/part-gstpipeline.txt:
3137         * docs/design/part-live-source.txt:
3138         * docs/design/part-messages.txt:
3139         * docs/design/part-overview.txt:
3140         * docs/design/part-streams.txt:
3141         * docs/design/part-trickmodes.txt:
3142         Documentation updates.
3144 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3146         * gstreamer.doap:
3147         Update the doap file.
3149 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3151         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3152         Rename non-perfect to imperfect for Mike and for the sanctity of the
3153         language.
3154         Also make sure bus message gets emitted for data-incontiguities.
3156 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3158         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3159         (gst_identity_start):
3160         * plugins/elements/gstidentity.h:
3161         Emit bus message if check-perfect is true and we encounter a
3162         non-perfect stream between 2 consecutive buffers.
3163         Fixes #415394.
3165 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3167         * configure.ac:
3168         Back to CVS
3170 === release 0.10.12 ===
3172 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3174         * configure.ac:
3175           releasing 0.10.12, "Inevitable Demise"
3177 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3179         * configure.ac:
3180          Version 0.10.11.2 (0.10.12 pre-release)
3181          Bump libtool versioning.
3183 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3185         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3186           Log flow-names and not numbers.
3188 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3190         * configure.ac:
3191           Convert to new AG_GST style.
3193 2007-02-28  Wim Taymans  <wim@fluendo.com>
3195         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3196         Don't unref query twice.
3198 2007-02-28  Wim Taymans  <wim@fluendo.com>
3200         * gst/gstvalue.c: (gst_value_transform_object_string),
3201         (_gst_value_initialize):
3202         Implement GstObject -> string transform so we print object names
3203         when serializing GValues containing GstObjects.
3205 2007-02-28  Wim Taymans  <wim@fluendo.com>
3207         * docs/gst/gstreamer-sections.txt:
3208         Add new stuff to docs.
3210 2007-02-28  Wim Taymans  <wim@fluendo.com>
3212         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3213         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3214         (gst_base_sink_change_state):
3215         Improve latency query code.
3216         Don't leak latency events.
3218         * tests/check/gst/gstbin.c: (GST_START_TEST):
3219         Improve debugging.
3221 2007-02-28  Wim Taymans  <wim@fluendo.com>
3223         * gst/gstelement.c: (gst_element_message_full),
3224         (gst_element_get_state_func):
3225         * gst/gstelement.h:
3226         Improve docs a little. Added Since: for new macro.
3228         * gst/gstobject.c: (gst_object_sink):
3229         * gst/gstpipeline.c: (gst_pipeline_change_state),
3230         (gst_pipeline_set_new_stream_time):
3231         * gst/gstpipeline.h:
3232         Improve debugging and docs.
3234         * gst/gstutils.c: (gst_element_state_change_return_get_name):
3235         Improve debugging.
3237 2007-02-28  Wim Taymans  <wim@fluendo.com>
3239         * gst/gstelement.c: (gst_element_message_full),
3240         (gst_element_set_locked_state), (gst_element_get_state_func),
3241         (gst_element_change_state):
3242         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3243         Documentation updates.
3244         Small code cleanups.
3246         * gst/gstmessage.c: (gst_message_new_info),
3247         (gst_message_parse_info):
3248         * gst/gstmessage.h:
3249         API: gst_message_new_info()
3250         API: gst_message_parse_info()
3251         Add INFO message create and parse code.
3253 2007-02-28  Wim Taymans  <wim@fluendo.com>
3255         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3256         (bin_query_latency_done):
3257         Also report the live parameter of a latency query.
3259 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3261         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3262           Copy the current generic/states example from -base and adapt so
3263           we can use the exact same code everywhere.
3264           Check a STATES_IGNORE_ELEMENTS env var which can be used
3265           to ignore certain element factories for this test, which is
3266           what is being done in -base
3267         * tests/check/Makefile.am:
3268           Mention this environment variable.
3270 2007-02-27  Wim Taymans  <wim@fluendo.com>
3272         * docs/gst/gstreamer-sections.txt:
3273         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3274         (gst_bus_timed_pop), (gst_bus_pop):
3275         * gst/gstbus.h:
3276         API: gst_bus_timed_pop()
3277         Implement gst_bus_timed_pop() to do a blocking timed wait for a
3278         message to arrive on the bus.
3280         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3281         (gst_bus_suite):
3282         Two unit tests for new _timed_pop() function.
3284 2007-02-23  Wim Taymans  <wim@fluendo.com>
3286         * gst/gstpipeline.c: (gst_pipeline_change_state),
3287         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3288         Don't ref a NULL clock in _provide_clock_func().
3289         Don't allow an INVALID delay.
3290         Don't try to calculate base_time with an invalid start_time.
3291         Also distribute and notify a NULL clock when it was selected.
3293         * tools/gst-launch.c: (event_loop):
3294         Don't crash when a NULL clock was selected in the pipeline.
3296 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3298         * docs/design/Makefile.am:
3299         * docs/design/draft-missing-plugins.txt:
3300         * docs/random/draft-missing-plugins.txt:
3301           Some small updates: update plugin system identifier prefix
3302           ('gstreamer.net' to 'gstreamer'), mention our new install
3303           API in libgstbaseutils rather than libgimme-codec, add
3304           reference to the online docs.
3306 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3308         * win32/common/config.h:
3309           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
3310           use moap cl ci to only check in what is mentioned in the ChangeLog.
3312 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3314         * docs/gst/gstreamer-sections.txt:
3315         * gst/gstelement.h:
3316           Fix up documentation to link to the correct GstGError section.
3317           Add GST_ELEMENT_INFO macro since someone else added a Info message.
3319 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
3321         * tools/gst-launch.c: (event_loop):
3322           Make sure that we actually show the important message part of a
3323           warning message.
3324           No need to check if the gerror is not NULL to free; first of all
3325           g_free accepts NULL; and second the default error handler would
3326           segfault if gerror was NULL.
3328 2007-02-21  Wim Taymans  <wim@fluendo.com>
3330         * docs/gst/gstreamer-sections.txt:
3331         Removed docs as well.
3333 2007-02-21  Wim Taymans  <wim@fluendo.com>
3335         * gst/gstmessage.c: (gst_message_parse_duration):
3336         * gst/gstmessage.h:
3337         Remove new messages for release.
3339 2007-02-20  Wim Taymans  <wim@fluendo.com>
3341         * docs/design/part-gstghostpad.txt:
3342         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
3343         (gst_ghost_pad_new_full):
3344         Make the ghostpad a parent of the internal pad again for better backward
3345         compatibility. Don't write code that relies on this however.
3347         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
3348         (gst_pad_link_check_hierarchy):
3349         Require that parents should be GstElements in the hierarchy check.
3351 2007-02-20  Wim Taymans  <wim@fluendo.com>
3353         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
3354         (gst_bin_change_state_func), (bin_query_min_max_init),
3355         (bin_query_latency_fold), (bin_query_latency_done),
3356         (gst_bin_query):
3357         Improve debug info.
3358         Implement latency query.
3360 2007-02-20  Wim Taymans  <wim@fluendo.com>
3362         * docs/design/part-gstghostpad.txt:
3363         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
3364         (gst_ghost_pad_internal_do_activate_push),
3365         (gst_ghost_pad_internal_do_activate_pull),
3366         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3367         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
3368         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
3369         Do not set the internal pad as a parent anymore so we can avoid
3370         hierarchy linking errors when the ghostpad has no parent yet. This also
3371         fixes failed activation because of unlinked internal pads, which in
3372         turn fixes the impossible case where you have to activate a pad before
3373         you can add it to a running element.
3374         Also fix the docs.
3376         * gst/gstpad.c: (pre_activate), (post_activate),
3377         (gst_pad_set_active), (gst_pad_activate_pull),
3378         (gst_pad_activate_push), (gst_pad_check_pull_range):
3379         Add some more debug info.
3380         Mark activation mode in pre_activate so that we don't try to activate in
3381         endless loops. Fixes #385084.
3383 2007-02-19  Wim Taymans  <wim@fluendo.com>
3385         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3386         (gst_base_transform_check_get_range):
3387         Implement a checkgetrange function instead of relying on the default
3388         core behaviour that assumes we can operate in pull mode if we have a
3389         getrange function. First step at fixing #385084.
3391 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
3393         * gst/gstchildproxy.h:
3394         * libs/gst/base/gstbasesink.h:
3395         * libs/gst/base/gstbasesrc.h:
3396         * libs/gst/base/gstbasetransform.h:
3397         More docs coverage and some ChangeLog surgery (add missing names)
3399 2007-02-15  Wim Taymans  <wim@fluendo.com>
3401         * docs/design/part-TODO.txt:
3402         * docs/design/part-activation.txt:
3403         * docs/design/part-block.txt:
3404         * docs/design/part-buffering.txt:
3405         * docs/design/part-clocks.txt:
3406         * docs/design/part-element-source.txt:
3407         * docs/design/part-events.txt:
3408         * docs/design/part-gstbin.txt:
3409         * docs/design/part-gstbus.txt:
3410         * docs/design/part-gstpipeline.txt:
3411         * docs/design/part-live-source.txt:
3412         * docs/design/part-messages.txt:
3413         * docs/design/part-overview.txt:
3414         * docs/design/part-qos.txt:
3415         * docs/design/part-query.txt:
3416         * docs/design/part-states.txt:
3417         * docs/design/part-trickmodes.txt:
3418         Some doc updates. Start renaming from stream_time to running_time where
3419         it was used wrongly.
3421 2007-02-15  Wim Taymans  <wim@fluendo.com>
3423         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3424         Answer LATENCY query.
3426 2007-02-15  Wim Taymans  <wim@fluendo.com>
3428         * tests/check/gst/gstevent.c: (event_probe), (test_event),
3429         (GST_START_TEST):
3430         Improve debugging.
3432 2007-02-15  Wim Taymans  <wim@fluendo.com>
3434         * gst/gstpad.c: (gst_pad_get_internal_links_default),
3435         (gst_pad_dispatcher):
3436         Improve debugging of default pad dispatcher and query functions.
3438 2007-02-15  Wim Taymans  <wim@fluendo.com>
3440         * docs/gst/gstreamer-sections.txt:
3441         Remove old unused method.
3443 2007-02-13  Wim Taymans  <wim@fluendo.com>
3445         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3446         Fix check
3448 2007-02-13  Wim Taymans  <wim@fluendo.com>
3450         * docs/design/part-seeking.txt:
3451         Some small update.
3453         * gst/gstsegment.c: (gst_segment_set_seek):
3454         Revert old bogus change that should make seeking work again.
3456 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3458         * docs/random/ensonic/dynlink.txt:
3459         * docs/random/ensonic/interfaces.txt:
3460         * docs/random/ensonic/receipies.txt:
3461           Possible dynamic reconnection api, plus some type fixes the other two
3462           docs.
3464 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
3466         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3467         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3468         Also check for an absolute path following file:// in the filesrc
3469         element. Remove redundant check and call g_path_is_absolute() on the
3470         unescaped location.
3472 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
3474         * docs/design/draft-klass.txt:
3475           Add existing category analysis.
3476           
3477         * gst/gstcaps.c:
3478           Fix doc example, framerate is a fraction.
3480 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3482         * configure.ac:
3483         * docs/gst/Makefile.am:
3484         * docs/gst/gstreamer-sections.txt:
3485         * docs/libs/Makefile.am:
3486           Erm, forgot a bunch of --extra-dir.
3488 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
3490         * configure.ac:
3491         * docs/gst/Makefile.am:
3492         * docs/libs/Makefile.am:
3493         * docs/plugins/Makefile.am:
3494           Add crossreferences to glib/gobject docs.
3496 2007-02-12  Wim Taymans  <wim@fluendo.com>
3498         * docs/design/draft-latency.txt:
3499         Small update.
3501         * docs/libs/gstreamer-libs-sections.txt:
3502         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3503         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3504         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3505         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3506         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3507         (gst_base_sink_get_position), (gst_base_sink_query),
3508         (gst_base_sink_change_state):
3509         * libs/gst/base/gstbasesink.h:
3510         API: gst_base_sink_query_latency() to let subclasses query the upstream
3511         latency.
3512         API: gst_base_sink_get_latency() to let subclasses query the configured
3513         latency in the sink.
3514         Implement query and set latency.
3515         Update some docs.
3516         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3517         don't continue preroll when we are flushing. Fixes #405284.
3519         * tests/check/pipelines/stress.c: (change_state_timeout),
3520         (quit_timeout), (GST_START_TEST), (stress_suite):
3521         Test for #405284.
3523 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3525         Patch by: René Stadler <mail at renestadler de>
3527         * docs/gst/gstreamer-sections.txt:
3528         * gst/gsttaglist.c: (_gst_tag_initialize):
3529         * gst/gsttaglist.h:
3530           API: add GST_TAG_REFERENCE_LEVEL (#403597).
3532 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
3534         * docs/libs/Makefile.am:
3535           Fix path to core docs.
3537         * gst/gstbin.c: (gst_bin_get_by_interface),
3538         (gst_bin_iterate_all_by_interface):
3539           Refix docs by also renaming 'interface' to 'iface' in implementation.
3541         * docs/gst/gstreamer-sections.txt:
3542         * gst/gstcaps.c:
3543         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3544         * gst/gstchildproxy.h:
3545         * gst/gstelementfactory.c:
3546         * gst/gstpadtemplate.h:
3547         * libs/gst/controller/gstcontroller.c:
3548         (gst_controlled_property_new):
3549           Document more.
3551 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
3553         * gst/gstbin.h:(gst_bin_get_by_interface),
3554         (gst_bin_iterate_all_by_interface):
3555         Replace interface parameter name by iface as interface is 
3556         a reserved keyword in Visual Studio for C++ projects so it removes
3557         a build error for application developpers using VS.
3558         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3559         Fix a bug on Windows in uri format check. Now the prefix checked
3560         is file:// and next we check if the path after file:// is absolute.
3561         * win32/common/libgstbase.def:
3562         * win32/common/libgstdataprotocol.def:
3563         * win32/common/libgstgstreamer.def:
3564         Add new exported functions.
3566 2007-02-09  Andy Wingo  <wingo@pobox.com>
3568         * tests/check/pipelines/simple-launch-lines.c
3569         (simple_launch_lines_suite, test_tee): Disable tee test until I
3570         have time to fix it :-(
3572         * tests/check/Makefile.am (noinst_HEADERS): 
3573         * tests/check/libs/libsabi.c: 
3574         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3575         * tests/check/gst/gstabi.c: 
3576         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3578         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3579         tests for push and pull tee behavior.
3581         * plugins/elements/gsttee.h: 
3582         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3583         mark as deprecated as well as unimplemented. It was a crack idea.
3584         Add support for tee operating in pull mode, off by default.
3586         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3587         normal-case logs down to LOG, raise errors to WARNING.
3588         (gst_registry_xml_read_cache): Don't log before calling a function
3589         that logs.
3591         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3592         exit (registry finalize).
3593         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3594         DEBUG log when we emit signals that people don't even have the
3595         chance to connect to.
3596         (gst_registry_scan_path_level): Less logging in the normal case.
3598 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3600         Patch by: Michal Benes <michal dot benes at itonis dot tv>
3602         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3603         Correctly generate EOS for non-seekable files. We don't have a total
3604         length for them and would get an unexpected end of file if we only
3605         special-cased for regular files. (Fixes: #404569)
3607 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3609         * tests/check/elements/filesrc.c: (GST_START_TEST),
3610         (filesrc_suite):
3611         Add unit test for the GstURIHandler interface in filesrc. This also
3612         tests the newly added file://localhost/foo/bar support.
3614 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3616         * gst/gstelementfactory.h:
3617           The klass string is not a hierarchy. Add reference to the design doc
3618           for more information and common types.
3620 2007-02-02  Wim Taymans  <wim@fluendo.com>
3622         * gst/gstquery.c: (gst_query_new_latency):
3623         Remove old structure field.
3625 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
3627         * tools/gst-launch.1.in:
3628           Give example for network streaming (#351998)
3630 2007-02-02  Wim Taymans  <wim@fluendo.com>
3632         * docs/gst/gstreamer-sections.txt:
3633         Add docs for new methods.
3635         * gst/gstevent.c: (gst_event_new_latency),
3636         (gst_event_parse_latency):
3637         * gst/gstevent.h:
3638         Add new LATENCY event to configure latency in a pipeline.
3639         API: gst_event_new_latency
3640         API: gst_event_parse_latency
3642         * gst/gstmessage.c: (gst_message_new_buffering),
3643         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3644         (gst_message_new_latency), (gst_message_parse_buffering),
3645         (gst_message_parse_lost_preroll):
3646         * gst/gstmessage.h:
3647         Added messages used in draft-latency.
3648         API: gst_message_new_lost_preroll
3649         API: gst_message_parse_lost_preroll
3650         API: gst_message_new_prerolled
3651         API: gst_message_new_latency
3653         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3654         (gst_query_parse_latency):
3655         * gst/gstquery.h:
3656         Implemented new latency query as in design doc.
3657         API: gst_query_new_latency
3658         API: gst_query_set_latency
3659         API: gst_query_parse_latency
3661 2007-02-02  Wim Taymans  <wim@fluendo.com>
3663         * docs/design/draft-latency.txt:
3664         Slight redesign to allow for dynamic latency adjustments.
3666         * docs/design/part-negotiation.txt:
3667         Fix some typos.
3669 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3671         reviewed by: Wim Taymans <wim@fluendo.com>
3673         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3674         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3675         Allow file://localhost/foo/bar URLs and correctly fail for every other
3676         hostname that one sets. This was gnomevfssrc is linked for those if
3677         installed as it can handle it (#403172)
3679 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3681         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3683         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3684         (unref_data), (gst_collect_pads_add_pad_full):
3685         * libs/gst/base/gstcollectpads.h:
3686         Don't put the previously added destroy notify in the GstCollectData
3687         struct as all it's padding is already used and we don't want to break
3688         ABI. Instead put in the pad's GObject data for now. This should be
3689         cleaned up for 0.11 (#402393).
3691 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3693         reviewed by: Wim Taymans <wim@fluendo.com>
3695         * docs/libs/gstreamer-libs-sections.txt:
3696         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3697         (unref_data), (gst_collect_pads_add_pad),
3698         (gst_collect_pads_add_pad_full):
3699         * libs/gst/base/gstcollectpads.h:
3700         API: Add function to specify a destroy notification for custom
3701         GstCollectData when adding new pads in GstCollectPads (#402393).
3703 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
3705         * po/sv.po:
3706           Update Swedish translation (#378255).
3708 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3710         * docs/design/draft-klass.txt:
3711           Fix the previous change, this is a list of categories and not a hierarchy.
3713 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3715         * docs/design/draft-klass.txt:
3716           Add info about how to get a list of used classes.
3718 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
3720         * plugins/elements/gsttypefindelement.c:
3721         (gst_type_find_element_chain_do_typefinding),
3722         (gst_type_find_element_change_state):
3723           Don't leak found caps in chain function (no idea why that never
3724           showed up as a leak anywhere).
3726 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
3728         * gst/gstplugin.h:
3729           Fix and expand GstPluginDesc API docs.
3731 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3733         * gst/gstcaps.c:
3734         * gst/gstelementfactory.c:
3735         * gst/gstpadtemplate.h:
3736           api doc fixes
3738         * libs/gst/controller/gstcontroller.c:
3739         (gst_controlled_property_new):
3740         * tests/examples/controller/audio-example.c:
3741           comment fixes
3743 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3745         * configure.ac:
3746           comment about refining the xml deps
3748         * docs/manuals.mak:
3749           comments about moving away from jade for docs
3750         
3751         * gst/gst.c:
3752           recommit the ifdefs to use the binary registry
3753         
3754         * gst/gstbin.c: (gst_bin_change_state_func):
3755           this break is obsolete
3757         * gst/gstelementfactory.h:
3758           better GST_ELEMENT_DETAILS docs, add comment about translation
3760         * gst/gstinfo.h:
3761           remove eol slash
3763         * gst/gstobject.c: (gst_signal_object_get_type):
3764           add G_UNLIKELY as usual
3766         * gst/gstpad.c: (gst_pad_event_default):
3767           add fall trhu comment
3769         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3770         (gst_registry_binary_initialize_magic),
3771         (gst_registry_binary_save_string),
3772         (gst_registry_binary_save_pad_template),
3773         (gst_registry_binary_save_feature),
3774         (gst_registry_binary_save_plugin),
3775         (gst_registry_binary_write_cache),
3776         (gst_registry_binary_check_magic),
3777         (gst_registry_binary_load_pad_template),
3778         (gst_registry_binary_load_feature),
3779         (gst_registry_binary_load_plugin),
3780         (gst_registry_binary_read_cache):
3781           comment typo and formatting
3783         * gst/gstutils.c: (gst_element_state_get_name),
3784         (gst_element_state_change_return_get_name):
3785           remove obsolete breaks
3787         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3788           add FIXME 0.11 and remove cpp comment
3790 2007-01-29  Edward Hervey  <edward@fluendo.com>
3792         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3793         Fix print statement in an even more portable way.
3795 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3797         * docs/gst/gstreamer-sections.txt:
3798         * gst/gstutils.h:
3799           API: add GST_ROUND_DOWN_* macros (#401781).
3801 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3803         * docs/gst/gstreamer.types.in:
3804         * gst/gstregistry.c: (gst_registry_class_init):
3805           Document registry signals and make gtk-doc pick them up (#401381).
3807 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3809         * docs/pwg/building-testapp.xml:
3810           Add some audioconverts and audioresample to the pipeline, and some
3811           more comments and error handling.
3813 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3815         * docs/manual/manual.xml:
3816         * docs/pwg/pwg.xml:
3817           Fix typo (#400987).
3819 2007-01-26  Wim Taymans  <wim@fluendo.com>
3821         * gst/gstcaps.c: (gst_static_caps_get):
3822         Init caps flags too.
3824 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3826         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3828         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3829         If not using mmap'ed files try to seek to the end instead of the
3830         start to determine whether we can seek at all. This fixes the case
3831         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3832         seeks for everything afterwards fail. Fixes #400656
3834 2007-01-25  Wim Taymans  <wim@fluendo.com>
3836         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3837         Add some refcount debugging.
3838         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3839         in multiple streaming threads.
3841 2007-01-25  Wim Taymans  <wim@fluendo.com>
3843         Patch by: David Schleef <ds at schleef dot org>
3845         * docs/libs/gstreamer-libs-sections.txt:
3846         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3847         * libs/gst/base/gstadapter.h:
3848         API: gst_adapter_copy() that can reduce the amount of memcpy when
3849         getting data from the adapter. Fixes #388201.
3851 2007-01-25  Edward Hervey  <edward@fluendo.com>
3853         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3854         In print statements, "%x" is for guint. Fixes build on macosx.
3856 2007-01-24  Edward Hervey  <edward@fluendo.com>
3858         * plugins/elements/gstmultiqueue.c:
3859         (gst_multi_queue_loop):
3860         Small fix.
3861         (single_queue_overrun_cb), (single_queue_underrun_cb),
3862         (single_queue_check_full), (gst_single_queue_new):
3863         Implement single queue growth system.
3864         This uses the extra-size properties, and will grow single queues by
3865         that much if one goes full whereas there are others empty. This is
3866         called extra-mode in the code.
3867         When a single queue's levels go back below the initial max-size
3868         limits, it is no longer in extra-mode. This is to ensure we don't
3869         consume too much memory.
3870         Fixes #399875
3872 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3874         * gst/gst.c: (gst_init_get_option_group):
3875           Make warning about late g_thread_init() calls a bit more explicit,
3876           so that it's more obvious to application developers what they need
3877           to do if a user files a bug against their application.
3879 2007-01-22  Edward Hervey  <edward@fluendo.com>
3881         * plugins/elements/gstmultiqueue.c:
3882         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3883         Remove previous hack of unsetting the flushing flag for the source pad
3884         instead of activating it. Instead, fix the source pad activate function
3885         so that it no longer depends on having a parent set or not.
3887 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3889         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3891         * docs/manual/basics-bus.xml:
3892           Fix example code, gst_element_unref() doesn't exist any longer.
3894 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3896         Patch by: Mark Nauwelaerts <manauw at skynet be>
3898         * gst/gstpad.c:
3899           Fix two docs typoes (#399094).
3901 2007-01-19  Edward Hervey  <edward@fluendo.com>
3903         * docs/faq/gst-uninstalled:
3904         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3905         depending on libgstbaseutils can work in uninstalled environment.
3907 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3909         * gst/gsttaglist.h:
3910         * gst/gsttagsetter.c:
3911         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3912         statement for new tag.
3914 2007-01-17  Edward Hervey  <edward@fluendo.com>
3916         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3917         When dynamically creating single queues, activate sinkpad before adding
3918         it.
3919         We should be doing the same thing for the source pad, but we can't
3920         since it would call a method which needs the parent to be set in order
3921         to work propertly. Instead of activating the source pad, we just unset
3922         the flushing flag, which is the minimal requirement for adding a pad
3923         to an element in a state greater than READY.
3925 2007-01-17  Edward Hervey  <edward@fluendo.com>
3927         * docs/faq/gst-uninstalled:
3928         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3929         Mac OS X.
3931 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3933         * tests/check/gst/gstabi.c:
3934         * tests/check/gst/struct_hppa.h:
3935         * tests/check/libs/libsabi.c:
3936         * tests/check/libs/struct_hppa.h:
3937           Add ABI structs for HPPA (see #393796).
3939 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3941         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3942           Actually write ABI structs to the file specified in the GST_ABI
3943           environment variable, as the message we print claims we would.
3945 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3947         * tests/check/gst/gsttask.c:
3948           Fix header comment.
3950 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3952         * gst/gsttaglist.c: (_gst_tag_initialize):
3953           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3954           previous two entries.
3956 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3958         * docs/gst/gstreamer-sections.txt:
3959         * gst/gsttaglist.c: (_gst_tag_initialize):
3960         * gst/gsttaglist.h:
3961           Add tag support for beat-per-minute.
3963 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3965         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3966         (gst_registry_binary_initialize_magic),
3967         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3968         (gst_registry_binary_save_pad_template),
3969         (gst_registry_binary_save_feature),
3970         (gst_registry_binary_save_plugin),
3971         (gst_registry_binary_write_cache),
3972         (gst_registry_binary_check_magic),
3973         (gst_registry_binary_load_pad_template),
3974         (gst_registry_binary_load_feature),
3975         (gst_registry_binary_load_plugin),
3976         (gst_registry_binary_read_cache):
3977         * gst/gstregistrybinary.h:
3978           Use glib types, cleanup comments, impement interfaces and uri-types.
3980 2007-01-13  Andy Wingo  <wingo@pobox.com>
3982         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3983         getrange() to return buffers with other caps, while we fix
3984         demuxers and typefind, or otherwise change part-negotiation.txt.
3986 2007-01-12  Andy Wingo  <wingo@pobox.com>
3988         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3989         Factor start/stop into this private function instead of partially
3990         in activate functions and partially in the change_state function.
3991         Fixes setup before the element has changed from READY->PAUSED, as
3992         is the case in pull-mode pipelines.
3993         (gst_base_transform_sink_activate_push)
3994         (gst_base_transform_src_activate_pull): Refactor to use
3995         gst_base_transform_activate().
3996         (gst_base_transform_change_state): Removed, not needed any more.
3998         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3999         Truncate before fixating.
4000         
4001         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4002         Don't set_caps() if the result of fixating is ANY, as it's not
4003         supported, and not necessary in the case of a link with no
4004         template caps on either side. Fixes tests/check/libs/basesrc in
4005         some pull-mode tests.
4007         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4008         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4009         (gst_base_transform_src_activate_pull): 
4010         Track the activation mode.
4011         (gst_base_transform_setcaps): In pull mode, when activating the
4012         src pad, after activating the sink pad, activate the sink pad's
4013         peer, as discussed in part-negotiation.txt.
4015         * libs/gst/base/gstbasesrc.h: 
4016         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4017         vmethod, as in basesink.
4019         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4021         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4022         mode, first proxy the setcaps to the peer pad.
4023         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4024         new fixate vmethod.
4025         (gst_base_sink_default_activate_pull): Rename from
4026         gst_base_sink_activate_pull.
4027         (gst_base_sink_negotiate_pull): New function, performs negotiation
4028         in pull mode before calling ::activate_pull().
4029         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4030         vmethod instead of the default implementation. I have no idea how
4031         this worked before. Negotiate before calling activate_pull.
4033         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4034         sink pads in pull mode. In addition to being correct, fixes
4035         filesrc ! decodebin ! identity ! fakesink.
4036         (gst_pad_get_range, gst_pad_pull_range): Don't call
4037         gst_pad_set_caps() if the caps changes; instead error out with
4038         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4040 2007-01-12  Andy Wingo  <wingo@pobox.com>
4042         * docs/design/part-negotiation.txt: Update with more policy.
4044 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4046         * libs/gst/check/gstbufferstraw.h:
4047         * libs/gst/check/gstcheck.h:
4048           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4049           belongs.
4051 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4053         * tests/check/Makefile.am:
4054         * tests/check/gst/.cvsignore:
4055         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4056         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4057         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4058         (GST_START_TEST), (gst_tag_setter_suite):
4059           Add minimal unit test for beforementioned GstTagSetter bug.
4061 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4063         Patch by: René Stadler <mail at renestadler dot de>
4065         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4066           gst_tag_list_merge() returns a new list, so it's not the best idea
4067           to ingore its return value. Effectively meant that tags could only
4068           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4069           Also add function guard to require a non-NULL taglist as input (has
4070           always been so due to gst_tag_list_copy(), just making it explicit).
4072 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4074         * docs/random/draft-missing-plugins.txt:
4075           Some additions: mention new API that is supposed to be used at the
4076           various stages; short blob about new gst-inspect introspection
4077           option; mention potential future problem with plugins that have
4078           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4080 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4082         * tools/gst-inspect.c:
4083         (print_plugin_automatic_install_info_codecs),
4084         (print_plugin_automatic_install_info_protocols),
4085         (print_plugin_automatic_install_info), (main):
4086         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4087         introspect plugin files and get machine-parsable output that corresponds
4088         to the last bit of the missing-plugin installer string (small gotcha:
4089         doesn't take into account ranks).
4091 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4093         * configure.ac:
4094         * docs/gst/gstreamer-sections.txt:
4095         * gst/Makefile.am:
4096         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4097         (gst_registry_lookup_locked):
4098         * gst/gstregistry.h:
4099         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4100         (gst_registry_binary_initialize_magic),
4101         (gst_registry_binary_save_string),
4102         (gst_registry_binary_save_pad_template),
4103         (gst_registry_binary_save_feature),
4104         (gst_registry_binary_save_plugin),
4105         (gst_registry_binary_write_cache),
4106         (gst_registry_binary_check_magic),
4107         (gst_registry_binary_load_pad_template),
4108         (gst_registry_binary_load_feature),
4109         (gst_registry_binary_load_plugin),
4110         (gst_registry_binary_read_cache):
4111         * gst/gstregistrybinary.h:
4112         * gst/gstregistryxml.c: (load_feature),
4113         (gst_registry_xml_read_cache):
4114           commit binary registry (disabled by default, see #359653)
4116 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4118         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4119           Fix 'make check' too.
4121 2007-01-10  Andy Wingo  <wingo@pobox.com>
4123         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4124         notes.
4125         
4126         * docs/design/part-negotiation.txt: Update with, um, one way that
4127         pull-mode negotiation might work?
4129         * gst/gstpad.h: 
4130         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4131         that the pad must be a src pad; makes sense to call it the other
4132         way in pull mode, and the logic is symmetric anyway.
4134 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4136         * plugins/elements/gstfilesink.c:
4137           Include <stdio.h> for fseeko().
4139 2007-01-10  Wim Taymans  <wim@fluendo.com>
4141         * gst/gstevent.c:
4142         * gst/gstevent.h:
4143         Reserve LATENCY event.
4145 2007-01-09  Wim Taymans  <wim@fluendo.com>
4147         * docs/design/draft-latency.txt:
4148         Updates.
4150 2007-01-09  Wim Taymans  <wim@fluendo.com>
4152         * docs/design/draft-latency.txt:
4153         Updates.
4155         * gst/gstelement.h:
4156         * gst/gststructure.c:
4157         * gst/gsttrace.c:
4158         Small typo fixes.
4160 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4162         * tests/check/.cvsignore:
4163           Ignore test-registry.xml as well.
4165 2007-01-09  Wim Taymans  <wim@fluendo.com>
4167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4168         unref data at the end when we are done with the pad.
4170 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4172         * docs/gst/gstreamer-sections.txt:
4173         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4174         (init_post), (gst_deinit), (gst_update_registry):
4175         * gst/gst.h:
4176           API: add gst_update_registry() (#391296).
4178         * tests/check/Makefile.am:
4179         * tests/check/gst/gstregistry.c:
4180         * tests/check/gst/.cvsignore:
4181           Simple unit test for the above.
4183 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4185         * gst/gstregistry.c: (gst_registry_scan_path_level):
4186           Plugin extension on HP-UX is .sl, add that to the list of approved
4187           plugin extensions (see #393796).
4189         * tests/check/gst/gstpad.c: (GST_START_TEST):
4190           ulong => gulong. Fixes compilation with HP-UX compiler.
4192         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4193           Fix compilation if valgrind headers are not available.
4195 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4197         * win32/common/libgstreamer.def: 
4198           Add new exported function.
4199         * win32/vs6/libgstbase.dsp: 
4200           Add gstdataqueue.c to the build.
4201         * win32/vs6/libgstcoreelements.dsp:
4202           Add gstmultiqueue.c to the build.
4203         
4204 2007-01-06  Andy Wingo  <wingo@pobox.com>
4206         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4207         activate_pull(), providing for a way to specialize the process of
4208         spawning a thread to pull on the sink pad. There is a default
4209         implementation.
4211         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4212         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4213         (gst_base_sink_init): Renamed pad activation functions (inserting
4214         "_pad" in their names). Refactor to use the new activate_pull
4215         vmethod, as appropriate.
4216         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4217         default activate_pull function to start a task pulling from the
4218         sink pad, as before.
4220         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4221         on the pads if necessary, as in push()/chain(). Update docs.
4222         Shouldn't affect existing pull() usage as it is currently only
4223         being used on buffers without caps.
4225 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4227         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4228         (init_pre):
4229           Call g_thread_init() first thing in gst_init() / gst_check_init().
4230           When initialisation is done via gst_init_get_option_group() and
4231           GOption parsing, issue a warning if the GLib thread system has not
4232           been initialised yet by the time gst_init_get_option_group() is
4233           called, as it's quite likely other GLib functions such as
4234           g_option_context_new() have been called already then, and
4235           g_thread_init() must be called before any other GLib function. The
4236           application in question must be fixed in that case, since memory
4237           corruption might happen otherwise.
4238           We issue the warning because even if the GLib folks decide to work
4239           around the problem on their end in future, this is still an issue
4240           with all GLib versions >= 2.10.0, so we should warn until we depend
4241           on a GLib version we know to be safe.
4242           Update documentation as well.
4243           Closes bug #391278.
4245 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4247         * tools/gst-inspect.c: (main):
4248         * tools/gst-launch.c: (main):
4249         * tools/gst-typefind.c: (main):
4250         * tools/gst-xmlinspect.c: (main):
4251           Call g_thread_init() really really early, before any other GLib
4252           function (see #342564 and recent discussion on gtk-devel-list).
4254 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4256         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
4258         * gst/gst_private.h:
4259         * gst/gstconfig.h.in:
4260         * gst/gstinfo.h:
4261           On win32, all the __declspec stuff for symbol exporting is
4262           apparently only needed with MSVC, but doesn't work with MingW.
4263           Fixes compilation with MingW and #391909.
4265 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
4267         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4268           Change some GST_ERROR_OBJECT that aren't really errors to
4269           GST_WARNING_OBJECT in order to reduce terminal spam.
4271 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4273         * tests/check/Makefile.am:
4274           disable test again, as there seem to be still race problems
4276 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
4278         * tests/check/Makefile.am:
4279         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4280         (GST_START_TEST), (queue_suite):
4281           enable queue test again, add tests for the leaky behaviour
4283 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
4285         * configure.ac:
4286         * tests/examples/Makefile.am:
4287           Compile adapter test/example only if the required headers are
4288           available (fixes #391915).
4290 2007-01-01  David Schleef  <ds@schleef.org>
4292         * gst/gstplugin.c:
4293           Restore the previous signal handler for SIGSEGV instead of
4294           setting to default, since we may have stolen it away from
4295           someone.  (i.e., Mono)
4297 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4299         * docs/random/draft-missing-plugins.txt:
4300           Some small additions and clarifications.
4302 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
4304         * gst/gstregistryxml.c: (gst_registry_save_escaped):
4305           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4306           since that can lead to random memory corruptions and crashes
4307           (may or may not be related to #383244, #386711, and #386711).
4309 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4311         * tests/check/.cvsignore:
4312         * tests/check/Makefile.am:
4313           sync .cvsignome and CLEANFILES
4315 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4317         * tests/check/Makefile.am:
4318           fix distcheck
4320 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4322         * docs/design/part-states.txt:
4323           two tiny additional comments
4324         
4325         * gst/gststructure.c:
4326           doc fixing
4328         * tests/check/Makefile.am:
4329         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4330         (GST_START_TEST):
4331           disable test for now, unless it gets fixed
4333 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4335         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4336         (GST_START_TEST):
4337           fix race in underrun test
4339 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4341         * tests/check/elements/.cvsignore:
4342           ignore more
4344         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4345         (GST_START_TEST):
4346           try to narrow test failure
4348 2006-12-21  David Schleef  <ds@schleef.org>
4350         * plugins/elements/gstfakesrc.c:
4351           Use g_random_int_range(), since it produces better random
4352           numbers in a range than almost-correct floating point code.
4354 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
4356         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4357         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4358         (gst_check_teardown_sink_pad):
4359           do not automatically (de)activate pads
4361         * tests/check/Makefile.am:
4362         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4363         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
4364           add new, yet simple tests for queue
4366         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
4367         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
4368         * tests/check/elements/filesrc.c: (cleanup_filesrc),
4369         (GST_START_TEST):
4370         * tests/check/elements/identity.c: (cleanup_identity):
4371           consistent pad (de)activation
4373 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4375         Patch by: Sebastian Dröge  <slomo ubuntu com>
4377         * libs/gst/base/gstcollectpads.c:
4378           Fix two doc typos (#387866).
4380 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4382         * docs/manual/advanced-dparams.xml:
4383           Fix typo (g_object_control_properties() doesn't exist).
4385 2006-12-19  Edward Hervey  <edward@fluendo.com>
4387         * gst/gstsegment.c: (gst_segment_set_seek):
4388         Fine tune the cases where the segment start/stop values are really
4389         updated.
4390         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4391         Add tests for the return values of gst_segment_set_seek().
4393 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
4395         * gst/gst.c:
4396           Docs typo fix.
4398         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4399         (gst_queue_init):
4400           Fix incorrect documentation and flesh it out a bit more.
4401           Set default values for the max properties on the GParamSpec as well,
4402           so it shows up correctly in gst-inspect.
4404 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
4406         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
4407           Correct docs of queue, add more detail and crosslink it more.
4409 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4411         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4412           Print additional debug info when the stream isn't perfectly
4413           timestamped; don't try to use invalid durations.
4415 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4417         * docs/design/Makefile.am:
4418           Dist new design docs.
4420 2006-12-16  Wim Taymans  <wim@fluendo.com>
4422         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4424         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
4425         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4426         (gst_collect_pads_stop), (gst_collect_pads_event),
4427         (gst_collect_pads_chain):
4428         * libs/gst/base/gstcollectpads.h:
4429         Add refcounting to the collectpads data so we can track when it's safe
4430         to free the data. Fixes #383382.
4432 2006-12-15  Wim Taymans  <wim@fluendo.com>
4434         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4435         (gst_collect_pads_remove_pad):
4436         Automatically activate/deactivate pads when they are added to a
4437         started/stoped collectpads.
4439 2006-12-15  Wim Taymans  <wim@fluendo.com>
4441         * gst/gstelement.c: (gst_element_add_pad):
4442         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4443         * gst/gstpad.c: (gst_pad_init):
4444         Set pads to FLUSHING when they are created. Check, warn and fix when a
4445         demuxer adds an inactive pad to itself when running. Fixes #339326.
4447 2006-12-15  Wim Taymans  <wim@fluendo.com>
4449         * gst/gstelement.c: (gst_element_class_init),
4450         (gst_element_default_send_event), (gst_element_send_event),
4451         (gst_element_default_query), (gst_element_query):
4452         Expose default element send_event and query handling as vmethods that
4453         subclasses can chain up to.
4455 2006-12-15  Wim Taymans  <wim@fluendo.com>
4457         * gst/gstelement.c: (gst_element_set_state_func):
4458         Small documentation fixes.
4460 2006-12-15  Wim Taymans  <wim@fluendo.com>
4462         * docs/design/draft-latency.txt:
4463         Checked in draft for handling latency in pipelines.
4465 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
4467         * Makefile.am:
4468         * gstreamer.doap:
4469         * gstreamer.spec.in:
4470           adding .doap file
4472 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
4474         * gst/gst.c: (init_pre), (init_post):
4475           init_pre() and init_post() might be called via our GOptionGroup or
4476           from gst_init(), and we should skip both of them if we've already
4477           been initialised, otherwise we will init some things twice or add
4478           two default log functions.
4480 2006-12-13  Edward Hervey  <edward@fluendo.com>
4482         * docs/manual/basics-bus.xml:
4483         No, gst_main_loop does not exist. Its g_main_loop.
4484         Discovered by somebody who abused the copy-paste technique of coding :)
4486 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4488         * gst/gstghostpad.c:
4489           Log ghostpad debug stuff to the GST_PADS category as well rather
4490           than just to the default category.
4492 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4494         * configure.ac:
4495         * gst/gst.c: (init_pre):
4496           Add some basic system details such as OS and architecture
4497           to the debug output if possible, courtesy of uname().
4499 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4501         * docs/gst/running.xml:
4502           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4503           environment variables.
4505 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4507         * tests/check/gst/gstbin.c: (GST_START_TEST):
4508         It is acceptable to have a refcount of 2 or 3 at this point in the
4509         test, because the pipeline might be just posting its state_change
4510         message. The next line then waits for that message to appear using
4511         bus_poll, so that should be fine too.
4513 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
4515         * gst/gst.c: (ensure_current_registry_forking):
4516         Ignore EINTR when reading from the child registry pipe.
4517         Explicitly ignore the return value from close, since it makes no
4518         difference.
4520         * gst/gstminiobject.c: (gst_mini_object_ref),
4521         (gst_mini_object_unref):
4522         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4524         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4525         When removing cached plugins, remove their features too, so they're
4526         not visible after they've disappeared.
4528         * gst/gstutils.c: (prepare_link_maybe_ghosting):
4529         In the unlikely case that we are linking pads with no parents, don't
4530         crash trying to get the non-existent parent bin.
4532         * gst/parse/grammar.y:
4533         Output debug in the PIPELINE category
4535 2005-03-08  Wim Taymans  <wim@fluendo.com>
4537         Patch by: René Stadler <mail at renestadler dot de>
4539         * gst/gstclock.c: (gst_clock_new_periodic_id):
4540         Reject invalid clock times for interval of periodic ids.
4541         Fixes ##383506.
4543 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4545         * gst/gstelementfactory.c: (gst_element_factory_create):
4546         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4547         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4548         * tools/gst-inspect.c: (print_element_info):
4549         Fix refcounting of gst_plugin_feature_load to match the docs. 
4550         Fixes: #380129
4552 2006-12-07  Wim Taymans  <wim@fluendo.com>
4554         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4555         (gst_base_sink_get_position):
4556         Improve debugging of events.
4558 2006-12-07  Wim Taymans  <wim@fluendo.com>
4560         Patch by: René Stadler <mail at renestadler dot de>
4562         * gst/gstclock.c: (gst_clock_id_wait):
4563         Make period ids add the interval to the origial requested time instead
4564         of the possibly updated time which can be wrong when there are multiple
4565         waiters for the same id. Fixes #382592.
4567         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4568         (gst_system_clock_id_wait_jitter_unlocked),
4569         (gst_system_clock_id_wait_jitter):
4570         Fix restart in the async notify thread when an async entry is added to
4571         the front of the list. Fixes #381492. 
4573         * tests/check/gst/gstsystemclock.c: (store_callback),
4574         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4575         Added test for multiple async waits.
4576         Added test for async wait order.
4578 2006-12-07  Wim Taymans  <wim@fluendo.com>
4580         * gst/gstbin.c: (gst_bin_query):
4581         Add some more docs about the POSITION query.
4583 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
4585         * configure.ac:
4586         Bump version nano - back to CVS.
4588 === release 0.10.11 ===
4590 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
4592         * configure.ac:
4593           releasing 0.10.11, "Love never runs on time"
4595 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
4597         * win32/common/libgstbase.def:
4598         * win32/common/libgstreamer.def:
4599         * win32/vs8/libgstbase.vcproj:
4600         * win32/vs8/libgstcoreelements.vcproj:
4601         * win32/vs8/libgstreamer.vcproj:
4602         Fix compilation on win32 under VS8
4603         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4604         Partially fixes #381175
4606 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
4608         * gst/gstvalue.c: (gst_value_compare_fraction):
4609         If someone is foolish enough to compare 2 fractions with denominator =
4610         0, return UNORDERED rather than aborting.
4612 2006-11-28  Edward Hervey  <edward@fluendo.com>
4614         * libs/gst/base/Makefile.am:
4615         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4616         (gst_data_queue_base_init), (gst_data_queue_class_init),
4617         (gst_data_queue_init), (gst_data_queue_new),
4618         (gst_data_queue_cleanup), (gst_data_queue_finalize),
4619         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4620         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4621         (gst_data_queue_is_empty), (gst_data_queue_is_full),
4622         (gst_data_queue_set_flushing), (gst_data_queue_push),
4623         (gst_data_queue_pop), (gst_data_queue_drop_head),
4624         (gst_data_queue_set_property), (gst_data_queue_get_property):
4625         * libs/gst/base/gstdataqueue.h:
4626         New GstDataQueue object for threadsafe queueing. Most useful for
4627         elements that need some queueing functionnality.
4628         * docs/libs/gstreamer-libs-docs.sgml:
4629         * docs/libs/gstreamer-libs-sections.txt:
4630         Insert documentation for GstDataQueue
4631         * plugins/elements/Makefile.am:
4632         * plugins/elements/gstelements.c:
4633         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4634         (gst_multi_queue_class_init), (gst_multi_queue_init),
4635         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4636         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4637         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4638         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4639         (gst_multi_queue_loop), (gst_multi_queue_chain),
4640         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4641         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4642         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4643         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4644         (wake_up_next_non_linked), (compute_next_non_linked),
4645         (single_queue_overrun_cb), (single_queue_underrun_cb),
4646         (single_queue_check_full), (gst_single_queue_new):
4647         * plugins/elements/gstmultiqueue.h:
4648         New multiqueue element, using GstDataQueue. Used for queuing multiple
4649         streams.
4650         Closes #344639 and #347785
4652 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
4654         * docs/pwg/advanced-types.xml:
4655           add more missing type details
4657         * tools/gst-run.c: (main):
4658           remove unused variable
4660 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
4662         * docs/libs/Makefile.am:
4663         * docs/libs/gstreamer-libs.types:
4664           add types of base classes to enable gobject specific stuff in the docs
4666         * docs/random/ensonic/embedded.txt:
4667           more ideas about isolating platform specific things
4669 2006-11-20  Wim Taymans  <wim@fluendo.com>
4671         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4673         * libs/gst/check/gstcheck.h:
4674         Fix compilation and running against 0.9.4. Fixes #377332.
4676 2006-11-20  Wim Taymans  <wim@fluendo.com>
4678         * gst/gstsegment.c: (gst_segment_set_seek),
4679         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4680         (gst_segment_to_running_time):
4681         Fix boundary checking in to_running_time() and to_stream_time().
4682         Fixes #377183.
4684         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4685         stream and running time can now be calculated for the complete
4686         clipped segment.
4688 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
4690         * gst/gstpad.c: (gst_pad_push_event):
4691           Can't access event structure after giving away ownership of
4692           the event.
4694 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
4696         * docs/random/ensonic/embedded.txt:
4697         * docs/random/ensonic/profiling.txt:
4698         * docs/random/ensonic/receipies.txt:
4699           more thinking
4701 2006-11-13  Wim Taymans  <wim@fluendo.com>
4703         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4705         * gst/gstpad.c:
4706         Fix documentation for gst_pad_dispatcher. Fixes #374475.
4708 2006-11-13  Wim Taymans  <wim@fluendo.com>
4710         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4712         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4713         Store new length in segment duration so we don't keep on calling the
4714         potentially expensize get_size() call. Fixes #370865.
4716 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
4718         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
4720         * win32/common/libgstreamer.def:
4721           Add two missing symbols (#366492).
4723 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
4725         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4726         (gst_adapter_take_buffer):
4727         Fix format string to use all its arguments.
4728         Remove useless >= check on a guint
4730 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4732         * tests/examples/adapter/.cvsignore:
4733         Ignore build file as commanded by the build-bot
4735 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4737         * tests/examples/adapter/Makefile.am:
4738         * tests/examples/adapter/adapter_test.c: (run_test_take),
4739         (run_test_take_buffer), (run_tests), (main):
4741         Add new files from the previous commit
4743 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4745         * Makefile.am:
4746         * configure.ac:
4747         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4748         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4749         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4750         * libs/gst/base/gstadapter.h:
4751         * tests/check/libs/adapter.c: (create_and_fill_adapter),
4752         (GST_START_TEST), (gst_adapter_suite):
4753         * tests/examples/Makefile.am:
4754         Do some optimisation work in GstAdapter to avoid copies in more cases.
4755         It could still do slightly better by merging buffers when
4756         gst_buffer_is_span_fast is true, but is already faster. 
4758         Also, avoid traversing a single-linked list to append each incoming 
4759         buffer inside the adapter.
4761         Add simple test app that times the adapter behaviour in different
4762         situations, and extend the unit test to check that bytes enter and
4763         exit the adapter in their original order.
4765 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4767         * docs/random/draft-missing-plugins.txt:
4768           Update: use element message instead of adding a new message
4769           type to the core; don't provide GStreamer API to initiate the
4770           plugin download, just provide API to compose the strings needed
4771           and let an external libgimmestuff handle the rest.
4773 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
4775         * tools/gst-inspect.c: (print_element_properties_info):
4776         Print a string instead of 'unknown type' for GValueArray properties
4778 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4780         * docs/random/draft-missing-plugins.txt:
4781         More small fixes.
4783 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4785         * tests/examples/typefind/typefind.c: (type_found), (main):
4786           Make typefind element example work again (#371894); add a
4787           license header.
4789 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4791         * docs/random/draft-missing-plugins.txt:
4792           Commit initial draft about how to deal with missing plugins,
4793           needs work (API too).
4795 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4797         * docs/pwg/advanced-types.xml:
4798           documents the new caps elements (see #363118)
4800 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4802         * gst/gstplugin.c: (gst_plugin_load_file):
4803         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4804         (gst_file_src_map_region), (gst_file_src_start):
4805         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4806         (gst_file_index_commit):
4807           Use g_strerror() instead of strerror() - we want UTF-8.
4809 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4811         Patch by: Peter Kjellerstedt <pkj at axis com>
4813         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4814           Another printf fix (#371493).
4816 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4818         * tests/check/gst/gsttag.c:
4819           relicence (okay with author=company)
4821 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4823         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4824         (gst_pad_push_event):
4825           Enhance debug and improve docs
4826         
4827         * gst/gsturi.c:
4828           Fix docs
4830 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4832         * docs/random/ensonic/distributed.txt:
4833         * docs/random/ensonic/profiling.txt:
4834           more ideas
4836 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4838         * docs/gst/gstreamer-sections.txt:
4839           add new API and fix the build
4840           
4841         * gst/gstbin.c: (gst_bin_recalc_state):
4842         * gst/gstelement.c: (gst_element_message_full),
4843         (gst_element_get_state_func), (gst_element_set_state_func):
4844           use new API and improve logging
4845         
4846         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4847         * gst/gstutils.h:
4848           API: add function to get StateChangereturn names to improve logs 
4850 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4852         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4853           I'm considering shooting the next person to put strerror stuff
4854           in the translateable part of the message.
4856 2006-11-03  Wim Taymans  <wim@fluendo.com>
4858         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4859         Get the type and printf conversion specifiers right.
4861 2006-11-03  Wim Taymans  <wim@fluendo.com>
4863         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4865         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4866         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4867         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4868         Some small cleanups. Improve debugging.
4869         * gst/gstpad.h:
4870         Signal all waiting threads with a broadcast instead of just one.
4871         Fixes #369942.
4873 2006-11-03  Wim Taymans  <wim@fluendo.com>
4875         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4876         (gst_fd_src_create):
4877         Add some debugging. 
4878         Only update fd when it's different from the old.
4880 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4882         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4883           Printf fixes for PPC/OSX, take two (#369366).
4885 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4887         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4889         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4890         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4891         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4892           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4893           don't cast to long long for portability reasons, but use
4894           GLib's types instead.
4896 2006-10-30  Michael Smith  <msmith@fluendo.com>
4898         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4899           Get the arguments to lseek() the right way around.
4900           Fixes 367677.
4902 2006-10-30  Wim Taymans  <wim@fluendo.com>
4904         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4906         * gst/gstinfo.h:
4907         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4909 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4911         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4913         * docs/design/part-MT-refcounting.txt:
4914         * docs/random/wtay/capsnego2-docs:
4915         * gst/gstclock.c:
4916         * gst/gstxml.c:
4917           Typo fixes (#366212).
4919 2006-10-28  Wim Taymans  <wim@fluendo.com>
4921         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4923         * gst/gst.c:
4924         * win32/common/libgstbase.def:
4925         * win32/common/libgstreamer.def:
4926         * win32/vs8/libgstbase.vcproj:
4927         * win32/vs8/libgstcontroller.vcproj:
4928         Add needed entries in .def files.
4929         Use HAVE_UNISTD_H.
4930         Rearrange def files in vs8 solutions. Fixes #366286.
4932 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4934         * win32/common/gstconfig.h:
4935           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4936           hand-made win32 gstconfig.h. Fixes #366321.
4938 2006-10-27  Wim Taymans  <wim@fluendo.com>
4940         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4941         (gst_ghost_pad_new_full):
4942         Make acceptcaps return TRUE when we don't have a target, just like
4943         setcaps does.
4945 2006-10-27  Wim Taymans  <wim@fluendo.com>
4947         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4948         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4950 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4952         * gst/gststructure.c: (gst_structure_id_set_value):
4953           If someone tries to set a non-UTF8 string field on a structure,
4954           don't just print a warning, but also ignore the request and do
4955           not change/add that field to the structure.
4957         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4958           Test for the above.
4960 2006-10-25  David Schleef  <ds@schleef.org>
4962         * gst/gstinfo.c:
4963           g_hash_table_insert() needs a cast to a non-const pointer duh.
4965 2006-10-25  David Schleef  <ds@schleef.org>
4967         * gst/gstinfo.c:
4968         * gst/gstinfo.h:
4969           Change name parameter of _gst_debug_register_funcptr to const
4970           to reflect the constness of its use in the function as well
4971           as to quiet a gcc warning.
4973 2006-10-25  Edward Hervey  <edward@fluendo.com>
4975         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4976         Don't push the buffer if it's empty.
4977         Closes #363095
4979 2006-10-24  Wim Taymans  <wim@fluendo.com>
4981         * gst/gstevent.h:
4982         Add small comment.
4984         * libs/gst/base/gstbasetransform.c:
4985         (gst_base_transform_sink_eventfunc):
4986         Debug segment values *after* updating them as this is more
4987         interesting.
4989 2006-10-23  Wim Taymans  <wim@fluendo.com>
4991         * docs/design/part-events.txt:
4992         Update some docs.
4994         * docs/design/part-block.txt:
4995         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4996         (gst_pad_push_event):
4997         Revert BLOCKING patch, it tries to be smart without really having a
4998         clear idea what or how. So, now we discard all FLUSHING events again on
4999         a blocking pad. Should fix gnonlin again.
5001 2006-10-23  Wim Taymans  <wim@fluendo.com>
5003         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5005         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5006         (gst_base_src_start), (gst_base_src_activate_push):
5007         Make sure size is always initialized. Fixes #364388.
5009 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5011         * docs/random/ensonic/distributed.txt:
5012           add some ideas about doing distributed processing
5014         * docs/random/ensonic/profiling.txt:
5015           get_rusage look promising
5017 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5019         * docs/manual/basics-helloworld.xml:
5020           Add a cast in example to fix compile warning
5022 2006-10-18  Wim Taymans  <wim@fluendo.com>
5024         * gst/gstsegment.c: (gst_segment_set_last_stop),
5025         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5026         Relax arg checking again, -1 is allowed.
5028 2006-10-18  Wim Taymans  <wim@fluendo.com>
5030         * gst/gstsegment.c: (gst_segment_set_last_stop),
5031         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5032         _set_last_stop() must be with a value != -1
5033         A _TYPE_SET to -1 means seek to 0.
5034         Calc last_stop correctly for negative rates.
5035         Make sure we work with positive durations when updating a segment.
5037 2006-10-18  Wim Taymans  <wim@fluendo.com>
5039         * docs/design/part-live-source.txt:
5040         * gst/gstclock.h:
5041         Small docs fixes.
5043 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5045         * gst/gstbuffer.h:
5046           Add an explicit cast to GstBuffer** to keep old code that added an
5047           explicit cast to GstMiniObject** for gst_mini_object_replace()
5048           compiling without warning.
5050 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5052         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5053           check for validity of dates
5055 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5057         * docs/gst/gstreamer-sections.txt:
5058           Forgot this one, makes gtk-doc shut up.
5060 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5062         Patch by: Peter Kjellerstedt <pkj at axis com>
5064         * gst/gstobject.h:
5065           Don't define xmlNodePtr to gpointer if the core was built with
5066           --disable-loadsave and --disable-registry, this will break
5067           applications that want to use libxml2 but are buildling against a
5068           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5069           instead so we don't have to mess with the libxml2 namespace
5070           (#361675).
5072 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5074         * gst/gstbuffer.h:
5075           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5076           type-punned pointer warnings.
5078 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5080         * gst/gstelement.h:
5081           Add casts to the correct return type to state <=> state transition
5082           macros.
5084 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5086         * docs/design/part-live-source.txt:
5087           describe howto handle latency
5088         
5089         * docs/random/ensonic/profiling.txt:
5090           more ideas
5092         * tools/gst-plot-timeline.py:
5093           fix log parsing for solaris, remove unused function
5095 2006-10-16  Wim Taymans  <wim@fluendo.com>
5097         * docs/design/part-trickmodes.txt:
5098         * gst/gstevent.c:
5099         Update some docs regarding reverse playback.
5101 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5103         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5105         * win32/vs8/grammar.vcproj:
5106           Error out with a warning if glib-genmarshal.exe is not in path,
5107           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5109 2006-10-13  Wim Taymans  <wim@fluendo.com>
5111         * gst/gstsegment.c: (gst_segment_set_seek):
5112         When seeking to stop -1, set last_stop (current position) to the
5113         duration of the segment.
5115 2006-10-13  Wim Taymans  <wim@fluendo.com>
5117         * gst/gstelement.h:
5118         Clarify _NO_PREROLL a bit more.
5120         * gst/gstevent.c:
5121         Fix docs.
5123         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5124         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5125         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5126         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5127         due to wrong locking order. Fixes #361769.
5128         Remove some redundant/misplaced checks in pad_block.
5130         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5131         For negative rates, count backwards from the duration.
5133 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5135         * gst/gsterror.c: (_gst_library_errors_init):
5136           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5137           up with something better).
5139 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5141         * win32/vs6/libgstreamer.dsp:
5142         * win32/vs7/libgstreamer.vcproj:
5143         * win32/vs8/libgstreamer.vcproj:
5144           Don't reference glib-compat.c which is currently not used and not
5145           disted; add gstquark.c which was recently added. Fixes #361730.
5147 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5149         * win32/common/libgstbase.def:
5150         * win32/common/libgstcontroller.def:
5151         * win32/common/libgstreamer.def:
5152           Add gst_caps_merge() and a bunch of other recently-added functions.
5153           Fixes #361732.
5155 2006-10-11  Wim Taymans  <wim@fluendo.com>
5157         * docs/plugins/gstreamer-plugins.args:
5158         * docs/plugins/inspect/plugin-coreelements.xml:
5159         * docs/plugins/inspect/plugin-coreindexers.xml:
5160         Update element args.
5162         * gst/gstsystemclock.c:
5163         Small comment update.
5165         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5166         (gst_tee_request_new_pad), (gst_tee_release_pad),
5167         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5168         (gst_tee_sink_activate_pull):
5169         * plugins/elements/gsttee.h:
5170         Some tee loving:
5171         Add default property defines.
5172         Implement release pad function.
5173         Give properties better blubs etc.
5174         Activate pads before adding them to a running tee.
5175         Do simple buffer_alloc on the first requested pad.
5176         Post error when activation fails.
5178 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5180         * gst/gst.c: (ensure_current_registry_forking):
5181           Check return value of write() to make compiler happy.
5183 2006-10-11  Wim Taymans  <wim@fluendo.com>
5185         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5187         * plugins/elements/gstqueue.c: (gst_queue_chain):
5188         Recheck queue filledness after signalling the overrun when we're about
5189         to leak downstream because we released the lock when emitting the signal
5190         and the queue could be empty again. Fixes #352345.
5192 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5194         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5195           Fix refcounting here too, just like we did for _new_valist() a few
5196           days ago (#357180) (thanks to René Stadler). Also remove all those
5197           'Since: 0.9' from the gtk-doc blobs.
5199         * tests/check/libs/controller.c: (controller_refcount_new_list),
5200         (gst_controller_suite):
5201           Unit test for the above.
5203 2006-10-10  Wim Taymans  <wim@fluendo.com>
5205         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5207         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5208         (gst_pad_save_thyself):
5209         Update some docs.
5210         Write pad direction in XML output. Fixes #345496.
5212 2006-10-10  Wim Taymans  <wim@fluendo.com>
5214         Patch by: René Stadler <mail at renestadler dot de>
5216         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5217         (gst_controller_new_list), (_gst_controller_dispose),
5218         (_gst_controller_finalize), (_gst_controller_class_init):
5219         Take ref to controlled object so that it cannot disappear. 
5220         Fixes #357432.
5222 2006-10-10  Wim Taymans  <wim@fluendo.com>
5224         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5225         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5226         (gst_check_teardown_sink_pad):
5227         Activate/deactivate pads in setup/teardown respectively.
5229 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5231         Patch by: Josep Torre Valles <josep@fluendo.com>
5233         * gst/Makefile.am:
5234         Cast values when making gstenumtypes.h.  This pacifies Forte
5235         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5236         in the enumeration.
5238 2006-10-09  Wim Taymans  <wim@fluendo.com>
5240         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5241         Rename some more @cur to @start to fix docs. 
5243         * gst/gstsegment.c: (gst_segment_set_seek):
5244         Fix typo.
5245         time and start must always stay in sync as defined in design doc.
5247         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5248         Rename param to fix docs.
5250         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5251         Check that start and time are in sync.
5253         * tests/check/pipelines/parse-launch.c:
5254         (gst_parse_test_element_change_state):
5255         Activate pad before adding to the element.
5257 2006-10-09  Wim Taymans  <wim@fluendo.com>
5259         * docs/design/part-qos.txt:
5260         Fix typo.
5262         * gst/gstevent.c:
5263         * gst/gstevent.h:
5264         Update seek event docs regarding negative rates.
5265         Rename @cur to @start. 
5267         * gst/gstsegment.c: (gst_segment_set_seek):
5268         * gst/gstsegment.h:
5269         Update set_seek docs regarding negative rates.
5270         Correctly update last_stop to @stop when dealing with negative
5271         rates.
5272         Rename @cur to @start. 
5274         * tests/check/gst/gstpad.c: (GST_START_TEST):
5275         Activate pads before trying to use them.
5277         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5278         (gst_segment_suite):
5279         Add simple check for segments and negative rates.
5281 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5283         * gst/gsttaglist.c: (gst_tag_list_is_empty):
5284         * gst/gsttaglist.h:
5285         * docs/gst/gstreamer-sections.txt:
5286           API: add gst_tag_list_is_empty() (#360467).
5288         * tests/check/gst/gsttag.c: (GST_START_TEST):
5289           And a test case.
5291 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5293         * gst/gstmessage.h:
5294         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5295         a value that doesn't fit on enumeration.
5297 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5299         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5300         Remove local debugging system and use Gstreamer's instead.
5302 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5304         Patch by: Josep Torre Valles <josep@fluendo.com>
5306         * common/m4/gst-error.m4:
5307         Disable warning of statement not reached on Forte.
5308         * gst/gstmessage.h:
5309         Fix warning on Forte (value doesn't fit on enumeration).
5310         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5311         Fix warning on Forte (value doesn't fit on enumeration).
5312         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5313         DEBUG macro says it takes minimum of 2 args and so Forte
5314         complains about the use with just 1 arg.
5315         * plugins/elements/gstfdsink.c:
5316         * plugins/elements/gstfdsrc.c:
5317         * plugins/elements/gstfilesink.c:
5318         * plugins/elements/gstfilesrc.c:
5319         Use correct return type for the uri handler implementations.
5321         All these fix warnings in Forte.  Fixes bug #360860.
5323 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5325         * gst/gstelement.h:
5326           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5327           format string, so don't use G_GNUC_PRINTF for those versions.
5329 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5331         * gst/gsttaglist.c: (gst_is_tag_list):
5332         * gst/gsttaglist.h:
5333           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
5335         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5336           Small test for the above.
5338 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
5340         * gst/gsttaglist.h:
5341           Less tabs, more spaces.
5343 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
5345         * gst/gstinfo.h:
5346           Those two function declarations do actually belong there, revert
5347           commit from yesterday that turned them intro macros.
5349 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5351         Patch by: Josep Torre Valles <josep@fluendo.com>
5353         * gst/gst.c: (gst_init_get_option_group):
5354         Fix empty declaration and type mismatch.
5355         * gst/gstbin.c: (gst_bin_change_state_func):
5356         Fix type mismatch.
5357         * gst/gstelement.c: (gst_element_continue_state),
5358         (gst_element_set_state_func), (gst_element_change_state),
5359         (gst_element_change_state_func):
5360         Fix type mismatches.
5361         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
5362         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
5363         Cast as appropriate.
5364         * gst/gstobject.c: (gst_class_signal_connect):
5365         Cast as appropriate.  The function pointer parameter really
5366         has the wrong type but would break API if we change it.
5367         * gst/gstquery.c:
5368         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
5369         order of including string.h.
5370         * gst/gstutils.c: (gst_element_state_get_name):
5371         Remove unreachable line.
5372         * gst/gstxml.c: (gst_xml_parse_doc):
5373         Fix type mismatch.
5374         All these caught by Forte.
5376 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5378         Patch by: Josep Torre Valles <josep@fluendo.com>
5380         * common/m4/gst-error.m4:
5381         Fixed bug #360151.
5382         We need to disable warnings on Forte for empty declarations
5383         due to gst-indent adding ;s to lines that just use macros
5384         where the macro actually doesn't need a ; at end to end
5385         statement.
5387 2006-10-06  Wim Taymans  <wim@fluendo.com>
5389         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5390         (gst_file_sink_close_file), (gst_file_sink_event),
5391         (gst_file_sink_render):
5392         Add some FIXME for the NEWSEGMENT handling.
5394 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5396         * gst/parse/grammar.y:
5397         Remove static function gst_parse_element_lock as all it does
5398         is return.  Looks like cruft from 0.8.
5400 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5402         Patch by: Josep Torre Valles <josep@fluendo.com>
5404         * common/m4/gst-error.m4:
5405         * configure.ac:
5406         * libs/gst/net/Makefile.am:
5407         Fix a compilation issue with Forte on Solaris.  inet_aton is in
5408         libresolv.
5410 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5412         * gst/gstpad.c: (pre_activate):
5413         * gst/gstregistry.c: (gst_registry_scan_path_level):
5414         * gst/gstregistryxml.c: (load_plugin):
5415         * libs/gst/controller/gstcontroller.c:
5416         (gst_controlled_property_set_interpolation_mode):
5417         * libs/gst/dataprotocol/dataprotocol.c:
5418         (gst_dp_packet_from_event_1_0):
5419         * libs/gst/net/gstnetclientclock.c:
5420         (gst_net_client_clock_observe_times):
5421         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5422           Printf fixes.
5424 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
5426         * configure.ac:
5427         * docs/gst/gstreamer-sections.txt:
5428         * gst/gstconfig.h.in:
5429         * gst/gstelement.h:
5430         * gst/gstinfo.h:
5431           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
5432           whether we can use G_GNUC_PRINTF in other header files and at
5433           least check the printf format/arguments of debug messages and
5434           GST_ELEMENT_ERROR messages when the printf extension is not
5435           being used.
5436           Replace more tabs with spaces in gstinfo.h and remove two spurious
5437           function declarations in GST_DISABLE_DEBUG part with macros.
5439 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5441         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
5442           More docs for the sync-message signal (mention that it is not
5443           emitted by default); log message structures of messages posted on
5444           the bus as well.
5446 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
5448         * gst/gst.c: (ensure_current_registry_forking):
5449         Use a pipe pair to receive status results from the forked child, and
5450         ignore the result from waitpid. Fixes #355499
5452 2006-10-02  Wim Taymans  <wim@fluendo.com>
5454         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5455         (gst_ghost_pad_suite):
5456         Fix leak in check.
5458 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5460         * gst/gstpad.c:
5461           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5463 2006-10-02  Edward Hervey  <edward@fluendo.com>
5465         * docs/design/part-block.txt:
5466         Further explain the use of flushing on blocked pads.
5467         * docs/gst/gstreamer-sections.txt:
5468         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5469         (gst_pad_push_event):
5470         * gst/gstpad.h:
5471         Added new GstPadFlag : GST_PAD_BLOCKING.
5472         Adds the notion of pads really blocking, which enables to properly
5473         handle FLUSH_START/FLUSH_STOP events on blocked pads.
5474         Fixes #358999
5475         API: gst_pad_is_blocking()
5476         API: GST_PAD_IS_BLOCKING() macro
5477         API: GST_PAD_BLOCKING GstPadFlag
5478         
5479 2006-10-02  Wim Taymans  <wim@fluendo.com>
5481         Patch by: mrcgran <mrc.gran at gmail dot com>
5483         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5484         Filter the proxied caps against the padtemplate if we have one.
5486         * gst/gstquery.c: (gst_query_new_segment):
5487         Add include for gstinfo.h so that compilation with
5488         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5490 2006-10-02  Wim Taymans  <wim@fluendo.com>
5492         Patch by: Alessandro Decina  <alessandro at nnva org>
5494         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5495         (gst_file_sink_set_location), (gst_file_sink_open_file),
5496         (gst_file_sink_close_file), (gst_file_sink_event),
5497         (gst_file_sink_render):
5498         Set file to NULL when closing filesink so that we can set a new filename
5499         in READY. Fixes #358613.
5501 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
5503         Patch by: Alessandro Decina  <alessandro at nnva org>
5505         * gst/gstevent.c: (_gst_event_copy):
5506           Fix gst_mini_object_make_writable() and gst_event_copy() for events
5507           with event structures by setting the parent refcount address of the
5508           copied structure to the address of the refcount member of the newly
5509           copied event rather than the address of the refcount member of the
5510           original event. Fixes #358737.
5512         * tests/check/gst/gstevent.c: (GST_START_TEST):
5513           Unit test for the above.
5515 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
5517         * docs/design/Makefile.am:
5518           Dist some more files.
5520 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5522         * tests/check/libs/controller.c: (GST_START_TEST),
5523         (gst_controller_suite):
5524           Add test for the previous fix; add some more tests
5525           for correct refcounting behaviour; fix a few leaks
5526           in test cases; call gst_controller_init() at start
5527           of all tests.
5529 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
5531         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5532         (gst_controller_set_from_list):
5533           Don't g_return_val_if_fail() on timed values with invalid timestamps
5534           inside a critical section without unlocking the mutex. Spotted by
5535           René Stadler. (#357617)
5536           Also, fix up refcounting properly: when returning an existing
5537           controller, we should increase the reference only once and not
5538           once per property and when trying to control a property again
5539           we should also increase the refcount.
5541 2006-09-29  Wim Taymans  <wim@fluendo.com>
5543         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5544         * libs/gst/net/gstnettimeprovider.c:
5545         (gst_net_time_provider_thread):
5546         Stop reading commands when EOF as well.
5548         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5549         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5550         * plugins/elements/gstidentity.c: (gst_identity_class_init):
5551         Unify description of the dump property.
5553 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5555         * tests/examples/manual/.cvsignore:
5556         OK, so it's actually cvsignore that needs changing. Stop laughing.
5558 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5560         * tests/examples/manual/Makefile.am:
5561         Gah, declare vars *before* using them
5563 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5565         * gst/gst.c: (init_pre), (scan_and_update_registry),
5566         (ensure_current_registry_nonforking),
5567         (ensure_current_registry_forking), (ensure_current_registry),
5568         (init_post), (gst_debug_help), (gst_deinit):
5569         * gst/gst_private.h:
5570         * gst/gstregistry.c: (gst_registry_finalize),
5571         (gst_registry_remove_features_for_plugin_unlocked),
5572         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5573         (gst_registry_scan_path),
5574         (_priv_gst_registry_remove_cache_plugins),
5575         (_priv_gst_registry_cleanup):
5576         * gst/gstregistry.h:
5577         Re-commit the registry changes, along with an extra fix:
5578           When a cached plugin is encountered at a different file path,
5579           update the stored path in the registry cache so that the parent
5580           process knows where it actually is now when it re-reads the registry
5581           cache. Fixes the thing that broke distcheck with the previous commit.
5583         * tests/check/Makefile.am:
5584         Clean up files named 'core' too when running make clean.
5586         * tests/examples/manual/Makefile.am:
5587         Set up a registry path for running these tests, and clean it properly
5588         for distcheck.
5590 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
5592         * configure.ac:
5593         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5594         want gmodule-no-export-2.0.pc instead so that we don't drag in
5595         --export-dynamic on every project that links to GStreamer.
5597         Also, make our export regex only match the start of symbols, rather 
5598         than any symbol that contains '_gst' somewhere.
5600         * libs/gst/check/Makefile.am:
5601         The libgstcheck we build does however need export-dynamic, as it
5602         produces some symbols that don't match our _gst... style regex.
5603         Fixes: #318031
5605 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5607         * gst/gst.c: (init_pre), (scan_and_update_registry),
5608         (ensure_current_registry_nonforking),
5609         (ensure_current_registry_forking), (ensure_current_registry),
5610         (init_post), (gst_debug_help), (gst_deinit):
5611         * gst/gst_private.h:
5612         * gst/gstregistry.c: (gst_registry_finalize),
5613         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5614         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5615         (_gst_registry_cleanup):
5616         * gst/gstregistry.h:
5617           Revert previous change until I figure out why it breaks distcheck.
5619 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
5621         * gst/gst.c: (init_pre), (scan_and_update_registry),
5622         (ensure_current_registry_nonforking),
5623         (ensure_current_registry_forking), (ensure_current_registry),
5624         (init_post), (gst_debug_help), (gst_deinit):
5626           Make init_pre and init_post take the full complement of GOptionFunc
5627           args so they can return useful GErrors. Make the registry updating
5628           functions do so.
5630           Call _priv_gst_registry_remove_cache_plugins after scanning files to
5631           ensure that the registry we're about to write out doesn't contain
5632           stale information about old-deleted plugin files.
5634           Make _priv_gst_registry_remove_cache_plugins return a boolean so
5635           that deletion of plugin files is considered a registry change.
5637         * gst/gst_private.h:
5638         * gst/gstregistry.c: (gst_registry_finalize),
5639         (gst_registry_remove_features_for_plugin_unlocked),
5640         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5641         (gst_registry_scan_path),
5642         (_priv_gst_registry_remove_cache_plugins),
5643         (_priv_gst_registry_cleanup):
5644         * gst/gstregistry.h:
5645         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5646         by adding _priv prefix, so that they won't appear in the global
5647         symbol table. They still do atm though because of #318031. Move the
5648         prototypes to gst_private.h
5650         When removing a plugin, remove all features for that plugin too. 
5651         Fixes #340878.
5653 2006-09-27  Wim Taymans  <wim@fluendo.com>
5655         * docs/random/moving-plugins:
5656         Make it clear that the "compiled-in descriptions" really mean
5657         the element details.
5659         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5660         (gst_base_sink_wait_preroll):
5661         Update docs.
5663         * docs/libs/gstreamer-libs-sections.txt:
5664         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5665         (gst_base_src_get_range), (gst_base_src_activate_push):
5666         * libs/gst/base/gstbasesrc.h:
5667         Added function to block while waiting for PLAYING, this function
5668         is used by live sources that block on the clock.
5669         API: gst_base_src_wait_playing()
5671 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5673         Patch by: Peter Kjellerstedt <pkj at axis com>
5675         * Makefile.am:
5676           gst-element-check.m4 is generated and should therefore be
5677           copied from the build dir rather than the source dir (#357593).
5678           'make distcheck' hasn't noticed this because we were disting
5679           the file as well, so stop doing that.
5681 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5683         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5684           Add some tests for gst_caps_intersect().
5686         * tools/gst-launch.c: (event_loop):
5687           Print all buffering percentages we get, even the 100% one.
5689 2006-09-26  Wim Taymans  <wim@fluendo.com>
5691         * tools/gst-inspect.c: (print_element_properties_info),
5692         (print_signal_info):
5693         Fix printing of flags to match the look of enums.
5695 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5697         * gst/gstelementfactory.c:
5698           Fix typo in docs blurb.
5700 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5702         * gst/gsturi.c: (search_by_entry):
5703           Don't assert/crash here if a uri handler doesn't return any
5704           supported protocols. The list of protocols could be generated
5705           dynamically at runtime or at plugin registration, and an error
5706           in the underlying library shouldn't be fatal (#353301).
5708 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5710         * gst/gstinfo.c:
5711           Fix warning if HAVE_PRINTF_EXTENSION is undefined
5712           (spotted by Peter Kjellerstedt).
5714 2006-09-23  Wim Taymans  <wim@fluendo.com>
5716         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5718         * libs/gst/base/gstbasesrc.c:
5719         (gst_base_src_default_check_get_range), (gst_base_src_start),
5720         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5721         (gst_base_src_change_state):
5722         Match _start/_stop calls in the activate functions. Remove redundant
5723         _stop call from the state change function. Fixes #356910.
5724         Turn failure DEBUG into ERROR. 
5726 2006-09-22  Wim Taymans  <wim@fluendo.com>
5728         * docs/design/part-buffering.txt:
5729         * gst/gstmessage.c: (gst_message_new_buffering),
5730         (gst_message_parse_buffering):
5731         Update docs about buffering.
5733         * docs/design/part-trickmodes.txt:
5734         Fix typo.
5736 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
5738         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5739         (gst_controller_new_list):
5740           Ref instances when returning them again (fixes #357180)
5742 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5744         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5745           Don't forget to release proxy lock when there's an error.
5747 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
5749         * gst/gstcaps.h:
5750           Add extra initialisers for Caps things, to fix some plugin warnings
5751           when using -Wextra
5753 2006-09-18  Wim Taymans  <wim@fluendo.com>
5755         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5756           Also set template on the internal pad so that a getcaps from the 
5757           target pad returns the template caps.
5759 2006-09-18  Wim Taymans  <wim@fluendo.com>
5761         * gst/gstelement.c: (gst_element_post_message),
5762         (gst_element_dispose):
5763         Use _DEBUG_OBJECT some more.
5765         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5766         Avoid typechecks.
5768         * tools/gst-launch.c: (main):
5769         If the toplevel element is not a GstPipeline, it must be put in a
5770         pipeline so that a bus and clock is selected.
5772 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5774         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5775           JITTER, RATE, and LATENCY query should be handled by the
5776           default case and not by the CONVERT query code.
5778 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5780         * gst/gstformat.c: (gst_format_register):
5781           Fix locking order (must take lock before using n_values).
5783         * gst/gstvalue.c: (gst_value_serialize_enum),
5784         (gst_value_deserialize_enum_iter_cmp),
5785         (gst_value_deserialize_enum):
5786           Fix serialisation/deserialisation of custom registered GstFormats.
5788         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5789           Unit test for custom format serialisation/deserialisation.
5791 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5793         * docs/pwg/building-boiler.xml:
5794         * plugins/elements/gstcapsfilter.c:
5795         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5796         section.
5798 2006-09-16  Edward Hervey  <edward@fluendo.com>
5800         * libs/gst/base/gstbasetransform.c:
5801         (gst_base_transform_buffer_alloc):
5802         Check if requested caps are the same as the sinks caps IF
5803         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5804         is FALSE.
5805         This fixes the renegotiation issues stated in #352827.
5807 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5809         * configure.ac:
5810         * docs/manual/advanced-autoplugging.xml:
5811         * tests/examples/Makefile.am:
5812         * tests/examples/manual/.cvsignore:
5813         * tests/examples/manual/Makefile.am:
5814         * tests/examples/manual/extract.pl:
5815           Extract the manual examples again like we used to do.
5816           Fix one of them.
5818 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5820         * win32/common/config.h:
5821           update for version
5823 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5825         * gst/gsterror.c:
5826           Documents how to receive errors.
5828 2006-09-15  Wim Taymans  <wim@fluendo.com>
5830         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5831         (event_loop), (main):
5832         Added some comments here and there.
5833         Post an application message when an interrupt is caught instead of doing
5834         an uncontrolled state change.
5835         Clean up the event loop.
5836         Handle buffering messages, pause/resume the pipeline.
5837         Make shutdown because of an interrupt more reliable.
5839 2006-09-15  Wim Taymans  <wim@fluendo.com>
5841         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5842         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5843         (gst_base_sink_preroll_object):
5844         Make sure that our internal state is correct when we commit our state
5845         asynchronously. This solves a race where a state change to PLAYING
5846         could cause the sink to remain blocked in preroll in some situations.
5848 2006-09-15  Wim Taymans  <wim@fluendo.com>
5850         * tools/gst-inspect.c: (print_element_properties_info),
5851         (print_signal_info):
5852         List flags as hex so it's easier to deal with.
5854 2006-09-15  Wim Taymans  <wim@fluendo.com>
5856         * docs/libs/gstreamer-libs-sections.txt:
5857         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5858         (gst_base_sink_do_sync):
5859         * libs/gst/base/gstbasesink.h:
5860         Expose logic to wait for preroll so that subclasses such as audiosink
5861         can also use this method.
5862         API: gst_base_sink_wait_preroll()
5864 2006-09-15  Wim Taymans  <wim@fluendo.com>
5866         * gst/gstobject.c: (gst_object_set_parent):
5867         * gst/gstpipeline.c: (do_pipeline_seek):
5868         Small cleanups in docs and code.
5870         * gst/gstsegment.c: (gst_segment_clip):
5871         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5872         if stop == start and start is in the segment, no clipping should be
5873         done. Also add a test for this.
5875 2006-09-15  Wim Taymans  <wim@fluendo.com>
5877         * docs/design/part-buffering.txt:
5878         * docs/gst/gstreamer-sections.txt:
5879         * gst/gstmessage.c: (gst_message_new_buffering),
5880         (gst_message_parse_buffering):
5881         * gst/gstmessage.h:
5882         Added methods to create and parse BUFFERING messages.
5883         Added preliminary docs about buffering.
5884         API: gst_message_new_buffering
5885         API: gst_message_parse_buffering
5887 2006-09-06  Wim Taymans  <wim@fluendo.com>
5889         * gst/gstbin.c:
5890         Update documentation.
5892         * gst/gstelement.c: (gst_element_class_init),
5893         (gst_element_release_request_pad), (gst_element_set_clock),
5894         (gst_element_get_index), (gst_element_add_pad),
5895         (gst_element_remove_pad), (gst_element_get_random_pad),
5896         (gst_element_send_event), (gst_element_get_query_types),
5897         (gst_element_query), (gst_element_post_message),
5898         (gst_element_message_full), (gst_element_continue_state),
5899         (gst_element_lost_state), (gst_element_save_thyself),
5900         (gst_element_restore_thyself):
5901         Documentation updates.
5902         Rename last bit of the new-pad -> pad-added signal rename.
5903         Fix the case where an element query would only work if the source
5904         pad was linked.
5905         Avoid some useless type checking in message handling.
5907         * gst/gstevent.c:
5908         * gst/gstevent.h:
5909         * gst/gstutils.c:
5910         Documentation updates.
5912 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5914         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5915           add an INFO line for when we actually update the fd
5917 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5919         * configure.ac:
5920           back to TRUNK
5922 === release 0.10.10 ===
5924 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5926         * configure.ac:
5927           releasing 0.10.10, "Pais"
5929 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5931         * docs/manual/advanced-position.xml:
5932           Fix typo in sample code.
5934 2006-09-05  Wim Taymans  <wim@fluendo.com>
5936         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5937         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5938         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5939         * libs/gst/net/gstnetclientclock.h:
5940         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5941         * libs/gst/net/gstnettimepacket.h:
5942         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5943         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5944         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5945         * libs/gst/net/gstnettimeprovider.h:
5946         Make stuff compile on windows. Fixes #345295.
5948 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5950         * gst/gst.c: (ensure_current_registry_forking):
5951           Print better details when child was terminated by signal.
5953 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5955         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5956           Print a warning rather than g_assert() if a plugin feature
5957           is a URI handler but returns no protocols (#353976).
5959 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5961         * docs/random/moving-plugins:
5962         Fix two typos.         
5964 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5966         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5967           Fix locking order, handle NULL function values properly.
5969         * gst/gstinfo.h:
5970           Fix docs.
5972         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5973           Initialise variable before using it and fix debug statement to
5974           print the address of the function rather than the address of the
5975           variable on the stack holding the address of the function.
5977 2006-09-01  Wim Taymans  <wim@fluendo.com>
5979         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5980         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5981         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5982         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5983         (gst_ghost_pad_parent_unset),
5984         (gst_ghost_pad_internal_do_activate_push),
5985         (gst_ghost_pad_internal_do_activate_pull),
5986         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5987         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5988         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5989         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5990         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5991         (gst_ghost_pad_new_no_target_from_template),
5992         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5993         More cleanups.
5994         Avoid needless typechecking in macros.
5995         Since the internal pad is always present and never changes, there is
5996         no need to locking or ref when retrieving it.
5997         Improve debugging a bit.
5998         Handle link errors when setting the target. Fixes #341029.
6000 2006-09-01  Wim Taymans  <wim@fluendo.com>
6002         * docs/libs/gstreamer-libs-sections.txt:
6003         * docs/plugins/gstreamer-plugins-sections.txt:
6004         Fix docs some more.
6006         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6007         (gst_collect_pads_event):
6008         * libs/gst/base/gstcollectpads.h:
6009         Documentation updates.
6010         Free queued buffer when removing a pad.
6012 2006-08-31  Michael Smith  <msmith@fluendo.com>
6014         * gst/gstutils.c: (gst_element_link_pads),
6015         (gst_element_link_pads_filtered):
6016           Ensure that we set a capsfilter to NULL if we failed to link it
6017           when doing filtered linking, to avoid criticals.
6019           No need to check for unreffing srcpad, which is explicly NULLed
6020           above (a trivial code cleanup).
6022 2006-08-31  Wim Taymans  <wim@fluendo.com>
6024         * docs/design/part-gstghostpad.txt:
6025         Update ascii art in documentation.
6027         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6028         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6029         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6030         (gst_ghost_pad_internal_do_activate_push),
6031         (gst_ghost_pad_internal_do_activate_pull),
6032         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6033         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6034         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6035         (gst_ghost_pad_set_target):
6036         Small cleanups and leak fixes.
6037         Remove some checks now that the internal pad is never NULL.
6038         Fix the case where linking pads without a target would create nasty
6039         criticals. Fixes #341029.
6040         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6041         value of _set_target().
6043         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6044         (gst_ghost_pad_suite):
6045         Some more tests for creating and linking untargeted ghostpads.
6047 2006-08-31  Edward Hervey  <edward@fluendo.com>
6049         * docs/gst/gstreamer-sections.txt:
6050         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6051         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6052         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6053         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6054         (gst_ghost_pad_new_from_template),
6055         (gst_ghost_pad_new_no_target_from_template):
6056         * gst/gstghostpad.h:
6057         Refactored *_new() functions.
6058         Templates are now used as a g_object_new() parameter.
6059         Use template in _do_getcaps() if we don't have a target.
6060         Small documentation cleanups.
6061         Added two new constructors:
6062         gst_ghost_pad_new_from_template()
6063         gst_ghost_pad_new_no_target_from_template()
6064         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6065         (gst_ghost_pad_suite):
6066         Added tests for new ghostpad instanciation functions.
6068         API additions: gst_ghost_pad_new_from_template,
6069         gst_ghost_pad_new_no_target_from_template
6071 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6073         * docs/random/ensonic/profiling.txt:
6074           Ideas about qos profiling.
6076 2006-08-29  Wim Taymans  <wim@fluendo.com>
6078         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6079         Code cleanups.
6080         Fix memleak.
6082 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6084         * gst/gstxml.c:
6085           Improve and detypofy docs.
6087         * tests/check/Makefile.am:
6088         * tests/check/gst/.cvsignore:
6089         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6090           Add a basic test suite for GstXML.
6092 2006-08-29  Wim Taymans  <wim@fluendo.com>
6094         * gst/gstelement.c: (activate_pads), (clear_caps),
6095         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6096         Clear the pad caps when the element shut down all of the pads and
6097         is not streaming data that could modify the caps. 
6098         Fixes #352958.
6100 2006-08-28  Michael Smith  <msmith@fluendo.com>
6102         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6103           Revert previous change; I misunderstood single-segment mode.
6105 2006-08-28  Michael Smith  <msmith@fluendo.com>
6107         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6108           Unset DISCONT on buffers when using single-segment mode.
6110 2006-08-28  Wim Taymans  <wim@fluendo.com>
6112         * gst/gstcaps.c: (gst_caps_merge_structure):
6113         * gst/gstcaps.h:
6114         Fix docs and indentation again.
6116         * tests/check/gst/gstquery.c: (GST_START_TEST):
6117         Fix leak in tests and add some more tests.
6119 2006-08-28  Edward Hervey  <edward@fluendo.com>
6121         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6122         Inform GstSegment of the last stop position in order for the current
6123         segment to have a proper duration if it doesn't have a specific stop
6124         position from which a duration could be calculated.
6125         This bug was noticeable when a non-flushing, non-update new segment was
6126         followed by another segment (all buffers from the new segment were being
6127         dropped).
6129 2006-08-28  Wim Taymans  <wim@fluendo.com>
6131         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6132         Small comment update.
6134         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6135         (gst_identity_transform_ip):
6136         Drop-probability is broken, mention this in the code with a 
6137         FIXME and also in the property description.
6138         Make silent also be silent about the drop messages.
6140 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6142         * docs/manual/appendix-win32.xml:
6143           Remove mention of popt, we don't depend on that any
6144           longer (#353136). Add some comments pointing out that
6145           this section is slightly outdated.
6147 2006-08-28  Wim Taymans  <wim@fluendo.com>
6149         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6151         * gst/gstquery.c: (gst_query_new_segment):
6152         * tests/check/gst/gstquery.c: (GST_START_TEST):
6153         Initialize variables when creating a new segment query.
6154         Fixes #353121.
6156 2006-08-28  Wim Taymans  <wim@fluendo.com>
6158         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6160         * gst/gstelement.c: (gst_element_get_bus):
6161         * tests/check/gst/gstelement.c: (GST_START_TEST):
6162         Check for NULL before _reffing the bus. Fixes #353122.
6164 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6166         * docs/manual/basics-bus.xml:
6167           Docs update: fix wrong callback return value explanation; add
6168           some lines about the implicit relationship between main loop
6169           and main context; remove duplicate main loop variable declaration.
6171 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6173         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6174           Don't leak caps in unit test; add a few more simple
6175           checks. 
6177 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6179         * docs/gst/gstreamer-sections.txt:
6180         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6181         (gst_caps_structure_is_subset), (gst_caps_merge),
6182         (gst_caps_merge_structure):
6183         * gst/gstcaps.h:
6184         * libs/gst/base/gstbasetransform.c:
6185         (gst_base_transform_transform_caps):
6186         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6187           implement caps merging (fixes #352580)
6189 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6191         * tools/Makefile.am:
6192         * tools/gst-plot-timeline.py:
6193           add debug-log plotting developer tool (#340674)
6195 2006-08-23  Wim Taymans  <wim@fluendo.com>
6197         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6198         (gst_pad_stop_task):
6199         Improve debugging for task functions.
6201         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6202         (gst_task_start), (gst_task_pause), (gst_task_join):
6203         Make sure that the task function started and finished after a 
6204         join(). 
6205         Don't try to push the task function on the threadpool multiple
6206         times.
6207         Improve the g_warning message with some useful suggestions
6208         about how to fix the problem. 
6210 2006-08-23  Wim Taymans  <wim@fluendo.com>
6212         * gst/gstutils.c: (gst_pad_proxy_getcaps):
6213         Handle RESYNC correctly in _proxy_getcaps.
6215 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
6217         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6218         (gst_xml_parse_memory), (gst_xml_get_element):
6219           Chain up to parent class in dispose function and also
6220           unref the elements in the toplevel_elements GList.
6221           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6222           Always return a reference in gst_xml_get_element() rather
6223           than only sometimes.
6225         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6226           Don't leak GstXml object.
6228 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
6230         * docs/gst/gstreamer-sections.txt:
6231         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6232         (gst_caps_merge):
6233         * gst/gstcaps.h:
6234         * libs/gst/base/gstbasetransform.c:
6235         (gst_base_transform_transform_caps):
6236           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6237           in a better way
6239 2006-08-21  Edward Hervey  <edward@fluendo.com>
6241         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6242         Implement GObject::dispose virtual method in GstXML so we can free the
6243         top_elements GList.
6245 2006-08-21  Wim Taymans  <wim@fluendo.com>
6247         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6248         (gst_buffer_create_sub):
6249         Copy duration/offset_end/caps when creating a subbuffer of the
6250         complete parent.
6251         Make the subbuffer read-only when we make the metadata writable for
6252         now. Fixes #351768.
6254         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6255         Added check for metadata copy when creating subbuffers.
6257 2006-08-21  Edward Hervey  <edward@fluendo.com>
6259         * libs/gst/base/gstbasetransform.c:
6260         (gst_base_transform_buffer_alloc):
6261         Only call downstream buffer_alloc if transform element is passthrough
6262         or always_in_place. Closes #350449.
6264 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6266         * ChangeLog:
6267           ChangeLog surgery to add comments to previous changes
6269 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6271         * gst/gst.c:
6272           Add comments
6274         * gst/gstpad.c: (gst_pad_set_active):
6275           Be more verbose in the log
6277         * libs/gst/base/gstbasetransform.c:
6278         (gst_base_transform_transform_caps):
6279           Simplify caps to get rid of duplicates, fixes #345444
6281 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6283         * gst/gstvalue.c:
6284         * gst/gstvalue.h:
6285           Use these optimizations only internally.
6287 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
6289         * gst/gstvalue.c: (gst_value_compare_list),
6290         (gst_value_compare_fraction_range),
6291         (gst_value_intersect_fraction_fraction_range),
6292         (gst_value_intersect_fraction_range_fraction_range),
6293         (gst_value_subtract_fraction_fraction_range),
6294         (gst_value_subtract_fraction_range_fraction_range),
6295         (gst_value_get_compare_func), (gst_value_compare),
6296         (gst_value_compare_with_func):
6297         * gst/gstvalue.h:
6298           Saves the expensive lookup of the compare function in many cases
6299          (#345444)
6301 2006-08-18  Edward Hervey  <edward@fluendo.com>
6303         * tests/check/gst/gstinfo.c: (gst_info_suite):
6304         Disable test that require gstdebug if it wasn't built in core.
6306 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6308         * docs/random/ensonic/logging.txt:
6309           update ideas
6310           
6311         * gst/gstinfo.c: (gst_debug_log_default):
6312           reorder fields, save some columns, add optional color codes for log
6313           levels
6315 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
6317         * docs/random/ensonic/logging.txt:
6318           add ideas about making the logs a bit more useful
6320 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6322         * docs/pwg/advanced-events.xml:
6323         * docs/pwg/titlepage.xml:
6324           Update for 0.10 API (#340627). Add myself
6325           to authors list.
6327 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
6329         * docs/libs/gstreamer-libs-docs.sgml:
6330         * docs/libs/gstreamer-libs-sections.txt:
6331         * libs/gst/check/gstbufferstraw.c:
6332           Make gstcheck stuff show up in docs (still needs to
6333           be documented properly though).
6335 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
6337         * docs/gst/gstreamer-sections.txt:
6338         * gst/Makefile.am:
6339         * gst/gst.c: (init_post):
6340         * gst/gst_private.h:
6341         * gst/gstquark.c: (_priv_gst_quarks_initialize):
6342         * gst/gstquark.h:
6343         * gst/gstquery.c: (gst_query_new_position),
6344         (gst_query_set_position), (gst_query_parse_position),
6345         (gst_query_new_duration), (gst_query_set_duration),
6346         (gst_query_parse_duration), (gst_query_new_convert),
6347         (gst_query_set_convert), (gst_query_parse_convert),
6348         (gst_query_new_segment), (gst_query_set_segment),
6349         (gst_query_parse_segment), (gst_query_new_seeking),
6350         (gst_query_set_seeking), (gst_query_parse_seeking):
6351         Add internal helpers for pre-registering quarks from static strings
6352         and using the quark values directly instead of looking them up when
6353         creating and parsing queries. Can be used for event construction too.
6354         Closes #350432.
6356 2006-08-16  Wim Taymans  <wim@fluendo.com>
6358         * gst/gstbin.c:
6359         Fix bogus docs.
6361 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6363         * gst/gstutils.c: (gst_util_set_value_from_string):
6364           Fix memleak (#351502).
6366         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6367           Add unit test for most of gst_util_set_value_from_string()
6368           (not that one would want to encourage use of this function).
6370 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6372         * libs/gst/check/gstcheck.h:
6373           Use const gchar * variables in fail_unless_equals_string
6374           macro to avoid compiler warnings (and don't use tabs for
6375           indenting).
6377 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6379         * tools/gst-launch.c: (print_tag):
6380           More space on the left for the tag names, to cater
6381           for the 'extended comment' tag (not touching the
6382           string for the first line since it's translated).
6384 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
6386         * libs/gst/check/gstcheck.h:
6387           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
6388           print something when they fail.
6390 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6392         * docs/gst/gstreamer-sections.txt:
6393         * gst/gsttaglist.c: (_gst_tag_initialize):
6394         * gst/gsttaglist.h:
6395           API: add GST_TAG_EXTENDED_COMMENT (#350935).
6396           Also change merge function for GST_TAG_COMMENT to
6397           use_first.
6399 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6401         * gst/gstinfo.c: (gst_debug_print_object):
6402           Make GST_PTR_FORMAT print messages as well.
6404         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
6405         (GST_START_TEST), (gst_info_suite):
6406           More tests.
6408 2006-08-14  Edward Hervey  <edward@fluendo.com>
6410         * gst/gstelementfactory.c: (gst_element_register):
6411         If the GstElementClass doesn't have a GstElementDetails with all fields
6412         filled up correctly (longname, description AND author), then error out
6413         nicely instead of crashing.
6415 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
6417         * gst/gststructure.c:
6418           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
6420         * gst/gstvalue.h:
6421           Expand on the difference between arrays and lists as we use them.
6422           
6423 2006-08-14  Wim Taymans  <wim@fluendo.com>
6425         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6426         If the parent state change function failed, don't assume we can safely
6427         stop the source, this will be done when the pads are deactivated.
6429 2006-08-14  Wim Taymans  <wim@fluendo.com>
6431         * gst/gstbuffer.c:
6432         * gst/gsttask.c: (gst_task_join):
6433         Small doc updates.
6435         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6436         (gst_pad_stop_task):
6437         When pad (de)activation failed for some reason, restore the old
6438         activation mode and set the pad to flushing instead of assuming the
6439         pad is deactivated.
6440         If the _task_join() failed, reinstall the task on the pad so that it can
6441         be stopped later and return an error.
6443 2006-08-11  Andy Wingo  <wingo@pobox.com>
6445         * configure.ac:
6446         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6447         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
6448         is only for users of API that don't want to see deprecated
6449         functions in the headers; people that want to compile out
6450         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
6451         CFLAGS. Fixes the build of multifdsink, or will soon..
6453 2006-08-11  Wim Taymans  <wim@fluendo.com>
6455         * docs/gst/gstreamer-sections.txt:
6456         Add GstClockClass vmethod docs.
6458         * gst/gstcaps.h:
6459         Mark #endif with comment for associated #if
6461         * gst/gstclock.c: (gst_clock_id_wait):
6462         * gst/gstclock.h:
6463         Add vmethod wait_jitter to avoid an unneeded _get_time() for
6464         most clock implementations.
6465         Document vmethods.
6466         Flesh out docs about resolution methods.
6467         API: GstClockClass::wait_jitter
6469         * gst/gstsystemclock.c: (gst_system_clock_class_init),
6470         (gst_system_clock_async_thread),
6471         (gst_system_clock_id_wait_jitter_unlocked),
6472         (gst_system_clock_id_wait_jitter):
6473         Use base class wait_jitter variant for improved performance
6474         due to less clock polling.
6476 2006-08-11  Edward Hervey  <edward@fluendo.com>
6478         * gst/gst.c: (gst_init_check), (init_post):
6479         Set gst as being initialized before scanning/updating the registry,
6480         since there might be my python plugin loader that calls gst_init() and
6481         we don't want to loop back in.
6482         Closes #350879
6484 2006-08-11  Wim Taymans  <wim@fluendo.com>
6486         * docs/design/part-qos.txt:
6487         Bring docs in line with the code. Mostly the sign of the jitter was
6488         wrong in the docs. Fixes #349943.
6490         * gst/gstclock.c:
6491         Fix the docs for the jitter.
6493         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6494         (gst_event_parse_tag), (gst_event_new_buffer_size),
6495         (gst_event_parse_buffer_size), (gst_event_parse_qos),
6496         (gst_event_new_seek), (gst_event_parse_seek),
6497         (gst_event_new_navigation):
6498         Make sure the GstStructure has no parent when creating custom
6499         events.
6500         Add some more argument checking so that we avoid 0.0 rates.
6501         Flesh out the docs for the QoS event some more.
6503 2006-08-11  Wim Taymans  <wim@fluendo.com>
6505         * docs/gst/gstreamer-sections.txt:
6506         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6507         (ensure_current_registry_forking), (ensure_current_registry),
6508         (parse_one_option), (parse_goption_arg), (gst_deinit),
6509         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6510         * gst/gst.h:
6511         Doc updates.
6512         Added API and command line option to disable registry forking in
6513         addition to the environment variable.
6514         Constify some static arrays.
6515         Added some more debug.
6516         Don't deinit twice.
6517         API: gst_registry_fork_is_enabled()
6518         API: gst_registry_fork_set_enabled()
6519         API: --gst-disable-registry-fork command line option
6520         Fixes #348918.
6522 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
6524         * gst/gst.c: (gst_init):
6525           Fix typo in error message.
6527 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6529         * libs/gst/controller/gstcontroller.h:
6530           fix ABI size-correction
6532         * tests/check/libs/gdp.c: (gst_dp_suite):
6533           make tests that use deprecated API conditional
6535 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
6537         * docs/libs/gstreamer-libs-sections.txt:
6538         * libs/gst/controller/gstcontroller.c:
6539         (_gst_controller_get_property), (_gst_controller_set_property),
6540         (_gst_controller_init), (_gst_controller_class_init):
6541         * libs/gst/controller/gstcontroller.h:
6542         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6543         (gst_object_set_control_rate):
6544           API: add gst_object_{s,g}et_control_rate(), add private data section,
6545           fix docs
6547         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6548         * libs/gst/dataprotocol/dataprotocol.h:
6549           add deprecation guards to make gtk-doc happy and allow disabling cruft
6551 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6553         * tests/check/Makefile.am:
6554         * tests/check/gst/.cvsignore:
6555           Let's enable the new unit test as well.
6557 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6559         * configure.ac:
6560         * docs/gst/gstreamer-sections.txt:
6561         * gst/gstconfig.h.in:
6562         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6563         (_gst_info_printf_extension_ptr),
6564         (_gst_info_printf_extension_segment):
6565           API: add GST_SEGMENT_FORMAT, which is a printf extension we
6566           register that lets us easily dump GstSegments into debug
6567           logs (#350419).
6569         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6570         (info_segment_format_printf_extension), (gst_info_suite):
6571           Add simple unit test that logs a bunch of different segments (not
6572           valgrinded at the moment because of leaks in
6573           gst_debug_add_log_function).
6575 2006-08-09  Edward Hervey  <edward@fluendo.com>
6577         * libs/gst/base/gstbasetransform.c:
6578         (gst_base_transform_buffer_alloc):
6579         Even if we can't figure out the proper format to request downstream,
6580         call buffer_alloc() downstream with the input parameters without setting
6581         the caps on the srcpad. This will force negotiation in the chain
6582         function.
6583         Closes #350449
6585 2006-08-08  Edward Hervey  <edward@fluendo.com>
6587         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6588         Unlinking from a pad without a target is now a perfectly valid case
6589         which should NOT raise an assertion.
6590         This case would happen if a linked ghostpad its target set to NULL after
6591         it was previously linked.
6593 2006-08-08  Edward Hervey  <edward@fluendo.com>
6595         * tests/check/libs/gdp.c:
6596         Also comment out the test (see below).
6598 2006-08-08  Edward Hervey  <edward@fluendo.com>
6600         * tests/check/libs/gdp.c: (gst_dp_suite):
6601         Use the architecture information from config.h and not gcc macros
6602         in order to properly disable a test that fails on PPC64.
6604 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
6606         * gst/gstelement.c: (gst_element_remove_pad):
6607           Don't crash printing the warning if the pad has no parent.
6609 2006-08-02  Wim Taymans  <wim@fluendo.com>
6611         * libs/gst/dataprotocol/dataprotocol.c:
6612         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6613         (gst_dp_crc), (gst_dp_header_payload_length),
6614         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6615         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6616         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6617         (gst_dp_event_from_packet), (gst_dp_validate_header),
6618         (gst_dp_validate_payload):
6619         Make debug category static
6620         Constify the crc table.
6621         Do some more arg checking in public functions.
6622         Fix some docs and do some small cleanups.
6624         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6625         Add some more checks to see if GDP deals with bogus input.
6627 2006-07-31  Wim Taymans  <wim@fluendo.com>
6629         * gst/gstvalue.c: (gst_value_compare_list):
6630         Fix GstValueList comparison code. Fixes #347293.
6632         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6633         Check to test GstValueList comparison.
6635 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6637         * gst/gstelementfactory.c: (gst_element_factory_create):
6638         Remove unnecessary ref/unref pair
6640         * gst/parse/grammar.y:
6641         Make sure to free the parse buffer on all code paths.
6642         Move a g_free up to the error handler where it's easier to see.
6644         * tests/check/gst/gstevent.c: (test_event):
6645         Extending timeout for downstream travelling events to 10 seconds to
6646         hopefully avoid intermittent failure on the buildbots.
6648         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6649         Don't manually set the state of the src element - it will happen as a
6650         natural consequence of the pipeline changing state, and that way it
6651         will do it in the right order too.
6653 2006-07-31  Wim Taymans  <wim@fluendo.com>
6655         * libs/gst/base/gstbasetransform.c:
6656         (gst_base_transform_buffer_alloc):
6657         Use OBJECT_LOCK and refcounting to get the pad caps in the
6658         buffer_alloc function because the caps could change while we are
6659         busy with them. Fixes #349105
6661 2006-07-31  Wim Taymans  <wim@fluendo.com>
6663         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6664         Protect _PAD_CAPS with OBJECT_LOCK.
6666 2006-07-31  Wim Taymans  <wim@fluendo.com>
6668         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6669         (gst_pad_get_property), (gst_pad_activate_pull),
6670         (gst_pad_activate_push), (gst_pad_set_blocked_async),
6671         (gst_pad_set_activate_function),
6672         (gst_pad_set_activatepull_function),
6673         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6674         (gst_pad_set_getrange_function),
6675         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6676         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6677         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6678         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6679         (gst_pad_set_acceptcaps_function),
6680         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6681         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6682         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6683         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6684         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6685         (gst_pad_configure_sink), (gst_pad_configure_src),
6686         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6687         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6688         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6689         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6690         (gst_pad_send_event):
6691         Use _DEBUG_OBJECT when it makes sense.
6692         Protect GST_PAD_CAPS with the OBJECT_LOCK.
6693         Small cleanups and code reflows.
6694         Avoid caps refcounting in _accept_caps.
6695         Refactor alloc_buffer so that the code performed on the peer is in a
6696         separate function. Also if the pad does not implement a buffer alloc
6697         function, we should still check if the pad is flushing before falling
6698         back to the default allocator.
6700 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6702         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6703         Make all uses of identity and fakesink have silent=true to avoid
6704         serialising every passing data structure, which is breaking tests
6705         on FC4 for some unknown reason.
6707 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6709         * gst/parse/Makefile.am:
6710         * gst/parse/grammar.y:
6711         * gst/parse/parse.l:
6712           Reverted previous patch as it required to bump the flex dependency to
6713           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6715 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6717         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6719         * gst/parse/Makefile.am:
6720         * gst/parse/grammar.y:
6721         * gst/parse/parse.l:
6722           push & pop the state of the lexer for reentrant use case
6723           Fixes #349180
6725 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
6727         * libs/gst/base/gstbasesrc.h:
6728           Note in the docs that the ::newsegment vfunc is not actually used by
6729           GstBaseSrc.
6731 2006-07-28  Wim Taymans  <wim@fluendo.com>
6733         * libs/gst/base/gstcollectpads.c:
6734         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6735         (gst_collect_pads_clear), (gst_collect_pads_flush),
6736         (gst_collect_pads_event), (gst_collect_pads_chain):
6737         When flushing a pad, also clear the queued buffer so that we don't
6738         accidentally use it when we shouldn't.
6739         Fix leaks by inreffing incomming buffer.
6740         Flush out queued buffers in case of errors.
6741         Fixes #347452.
6743 2006-07-28  Wim Taymans  <wim@fluendo.com>
6745         * docs/random/phonon-gst:
6746         Random notes about a Phonon backend.
6748 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6750         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6751         Extra debug output
6752         * tests/check/libs/gdp.c: (gst_dp_suite):
6753         Take a whack at fixing the ppc compile using a different define to
6754         disable the broken test.
6756         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6757         Remove excess g_print()
6759 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6761         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6762         Oops, meant to uncomment this line too to dampen the noise a bit.
6764 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6766         * gst/parse/grammar.y:
6767         * gst/parse/parse.l:
6768         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6769         (GST_START_TEST), (parse_suite):
6770         Fix some of the leaks exposed by extending the parse-launch testsuite,
6771         and move the 3 I can't figure out into a separate test that won't run
6772         the pipelines unless the appropriate line is uncommented.
6774 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6776         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6777           Requesting 0 bytes before the end of the file should result in
6778           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6779           unit test.
6781 2006-07-27  Wim Taymans  <wim@fluendo.com>
6783         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6784         Fix useless assert, a uint is always positive.
6786         * gst/gststructure.c: (gst_structure_nth_field_name),
6787         (gst_structure_foreach), (gst_structure_map_in_place):
6788         Check input arguments for public functions to avoid obvious crashes.
6790         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6791         * plugins/elements/gstfakesink.h:
6792         Do less useless typechecking.
6794 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6796         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6797           Do not use mmap() by default since there are a number of error
6798           conditions that we would like to handle in a non-fatal way that
6799           will result in a SIGBUS if we use mmap(). Examples: external
6800           devices (USB harddrive, portable music player) being unplugged
6801           while in use; file on mounted CD/DVD that can't be read because
6802           the medium is partly damaged. Fixes #348455 and #348475.
6804 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6806         * gst/gstquery.h:
6807         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6808         rates are a gdouble
6810 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6812         * gst/gstregistry.c:
6813           Move big documentation comment into class section header, so that it
6814           appears in the API docs.
6816 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6818         * docs/gst/gstreamer-sections.txt:
6819         Oops. Commit the docs additions too for new API.
6820         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6822 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6824         * gst/gststructure.c: (gst_structure_id_set),
6825         (gst_structure_id_set_valist):
6826         * gst/gststructure.h:
6827         Add API for setting values into structures without performing
6828         a quark lookup, if the appropriate quark is already known.
6830         API: gst_structure_id_set
6831         API: gst_structure_id_set_valist
6833         * gst/parse/grammar.y:
6834         * gst/parse/parse.l:
6835         Remove some dead code shown by the coverage information.
6836         Don't throw a critical g_warning when encountering a syntax error,
6837         just warn and let the normal error path handle it.
6839         * plugins/elements/gstelements.c:
6840         Bump the rank of filesink up to PRIMARY so that it is preferred over
6841         gnomevfssink for file:// sink uri's
6843         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6844         (GST_START_TEST), (run_delayed_test),
6845         (gst_parse_test_element_base_init),
6846         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6847         (gst_parse_test_element_change_state),
6848         (gst_register_parse_element), (parse_suite):
6849         Beef up the tests for parse syntax to check that more error cases
6850         fail as they are supposed to. Increases the test coverage a bit.
6852 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6854         * docs/manual/basics-elements.xml:
6855           Fix gst_element_link() example.
6857         * gst/gstutils.c:
6858           Mention in API docs that one should usually gst_bin_add()
6859           elements to a bin or pipeline before doing the linking.
6860           
6861 2006-07-26  Wim Taymans  <wim@fluendo.com>
6863         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6864         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6865         Avoid function call for known types by keeping the buffer and
6866         subbuffer GType global.
6868         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6869         Random silly optimisations in read() path.
6871 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6873         * tools/gst-launch.c: (main):
6874           If the top-level of the parse is a normal bin, it doesn't do the
6875           right logic to run as a top-level element, so place it inside a
6876           pipeline.
6878 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6880         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6881           Remove superfluous g_object_notify() calls, GObject does
6882           that for us automatically.
6884 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6886         * gst/gstinfo.h:
6887           on Win32, use dllspec to export the debug category symbols
6889 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6891         * gst/gsttaglist.c: (_gst_tag_initialize):
6892           Allow more than one GST_TAG_IMAGE per taglist.
6894 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6896         * gst/gstminiobject.c:
6897           update docs
6898         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6899         (gst_fd_src_create):
6900           log recurring events at LOG level
6901           add more debug for when the fd gets set
6903 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6905         * gst/gstparse.c: (gst_parse_launch):
6906           Also remove reentrance checks if flex is MT safe (#348179)
6907          Fix my empty ChangeLog entry below
6909 2006-07-21  Andy Wingo  <wingo@pobox.com>
6911         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6913         * libs/gst/check/Makefile.am
6914         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6915         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6916         * libs/gst/check/gstbufferstraw.h:
6917         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6918         functions, thus proving I am still a GStreamer haxor. OK I wrote
6919         them a long time ago, but anyways.
6921 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6923         * configure.ac:
6924         * gst/gstparse.c: (gst_parse_launch):
6925           Check for flex version and omit mutex if we have a MT save flex
6926           (fixes #348179)
6928 2006-07-21  Wim Taymans  <wim@fluendo.com>
6930         * gst/gstparse.c: (gst_parse_launch):
6931         Protect recursive calls to _parse with a recursive mutex
6932         and busy flag.
6934 2006-07-21  Wim Taymans  <wim@fluendo.com>
6936         * tests/check/gst/gstpad.c: (GST_START_TEST):
6937         Fix leak in test.
6939 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6941         * gst/gstparse.c: (gst_parse_launch):
6942           Do not hang on recursive usage of gst_parse_launch()
6944 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6946         * gst/gsttaglist.c:
6947           Add some more docs, comments and FIXME 0.11s here and there
6948           and also fix some typos.
6950 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6952         * gst/gstsegment.h:
6953           Convert tabs to spaces for better readability. 
6955 2006-07-20  Edward Hervey  <edward@fluendo.com>
6957         * tests/check/libs/gdp.c: (gst_dp_suite):
6958         the test_buffer test fails at line 140 on ppc64 at the following
6959         check:
6960         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6961                 GST_BUFFER_FLAG_IN_CAPS),
6962                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6963         See bug #348114 for more details.
6965 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6967         * docs/pwg/advanced-scheduling.xml:
6968         * gst/gstpad.c:
6969           Fix typos (#348000).
6971 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6973         * docs/pwg/intro-basics.xml:
6974           Fix wrong links (#347927).
6976 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6978         * gst/gstregistry.h:
6979         * gst/gstregistryxml.c: (load_feature),
6980         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6981         * win32/common/config.h:
6982           make --disable-index work (#342564)
6984 2006-07-18  Wim Taymans  <wim@fluendo.com>
6986         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6988         * gst/Makefile.am:
6989         * gst/gsttrace.h:
6990         The attached patch adds two missing defines to gsttrace.h when tracing
6991         is disabled.  It also corrects one existing define.
6992         Fixes #347756.
6994 2006-07-17  Wim Taymans  <wim@fluendo.com>
6996         * docs/gst/gstreamer-sections.txt:
6997         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6998         * gst/gst.h:
6999         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7000         Add two functions to check and change the SIGSEGV behaviour
7001         when loading plugins.
7002         Don't mess with the SIGSEGV handler when we were told not to.
7003         Fixes #347794.
7004         API: gst_segtrap_is_enabled
7005         API: gst_segtrap_set_enabled
7007 2006-07-14  Wim Taymans  <wim@fluendo.com>
7009         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7010         * tests/check/elements/filesrc.c: (GST_START_TEST):
7011         Revert fix for regression in #347408 after release.
7013 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7015         Patch by: Antoine Tremblay <hexa00 at gmail com>
7017         * gst/gstutils.c: (gst_element_unlink):
7018           Free iterator when done (#347311).
7020         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7021           And add a test case for this.
7023 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7025         * configure.ac:
7026         Bump nano back to CVS
7028 === release 0.10.9 ===
7030 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7032         * configure.ac:
7033           releasing 0.10.9, "On the road again"
7035 2006-07-13  Wim Taymans  <wim@fluendo.com>
7037         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7038         * tests/check/elements/filesrc.c: (GST_START_TEST):
7039         Revert pull-0 fix for release. Disable check. Fixes #347408.
7041 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7043         * libs/gst/dataprotocol/dataprotocol.c:
7044         (gst_dp_event_from_packet_1_0):
7045           Fixes #347337: failure to deserialize event packets with
7046           empty payload (only event type)
7048 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7050         * gst/Makefile.am:
7051           do not install a .c file in the header directory
7053 2006-07-13  Edward Hervey  <edward@fluendo.com>
7055         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7056         GhostPad no longer implicitely use the padtemplates of the targets.
7057         Fixes #347384
7059 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7061         * gst/gstvalue.c: (gst_value_compare_list),
7062         (gst_value_compare_array), (_gst_value_initialize):
7063         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7064         Make GstValueArray comparison be order dependent as designed.
7065         Add checks for value lists and value array comparisons.
7066         Fixes #347221
7068 2006-07-11  Edward Hervey  <edward@fluendo.com>
7070         * gst/gstbin.c: (activate_pads),
7071         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7072         (gst_bin_change_state_func):
7073         (de)activate src pads before calling state_change on the childs.
7074         This is to avoid the case where a src ghostpad is blocked (holding the
7075         stream lock), which would block the deactivation of the ghostpad's
7076         target pad.
7077         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7078         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7079         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7080         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7081         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7082         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7083         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7084         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7085         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7086         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7087         (gst_ghost_pad_class_init),
7088         (gst_ghost_pad_internal_do_activate_push),
7089         (gst_ghost_pad_internal_do_activate_pull),
7090         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7091         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7092         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7093         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7094         GhostPads now create their internal GstProxyPad at creation (and not
7095         when they're linked, as it was being done previously).
7096         The internal and target pads are linked straight away.
7097         The data will also travel through the other pad in order to make
7098         pad blocking and probes non-hackish (the probe/block now really happens
7099         on the GhostPad and not on the target).
7100         * gst/gstpad.c: (gst_pad_set_blocked_async),
7101         (gst_pad_link_prepare), (gst_pad_push_event):
7102         Remove previous ghostpad cruft.
7103         * gst/gstutils.c: (gst_pad_add_data_probe),
7104         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7105         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7106         (gst_pad_remove_buffer_probe):
7107         Remove previous ghost pad cruft.
7108         Added more detailed debug statements.
7109         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7110         Fix the testsuite for refcounting changes.
7111         The comments about who has references were correct, but the refcount
7112         being checked wasn't the same (!?!).
7114         Fixes #341029
7116 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7118         * docs/gst/gstreamer-sections.txt:
7119         * gst/gstconfig.h.in:
7120         More docs for configuration options, add docs to gtk-doc.
7122 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7124         * gst/Makefile.am:
7125         * gst/gstconfig.h.in:
7126         * win32/common/config.h:
7127         Fix build when disabling tracing (fixes #344016). Also start to document
7128         the defines that disable the sub-systems.
7130 2006-07-10  Edward Hervey  <edward@fluendo.com>
7132         * gst/gst.c: (ensure_current_registry_forking):
7133         let's make valgrind happy...
7135 2006-07-09  Wim Taymans  <wim@fluendo.com>
7137         * gst/gstelement.c: (activate_pads),
7138         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7139         Better pad activation code: Reset the collect value too on resync.
7140         Add some comments.
7142 2006-07-09  Wim Taymans  <wim@fluendo.com>
7144         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7145         (gst_pad_activate_push):
7146         Use some more macros where it makes sense.
7147         Allow pad mode switching instead of asserting. When a pad
7148         is activated in one mode and we activate it in another, 
7149         deactivate it first before activating it in a different mode.
7150         Fixes #329198.
7152 2006-07-08  Andy Wingo  <wingo@pobox.com>
7154         * tools/gst-launch.c (main): Handle err == NULL.
7156         * gst/gst.c (init_post, ensure_current_registry)
7157         (ensure_current_registry_forking)
7158         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7159         factoring out the registry scanning into separate functions. Don't
7160         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7161         Better environment var name/interface suggestions accepted.
7163 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7165         * gst/gstobject.c: (gst_object_set_name_default),
7166         (gst_object_set_name):
7167           Random micro-optimisation: don't use a hash table
7168           with strings as keys and the usual strdup/strcmp
7169           involved, but rather just use the GQuark of the
7170           type name as key, since it needs to be looked up
7171           anyway to get the type name string.
7173         * tests/check/gst/gstobject.c: (GST_START_TEST):
7174           Fix various leaks.
7176 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7178         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7179         (gst_bin_iterate_all_by_interface):
7180           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7181           GTypes are gulongs and thus the top 4 bytes might be cut
7182           off on some platforms when doing GPOINTER_TO_INT, leading
7183           to invalid GTypes and bad things happening (see RH bug #179654).
7184           Also add a check to make sure the type passed in is really
7185           an interface type.
7187 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7189         * .cvsignore:
7190           Ignore more.
7192 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7194         * Makefile.am:
7195         * configure.ac:
7196         * gst-element-check.m4:
7197         * gst-element-check.m4.in:
7198           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7199           instead of the unversioned gst-inspect (#324176, #168659).
7201 2006-07-06  Wim Taymans  <wim@fluendo.com>
7203         * gst/gstmessage.h:
7204         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7205         warnings.
7207 2006-07-06  Wim Taymans  <wim@fluendo.com>
7209         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7210         (gst_base_src_wait), (gst_base_src_update_length),
7211         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7212         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7213         (gst_base_src_loop), (gst_base_src_start),
7214         (gst_base_src_activate_pull):
7215         Update docs.
7216         blocksize == 0 now means the default blocksize when working in push
7217         based mode.
7218         Remove some pointless asserts in _wait function.
7219         Fix offset/length calculations and EOS handling. We can now pull 0
7220         bytes as well, which is allowed.
7221         use _check_get_range() to decide if we can operate in _pull based
7222         mode.
7223         Fix refcounting leak when check_get_range function was not 
7224         implemented.
7225         API GstBaseSrc::blocksize range can be 0 too now (default)
7227         * tests/check/elements/filesrc.c: (GST_START_TEST),
7228         (filesrc_suite):
7229         Added check to test _get_range() behaviour.
7231 2006-07-06  Wim Taymans  <wim@fluendo.com>
7233         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7234         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7235         (gst_pad_pull_range):
7236         * gst/gstpad.h:
7237         Lots of comments and docs added to the pad functions.
7238         Flesh out the expected behaviour of the get_range() functions.
7240 2006-07-06  Wim Taymans  <wim@fluendo.com>
7242         * gst/gstbus.h:
7243         * gst/gstclock.h:
7244         * gst/gstevent.h:
7245         * gst/gstiterator.h:
7246         * gst/gstpad.h:
7247         * gst/gstplugin.h:
7248         * gst/gsttask.h:
7249         Remove comma at end of enumerator list. 
7251 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
7253         * win32/common/libgstbase.def:
7254         * win32/common/libgstdataprotocol.def:
7255         * win32/common/libsgtreamer.def:
7256         Add new exported functions.
7258 2006-07-05  Wim Taymans  <wim@fluendo.com>
7260         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7261         Add some more docs here and there.
7263 2006-07-05  Wim Taymans  <wim@fluendo.com>
7265         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7266         (gst_base_sink_loop), (gst_base_sink_get_position):
7267         When operating in pull mode update the offset so that we
7268         read sequentially.
7270 2006-07-05  Wim Taymans  <wim@fluendo.com>
7272         * gst/gstregistryxml.c: (read_string):
7273         Avoid strdup. (will happen in libxml, but hey!)
7275         * gst/gsturi.c:
7276         Add some more docs.
7278 2006-07-05  Wim Taymans  <wim@fluendo.com>
7280         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7281         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7282         (gst_buffer_suite):
7283         No point in checking if the size of the subbuffer > 0, the
7284         code handles it correclty as demonstrated by unit test.
7285         Also add a unit test for the zero sized _new_and_alloc and
7286         _copy. Fixes #346663.
7288 2006-07-05  Wim Taymans  <wim@fluendo.com>
7290         * libs/gst/base/gstbasetransform.c:
7291         (gst_base_transform_prepare_output_buffer),
7292         (gst_base_transform_buffer_alloc),
7293         (gst_base_transform_handle_buffer):
7294         Make sure the buffer we pass to transform_ip has a refcount of
7295         1 and thus is writable. Fixes #343196
7297 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
7299         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7300         (gst_file_src_init), (gst_file_src_set_property),
7301         (gst_file_src_get_property), (gst_file_src_map_region):
7302         * plugins/elements/gstfilesrc.h:
7303         Add "sequential" property, off by default, to use madvise and hint
7304         to the kernel that sequential access is desired.
7305         Touch all retrieved pages by default to ensure they are pulled
7306         into memory. (Closes #345720)
7308 2006-07-03  Wim Taymans  <wim@fluendo.com>
7310         * docs/design/part-block.txt:
7311         * docs/design/part-dynamic.txt:
7312         Small docs updates.
7314 2006-07-03  Wim Taymans  <wim@fluendo.com>
7316         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7317         (gst_caps_unref), (gst_static_caps_get),
7318         (gst_caps_append_structure):
7319         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7320         Use GSlice when the glib we build against is >= 2.10
7322 2006-07-03  Wim Taymans  <wim@fluendo.com>
7324         * gst/gstelement.c: (gst_element_pads_activate):
7325         Small cleanup in pad activation code.
7327 2006-07-03  Wim Taymans  <wim@fluendo.com>
7329         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7331         * gst/gst-i18n-app.h:
7332         * gst/gst-i18n-lib.h:
7333         * tools/gst-inspect.c: (print_signal_info):
7334         The attached patch will make the inclusion of gettext.h unconditional in
7335         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
7336         libintl.h in tools/gst-inspect.c.
7337         This allows use of --disable-nls again and fixes #344642.
7339 2006-07-03  Edward Hervey  <edward@fluendo.com>
7341         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
7342         Implement pad blocking on events according to part-block.txt.
7343         More comments on behaviour.
7344         * tests/check/gst/gstevent.c: (test_event):
7345         Send event to peer pad of blocked pad (else it will block).
7347 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7349         * libs/gst/check/gstcheck.c: (gst_check_message_error),
7350         (gst_check_run_suite):
7351           if we get the wrong message, give us the types as string
7352         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7353           Fix a translatable
7354         * tests/check/elements/filesrc.c: (GST_START_TEST):
7355           add a test for trying to open a non-existing file
7357 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7359         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7360           add a test for adding self
7362 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7364         * libs/gst/check/gstcheck.h:
7365           add some assert_ as alias for fail_unless_*
7366         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
7367           increase test coverage
7369 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7371         * Makefile.am:
7372           include lcov.mak for lcov coverage generation
7373         * tools/Makefile.am:
7374           add to CLEANFILES
7376 2006-07-02  Edward Hervey  <edward@fluendo.com>
7378         * tests/check/elements/.cvsignore:
7379         moaping
7381 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7383         * configure.ac:
7384           don't set CFLAGS and friends for gcov, done from GST_GCOV now
7385         * tests/check/Makefile.am:
7386           clean up gcov files
7388 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7390         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
7391           remove gst_caps_simplify; it was not declared and not used
7392           and deprecated in 0.8
7394 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7396         * docs/faq/gst-uninstalled:
7397           don't put empty paths on PYTHONPATH
7398         * docs/gst/gstreamer-sections.txt:
7399           remove some symbols that are not there
7401 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7403         * gst/gstcaps.c: (gst_caps_compare_structures):
7404           whitespace fixes
7405         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7406         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7407           add more tests
7409 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7411         * libs/gst/dataprotocol/Makefile.am:
7412           build dataprotocol test by linking to the lib, instead of
7413           compiling the source, so we get coverage
7414         * tests/check/Makefile.am:
7415         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
7416         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
7417           add a test for filesrc
7419 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7421         * tests/check/gst/gststructure.c: (GST_START_TEST),
7422         (gst_structure_suite):
7423           Push coverage from 59.04% to 70.00%
7425 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7427         * tests/check/Makefile.am:
7428           gst-inspect every element; this makes sure that we also get
7429           coverage on element's get/set functions
7431 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7433         * configure.ac:
7434           set CFLAGS and friends to -O0 if gcov is being used
7435           add GCOV LIBS
7436         * gst/Makefile.am:
7437         * libs/gst/base/Makefile.am:
7438         * libs/gst/check/Makefile.am:
7439         * libs/gst/controller/Makefile.am:
7440         * libs/gst/dataprotocol/Makefile.am:
7441         * libs/gst/net/Makefile.am:
7442         * plugins/elements/Makefile.am:
7443         * plugins/indexers/Makefile.am:
7444           add makefile rules to generate gcov data and clean up
7445         * tests/check/Makefile.am:
7446           add a coverage target that generates an html overview
7447           of coverage data
7449 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7451         * tests/check/elements/fakesink.c:
7452         * tests/check/elements/fakesrc.c:
7453         * tests/check/elements/fdsrc.c:
7454         * tests/check/elements/identity.c:
7455         * tests/check/generic/sinks.c: (gst_sinks_suite):
7456         * tests/check/generic/states.c:
7457         * tests/check/gst/gst.c:
7458         * tests/check/gst/gstabi.c:
7459         * tests/check/gst/gstbin.c:
7460         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7461         * tests/check/gst/gstbus.c: (gst_bus_suite):
7462         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7463         * tests/check/gst/gstelement.c:
7464         * tests/check/gst/gstevent.c: (gst_event_suite):
7465         * tests/check/gst/gstghostpad.c:
7466         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7467         * tests/check/gst/gstmessage.c: (gst_message_suite):
7468         * tests/check/gst/gstminiobject.c:
7469         * tests/check/gst/gstobject.c:
7470         * tests/check/gst/gstpad.c:
7471         * tests/check/gst/gstpipeline.c:
7472         * tests/check/gst/gstplugin.c:
7473         * tests/check/gst/gstquery.c: (gst_query_suite):
7474         * tests/check/gst/gstsegment.c: (gst_segment_suite):
7475         * tests/check/gst/gststructure.c:
7476         * tests/check/gst/gstsystemclock.c:
7477         * tests/check/gst/gsttag.c:
7478         * tests/check/gst/gsttask.c: (gst_task_suite):
7479         * tests/check/gst/gstutils.c:
7480         * tests/check/gst/gstvalue.c:
7481         * tests/check/libs/adapter.c:
7482         * tests/check/libs/basesrc.c:
7483         * tests/check/libs/collectpads.c:
7484         * tests/check/libs/controller.c:
7485         * tests/check/libs/gdp.c: (gst_dp_suite):
7486         * tests/check/libs/gstnetclientclock.c:
7487         * tests/check/libs/gstnettimeprovider.c:
7488         * tests/check/libs/libsabi.c: (libsabi_suite):
7489         * tests/check/libs/typefindhelper.c:
7490         * tests/check/pipelines/cleanup.c:
7491         * tests/check/pipelines/parse-launch.c:
7492         * tests/check/pipelines/simple-launch-lines.c:
7493         * tests/check/pipelines/stress.c: (stress_suite):
7494           use the new macro
7496 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7498         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7499         * libs/gst/check/gstcheck.h:
7500           create a macro and function so that the simple unit test
7501           case can be just one macro to create main()
7503 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
7505         * gst/gstbin.c: (gst_bin_restore_thyself):
7506         * gst/gstxml.c: (gst_xml_make_element):
7507           Fix deserialisation from XML. Set parent manually
7508           instead of using gst_bin_add(), since gst_bin_add()
7509           will unlink all pads of the element being added.
7510           Fixes #341667.
7512 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
7514         Patch by: Peter Kjellerstedt <pkj at axis com>
7516         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7517           Fix missing g_strdup() and double free when using the
7518           --gst-plugin-load command line option (#346097).
7520 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7522         * gst/gstinfo.c:
7523           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7525         * libs/gst/net/gstnetclientclock.c:
7526         * libs/gst/net/gstnettimeprovider.c:
7527           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7529 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
7531         * docs/manual/advanced-dataaccess.xml:
7532           Fix buffer probe example compilation in
7533           ADM (#345708).
7534         
7535 2006-06-22  Edward Hervey  <edward@fluendo.com>
7537         * gst/gstelement.c: (gst_element_pads_activate):
7538         We need to deactivate src pads first and then sink pads.
7539         The reason is the src pads might be blocking while holding the streaming
7540         lock, so we need to deactivate them first so that deactivating the sink
7541         pads doesn't block (since it will require the streaming lock).
7543 2006-06-22  Wim Taymans  <wim@fluendo.com>
7545         * libs/gst/base/gstbasetransform.c:
7546         (gst_base_transform_buffer_alloc):
7547         Forgot to remove two unneeded unrefs.
7548         Simplify a check _is_equal allready checks the obvious case.
7550 2006-06-22  Wim Taymans  <wim@fluendo.com>
7552         * docs/design/part-block.txt:
7553         Some docs about what pad_block should do.
7555 2006-06-22  Wim Taymans  <wim@fluendo.com>
7557         * gst/gstcaps.c: (gst_caps_replace):
7558         Fix crasher when passed NULL. Doc clarification.
7559         Optimize for the trivial case.
7561         * gst/gstpipeline.c: (gst_pipeline_change_state):
7562         Small cleanups.
7564         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7565         Small documentation cleanup.
7567         * libs/gst/base/gstbasetransform.c:
7568         (gst_base_transform_buffer_alloc):
7569         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7570         is what we need and it avoids a whole lot of redundant 
7571         refcount operations.
7573 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
7575         Patch by: Philip Jägenstedt  <philip at lysator liu se>
7577         * docs/manual/advanced-dataaccess.xml:
7578           Fix 'Embedding static elements' section to use
7579           GST_PLUGIN_DEFINE_STATIC (#345607).
7581 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7583         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7584           Attempt to 'fix' spuriously failing test case: it seems like the
7585           timeout of half a second is simply too small when the system is under
7586           load otherwise, and the timeout doesn't really seem to serve any
7587           particular purpose here. Give the pipeline a few seconds to preroll
7588           first, and then give it another half a second to go from PAUSED to
7589           PLAYING and marshal the message into the main thread.
7591 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7593         * tools/gst-feedback-m.m:
7594           Don't only use unversioned tools, try versioned tools as well
7595           (#345086).
7597 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7599         * gst/gstbus.c: (gst_bus_class_init):
7600           Fix some typos, make docs more explicit.
7602 2006-06-20  Wim Taymans  <wim@fluendo.com>
7604         * tests/check/gst/gstghostpad.c: (block_callback),
7605         (GST_START_TEST), (gst_ghost_pad_suite):
7606         Added some more ghostpad tests, mainly blocking
7607         and probes.
7609 2006-06-16  Wim Taymans  <wim@fluendo.com>
7611         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7612         (gst_file_sink_close_file), (gst_file_sink_do_seek),
7613         (gst_file_sink_event), (gst_file_sink_render):
7614         * plugins/elements/gstfilesink.h:
7615         Check if we can seek in the file instead of assuming
7616         we always can. Post an error when we are asked to seek in a
7617         non-seekable file (like a fifo). Fixes #343312.
7618         Some cleanups.
7620 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7622         * tools/gst-launch.1.in:
7623           Un-garble (fourcc) bit in filtered caps section.
7625 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
7627         * docs/manual/advanced-autoplugging.xml:
7628         * docs/manual/basics-helloworld.xml:
7629         * docs/manual/highlevel-components.xml:
7630           Don't leak bus reference in sample code.
7632 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
7634         * autogen.sh:
7635           Add default for new --enable-plugin-docs switch.
7637         * configure.ac:
7638           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7639           Fixes #344039.
7641         * docs/Makefile.am:
7642           Use new ENABLE_PLUGIN_DOCS conditional.
7644 2006-06-14  Wim Taymans  <wim@fluendo.com>
7646         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7647         Make it clear with a FIXME and a real define what the #if 0
7648         previously disabled.
7650 2006-06-14  Wim Taymans  <wim@fluendo.com>
7652         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7653         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7654         * libs/gst/base/gstbasetransform.c:
7655         (gst_base_transform_sink_eventfunc):
7656         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7657         Don't randomly and silently reset a segment when the format 
7658         changes as this is a bug somewhere upstream. Fixes #330379.
7660 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
7662         Patch by: Wouter Paesen  <wouter at kangaroot net>
7664         * libs/gst/controller/gstcontroller.c:
7665         (gst_controlled_property_new):
7666           Fix controlling of float properties (#344849).
7668         * tests/check/libs/controller.c:
7669         (gst_test_mono_source_get_property),
7670         (gst_test_mono_source_set_property),
7671         (gst_test_mono_source_class_init), (GST_START_TEST):
7672           While we're at it, add some float stuff to unit test.
7674 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7676         * docs/README:
7677         * docs/images/gdp-header.svg:
7678           add a gdp image
7679         * docs/libs/Makefile.am:
7680         * docs/libs/gdp-header.png:
7681         * libs/gst/dataprotocol/dataprotocol.c:
7682           add it to the API docs
7683         * docs/manual/intro-motivation.xml:
7684           fix typo
7686 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7688         * gst/gst.c: (scan_and_update_registry), (init_post):
7689           If the fork()'ed child process can't write the updated registry cache
7690           file to disk for some reason, make it exit with a failure exit code,
7691           so that the parent can then re-scan the plugins itself and update the
7692           registry structures in memory and work with that (rather than failing
7693           when creating elements because seemingly no plugins are available).
7694           Refactor registry scanning code into separate function for this and
7695           also separate fork() and non-fork() code paths. Fixes #344748.
7697 2006-06-13  Wim Taymans  <wim@fluendo.com>
7699         * docs/manual/advanced-dataaccess.xml:
7700         Fix wrong PluginDesc. Fixes #344755.
7702 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7704         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7705           Fix silly bug that prevented us from creating
7706           ~/.gstreamer-0.10 and writing the registry in one
7707           go (the first call to g_mkstemp() would overwrite the
7708           placeholder in the template string, so the second call
7709           to g_mkstemp() after creating the missing directory
7710           would then error out with 'invalid argument').
7712 2006-06-13  Edward Hervey  <edward@fluendo.com>
7714         * gst/gst.c: (init_post):
7715         Free string.
7717 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7719         * gst/glib-compat-private.h:
7720         * gst/glib-compat.c:
7721         * gst/glib-compat.h:
7722         * gst/gstvalue.c: (gst_value_serialize_flags):
7723           remove GLib 2.6 compatibility code
7725 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
7727         * gst/parse/Makefile.am:
7728           Fix build with 'make -j N' even more (#340016).
7730 2006-06-12  Wim Taymans  <wim@fluendo.com>
7732         * docs/gst/gstreamer-sections.txt:
7733         Fix docs.
7735 2006-06-12  Wim Taymans  <wim@fluendo.com>
7737         * gst/gstsegment.c: (gst_segment_set_duration),
7738         (gst_segment_set_last_stop), (gst_segment_set_seek),
7739         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7740         (gst_segment_to_running_time), (gst_segment_clip):
7741         Use G_UNLIKELY to help the compiler a bit.
7743 2006-06-12  Wim Taymans  <wim@fluendo.com>
7745         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7747         * gst/gstevent.c: (gst_event_get_type):
7748         * gst/gstmessage.c:
7749         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7750         (gst_pad_push):
7751         constify quark registration strings. Fixes #344115
7752         Avoid unneeded type checking is _pad_push() by internally
7753         calling gst_pad_chain_unchecked().
7755 2006-06-12  Wim Taymans  <wim@fluendo.com>
7757         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7758         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7759         (gst_subbuffer_finalize), (gst_buffer_create_sub),
7760         (gst_buffer_is_span_fast), (gst_buffer_span):
7761         Init _type for consistency.
7762         Use _FLAGS macro to avoid type check.
7763         Avoid unneeded type checks in subbufer code.
7765 2006-06-12  Wim Taymans  <wim@fluendo.com>
7767         * gst/gst.c: (gst_debug_help):
7768         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7769         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7770         (gst_plugin_feature_list_free):
7771         * gst/gstregistry.c: (gst_registry_add_plugin),
7772         (gst_registry_add_feature), (gst_registry_plugin_filter),
7773         (gst_registry_feature_filter), (gst_registry_find_plugin),
7774         (gst_registry_find_feature), (gst_registry_get_plugin_list),
7775         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7776         * gst/gstregistryxml.c: (load_feature),
7777         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7778         * gst/gstminiobject.c: (gst_mini_object_unref),
7779         (gst_mini_object_replace), (gst_value_mini_object_free),
7780         (gst_value_mini_object_copy):
7781         Use _CAST macros to avoid unneeded type checking.
7782         Added some more G_UNLIKELY.
7784 2006-06-12  Wim Taymans  <wim@fluendo.com>
7786         * gst/gstbuffer.h:
7787         Avoid unneeded type checking.
7788         API: GST_BUFFER_IS_DISCONT
7790         * gst/gstminiobject.h:
7791         Avoid type check in flag accessor.
7793         * gst/gstelementfactory.h:
7794         * gst/gstplugin.h:
7795         * gst/gstpluginfeature.h:
7796         Add _CAST macros.
7797         API: GST_ELEMENT_FACTORY_CAST
7798         API: GST_PLUGIN_CAST
7799         API: GST_PLUGIN_FEATURE_CAST
7801 2006-06-12  Wim Taymans  <wim@fluendo.com>
7803         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7804         (gst_object_unref):
7805         Add G_UNLIKELY in type registration.
7806         Avoid type check in _ref/_unref since that is also
7807         done in glib.
7809 2006-06-12  Wim Taymans  <wim@fluendo.com>
7811         * gst/gsterror.c: (gst_g_error_get_type):
7812         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7813         (gst_static_pad_template_get_type):
7814         * gst/gsttaglist.c: (gst_tag_list_get_type):
7815         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7816         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7817         * gst/gsturi.c: (gst_uri_handler_get_type):
7818         * gst/gstvalue.c: (gst_date_get_type):
7819         * gst/gstxml.c: (gst_xml_get_type):
7820         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7821         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7822         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7823         Add G_UNLIKELY in type registration.
7825 2006-06-12  Wim Taymans  <wim@fluendo.com>
7827         * tools/gst-inspect.c: (print_signal_info):
7828         Properly print enum values.
7830 2006-06-12  Wim Taymans  <wim@fluendo.com>
7832         * gst/gstinfo.c: (gst_debug_set_active),
7833         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7834         * gst/gstinfo.h:
7835         Add some G_[UN]LIKELY.
7836         Maintain __gst_debug_min to avoid formatting the arguments of
7837         debug messages that will be dropped anyway to avoid a lot of 
7838         overhead from the debugging system.
7840 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7842         * po/POTFILES.in:
7843         * po/POTFILES.skip:
7844           add missing files containing translatable strings, tell intltool about
7845           one exception
7847 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7849         * tests/check/libs/.cvsignore:
7850         add test-binary to ignore list
7852 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7854         * docs/libs/gstreamer-libs-docs.sgml:
7855         reorder (put dp into a chapter) and indent
7857 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7859         * configure.ac:
7860           back to HEAD
7862 === release 0.10.8 ===
7864 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7866         * configure.ac:
7867           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7869 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7871         * gst/gst.c: (init_post):
7872           move pid declaration to declaration block
7874 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7876         * gst/gst.c: (init_post):
7877           use _exit() instead of exit() in our forked child; this ensures
7878           that none of the registered exit handlers from whatever is using
7879           GStreamer get executed.  This fixes gnome-mixer-applet failing
7880           to load, because ORBit would shut down.
7881           Spotted by: Edward Hervey  <edward@fluendo.com>
7882           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7883           Fixes #344474
7885 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7887         * configure.ac:
7888           back to TRUNK
7890 === release 0.10.7 ===
7892 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7894         * configure.ac:
7895           releasing 0.10.7, "Soepeke, ik zie ou"
7897 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7899         * configure.ac:
7900         * po/af.po:
7901         * po/az.po:
7902         * po/bg.po:
7903         * po/ca.po:
7904         * po/cs.po:
7905         * po/de.po:
7906         * po/en_GB.po:
7907         * po/fr.po:
7908         * po/it.po:
7909         * po/nb.po:
7910         * po/nl.po:
7911         * po/ru.po:
7912         * po/sq.po:
7913         * po/sr.po:
7914         * po/sv.po:
7915         * po/tr.po:
7916         * po/uk.po:
7917         * po/vi.po:
7918         * po/zh_CN.po:
7919         * po/zh_TW.po:
7920         * win32/common/config.h:
7921           0.10.6.2 prerelease
7923 2006-06-07  Wim Taymans  <wim@fluendo.com>
7925         * gst/gstindex.c: (gst_index_gtype_resolver):
7926         * tools/gst-xmlinspect.c: (print_plugin_info):
7927         Fix leak spotted by coverity checker. Fixes #343827
7928         Fix another other leak found by paolo borelli.
7930 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7932         * libs/gst/dataprotocol/dataprotocol.c:
7933         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7934         (gst_dp_version_get_type), (gst_dp_init),
7935         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7936         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7937         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7938         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7939         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7940         (gst_dp_packetizer_free):
7941         * libs/gst/dataprotocol/dataprotocol.h:
7942           API: add a GstDPPacketizer object, and create/free functions
7943           API: add GstDPVersion enum
7944           Add 1.0 event function that uses the string serialization
7945           Serialize more useful buffer flags
7946           Fixes #343988
7948 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7950         * tests/check/Makefile.am:
7951         * tests/check/gst/gstabi.c:
7952         * tests/check/gst/struct_ppc64.h:
7953         * tests/check/libs/libsabi.c:
7954         * tests/check/libs/struct_ppc64.h:
7955           add ppc64 structure sizes
7957 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7959         * tests/check/Makefile.am:
7960         * tests/check/gst/gstabi.c:
7961         * tests/check/gst/struct_x86_64.h:
7962         * tests/check/libs/libsabi.c:
7963         * tests/check/libs/struct_x86_64.h:
7964           generate and add structure size lists for x86_64
7966 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7968         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7969         * libs/gst/check/gstcheck.h:
7970           factor out the method from tests that checks size of structures,
7971           and add code to generate the header containing these sizes
7972         * tests/check/gst/gstabi.c: (GST_START_TEST):
7973         * tests/check/gst/struct_i386.h:
7974         * tests/check/libs/libsabi.c: (GST_START_TEST):
7975         * tests/check/libs/struct_i386.h:
7976           use it
7978 2006-06-06  Michael Smith  <msmith@fluendo.com>
7980         * gst/gstsegment.h:
7981           Don't use c++-style comments, fixes #343929
7983 2006-06-05  Edward Hervey  <edward@fluendo.com>
7985         * gst/gst.c:
7986         plugin_paths is not used if we build without registry support.
7988         * gst/gstsegment.c: (gst_segment_copy): 
7989         _copy() was always returning NULL...
7991 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7993         * libs/gst/dataprotocol/dataprotocol.c:
7994         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7995         (gst_dp_packet_from_event):
7996           factor out CRC code
7998 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8000         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8001           make sure we unset caps
8003 2006-06-02  Michael Smith  <msmith@fluendo.com>
8005         * libs/gst/check/gstcheck.c: (gst_check_init),
8006         (gst_check_chain_func):
8007         * libs/gst/check/gstcheck.h:
8008           Add a cond/mutex to the check support lib, signal this whenever we
8009           add to the buffers list. This will allow tests to not busy-wait on
8010           the buffer-list.
8012 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8014         * libs/gst/dataprotocol/dataprotocol.c:
8015         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8016         (gst_dp_packet_from_event):
8017           factor out some common header init code
8019 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8021         * docs/libs/gstreamer-libs-sections.txt:
8022         * docs/libs/tmpl/gstdataprotocol.sgml:
8023         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8024         * libs/gst/dataprotocol/dataprotocol.h:
8025           API: make gst_dp_crc() public
8027 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8029         * plugins/indexers/gstindexers.c: (plugin_init):
8030         conditionally register fileindexer (fixes #343598)
8032 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8034         * gst/gsttagsetter.h:
8035         Can't cast ifaces to a class
8037         * libs/gst/net/gstnetclientclock.h:
8038         * libs/gst/net/gstnettimeprovider.h:
8039         * plugins/elements/gstfakesink.h:
8040         * plugins/elements/gstfakesrc.h:
8041         * plugins/elements/gstfdsink.h:
8042         * plugins/elements/gstfdsrc.h:
8043         * plugins/elements/gstfilesink.h:
8044         * plugins/elements/gstfilesrc.h:
8045         * plugins/elements/gstidentity.h:
8046         * plugins/elements/gstqueue.h:
8047         * plugins/elements/gsttee.h:
8048         * plugins/indexers/gstfileindex.c:
8049         * plugins/indexers/gstmemindex.c:
8050         * tests/old/examples/plugins/example.h:
8051         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8053 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8055         * libs/gst/dataprotocol/dataprotocol.c:
8056         (gst_dp_header_from_buffer):
8057           make sure we zero the whole ABI-compatible area
8059 2006-06-01  Wim Taymans  <wim@fluendo.com>
8061         Patch by: Alessandro Decina <alessandro at nnva dot org>
8063         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8064         Make sure the EOS flag is cleared from pads after a flush
8065         or stop. Fixes #343538.
8067         * tests/check/libs/collectpads.c: (GST_START_TEST),
8068         (gst_collect_pads_suite):
8069         Added test for collectpads reusage after EOS.
8071 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8073         * gst/gst.c:
8074          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8075         * win32/common/libgstbase.def:
8076          export gst_collect_pads_set_flushing
8077         * win32/common/libgstreamer.def:
8078          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8079          gst_value_fraction_multiply
8080         * win32/vs6/gst_inspect.dsp:
8081          add a link to intl.lib
8083 2006-05-30  Wim Taymans  <wim@fluendo.com>
8085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8086         (gst_collect_pads_chain):
8087         Handle the case where a pad is removed from the collection
8088         that could cause the other pads to become collectable.
8090 2006-05-30  Wim Taymans  <wim@fluendo.com>
8092         * gst/gstelement.c:
8093         Clarify the use of _release_request_pad() and
8094         _get_request_pad() a bit better.
8096         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8097         (gst_adapter_take_buffer):
8098         Fix some doc and comment typos.
8100 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8102         * docs/gst/gstreamer-sections.txt:
8103         * docs/libs/gstreamer-libs-sections.txt:
8104           add declared symbols
8106 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8108         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8109         Add debug that can be enabled using a #define at the top of the file,
8110         for dumping stats about how late/early we were when waking up from
8111         waiting on the clock.
8113 2006-05-30  Wim Taymans  <wim@fluendo.com>
8115         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8116         When rebuilding the pad list, don't leak the previous list.
8118 2006-05-30  Wim Taymans  <wim@fluendo.com>
8120         Patch by: Lutz Mueller <lutz at topfrose dot de>
8122         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8123         (gst_base_src_get_query_types), (gst_base_src_update_length):
8124         Publish supported query types.
8125         Update last_stop field in get_range mode so the position
8126         query works. Fixes #342321.
8128 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8130         * docs/gst/gstreamer-sections.txt:
8131         * gst/gsttaglist.c: (_gst_tag_initialize):
8132         * gst/gsttaglist.h:
8133           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8135 2006-05-30  Wim Taymans  <wim@fluendo.com>
8137         Patch by: Alessandro Decina <alessandro at nnva dot org>
8139         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8140         Unlock mutex when removing an unknown pad.
8141         Fixes #343334.
8143         * tests/check/Makefile.am:
8144         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8145         (push_event), (setup), (teardown), (GST_START_TEST),
8146         (gst_collect_pads_suite), (main):
8147         Added collecpads check, disabled for now as check crashes for
8148         some reason.
8150 2006-05-29  Wim Taymans  <wim@fluendo.com>
8152         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8153         Don't leak pads lists.
8155 2006-05-29  Wim Taymans  <wim@fluendo.com>
8157         * docs/libs/gstreamer-libs-sections.txt:
8158         * libs/gst/base/gstcollectpads.c:
8159         (gst_collect_pads_set_flushing_unlocked),
8160         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8161         (gst_collect_pads_stop):
8162         * libs/gst/base/gstcollectpads.h:
8163         API: gst_collect_pads_set_flushing()
8164         Added api to set the pads to flushing, useful for seeking
8165         code in elements using collectpads.
8166         Clear segment when receiving a flush.
8168 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8170         * gst/gst.c: (add_path_func), (init_post):
8171           Don't scan registry paths passed via --gst-plugin-path immediately
8172           (will crash, because absolutely nothing is set up and no types are
8173           registered etc.); do this later in init_post(). Fixes #343057.
8175 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8177         * gst/gst.c: (init_post):
8178           if we have fork, fork while reading/rebuilding the registry
8179           so the parent doesn't take the hit of having all plugins loaded
8180           in memory.  Fixes #342777.
8181         * configure.ac:
8182           Check if we have fork()
8183         * win32/common/config.h.in:
8184           no fork() on win32
8186 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8188         * plugins/elements/gstelements.c:
8189         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8190         (gst_file_src_init), (gst_file_src_set_property),
8191         (gst_file_src_get_property), (gst_file_src_start):
8192         * plugins/elements/gstfilesrc.h:
8193           API: GstFileSrc::use-mmap
8195         Add a use-mmap property to enable easier testing of all code paths.
8196         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8197         in the absence of gnomevfssrc. (Closes #340501)
8199 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8201         * tools/gst-inspect.c:
8202         Add missing include, removes warning of ngettext not being defined on
8203         some arches.
8205 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8207         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8208         Handle NULL input and output pointers silently as a failed conversion,
8209         rather than g_warnings.
8211 2006-05-25  Wim Taymans  <wim@fluendo.com>
8213         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8214         Initialize variable before using. Fixes #342820.
8216 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8218         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8219           Fix off-by-one bug that would only allow peeks of N-1 bytes
8220           from the start even if the buffer to typefind on contains
8221           in fact N bytes of data (makes vorbis typefinding from a
8222           vorbis identification header buffer work).
8224         * tests/check/Makefile.am:
8225         * tests/check/libs/.cvsignore:
8226         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8227         (gst_typefindhelper_suite), (main), (foobar_typefind),
8228         (plugin_init):
8229           Add very basic unit test for gst_type_find_helper_for_buffer()
8230           that checks for the problem fixed above.
8232 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8234         * tools/gst-inspect.c: (print_interfaces),
8235         (print_element_properties_info), (print_element_list), (main):
8236           add more translatable strings
8238 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
8240         Patch by: Julien Moutte  <julien at moutte net>
8242         * docs/gst/gstreamer-sections.txt:
8243           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8244           
8245         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8246         (gst_fake_sink_preroll):
8247         * plugins/elements/gstfakesink.h:
8248           API: Add new GstFakeSink::preroll-handoff signal (#337100).
8250 2006-05-23  Wim Taymans  <wim@fluendo.com>
8252         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8253         * gst/gstpad.h:
8254         Added _CUSTOM error and success GstFlowReturn that can be
8255         used be elements internally. 
8256         Added macro to check for SUCCESS flowreturns.
8257         API: GST_FLOW_CUSTOM_SUCCESS
8258         API: GST_FLOW_CUSTOM_ERROR
8259         API: GST_FLOW_IS_SUCCESS
8261         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8262         Added check for GstFlowReturn sanity.
8264 2006-05-23  Wim Taymans  <wim@fluendo.com>
8266         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8268         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8269         (gst_collect_pads_event):
8270         clear/reset segment info in FLUSH_STOP.
8271         Fixes #336929.
8273 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
8275         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8276         (gst_collect_pads_check_collected):
8277         Flush queued buffer on _stop(), fixes playing again (#342454)
8279 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8281         * tests/check/gst/gststructure.c: (GST_START_TEST),
8282         (gst_structure_suite):
8283           add a test for a complete structure
8285 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8287         * docs/faq/developing.xml:
8288         * docs/faq/faq.xml:
8289         * docs/faq/troubleshooting.xml:
8290         * docs/faq/using.xml:
8291           Some minor FAQ updates that won't change the fact that
8292           our FAQ is badly structured, full of information hardly
8293           anyone new to GStreamer needs to know and lacking lots
8294           of information people constantly ask for.
8295           
8296 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
8298         * gst/gstpad.c: (gst_pad_set_caps):
8299           Short-circuit gst_pad_set_caps if setting the existing
8300           caps pointer again, and avoid printing debug and 
8301           reffing/unreffing the caps.
8303         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8304           There's actually no need to set the caps before pushing -
8305           the acceptcaps method will handle it anyway.
8307 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8309         * docs/gst/gstreamer-sections.txt:
8310         * win32/common/libgstreamer.def:
8311         * gst/gstutils.c: (gst_element_seek_simple):
8312         * gst/gstutils.h:
8313           API: add gst_element_seek_simple() (#342238).
8315 2006-05-18  Edward Hervey  <edward@fluendo.com>
8317         * gst/gsttypefind.c: (gst_type_find_get_type):
8318         * gst/gsttypefind.h:
8319         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8320         registered for GstTypeFind pointers. This allows wrapping the structure
8321         in bindings (i.e. gst-python).
8323 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8325         * gst/gsttagsetter.c:
8326           Docs additions and fixes (see #339918).
8328 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8330         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8331         The caps intersection algorithm can produce multiple copies of the
8332         caps. Until that is fixed, we need to simplify the result to be
8333         sure whether the allowed caps are fixed or not.
8335         * plugins/elements/gstqueue.c: (gst_queue_init),
8336         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
8337         (gst_queue_push_one):
8338         Proxied buffer alloc should not set the caps on the source pad.
8339         When pushing buffers, we always accept the caps change that triggers.
8340         This prevents negotiation errors caused by caps changing mid-stream 
8341         and then being refused on our source pad (because upstream is now
8342         refusing those caps).
8344 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
8346         * tests/examples/helloworld/helloworld.c: (main):
8347           Must plug audioconvert and audioresample between decoder
8348           and audio sink.
8350 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
8352         * gst/gstregistryxml.c: (read_string), (load_pad_template),
8353         (load_feature), (load_plugin):
8354         Allow empty strings for some of the plugin fields so we don't 
8355         drop valid plugin entries that were written out correctly
8356         (Fixes #341479)
8358 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
8359         
8360         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8361           Use g_remove and g_rename instead of remove and rename that don't 
8362           handle utf8 characters. rename was failing for users who had specific
8363           characters in their name then the registry was built at each 
8364           gstreamer init.
8365         * win32/vs6/gst_inspect.dsp:
8366         * win32/vs6/gst_launch.dsp:
8367         * win32/vs6/libgstbase.dsp:
8368         * win32/vs6/libgstcoreelements.dsp:
8369         * win32/vs6/libgstreamer.dsp:
8370           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
8371           build of libgstreamer and clean unused libraries in projects link 
8372           settings.
8374 2006-05-17  Edward Hervey  <edward@fluendo.com>
8376         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8377         The queue is not responsible for pushing an EOS when receiving a fatal
8378         flow error. It's up to the real element driving the pipeline to do that.
8380 2006-05-16  Edward Hervey  <edward@fluendo.com>
8382         * plugins/elements/gstqueue.c: (gst_queue_push_one):
8383         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
8384         buffer returned a fatal error. It should just send an EOS and stop
8385         its task.
8386         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
8387         when pushing buffers on the queue and will be able to handle the event.
8389 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8391         * docs/manual/basics-bins.xml:
8392         * docs/manual/basics-init.xml:
8393           Fix typos and minor errors in sample code (#341856).
8395 2006-05-16  Wim Taymans  <wim@fluendo.com>
8397         * docs/design/part-qos.txt:
8398         Fix indexes in formulas to make more sense.
8400 2006-05-15  Wim Taymans  <wim@fluendo.com>
8402         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8403         Don't report POSITION based on clock time if sync is
8404         disabled in a sink.
8406 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
8408         * gst/gstobject.h:
8409           Add cast to make compiler happy - refcount variable was a gint
8410           in GstObject but is a guint in GObject and g_atomic_int_get()
8411           wants a gint *.
8413 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8415         * gst/parse/Makefile.am:
8416           chain commands using &&, which also makes parallel make work
8418 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
8420         * docs/gst/gstreamer-sections.txt:
8421         * gst/gstevent.c:
8422         * gst/gstevent.h:
8423         * gst/gstmessage.h:
8424           Minor docs fixes.
8426 === release 0.10.6 ===
8428 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
8430         * configure.ac:
8431           releasing 0.10.6, "Take the cannoli"
8433 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
8435         * tools/gst-launch.c: (print_tag):
8436           Fix use of uninitialized variable in the hypothetical
8437           case that some broken plugin creates a GST_TAG_IMAGE
8438           tag containing a NULL buffer (#341667).
8440 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
8442         * tools/gst-launch.c: (print_tag):
8443           Print something more intelligible for image tags when
8444           using the -t switch (#341556).
8446 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8448         * Makefile.am:
8449           updates for win32
8450         * configure.ac:
8451           define GST_MAJORMINOR so we have it available in win32/common/config.h
8452           Possibly remove it from our Makefile.am files later
8453         * win32/common/config.h:
8454         * win32/common/config.h.in:
8455           added GST_MAJORMINOR
8456         * win32/common/gstenumtypes.c: (register_gst_resource_error):
8457         * win32/common/gstversion.h:
8458           updated
8460 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
8462         * win32/MANIFEST:
8463           Update win32 files listing.
8464         * win32/common/gstversion.h:
8465           Add GST_MAJORMINOR definition.
8466         * win32/common/libgstreamer.def:
8467           Add new exported functions.
8468           
8469 2006-05-12  Michael Smith  <msmith@fluendo.com>
8471         * gst/gstplugin.c: (gst_plugin_load_file):
8472           If an so file has no plugin entry point, unload the module.
8474 2006-05-11  Wim Taymans  <wim@fluendo.com>
8476         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8477         (gst_queue_set_property):
8478         Don't forget to signal the _chain or _loop function 
8479         when the queue size or thresholds change since that might
8480         cause them to make progres again.
8482 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
8484         * gst/gstclock.c: (gst_clock_class_init):
8485         * gst/gstindex.c: (gst_index_class_init):
8486         * gst/gstobject.c: (gst_object_class_init):
8487         * gst/gstpad.c: (gst_pad_class_init):
8488         * gst/gstpipeline.c: (gst_pipeline_class_init):
8489         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8490         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8491         * libs/gst/base/gstbasetransform.c:
8492         (gst_base_transform_class_init):
8493         * libs/gst/net/gstnetclientclock.c:
8494         (gst_net_client_clock_class_init):
8495         * libs/gst/net/gstnettimeprovider.c:
8496         (gst_net_time_provider_class_init):
8497         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8498         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8499         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8500         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8501         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8502         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8503         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8504         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8505         * plugins/elements/gsttee.c: (gst_tee_class_init):
8506         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8507         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8508           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8510 2006-05-11  Wim Taymans  <wim@fluendo.com>
8512         * gst/gstbuffer.c: (_gst_buffer_initialize):
8513         Register subbufer along with the buffer type so that
8514         it does not accidentally gets registered from N
8515         different streaming threads in a non threadsafe way.
8517 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8519         * gst/gstbuffer.h:
8520         * gst/gstevent.h:
8521         * gst/gstmessage.h:
8522           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8523           gst_event_ref() and gst_message_ref() functions again
8524           (ugly hack, please do fix if there's a better way besides
8525           overrides.txt, which doesn't seem to work).
8527 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8529         * libs/gst/check/gstcheck.h:
8530           add an assert for setting state to avoid lots of repetitive code
8531           in the future
8533 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8535         * gst/gstvalue.c: (gst_value_serialize_flags):
8536           fix a leak if no flags are set
8537         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8538           fix leak in tests
8540 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
8542         * docs/manual/basics-pads.xml:
8543           Expand a bit on caps and filtered links and update
8544           examples that were still using the no longer existing
8545           gst_pad_link_filtered() (#338206).
8547 2006-05-10  Wim Taymans  <wim@fluendo.com>
8549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8550         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8551         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8552         (gst_collect_pads_stop):
8553         * libs/gst/base/gstcollectpads.h:
8554         No need to call _stop in _finalize.
8555         Iterate the main pad list in _finalize.
8556         Added some more debug.
8557         Free lists and data in the right order.
8558         Also free data whem doing _remove_pad when stopped for
8559         backward compatibility protect ::started with PAD_LOCK as
8560         well.
8562 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8564         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8565         (gst_structure_parse_value):
8566           add some comments
8567           rename a method so that it actually says what it does better
8569 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8571         * gst/gstevent.c: (_gst_event_initialize):
8572         * gst/gstformat.c: (_gst_format_initialize):
8573           make sure some essential types used by events are registered
8574           as part of gst_init()
8575         * gst/gstvalue.c: (gst_value_serialize_flags):
8576           if no flags are set, serialize them to a value that represents NONE
8577           so that deserializing them works
8578         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8579           add tests for serialization and deserialization of flags
8581 2006-05-10  Wim Taymans  <wim@fluendo.com>
8583         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8584         (gst_collect_pads_collect_range), (gst_collect_pads_available),
8585         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8586         (gst_collect_pads_event), (gst_collect_pads_chain):
8587         Update docs.
8588         Better debug info.
8589         Catch and return errors from the collect function
8590         Refuse data on eos pads.
8592 2006-05-10  Edward Hervey  <edward@fluendo.com>
8594         * gst/gstinterface.h:
8595         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8596         GInterface type checking.
8597         They were previously using non-defined macros.
8599 2006-05-09  Wim Taymans  <wim@fluendo.com>
8601         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8602         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8603         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8604         (gst_collect_pads_start), (gst_collect_pads_stop),
8605         (gst_collect_pads_peek), (gst_collect_pads_pop),
8606         (gst_collect_pads_available), (gst_collect_pads_read),
8607         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8608         (gst_collect_pads_is_collected), (gst_collect_pads_event),
8609         (gst_collect_pads_chain):
8610         * libs/gst/base/gstcollectpads.h:
8611         Clean up the mess that is collectpads, add comments and
8612         FIXMEs where needed.
8613         Maintain a separate pad list so we can add pads while
8614         collecting the other ones. For this we need a new separate 
8615         lock (see comics).
8616         Fix memory leak in finalize.
8617         Refactor some weird code to set/unset pad flushing flags, mark
8618         with comments.
8619         Don't crash in _available, _read, _flush when we're EOS.
8621         * tests/check/libs/.cvsignore:
8622         Ignore adapter check binary.
8624 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8626         * gst/gstindex.c: (gst_index_resolver_get_type):
8627         * plugins/elements/gstfakesink.c:
8628         (gst_fake_sink_state_error_get_type):
8629         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8630         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8631         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8632           Const-ify GEnumValue arrays.
8634 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8636         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8637           Add test case for flags + gst_buffer_make_metadata_writable().
8639 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8641         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8642           gst_buffer_make_metadata_writable() should maintain the
8643           buffer flags (those that make sense at least) (see #340859).
8645 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8647         * tools/gst-inspect.c:
8648         * tools/gst-launch.c:
8649         * tools/gst-typefind.c:
8650         * tools/gst-xmlinspect.c:
8651         * tools/tools.h:
8652           Fix up includes: need to include stdlib.h in tools.h for exit().
8654 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8656         * gst/gsttaglist.c: (_gst_tag_initialize):
8657         * gst/gsttaglist.h:
8658           API: add GST_TAG_IMAGE tag (#340721).
8660 2006-05-08  Wim Taymans  <wim@fluendo.com>
8662         * gst/gstquery.c:
8663         Added some docs for the segment query.
8665 2006-05-08  Wim Taymans  <wim@fluendo.com>
8667         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8668         (gst_base_src_loop), (gst_base_src_change_state):
8669         Always push non-flushing serialized events in the streaming 
8670         thread.
8672 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8674         * gst/gsterror.c: (_gst_stream_errors_init):
8675           Add a missing error string.
8677 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
8679         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8680         Add applied_rate to the debug
8682         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8683         Copy applied_rate into the outgoing NEWSEGMENT event
8685 2006-05-08  Wim Taymans  <wim@fluendo.com>
8687         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8689         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8690         (gst_base_sink_change_state):
8691         call ::unlock before taking the PREROLL_LOCK so we can safely
8692         handle elements that lock in ::render.
8693         Fixes #340174.
8695 2006-05-08  Edward Hervey  <edward@fluendo.com>
8697         * autogen.sh: (CONFIGURE_DEF_OPT): 
8698         Darwin's libtoolize is in fact called glibtoolize.
8699         Adding glibtoolize to the list of accepted names for libtoolize.
8701 2006-05-08  Wim Taymans  <wim@fluendo.com>
8703         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8704         Unify error handling, don't post an error message
8705         when a push() returns EOS but perform our normal EOS
8706         handling code. Fixes #340772.
8708 2006-05-08  Wim Taymans  <wim@fluendo.com>
8710         * docs/design/part-overview.txt:
8711         Make upsteam/downstream concepts more clear.
8712         Give an example of serialized/non-serialized events.
8714         * docs/design/part-events.txt:
8715         * docs/design/part-streams.txt:
8716         Mention applied_rate.
8718         * docs/design/part-trickmodes.txt:
8719         Mention applied rate, flesh out some more use cases.
8721         * gst/gstevent.c: (gst_event_new_new_segment),
8722         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8723         (gst_event_parse_new_segment_full), (gst_event_new_tag),
8724         (gst_event_parse_tag), (gst_event_new_buffer_size),
8725         (gst_event_parse_buffer_size), (gst_event_new_qos),
8726         (gst_event_parse_qos), (gst_event_parse_seek),
8727         (gst_event_new_navigation):
8728         * gst/gstevent.h:
8729         Add applied_rate field to NEWSEGMENT event.
8730         API: gst_event_new_new_segment_full()
8731         API: gst_event_parse_new_segment_full()
8733         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8734         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8735         (gst_segment_to_stream_time), (gst_segment_to_running_time):
8736         * gst/gstsegment.h:
8737         Add applied_rate to GstSegment structure.
8738         Make calculation of stream_time and running_time more correct
8739         wrt rate/applied_rate.
8740         Add some more docs.
8741         API: GstSegment::applied_rate field
8742         API: gst_segment_set_newsegment_full();
8744         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8745         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8746         * libs/gst/base/gstbasetransform.c:
8747         (gst_base_transform_sink_eventfunc),
8748         (gst_base_transform_handle_buffer):
8749         Parse and use applied_rate in the GstSegment field.
8751         * tests/check/gst/gstevent.c: (GST_START_TEST):
8752         Add check for applied_rate field.
8754         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8755         (gstsegments_suite):
8756         Add more checks for various GstSegment operations.
8758 2006-05-08  Wim Taymans  <wim@fluendo.com>
8760         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8761         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8762         (gst_base_sink_get_position), (gst_base_sink_change_state):
8763         Store the sync time of the buffer end position separatly in a
8764         new variable eos_rtime so we can properly sync the EOS event.
8765         Fixes #340697.
8766         Fix the docs for gst_base_sink_set_qos_enabled().
8767         Don't set segment start to invalid value when we receive a 
8768         non TIME newsegment.
8769         get closer to handling position reporting for negative rates 
8770         correctly.
8772 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8774         * gst/gstcaps.c:
8775         Docs about how to print caps for debug purposes.
8777         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8778         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8780 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8782         * gst/gstelement.c:
8783           use full enum names and preprend a '%' in docs strings to make recent 
8784           gtk-doc turn that into a link
8786 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8788         * docs/manual/basics-bins.xml:
8789         * docs/manual/basics-bus.xml:
8790         * docs/manual/basics-pads.xml:
8791           Some typo fixes, some additions, some clarifications. 
8793 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8795         * tools/gst-inspect.c: (main):
8796         * tools/gst-launch.c: (main):
8797         * tools/gst-run.c: (main):
8798         * tools/gst-typefind.c: (main):
8799         * tools/gst-xmlinspect.c: (main):
8800           Use the string passed to g_option_context_new() for
8801           what it's intended for - the program name is already
8802           printed elsewhere.
8804 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8806         * tools/Makefile.am:
8807         * tools/gst-inspect.c: (main):
8808         * tools/gst-launch.c: (main):
8809         * tools/gst-xmlinspect.c: (main):
8810         * tools/tools.h:
8811           Add back --version command line option (#340460).
8813         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8814           Add --version option and use GOption for argument parsing; refactor a
8815           bit; accept directories as arguments and recurse into them; lastly,
8816           print a decent error message when things go wrong.
8818 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8820         * docs/manual/basics-bins.xml:
8821         Don't mention GstThread (#340611)
8822         * docs/manual/basics-elements.xml:
8823         Update link to GObject tutorial (#340607)
8824         
8825 2006-05-05  Wim Taymans  <wim@fluendo.com>
8827         * gst/gstbuffer.h:
8828         * gst/gstminiobject.c:
8829         Add note about refcounting and miniobject/buffer writeability
8830         to docs. Fixes #340604
8832         * gst/gstelementfactory.h:
8833         Added some explanation about @klass.
8835 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8837         * docs/manual/intro-motivation.xml:
8838         * docs/manual/manual.xml:
8839         Avoid CORBA & Bonobo references (#340598)
8841 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8843         * docs/manual/basics-bus.xml:
8844         * docs/manual/basics-pads.xml:
8845         Fix up some inaccuracies and omissions (#340609)
8846         
8847 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8849         * gst/gstghostpad.c:
8850           Small typo in docs (#340625)
8852 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8854         * gst/parse/Makefile.am:
8855           Make 'make -j' proof (see #340698).
8857 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8859         * configure.ac:
8860           Require GLib-2.8 here as well.
8862 2006-05-05  Wim Taymans  <wim@fluendo.com>
8864         * gst/glib-compat.c:
8865         * gst/gst.c: (init_pre):
8866         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8867         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8868         (gst_object_dispatch_properties_changed):
8869         * gst/gstobject.h:
8870         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8871         * gst/gststructure.c: (gst_structure_set_valist):
8872         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8873         Remove pre glib2.8 compatibility, fixes #340508
8875 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8877         * gst/gsttaglist.h:
8878           Mention type of tags in doc blurbs.
8880 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8882         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8883         (gst_pad_configure_src), (gst_pad_push):
8884         Restore acceptcaps checking behaviour now that good plugins have
8885         been released.
8887 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8889         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8891         * gst/gst.c:
8892         * gst/gstbus.c:
8893         * gst/gstclock.c:
8894         * gst/gstevent.c:
8895         * gst/gstformat.c:
8896         * gst/gstmessage.c:
8897         * gst/gstparse.c:
8898         * gst/gstquery.c:
8899         * gst/gstutils.c:
8900         * gst/parse/Makefile.am:
8901         * libs/gst/base/gstadapter.c:
8902         * libs/gst/base/gstbasesrc.c:
8903         * libs/gst/base/gstpushsrc.c:
8904         * libs/gst/base/gsttypefindhelper.c:
8905         * plugins/elements/gstfakesrc.c:
8906         * plugins/elements/gstidentity.c:
8907           Make sure gstprivate.h and/or config.h are
8908           always included first, otherwise some of our
8909           defines (like _FILE_OFFSET_BITS) might be
8910           redefined in the system headers. Fixes build
8911           on opensolaris (#340016).
8913 2006-05-04  Wim Taymans  <wim@fluendo.com>
8915         * docs/libs/gstreamer-libs-sections.txt:
8916         API: addition: gst_adapter_take_buffer()
8917         
8918         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8919         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8920         (gst_adapter_available_fast):
8921         * libs/gst/base/gstadapter.h:
8922         Prepare for optimizing the hell out of this hugely inefficient
8923         piece of code. 
8924         Added gst_adapter_take_buffer() so we can at least start thinking
8925         about subbuffering and merging.
8926         Added some comments.
8928         * tests/check/Makefile.am:
8929         * tests/check/libs/adapter.c: (GST_START_TEST),
8930         (gst_adapter_suite), (main):
8931         Added GstAdapter check.
8933 2006-05-04  Wim Taymans  <wim@fluendo.com>
8935         * docs/design/part-overview.txt:
8936         Fix some typos, add blurb about buffer flags.
8938 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8940         * docs/libs/gstreamer-libs-sections.txt:
8941           make sure GstBaseTransformClass shows up in the docs
8942         * libs/gst/base/gstbasetransform.c:
8943         * libs/gst/base/gstbasetransform.h:
8944           move docs so gtk-doc picks it up now
8946 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8948         * docs/libs/gstreamer-libs-sections.txt:
8949           add missing symbols to docs
8951 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8953         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8954           back out the newsegment handling change, see #340060 for ongoing
8955           discussion
8957 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8959         * tools/gst-run.c: (get_candidates), (main):
8960           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8961           work); fix typo in error message. Fixes #340079.
8963 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8965         * common/Makefile.am:
8966         * docs/Makefile.am:
8967         * docs/faq/Makefile.am:
8968         * docs/gst/Makefile.am:
8969         * docs/libs/Makefile.am:
8970         * docs/manual/Makefile.am:
8971         * docs/plugins/Makefile.am:
8972         * docs/pwg/Makefile.am:
8973         * docs/slides/Makefile.am:
8974         * docs/upload.mak:
8975         * common/upload.mak:
8976           move upload.mak to common
8978 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8980         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8981           add more asserts on refcounts
8982           do more cleanup at end of tests
8983           fix test leaks showing in FC5
8985 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8987         * plugins/elements/gsttypefindelement.c:
8988         (gst_type_find_element_handle_event):
8989         reverted wrong change and reflowed code to avoid others falling into
8990         this trap
8992 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8995           fix changelog entry about last collectpads change,
8996           add notes about proper fix
8998 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9000         * gst/gst.c:
9001         * gst/gstregistry.c: (gst_registry_scan_path_level),
9002         (gst_registry_scan_path):
9003         * gst/gstregistry.h:
9004           only write out registry if it has changed, fixes #338339
9006 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9008         * gst/gstbin.c:
9009         * gst/gstpipeline.c:
9010         * plugins/elements/gstcapsfilter.c:
9011         * plugins/elements/gstfakesink.c:
9012         * plugins/elements/gstfakesrc.c:
9013         * plugins/elements/gstfdsink.c:
9014         * plugins/elements/gstfdsrc.c:
9015         * plugins/elements/gstfilesink.c:
9016         * plugins/elements/gstfilesrc.c:
9017         * plugins/elements/gstidentity.c:
9018         * plugins/elements/gstqueue.c:
9019         * plugins/elements/gsttee.c:
9020         * plugins/elements/gsttypefindelement.c:
9021         (gst_type_find_element_handle_event):
9022           make GstElementDetails const
9024 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9026         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9027         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9028         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9029           more detailed debug and formatting cleanup,
9030           forward newsegments to src-pad (so that e.g. adder not eats them)
9032 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9034         * gst/gstutils.c: (gst_element_link_pads):
9035           cleanup double code
9037 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9039         * libs/gst/controller/gstcontroller.c:
9040         (gst_controller_sync_values):
9041           some little tuning
9042         * tests/check/libs/controller.c: (GST_START_TEST),
9043         (gst_controller_suite):
9044           a new test for live value handling
9046 2006-04-28  Wim Taymans  <wim@fluendo.com>
9048         * gst/gstutils.c: (push_and_ref):
9049         Added some more docs.
9050         Fix refcount issue whith gst_element_found_tags() helper 
9051         function. Fixes #338335
9053         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9054         Added testsuite for gst_element_found_tags().
9056 2006-04-28  Michael Smith  <msmith@fluendo.com>
9058         * gst/gstvalue.c: (gst_value_serialize_flags):
9059           Avoid NULL dereference when trying to serialize flags containing
9060           invalid values.
9062 2006-04-28  Michael Smith  <msmith@fluendo.com>
9064         * plugins/elements/gsttypefindelement.c:
9065         (gst_type_find_element_handle_event):
9066           If we get EOS before any data is accumulated, don't use
9067           uninitialised local variables.
9069 2006-04-28  Michael Smith  <msmith@fluendo.com>
9071         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9072         (gst_dp_event_from_packet):
9073           Fixes in reading/writing events over GDP (not currently used?) - 
9074           dereferencing NULL events for unknown/invalid event types, memory
9075           leak, and change g_warning to GST_WARNING.
9077 2006-04-28  Wim Taymans  <wim@fluendo.com>
9079         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9080         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9081         (gst_base_sink_get_position), (gst_base_sink_change_state):
9082         When frame dropping is enabled, we should not ignore frames
9083         without a duration.
9084         Update some documentation.
9086 2006-04-28  Wim Taymans  <wim@fluendo.com>
9088         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9089         (gst_base_src_send_event), (gst_base_src_change_state):
9090         Documentation updates.
9092 2006-04-28  Wim Taymans  <wim@fluendo.com>
9094         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9095         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9096         handle EAGAIN, EINTR and short writes correctly. Also clean
9097         up some error cases, avoid a deadlock on bad file descriptors and
9098         use GST_DEBUG_OBJECT.
9099         Fixes #339843
9101 2006-04-28  Wim Taymans  <wim@fluendo.com>
9103         * gst/gstvalue.c: (gst_value_serialize_buffer),
9104         (gst_value_deserialize_buffer):
9105         Don't try to serialize a GValue with a NULL buffer. 
9106         Fixes #339821.
9108         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9109         Added check for serialisation of NULL buffers.
9111 2006-04-28  Wim Taymans  <wim@fluendo.com>
9113         * gst/gstminiobject.c: (gst_value_take_mini_object):
9114         Taking a NULL miniobject is valid, fix the case where
9115         we try to unref the NULL miniobject.
9117 2006-04-28  Wim Taymans  <wim@fluendo.com>
9119         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9121         * gst/gstbin.c: (gst_bin_handle_message_func):
9122         Update docs.
9123         Don't leak bin refcount when a state recalc is
9124         in progress and we delay another one #339808.
9126 2006-04-28  Wim Taymans  <wim@fluendo.com>
9128         * docs/design/part-TODO.txt:
9129         Mention QoS as an ongoing work item.
9131         * docs/design/part-buffering.txt:
9132         New doc about buffering that needs to be fleshed out
9133         at some point.
9135         * docs/design/part-qos.txt:
9136         More QoS policy for decoders/demuxers/transforms
9138         * docs/design/part-trickmodes.txt:
9139         Small update.
9141 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9143         * configure.ac:
9144           back to HEAD
9146 === release 0.10.5 ===
9148 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9150         * configure.ac:
9151           releasing 0.10.5, "Fogo"
9153 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9155         patch by: Wim Taymans
9157         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9158         (gst_pad_configure_src), (gst_pad_push):
9159         * gst/gstpipeline.c: (gst_pipeline_init):
9160           Fix internal data flow errors.  Fixes #338711.
9162 2006-04-12  Wim Taymans  <wim@fluendo.com>
9164         * tests/check/gst/gstelement.c: (GST_START_TEST):
9165         Don't leak the factory.
9167 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9169         * configure.ac:
9170         * win32/common/config.h:
9171           prerelease
9173 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9175         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9176         (gst_controller_unset_all):
9177           Free allocated GstTimedValues when freeing list nodes.
9178           Should fix leaks 'make check-valgrind' complains about.
9180         * win32/common/libgstcontroller.def:
9181           Add gst_controller_unset_all.
9183 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9185         * docs/libs/gstreamer-libs-sections.txt:
9186         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9187         (gst_controller_unset_all):
9188         * libs/gst/controller/gstcontroller.h:
9189         API: Added new method gst_controller_unset_all()
9190         fixed gst_controller_unset()
9191         * tests/check/libs/controller.c: (GST_START_TEST),
9192         (gst_controller_suite):
9193         Added two testcases for new and fixed method
9195 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9197         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9198           MSG_DONTWAIT is not defined on Cygwin, so work
9199           around that (fixes #317048).
9200           
9201 2006-04-11  Wim Taymans  <wim@fluendo.com>
9203         * gst/gstelementfactory.c: (gst_element_register),
9204         (gst_element_factory_create), (gst_element_factory_make):
9205         Some cleanups.
9206         Fixed a FIXME.
9207         Updated docs (Fixes #131079)
9209         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9210         Small cleanups.
9212         * tests/check/gst/gstelement.c: (GST_START_TEST),
9213         (gst_element_suite):
9214         Added testcase for elementfactory class field.
9216 2006-04-10  Wim Taymans  <wim@fluendo.com>
9218         * gst/gstsegment.c:
9219         Added some more docs.
9221         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9222         (gst_base_sink_reset_qos):
9223         Calculate more accurate rate values.
9225 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
9227         * gst/gst_private.h:
9228           add a new #ifdef to use __declspec(dllimport) only for
9229           other modules and not for gstreamer core
9230         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9231           use gst_guint64_to_gdouble for conversion
9232         * win32/common/libgstreamer.def:
9233           add new exported functions
9234         * win32/vs6/gst_inspect.dsp:
9235         * win32/vs6/gst_launch.dsp:
9236         * win32/vs6/libgstbase.dsp:
9237         * win32/vs6/libgstcontroller.dsp:
9238         * win32/vs6/libgstcoreelements.dsp:
9239         * win32/vs6/libgstdataprotocol.dsp:
9240         * win32/vs6/libgstnet.dsp:
9241           update project files
9243 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9245         * gst/gstbuffer.c: (gst_subbuffer_class_init):
9246         * gst/gstclock.c: (gst_clock_class_init):
9247         * gst/gstelement.c: (gst_element_class_init):
9248         * gst/gstindex.c: (gst_index_class_init):
9249         * gst/gstindexfactory.c: (gst_index_factory_class_init):
9250         * gst/gstobject.c: (gst_object_class_init),
9251         (gst_signal_object_class_init):
9252         * gst/gstpad.c: (gst_pad_class_init):
9253         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9254         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9255         * gst/gstregistry.c: (gst_registry_class_init):
9256         * gst/gstsystemclock.c: (gst_system_clock_class_init):
9257         * gst/gsttask.c: (gst_task_class_init):
9258         * gst/gstxml.c: (gst_xml_class_init):
9259         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9260         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9261         (gst_base_src_loop):
9262         * libs/gst/controller/gstcontroller.c:/
9263         (_gst_controller_class_init):
9264         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9265         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9266         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9267         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9268         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9269         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9271 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
9273         * gst/gstpad.c: (gst_pad_link):
9274           Must set peer pads before calling the link function, otherwise
9275           a task started from a link function might get a flow-not-linked
9276           result when trying to push because the other thread where the
9277           linking happens hasn't had a chance to set the peers yet. This
9278           might happen for example when a queue gets linked to a downstream
9279           element, as queue starts a streaming task when its source pad
9280           gets linked. Happens in real life when playing back flac/musepack
9281           files in playbin (#332390).
9282           
9283 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
9285         * gst/gstindex.h:
9286         * gst/gstxml.h:
9287         * libs/gst/base/gstadapter.h:
9288         * libs/gst/base/gstbasesink.h:
9289         * libs/gst/base/gstbasesrc.h:
9290         * libs/gst/base/gstbasetransform.h:
9291         * libs/gst/base/gstcollectpads.h:
9292         * libs/gst/base/gstpushsrc.h:
9293         Fix broken GObject macros
9295 2006-04-07  Wim Taymans  <wim@fluendo.com>
9297         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9298         Initialize start and stop times, thanks valgrind.
9300 2006-04-07  Wim Taymans  <wim@fluendo.com>
9302         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9303         Be a bit nicer to badly behaving upstream elements that expect
9304         us to deal with non TIME segments and timestamps (such as fakesrc
9305         in the testsuite).
9307 2006-04-07  Wim Taymans  <wim@fluendo.com>
9309         * gst/gstbus.c:
9310         Small documentation clarification about the signal watch.
9312         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9313         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9314         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9315         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9316         (gst_base_sink_get_position_last),
9317         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9318         Convert and store timestamps in stream time and running time, the
9319         raw timestamps are not useful, also document this better.
9320         Use different window sizes for good and bad QoS observations so
9321         we react to badness a little quicker.
9322         Keep track of the amount of rendered and dropped buffers.
9323         Send QoS timestamps in running time.
9325         * libs/gst/base/gstbasetransform.c:
9326         (gst_base_transform_sink_eventfunc),
9327         (gst_base_transform_handle_buffer):
9328         Compare QoS timestamps against running time.
9330 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9332         * gst/gstpad.c:
9333           Typo fixes in docs.
9335 2006-04-06  Michael Smith  <msmith@fluendo.com>
9337         * gst/gstpad.c: (gst_pad_set_property):
9338           Use g_value_get_object() instead of g_value_dup_gst_object(),
9339           to avoid double-reffing the pad template (which we then sink,
9340           so this worked previously if (and only if) the pad template
9341           was floating.
9343         * gst/gstpadtemplate.c: (gst_pad_template_init),
9344         (gst_pad_template_pad_created):
9345           Never return floating references to pad templates, create
9346           them as initially-sunken.
9348           Document an extra function (and make this stop sinking our
9349           pad template, since that is now guaranteed to do nothing,
9350           since we created it sunken).
9352         * gst/gstghostpad.c:
9353           Fix docs typo.
9355 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
9357         * gst/gstinfo.c: (__gst_in_valgrind):
9358           Add some newlines.
9360         * plugins/elements/gsttypefindelement.c:
9361         (gst_type_find_element_chain):
9362           Don't leak buffer caps.
9364 2006-04-06  Michael Smith  <msmith@fluendo.com>
9366         * gst/parse/grammar.y:
9367           Fix a leak in parse-launch for any source-or-sink named element 
9368           references used.
9370         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
9371           Unref the pipeline if it exists after we've failed parsing.
9373 2006-04-05  Michael Smith  <msmith@fluendo.com>
9375         * gst/gstpipeline.c: (gst_pipeline_init):
9376           When we create a pipeline bus, initially create it in flushing mode.
9377           Fixes leaks in at least one test, and makes a new pipeline work the
9378           same as one that has gone to READY and then back to NULL.
9380         * gst/gstelement.c:
9381           Typo fix in docs.
9383 2006-04-05  Michael Smith  <msmith@fluendo.com>
9385         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9386           Unref a pad we reffed.
9387         * tests/check/gst/gstutils.c: (GST_START_TEST):
9388           Unref bins
9390 2006-04-05  Michael Smith  <msmith@fluendo.com>
9392         * gst/gstquery.c: (gst_query_set_formats),
9393         (gst_query_set_formatsv):
9394           Fix leaking GValues in queries, as shown by valgrind/testsuite.
9396 2006-04-05  Michael Smith  <msmith@fluendo.com>
9398         * tests/check/generic/sinks.c: (GST_START_TEST):
9399           Fix a variety of memleaks in sinks check, which are only sometimes 
9400           shown by running the tests under valgrind (weird?).
9402 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
9404         * docs/version.entities.in:
9405           Fix the substituted entity name after thomas' changes on the
9406           weekend.
9408 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9410         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
9411         VALGRIND_PRINTF
9412         
9413 2006-04-05  Andy Wingo  <wingo@pobox.com>
9415         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
9417         * libs/gst/base/gstbasetransform.c
9418         (gst_base_transform_sink_eventfunc): When resetting our segment on
9419         FLUSH_STOP, also update the flag saying we haven't seen a
9420         newsegment.
9422 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9424         Patch by: Paolo Borelli  <pborelli at katamail dot com>
9426         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
9427         (gst_plugin_check_license):
9428           minor clean-ups: G_DEFINE_TYPE already takes care of the
9429           parent_class stuff, no need to do it twice. Mark array of
9430           license strings as constant. (#337103)
9431           
9432 2006-04-04  Michael Smith  <msmith@fluendo.com>
9434         * tools/gst-inspect.c: (print_element_list):
9435           Free the right plugin list; fixes a memory leak.
9437 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9439         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
9441         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9442           Don't error out on empty buffers (#336945).
9443           
9444 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
9446         * docs/libs/gstreamer-libs-sections.txt:
9447         * gst/gsttaglist.c:
9448         * libs/gst/base/gstbasesink.c:
9449         * libs/gst/base/gstbasesink.h:
9450         * libs/gst/base/gstbasesrc.c:
9451         * libs/gst/base/gstbasesrc.h:
9452           Documentation updates. Make BaseSink and BaseSrc docs contain the
9453           class structure so that people can actually see the prototypes for
9454           virtual functions they're supposed to be overriding.
9456 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
9458         * plugins/elements/gsttypefindelement.c:
9459         (gst_type_find_element_chain):
9460           More debug info; when skipping typefinding, send cached
9461           events in all cases.
9463 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9465         * configure.ac:
9466           use new AS_VERSION and AS_NANO macros
9467         * gst/gst-i18n-lib.h:
9468         * gst/gst.c:
9469         * gst/gsterror.c:
9470         * gst/gstversion.h.in:
9471         * win32/common/config.h:
9472         * win32/common/config.h.in:
9473           update accordingly
9475 2006-03-31  Michael Smith  <msmith@fluendo.com>
9477         * plugins/elements/gsttypefindelement.c:
9478         (gst_type_find_element_chain):
9479           Do not typefind content if the buffers already have caps.
9480           Neccesary for icydemux (#333657), and the right thing to do anyway.
9482 2006-03-30  Wim Taymans  <wim@fluendo.com>
9484         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9485         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9486         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9487         (gst_base_sink_record_qos_observation),
9488         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9489         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9490         (gst_base_sink_change_state):
9491         More QoS measurements as described in the design doc.
9492         Get rid of ringbuffer with observations, running average is
9493         more simple and equally good.
9494         Calculates valid proportion now.
9495         Added beginning of flood measurement.
9497 2006-03-29  Wim Taymans  <wim@fluendo.com>
9499         * docs/design/part-qos.txt:
9500         * gst/gstclock.c:
9501         Small documentation updates and additions.
9503 2006-03-29  Wim Taymans  <wim@fluendo.com>
9505         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9506         (gst_base_src_send_event), (gst_base_src_loop),
9507         (gst_base_src_change_state):
9508         Perform the EOS logic when we reach the segment stop position.
9509         Fix compilation on gcc4.1
9511 2006-03-29  Wim Taymans  <wim@fluendo.com>
9513         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9515         * plugins/elements/gstqueue.c: (gst_queue_init),
9516         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9517         (gst_queue_set_property):
9518         * plugins/elements/gstqueue.h:
9519         In queue, when EOS is received, if minimum threshold > max_size -
9520         current_level, there is chance that queue blocks forever in conditional
9521         item del wait. This is because the queue is not emptied completely due
9522         to minimum threshold.  Here is another approach. Instead of setting
9523         cur_levels to max in EOS, just zero all minimum threshold levels. This
9524         should make sure that queue gives out all data. When going to READY
9525         (stop) state, just reset the original minimum threshold levels.
9526         Fixes #336336.
9528 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
9530         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9531         (gst_type_find_element_handle_event),
9532         (gst_type_find_element_send_cached_events),
9533         (gst_type_find_element_change_state):
9534         * plugins/elements/gsttypefindelement.h:
9535           When typefinding is done in push mode, we should cache
9536           events we receive during typefinding instead of just
9537           dropping them (e.g. newsegment, custom events from
9538           dvdreadsrc etc.) and then send them out once we've
9539           determined the type of the stream (and decodebin
9540           has had a chance to plug in a decoder/demuxer).
9541           
9542 2006-03-27  Wim Taymans  <wim@fluendo.com>
9544         * docs/design/part-qos.txt:
9545         First QoS ideas.
9547 2006-03-27  Wim Taymans  <wim@fluendo.com>
9549         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9551         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9552         (gst_base_src_send_event), (gst_base_src_change_state):
9553         Handle element seek correctly when we are streaming.
9554         Fixes #326998.
9556 2006-03-24  Michael Smith  <msmith@fluendo.com>
9558         * docs/faq/gst-uninstalled:
9559           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9560           allow you to correctly run intalled applications built against old 
9561           core, using plugins that require updated core (e.g. running
9562           installed totem against a full uninstalled gstreamer stack)
9564 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9566         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9567         more debug details
9569 2006-03-24  Wim Taymans  <wim@fluendo.com>
9571         * docs/gst/gstreamer-sections.txt:
9572         Rearrange the order of the methods so that related methods
9573         are grouped together in sections.
9575 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9577         * gst/gstelement.c:
9578           Little clarification in the docs
9580 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
9582         * docs/README:
9583         formatting fix
9584         * plugins/elements/gstidentity.c:
9585         * plugins/elements/gstqueue.c:
9586         * plugins/elements/gsttee.c:
9587         * plugins/elements/gsttypefindelement.c:
9588         GST_ELEMENT_DETAILS formatting
9590 2006-03-24  Wim Taymans  <wim@fluendo.com>
9592         * libs/gst/base/gstbasesink.h:
9593         Only add fields, not insert or we break ABI.
9595 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9597         * win32/common/libgstbase.def:
9598         * win32/common/libgstreamer.def:
9599           Update, add recently added functions.
9601 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9603         * docs/gst/gstreamer-sections.txt:
9604         * gst/gstutils.c: (gst_pad_query_peer_position),
9605         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9606         * gst/gstutils.h:
9607           API: add some new utility functions:
9608            - gst_pad_query_peer_position()
9609            - gst_pad_query_peer_duration()
9610            - gst_pad_query_peer_convert()
9611           
9612 2006-03-23  Wim Taymans  <wim@fluendo.com>
9614         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9615         (gst_base_sink_init), (gst_base_sink_finalize),
9616         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9617         (gst_base_sink_set_property), (gst_base_sink_get_property),
9618         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9619         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9620         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9621         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9622         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9623         (gst_base_sink_preroll_object), (gst_base_sink_event),
9624         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9625         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9626         (gst_base_sink_query), (gst_base_sink_change_state):
9627         Decouple max-lateness and the fact that QoS messages are generated
9628         with a new property (qos).
9629         added API: GstBaseSink::async_play()
9630         Add vmethod so subclasses can be notified of ASYNC playing
9631         state changes.
9632         Collect timestamp start and stop to report better current
9633         position in EOS/PLAYING/PAUSED/READY/NULL.
9634         Refactor QoS/frame dropping and other measurements.
9635         API: GstBaseSrc::qos
9636         Fixes #326311
9638         * libs/gst/base/gstbasesink.h:
9639         Added Private struct.
9640         API: gst_base_sink_set_qos_enabled()
9641         API: gst_base_sink_is_qos_enabled()
9643 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
9645         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9646           If compiling against GLib-2.8 or newer, try to read the
9647           registry file using GMappedFile first before falling back
9648           to fopen() + fread() (#332151).
9650 2006-03-22  Wim Taymans  <wim@fluendo.com>
9652         * gst/gstinfo.c: (gst_debug_set_active),
9653         (gst_debug_category_set_threshold):
9654         Disable debugging unless explicitly activated.
9655         Fixes #335480.
9657 2006-03-22  Wim Taymans  <wim@fluendo.com>
9659         * gst/gstelement.c: (gst_element_set_locked_state),
9660         (gst_element_dispose):
9661         Cleanup the error case.
9663         * gst/gstobject.c: (gst_object_dispose):
9664         print a critical when some object was disposed with
9665         a parent, also revive the object since it might
9666         crash the parent.
9668 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
9670         * tools/gst-launch.1.in:
9671           Fix another typo.
9673 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9675         * configure.ac:
9676         * tests/check/Makefile.am:
9677           disable some tests when we don't have a registry
9678         * tests/check/gst/gstutils.c: (gst_utils_suite):
9679           don't build the part that needs parsing
9681 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9683         * gst/Makefile.am
9684         * tests/examples/Makefile.am:
9685           fix --disable-parse build
9687 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9689         * tools/gst-feedback.1.in:
9690           Fix typo: s/feeback/feedback/ (#133494).
9692 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9694         * tools/Makefile.am:
9695         * tools/gst-launch.1.in:
9696           Add FILES section and correct entry about GST_REGISTRY_PATH
9697           environment variable (#133495; #133494).
9699 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9701         * tools/Makefile.am:
9702         * tools/gst-md5sum.1.in:
9703         * tools/gst-md5sum.c:
9704           Remove gst-md5sum and man page (the md5sink element
9705           required was removed ages ago)
9707 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9709         * gst/gststructure.c: (gst_structure_id_set_value):
9710           Make sure that string fields in structures/taglists
9711           contain valid UTF-8 - we don't want to pass rubbish to
9712           applications because of a buggy plugin (cp. #334167).
9714 2006-03-21  Edward Hervey  <edward@fluendo.com>
9716         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9717         (gst_bin_handle_message_func):
9718         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9719         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9720         (gst_element_set_bus_func):
9721         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9722         * gst/gstminiobject.c: (gst_value_set_mini_object),
9723         (gst_value_take_mini_object):
9724         * gst/gstpad.c: (gst_pad_set_pad_template):
9725         * gst/gstpipeline.c: (gst_pipeline_dispose),
9726         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9728         (gst_collect_pads_chain):
9729         * libs/gst/net/gstnettimeprovider.c:
9730         (gst_net_time_provider_set_property):
9731         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9732         It's in fact all issues with gst_*object_replace().
9734 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9736         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
9737         
9738         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9739         * pkgconfig/gstreamer-check.pc.in:
9740           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9742 2006-03-21  Edward Hervey  <edward@fluendo.com>
9744         * gst/gstbuffer.h:
9745         * gst/gstevent.h:
9746         * gst/gstmessage.h:
9747         gst_[buffer|event|message]_ref() macros are replaced by a static
9748         inline functions because gcc-4.1 will about if the return value
9749         isn't used.
9750         * tests/check/gst/gstevent.c: (event_probe):
9751         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9753 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
9755         * gst/gstutils.h:
9756         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9757         the type' case. (Closes: #335195 for now). In the future, when we
9758         depend on GLib 2.10, we could also intern the type name using
9759         g_intern_static_string()
9761 2006-03-20  Wim Taymans  <wim@fluendo.com>
9763         * gst/gstbin.c: (gst_bin_handle_message_func),
9764         (bin_query_max_init), (bin_query_position_fold),
9765         (bin_query_position_done), (gst_bin_query):
9766         Position query should also take max of all streams.
9768 2006-03-20  Wim Taymans  <wim@fluendo.com>
9770         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9771         (gst_fake_src_finalize):
9772         Fix leaks in fakesrc.
9774         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9775         Fix leaks in the testcase.
9777 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9779         * gst/gst_private.h:
9780           add win32 specific import decoration(__declspec(dllimport)) 
9781           for all extern GstDebugCategory * variables
9782         * win32/common/libgstbase.def:
9783         * win32/common/libgstcontroller.def:
9784         * win32/common/libgstreamer.def:
9785           Add some exports, remove empty lines
9786         * win32/common/libgstdataprotocol.def:
9787         * win32/common/libgstdataprotocol.dsp:
9788         * win32/common/libgstnet.def:
9789         * win32/common/libgstnet.dsp:
9790           new project files and exportation files added
9791         
9792 2006-03-19  Wim Taymans  <wim@fluendo.com>
9794         * tests/check/libs/basesrc.c: (eos_event_counter):
9795         Use proper return value for probe.
9797 2006-03-17  Wim Taymans  <wim@fluendo.com>
9799         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9800         (gst_pad_push):
9801         Don't leak buffers, caps and pads on negotiation errors.
9803 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9805         * docs/faq/cvs.xml:
9806         * docs/faq/dependencies.xml:
9807         * docs/faq/developing.xml:
9808         * docs/faq/faq.xml:
9809         * docs/faq/general.xml:
9810         * docs/faq/getting.xml:
9811         * docs/faq/legal.xml:
9812         * docs/faq/troubleshooting.xml:
9813         * docs/faq/using.xml:
9814         Faq review and update.
9816 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9818         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9819         (gst_pad_push):
9820         Don't pound the cpu to pieces by checking get_caps when accept_caps
9821         is called with the same caps as the pad already has.
9822         Use GST_DEBUG_OBJECT when outputting caps change information.
9824 2006-03-15  Wim Taymans  <wim@fluendo.com>
9826         * gst/gstclock.c: (gst_clock_class_init):
9827         Fix docs.
9829 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9831         * gst/gstbuffer.h:
9832         Documentation fix.
9834         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9835         (gst_pad_accept_caps), (gst_pad_configure_sink),
9836         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9837         Make the default acceptcaps behaviour be to check the requested 
9838         caps against the gst_pad_get_caps output. 
9840         Ensure that gst_pad_accept_caps is used to check caps when a pad
9841         doesn't have a setcaps function, so that pads automatically refuse 
9842         caps that they don't allow in their pad template. (Fixes #332986)
9844         When a buffer with attached caps is pushed, ensure that the source 
9845         pad receives those caps even if the element didn't call
9846         gst_pad_set_caps first.
9848 2006-03-15  Wim Taymans  <wim@fluendo.com>
9850         * libs/gst/base/gstadapter.c:
9851         Add some docs.
9853 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9855         * win32/common/libgstbase.def:
9856         * win32/common/libgstcontroller.def:
9857         * win32/common/libgstreamer.def:
9858           Add a whole bunch of missing functions (#334434).
9860 2006-03-14  Wim Taymans  <wim@fluendo.com>
9862         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9863         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9864         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9865         Better debug info when we receive a segment event.
9866         Reorganize a bit so we can pass the get_times() results around.
9867         Use the segment format when calculating the running time.
9868         Don't do QoS is sync is disabled or we have no clock or the
9869         element does not want us to sync to the clock.
9870         Don't drop buffers if QoS is disabled for now.
9872 2006-03-14  Wim Taymans  <wim@fluendo.com>
9874         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9875         Marked the stats property as unimplemented so people don't get
9876         wild ideas.
9877         Add debug message when regression goes wrong.
9878         Added some more docs.
9880 2006-03-14  Wim Taymans  <wim@fluendo.com>
9882         * gst/gstsegment.c: (gst_segment_to_stream_time):
9883         Return correct return type in case of errors.
9885 2006-03-14  Wim Taymans  <wim@fluendo.com>
9887         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9888           Don't segfault on invalid formats.
9890 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9892         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9893           Can't use gst_segment_to_running_time() when the segment
9894           is not in GST_TIME_FORMAT (like with filesink, for example).
9895           Stops flac encoding pipelines from spewing critical warnings
9896           at EOS (#331248).
9897           
9898 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9900         * gst/gstpipeline.c: (gst_pipeline_class_init):
9901           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9903         * plugins/elements/gsttypefindelement.c:
9904         (gst_type_find_element_handle_event):
9905           Don't try to typefind empty streams.
9907 2006-03-14  Wim Taymans  <wim@fluendo.com>
9909         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9910         (gst_base_sink_do_qos):
9911         Separate QoS calculation.
9912         Only drop buffers when lateness is bigger than the 
9913         duration of the buffer.
9915 2006-03-13  Wim Taymans  <wim@fluendo.com>
9917         * gst/gstpipeline.c: (gst_pipeline_set_property),
9918         (gst_pipeline_get_property), (do_pipeline_seek),
9919         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9920         (gst_pipeline_get_delay):
9921         Don't deadlock when reading properties.
9923 2006-03-13  Wim Taymans  <wim@fluendo.com>
9925         * libs/gst/base/gstbasetransform.c:
9926         (gst_base_transform_class_init), (gst_base_transform_init),
9927         (gst_base_transform_sink_event),
9928         (gst_base_transform_sink_eventfunc),
9929         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9930         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9931         (gst_base_transform_set_property),
9932         (gst_base_transform_get_property),
9933         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9934         (gst_base_transform_set_qos_enabled),
9935         (gst_base_transform_is_qos_enabled):
9936         * libs/gst/base/gstbasetransform.h:
9937         Make basetransform virtual method for src events too.
9938         Handle QOS in basetransform.
9939         API: gst_base_transform_update_qos()
9940         API: gst_base_transform_set_qos_enabled()
9941         API: gst_base_transform_is_qos_enabled()
9943 2006-03-13  Wim Taymans  <wim@fluendo.com>
9945         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9946         (gst_base_sink_do_sync):
9947         Small cleanups.
9948         Use QOS debug category.
9950 2006-03-13  Wim Taymans  <wim@fluendo.com>
9952         * plugins/elements/gstqueue.c:
9953         Very small doc update.
9955 2006-03-13  Wim Taymans  <wim@fluendo.com>
9957         * gst/gst_private.h:
9958         * gst/gstinfo.c: (_gst_debug_init):
9959         Added QOS debug category
9961 2006-03-13  Wim Taymans  <wim@fluendo.com>
9963         * docs/gst/gstreamer-sections.txt:
9964         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9965         * gst/gstbin.h:
9966         * gst/gstbus.c: (gst_bus_class_init):
9967         * gst/gstbus.h:
9968         * gst/gstclock.c:
9969         * gst/gstelement.c: (gst_element_set_locked_state):
9970         * gst/gstsegment.c:
9971         Documentation updates.
9973         * gst/gstpipeline.c: (gst_pipeline_get_type),
9974         (gst_pipeline_class_init), (gst_pipeline_init),
9975         (gst_pipeline_dispose), (gst_pipeline_set_property),
9976         (gst_pipeline_get_property), (do_pipeline_seek),
9977         (gst_pipeline_send_event), (gst_pipeline_change_state),
9978         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9979         (gst_pipeline_get_delay):
9980         * gst/gstpipeline.h:
9981         Added methods for setting the delay.
9982         API: gst_pipeline_set_delay()
9983         API: gst_pipeline_get_delay()
9984         Add pipeline debug category
9985         Various cleanups.
9986         Updated docs.
9987         Don't reset stream time when seek failed.
9989 2006-03-13  Wim Taymans  <wim@fluendo.com>
9991         * docs/design/draft-klass.txt:
9992         * docs/design/part-clocks.txt:
9993         * docs/design/part-events.txt:
9994         * docs/design/part-gstbin.txt:
9995         * docs/design/part-gstpipeline.txt:
9996         * docs/design/part-messages.txt:
9997         * docs/design/part-negotiation.txt:
9998         * docs/design/part-overview.txt:
9999         * docs/design/part-preroll.txt:
10000         * docs/design/part-seeking.txt:
10001         * docs/design/part-states.txt:
10002         * docs/design/part-streams.txt:
10003         Documentation updates.
10005 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10007         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10008         us to leak strings...
10010 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10012         * libs/gst/net/gstnettimeprovider.c:
10013           fix docs
10014         * win32/common/config.h:
10015           update
10017 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10019         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10021         * configure.ac:
10022           Don't check for libgnomeui (leftover from old examples
10023           that aren't built or disted any longer) (#334303).
10024           
10025 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10027         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10028         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10029           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10030           there's no space left on the device.
10032 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10034         * gst/gstclock.h:
10035           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10036           to cast the input to GstClockTime before comparing with
10037           another GstClockTime value.
10039 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10041         * configure.ac:
10042           back to trunk
10044 === release 0.10.4 ===
10046 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10048         * configure.ac:
10049           releasing 0.10.4, "Light"
10051 2006-03-10  Michael Smith  <msmith@fluendo.com>
10053         * libs/gst/dataprotocol/dataprotocol.c:
10054           Fix docs for dataprocotol to not get the return types completely
10055           wrong for a few functions.
10057 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10059         * docs/gst/gstreamer-sections.txt:
10060         * gst/gstpipeline.c: (gst_pipeline_class_init),
10061         (gst_pipeline_init), (gst_pipeline_set_property),
10062         (gst_pipeline_get_property), (gst_pipeline_change_state),
10063         (gst_pipeline_set_auto_flush_bus),
10064         (gst_pipeline_get_auto_flush_bus):
10065         * gst/gstpipeline.h:
10066           Add new API: gst_pipeline_set_auto_flush_bus() and
10067           gst_pipeline_get_auto_flush_bus() to disable automatic
10068           flushing of the pipeline's GstBus when going from READY
10069           to NULL state (#332045).
10071 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10073         * docs/gst/gstreamer-sections.txt:
10074         * gst/gsturi.c: (gst_uri_has_protocol):
10075         * gst/gsturi.h:
10076            Add new API: gst_uri_has_protocol() (#333779).
10078 2006-03-09  Wim Taymans  <wim@fluendo.com>
10080         * gst/gstclock.c: (gst_clock_entry_new),
10081         (gst_clock_id_compare_func), (gst_clock_id_wait),
10082         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10083         (gst_clock_init), (gst_clock_get_internal_time),
10084         (gst_clock_set_master), (do_linear_regression),
10085         (gst_clock_add_observation), (gst_clock_set_property):
10086         * gst/gstclock.h:
10087         Review docs.
10088         Small cleanups.
10089         Fix a possible segfault when the window-size is made smaller.
10090         Calculate jitter before performing the clock wait. Ideally
10091         the clock implementation should calculate jitter but we need
10092         API breakage for that.
10094         * gst/gstsystemclock.c: (gst_system_clock_init):
10095         Docs review.
10096         
10097         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10098         Remove leftover else
10100         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10101         (gst_systemclock_suite):
10102         Added check to test GST_CLOCK_DIFF.
10104 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10106         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10107         (gst_type_find_helper_get_range):
10108           If we are provided with the size, we should implement
10109           GstTypeFind::get_length, so that typefind functions who
10110           want to can actually peek at the middle of a file.
10112 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10114         * docs/manual/advanced-dataaccess.xml:
10115           Add some very very basic error checking.
10117         * docs/pwg/appendix-checklist.xml:
10118           Some updates to the list of things to check when writing an element.
10120 2006-03-08  Wim Taymans  <wim@fluendo.com>
10122         * docs/design/part-element-transform.txt:
10123         Added some docs about the design of tranform elements.
10125         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10126         (gst_base_src_loop), (gst_base_src_change_state):
10127         Mark buffers with the DISCONT flag.
10129 2006-03-08  Michael Smith  <msmith@fluendo.com>
10131         * gst/gstregistry.h:
10132         * gst/gstregistryxml.c: (gst_registry_save),
10133         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10134         (gst_registry_xml_save_pad_template),
10135         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10136         (gst_registry_xml_write_cache):
10137           Rewrite registry-saving to avoid race conditions and check for
10138           failed writes.
10140 2006-03-08  Wim Taymans  <wim@fluendo.com>
10142         * libs/gst/base/gstbasetransform.c:
10143         (gst_base_transform_transform_caps),
10144         (gst_base_transform_transform_size),
10145         (gst_base_transform_prepare_output_buffer),
10146         (gst_base_transform_get_unit_size),
10147         (gst_base_transform_buffer_alloc),
10148         (gst_base_transform_handle_buffer),
10149         (gst_base_transform_change_state):
10150         Cleanups, separate normal flow from errors, add sensible
10151         DEBUG lines.
10152         Don't try to renegotiate when allocating an output buffer.
10153         Also copy DISCONT buffer flag when copying a buffer.
10154         Reset the transform after we finish streaming, not during.
10156 2006-03-08  Wim Taymans  <wim@fluendo.com>
10158         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10159         Use last buffer timestamp in qos message.
10161 2006-03-07  Wim Taymans  <wim@fluendo.com>
10163         Patch by: Christophe Fergeau
10165         * docs/pwg/advanced-tagging.xml:
10166         * docs/pwg/building-pads.xml:
10167           fixes #333416
10169 2006-03-07  Wim Taymans  <wim@fluendo.com>
10171         * docs/libs/gstreamer-libs-sections.txt:
10172         Added basesink new methods.
10174         * gst/gstevent.c:
10175         * gst/gstevent.h:
10176         Docs updates. Flesh out the QoS docs.
10178         * libs/gst/base/gstadapter.c:
10179         Small doc clarification about ownership and flushing.
10181         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10182         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10183         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10184         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10185         * libs/gst/base/gstbasesink.h:
10186         API additions: 
10187         Added new methods to allow subclass to control max-lateness 
10188         and sync.
10189         Generate very basic QoS events based on last sync observation.
10190         Updated docs, fix typo, added some QoS blurb.
10192         * libs/gst/base/gstbasesrc.c:
10193         Remove obsolete _get_state() calls from docs.
10195 2006-03-07  Wim Taymans  <wim@fluendo.com>
10197         * docs/libs/gstreamer-libs-sections.txt:
10198         * libs/gst/base/gstbasetransform.h:
10199         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10200         Fix docs for GstBaseSrc.
10202 2006-03-07  Wim Taymans  <wim@fluendo.com>
10204         * docs/gst/gstreamer-sections.txt:
10205         * gst/gstbuffer.h:
10206         * gst/gstvalue.c:
10207         * libs/gst/base/gstbasetransform.h:
10208         Small documentation fixes.
10210 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10212         * gst/gstvalue.c:
10213           Document thread-unsafety of gst_value_register_foo_func()
10214           when used at the same time as gst_value_foo() (#322628).
10216 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10218         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10219         (gst_push_src_check_get_range):
10220           Push sources don't support pull mode by default.
10222 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10224         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10225         (gst_base_src_init), (gst_base_src_pad_check_get_range),
10226         (gst_base_src_default_check_get_range):
10227         * libs/gst/base/gstbasesrc.h:
10228           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10229           provide default implementation, and rename
10230           gst_base_src_check_get_range() to
10231           gst_base_src_pad_check_get_range() for clarity.
10233 2006-03-06  Wim Taymans  <wim@fluendo.com>
10235         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10236         Make property overridable.
10238 2006-03-06  Wim Taymans  <wim@fluendo.com>
10240         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10241         (gst_base_sink_init), (gst_base_sink_set_property),
10242         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10243         * libs/gst/base/gstbasesink.h:
10244         API addition: Make max-lateness a property.
10246 2006-03-06  Wim Taymans  <wim@fluendo.com>
10248         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10249         (gst_base_sink_do_sync), (gst_base_sink_render_object):
10250         Don't ever draw a frame that is >10ms late.
10252 2006-03-06  Michael Smith  <msmith@fluendo.com>
10254         * gst/gstmessage.c: (_gst_message_copy):
10255           When copying a message, set the parent_refcount of the enclosed
10256           structure to point at the copy, not the original message.
10258 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
10260         Patch by: Christophe Fergeau
10262         * gst/gstutils.h:
10263           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10264           usable in c++ code (#333417)
10266 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10268         * gst/gstclock.h:
10269           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10271 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
10273         * libs/gst/base/gstbasetransform.c:
10274         (gst_base_transform_transform_caps):
10275           Make sure caps are writable before passing them to
10276           gst_caps_append().
10278 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10280         * gst/gsterror.h:
10281           Fix some minor docs errors.
10283 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
10285           Patch by: Ross Burton <ross at burtonini dot com>
10287         * gst/gsterror.c: (_gst_resource_errors_init):
10288         * gst/gsterror.h:
10289           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10291 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10293         * gst/gst.c:
10294         Add a check and output a g_warning when GStreamer is built
10295         against GLib 2.6 but running against 2.8 or higher, and vice 
10296         versa. (Closes: #323542)
10298 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
10300         * gst/parse/parse.l:
10301           Commit patch for parse_launch syntax from #331255. Removes 
10302           support for quoted strings and mimetypes when writing filtered 
10303           caps. See the bug report for more details - I'm pretty sure this
10304           obscure feature is not in use by _anyone_ anywhere.
10306           With this simple change, the size of the gstreamer.so here 
10307           drops from 2193KB to 1565KB.
10309 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10311         * plugins/elements/gsttypefindelement.h:
10312         * plugins/elements/gsttypefindelement.c:
10313         (gst_type_find_element_src_event), (start_typefinding),
10314         (stop_typefinding), (gst_type_find_element_handle_event),
10315         (gst_type_find_element_chain),
10316         (gst_type_find_element_chain_do_typefinding):
10317           Use gst_type_find_helper_for_buffer() for chain-based
10318           typefinding.
10320 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10322         * plugins/elements/gsttypefindelement.c:
10323         (gst_type_find_element_class_init),
10324         (gst_type_find_element_set_property),
10325         (gst_type_find_element_get_property):
10326           Deprecate "maximum" property (not only was it only taken into
10327           account for typefinding in push-mode anyway, it also was never
10328           actually possible to set it in the first place because the
10329           property was registered with the numeric property ID for the
10330           "minimum" property). Register "maximum" property correctly,
10331           for the sake of future copy'n'pasters. Remove some cruft
10332           from property get/set functions.
10334 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
10336         * plugins/elements/gsttypefindelement.c:
10337         (gst_type_find_element_activate):
10338           Use gst_type_find_helper_get_range() here, so we
10339           can honour the "minimum" property and also emit
10340           the signal with the correct probability of the found caps.
10342 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
10344         * docs/libs/gstreamer-libs-sections.txt:
10345         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
10346         (helper_find_suggest), (gst_type_find_helper_get_range),
10347         (gst_type_find_helper):
10348         * libs/gst/base/gsttypefindhelper.h:
10349           New API: gst_type_find_helper_get_range() (#333042).
10351 2006-03-02  Michael Smith  <msmith@fluendo.com>
10353         * gst/gstregistryxml.c: (load_feature):
10354           Asserting on a failure to read part of the registry is Not Cool.
10355           Just log a warning and return NULL (which is already handled)
10357 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
10359         * win32/common/libgstbase.def:
10360           added export of gst_type_find_helper_for_buffer
10361         * win32/common/libgstbase.def:
10362           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
10363           gst_ghost_pad_get_target
10365 2006-02-28  Wim Taymans  <wim@fluendo.com>
10367         * docs/design/draft-klass.txt:
10368         We use Filter now.
10369         Added Connector to mark elements that are only used to
10370         allow pipeline connections.
10371         Moved Debug to extra feature since most of them are 
10372         functionally something else.
10374 2006-02-28  Wim Taymans  <wim@fluendo.com>
10376         * docs/design/draft-klass.txt:
10377         Some updates and clarifications.
10379 2006-02-28  Wim Taymans  <wim@fluendo.com>
10381         * docs/design/draft-klass.txt:
10382         Proposal for klass field values.
10384         * docs/design/part-streams.txt:
10385         Start of a doc describing stream anatomy.
10387 2006-02-28  Wim Taymans  <wim@fluendo.com>
10389         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
10390         Help the compiler a bit with type registration.
10391         Use existing forward cod path instead of duplicating it when 
10392         handling a message.
10393         
10394         * gst/gstbus.c: (gst_bus_get_type):
10395         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
10396         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
10397         * gst/gstclock.c: (gst_clock_get_type):
10398         * gst/gstelement.c: (gst_element_get_type),
10399         * gst/gstelementfactory.c: (gst_element_factory_get_type):
10400         * gst/gstindexfactory.c: (gst_index_factory_get_type):
10401         * gst/gstminiobject.c: (gst_mini_object_get_type):
10402         * gst/gstpad.c: (gst_pad_get_type):
10403         * gst/gstsegment.c: (gst_segment_get_type):
10404         * gst/gststructure.c: (gst_structure_get_type):
10405         * gst/gstsystemclock.c: (gst_system_clock_get_type):
10406         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
10407         * gst/gstvalue.c:
10408         Help compiler with type registration.
10410         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
10411         Small doc update.
10413 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10415         * plugins/elements/gsttypefindelement.c:
10416         (gst_type_find_element_handle_event):
10417           When we get an EOS event and have not found a type yet
10418           (most likely because we had not yet accumulated
10419           TYPE_FIND_MIN_SIZE of data yet), try to determine the
10420           type given the data we have so far. Fixes typefinding
10421           for very short streams again, most notably quicktime
10422           redirections as used on Apple's trailer site (#331701).
10424 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10426         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
10427         (gst_type_find_helper):
10428           Try typefinding factories with the highest rank first.
10430 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10432         * docs/libs/gstreamer-libs-docs.sgml:
10433         * docs/libs/gstreamer-libs-sections.txt:
10434         * libs/gst/base/gsttypefindhelper.c:
10435           Add section for typefind helper and add documentation
10436           for the old and the new function.
10438 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10440         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
10441         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
10442         (gst_type_find_helper_for_buffer):
10443         * libs/gst/base/gsttypefindhelper.h:
10444           New API: gst_type_find_helper_for_buffer() (#332723).
10445           
10446 2006-02-27  Michael Smith  <msmith@fluendo.com>
10448         Patch by: Loïc Minier
10450         * configure.ac:
10451         * docs/Makefile.am:
10452         * docs/slides/Makefile.am:
10453           prevent CVS directories getting disted.
10455 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
10457         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10458           Use the REFCOUNTING category for caps refcounting.
10459           
10460 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10462         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10463           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10465 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
10467         * plugins/elements/gsttypefindelement.c:
10468         (gst_type_find_element_activate):
10469           Use gst_pad_check_pull_range() before _activate_pull()
10470           to avoid unnecessary open/close (see #331690).
10472 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10474         * gst/gstutils.c:
10475           Docs enhancement: make it crystal clear what the
10476           gst_pad_add_*_probe() callbacks should look like.
10478 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
10480         * libs/gst/base/gstbasesrc.c:
10481           Document how applications can stop recording from
10482           live sources (see #330996).
10484 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10486         * tests/check/Makefile.am:
10487         * tests/check/libs/basesrc.c: (eos_event_counter),
10488         (basesrc_eos_events_pull), (basesrc_eos_events_push),
10489         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10490         (gst_basesrc_suite), (main):
10491           ... and add some tests for the base source EOS stuff.
10493 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10495         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10496           Test case originally showed the problem fixed below,
10497           but was then amended. Add checks back at the place
10498           where they used to be.
10500 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10502         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10503         (gst_base_src_init), (gst_base_src_loop),
10504         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10505         (gst_base_src_change_state):
10506         * libs/gst/base/gstbasesrc.h:
10507           Don't unconditionally send EOS when going from PAUSED to
10508           READY state, esp. make sure we don't send two EOS events
10509           in some cases (e.g. one when reaching EOS and one when
10510           going from PAUSED to READY). Also, we don't want to send
10511           EOS events when operating in pull mode. However, we do
10512           want to send an EOS event when shutting down a live
10513           source explicitly, for example (fixes #330996).
10514           
10515 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10517         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10518           Update src->read_position after a seek when not using mmap.
10519           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10521 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
10523         * gst/Makefile.am:
10524         * gst/gstparse.h:
10525         * gst/gstutils.c:
10526         * gst/gstutils.h:
10527         Make things work with --disable-parse as they do with 
10528         --disable-load-save - the symbols involved disappear, but the
10529         header is still installed and GST_DISABLE_PARSE is included via
10530         gstconfig.h
10532 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10534         * libs/gst/base/gstbasetransform.c:
10535         (gst_base_transform_change_state): Fix a stupid bug. I was 
10536         sure I compiled that.
10538 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10540         * gst/gstpad.c: (gst_pad_set_blocked_async):
10541         * gst/gstutils.c: (gst_pad_add_data_probe),
10542         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10543         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10544         (gst_pad_remove_buffer_probe): Make those function act on the
10545         ghostpad target when it's a ghostpad. (Closes #331727)
10547 2006-02-20  Julien MOUTTE  <julien@moutte.net>
10549         * libs/gst/base/gstbasetransform.c:
10550         (gst_base_transform_change_state): Make basetransform reusable.
10551         (Closes #331898)
10553 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
10555         * docs/random/release:
10556         Move the current documentation of how to do a release to the top
10557         of the file.
10559         * gst/gstbin.c: (gst_bin_class_init),
10560         (gst_bin_handle_message_func):
10561         Allow multiple state-recalculation threads. (Closes #328873)
10563 2006-02-19  Julien MOUTTE  <julien@moutte.net>
10565         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10566         * gst/gstpad.c: (gst_pad_set_event_function),
10567         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10568         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10569         2 strings. You can't use the STR_NULL macro on that.
10571 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
10573         * gst/gstpad.c: (gst_pad_set_event_function),
10574         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10575         (gst_pad_set_getcaps_function)
10576         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10577           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10578           So now, we can use --gst-debug-level=5 on Windows
10579         * win32/common/libgstcontroller.def:
10580           Added export of gst_controller_init
10581         * win32/vs6/libgstcontroller.dsp:
10582           Fixed Release post build configuration
10584 2006-02-17  Wim Taymans  <wim@fluendo.com>
10586         * tests/check/gst/gstquery.c: (GST_START_TEST):
10587         Added another check.
10589 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
10591         * plugins/elements/gsttypefindelement.c: (find_peek):
10592           We can do peeks at non-zero offsets, as long as they
10593           fall within the buffer we have.
10595 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
10597         * tests/check/Makefile.am:
10598         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10599         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10600         (parse_suite), (main):
10601           Add testsuite for parse launch syntax
10603 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
10605         * plugins/elements/gsttypefindelement.c:
10606         (gst_type_find_element_chain):
10607           When typefinding is unsuccessful in the chain function, don't
10608           error out immediately. Only error out with NO_CAPS_FOUND if
10609           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10610           otherwise simply wait for more data so we can try typefinding
10611           again with more data later. Also, don't attempt to typefind
10612           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10613           this should improve typefinding from network sources where the
10614           size of the first buffer can be somewhat random.
10616 2006-02-14  Wim Taymans  <wim@fluendo.com>
10618         * docs/gst/gstreamer-sections.txt:
10619         * gst/gstpadtemplate.c:
10620         * gst/gstpadtemplate.h:
10621         Fix padtemplate docs, fixes #328805.
10623 2006-02-14  Wim Taymans  <wim@fluendo.com>
10625         * tools/gst-launch.c: (main):
10626         NO_PREROLL is not an ERROR so don't send confusing messages
10627         to the user.
10629 2006-02-14  Wim Taymans  <wim@fluendo.com>
10631         Patch by: Torsten Schoenfeld
10633         * gst/gstregistry.c: (gst_registry_get_default),
10634         (_gst_registry_cleanup):
10635         Protect default registry with lock and ref/sink it.
10636         Fixes #324818
10638 2006-02-14  Wim Taymans  <wim@fluendo.com>
10640         * gst/gstbuffer.c:
10641         * gst/gstquery.c: (gst_query_list_add_format),
10642         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10643         (gst_query_parse_formats_nth):
10644         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10645         Docs fixes.
10647 2006-02-14  Wim Taymans  <wim@fluendo.com>
10649         * docs/gst/gstreamer-sections.txt:
10650         Reworked query docs.
10652         * gst/gstquery.c: (gst_query_new_formats),
10653         (gst_query_list_add_format), (gst_query_set_formats),
10654         (gst_query_set_formatsv), (gst_query_parse_formats_length),
10655         (gst_query_parse_formats_nth):
10656         * gst/gstquery.h:
10657         Flesh out formats query, added some new methods.
10658         Fix part of #324398.
10660         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10661         Added query creation tests.
10663 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
10665         * gst/gstpad.c: (fixate_value):
10666         Add a default fixation for fraction lists.
10668 2006-02-13  Wim Taymans  <wim@fluendo.com>
10670         * gst/gsttask.c: (gst_task_init), (gst_task_func),
10671         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10672         (gst_task_join):
10673         * gst/gsttask.h:
10674         Detect and warn for obvious deadlocks. fixes #320340
10675         Fix error case where lock was not released.
10677         * tests/check/Makefile.am:
10678         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10679         (task_func), (gst_element_suite), (main):
10680         Add task check.
10682 2006-02-13  Wim Taymans  <wim@fluendo.com>
10684         * docs/gst/gstreamer-sections.txt:
10685         * gst/gstbus.c:
10686         Add new functions to docs.
10688 2006-02-13  Wim Taymans  <wim@fluendo.com>
10690         * docs/design/part-TODO.txt:
10691         Updated TODO list, basesrc supports seeking to non-bytes
10692         formats.
10694         * docs/design/part-element-sink.txt:
10695         Update docs.
10697         * gst/gstbin.c: (bin_replace_message),
10698         (gst_bin_handle_message_func):
10699         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10700         * gst/gstevent.c: (gst_event_finalize):
10701         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10702         (gst_pad_send_event):
10703         Use shiny new _TYPE_NAME macros.
10705         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10706         Move debug statement up.
10708         * gst/gstelement.c: (gst_element_set_locked_state):
10709         Add some debugging.
10711 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
10713         * docs/gst/gstreamer-sections.txt:
10714         * gst/gstmessage.h:
10715         * gst/gstquery.h:
10716           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10717           macros (#330906). Also, document the already existing
10718           GST_QUERY_TYPE macro.
10720 2006-02-13  Wim Taymans  <wim@fluendo.com>
10722         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10723         (event_probe), (GST_START_TEST):
10724         Only events up to the pipeline EOS are counted, there are
10725         some more when going to NULL currently which we don't care
10726         about for now.
10728 2006-02-13  Wim Taymans  <wim@fluendo.com>
10730         * gst/gstpad.c: (gst_pad_send_event):
10731         Correctly check flushing and emit probes. fixes #330125
10733 2006-02-10  Andy Wingo  <wingo@pobox.com>
10735         * gst/gstbus.c (gst_bus_class_init): Declare our private data
10736         structure.
10737         (gst_bus_init): Cache the location of the private data in the
10738         instance structure.
10739         (gst_bus_enable_sync_message_emission) 
10740         (gst_bus_disable_sync_message_emission): Implement new public
10741         functions.
10742         (gst_bus_post): Emit the sync-message signal if the user asked for
10743         it. Fixes #330684.
10745         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10746         location of the bus-private structure.
10747         (gst_bus_enable_sync_message_emission)
10748         (gst_bus_disable_sync_message_emission): API addition
10750 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
10752         Patch by: Vincent Torri
10754         * docs/pwg/building-boiler.xml:
10755         PWG patch from #326800
10757 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10759         * configure.ac:
10760         * docs/Makefile.am:
10761         * docs/design/Makefile.am:
10762           Dist design docs.
10764 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10766         * configure.ac:
10767           back to CVS
10769 === release 0.10.3 ===
10771 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
10773         * configure.ac:
10774           releasing 0.10.3, "Like a virgin"
10776 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10778         * configure.ac:
10779           2nd prerelease of 0.10.3
10780           Bump libtool versioning.
10782 2006-02-07  Andy Wingo  <wingo@pobox.com>
10784         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10785         update last_stop if we're in TIME format and the timestamp is
10786         valid.
10788         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10789         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10790         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10791         If we get a new newsegment with a different format, adapt
10792         accordingly.
10794         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10795         of 0. Not a problem, really.
10797         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10798         warn if sync=true.
10800 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10802         * configure.ac:
10803           Prelease of 0.10.3
10805 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10807         * win32/vs7:
10808           project files updated to the default vs7 configuration
10809         * win32/common/libgstbase.def:
10810         * win32/common/libgstreamer.def:
10811           added new symbols,
10812           removed empty lines,
10813           sorted all exported symbols alphabetically
10814         * win32/common/dirent.c:
10815         * win32/common/dirent.h:
10816         * win32/common/gchar.h:
10817           use windows line end.
10818           
10819 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10821         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10822           Send EOS event when stopping.
10824 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10826         * docs/README:
10827           Tell folks what to do if the plugin-foobar.xml file
10828           hasn't been generated for a newly-added plugin.
10830 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10832         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10833         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10834         (gst_collect_pads_start), (gst_collect_pads_stop),
10835         (gst_collect_pads_event): Collectpads now holds a reference
10836         to the GstPad that was added. Indeed we don't want to look
10837         at pads that might just go away with no warning...
10839 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10842         (gst_collect_pads_start), (gst_collect_pads_stop),
10843         (gst_collect_pads_event), (gst_collect_pads_chain):
10844         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10845         Mark Nauwelaerts's patch on bug #328491.
10847 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10849         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10850         (gst_utils_suite):
10851           Add some simple tests for gst_parse_bin_from_description() and
10852           gst_bin_find_unconnected_pad() (#329069).
10854 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10856         * tools/gst-launch.c: (event_loop), (main):
10857           Catch errors during preroll (#320084).
10859 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10861         * plugins/elements/gsttypefindelement.c:
10862         (gst_type_find_element_activate):
10863           Post TYPE_NOT_FOUND error message when typefinding
10864           is unsuccessful in the activate function as well.
10866 2006-02-02  Wim Taymans  <wim@fluendo.com>
10868         * docs/design/part-element-sink.txt:
10869         Updated doc.
10871 2006-02-02  Wim Taymans  <wim@fluendo.com>
10873         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10874         (gst_base_sink_render_object),
10875         (gst_base_sink_queue_object_unlocked):
10876         Only keep track of prerollable items when we are 
10877         prerolling.
10878         Before rendering after preroll, always check if we
10879         have queued items.
10880         Added some more debugging.
10882 2006-02-02  Wim Taymans  <wim@fluendo.com>
10884         * gst/gstelement.c: (gst_element_continue_state),
10885         (gst_element_set_state_func), (gst_element_change_state):
10886         Fixed #326576, been running this for quite some time with
10887         no regressions at all.
10889 2006-02-02  Wim Taymans  <wim@fluendo.com>
10891         * common/gst.supp:
10892         Added more suppressions
10894 2006-02-02  Wim Taymans  <wim@fluendo.com>
10896         * docs/design/part-element-sink.txt:
10897         Updated document.
10899         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10900         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10901         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10902         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10903         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10904         (gst_base_sink_preroll_object),
10905         (gst_base_sink_queue_object_unlocked),
10906         (gst_base_sink_queue_object), (gst_base_sink_event),
10907         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10908         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10909         (gst_base_sink_get_position), (gst_base_sink_change_state):
10910         * libs/gst/base/gstbasesink.h:
10911         Totally refactored matching the design doc.
10912         Use two segments, one to clip incomming buffers and another to
10913         perform sync.
10914         Handle queueing correctly, bypass the queue when playing.
10915         Make EOS cancelable.
10916         Handle errors correctly when operating in pull based mode.
10918         * tests/check/elements/fakesink.c: (GST_START_TEST),
10919         (fakesink_suite):
10920         Added new check for sinks.
10922 2006-02-02  Wim Taymans  <wim@fluendo.com>
10924         * gst/gstsegment.c: (gst_segment_clip):
10925         No reason to refuse to clip when start == -1
10927 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10929         * docs/README:
10930         * docs/manual/intro-basics.xml:
10931         * docs/manual/intro-preface.xml:
10932         * docs/manual/manual.xml:
10933         * docs/pwg/advanced-dparams.xml:
10934         * docs/pwg/intro-basics.xml:
10935         * docs/pwg/intro-preface.xml:
10936         * docs/pwg/pwg.xml:
10937           describe dparams (controller) for plugins
10938           unify docs a little more
10940 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10942         * docs/gst/gstreamer-sections.txt:
10943         * gst/gstutils.c: (element_find_unconnected_pad),
10944         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10945         * gst/gstutils.h:
10946           Add new API: gst_parse_bin_from_description() and
10947           gst_bin_find_unconnected_pad() (#329069).
10949 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10951         * docs/manual/README:
10952           uncover a nasty detail of the docs build
10954 2006-01-31  Wim Taymans  <wim@fluendo.com>
10956         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10957         Don't cache duration messages if we're not going to use or
10958         free them.
10960 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10962         * docs/manual/advanced-dparams.xml:
10963         * docs/pwg/advanced-dparams.xml:
10964           more dparam docs
10965         * gst/gstindex.c:
10966           fix docs
10967         * libs/gst/controller/lib.c: (gst_controller_init):
10968           init just once
10970 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10972         * gst/gstelement.c: (gst_element_message_full):
10973           also show file/line/func if no additional debug was given
10975 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10976         
10977         * win32/vs7/grammar.vcproj:
10978           activate copy of autogenerated files for Release mode
10980 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10981         
10982         * win32/common/libgstreamer.def:
10983           export gst_value_compare
10985 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10987         * plugins/elements/Makefile.am:
10988         * plugins/elements/gstelements.c:
10989         * plugins/elements/gstfdsink.c: (_do_init),
10990         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10991         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10992         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10993         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10994         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10995         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10996         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10997         * plugins/elements/gstfdsink.h:
10998         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11000 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11002         * docs/manual/advanced-dparams.xml:
11003           describe controller
11004         * docs/manual/advanced-position.xml:
11005         * docs/manual/basics-init.xml:
11006         * docs/manual/manual.xml:
11007         * docs/manual/titlepage.xml:
11008         * docs/pwg/pwg.xml:
11009         * docs/pwg/titlepage.xml:
11010           cleanup xml (more to come)
11011         * libs/gst/controller/gstcontroller.c:
11012           fix typo
11014 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11015         
11016         * win32/vs6/grammar.dsp:
11017           add autogen of gstmarshal.c,h for Release mode
11018                 
11019 2006-01-30  Wim Taymans  <wim@fluendo.com>
11021         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11022         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11023         (gst_base_sink_handle_object), (gst_base_sink_event),
11024         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11025         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11026         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11027         (gst_base_sink_deactivate), (gst_base_sink_activate),
11028         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11029         (gst_base_sink_query), (gst_base_sink_change_state):
11030         Basesink cleanups, remove some old code.
11031         Handle the case where a subclass can preroll in the render
11032         method (mostly audiosinks).
11033         Handle more events.
11034         Remove some locks around variables that are now protected
11035         with the PREROLL_LOCK (clock_id, flushing, ..).
11036         Optimize position query some more, do correct locking.
11037         Remove old code to push queue in state change, this is not
11038         needed anymore since preroll blocks on all prerollable items 
11039         now.
11040         Almost implemented as described in design doc.
11042 2006-01-30  Wim Taymans  <wim@fluendo.com>
11044         * tests/check/gst/gstbin.c: (GST_START_TEST):
11045         Wait for refcount to settle down before checking.
11047 2006-01-30  Wim Taymans  <wim@fluendo.com>
11049         * docs/design/part-element-sink.txt:
11050         Pseudo code overview of desired sink behaviour regarding
11051         preroll.
11053 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11054         * win32/vs6/grammar.dsp:
11055           fix some bugs in Release mode for autogenerated files
11056                 
11057 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11058         * win32/common/libgstbase.def:
11059         * win32/common/libgstreamer.def:
11060           export some new symbols: gst_base_src_set_format,
11061           gst_iterator_next, gst_structure_set_valist
11063 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11065         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11066         Set pad functions unconditionally. Fixes #329105.
11068 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11069         * win32/vs8:
11070           add vs8 project files created by Sergey Scobich
11072 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11074         * gst/gstutils.c: (gst_element_unlink_pads):
11075         Don't leak pad references.
11077         * tests/check/elements/fakesink.c: (GST_START_TEST):
11078         * tests/check/generic/sinks.c: (GST_START_TEST):
11079         * tests/check/generic/states.c: (GST_START_TEST):
11080         * tests/check/gst/gstbin.c: (GST_START_TEST):
11081         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11082         * tests/check/gst/gstelement.c: (GST_START_TEST):
11083         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11084         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11085         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11086         Fix a bunch of leaks. Make generic/sinks.c
11087         use a bit less cpu by slowing the buffer rate
11088         between fakesrc and fakesink.
11089         
11090 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11091         * gst/gstcaps.c:
11092         * gst/gstelement.c: (gst_element_send_event):
11093         * gst/gstevent.c:
11094         * gst/gstinfo.c:
11095         * gst/gstiterator.c:
11096         * gst/gstiterator.h:
11097         * gst/gstpad.c: (gst_pad_send_event):
11098         * gst/gststructure.c:
11099         * gst/gsturi.c:
11100         * gst/gstutils.c:
11101         * gst/gstvalue.c:
11102         * libs/gst/base/gstadapter.c:
11103           doc fixes, to link to function, just write gst_cool_function(), don't
11104           prefix with '#'
11106 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11108         * plugins/elements/gsttee.c: (gst_tee_do_push),
11109         (gst_tee_handle_buffer):
11110         Always prefer an actual return value from a src
11111         pad in place of NOT_LINKED. This means we return
11112         WRONG_STATE when all src pads are WRONG_STATE
11113         instead of NOT_LINKED.
11115         Lock when replacing the last message to prevent
11116         racing with the get_property method.
11118         Add debug output
11120 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11122         * tests/check/Makefile.am:
11123         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11124         (main):
11125         Add a very simple check that should have caught the memleak I fixed
11126         last night (if not for the slice allocator hiding it)
11128 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11130         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11131         (gst_bin_remove_func), (gst_bin_handle_message_func),
11132         (bin_query_duration_fold), (bin_query_generic_fold):
11133         Clean up references to the clock provider when disposed or when
11134         handling a clock-lost message from it.
11136         Unref sinks when performing a query via gst_iterator_fold, as the
11137         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11139         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11140         (gst_clock_set_master):
11141         Drop our reference to the master clock, if any, when we are disposed.
11143         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11144         Chain up in dispose. 
11146 2006-01-26  Wim Taymans  <wim@fluendo.com>
11148         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11149         Add some debugging.
11151 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11153         * plugins/elements/gsttee.c: (gst_tee_do_push),
11154         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11155         handles pad being NOT_LINKED or in WRONG_STATE.
11157 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11159         * win32/MANIFEST:
11160           more updating
11162 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11164         * win32/MANIFEST:
11165           remove obsolete entry
11167 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11169         * docs/gst/gstreamer-sections.txt:
11170         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11171         (gst_bin_iterate_sources), (gst_bin_send_event):
11172         * gst/gstbin.h:
11173         * gst/gstelement.c: (gst_element_send_event):
11174         * gst/gstevent.c:
11175         * gst/gstpad.c: (gst_pad_send_event):
11176           added code for downstream events, reviewed docs in gstevent.c
11178 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11180         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11181         We only query position using the clock in the playing state.
11182         Query peer in the other cases.
11183         * win32/common/config.h: Updates.
11185 2006-01-24  Wim Taymans  <wim@fluendo.com>
11187         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11188         A clock entry that is scheduled for the exact time of the
11189         clock is still in time.
11191         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11192         (gst_base_sink_do_sync):
11193         Add some more debug info.
11195 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11197         * win32/vs7:
11198           Add new vs7 project files and solution.
11200 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11202         * win32/vs7:
11203           all files removed as they were out-dated.
11205 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11207         * docs/random/release:
11208           update notes
11209         * gst/gstbin.c: (gst_bin_init):
11210         * gst/gstbus.c: (gst_bus_new):
11211         * gst/gstbus.h:
11212         * gst/gstpipeline.c: (gst_pipeline_init):
11213           use gst_bus_new(), improve logging, fix docs
11214         * win32/common/config.h:
11215           update for cvs build
11217 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11219         * autogen.sh:
11220           up required version of automake to 1.7
11222 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
11224         * win32/common/libgstreamer.def:
11225           export gst_buffer_is_metadata_writable
11227 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
11229         * docs/gst/gstreamer-sections.txt:
11230         * gst/gstevent.h:
11231           Add gst_event_replace() (#327001)
11233 2006-01-20  Wim Taymans  <wim@fluendo.com>
11235         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11236         Make it actually compile too..
11238 2006-01-20  Wim Taymans  <wim@fluendo.com>
11240         * gst/gstcaps.c:
11241         Clarify behaviour of _is_equal() when passing NULL parameters.
11243         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11244         (gst_pad_set_caps):
11245         Cleanups. Don't unref NULL caps.
11246         When setting the same caps, protect caps of the pad with
11247         proper lock.
11248         Use full functionality of _is_equal() when comparing caps.
11250 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11253         Don't loop infinitely if there are no buffers to present. Partially
11254         fixes #327197, but collectpads is just broken for reusing elements
11255         to do multiple encodes atm.
11257 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
11259         * tools/gst-inspect.c: (print_element_features):
11260         * tools/gst-xmlinspect.c: (main):
11261         URL_HANDLER is not a plugin feature we can search for in
11262         the registry.
11264 2006-01-19  Edward Hervey  <edward@fluendo.com>
11266         * gst/gstelement.c: (gst_element_pads_activate): 
11267         When activating, do src pads first, then sink pads.
11268         When de-activating, do sink pads first, then src pads.
11270 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11272         * docs/gst/gstreamer-sections.txt:
11273         Add gst_index_add_associationv to the docs
11275 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11277         * gst/gstevent.c:
11278           Fix docs typo
11280         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11281         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11282           Do some refactoring. Doesn't actually change functionality,
11283           but makes landing the DRAIN event easier later.
11285 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
11287         * docs/pwg/advanced-scheduling.xml:
11288           Update from 0.9.x to 0.10 API and make example a bit
11289           clearer.
11291 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11293         * docs/gst/gstreamer-sections.txt:
11294         Add gst_buffer_(is|make)_metadata_writable methods.
11296 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
11298         * docs/design/part-sparsestreams.txt:
11299         Update sparse streams doc, hopefully for greater clarity
11301 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
11303         * docs/design/part-events.txt:
11304         Remove mention of FILLER events.
11305         Add DRAIN event.
11307         * docs/design/part-sparsestreams.txt:
11308         Write some things about using NEWSEGMENT to keep sparse streams
11309         flowing.
11311 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11313         * gst/gstbin.c: (gst_bin_dispose):
11314           Guard gst_object_unref call against a NULL object (dispose
11315           can theoretically be called multiple times).
11316           
11317 2006-01-18  Wim Taymans  <wim@fluendo.com>
11319         * gst/gstbin.c: (gst_bin_element_set_state):
11320         * gst/gstclock.c: (gst_clock_id_wait):
11321         Added some more debug info.
11323         * libs/gst/base/gstadapter.c:
11324         Added more docs.
11326         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11327         (gst_base_sink_do_sync), (gst_base_sink_chain):
11328         Added some comments.
11330 2006-01-18  Wim Taymans  <wim@fluendo.com>
11332         * tests/check/Makefile.am:
11333         * tests/check/elements/fakesink.c: (chain_async_buffer),
11334         (chain_async), (chain_async_return), (GST_START_TEST),
11335         (fakesink_suite), (main):
11336         Added fakesink test that checks prerolling and clipping
11337         behaviour.
11339         * tests/check/gst/gstutils.c: (GST_START_TEST):
11340         Make check run faster so that buildbots don't timeout.
11342 2006-01-18  Wim Taymans  <wim@fluendo.com>
11344         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11345         (gst_base_sink_do_sync):
11346         Some cleanups.
11347         When the sink finishes blocking on the preroll buffer, it can
11348         immediatly render it instead of rendering when the next buffer
11349         arrives.
11351 2006-01-18  Wim Taymans  <wim@fluendo.com>
11353         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
11354         (gst_base_sink_get_property), (gst_base_sink_do_sync),
11355         (gst_base_sink_chain):
11356         Small cleanups.
11357         GST_ELEMENT_CLOCK and sync are protected with LOCK.
11358         Don't store _last_stop if the buffer is dropped.
11360 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
11362         * plugins/elements/gsttypefindelement.c:
11363         (gst_type_find_element_class_init):
11364           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
11365           object method handler that sets the caps on the pad and we want
11366           that to happen before we emit the signal (fixes e.g. feeding a
11367           plain text file to decodebin).
11369 2006-01-18  Christian Schaller  <Christian@fluendo.com>
11371         * gst/gstplugin.c: Add MPL and Proprietary as license options
11373 2006-01-18  Andy Wingo  <wingo@pobox.com>
11375         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
11376         symbol was exported before, it appears this was just an oversight.
11377         Fixes #168703.
11378         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
11380         * gst/gstindex.c (gst_index_add_associationv): Changed int in
11381         prototype to gint. OK since this prototype was not in the header.
11383 2006-01-17  Andy Wingo  <wingo@pobox.com>
11385         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
11386         registry while we remove plugins.
11388         * tools/gst-inspect.c (print_element_info): Don't unref the
11389         factory arg, that should be the responsibility of whatever code
11390         received the ref. Fixes a double-free when called from
11391         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
11392         (main): Unref the factory if we have one.
11393         (print_element_list): No change -- relies on the
11394         plugin_feature_list_free to free the list of features.
11396 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
11398         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11399         (gst_buffer_make_metadata_writable):
11400         * gst/gstbuffer.h:
11401         * libs/gst/base/gstbasetransform.c:
11402         (gst_base_transform_prepare_output_buf):
11403         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11404         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11405           Replace gst_buffer_(make|is)_metadata_writable patch now
11406           that the release is out.
11408 2006-01-17  Andy Wingo  <wingo@pobox.com>
11410         * gst/gstregistry.c: Reflow design comment. Update so as to speak
11411         in the present tense without reference to versions.
11413         * gst/gstregistry.c (gst_registry_add_plugin)
11414         (gst_registry_remove_plugin, gst_registry_remove_feature)
11415         (gst_registry_find_feature, gst_registry_get_feature_list)
11416         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
11417         (gst_registry_lookup, gst_registry_scan_path)
11418         (_gst_registry_remove_cache_plugins)
11419         (gst_registry_get_feature_list_by_plugin): Add argument
11420         validation.
11422 === release 0.10.2 ===
11424 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
11426         * configure.ac:
11427           releasing 0.10.2, "If man is five"
11429 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11431         * gst/gstbuffer.c:
11432         * gst/gstbuffer.h:
11433         * libs/gst/base/gstbasetransform.c:
11434         (gst_base_transform_prepare_output_buf):
11435         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11436         * tests/check/gst/gstbuffer.c: (gst_test_suite):
11437           Back out patch until after the release.
11439 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11441         * gst/gstminiobject.c:
11442           Spelling fix in docs.
11443         * ChangeLog - remove conflict indicator
11445 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
11447         Reviewed By: Andy Wingo
11449         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
11450         (gst_buffer_make_metadata_writable):
11451         * gst/gstbuffer.h:
11452           Add gst_buffer_(is|make)_metadata_writable as analogues of
11453           gst_buffer_(is|make)_writable.
11455         * libs/gst/base/gstbasetransform.c:
11456         (gst_base_transform_prepare_output_buf):
11457         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11458           Use name gst_buffer_(is|make)_metadata_writable functions.
11460         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11461           Test gst_buffer_(is|make)_metadata_writable
11462         
11463           (Closes: #324162)
11465 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11467         * docs/manual/Makefile.am:
11468           don't do parallel make
11469         * configure.ac:
11470           AC_SUBST HOST_CPU
11471         * win32/common/config.h.in:
11472           add generations for HOST_CPU and GST_MAJORMINOR
11473         * win32/common/config.h:
11474           commit generated result
11476 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
11478         * docs/manual/appendix-integration.xml:
11479           Update GNOME integration section to use gst_init_get_option_group()
11480           instead of the old popt stuff (#322911). Also, GNOME applications
11481           should  now use gconf*sink and gconf*src instead of the old gconf
11482           helper lib we had.
11484 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
11487         * docs/gst/gstreamer-docs.sgml:
11488         * docs/gst/gstreamer-sections.txt:
11489         * docs/libs/gstreamer-libs-sections.txt:
11490           add new API entries to the docs
11491         * libs/gst/controller/Makefile.am:
11492         * libs/gst/controller/gstcontroller.c:
11493         * libs/gst/controller/gstcontroller.h:
11494         * libs/gst/controller/gstcontrollerprivate.h:
11495         * libs/gst/controller/gsthelper.c:
11496         * libs/gst/controller/gstinterpolation.c:
11497           move private structs to private header
11498         * po/README:
11499           gstreamer-0.7 -> gstreamer-0.10
11500         * tests/check/libs/struct_i386.h:
11501           remove private structs
11503 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11505         * plugins/indexers/Makefile.am:
11506           Fixes as part of #317048
11508 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11510         * plugins/indexers/Makefile.am:
11511           fix #316086 - compilation when mmap is missing
11513 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
11515         * libs/gst/base/gstbasesink.c:
11516           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
11517           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11518         * win32/common/config.h:
11519           added some defines GST_MAJORMINOR and HOST_CPU
11520         * win32/common/libgstbase.def:
11521         * win32/common/libgstreamer.def:
11522           added some exported functions.
11524 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11526         * libs/gst/controller/gstcontroller.c:
11527         (gst_controlled_property_set_interpolation_mode),
11528         (gst_controlled_property_new):
11529         * libs/gst/controller/gstcontroller.h:
11530         * libs/gst/controller/gstinterpolation.c:
11531         (interpolate_none_get_string_value_array):
11532           make G_TYPE_STRING controlable
11534 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
11536         * tools/README:
11537         * tools/gst-feedback.1.in:
11538         * tools/gst-inspect.1.in:
11539         * tools/gst-launch.1.in:
11540         * tools/gst-md5sum.1.in:
11541         * tools/gst-typefind.1.in:
11542         * tools/gst-xmlinspect.1.in:
11543         * tools/gst-xmllaunch.1.in:
11544           cleanup man-pages, remove reference to gst-register, document env-vars
11546 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
11548         * gst/gstbuffer.c: (gst_buffer_span):
11549           gst_buffer_span should copy the timestamp of the first buffer
11550           if they were both originally overlapping subbuffers of the 
11551           same parent, using the same logic as the 'slow copy' case.
11553 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
11555         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11556           Need to awaken ALL the pads when we pop a buffer, otherwise
11557           collectpads only works when there is 2 input streams.
11559 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
11561         * docs/random/ensonic/media-device-daemon.txt:
11562           more ideas (dbus)
11563         * gst/gstbuffer.c:
11564           fix doc example, add clarification
11565         * tools/gst-launch.1.in:
11566           add initial info about GST_PLUGIN_PATH, needs more work
11568 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
11570         * docs/manual/basics-bins.xml:
11571         * docs/manual/basics-elements.xml:
11572         * docs/manual/intro-basics.xml:
11573           Some more minor docs additions and updates.
11575 2006-01-11  Wim Taymans  <wim@fluendo.com>
11577         * docs/manual/basics-bins.xml:
11578         * docs/manual/basics-elements.xml:
11579         Some small fixes as pointed out by Ser-ver on IRC.
11581 2006-01-10  Edward Hervey  <edward@fluendo.com>
11583         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11584         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11585         the single-segment mode.
11587 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
11589         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11591         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11592         (gst_base_src_perform_seek), (gst_base_src_send_event),
11593         (gst_base_src_set_property), (gst_base_src_get_property),
11594         (gst_base_src_loop), (gst_base_src_start),
11595         (gst_base_src_activate_push):
11596         * libs/gst/base/gstbasesrc.h:
11597           Name (private) union; makes Sun's Forte compiler happy (#324900).
11599 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11601         * README:
11602           gst-register is gone.
11604 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11606         * gst/gstvalue.c: (_gst_value_initialize):
11607           make the G_TYPE_DATE instantiation work if debug is disabled
11609 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
11611         * gst/gstmessage.c: (gst_message_parse_tag),
11612         (gst_message_parse_error), (gst_message_parse_warning):
11613           Don't crash when return location for error/warning debug
11614           string is NULL; add fact that return locations can be
11615           NULL to docs where appropriate.
11617 2006-01-05  Wim Taymans  <wim@fluendo.com>
11619         * gst/gstplugin.c: (gst_plugin_load_file):
11620         Replace strdup by g_strdup.
11622 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11624         * docs/pwg/advanced-types.xml:
11625           fix doc borkage
11627 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11629         submitted by: Abel Cheung
11631         * po/LINGUAS:
11632         * po/zh_TW.po:
11633           Added Chinese (traditional) translation
11635 2006-01-04  Wim Taymans  <wim@fluendo.com>
11637         * docs/manual/basics-pads.xml:
11638         * docs/plugins/Makefile.am:
11639         * docs/plugins/gstreamer-plugins-docs.sgml:
11640         * docs/plugins/gstreamer-plugins-sections.txt:
11641         * docs/pwg/advanced-clock.xml:
11642         * docs/pwg/advanced-scheduling.xml:
11643         * docs/pwg/advanced-types.xml:
11644         * plugins/elements/gstfdsink.c:
11645         * plugins/elements/gstfdsrc.c:
11646         * plugins/elements/gstfdsrc.h:
11647         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11648         * plugins/elements/gstidentity.h:
11649         * plugins/elements/gstqueue.h:
11650         * plugins/elements/gsttee.c:
11651         * plugins/elements/gsttee.h:
11652         * plugins/elements/gsttypefindelement.c:
11653         (gst_type_find_element_class_init):
11654         * plugins/elements/gsttypefindelement.h:
11655         Small updates to various docs.
11656         Added core plugins to docs.
11658 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11660         * common/gst.supp:
11661           add a suppression for liboil's uninitialized variable
11663 2006-01-02  James Livingston  <jrl at ids dot org dot au>
11665         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11667         * gst/gstutils.h:
11668           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11669           macro, so that gcc doesn't complain if the -Wmissing-prototypes
11670           compiler switch is being used (#325429).
11672 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
11674         * gst/gstbin.c: (gst_bin_query):
11675           Disable duration query caching in bins until it gets
11676           fixed (see #324807).
11678 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11680         * tools/gst-inspect.c: (print_element_properties_info):
11681           Handle properties of POINTER and BOXED type.
11683 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11685         * gst/gst.c: (init_post):
11686           Init tags stuff and some other things before loading
11687           any static plugins (there may be other static plugins
11688           than just the GStreamer ones, and they may want to
11689           register their own tags or formats or whatever, and
11690           preferably without segfaulting).
11692         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11693           Print at least a warning in the debug logs if we drop a
11694           query just because we don't know how to adjust the value
11695           in the particular format.
11697 2005-12-24  David Schleef  <ds@schleef.org>
11699         * tools/gstreamer-completion:
11700           Replacement for gst-complete written in sh and sed.  Only
11701           completes names of features, but that's 90% of what I want
11702           it for.  Properties are not available in registry.xml.  (Maybe
11703           they should be...)
11705 === release 0.10.1 ===
11707 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
11709         * configure.ac:
11710           releasing 0.10.1, "Nollaig chridheil"
11712 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
11714         * docs/faq/cvs.xml:
11715           Add missing quote, should be make ERROR_CFLAGS="".
11717 2005-12-20  Wim Taymans  <wim@fluendo.com>
11719         * docs/design/part-trickmodes.txt:
11720         More documentation on trickmodes.
11722 2005-12-20  Edward Hervey  <edward@fluendo.com>
11724         * gst/gstcaps.c: (gst_static_caps_get_type):
11725         * gst/gstcaps.h:
11726           API addition: GST_TYPE_STATIC_CAPS
11727         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11728         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11729         * gst/gstpadtemplate.h:
11730           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11731         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11732         bindings.
11734 2005-12-18  Wim Taymans  <wim@fluendo.com>
11736         * libs/gst/base/gstadapter.c:
11737         * libs/gst/base/gstadapter.h:
11738         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11739         (gst_base_sink_get_position):
11740         * libs/gst/base/gstbasesink.h:
11741         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11742         (gst_base_src_default_query), (gst_base_src_default_do_seek),
11743         (gst_base_src_do_seek), (gst_base_src_perform_seek),
11744         (gst_base_src_send_event), (gst_base_src_update_length),
11745         (gst_base_src_get_range), (gst_base_src_loop),
11746         (gst_base_src_start):
11747         * libs/gst/base/gstbasesrc.h:
11748         * libs/gst/base/gstbasetransform.h:
11749         * libs/gst/base/gstcollectpads.h:
11750         * libs/gst/base/gstpushsrc.c:
11751         * libs/gst/base/gstpushsrc.h:
11752         * libs/gst/dataprotocol/dataprotocol.c:
11753         * libs/gst/dataprotocol/dataprotocol.h:
11754         * libs/gst/net/gstnetclientclock.h:
11755         * libs/gst/net/gstnettimeprovider.h:
11756         Documentation updates.
11758 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
11760         * docs/manual/basics-helloworld.xml:
11761           Remove superfluous closing bracket in helloworld example.
11763 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
11765         * tools/gst-launch.1.in:
11766           Update gst-launch man page; add a section with useful
11767           environment variables. Fixes #323882.
11769 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
11771         * gst/gst.c:
11772         * gst/gst_private.h:
11773           change some char* into char[]
11775 2005-12-16  Wim Taymans  <wim@fluendo.com>
11777         * gst/gstregistryxml.c: (load_feature):
11778         Cleanups.
11779         Don't use g_object_unref on GstObjects so that we avoid
11780         leaks on unsafe glibs.
11782 2005-12-16  Wim Taymans  <wim@fluendo.com>
11784         * gst/gstbin.c: (gst_bin_recalc_state):
11785         Small doc updates.
11787 2005-12-16  Wim Taymans  <wim@fluendo.com>
11789         * common/check.mak:
11790         Added make forever target for check.
11792 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11794         * gst/gst.c: (init_post):
11795           make the registry cache file HOST_CPU-dependent
11797 2005-12-16  Andy Wingo  <wingo@pobox.com>
11799         * plugins/elements/gstbufferstore.c
11800         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11801         return value.
11803         * tests/check/gst/gstobject.c
11804         (test_fake_object_name_threaded_unique): Pay attention to
11805         g_list_sort return value.
11807 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11809         * tools/gst-feedback-m.m:
11810           Update for 0.9/0.10 (fixes #323870).
11812 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11814         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11815           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11816           
11817         * tests/check/gst/gstminiobject.c: (my_foo_init),
11818         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11819         (test_value_collection), (gst_mini_object_suite):
11820           Add test to ensure refcounts end up as expected when passing
11821           GstMiniObjects through g_object_get() and g_object_set().
11823 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11825         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11826         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11827         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11828         of collectpads. This version removes a lot of races without
11829         touching API/ABI. Yay !
11831 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11833         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11834           Don't allow activation of a srcpad in pull_range if it has no
11835           getrange function.
11836           Change some debug statements to be a little clearer
11838         * plugins/elements/gsttypefindelement.c:
11839         (gst_type_find_handle_src_query):
11840           Check that we have a peer before executing queries thereupon.
11842         * tests/examples/metadata/read-metadata.c: (message_loop):
11843           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11844           immediately return us any available message with 0 timeout.
11846 2005-12-12  Michael Smith  <msmith@fluendo.com>
11848         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11849           Don't unref factories after calling them.
11850         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11851         * plugins/elements/gsttypefindelement.c:
11852         (gst_type_find_element_chain):
11853           Free lists of factories after using them. Fixing typefinding memory
11854           leaks.
11856 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11858         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11859         (gst_plugin_feature_load):
11860           more meaningful debug output
11861         * configure.ac:
11862         * tests/Makefile.am:
11863         * tests/old/examples/Makefile.am:
11864           make make distcheck happy again
11866 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11868         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11869           Catch the special case where we are operating chain-based,
11870           but the downstream peer pad has no chain function. Emit a
11871           custom error message in this case instead of letting the
11872           core generate one implying that this is some sort of core
11873           bug. It's not, it just means that whatever got plugged
11874           into the pipeline downstream when we announced the type
11875           can only operate pull-based, while our source can only
11876           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11877           Error string has not been marked for translation yet, as
11878           it probably needs some more work first.
11880         (gst_type_find_element_get_best_possibility):
11881           Add helper function to find the best of all available
11882           found possibilities that qualify given the min. threshold.
11884         (gst_type_find_element_handle_event):
11885           Fix the case where we get an EOS while still in TYPEFIND
11886           mode (we want to chose the best of all possible types,
11887           not just the first type that happens to be in our unsorted
11888           list of possible types).
11890         (gst_type_find_element_chain):
11891           Make sure we return GST_FLOW_ERROR when we errored out
11892           in stop_typefinding(); also, don't just find the best of
11893           all found type entries and then use the last examined
11894           type entry, but actually use the best entry.
11896 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11898         * tests/examples/typefind/typefind.c: (type_found):
11899         * tests/examples/xml/runxml.c: (xml_loaded):
11900           More gcc4 fixes and a mem leak fix.
11902 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11904         * tests/examples/xml/createxml.c: (object_saved):
11905           gcc 4 fixes
11907 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11909         * tests/Makefile.am:
11910           enable the examples even more
11912 2005-12-12  Andy Wingo  <wingo@pobox.com>
11914         * libs/gst/net/gstnettimeprovider.c
11915         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11916         (gst_net_time_provider_set_property)
11917         (gst_net_time_provider_get_property):
11918         API addition: Export "active" as a GObject property.
11919         (gst_net_time_provider_thread): Only respond to time queries if
11920         the time provider is active.
11922         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11923         NetTimeProvider, preserving binary compat.
11925 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11927         * tests/examples/controller/audio-example.c: (main):
11928         * tests/examples/launch/Makefile.am:
11929           convert comments again
11931 2005-12-12  Wim Taymans  <wim@fluendo.com>
11933         * libs/gst/base/gstpushsrc.c:
11934         Fix typo.
11936 2005-12-12  Wim Taymans  <wim@fluendo.com>
11938         * docs/libs/gstreamer-libs-sections.txt:
11939         Added new symbol to docs.
11941         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11942         (gst_base_src_init), (gst_base_src_set_format),
11943         (gst_base_src_default_query), (gst_base_src_query),
11944         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11945         (gst_base_src_perform_seek), (gst_base_src_send_event),
11946         (gst_base_src_default_event), (gst_base_src_event_handler),
11947         (gst_base_src_set_property), (gst_base_src_get_property),
11948         (gst_base_src_wait), (gst_base_src_do_sync),
11949         (gst_base_src_update_length), (gst_base_src_get_range),
11950         (gst_base_src_check_get_range), (gst_base_src_loop),
11951         (gst_base_src_default_negotiate), (gst_base_src_start),
11952         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11953         (gst_base_src_change_state):
11954         * libs/gst/base/gstbasesrc.h:
11955         Implement seeking to other formats than _BYTES.
11956         Implement more seeking methods correctly.
11957         Doc updates.
11958         Added query vmethod.
11959         Added do_seek vmethod to make life easier for subclasses
11960         when seeking.
11961         API addition: gst_base_src_set_format()
11963 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11965         * tests/examples/Makefile.am:
11966           added that too
11968 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11970         * configure.ac:
11971         * docs/random/ensonic/media-device-daemon.txt:
11972         * tests/examples/controller/.cvsignore:
11973         * tests/examples/controller/Makefile.am:
11974         * tests/examples/controller/audio-example.c: (main):
11975         * tests/examples/helloworld/.cvsignore:
11976         * tests/examples/helloworld/Makefile.am:
11977         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11978         * tests/examples/launch/.cvsignore:
11979         * tests/examples/launch/Makefile.am:
11980         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11981         * tests/examples/metadata/.cvsignore:
11982         * tests/examples/metadata/Makefile.am:
11983         * tests/examples/metadata/read-metadata.c: (message_loop),
11984         (make_pipeline), (print_tag), (main):
11985         * tests/examples/queue/.cvsignore:
11986         * tests/examples/queue/Makefile.am:
11987         * tests/examples/queue/queue.c: (event_loop), (main):
11988         * tests/examples/typefind/.cvsignore:
11989         * tests/examples/typefind/Makefile.am:
11990         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11991         (main):
11992         * tests/examples/xml/.cvsignore:
11993         * tests/examples/xml/Makefile.am:
11994         * tests/examples/xml/createxml.c: (object_saved), (main):
11995         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11996         * tests/old/examples/Makefile.am:
11997         * tests/old/examples/TODO:
11998         * tests/old/examples/controller/.cvsignore:
11999         * tests/old/examples/controller/Makefile.am:
12000         * tests/old/examples/controller/audio-example.c:
12001         * tests/old/examples/helloworld/.cvsignore:
12002         * tests/old/examples/helloworld/Makefile.am:
12003         * tests/old/examples/helloworld/helloworld.c:
12004         * tests/old/examples/launch/.cvsignore:
12005         * tests/old/examples/launch/Makefile.am:
12006         * tests/old/examples/launch/mp3parselaunch.c:
12007         * tests/old/examples/launch/mp3play:
12008         * tests/old/examples/manual/Makefile.am:
12009         * tests/old/examples/metadata/Makefile.am:
12010         * tests/old/examples/metadata/read-metadata.c:
12011         * tests/old/examples/queue/.cvsignore:
12012         * tests/old/examples/queue/Makefile.am:
12013         * tests/old/examples/queue/queue.c:
12014         * tests/old/examples/typefind/.cvsignore:
12015         * tests/old/examples/typefind/Makefile.am:
12016         * tests/old/examples/typefind/typefind.c:
12017         * tests/old/examples/xml/.cvsignore:
12018         * tests/old/examples/xml/Makefile.am:
12019         * tests/old/examples/xml/createxml.c:
12020         * tests/old/examples/xml/runxml.c:
12021           applied some simple fixing to some examples
12022           re-enabled the working examples
12024 2005-12-12  Wim Taymans  <wim@fluendo.com>
12026         * gst/gstsegment.c: (gst_segment_init),
12027         (gst_segment_set_last_stop), (gst_segment_set_seek),
12028         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12029         (gst_segment_to_running_time):
12030         Added more documentation.
12031         Make sure the last_pos value is updated properly.
12032         Make sure to_stream_time and to_running_time don't
12033         operate on wrong values.
12035         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12036         Update check.
12038 2005-12-12  Michael Smith  <msmith@fluendo.com>
12040         * plugins/elements/gsttypefindelement.c: (free_entry),
12041         (gst_type_find_element_chain):
12042           Now that we're not leaking factories, make sure we keep references
12043           to them while we need them.
12045 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12047         * tests/check/gst/struct_i386.h:
12048           ifdef out the XML structs
12050 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12052         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12053           floor is not needed, F is always positive; this obviates the
12054           need for adding -lm when building without libxml
12056 2005-12-12  Wim Taymans  <wim@fluendo.com>
12058         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12059         Take current playback rate into account when reporting
12060         the position.
12062 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12064         * docs/manual/mime-world.fig:
12065           Let's try this again, this time with a file that is
12066           actually in XFig format.
12068 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12070         * docs/manual/mime-world.fig:
12071           Add audioconvert element to diagram so that it
12072           matches the text and the code (fixes #319526).
12074 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12076         * docs/pwg/building-chainfn.xml:
12077         * docs/pwg/building-pads.xml:
12078         * docs/pwg/building-state.xml:
12079         * docs/pwg/other-source.xml:
12080           Update state change stuff for 0.10 (fixes #322969).
12082 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12084         * docs/manual/advanced-dataaccess.xml:
12085         * docs/manual/appendix-checklist.xml:
12086         * docs/manual/appendix-programs.xml:
12087         * docs/manual/basics-pads.xml:
12088         * docs/manual/highlevel-components.xml:
12089         * docs/manual/manual.xml:
12090           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12091           add converters in front of pipelines; remove curly
12092           brackets for threads stuff, they no longer exist; use
12093           GST_TYPE_FRACTION for framerates; update some pieces of
12094           code to 0.10, but there's plenty more to do.
12096         * docs/manual/appendix-porting.xml:
12097           Expand on asynchroneous state changes; s/0.9/0.10/;
12098           mention disappearance of gst_init_get_popt_table()
12099           (fixes #322916).
12101 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12103         * docs/faq/using.xml:
12104           Spider no longer exists, and neither does gst-launch-ext.
12105           Update examples to use decodebin and playbin and put
12106           converters in front of sinks (fixes #323726).
12108 2005-12-09  Michael Smith  <msmith@fluendo.com>
12110         * plugins/elements/gsttypefindelement.c: (find_peek),
12111         (gst_type_find_element_chain):
12112           Fix leaking element factories in typefinding.
12113           Fix problem where we forgot about a probable type on non-seekable
12114           files, and thus later mis-typefound it.
12116 2005-12-09  Michael Smith  <msmith@fluendo.com>
12118         * common/m4/gst-makecontext.m4:
12119         * common/m4/gst-mcsc.m4:
12120         * configure.ac:
12121         * win32/common/config.h:
12122         * win32/common/config.h.in:
12123           Remove makecontext stuff; not used in 0.10 and causes problems on
12124           HPUX according to bug #322441
12126 2005-12-07  Wim Taymans  <wim@fluendo.com>
12128         * tests/check/Makefile.am:
12129         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12130         (main):
12131         * tests/check/libs/struct_i386.h:
12132         Added ABI check for libs
12134 2005-12-07  Wim Taymans  <wim@fluendo.com>
12136         * tests/check/Makefile.am:
12137         And add the struct_i386.h to dist.
12139 2005-12-07  Wim Taymans  <wim@fluendo.com>
12141         * tests/check/Makefile.am:
12142         * tests/check/gst/.cvsignore:
12143         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12144         (main):
12145         * tests/check/gst/struct_i386.h:
12146         Added check for ABI compatibility.
12148 2005-12-07  Wim Taymans  <wim@fluendo.com>
12150         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12151         (gst_fake_src_get_times), (gst_fake_src_create):
12152         Fix broken sync option, fixes #323259
12154 2005-12-07  Wim Taymans  <wim@fluendo.com>
12156         * gst/gstbuffer.c:
12157         Small docs update.
12159         * gst/gstcaps.c: (gst_caps_is_equal):
12160         Don't assert on NULL <--> X. Fixes #323260
12162         * gst/gstminiobject.c: (gst_mini_object_replace):
12163         If we're doing atomic operations, we might just as well use
12164         the proper way to get an atomic pointer.
12166         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12167         Clean up debugging.
12169 2005-12-07  Michael Smith  <msmith@fluendo.com>
12171         * gst/parse/grammar.y:
12172           Remove handling of { } for threads.
12174 2005-12-06  David Schleef  <ds@schleef.org>
12176         * libs/gst/base/gstbasetransform.c: speling fix.
12178 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12180         * docs/libs/tmpl/gstdataprotocol.sgml:
12181         * docs/random/omega/testing/gstobject.c:
12182         * gst/gst.c:
12183         * gst/gstclock.c:
12184         * gst/gstelement.c:
12185         * gst/gstelementfactory.c:
12186         * gst/gsterror.c:
12187         * gst/gstevent.c:
12188         * gst/gstghostpad.c:
12189         * gst/gstinfo.c:
12190         * gst/gstpadtemplate.c:
12191         * gst/gstregistryxml.c:
12192         * gst/gsttaglist.c:
12193         * gst/gsttagsetter.c:
12194         * gst/gsttypefind.c:
12195         * gst/gstvalue.c:
12196         * libs/gst/base/gstbasesrc.c:
12197         * libs/gst/net/gstnetclientclock.c:
12198         * libs/gst/net/gstnettimeprovider.c:
12199         * plugins/elements/gstfakesrc.c:
12200         * plugins/elements/gstfdsrc.c:
12201         * plugins/elements/gstfilesrc.c:
12202         * plugins/elements/gstidentity.c:
12203         * plugins/elements/gstqueue.c:
12204         * plugins/elements/gsttypefindelement.c:
12205         * plugins/indexers/gstfileindex.c:
12206         * plugins/indexers/gstmemindex.c:
12207         * tests/check/gst/gsttag.c:
12208         * tests/old/examples/cutter/cutter.c:
12209         * tests/old/examples/mixer/mixer.c:
12210         * tests/old/examples/xml/runxml.c: (main):
12211         * tests/old/testsuite/caps/normalisation.c:
12212         * tests/old/testsuite/debug/global.c:
12213         * tests/old/testsuite/parse/parse1.c:
12214         * tools/gst-xmlinspect.c:
12215         * win32/common/dirent.c:
12216           expand tabs
12218 === release 0.10.0 ===
12220 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12222         * configure.ac:
12223           releasing 0.10.0, "Maroilles"
12225 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12227         submitted by: Funda Wang <fundawang@linux.net.cn>
12229         * po/LINGUAS:
12230         * po/zh_CN.po:
12231           added Chinese (Traditional) translation
12233 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12235         * docs/gst/gstreamer-sections.txt:
12236         * docs/libs/tmpl/gstdataprotocol.sgml:
12237         * docs/random/thomasvs/TODO:
12238         * gst/gstutils.c:
12239         * gst/gstutils.h:
12240           fix docs
12242 2005-12-05  Andy Wingo  <wingo@pobox.com>
12244         patch by: Wim Taymans <wim@fluendo.com>
12246         * libs/gst/base/gstbasetransform.c
12247         (gst_base_transform_prepare_output_buf)
12248         (gst_base_transform_buffer_alloc):
12249         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12250         alloc_buffer_and_set_caps.
12252         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12253         set_caps on the source pad.
12254         (gst_pad_alloc_buffer_and_set_caps): New function, does what
12255         alloc_buffer used to do. Fixes #322874.
12257         * docs/gst/gstreamer-sections.txt: 
12258         * docs/design/part-negotiation.txt: 
12259         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12260         changes.
12262 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12264         patch by: Sebastien Moutte
12266         * win32/MANIFEST:
12267         * win32/common/config.h.in:
12268         * win32/vs6/libgstcontroller.dsp:
12269           win32 build fixes
12271 2005-12-05  Wim Taymans  <wim@fluendo.com>
12273         * gst/gstcaps.c: (gst_caps_is_equal):
12274         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12275         (gst_fake_src_create):
12276         Back out previous code changes, leave doc updates, file bugs 
12277         instead. 
12279 2005-12-05  Wim Taymans  <wim@fluendo.com>
12281         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12282         (gst_fake_src_get_times), (gst_fake_src_create):
12283         * plugins/elements/gstfakesrc.h:
12284         Fix broken sync code.
12286 2005-12-05  Wim Taymans  <wim@fluendo.com>
12288         * gst/gstcaps.c: (gst_caps_is_equal):
12289         Comparing NULL against !NULL yields different caps, not a
12290         failure.
12292 2005-12-05  Wim Taymans  <wim@fluendo.com>
12294         * gst/gstpipeline.c:
12295         Fix small typo in docs.
12297 2005-12-05  Andy Wingo  <wingo@pobox.com>
12299         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
12301         * gst/gst.c (init_post): remove hard-coded 0.9 location for
12302         registries/plugins with a MAJORMINOR one.
12303         (plugin_desc): Rename library from gstcoreleements to
12304         staticelements. Fixes #323222.
12306 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
12308         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12309           Change debug category to 'collectpads' from 'collect_pads'
12310           (fixes #323250).
12312 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12314         patch by: Sebastien Moutte
12316         * libs/gst/controller/gstinterpolation.c:
12317           use convert function for uint64/double
12318         * win32/vs6/libgstcontroller.dsp:
12319           link to GLib
12321 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
12323         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12324         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12325         * gst/gstutils.h:
12326         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12327           add tests that seem to show that the guint64/gdouble conversions
12328           are correct.
12330 2005-12-02  Wim Taymans  <wim@fluendo.com>
12332         * gst/gstregistry.c: (gst_registry_add_path):
12333         * gst/gstregistry.h:
12334         * gst/gstregistryxml.c:
12335         Fix docs again.
12337 2005-12-02  Wim Taymans  <wim@fluendo.com>
12339         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12340         (gst_util_uint64_scale_int):
12341         Small cleanup.
12343         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12344         Add debug log line.
12346         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
12347         Add FIXME.
12349 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12351         * win32/MANIFEST:
12352         * win32/common/config.h:
12353         * win32/vs6/gstreamer.dsw:
12354         * win32/vs6/libgstcoreelements.dsp:
12355         * win32/vs6/libgstelements.dsp:
12356           renamed core elements plugin
12358 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12360         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
12361         (get_candidates):
12362           do piece-wise major/minor comparison so 0.9 < 0.10
12363           also allow .exe extensions for tools
12365 2005-12-02  Michael Smith  <msmith@fluendo.com>
12367         * gst/gst.c:
12368           Escape a % to make gtkdoc happier; bug 322958.
12370 === release 0.9.7 ===
12372 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12374         * configure.ac:
12375           releasing 0.9.7, "My Dog Has No Nose"
12377 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12379         * common/gst-xmlinspect.py:
12380         * configure.ac:
12381         * docs/libs/tmpl/gstdataprotocol.sgml:
12382         * docs/random/release:
12383         * po/af.po:
12384         * po/az.po:
12385         * po/bg.po:
12386         * po/ca.po:
12387         * po/cs.po:
12388         * po/de.po:
12389         * po/en_GB.po:
12390         * po/fr.po:
12391         * po/it.po:
12392         * po/nb.po:
12393         * po/nl.po:
12394         * po/ru.po:
12395         * po/sq.po:
12396         * po/sr.po:
12397         * po/sv.po:
12398         * po/tr.po:
12399         * po/uk.po:
12400         * po/vi.po:
12401         * win32/common/config.h:
12402         * win32/common/config.h.in:
12403         * win32/vs6/gst_inspect.dsp:
12404         * win32/vs6/gst_launch.dsp:
12405         * win32/vs6/libgstbase.dsp:
12406         * win32/vs6/libgstelements.dsp:
12407         * win32/vs6/libgstreamer.dsp:
12408         * win32/vs7/GStreamer.vcproj:
12409         * win32/vs7/gst-inspect.vcproj:
12410         * win32/vs7/gst-launch.vcproj:
12411         * win32/vs7/libgstbase.vcproj:
12412           bump GST_MAJORMINOR to 0.10
12413           reset libtool version
12415 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12417         * po/LINGUAS:
12418         * po/bg.po:
12419           Added Bulgarian translation by (Alexander Shopov)
12421 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12423         * tests/check/gst/gstplugin.c:
12424           fix test
12426 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12428         * common/gst-xmlinspect.py:
12429         * common/gtk-doc-plugins.mak:
12430         * configure.ac:
12431         * docs/Makefile.am:
12432         * docs/gst/Makefile.am:
12433         * docs/gst/gstreamer-docs.sgml:
12434         * docs/gst/gstreamer-sections.txt:
12435         * docs/gst/gstreamer.types:
12436         * docs/gst/gstreamer.types.in:
12437         * docs/plugins/Makefile.am:
12438         * docs/plugins/gstreamer-plugins-docs.sgml:
12439         * docs/plugins/gstreamer-plugins-sections.txt:
12440         * docs/plugins/gstreamer-plugins.types:
12441         * docs/plugins/inspect.stamp:
12442         * docs/plugins/inspect/plugin-coreelements.xml:
12443         * docs/plugins/inspect/plugin-coreindexers.xml:
12444         * docs/plugins/scanobj-build.stamp:
12445         * gstreamer.spec.in:
12446         * plugins/elements/Makefile.am:
12447         * plugins/elements/gstelements.c:
12448         * plugins/elements/gstfakesink.c:
12449         * plugins/elements/gstfakesrc.c:
12450         * plugins/elements/gstfilesink.c:
12451         * plugins/elements/gstfilesrc.c:
12452         * plugins/elements/gstqueue.c:
12453         * plugins/indexers/Makefile.am:
12454         * plugins/indexers/gstindexers.c:
12455           document core plugins in a separate document just like all the
12456           others
12457           rename these plugins to something starting with core
12459 2005-12-01  Andy Wingo  <wingo@pobox.com>
12461         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12462         padding here before, but it missed the commit.
12464 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12466         * libs/gst/controller/gstinterpolation.c:
12467           whitespace prices have crashed, we should feel free to use some now
12468           use gst_guint64_to_gdouble
12470 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12472         * libs/gst/controller/gstcontroller.c:
12473         * libs/gst/controller/gsthelper.c:
12474         * libs/gst/controller/gstinterpolation.c:
12475         * libs/gst/controller/lib.c:
12476           wrap config.h include
12478 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12480         * docs/gst/gstreamer-sections.txt:
12481           update docs
12483 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12485         * plugins/elements/gstelements.c:
12486         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12487         (gst_fd_sink__class_init), (gst_fd_sink__init),
12488         (gst_fd_sink__chain), (gst_fd_sink__set_property),
12489         (gst_fd_sink__get_property):
12490         * plugins/elements/gstfdsink.h:
12491         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12492         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12493         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12494         (gst_fd_src_unlock), (gst_fd_src_set_property),
12495         (gst_fd_src_get_property), (gst_fd_src_create),
12496         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12497         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12498         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12499         (gst_fd_src_uri_handler_init):
12500         * plugins/elements/gstfdsrc.h:
12501         * plugins/elements/gstqueue.c: (gst_queue_get_type):
12502           more anal cleanup
12504 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12506         * docs/gst/Makefile.am:
12507         * docs/gst/gstreamer.types.in:
12508         * gst/Makefile.am:
12509           fix the docs build
12511 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12513         * configure.ac:
12514         * gst/Makefile.am:
12515         * gst/gst.c:
12516         * gst/gstplugin.h:
12517         * gst/gstregistry.h:
12518         * tests/benchmarks/complexity.c:
12519         * tests/benchmarks/mass-elements.c:
12520         * tests/check/Makefile.am:
12521         * tools/Makefile.am:
12522         * tools/gst-inspect.c:
12523         * tools/gst-xmlinspect.c:
12524           various fixes to make
12525           --disable-nls --disable-registry --disable-loadsave
12526           --disable-parse --disable-gst-debug
12527           work and get the core .so down to 360444 bytes after stripping
12529 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12531         * Makefile.am:
12532         * configure.ac:
12533           descend into tests
12534         * docs/random/thomasvs/TODO:
12535         * tests/Makefile.am:
12536         * tests/README:
12537           add a README
12539 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12541         * win32/GStreamer.vcproj:
12542         * win32/MANIFEST:
12543         * win32/Makefile:
12544         * win32/Makefile.inspect:
12545         * win32/Makefile.launch:
12546         * win32/Makefile.register:
12547         * win32/README.txt:
12548         * win32/gst-inspect.vcproj:
12549         * win32/gst-launch.vcproj:
12550         * win32/gst-register.vcproj:
12551         * win32/gstelements.vcproj:
12552         * win32/gstgetbits.def:
12553         * win32/gstgetbits.vcproj:
12554         * win32/gstreamer-dbg.def:
12555         * win32/gstreamer.def:
12556         * win32/libgstbase.def:
12557         * win32/libgstbase.vcproj:
12558         * win32/link_oldruntime.c:
12559         * win32/mman.c:
12560         * win32/mman.h:
12561         * win32/mman.inl:
12562         * win32/msvc71.sln:
12563           move even more stuff, win32/ is nice and clean now
12565 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12567         * libs/gst/control/.cvsignore:
12568         * win32/MANIFEST:
12569         * win32/config.h:
12570         * win32/dirent.c:
12571         * win32/dirent.h:
12572         * win32/gstbytestream.def:
12573         * win32/gstbytestream.vcproj:
12574         * win32/gstconfig.h:
12575         * win32/gstenumtypes.c:
12576         * win32/gstenumtypes.h:
12577         * win32/gstoptimalscheduler.vcproj:
12578         * win32/gstversion.h:
12579         * win32/gtchar.h:
12580         * win32/testsuite/bins.vcproj:
12581         * win32/testsuite/bytestream.vcproj:
12582         * win32/testsuite/caps.vcproj:
12583         * win32/testsuite/cleanup.vcproj:
12584         * win32/testsuite/clock.vcproj:
12585         * win32/testsuite/debug.vcproj:
12586         * win32/testsuite/dlopen.vcproj:
12587         * win32/testsuite/dynparams.vcproj:
12588         * win32/testsuite/elements.vcproj:
12589         * win32/testsuite/ghostpads.vcproj:
12590         * win32/testsuite/indexers.vcproj:
12591         * win32/testsuite/negotiation.vcproj:
12592         * win32/testsuite/parse.vcproj:
12593         * win32/testsuite/plugin.vcproj:
12594         * win32/testsuite/refcounting.vcproj:
12595         * win32/testsuite/schedulers.vcproj:
12596         * win32/testsuite/states.vcproj:
12597         * win32/testsuite/tags.vcproj:
12598         * win32/testsuite/threads.vcproj:
12599           remove old win32 stuff that isn't maintained and should be
12600           reorganized
12602 2005-11-30  Andy Wingo  <wingo@pobox.com>
12604         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12605         loading the gst.interfaces python module bork.
12607         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12608         available since GLib 2.2. Fixes #318031.
12610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12612         * Makefile.am:
12613         * check/.cvsignore:
12614         * check/Makefile.am:
12615         * check/elements/.cvsignore:
12616         * check/elements/fakesrc.c:
12617         * check/elements/fdsrc.c:
12618         * check/elements/identity.c:
12619         * check/generic/.cvsignore:
12620         * check/generic/states.c:
12621         * check/gst-libs/.cvsignore:
12622         * check/gst-libs/controller.c:
12623         * check/gst-libs/gdp.c:
12624         * check/gst/.cvsignore:
12625         * check/gst/capslist.h:
12626         * check/gst/gst.c:
12627         * check/gst/gstbin.c:
12628         * check/gst/gstbuffer.c:
12629         * check/gst/gstbus.c:
12630         * check/gst/gstcaps.c:
12631         * check/gst/gstelement.c:
12632         * check/gst/gstevent.c:
12633         * check/gst/gstghostpad.c:
12634         * check/gst/gstiterator.c:
12635         * check/gst/gstmessage.c:
12636         * check/gst/gstminiobject.c:
12637         * check/gst/gstobject.c:
12638         * check/gst/gstpad.c:
12639         * check/gst/gstpipeline.c:
12640         * check/gst/gstplugin.c:
12641         * check/gst/gstsegment.c:
12642         * check/gst/gststructure.c:
12643         * check/gst/gstsystemclock.c:
12644         * check/gst/gsttag.c:
12645         * check/gst/gstutils.c:
12646         * check/gst/gstvalue.c:
12647         * check/net/.cvsignore:
12648         * check/net/gstnetclientclock.c:
12649         * check/net/gstnettimeprovider.c:
12650         * check/pipelines/.cvsignore:
12651         * check/pipelines/cleanup.c:
12652         * check/pipelines/simple_launch_lines.c:
12653         * check/pipelines/stress.c:
12654         * check/states/.cvsignore:
12655         * check/states/sinks.c:
12656         * configure.ac:
12657         * examples/Makefile.am:
12658         * examples/appreader/.cvsignore:
12659         * examples/appreader/Makefile.am:
12660         * examples/appreader/appreader.c:
12661         * examples/controller/.cvsignore:
12662         * examples/controller/Makefile.am:
12663         * examples/controller/audio-example.c:
12664         * examples/cutter/.cvsignore:
12665         * examples/cutter/Makefile.am:
12666         * examples/cutter/cutter.c:
12667         * examples/cutter/cutter.h:
12668         * examples/events/Makefile.am:
12669         * examples/events/seek.c:
12670         * examples/helloworld/.cvsignore:
12671         * examples/helloworld/Makefile.am:
12672         * examples/helloworld/helloworld.c:
12673         * examples/helloworld2/.cvsignore:
12674         * examples/helloworld2/Makefile.am:
12675         * examples/helloworld2/helloworld2.c:
12676         * examples/launch/.cvsignore:
12677         * examples/launch/Makefile.am:
12678         * examples/launch/mp3parselaunch.c:
12679         * examples/launch/mp3play:
12680         * examples/manual/.cvsignore:
12681         * examples/manual/Makefile.am:
12682         * examples/manual/extract.pl:
12683         * examples/metadata/Makefile.am:
12684         * examples/metadata/read-metadata.c:
12685         * examples/mixer/.cvsignore:
12686         * examples/mixer/Makefile.am:
12687         * examples/mixer/mixer.c:
12688         * examples/mixer/mixer.h:
12689         * examples/pingpong/.cvsignore:
12690         * examples/pingpong/Makefile.am:
12691         * examples/pingpong/pingpong.c:
12692         * examples/plugins/.cvsignore:
12693         * examples/plugins/Makefile.am:
12694         * examples/plugins/example.c:
12695         * examples/plugins/example.h:
12696         * examples/pwg/.cvsignore:
12697         * examples/pwg/Makefile.am:
12698         * examples/pwg/extract.pl:
12699         * examples/queue/.cvsignore:
12700         * examples/queue/Makefile.am:
12701         * examples/queue/queue.c:
12702         * examples/queue2/.cvsignore:
12703         * examples/queue2/Makefile.am:
12704         * examples/queue2/queue2.c:
12705         * examples/queue3/.cvsignore:
12706         * examples/queue3/Makefile.am:
12707         * examples/queue3/queue3.c:
12708         * examples/queue4/.cvsignore:
12709         * examples/queue4/Makefile.am:
12710         * examples/queue4/queue4.c:
12711         * examples/retag/.cvsignore:
12712         * examples/retag/Makefile.am:
12713         * examples/retag/retag.c:
12714         * examples/retag/transcode.c:
12715         * examples/thread/.cvsignore:
12716         * examples/thread/Makefile.am:
12717         * examples/thread/thread.c:
12718         * examples/typefind/.cvsignore:
12719         * examples/typefind/Makefile.am:
12720         * examples/typefind/typefind.c:
12721         * examples/xml/.cvsignore:
12722         * examples/xml/Makefile.am:
12723         * examples/xml/createxml.c:
12724         * examples/xml/runxml.c:
12725         * tests/Makefile.am:
12726         * tests/check/Makefile.am:
12727         * testsuite/.cvsignore:
12728         * testsuite/Makefile.am:
12729         * testsuite/Rules:
12730         * testsuite/caps/.cvsignore:
12731         * testsuite/caps/Makefile.am:
12732         * testsuite/caps/app_fixate.c:
12733         * testsuite/caps/audioscale.c:
12734         * testsuite/caps/caps.c:
12735         * testsuite/caps/caps.h:
12736         * testsuite/caps/caps_strings:
12737         * testsuite/caps/compatibility.c:
12738         * testsuite/caps/deserialize.c:
12739         * testsuite/caps/enumcaps.c:
12740         * testsuite/caps/eratosthenes.c:
12741         * testsuite/caps/filtercaps.c:
12742         * testsuite/caps/fixed.c:
12743         * testsuite/caps/fraction-convert.c:
12744         * testsuite/caps/fraction-multiply-and-zero.c:
12745         * testsuite/caps/intersect2.c:
12746         * testsuite/caps/intersection.c:
12747         * testsuite/caps/normalisation.c:
12748         * testsuite/caps/random.c:
12749         * testsuite/caps/renegotiate.c:
12750         * testsuite/caps/sets.c:
12751         * testsuite/caps/simplify.c:
12752         * testsuite/caps/string-conversions.c:
12753         * testsuite/caps/structure.c:
12754         * testsuite/caps/subtract.c:
12755         * testsuite/caps/union.c:
12756         * testsuite/debug/.cvsignore:
12757         * testsuite/debug/Makefile.am:
12758         * testsuite/debug/category.c:
12759         * testsuite/debug/commandline.c:
12760         * testsuite/debug/global.c:
12761         * testsuite/debug/output.c:
12762         * testsuite/debug/printf_extension.c:
12763         * testsuite/dlopen/.cvsignore:
12764         * testsuite/dlopen/Makefile.am:
12765         * testsuite/dlopen/dlopen_gst.c:
12766         * testsuite/dlopen/loadgst.c:
12767         * testsuite/elements/.cvsignore:
12768         * testsuite/elements/Makefile.am:
12769         * testsuite/elements/gst-inspect-check.in:
12770         * testsuite/elements/struct_i386.h:
12771         * testsuite/elements/struct_size.c:
12772         * testsuite/indexers/.cvsignore:
12773         * testsuite/indexers/Makefile.am:
12774         * testsuite/indexers/cache1.c:
12775         * testsuite/indexers/indexdump.c:
12776         * testsuite/parse/.cvsignore:
12777         * testsuite/parse/Makefile.am:
12778         * testsuite/parse/parse1.c:
12779         * testsuite/parse/parse2.c:
12780         * testsuite/plugin/.cvsignore:
12781         * testsuite/plugin/Makefile.am:
12782         * testsuite/plugin/README:
12783         * testsuite/plugin/dynamic.c:
12784         * testsuite/plugin/linked.c:
12785         * testsuite/plugin/loading.c:
12786         * testsuite/plugin/registry.c:
12787         * testsuite/plugin/static.c:
12788         * testsuite/plugin/static2.c:
12789         * testsuite/plugin/testplugin.c:
12790         * testsuite/plugin/testplugin2.c:
12791         * testsuite/plugin/testplugin2_s.c:
12792         * testsuite/plugin/testplugin_s.c:
12793         * testsuite/refcounting/.cvsignore:
12794         * testsuite/refcounting/Makefile.am:
12795         * testsuite/refcounting/bin.c:
12796         * testsuite/refcounting/element.c:
12797         * testsuite/refcounting/element_pad.c:
12798         * testsuite/refcounting/mainloop.c:
12799         * testsuite/refcounting/mem.c:
12800         * testsuite/refcounting/mem.h:
12801         * testsuite/refcounting/object.c:
12802         * testsuite/refcounting/pad.c:
12803         * testsuite/refcounting/sched.c:
12804         * testsuite/refcounting/thread.c:
12805         * testsuite/states/.cvsignore:
12806         * testsuite/states/Makefile.am:
12807         * testsuite/states/bin.c:
12808         * testsuite/states/locked.c:
12809         * testsuite/states/parent.c:
12810         * testsuite/threads/.cvsignore:
12811         * testsuite/threads/159566.c:
12812         * testsuite/threads/159852.c:
12813         * testsuite/threads/Makefile.am:
12814         * testsuite/threads/queue.c:
12815         * testsuite/threads/signals.c:
12816         * testsuite/threads/staticrec.c:
12817         * testsuite/threads/thread.c:
12818         * testsuite/threads/threadb.c:
12819         * testsuite/threads/threadc.c:
12820         * testsuite/threads/threadd.c:
12821         * testsuite/threads/threade.c:
12822         * testsuite/threads/threadf.c:
12823         * testsuite/threads/threadg.c:
12824         * testsuite/threads/threadh.c:
12825         * testsuite/threads/threadi.c:
12826           move all of these under tests
12828 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12830         * configure.ac:
12831         * tests/Makefile.am:
12832           fix distcheck
12834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12836         * docs/gst/gstreamer-sections.txt:
12837         * tests/sched/.cvsignore:
12838         * tests/sched/Makefile.am:
12839         * tests/sched/cases/(fs-fs).xml:
12840         * tests/sched/cases/(fs-i-fs).xml:
12841         * tests/sched/cases/(fs-i-i-fs).xml:
12842         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12843         * tests/sched/dynamic-pipeline.c:
12844         * tests/sched/interrupt1.c:
12845         * tests/sched/interrupt2.c:
12846         * tests/sched/interrupt3.c:
12847         * tests/sched/runtestcases:
12848         * tests/sched/runxml.c:
12849         * tests/sched/sched-stress.c:
12850         * tests/sched/sort.c:
12851         * tests/sched/testcases:
12852         * tests/sched/testcases1.tc:
12853         * tests/seeking/.cvsignore:
12854         * tests/seeking/Makefile.am:
12855         * tests/seeking/seeking1.c:
12856         * tests/threadstate/.cvsignore:
12857         * tests/threadstate/Makefile.am:
12858         * tests/threadstate/test1.c:
12859         * tests/threadstate/test2.c:
12860         * tests/threadstate/threadstate1.c:
12861         * tests/threadstate/threadstate2.c:
12862         * tests/threadstate/threadstate3.c:
12863         * tests/threadstate/threadstate4.c:
12864         * tests/threadstate/threadstate5.c:
12865           remove obsolete tests
12866         * configure.ac:
12867         * tests/bench-complexity.scm:
12868         * tests/bench-mass_elements.scm:
12869         * tests/complexity.c:
12870         * tests/complexity.gnuplot:
12871         * tests/instantiate/.cvsignore:
12872         * tests/instantiate/Makefile.am:
12873         * tests/instantiate/caps.c:
12874         * tests/mass_elements.c:
12875         * tests/network-clock-utils.scm:
12876         * tests/network-clock.scm:
12877         * tests/plot-data:
12878         First pass at cleaning up tests/ dir before moving the rest
12879         Combined with CVS surgery
12881 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12883         * po/POTFILES.in:
12884           queue has moved, update
12886 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12888         * docs/gst/gstreamer-sections.txt:
12889           remove double entries from the docs
12890         * gst/gst_private.h:
12891         * gst/gstinfo.c: (_gst_debug_init):
12892           remove the THREAD debug category
12893         * gst/Makefile.am:
12894         * gst/gstqueue.c:
12895         * gst/gstqueue.h:
12896         * docs/gst/gstreamer.types:
12897         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12898         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12899           completely move queue and fix up debugging categories
12901 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12903         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12904           make initialization portable, using LL is not
12906 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12908         * win32/common/gstconfig.h:
12909           add large padding
12911 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12913         * win32/common/libgstreamer.def:
12914           rename symbols; sort base section
12916 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12918         * gst/gstclock.c: (do_linear_regression):
12919           remove crack non-portable handrolled DEBUG macro
12921 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12923         * docs/random/release:
12924           update notes
12925         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12926         (gst_object_flags_get_type), (register_gst_bin_flags),
12927         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12928         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12929         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12930         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12931         (gst_caps_flags_get_type), (register_gst_clock_return),
12932         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12933         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12934         (gst_clock_flags_get_type), (register_gst_state),
12935         (gst_state_get_type), (register_gst_state_change_return),
12936         (gst_state_change_return_get_type), (register_gst_state_change),
12937         (gst_state_change_get_type), (register_gst_element_flags),
12938         (gst_element_flags_get_type), (register_gst_core_error),
12939         (gst_core_error_get_type), (register_gst_library_error),
12940         (gst_library_error_get_type), (register_gst_resource_error),
12941         (gst_resource_error_get_type), (register_gst_stream_error),
12942         (gst_stream_error_get_type), (register_gst_event_type_flags),
12943         (gst_event_type_flags_get_type), (register_gst_event_type),
12944         (gst_event_type_get_type), (register_gst_seek_type),
12945         (gst_seek_type_get_type), (register_gst_seek_flags),
12946         (gst_seek_flags_get_type), (register_gst_format),
12947         (gst_format_get_type), (register_gst_index_certainty),
12948         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12949         (gst_index_entry_type_get_type),
12950         (register_gst_index_lookup_method),
12951         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12952         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12953         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12954         (gst_index_flags_get_type), (register_gst_debug_level),
12955         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12956         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12957         (gst_iterator_result_get_type), (register_gst_iterator_item),
12958         (gst_iterator_item_get_type), (register_gst_message_type),
12959         (gst_message_type_get_type), (register_gst_mini_object_flags),
12960         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12961         (gst_pad_link_return_get_type), (register_gst_flow_return),
12962         (gst_flow_return_get_type), (register_gst_activate_mode),
12963         (gst_activate_mode_get_type), (register_gst_pad_direction),
12964         (gst_pad_direction_get_type), (register_gst_pad_flags),
12965         (gst_pad_flags_get_type), (register_gst_pad_presence),
12966         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12967         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12968         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12969         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12970         (gst_plugin_flags_get_type), (register_gst_rank),
12971         (gst_rank_get_type), (register_gst_query_type),
12972         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12973         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12974         (gst_tag_flag_get_type), (register_gst_task_state),
12975         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12976         (gst_alloc_trace_flags_get_type),
12977         (register_gst_type_find_probability),
12978         (gst_type_find_probability_get_type), (register_gst_uri_type),
12979         (gst_uri_type_get_type), (register_gst_parse_error),
12980         (gst_parse_error_get_type):
12981         * win32/common/gstenumtypes.h:
12982         * win32/common/gstversion.h:
12983           update visual studio generated files
12985 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12987         * win32/vs6/libgstbase.dsp:
12988         * win32/vs6/libgstelements.dsp:
12989           update project files for new locations
12991 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12993         * Makefile.am:
12994           remove some files
12995         * README:
12996           reinstate and update
12997         * DEVEL:
12998         * REQUIREMENTS:
12999           removed
13000         * LICENSE:
13001         * docs/random/LICENSE:
13002           moved to random
13004 2005-11-30  Edward Hervey  <edward@fluendo.com>
13006         * gst/gsttypefind.c: (gst_type_find_register):
13007         * gst/gsttypefind.h:
13008         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13009         (gst_type_find_factory_dispose):
13010         * gst/gsttypefindfactory.h:
13011         Fix memory leak in GstTypeFindFactory.
13013 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13015         * gst/gst.c:
13016         * plugins/elements/Makefile.am:
13017         * plugins/elements/gstelements.c:
13018         * plugins/elements/gstqueue.c:
13019           move queue from core to the elements plugin
13021 2005-11-29  Andy Wingo  <wingo@pobox.com>
13023         * libs/gst/base/gstbasetransform.h: 
13024         * libs/gst/base/gstbasesrc.h: 
13025         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13027         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13028         of pointers by which to pad very extensible base classes (like the
13029         ones in libs/gst/base).
13031 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13033         * docs/gst/gstreamer-docs.sgml:
13034         * docs/gst/gstreamer-sections.txt:
13035         * docs/libs/gstreamer-libs-docs.sgml:
13036         * docs/libs/gstreamer-libs-sections.txt:
13037           moving documentation from core to lib
13039 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13041         * check/Makefile.am:
13042         * configure.ac:
13043         * docs/gst/Makefile.am:
13044         * gst/Makefile.am:
13045         * gst/base/.cvsignore:
13046         * gst/base/Makefile.am:
13047         * gst/base/README:
13048         * gst/base/gstadapter.c:
13049         * gst/base/gstadapter.h:
13050         * gst/base/gstbasesink.c:
13051         * gst/base/gstbasesink.h:
13052         * gst/base/gstbasesrc.c:
13053         * gst/base/gstbasesrc.h:
13054         * gst/base/gstbasetransform.c:
13055         * gst/base/gstbasetransform.h:
13056         * gst/base/gstcollectpads.c:
13057         * gst/base/gstcollectpads.h:
13058         * gst/base/gstpushsrc.c:
13059         * gst/base/gstpushsrc.h:
13060         * gst/base/gsttypefindhelper.c:
13061         * gst/base/gsttypefindhelper.h:
13062         * gst/check/Makefile.am:
13063         * gst/check/gstcheck.c:
13064         * gst/check/gstcheck.h:
13065         * gst/net/Makefile.am:
13066         * gst/net/gstnet.h:
13067         * gst/net/gstnetclientclock.c:
13068         * gst/net/gstnetclientclock.h:
13069         * gst/net/gstnettimepacket.c:
13070         * gst/net/gstnettimepacket.h:
13071         * gst/net/gstnettimeprovider.c:
13072         * gst/net/gstnettimeprovider.h:
13073         * libs/gst/Makefile.am:
13074         * libs/gst/base/Makefile.am:
13075         * libs/gst/base/gstbasetransform.c:
13076         * libs/gst/check/Makefile.am:
13077         * plugins/elements/Makefile.am:
13078         * po/POTFILES.in:
13079           CVS surgery + support to move base, check, and net out of gst
13080           and into libs/gst
13082 2005-11-29  Andy Wingo  <wingo@pobox.com>
13084         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13086         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13087         padding.
13089         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13091         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13093         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13095         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13096         padding; reduces object size by about 30%. We don't expect
13097         anything else to go into gstobject.
13099         * gst/gstminiobject.h (struct _GstMiniObject)
13100         (struct _GstMiniObjectClass): Only one pointer of padding; the
13101         payload is only a pointer and two ints anyway. For the class there
13102         are only two methods as well.
13103         
13104         * gst/gstelement.h (struct _GstElementClass): Removed
13105         the state_changed signal callback, it is not used.
13107 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13109         * docs/gst/gstreamer.types:
13110           fix includes, though they are a little dinky
13112 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13114         * check/Makefile.am:
13115           look in the right place for elements, a lot more chance of
13116           success
13117         * gst/Makefile.am:
13118           remove indexers and elements subdirs
13119         * plugins/Makefile.am:
13120           make indexers conditional
13122 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13124         * Makefile.am:
13125         * configure.ac:
13126         * plugins/elements/Makefile.am:
13127         * plugins/elements/gstcapsfilter.c:
13128         * plugins/elements/gstfilesink.c:
13129         * plugins/elements/gstfilesrc.c:
13130         * plugins/elements/gstidentity.c:
13131         * plugins/indexers/Makefile.am:
13132           do CVS surgery and related build fixery to move elements
13133           and indexers in a new gstreamer/plugins directory, out of the
13134           gst/ directory
13136 2005-11-29  Andy Wingo  <wingo@pobox.com>
13138         * check/Makefile.am:
13139         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13140         * pkgconfig/gstreamer-net.pc.in:
13141         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13142         #322257.
13144 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13146         * tools/Makefile.am:
13147         * tools/gst-complete.1.in:
13148         * tools/gst-complete.c:
13149         * tools/gst-compprep.1.in:
13150         * tools/gst-compprep.c:
13151           removing -compprep and -complete
13153 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13155         * gst/gstevent.c: (gst_event_new_new_segment),
13156         (gst_event_parse_new_segment):
13157         * gst/gstevent.h:
13158           fix #320529 - clean up new_segment API and structure.
13159           Let's hope everyone was using the methods, and not the structure.
13161 2005-11-29  Edward Hervey  <edward@fluendo.com>
13163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13164         (gst_base_sink_event), (gst_base_sink_do_sync),
13165         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13166         Properly handle non GST_FORMAT_TIME segment
13167         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13168         Properly handle non GST_FORMAT_TIME segment
13169         * gst/gstsegment.c:
13170         This function is valid if the accumulator is 0 and the format
13171         is different from the requested format.
13172         
13173 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13175         * docs/gst/gstreamer-sections.txt:
13176         Add gst_query_new_seeking and gst_query_parse_seeking to the
13177         docs.
13179 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13181         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13182           Treat a pad alloc with new caps the same as if we were not
13183           negotiated, in order to allow a changing upstream output
13184           to produce a new format of data.
13186 2005-11-29  Edward Hervey  <edward@fluendo.com>
13188         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13189         (gst_base_transform_event), (gst_base_transform_eventfunc):
13190         The event virtual method is now properly implemented, with a default
13191         handler
13192         Sub classes should call the parent_class event method. They should
13193         return FALSE if they had a problem handling the given event, or don't
13194         want GstBaseTransform to send that even downstream
13195         * gst/elements/gstidentity.c: (gst_identity_class_init),
13196         (gst_identity_init), (gst_identity_event),
13197         (gst_identity_transform_ip), (gst_identity_set_property),
13198         (gst_identity_get_property):
13199         * gst/elements/gstidentity.h:
13200         Added the single-segment boolean property.
13201         If set to TRUE, it will output a single segment of data, starting from
13202         0, will eat up all incoming newsegment, and modify the timestamp of the
13203         buffers accordingly
13205 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
13207         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13208           Don't ref NULL target pad (#322751). Improve docs.
13210 2005-11-29  Michael Smith  <msmith@fluendo.com>
13212         * gst/gstregistryxml.c: (load_plugin):
13213           Don't crash if we failed to load a feature from a plugin. 
13215 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13217         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13218         (GST_START_TEST):
13219           use more check API and less GLib API
13221 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13223         * Makefile.am:
13224           don't run checks if we don't have check
13225         * common/check.mak:
13226           remove the registry when running make torture
13227         * docs/gst/gstreamer-sections.txt:
13228           remove second multiply
13229         * gst/gstqueue.c: (gst_queue_loop):
13230           fix a compile warning when disabling debug
13232 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13234         * gst/gstinfo.h:
13235         Hey! Let's print the pad name if the pointer != NULL instead
13236         of when it == NULL :-)
13238 2005-11-28  Wim Taymans  <wim@fluendo.com>
13240         * check/gst/gstutils.c: (GST_START_TEST):
13241         Updated check, add some scaling accuracy checking code.
13243         * gst/gstutils.c: (gst_util_div128_64),
13244         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13245         (gst_util_uint64_scale_int):
13246         Fix 6 times faster division code. Optimize for common 
13247         1/1 and less common X/1 cases.
13249 2005-11-28  Wim Taymans  <wim@fluendo.com>
13251         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13252         More checks.
13254         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13255         (do_linear_regression), (gst_clock_add_observation):
13256         Cleanups.
13257         Release lock when the clock cannot be slaved.
13258         Catch the case where the regression returned an invalid denominator.
13260         * gst/gstutils.c: (gst_util_div128_64_iterate),
13261         (gst_util_div128_64), (gst_util_uint64_scale_int64),
13262         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13263         Add protentially more performant non-iterative 128/64 divide function
13264         that unfortunatly does not work yet.
13265         Shortcut the trivial 0/X = 0 case.
13266         Remove the warnings on overflow.
13268 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13270         * gst/gstplugin.c: (gst_plugin_register_func):
13271           everything causing a plugin not to load should be at least a WARNING
13273 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
13275         * docs/random/ensonic/dparams.txt:
13276           some TODOs for the next dev cycle
13277         * libs/gst/controller/gstcontroller.c:
13278         (gst_controlled_property_set_interpolation_mode),
13279         (gst_controlled_property_new):
13280         * libs/gst/controller/gstcontroller.h:
13281           use base type to assign acccessor functions
13283 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13285         * check/Makefile.am:
13286         Oops, that should have been top_srcdir
13288 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
13290         * check/Makefile.am:
13291         * check/elements/fdsrc.c: (GST_START_TEST):
13292         Use a cmdline define to specify the location of a file to use for
13293         testing, to avoid breaking distcheck.
13295 2005-11-28  Andy Wingo  <wingo@pobox.com>
13297         * gst/gstpad.c (fixate_value): Use array functions for arrays.
13299 2005-11-28  Edward Hervey  <edward@fluendo.com>
13301         * tools/gst-launch.c: (main):
13302         Clarify the output strings, makes it easier to translate.
13303         Fixes #322626
13305 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13307         * gst/Makefile.am:
13308           don't try and build net if we don't even have <sys/socket.h>
13310 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
13312         * check/Makefile.am:
13313         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13314         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13315           Add tests for fdsrc seekability
13317         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13318         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13319         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13320         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13321         * gst/elements/gstfdsrc.h:
13322           fdsrc should not be a 'live' source.
13323           Implement seeking on seekable fd's.
13325         * gst/gstquery.c: (gst_query_new_seeking),
13326         (gst_query_parse_seeking):
13327         * gst/gstquery.h:
13328           Implement SEEKING query functions: 
13329             *_new_seeking and *_parse_seeking
13331 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
13333         * gst/gstelement.c: (gst_element_dispose):
13334           don't loop forever
13336         * gst/gstiterator.c:
13337         * gst/gststructure.c:
13338           doc fixes
13340         * libs/gst/controller/gstcontroller.c:
13341         (gst_controlled_property_set_interpolation_mode):
13342         * libs/gst/controller/gstcontroller.h:
13343         * libs/gst/controller/gstinterpolation.c:
13344         (interpolate_none_get_enum_value_array):
13345           support controlling enums
13347 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13349         * gst/gstvalue.c:
13350           Improve documentation for gst_value_union().
13352         * gst/gstvalue.h:
13353           Change return value for union, intersect and subtract functions
13354           from gint to gboolean.
13356 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
13358         * gst/gstvalue.c: (gst_value_serialize_any_list),
13359         (gst_value_transform_any_list_string),
13360         (gst_value_deserialize_list), (gst_value_deserialize_array),
13361         (gst_value_set_int_range), (gst_value_deserialize_int_range),
13362         (gst_value_set_double_range), (gst_value_deserialize_double_range),
13363         (gst_value_set_fraction_range_full),
13364         (gst_value_deserialize_fraction_range),
13365         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
13366         (gst_value_deserialize_boolean),
13367         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
13368         (gst_value_serialize_float), (gst_value_deserialize_float),
13369         (gst_string_wrap), (gst_value_deserialize_string),
13370         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
13371         (gst_value_union_int_range_int_range),
13372         (gst_value_intersect_int_range_int_range),
13373         (gst_value_intersect_double_range_double_range),
13374         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
13375         (gst_value_subtract_int_range_int_range),
13376         (gst_value_subtract_double_double_range),
13377         (gst_value_subtract_double_range_double_range),
13378         (gst_value_deserialize_fraction):
13379         * gst/gstvalue.h:
13380           Use gint, gdouble and gchar in our API instead of int, double and
13381           char (and make usage in gstvalue.c more consistent).
13383 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13385         * check/Makefile.am:
13386         * libs/gst/controller/Makefile.am:
13387         * libs/gst/dataprotocol/Makefile.am:
13388           fix up Makefile.am and remove GST_ENABLE_NEW
13390 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13392         * configure.ac:
13393         * gst/Makefile.am:
13394         * gst/base/Makefile.am:
13395         * gst/check/Makefile.am:
13396         * gst/elements/Makefile.am:
13397         * gst/net/Makefile.am:
13398           update LDFLAGS use some more
13400 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
13402         * common/m4/gst-doc.m4:
13403           Fixes #312589
13405 2005-11-26  Edward Hervey  <edward@fluendo.com>
13407         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13408         This shouldn't issue a g_warning since it returns NULL if it
13409         couldn't find the plugin, and all functions using this behave
13410         properly on a NULL return. Switching to a GST_WARNING.
13412 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
13414         * gst/gstbin.c: (gst_bin_handle_message_func):
13415         Don't leak clock messages.
13417 2005-11-25  Wim Taymans  <wim@fluendo.com>
13419         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13420         (gst_util_uint64_scale_int):
13421         Optimisations, remove unneeded vars.
13423 2005-11-25  Wim Taymans  <wim@fluendo.com>
13425         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13426         Added more checks for the high precision uint64 cases.
13428         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13429         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13430         Implement high precision (guint64 * guint64) / guint64.
13432 2005-11-24  Wim Taymans  <wim@fluendo.com>
13434         * gst/base/gstbasesrc.c: (gst_base_src_query):
13435         Fix wrong percentage query.
13437         * gst/gstutils.c: (gst_util_uint64_scale),
13438         (gst_util_uint64_scale_int):
13439         Add some more common cases that can be handled 
13440         efficiently to _scale.
13442 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13444         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
13445         (gst_mini_object_suite):
13446           don't use check calls from threads; check probably isn't
13447           threadsafe and using a lock to make it threadsafe would
13448           defeat the purpose of this check
13449         * gst/check/gstcheck.c:
13450         * gst/check/gstcheck.h:
13451           use GST_DEBUG some more
13453 2005-11-24  Wim Taymans  <wim@fluendo.com>
13455         * gst/gstutils.c: (gst_util_uint64_scale),
13456         (gst_util_uint64_scale_int):
13457         Chain trivial case to _scale_int.
13459 2005-11-24  Wim Taymans  <wim@fluendo.com>
13461         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13462         Added test for scaling.
13464         * gst/gstclock.h:
13465         Small doc fix.
13467         * gst/gstutils.c: (gst_util_uint64_scale_int):
13468         Implemented high precision scaling code.
13470 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
13472         * gst/gstinfo.h:
13473           do not crash on pad==NULL
13475 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13477         Patch by: Stefan Kost
13479         * common/gtk-doc.mak:
13480         * docs/gst/Makefile.am:
13481         * docs/libs/Makefile.am:
13482           Fix distcheck issues for the libraries docs build
13483           Closes #319599.
13485 2005-11-24  Michael Smith <msmith@fluendo.com>
13487         * docs/manual/basics-helloworld.xml:
13488           Fix bug #315027: memory leak in example code in docs.
13490 2005-11-24  Michael Smith <msmith@fluendo.com>
13492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13493           Unlock the PREROLL_LOCK in a failure case.
13495 2005-11-24  Wim Taymans  <wim@fluendo.com>
13497         * docs/gst/gstreamer-sections.txt:
13498         * gst/base/gstadapter.h:
13499         * gst/base/gstbasesink.h:
13500         * gst/base/gstbasesrc.h:
13501         * gst/base/gstbasetransform.h:
13502         * gst/base/gstpushsrc.h:
13503         * gst/elements/gstfakesink.h:
13504         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13505         * gst/elements/gstfakesrc.h:
13506         * gst/elements/gstfilesink.h:
13507         * gst/elements/gstfilesrc.h:
13508         * gst/gst.c:
13509         * gst/gstbin.c:
13510         * gst/gstbuffer.c: (_gst_buffer_copy):
13511         * gst/gstbus.h:
13512         * gst/gstcaps.c:
13513         * gst/gstchildproxy.c:
13514         * gst/gstclock.c:
13515         * gst/gstelement.c:
13516         * gst/gstelementfactory.c:
13517         * gst/gstelementfactory.h:
13518         * gst/gstevent.c:
13519         * gst/gstghostpad.h:
13520         * gst/gstindex.h:
13521         * gst/gstinterface.h:
13522         * gst/gstminiobject.c:
13523         * gst/gstminiobject.h:
13524         * gst/gstpad.c:
13525         * gst/gstpad.h:
13526         * gst/gstpadtemplate.h:
13527         * gst/gstpipeline.h:
13528         * gst/gstpluginfeature.h:
13529         * gst/gstquery.h:
13530         * gst/gstqueue.h:
13531         * gst/gsttaglist.c:
13532         * gst/gsttaglist.h:
13533         * gst/gsttagsetter.c:
13534         * gst/gsttagsetter.h:
13535         * gst/gsttrace.c:
13536         * gst/gsttrace.h:
13537         * gst/gsttypefind.h:
13538         * gst/gsturi.h:
13539         * gst/gstvalue.c:
13540         * gst/net/gstnetclientclock.c:
13541         * gst/net/gstnetclientclock.h:
13542         * gst/net/gstnettimepacket.c:
13543         * gst/net/gstnettimeprovider.c:
13544         * gst/net/gstnettimeprovider.h:
13545         Doc fixes.
13547 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13549         * configure.ac: back to HEAD
13551 === release 0.9.6 ===
13553 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
13555         * configure.ac:
13556           releasing 0.9.6, "Always On Time"
13558 2005-11-23  Wim Taymans  <wim@fluendo.com>
13560         * docs/gst/gstreamer-sections.txt:
13561         * gst/glib-compat.c:
13562         * gst/gsttagsetter.c:
13563         * gst/gstvalue.c:
13564         * gst/net/gstnetclientclock.c:
13565         * gst/net/gstnettimepacket.h:
13566         Doc updates.
13568 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13570         * docs/faq/using.xml:
13571         * docs/libs/tmpl/gstcontrol.sgml:
13572         * docs/manual/advanced-dparams.xml:
13573         * docs/manual/appendix-checklist.xml:
13574         * docs/manual/basics-elements.xml:
13575         * docs/pwg/other-source.xml:
13576         * docs/random/moving-plugins:
13577         * gst/gstpad.c:
13578         * tools/gst-launch.1.in:
13579           remove mentions of sinesrc
13581 2005-11-23  Michael Smith <msmith@fluendo.com>
13583         * docs/gst/gstreamer-sections.txt:
13584           Update for new API and API changes.
13585         * gst/gstobject.h:
13586           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13587         * gst/gstvalue.c:
13588           Documentation typo fix.
13589         * gst/net/gstnettimepacket.c:
13590           Documentation fixes for arguments.
13592 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
13594         * gst/gststructure.c: (gst_structure_get_fraction),
13595         (gst_structure_parse_value),
13596         (gst_structure_fixate_field_nearest_fraction):
13597         * gst/gststructure.h:
13598         * gst/gstutils.c: (gst_util_uint64_scale_int):
13599         * gst/gstutils.h:
13600         * scripts/update-funcnames:
13601         API Changes. 
13602         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13603         Make gst_structure_fixate_field_nearest_fraction take a numerator
13604         and denominator argument instead of a GValue
13605         add gst_structure_get_fraction helper function.
13607 2005-11-23  Wim Taymans  <wim@fluendo.com>
13609         * docs/design/part-TODO.txt:
13610         Update TODO.
13612         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13613         * gst/net/gstnetclientclock.h:
13614         Use parent fields for timeout and window_size.
13616 2005-11-23  Andy Wingo  <wingo@pobox.com>
13618         * check/net/gstnetclientclock.c (test_functioning): Adjust to
13619         rate_num/rate_denom change.
13621         * gst/net/gstnetclientclock.c
13622         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13623         OBJECT_LOCK. Don't call add_observation with the lock.
13625         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13626         fraction.
13627         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13628         rate fraction.
13629         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13630         deal with rate as a fraction whose numerator and denominator are
13631         GstClockTime values.
13632         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13633         master; the other fields are protected by the SLAVE_LOCK.
13634         (do_linear_regression): Note that this must be called with the
13635         SLAVE_LOCK.
13636         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13637         OBJECT_LOCK. Call set_calibration instead of touching the
13638         variables directly.
13639         (gst_clock_set_property, gst_clock_get_property): Protect
13640         master/slave parameters with the SLAVE_LOCK.
13642         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13643         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13644         note that all of the instance variables that add_observation and
13645         the set_master functions use are protected by that lock and not
13646         the OBJECT_LOCK.
13647         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13649         * gst/gstclock.c (gst_clock_add_observation): No longer requires
13650         the caller to take the object lock.
13652 2005-11-23  Wim Taymans  <wim@fluendo.com>
13654         * gst/gsterror.c: (_gst_core_errors_init):
13655         * gst/gsterror.h:
13656         Add error for clock stuff.
13658         * gst/gstpipeline.c: (gst_pipeline_change_state),
13659         (gst_pipeline_set_clock):
13660         Post clock error when clock cannot be used in a pipeline.
13662 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
13664         * docs/gst/gstreamer-sections.txt:
13665           make two symbols from gstinfo private for the docs
13666         * gst/base/gstcollectpads.h:
13667         * gst/gstutils.c:
13668           fix doc typos, update docs
13670 2005-11-22  Wim Taymans  <wim@fluendo.com>
13672         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13673         (gst_base_sink_wait), (gst_base_sink_do_sync),
13674         (gst_base_sink_handle_event):
13675         * gst/base/gstbasesink.h:
13676         No need to store the clock, the parent element class already
13677         has it.
13679         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13680         Updates for clock_set returning a gboolean
13682         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13683         (gst_clock_id_wait_async), (gst_clock_class_init),
13684         (gst_clock_init), (gst_clock_finalize),
13685         (gst_clock_get_internal_time), (gst_clock_get_time),
13686         (gst_clock_slave_callback), (gst_clock_set_master),
13687         (gst_clock_get_master), (do_linear_regression),
13688         (gst_clock_add_observation), (gst_clock_set_property),
13689         (gst_clock_get_property):
13690         * gst/gstclock.h:
13691         Implement master/slave. When setting a clock as a slave, a
13692         periodic timeout is scheduled to sample master and slave times.
13693         Then the slave clock is recalibrated to match offset and rate
13694         of the master clock.
13695         Update logging a bit.
13696         Add flag so that a clock can state that is cannot be slaved to
13697         another clock.
13699         * gst/gstelement.c: (gst_element_set_clock):
13700         * gst/gstelement.h:
13701         The set clock returns a gboolean for when an element cannot
13702         deal with the selected clock in the pipeline. 
13704         * gst/gstpipeline.c: (gst_pipeline_change_state),
13705         (gst_pipeline_set_clock):
13706         * gst/gstpipeline.h:
13707         Handle the case where the selected clock cannot be set on
13708         the pipeline.
13710         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13711         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13712         (gst_net_client_clock_set_property),
13713         (gst_net_client_clock_get_property),
13714         (gst_net_client_clock_observe_times):
13715         * gst/net/gstnetclientclock.h:
13716         Use regression code in GstClock parent, remove duplicated
13717         functionality.
13719 2005-11-22  Michael Smith <msmith@fluendo.com>
13721         * gst/gstutils.c: (gst_util_clock_time_scale):
13722         * gst/gstutils.h:
13723         * docs/gst/gstreamer-sections.txt:
13724           Rename method to have extra underscore.
13726 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13728         * gst/elements/Makefile.am:
13729         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13730         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13731         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13732         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13733         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13734         * gst/elements/gstfakesrc.h:
13735         * gst/gstqueue.c: (queue_leaky_get_type):
13736           correctly fix GEnumValues so that nick is the short lowercase
13737           dashed tag
13738         * tools/gst-inspect.c: (print_element_properties_info):
13739           also show the nick, since it's useful to use from parse_launch
13740           syntax
13741           Fixes #322139
13743 2005-11-22  Michael Smith <msmith@fluendo.com>
13745         * gst/gstutils.c: (gst_util_clocktime_scale):
13746         * gst/gstutils.h:
13747         * docs/gst/gstreamer-sections.txt:
13748           Add util method for scaling a clocktime by a fraction. Useful 
13749           implementation is left as an exercise for the reader.
13751 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13753         * gst/gstvalue.c: (gst_value_collect_fraction_range):
13754         If needed, allocate storage in the destination value during
13755         collection.
13757 2005-11-22  Edward Hervey  <edward@fluendo.com>
13759         * docs/gst/gstreamer-sections.txt:
13760         * gst/Makefile.am:
13761         * gst/gst.h:
13762         * gst/gsturitype.c:
13763         * gst/gsturitype.h:
13764         * gst/gstutils.c: (gst_util_set_object_arg):
13765         * tools/gst-compprep.c: (main):
13766         * tools/gst-inspect.c: (print_element_properties_info):
13767         Removed GstURI, closes bug #321061
13769 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13771         * check/gst/gststructure.c: (GST_START_TEST):
13772         * gst/gststructure.c: (gst_structure_parse_value):
13773           Oops, broke automatic string type parsing.
13774           Add a test to catch it in future.
13776 2005-11-22  Andy Wingo  <wingo@pobox.com>
13778         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13779         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13780         Actually rename the function implementations. Grr.
13782 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13784         * check/gst/capslist.h:
13785           Comment test cases
13786         * check/gst/gststructure.c: (GST_START_TEST),
13787         (gst_structure_suite):
13788           Test automatic value type detection in gst_structure_from_string.
13789         * gst/gststructure.c: (gst_structure_parse_value):
13790           Add fraction as a type we try and guess automatically in
13791           caps/structure strings.
13793 2005-11-22  Andy Wingo  <wingo@pobox.com>
13795         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13797         * gst/gsttagsetter.h:
13798         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13799         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13800         (gst_tag_setter_add_tag_valist)
13801         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13802         _add_values, _add_valist, and _add_valist_values. Since this is an
13803         interface the function suffixes should be more explicit so
13804         language binding don't end up with element.add_valist ->
13805         gst_tag_setter_add_valist, for example. Fixes #322069.
13807 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13809         * check/gst/gstcaps.c: (GST_START_TEST):
13810           Extend caps string tests to check that a caps to string
13811           conversion is reversible and produces the same caps.
13813         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13814           Output "fraction" as the generic type fraction range, so caps
13815           serialisation and deserialisation works.
13816         * check/gst/capslist.h:
13817         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13818           Support 'MIN' and 'MAX' for deserialising fractions.
13820 2005-11-22  Andy Wingo  <wingo@pobox.com>
13822         * gst/gstevent.h (gst_event_new_new_segment)
13823         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13824         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13825         Renamed from *_newsegment, *_buffersize, *_notarget.
13827         * scripts/update-funcnames: New script, performs the changes
13828         listed above.
13830 2005-11-22  Wim Taymans  <wim@fluendo.com>
13832         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13833         Make sure the GstFlowReturn is returned.
13835         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13836         (gst_bus_add_signal_watch):
13837         * gst/gstbus.h:
13838         add gst_bus_add_signal_watch_full.
13840         * gst/gstplugin.c: (gst_plugin_load_file):
13841         Small style cleanup.
13843 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13845         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13846           Block the fakesrc srcpad when we send an event, to avoid
13847           contention on the stream_lock causing random test failures.
13849 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13851         * check/gst/gstvalue.c: (GST_START_TEST):
13852         * gst/gstvalue.c: (gst_value_fraction_subtract):
13853           Fix subtraction.
13855 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13857         * gst/gst.h:
13858           include "gstchildproxy.h"
13859         * gst/gstchildproxy.h:
13860         * libs/gst/controller/gstcontroller.h:
13861           use G_GNUC_NULL_TERMINATED
13863 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13865         * check/gst/capslist.h:
13866         * check/gst/gstcaps.c: (GST_START_TEST):
13867         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13868         * gst/gststructure.c: (gst_structure_parse_range),
13869         (gst_structure_fixate_field_nearest_fraction):
13870         * gst/gststructure.h:
13871         * gst/gstvalue.c: (gst_value_init_fraction_range),
13872         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13873         (gst_value_collect_fraction_range),
13874         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13875         (gst_value_set_fraction_range_full),
13876         (gst_value_get_fraction_range_min),
13877         (gst_value_get_fraction_range_max),
13878         (gst_value_serialize_fraction_range),
13879         (gst_value_transform_fraction_range_string),
13880         (gst_value_compare_fraction_range),
13881         (gst_value_deserialize_fraction_range),
13882         (gst_value_intersect_fraction_fraction_range),
13883         (gst_value_intersect_fraction_range_fraction_range),
13884         (gst_value_subtract_fraction_fraction_range),
13885         (gst_value_subtract_fraction_range_fraction),
13886         (gst_value_subtract_fraction_range_fraction_range),
13887         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13888         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13889         (gst_value_transform_string_fraction), (_gst_value_initialize):
13890         * gst/gstvalue.h:
13891           Implement fraction ranges and extend GstFraction to support
13892           arithmetic subtraction, as well as deserialization from integer
13893           strings such as "100"
13894           Add a testsuite as for int and double range set operations
13896 2005-11-21  Andy Wingo  <wingo@pobox.com>
13898         * gst/gsttaglist.h: 
13899         * gst/gstcaps.h: 
13900         * gst/gststructure.h: Add glib-compat.h.
13902 2005-11-21  Wim Taymans  <wim@fluendo.com>
13904         * gst/gstbin.c: (gst_bin_change_state_func):
13905         Fix for #321595
13907 2005-11-21  Wim Taymans  <wim@fluendo.com>
13909         * gst/gstsegment.h:
13910         And add a nice define too.
13912 2005-11-21  Wim Taymans  <wim@fluendo.com>
13914         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13915         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13916         (gst_segment_set_duration), (gst_segment_set_last_stop),
13917         (gst_segment_set_seek), (gst_segment_set_newsegment),
13918         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13919         (gst_segment_clip):
13920         * gst/gstsegment.h:
13921         Make binding friendly.
13923 2005-11-21  Andy Wingo  <wingo@pobox.com>
13925         * gst/gsttagsetter.h: 
13926         * gst/gsttaglist.h: 
13927         * gst/gststructure.h: 
13928         * gst/gstcaps.h: 
13929         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13930         #319940.
13932         * gst/gsterror.c (_gst_core_errors_init):
13933         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13934         category.
13936         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13937         (noinst_HEADERS): noinst the -private.
13939 2005-11-21  Michael Smith <msmith@fluendo.com>
13941         * gst/gstplugin.h:
13942         * gst/gstregistry.h:
13943           Remove unimplemented declarations for which we can see no sensible
13944           use.
13946 2005-11-21  Andy Wingo  <wingo@pobox.com>
13948         * gst/gst.h: Include glib-compat.h.
13950         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13952         * gst/glib-compat.c: Include the public and the private header.
13954         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13956         * gst/gstvalue.c: 
13957         * gst/gstpad.c: 
13958         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13960         * check/gst/gstevent.c (create_custom_events): Check that
13961         FLUSH_STOP is serialized.
13963         * check/elements/identity.c (event_func): 
13964         * check/elements/fakesrc.c (event_func): No stream lock, the core
13965         takes it.
13967         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13968         stream lock taking, yay.
13970         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13971         ensure that core takes the stream lock.
13973         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13974         lock name change.
13976         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13977         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13978         it already. For the flush start we do take it though so we get the
13979         right preroll state change messages.
13981         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13982         the stream lock here, the core does it for us.
13984         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13985         GST_STREAM_GET_LOCK.
13986         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13987         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13988         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13989         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13990         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13991         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13993         * gst/gstpad.c: Update for stream lock name change.
13995         * gst/base/gstbasesink.c: Update for preroll lock name change.
13997 2005-11-21  Wim Taymans  <wim@fluendo.com>
13999         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14000         (gst_clock_get_master):
14001         * gst/gstclock.h:
14002         * gst/gstsystemclock.c: (gst_system_clock_init):
14003         Convert Clock flags to object flags.
14004         Added methods to manage master/slave clocks.
14006 2005-11-21  Wim Taymans  <wim@fluendo.com>
14008         * check/gst/gstsegment.c: (GST_START_TEST):
14009         * docs/design/part-TODO.txt:
14010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14011         (gst_base_sink_event), (gst_base_sink_do_sync),
14012         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14013         (gst_base_sink_query), (gst_base_sink_change_state):
14014         * gst/base/gstbasesink.h:
14015         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14016         (gst_base_src_default_newsegment),
14017         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14018         (gst_base_src_get_range), (gst_base_src_loop),
14019         (gst_base_src_change_state):
14020         * gst/base/gstbasesrc.h:
14021         * gst/base/gstbasetransform.c:
14022         (gst_base_transform_prepare_output_buf),
14023         (gst_base_transform_event), (gst_base_transform_change_state):
14024         * gst/base/gstbasetransform.h:
14025         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14026         (gst_collect_pads_event):
14027         * gst/base/gstcollectpads.h:
14028         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14029         (gst_fake_src_create):
14030         * gst/elements/gstfakesrc.h:
14031         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14032         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14033         (gst_segment_set_last_stop), (gst_segment_set_seek),
14034         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14035         (gst_segment_to_running_time), (gst_segment_clip):
14036         * gst/gstsegment.h:
14037         More segment updates, replace code in plugins with segment
14038         helper functions.
14040 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14042         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14043         Don't ignore sscanf results
14045 2005-11-21  Andy Wingo  <wingo@pobox.com>
14047         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14049         * *.h:
14050         * *.c: Ran scripts/update-macros. Oh yes.
14052         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14053         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14054         GST_GET_LOCK, etc.
14056         * scripts/update-macros: New script. Run it on your files to
14057         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14058         well.
14060 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14062         * docs/gst/Makefile.am:
14063         * docs/gst/gstreamer-docs.sgml:
14064         * docs/gst/gstreamer-sections.txt:
14065         * docs/gst/gstreamer.types:
14066         * gst/gstinfo.h:
14067           more docs fixes, add new api to the docs
14069 2005-11-21  Andy Wingo  <wingo@pobox.com>
14071         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14072         state_broadcast call.
14074         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14076 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14078         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14079         function calls for arrays.
14081 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14083         * docs/random/ensonic/media-device-daemon.txt:
14084           wild idea, can this be done?
14085         * docs/gst/gstreamer-sections.txt:
14086         * gst/gsterror.h:
14087         * gst/gstfilter.c:
14088         * gst/gstfilter.h:
14089         * gst/gstplugin.h:
14090         * gst/gstpluginfeature.c:
14091         * gst/gsttrace.c:
14092         * gst/gstvalue.c:
14093         * gst/gstvalue.h:
14094           doc fixes and additions
14096 2005-11-21  Andy Wingo  <wingo@pobox.com>
14098         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14099         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14100         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14101         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14102         private to the basesrc implementation.
14104         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14105         behalf of event function if necessary. It should no longer be
14106         necessary to take the stream lock in pad's event functions. Fixes
14107         #320299.
14109 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14110         * docs/gst/gstreamer-sections.txt:
14111         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14112         (gst_structure_fixate_field_nearest_double),
14113         (gst_structure_fixate_field_boolean):
14114         * gst/gststructure.h:
14115         * win32/common/libgstreamer.def:
14116         * win32/gstreamer.def:
14118         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14119         (#322027)
14121 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14123         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14124         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14125         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14126         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14127         (gst_fdsrc_uri_handler_init):
14128         * gst/elements/gstfdsrc.h:
14129           Port fd:// URI handler from 0.8 to fdsrc
14131 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14133         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14134         (gst_value_serialize_fourcc):
14135         * gst/gstvalue.h:
14136           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14137           consistent with our other format defines (#320324).
14139 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14141         * gst/gstvalue.c: (gst_value_is_fixed):
14142           Revert previous commit. Value lists are by definition
14143           not fixed, as they are a list of possible values.
14145 2005-11-21  Andy Wingo  <wingo@pobox.com>
14147         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14148         during the stable series if we need it. Fixes #319178.
14150         * gst/gstevent.c (gst_event_new_filler): Removed.
14152         * check/gst/gstevent.c: Update comment about filler events.
14154 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14156         * gst/gstvalue.c: (gst_value_is_fixed):
14157           Should handle both value arrays and value lists.
14159 2005-11-21  Andy Wingo  <wingo@pobox.com>
14161         patch by: Alessandro Dessina <alessandro nnva org>
14163         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14164         functions to access arrays. Fixes #321962.
14166 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14168         * docs/gst/gstreamer.types:
14169           gst_collectpads_get_type => gst_collect_pads_get_type.
14170           
14171         * gst/base/gstbasetransform.c:
14172           Remove unused SIGNAL_HANDOFF enum.
14174 2005-11-21  Andy Wingo  <wingo@pobox.com>
14176         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14177         the event type (upstream, downstream, serialized). Renamed
14178         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14179         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14180         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14182         * gst/gstevent.c: Update for new CUSTOM event names.
14184         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14186         * gst/gstevent.h:
14187         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14188         bug #319392.
14190 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14192         * docs/gst/gstreamer-sections.txt:
14193         * win32/common/libgstbase.def:
14194         * win32/libgstbase.def:
14195         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14196         (gst_collect_pads_class_init), (gst_collect_pads_init),
14197         (gst_collect_pads_finalize), (gst_collect_pads_new),
14198         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14199         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14200         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14201         (gst_collect_pads_start), (gst_collect_pads_stop),
14202         (gst_collect_pads_peek), (gst_collect_pads_pop),
14203         (gst_collect_pads_available), (gst_collect_pads_read),
14204         (gst_collect_pads_flush), (gst_collect_pads_event),
14205         (gst_collect_pads_chain):
14206         * gst/base/gstcollectpads.h:
14207           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14208           unimplemented functions as unimplemented. Add padding to
14209           GstCollectData. (#320766, #320423)
14211 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14213         * gst/gstmessage.c:
14214           Improve docs for DURATION message (usage of duration parameter)
14215           (#320113)
14217 2005-11-20  Wim Taymans  <wim@fluendo.com>
14219         * check/Makefile.am:
14220         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14221         (main):
14222         * gst/Makefile.am:
14223         * gst/gst.h:
14224         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14225         (gst_segment_set_seek), (gst_segment_set_newsegment),
14226         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14227         (gst_segment_clip):
14228         * gst/gstsegment.h:
14229         Added segment helper structure and methods. Not fully implemented
14230         yet.
14231         Added segment check.
14233 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
14235         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14236           Add a deserialisation test for fractions
14237         * examples/metadata/read-metadata.c: (message_loop),
14238         (make_pipeline), (main):
14239           Fix up metadata reading sample.
14240         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14241           Debug format fix
14242         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14243           Don't try and fixate empty caps
14244         * gst/gst_private.h:
14245           Wrap in G_BEGIN_DECLS/G_END_DECLS
14246         * gst/gstvalue.c: (gst_value_collect_fraction),
14247         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14248         (gst_value_transform_string_fraction),
14249         (gst_value_compare_fraction):
14250           Add some extra guards to ensure that we don't end up 
14251           with an invalid denominator of 0 in a gstfraction and
14252           that fractions always get reduced.
14254 2005-11-20  Wim Taymans  <wim@fluendo.com>
14256         * docs/gst/gstreamer-sections.txt:
14257         * gst/gstbuffer.h:
14258         * gst/gstelement.c:
14259         * gst/gstformat.c:
14260         * gst/gstformat.h:
14261         * gst/gstindex.h:
14262         * gst/gstquery.c:
14263         * gst/gstquery.h:
14264         * gst/gstvalue.c:
14265         Doc fixes.
14267 2005-11-20  Wim Taymans  <wim@fluendo.com>
14269         * docs/design/part-TODO.txt:
14270         * gst/gstcaps.h:
14271         Make a proper enum of the flag.
14273 2005-11-19  Wim Taymans  <wim@fluendo.com>
14275         * docs/design/part-TODO.txt:
14276         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14277         (gst_format_to_quark), (gst_format_register):
14278         * gst/gstformat.h:
14279         * gst/gstquery.c: (_gst_query_initialize),
14280         (gst_query_type_get_name), (gst_query_type_to_quark),
14281         (gst_query_type_register):
14282         * gst/gstquery.h:
14283         Add type to quark and type to string conversions.
14285 2005-11-19  Andy Wingo  <wingo@pobox.com>
14287         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14288         #320097.
14290 2005-11-19  Wim Taymans  <wim@fluendo.com>
14292         * docs/design/part-TODO.txt:
14293         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14294         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14295         (gst_bin_handle_message_func):
14296         * gst/gstbin.h:
14297         Make message handling overridable.
14299 2005-11-19  Andy Wingo  <wingo@pobox.com>
14301         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14303         * gst/gstclock.h:
14304         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14305         be a GstClockTime.
14306         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14307         is a GstClockTime. Fixes #321710.
14309         * gst/gstclock.h (GstClock): Remove offset property. Add
14310         internal_calibration and external_calibration. Fix padding. Pad
14311         also by GstClockTime so we don't run into problems.
14313         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14314         (gst_clock_get_rate_offset): Remove.
14315         (gst_clock_set_time_adjust): Remove. Fixes #321712.
14317         * gst/gstutils.h:
14318         * gst/gstutils.c (g_static_rec_cond_wait)
14319         (g_static_rec_cond_timed_wait): Removed, no longer needed.
14321         * gst/gstbin.c: Remove terrible continue_state prototype.
14323         * gst/gstelement.h (gst_element_continue_state): Make public.
14325         * gst/gstelement.h:
14326         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14327         by continue_state. Fixes #319389.
14329         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14330         Really fixes #168438. However I don't see anywhere where the
14331         filter function is called... stupid GStreamer...
14332         
14333         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
14334         don't have a dispose function, so it won't get called when the
14335         object is unreffed, but oh well!
14337         * gst/gstindex.c (gst_index_set_filter_full): New API function,
14338         allows a destroy function to be set so user_data can be freed.
14339         Fixes #168438.
14340         (gst_index_set_filter): Call gst_index_set_filter_full.
14342         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
14344         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
14345         string should produce an error, given the lack of a way to
14346         represent NULL strings. Fixes #165650.
14347         
14348         * gst/gstvalue.h: 
14349         * gst/gstvalue.c (gst_value_array_append_value) 
14350         (gst_value_array_prepend_value, gst_value_array_get_size) 
14351         (gst_value_array_get_value): New API, copied from
14352         gst_value_list_*, only operates on arrays.
14353         (gst_value_list_append_value, gst_value_list_prepend_value) 
14354         (gst_value_list_concat, gst_value_list_get_size) 
14355         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
14357         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
14358         init_list, because it works on both.
14359         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
14360         (gst_value_copy_list_or_array): Renamed from copy_list.
14361         (gst_value_free_list_or_array): Renamed from free_list.
14362         (gst_value_collect_list_or_array): Renamed from collect_list.
14363         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
14364         (gst_value_list_or_array_peek_pointer): Renamed from
14365         list_peek_pointer.
14366         (_gst_value_array_value_table, _gst_value_list_value_table):
14367         Update value table functions.
14368         (gst_value_compare_list_or_array): Renamed from compare_list.
14370         * gsttaglist.h: Whoops, foreach function returns void. Also fix
14371         some constness.
14373         * gst/gsttaglist.c:
14374         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
14375         GstTagList*. Fixes #143472.
14377         * gst/gststructure.h: Clarify what the foreach/map functions can
14378         or can't do to their arguments.
14380 2005-11-18  Wim Taymans  <wim@fluendo.com>
14382         * gst/gstclock.c: (gst_clock_set_calibration),
14383         (gst_clock_get_calibration):
14384         Doc and API fixes.
14385         Calibration can be set with internal time equal to current
14386         internal time too.
14388 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
14390         * gst/gsterror.c:
14391         * gst/gsterror.h:
14392           document
14394 2005-11-18  Andy Wingo  <wingo@pobox.com>
14396         * configure.ac: 
14397         * pkgconfig/gstreamer-net.pc.in:
14398         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14399         * pkgconfig/Makefile.am: Add net pkgconfig files.
14401 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
14403         * gst/gstcaps.c:
14404         * gst/gstghostpad.c:
14405         * gst/gsttrace.c:
14406         * gst/gstvalue.c:
14407         * gst/gstvalue.h:
14408           docs fixes
14410 2005-11-18  Andy Wingo  <wingo@pobox.com>
14412         * gst/net/gstnetclientclock.c: Turn off debugging.
14414         * check/net/gstnetclientclock.c (test_functioning): Assert that the
14415         times connverge somewhat. Can't make a real test.
14417         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
14418         integer arithmetic. Return the minimum of the domain, which can be
14419         set as "internal" for gst_clock_set_calibration.
14420         (gst_net_client_clock_observe_times): Call _set_calibration.
14421         (gst_net_client_clock_new): Call _set_calibration instead of
14422         rate_offset.
14424         * check/net/gstnetclientclock.c (test_functioning): Use the right
14425         adjustment api.
14427         * gst/gstclock.h:
14428         * gst/gstclock.c (gst_clock_get_calibration) 
14429         (gst_clock_set_calibration): New functions, obsolete the ones I
14430         added yesterday. Doh. Precision issues mean we have to extrapolate
14431         from a point in the more recent past than 1970.
14432         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
14433         obsolete.
14434         (gst_clock_adjust_unlocked): Use the right calibration data.
14436 2005-11-18  Edward Hervey  <edward@fluendo.com>
14438         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
14439         Also reset the ->current_* values in READY->PAUSED
14441 2005-11-18  Andy Wingo  <wingo@pobox.com>
14443         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
14444         Whoops, check the right fd. Also add some debugging.
14445         (gst_net_client_clock_observe_times): Adjust for int64 offset.
14446         (do_linear_regression): Add a crapload of debugging. Subtract off
14447         the minimum values from the input series to discard unneeded bits.
14448         Use only int arithmetic. There is still double arithmetic when
14449         calculating the intercept that needs fixing. Return boolean to
14450         indicate success; FALSE would mean the domain or range is too
14451         great. Still needs fixes.
14453 2005-11-18  Wim Taymans  <wim@fluendo.com>
14455         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14456         For the current position in stream time, we need to subtract
14457         accumulated time.
14458         
14459         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14460         Release lock before calling the callback function of async
14461         entries.
14463 2005-11-18  Andy Wingo  <wingo@pobox.com>
14465         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14466         Port goes all the way to MAXUINT16.
14468         * gst/net/gstnettimeprovider.c: Make the port range the same as
14469         for the kernel: 0 assigns, otherwise ports are less than
14470         MAXUINT16.
14472         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14473         port change.
14475         * check/net/gstnetclientclock.c (test_functioning): Add the start
14476         of another test. 
14478 2005-11-18  Wim Taymans  <wim@fluendo.com>
14480         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14481         (gst_bin_remove_func), (bin_bus_handler):
14482         * gst/gstbin.h:
14483         Removing a clock provider from a bin, triggers a clock lost message
14484         so that a new clock will be selected.
14485         Adding a clock to a bin triggers a clock provider message.
14486         Make sure we reselect a clock when we received a clock lost message.
14487         Keep a reference to the element that provided the clock.
14489 2005-11-18  Andy Wingo  <wingo@pobox.com>
14491         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14492         the clock initially so it produces values around the base time.
14493         (gst_net_client_clock_class_init): Typo fix.
14494         (gst_net_client_clock_thread): Add note on when the socket gets
14495         closed.
14497 2005-11-17  Wim Taymans  <wim@fluendo.com>
14499         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14500         Free remote and local time arrays.
14502 2005-11-17  Wim Taymans  <wim@fluendo.com>
14504         * gst/net/gstnetclientclock.c: (do_linear_regression),
14505         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14506         Fix compilation, uninitialized vars and a forgotten continue.
14508 2005-11-17  Andy Wingo  <wingo@pobox.com>
14510         * check/Makefile.am (check_PROGRAMS): 
14511         * check/net/gstnetclientclock.c: Add a most minimal test for the
14512         net client clock. More to come later.
14514         * gst/net/gstnet.h: 
14515         * gst/net/Makefile.am: Add netclientclock.
14517         * gst/net/gstnetclientclock.h:
14518         * gst/net/gstnetclientclock.c: New files, implement an untested
14519         GstClock that takes its time from a network time provider.
14520         Implements the algorithm in network-clock.scm.
14522         * tests/network-clock.scm (*window-size*): Rename from
14523         *queue-length*.
14524         * tests/network-clock.scm (network-time): 
14525         * tests/network-clock-utils.scm (q-push): Update callers.
14527 2005-11-17  Wim Taymans  <wim@fluendo.com>
14529         * gst/gstbin.c: (gst_bin_provide_clock_func),
14530         (gst_bin_sort_iterator_new):
14531         And unref the child too..
14533 2005-11-17  Wim Taymans  <wim@fluendo.com>
14535         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14536         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14537         Refactor the sort iterator so it can be used while holding the
14538         LOCK too.
14539         Make clock selection select a clock closest to the source.
14541 2005-11-17  Michael Smith <msmith@fluendo.com>
14543         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14544         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14545         * gst/gstclock.h:
14546           Anonymous structs are a gcc (and some other compilers) extension, so
14547           don't use them. Since this is only for ABI-compatibility, and our
14548           API/ABI freeze is over in a few days, this whole thing will only
14549           last a few days, so don't bother trying to think up a meaningful
14550           name for the struct.
14552 2005-11-17  Andy Wingo  <wingo@pobox.com>
14554         * gst/gstclock.h (GstClock): Add rate and offset properties,
14555         preserving ABI stability. Add rate/offset accessors. Will file bug
14556         for the freeze break.
14558         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14559         and offset, trying to keep precision and avoiding
14560         underflow/overflow.
14561         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14562         functions. Make gst_clock_set_time_adjust obsolete.
14563         (gst_clock_set_time_adjust): Note that this function is obsolete.
14564         Will file bug soon.
14566         * gst/base/gstbasetransform.h: Make the ABI-stability hack
14567         greppable by using GST_PADDING-1+1.
14569 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
14571         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14573         * gst/gstmessage.c: (gst_message_parse_clock_lost):
14574           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14576         * gst/gstpadtemplate.h:
14577         * gst/gstpluginfeature.h:
14578           Don't use c++ style comments in headers (#321638).
14580 2005-11-16  Andy Wingo  <wingo@pobox.com>
14582         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14583         buffer.
14585         * check/net/gstnettimeprovider.c: Check to see that the time
14586         provider actually provides times. Works, yo!
14588 2005-11-16  Wim Taymans  <wim@fluendo.com>
14590         * check/Makefile.am:
14591         Enable more tests.
14593         * check/elements/fakesrc.c: (GST_START_TEST):
14594         Set element to NULL before disposing it.
14596 2005-11-16  Andy Wingo  <wingo@pobox.com>
14598         * gst/net/Makefile.am:
14599         * gst/net/gstnet.h:
14600         * gst/net/gstnettimeprovider.c: 
14601         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14602         provider, include it from gstnet.h, and add it to the build.
14604         * gst/net/gstnettimepacket.h: 
14605         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14606         sending and receiving.
14608 2005-11-16  Wim Taymans  <wim@fluendo.com>
14610         * check/Makefile.am:
14611         Enable valgrind check.
14613         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14614         (gst_fake_src_alloc_buffer):
14615         Fix memleak.
14617 2005-11-16  Wim Taymans  <wim@fluendo.com>
14619         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14620         Call parent finalize too.
14622 2005-11-16  Wim Taymans  <wim@fluendo.com>
14624         * check/Makefile.am:
14625         Enable valgrind check that should work fine now.
14627         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14628         * gst/gstqueue.c: (gst_queue_init):
14629         Fix memleaks in pad allocation.
14631 2005-11-16  Andy Wingo  <wingo@pobox.com>
14633         * gst/net/Makefile.am:
14634         * gst/net/gstnet.h: New part of core to hold network elements and
14635         objects. Put in core because it exposes API that applications want
14636         to use. The library is named libgstnet-tempname right now because
14637         of the existing libgstnet in gst-plugins-base. Solution is
14638         probably to rename the one in plugins-base; will file a bug for
14639         the freeze break.
14641         * gst/net/gstnettimeprovider.c: 
14642         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14643         get_time call over the network.
14645         * configure.ac: 
14646         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14648         * check/Makefile.am:
14649         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14650         get additions shortly.
14652 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14654         * gst/gstpad.c: (gst_pad_new_from_static_template):
14655         * gst/gstpad.h:
14656           add gst_pad_new_from_static_template functions
14657         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14658         (gst_check_setup_sink_pad):
14659         * gst/elements/gsttee.c: (gst_tee_init):
14660           and use them
14662 2005-11-16  Wim Taymans  <wim@fluendo.com>
14664         * gst/gstpad.c: (gst_pad_pause_task):
14665         Removed warning, it's not really an error either.
14667 2005-11-16  Wim Taymans  <wim@fluendo.com>
14669         * gst/base/gstbasetransform.c:
14670         (gst_base_transform_prepare_output_buf),
14671         (gst_base_transform_event):
14672         Check if the caps are NULL, this can happen if the element
14673         is shutting down and the pad caps are set to NULL.
14675 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14677         * gst/elements/gsttee.c: (gst_tee_init):
14678           fix pad template leak in tee
14680 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14682         * gst/glib-compat.c: (g_value_dup_gst_object):
14683         * gst/glib-compat.h:
14684         * gst/gstpad.c: (gst_pad_set_property):
14685           use gst_object_ref when setting the pad template; this will
14686           trigger the pad template leaks on GLib 2.6 and the slaves
14688 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14690         * gst/glib-compat.c: (gst_flags_get_first_value):
14691         * gst/glib-compat.h:
14692         * gst/gstregistryxml.c:
14693           remove functions copied from GLib 2.6
14695 2005-11-16  Michael Smith <msmith@fluendo.com>
14697         * gst/Makefile.am:
14698           Don't link against VALGRIND_LIBS. That was always the wrong thing to
14699           do, but only breaks with newer valgrind versions. We're not a
14700           valgrind tool, we have no link-time dependencies on libcoregrind.
14702 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14704         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14705           some debug changes
14706         * gst/gstmessage.h:
14707           typo fixes
14709 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14711         * gst/base/gstbasesrc.c: (gst_base_src_init):
14712         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14713         * gst/gstqueue.c: (gst_queue_init):
14714         * gst/gstregistryxml.c: (load_feature):
14715           Revert all these unrefs, they don't even pass make check !
14717 2005-11-15  Johan Dahlin  <johan@gnome.org>
14719         * gst/base/gstbasesrc.c: (gst_base_src_init):
14720         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14721         * gst/gstqueue.c: (gst_queue_init): 
14722         Free pad templates, fixes a couple of leaks.
14724 2005-11-15  Daniel Fischer  <dan at f3c dot com>
14726         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14728         * gst/gstpad.c: (gst_pad_get_property):
14729           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14730           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14731           (#321452)
14733 2005-11-15  Wim Taymans  <wim@fluendo.com>
14735         * gst/gstevent.c:
14736         Small doc update.
14738 2005-11-15  Andy Wingo  <wingo@pobox.com>
14740         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14742         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14743         using GST_CLOCK_TIME_NONE to disable base time management.
14744         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14745         time if it was NONE before.
14746         (gst_pipeline_change_state): Only munge the base time if
14747         stream_time != GST_CLOCK_TIME_NONE.
14749         * check/gst/gstpipeline.c (test_base_time): Punt around the
14750         problem of the probe not being called, because that's not the
14751         issue I'm looking at. Add a check that setting stream_time to NONE
14752         disables base time management.
14753         
14754 2005-11-15  Wim Taymans  <wim@fluendo.com>
14756         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14757         segment_stop == -1 at startup.
14759         * gst/base/gstbasetransform.c: (gst_base_transform_event),
14760         (gst_base_transform_change_state):
14761         Init segment values at start.
14763 2005-11-15  Wim Taymans  <wim@fluendo.com>
14765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14766         0 segment values are 0 in any format.
14768         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14769         * gst/base/gstbasetransform.h:
14770         Parse newsegment correctly in basetransform
14772         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14773         Sync to clock using updated segment values.
14775 2005-11-15  Andy Wingo  <wingo@pobox.com>
14777         * check/gst/gstpipeline.c (test_base_time): Add check that the
14778         base time and stream time are reset correctly.
14780 2005-11-15  Wim Taymans  <wim@fluendo.com>
14782         * docs/design/part-TODO.txt:
14783         Some more TODO items.
14785 2005-11-15  Andy Wingo  <wingo@pobox.com>
14787         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14788         error if the user selected "no clock" as the clocking method.
14790         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14791         timestamps with live capture.
14793         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14794         is 0 but we are a live source, timestamp the buffers using the
14795         element's clock.
14797 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14799         * docs/gst/gstreamer-sections.txt:
14800         * gst/gsterror.c:
14801         * gst/gstghostpad.c:
14802         * gst/gstobject.h:
14803         * gst/gstxml.c:
14804           more section docs
14806 2005-11-14  Wim Taymans  <wim@fluendo.com>
14808         * common/gst.supp:
14809           add suppressions from Wim's Debian machine
14811 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14813         * common/gst.supp:
14814           add suppressions from Andy's AMD64 Ubuntu machine
14816 2005-11-14  Andy Wingo  <wingo@pobox.com>
14818         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14819         STATE_LOCK not necessary. Fixes #311489.
14821         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14822         #305291.
14824         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14825         this function is not implemented.
14827 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14829         * gst/base/gstbasetransform.c:
14830         (gst_base_transform_prepare_output_buf):
14831         Ref the source pad caps while we need them.
14832         Fixes (#321386)
14834 2005-11-11  Wim Taymans  <wim@fluendo.com>
14836         * docs/gst/gstreamer-sections.txt:
14837         Added some docs for GstCollectData.
14839         * gst/base/gstadapter.c:
14840         Some small code example fix.
14842         * gst/base/gstcollectpads.c:
14843         * gst/base/gstcollectpads.h:
14844         Document some more.
14846 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14848         * configure.ac: back to HEAD
14850 === release 0.9.5 ===
14852 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14854         * configure.ac:
14855           releasing 0.9.5, "Bike Lunch Day"
14857 2005-11-11  Wim Taymans  <wim@fluendo.com>
14859         * gst/gstbuffer.c: (_gst_buffer_copy):
14860         Copy more flags.
14862         * gst/gstcaps.c: (gst_caps_is_equal):
14863         Fix some docs.
14864         Make _is_equal fast in the trivial cases.
14866         * gst/gstminiobject.c:
14867         * gst/gstminiobject.h:
14868         More docs. Spifify .h file.
14870         * gst/gstutils.c:
14871         Small doc update.
14873 2005-11-11  Wim Taymans  <wim@fluendo.com>
14875         * gst/base/gstbasetransform.c:
14876         (gst_base_transform_prepare_output_buf),
14877         (gst_base_transform_handle_buffer):
14878         Small cleanups.
14879         If we're processing a buffer and need to allocate an output
14880         buffer, we cannot accept a format change. If we did get a 
14881         format change, we have to alloc a buffer ourselves of the 
14882         right size.
14884 2005-11-11  Wim Taymans  <wim@fluendo.com>
14886         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14887         While checking the flag for reentrancy in the gstcaps function
14888         is nice to detect recursive invocations, it also makes it 
14889         impossible to call getcaps from multiple threads, which must be
14890         possible. So, checking for recursive calls has to go.
14892 2005-11-11  Michael Smith <msmith@fluendo.com>
14894         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14895           Don't sync on buffers that fall partially outside our current
14896           segment. Prevents an assertion failure/abort playing some files.
14898 2005-11-10  Andy Wingo  <wingo@pobox.com>
14900         * check/gst/gstbin.c (test_message_state_changed_children): Style
14901         fix..
14903         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14904         gst_bus_poll with the signal watch. Ensures that poll and a signal
14905         watch see the same messages.
14907         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14908         a poll and a watch at the same time get the same messages.
14910 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14912         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14913         * gst/gstcaps.c: (gst_caps_intersect):
14914           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14915           and it's not needed.
14917 2005-11-10  Wim Taymans  <wim@fluendo.com>
14919         * docs/design/part-TODO.txt:
14920         Updated todo.
14922 2005-11-10  Wim Taymans  <wim@fluendo.com>
14924         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14925         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14926         (gst_base_src_do_sync), (gst_base_src_get_range):
14927         Implement clock sync in base class.
14929 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14931         patch by: Tim-Philipp Müller <tim at centricular dot net>
14933         * gst/gststructure.c: (gst_structure_parse_field),
14934         (gst_structure_from_string):
14935           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14936           so that gst_parse_launch() can deal with spaces in filtered link
14937           caps (fixes #164479)
14938         * check/gst/capslist.h:
14939         * check/gst/gststructure.c: (GST_START_TEST):
14940           add unit tests for this change
14942 2005-11-10  Wim Taymans  <wim@fluendo.com>
14944         * docs/gst/gstreamer-sections.txt:
14945         * gst/gstelement.c:
14946         * gst/gstelement.h:
14947         Fix docs, move some STATE macros to private.
14949 2005-11-10  Wim Taymans  <wim@fluendo.com>
14951         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14952         Added check for bug #317341
14954         * gst/gstbuffer.c:
14955         * gst/gstbuffer.h:
14956         Some more spiffifying.
14958         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14959         Call peer linkfunction if we are a source pad. Totally fixes
14960         #317341
14962         * gst/gstpad.c:
14963         Update docs, source pads should call the peer linkfunction
14964         so they can atomically perform the pad link.
14966 2005-11-09  Wim Taymans  <wim@fluendo.com>
14968         * gst/gstbuffer.c:
14969         * gst/gstbuffer.h:
14970         Uber-spiffy-spiffify some more.
14972 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14974         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14975         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14976         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14977         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14978         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14979         * gst/gstpad.c: (gst_pad_init):
14980           Use GST_DEBUG_FUNCPTR() more extensively.
14982 2005-11-09  Wim Taymans  <wim@fluendo.com>
14984         * gst/gstobject.c: (gst_object_class_init):
14985         * gst/gstobject.h:
14986         Documentation fixes.
14988 2005-11-09  Edward Hervey  <edward@fluendo.com>
14990         * gst/gsttypefindfactory.c:
14991         Fix docs.
14992         
14993 2005-11-09  Edward Hervey  <edward@fluendo.com>
14995         * gst/base/gsttypefindhelper.c:
14996         * gst/gsttypefind.c:
14997         * gst/gsttypefind.h:
14998         Fix docs.
15000 2005-11-09  Wim Taymans  <wim@fluendo.com>
15002         * gst/gstiterator.c:
15003         Fix revision data.
15005         * gst/gsttask.c:
15006         * gst/gsttask.h:
15007         Fix docs.
15009 2005-11-09  Wim Taymans  <wim@fluendo.com>
15011         * gst/gstevent.h:
15012         * gst/gsturi.h:
15013         Fix docs.
15015 2005-11-09  Wim Taymans  <wim@fluendo.com>
15017         * docs/gst/gstreamer-sections.txt:
15018         Moved the message async delivery private lock and cond
15019         to the private section.
15021         * gst/gstmessage.c:
15022         * gst/gstmessage.h:
15023         Fixed docs.
15025 2005-11-09  Edward Hervey  <edward@fluendo.com>
15027         * docs/gst/gstreamer-sections.txt:
15028         * gst/gsturi.c:
15029         * gst/gsturi.h:
15030         Document GstURIHandler
15032 2005-11-09  Wim Taymans  <wim@fluendo.com>
15034         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15035         (gst_iterator_find_custom):
15036         * gst/gstiterator.h:
15037         Fix iterator docs.
15039 2005-11-09  Wim Taymans  <wim@fluendo.com>
15041         * gst/gstbin.h:
15042         Document another field.
15044         * gst/gststructure.c:
15045         * gst/gststructure.h:
15046         Document.
15048 2005-11-09  Wim Taymans  <wim@fluendo.com>
15050         * gst/gstbin.h:
15051         Documented structs.
15053 2005-11-09  Wim Taymans  <wim@fluendo.com>
15055         * docs/gst/gstreamer-sections.txt:
15056         Added some new macros.
15058         * gst/gstclock.c:
15059         * gst/gstclock.h:
15060         * gst/gstobject.h:
15061         Docs updates.
15063 2005-11-09  Wim Taymans  <wim@fluendo.com>
15065         * docs/design/part-TODO.txt:
15066         Some more items for the TODO
15068         * gst/gstcaps.c:
15069         * gst/gstcaps.h:
15070         Document GstCaps.
15072 2005-11-09  Andy Wingo  <wingo@pobox.com>
15074         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15075         to work on something else now tho...
15077         * gst/base/gstadapter.c: More adapter docs.
15079         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15080         (gst_file_sink_stop): New functions, replace the state change
15081         handler.
15082         (gst_file_sink_class_init): Hook up the start and stop functions.
15083         (gst_file_sink_base_init): Don't set the state change handler any
15084         more. It was a bit ugly too, being set from here...
15085         (gst_file_sink_get_property, gst_file_sink_set_property):
15086         Cleanups...
15087         (gst_file_sink_set_location): More robust check that doesn't call
15088         GST_STATE. Ugggggg.
15090 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15092         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15093           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15095 2005-11-08  Wim Taymans  <wim@fluendo.com>
15097         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15098         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15099         (gst_base_sink_chain), (gst_base_sink_change_state):
15100         * gst/base/gstbasesink.h:
15101         * gst/base/gstbasesrc.h:
15102         * gst/gstelement.h:
15103         * gst/gstevent.h:
15104         Avoid excessive typechecking in macros.
15106         * gst/gstminiobject.c: (gst_mini_object_get_type),
15107         (gst_mini_object_init), (gst_mini_object_new),
15108         (gst_mini_object_free):
15109         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15110         (gst_object_finalize):
15111         Remove cruft code, optimize alloc_trace.
15113 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15115         * docs/faq/gst-uninstalled:
15116           fix up PS1 for systems that try to reset it
15118 2005-11-07  Wim Taymans  <wim@fluendo.com>
15120         * gst/base/gstbasesrc.c: (gst_base_src_init),
15121         (gst_base_src_get_range):
15122         Set the segment_end to -1 initially. Fixed typefind.
15124 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15126         * gst/base/gstadapter.c:
15127           Debug category should be 'adapter', not 'GstAdapter'.
15128           
15129         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15130         (gst_collectpads_class_init), (gst_collectpads_init),
15131         (gst_collectpads_peek), (gst_collectpads_pop),
15132         (gst_collectpads_event), (gst_collectpads_chain):
15133           Add debug category and some debugging output. Use boilerplate
15134           macros. Remove some extraneous words from docs.
15136 2005-11-05  Andy Wingo  <wingo@pobox.com>
15138         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15139         macro.
15141 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15143         * docs/gst/gstreamer-sections.txt:
15144         * gst/gstcaps.h:
15145         * gst/gstinfo.c:
15146         * gst/gstminiobject.h:
15147         * gst/gstobject.h:
15148         * gst/gstutils.h:
15149           more docs added
15151 2005-11-04  Wim Taymans  <wim@fluendo.com>
15153         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15154         Small update to stop at the configured segment_end
15155         position.
15157 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15159         * gst/gstregistry.c:
15160         * gst/gstregistry.h:
15161           added missing docs
15163 2005-11-04  Edward Hervey  <edward@fluendo.com>
15165         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15166         Check if we are doing a segment seek and have arrived at the
15167         end of that segment.
15169 2005-11-04  Wim Taymans  <wim@fluendo.com>
15171         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15172         Don't leak a mutex unlock in case of an error.
15174         * gst/gstbus.h:
15175         Doc fixes.
15177 2005-11-04  Wim Taymans  <wim@fluendo.com>
15179         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15180         (gst_bus_post):
15181         Get the context to wake up only once.
15183 2005-11-03  Wim Taymans  <wim@fluendo.com>
15185         * check/states/sinks.c: (GST_START_TEST):
15186         Uncomment fixed check.
15188         * docs/design/part-TODO.txt:
15189         Updated TODO.
15191         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15192         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15193         (gst_base_sink_get_position):
15194         If we are going to PLAYING, post the right pending state
15195         when we post the intermediate paused message.
15197         * gst/gstelement.c: (gst_element_continue_state),
15198         (gst_element_set_state_func), (gst_element_change_state):
15199         Don't post state changes that were between the same state
15200         and were not ASYNC.
15202 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15204         * docs/gst/gstreamer-sections.txt:
15205         * gst/gstcaps.h:
15206         * gst/gstinfo.c:
15207         * gst/gstminiobject.h:
15208         * gst/gstobject.h:
15209         * gst/gstutils.h:
15210           more docs and doc style fixes
15212 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15214         * docs/gst/gstreamer-sections.txt:
15215         * gst/gstelement.c:
15216         * gst/gstminiobject.c:
15217         doc fixes
15219 2005-11-03  Andy Wingo  <wingo@pobox.com>
15221         * check/states/sinks.c (test_livesrc_sink): Add checks that the
15222         state-changed messages actually have the right order and the right
15223         values.
15225 2005-11-03  Wim Taymans  <wim@fluendo.com>
15227         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15228         Added some more checks. Specifically the case where NO_PREROLL
15229         elements are in the pipeline.
15231         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15232         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15233         (gst_base_sink_get_position):
15234         Post READY->PAUSED state change messages too.
15235         Fix bug where VOID was posted as pending state...
15237         * gst/gstbin.c: (gst_bin_recalc_state):
15238         use _element_continue_state() to continue the state change.
15240         * gst/gstelement.c: (gst_element_continue_state),
15241         (gst_element_commit_state), (gst_element_set_state_func),
15242         (gst_element_change_state), (gst_element_change_state_func):
15243         Lots of state change cleanups, assign the STATE_RETURN in
15244         a new continue_state() function that also propagates the
15245         last return value from a state change to the app.
15246         Update some debug statements with proper category.
15248 2005-11-03  Wim Taymans  <wim@fluendo.com>
15250         * docs/design/part-events.txt:
15251         * docs/design/part-gstpipeline.txt:
15252         * docs/design/part-messages.txt:
15253         * docs/design/part-overview.txt:
15254         * docs/design/part-seeking.txt:
15255         * docs/design/part-states.txt:
15256         * docs/design/part-trickmodes.txt:
15257         * docs/manual/advanced-position.xml:
15258         Small docs updates.
15260         * gst/gstobject.h:
15261         People think !! is ugly, this looks better.
15263         * gst/gstpad.c: (gst_pad_set_blocked_async):
15264         Remove !! since it's fixed elsewhere now.
15266 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15268         * gst/gstminiobject.h:
15269         * gst/gstobject.h:
15270           Add !! to _FLAG_IS_SET macros to make the result boolean.
15272 2005-11-03  Edward Hervey  <edward@fluendo.com>
15274         * gst/gstpad.c: (gst_pad_set_blocked_async):
15275         comparing a flag and a gboolean rarely returns coherent results...
15276         Added two characters (!!) to make that work correctly.
15277         
15278 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15280         * gst/gstbus.c: (gst_bus_class_init):
15281           Fix some typos.
15282           
15283         * gst/gstqueue.c: (gst_queue_loop):
15284           Don't assume a miniobject that isn't a buffer is an
15285           event (it could be that there is a refcounting
15286           problem somewhere and the pointer is stale and
15287           refers to an already destroyed miniobject).
15289 2005-11-03  Julien MOUTTE  <julien@moutte.net>
15291         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15293 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
15295         * docs/manual/advanced-position.xml:
15296           Update seek example and explanations to current 0.9 API.
15298         * gst/elements/gsttypefindelement.c:
15299         (gst_type_find_element_activate):
15300           Remove FIXME comment now that the found caps
15301           are unreffed.
15303 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15305         * gst/gstregistryxml.c: (load_feature):
15306           Add another GST_STR_NULL instance
15308 2005-11-02  Edward Hervey  <edward@fluendo.com>
15310         * gst/gstpad.c: (handle_pad_block):
15311         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15312         
15313 2005-11-02  Wim Taymans  <wim@fluendo.com>
15315         * gst/gstbin.c:
15316         Fix typo in docs.
15318         * gst/gstelement.c: (gst_element_commit_state):
15319         Remove unused value.
15321         * gst/gstiterator.c:
15322         Mention that the returned element is reffed in the docs.
15324 2005-11-02  Wim Taymans  <wim@fluendo.com>
15326         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15327         (gst_pad_push), (gst_pad_push_event):
15328         Unlock blocked pads when they are flushed.
15330 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15332         * docs/README:
15333         * docs/gst/gstreamer-sections.txt:
15334         * gst/gstbin.c:
15335           doc updates
15336         * gst/gstregistry.c: (gst_registry_scan_path_level):
15337           fix for a nasty little missed situation where an installed plug-in
15338           which was in the cache did not get overridden by an uninstalled one
15339           which was earlier in the plugin path because the newly created plugin
15340           for the uninstalled one (not in the registry) didn't get its
15341           ->registered set to TRUE
15343 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15345         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
15346         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
15347         (gst_collectpads_is_active), (gst_collectpads_collect),
15348         (gst_collectpads_collect_range), (gst_collectpads_start),
15349         (gst_collectpads_stop), (gst_collectpads_peek),
15350         (gst_collectpads_pop), (gst_collectpads_available),
15351         (gst_collectpads_read), (gst_collectpads_flush):
15352           Guard public API with assertions.
15353         
15354         * gst/gstpad.c:
15355           Fix docs for gst_pad_set_link_function().
15357 2005-11-02  Johan Dahlin  <johan@gnome.org>
15359         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
15360         Unref found_caps after we used it.
15362 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
15364         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
15365           Don't try to ref NULL.
15367 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15369         * win32/common/config.h.in:
15370           provide a GST_FUNCTION that just gives a string for now
15372 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15374         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15375         (gst_object_flags_get_type), (register_gst_bin_flags),
15376         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15377         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15378         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15379         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
15380         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15381         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15382         (gst_clock_flags_get_type), (register_gst_state),
15383         (gst_state_get_type), (register_gst_state_change_return),
15384         (gst_state_change_return_get_type), (register_gst_state_change),
15385         (gst_state_change_get_type), (register_gst_element_flags),
15386         (gst_element_flags_get_type), (register_gst_core_error),
15387         (gst_core_error_get_type), (register_gst_library_error),
15388         (gst_library_error_get_type), (register_gst_resource_error),
15389         (gst_resource_error_get_type), (register_gst_stream_error),
15390         (gst_stream_error_get_type), (register_gst_event_type),
15391         (gst_event_type_get_type), (register_gst_seek_type),
15392         (gst_seek_type_get_type), (register_gst_seek_flags),
15393         (gst_seek_flags_get_type), (register_gst_format),
15394         (gst_format_get_type), (register_gst_index_certainty),
15395         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15396         (gst_index_entry_type_get_type),
15397         (register_gst_index_lookup_method),
15398         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15399         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15400         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15401         (gst_index_flags_get_type), (register_gst_debug_level),
15402         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15403         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15404         (gst_iterator_result_get_type), (register_gst_iterator_item),
15405         (gst_iterator_item_get_type), (register_gst_message_type),
15406         (gst_message_type_get_type), (register_gst_mini_object_flags),
15407         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15408         (gst_pad_link_return_get_type), (register_gst_flow_return),
15409         (gst_flow_return_get_type), (register_gst_activate_mode),
15410         (gst_activate_mode_get_type), (register_gst_pad_direction),
15411         (gst_pad_direction_get_type), (register_gst_pad_flags),
15412         (gst_pad_flags_get_type), (register_gst_pad_presence),
15413         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15414         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15415         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15416         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15417         (gst_plugin_flags_get_type), (register_gst_rank),
15418         (gst_rank_get_type), (register_gst_query_type),
15419         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15420         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15421         (gst_tag_flag_get_type), (register_gst_task_state),
15422         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15423         (gst_alloc_trace_flags_get_type),
15424         (register_gst_type_find_probability),
15425         (gst_type_find_probability_get_type), (register_gst_uri_type),
15426         (gst_uri_type_get_type), (register_gst_parse_error),
15427         (gst_parse_error_get_type):
15428         * win32/common/gstversion.h:
15429           update win32 copies
15431 2005-11-01  Luca Ognibene  <luogni@tin.it>
15433         * gst/gst.c:
15434           fix docs. popt is dead, long live GOption.
15436 2005-10-31  Wim Taymans  <wim@fluendo.com>
15438         * gst/gstbuffer.h:
15439         Small doc fix.
15441 2005-10-31  Andy Wingo  <wingo@pobox.com>
15443         * Boo!
15445         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
15447         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
15448         need to serialize property notifications on GLib 2.8. GLib 2.6 has
15449         the possibility of deadlocks here if code calling notify() or
15450         set() has a lock that can be taken in another notify handler (ABBA
15451         with class lock and e.g. python GIL state lock).
15453 2005-10-28  Julien MOUTTE  <julien@moutte.net>
15455         * gst/gstbus.c: Doc updates.
15457 2005-10-28  Wim Taymans  <wim@fluendo.com>
15459         * docs/design/part-TODO.txt:
15460         * gst/gstiterator.c:
15461         * gst/gstsystemclock.c:
15462         * gst/gstsystemclock.h:
15463         Doc updates.
15465 2005-10-28  Edward Hervey  <edward@fluendo.com>
15467         * docs/gst/gstreamer-docs.sgml:
15468         * docs/gst/gstreamer-sections.txt:
15469         the GstURIType documentation page is private, it only defines GstURIType
15470         which should be defined in the GstURIHandler page
15471         
15472 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15474         * gst/gstbin.c: (gst_bin_class_init):
15475         * gst/gstbin.h:
15476         * gst/gstutils.c:
15477         Documentation updates.
15479 2005-10-28  Wim Taymans  <wim@fluendo.com>
15481         * docs/gst/gstreamer-sections.txt:
15482         * gst/gstclock.c:
15483         * gst/gstclock.h:
15484         Documented the clocks.
15486 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
15488         * docs/gst/gstreamer-sections.txt:
15489           move some macros to private sections
15490         * gst/gstminiobject.c:
15491         * gst/gstminiobject.h:
15492           add descriptions provided by ds and some more
15493         * gst/gstpad.h:
15494           mark macro as to be removed
15496 2005-10-28  Wim Taymans  <wim@fluendo.com>
15498         * docs/design/part-TODO.txt:
15499         Add an item to TODO.
15501         * gst/gstiterator.c: (gst_iterator_fold),
15502         (gst_iterator_find_custom):
15503         * gst/gstiterator.h:
15504         Add iterator docs.
15506 2005-10-28  Wim Taymans  <wim@fluendo.com>
15508         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15509         (gst_base_transform_init):
15510         Don't leak class.
15512         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15513         An EOS event marks the queue as completely filled.
15515 2005-10-27  Wim Taymans  <wim@fluendo.com>
15517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15518         (gst_base_sink_do_sync), (gst_base_sink_get_position):
15519         Some more debugging.
15521         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15522         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15523         (gst_base_transform_event), (gst_base_transform_getrange),
15524         (gst_base_transform_chain):
15525         * gst/base/gstbasetransform.h:
15526         Fix debugging,
15527         Protect transform and concurrent buffer alloc with a new lock.
15528         Try not to break ABI/API.
15530 2005-10-27  Wim Taymans  <wim@fluendo.com>
15532         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15533         (gst_base_src_init), (gst_base_src_query),
15534         (gst_base_src_default_newsegment),
15535         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15536         (gst_base_src_send_event), (gst_base_src_event_handler),
15537         (gst_base_src_pad_get_range), (gst_base_src_loop),
15538         (gst_base_src_unlock), (gst_base_src_default_negotiate),
15539         (gst_base_src_start), (gst_base_src_deactivate),
15540         (gst_base_src_activate_push), (gst_base_src_change_state):
15541         Move some stuff around and cleanup things.
15543 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
15545         * gst/base/gstbasesrc.c: (gst_base_src_query):
15546           Add missing break statements.
15548 2005-10-27  Wim Taymans  <wim@fluendo.com>
15550         * check/gst/gstbin.c: (GST_START_TEST):
15551         An extra refcount is taken in basesrc.
15553         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15554         (gst_base_src_get_range), (gst_base_src_pad_get_range),
15555         (gst_base_src_loop):
15556         Small cleanups, check for flushing after being unlocked from the 
15557         LIVE_LOCK. take refcounts correctly (not yet everywhere).
15558         Don't send out EOS when going to READY.
15560 2005-10-27  Wim Taymans  <wim@fluendo.com>
15562         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15563         (gst_base_sink_get_position):
15564         Some more debug.
15566         * gst/gstbin.c: (message_check), (bin_replace_message),
15567         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15568         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15569         (bin_query_duration_init), (bin_query_duration_fold),
15570         (bin_query_duration_done), (bin_query_generic_fold),
15571         (gst_bin_query):
15572         * tools/gst-launch.c: (main):
15573         Remove old option.
15575 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
15577         * examples/controller/audio-example.c: (main):
15578         * examples/queue/queue.c: (event_loop):
15579         * gst/base/gstbasetransform.h:
15580         * gst/gstelement.c: (gst_element_send_event):
15581         * gst/gstevent.h:
15582         * gst/gstpad.c: (gst_pad_send_event):
15583           fixing examples
15584           fixing docs typos
15585           changing log priority in error situations
15587 2005-10-25  Wim Taymans  <wim@fluendo.com>
15589         * gst/gstbin.c: (message_check), (bin_replace_message),
15590         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15591         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15592         (bin_query_duration_init), (bin_query_duration_fold),
15593         (bin_query_duration_done), (bin_query_generic_fold),
15594         (gst_bin_query):
15595         Some doc and debug updates.
15596         Cache previously requested query DURATION for speed. invalidate
15597         cached duration if element posts a DURATION message.
15599 2005-10-25  Wim Taymans  <wim@fluendo.com>
15601         * docs/design/part-TODO.txt:
15602         Update TODO.
15604         * gst/gstbin.c: (message_check), (bin_replace_message),
15605         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15606         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15607         (bin_query_duration_init), (bin_query_duration_fold),
15608         (bin_query_duration_done), (bin_query_generic_fold),
15609         (gst_bin_query):
15610         Handle SEGMENT_START/DONE messages correctly.
15611         More evolved query algorithm that handles duration queries
15612         correctly.
15614         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15615         (gst_element_get_state_func), (gst_element_abort_state),
15616         (gst_element_commit_state), (gst_element_lost_state):
15617         Some more debugging.
15619         * gst/gstmessage.h:
15620         Added doc.
15622 2005-10-25  Wim Taymans  <wim@fluendo.com>
15624         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15625         Don't use invalid stream_time.
15627         * gst/gstevent.c: (gst_event_new_newsegment):
15628         stream_time in newsegment cannot be undefined.
15630 2005-10-24  Wim Taymans  <wim@fluendo.com>
15632         * gst/gstbus.c:
15633         Doc fix.
15635         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15636         (gst_queue_loop):
15637         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15639 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
15641         * docs/libs/tmpl/gstdparam.sgml:
15642         * docs/libs/tmpl/gstdplinint.sgml:
15643         * docs/libs/tmpl/gstdpman.sgml:
15644         * docs/libs/tmpl/gstdpsmooth.sgml:
15645         * docs/libs/tmpl/gstunitconvert.sgml:
15646           these are obsolete
15648 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15650         * configure.ac:
15651           back to HEAD
15653 === release 0.9.4 ===
15655 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15657         * configure.ac:
15658           releasing 0.9.4, "Tyrannosaurus Rex"
15660 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
15662         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15663         (gst_file_sink_get_current_offset):
15664           Use fseeko() and ftello() if available. When falling back on
15665           lseek() to get the current offset, fflush() first to make sure
15666           everything is up-to-date and we get the right offset.
15668 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15671         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15672         * gst/gsterror.c: (_gst_stream_errors_init):
15673         * gst/gsterror.h:
15674         * gst/gstqueue.c: (gst_queue_loop):
15675         * po/POTFILES.in:
15676           remove prematurely added error category and clean up the instances
15678 2005-10-21  Wim Taymans  <wim@fluendo.com>
15680         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15681         (gst_base_sink_get_position), (gst_base_sink_query),
15682         (gst_base_sink_change_state):
15683         Simply set the right flag when going to playing, that's all
15684         we need to do instead of calling a function inside the object
15685         lock (that could take the lock as well and deadlock)
15687 2005-10-21  Wim Taymans  <wim@fluendo.com>
15689         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15690         (gst_base_src_loop):
15691         Don't warn, the peer element knows what to do best when
15692         the seek failed, it might try something else.
15694 2005-10-21  Wim Taymans  <wim@fluendo.com>
15696         * gst/base/gstbasesrc.c: (gst_base_src_init),
15697         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15698         Fix seeking.
15700 2005-10-21  Wim Taymans  <wim@fluendo.com>
15702         * docs/design/part-segments.txt:
15703         More docs.
15705         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15706         Correctly set caps, even on the subbufer.
15708 2005-10-21  Wim Taymans  <wim@fluendo.com>
15710         * docs/gst/gstreamer-docs.sgml:
15711         * docs/gst/gstreamer-sections.txt:
15712         * gst/gstelement.h:
15713         * gst/gstevent.c:
15714         * gst/gstevent.h:
15715         * gst/gstmessage.h:
15716         * gst/gstpad.h:
15717         * gst/gstparse.h:
15718         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15719         * gst/gsttask.h:
15720         * gst/gstutils.c:
15721         * gst/gstutils.h:
15722         And 2% more doc coverage.
15724 2005-10-21  Andy Wingo  <wingo@pobox.com>
15726         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15727         position reporting.
15729 2005-10-20  Wim Taymans  <wim@fluendo.com>
15731         * gst/gsterror.c: (gst_error_get_message):
15732         * gst/gstparse.h:
15733         * gst/gstquery.h:
15734         * gst/gststructure.c:
15735         * gst/gsttrace.c:
15736         * gst/gstutils.c:
15737         More docs.
15739 2005-10-20  Wim Taymans  <wim@fluendo.com>
15741         * gst/gstbuffer.h:
15742         * gst/gstpad.c:
15743         * gst/gstparse.c:
15744         Another 1% more coverage.
15746 2005-10-20  Wim Taymans  <wim@fluendo.com>
15748         * docs/gst/gstreamer-sections.txt:
15749         * gst/gstelement.c: (gst_element_get_state_func),
15750         (gst_element_abort_state), (gst_element_commit_state),
15751         (gst_element_lost_state):
15752         * gst/gstevent.h:
15753         * gst/gstquery.c: (gst_query_set_position),
15754         (gst_query_parse_position), (gst_query_set_duration),
15755         (gst_query_parse_duration), (gst_query_new_convert):
15756         * gst/gstutils.c:
15757         Yay! 1% more docs coverage.
15759 2005-10-20  Wim Taymans  <wim@fluendo.com>
15761         * gst/gstpad.h:
15762         * gst/gstquery.c: (gst_query_set_position),
15763         (gst_query_parse_position), (gst_query_set_duration),
15764         (gst_query_parse_duration), (gst_query_new_convert):
15765         * gst/gstquery.h:
15766         * gst/gstutils.c: (gst_element_query_convert):
15767         * gst/gstutils.h:
15768         Docs and consistency fixes.
15770 2005-10-20  Wim Taymans  <wim@fluendo.com>
15772         * gst/gsttask.c:
15773         * gst/gsttask.h:
15774         More docs.
15776 2005-10-20  Wim Taymans  <wim@fluendo.com>
15778         * gst/gstbin.c: (message_check), (bin_replace_message),
15779         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15780         (update_degree), (gst_bin_sort_iterator_next),
15781         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15782         Reworked the message handling a bit, cache the messages instead of
15783         only the senders. alows us to do more in the future.
15785 2005-10-20  Wim Taymans  <wim@fluendo.com>
15787         * docs/design/part-TODO.txt:
15788         Update TODO
15790         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15791         (gst_base_sink_query):
15792         Don't use clock time to report position when in EOS.
15794 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15796         * tools/gst-inspect.c: (print_interfaces),
15797         (print_element_properties_info), (print_element_info):
15798           Fix interface output with gst-inspect -a; don't print
15799           newlines after double/float properties.
15801 2005-10-20  Wim Taymans  <wim@fluendo.com>
15803         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15804         (gst_base_sink_query):
15805         Speed up current position calculation.
15807         * gst/base/gstbasesrc.c: (gst_base_src_query),
15808         (gst_base_src_default_newsegment):
15809         Correctly set stream position in newsegment.
15811         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15812         (update_degree), (gst_bin_sort_iterator_next),
15813         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15814         * gst/gstmessage.c: (gst_message_new_custom):
15815         Clean up debugging info
15817         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15818         (gst_queue_loop), (gst_queue_handle_src_query):
15819         Pause task faster.
15821 2005-10-19  Wim Taymans  <wim@fluendo.com>
15823         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15824         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15825         Fix query handling again.
15827 2005-10-19  Wim Taymans  <wim@fluendo.com>
15829         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15830         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15831         * gst/base/gstbasesrc.c: (gst_base_src_query):
15832         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15833         * gst/elements/gsttypefindelement.c:
15834         (gst_type_find_handle_src_query), (find_element_get_length),
15835         (gst_type_find_element_activate):
15836         API change fix.
15838         * gst/gstquery.c: (gst_query_new_position),
15839         (gst_query_set_position), (gst_query_parse_position),
15840         (gst_query_new_duration), (gst_query_set_duration),
15841         (gst_query_parse_duration), (gst_query_set_segment),
15842         (gst_query_parse_segment):
15843         * gst/gstquery.h:
15844         Bundling query position/duration is not a good idea since duration
15845         does not change much and we don't want to recalculate it for every
15846         position query, so they are separated again..
15847         Base value in segment query is not needed.
15849         * gst/gstqueue.c: (gst_queue_handle_src_query):
15850         * gst/gstutils.c: (gst_element_query_position),
15851         (gst_element_query_duration), (gst_pad_query_position),
15852         (gst_pad_query_duration):
15853         * gst/gstutils.h:
15854         Updates for query API change.
15855         Added some docs here and there.
15857 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15859         * check/gst/gstbin.c: (GST_START_TEST):
15860         * check/gst/gstghostpad.c: (GST_START_TEST):
15861         * check/pipelines/cleanup.c: (GST_START_TEST):
15862           wait on thread to die so we can check refcount correctly
15864 2005-10-18  Wim Taymans  <wim@fluendo.com>
15866         * check/pipelines/stress.c: (GST_START_TEST):
15867         Make check a little more time consuming.
15869 2005-10-18  Wim Taymans  <wim@fluendo.com>
15871         * check/Makefile.am:
15872         * check/pipelines/stress.c: (GST_START_TEST),
15873         (simple_launch_lines_suite), (main):
15874         Small state change torture test.
15876         * docs/design/part-states.txt:
15877         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15878         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15879         (gst_base_sink_change_state):
15880         Never take state lock from streaming thread, clean up ugly
15881         hacks. Unfortunatly core does not yet support nice ways to
15882         async commit state.
15883         
15884         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15885         (bin_bus_handler):
15886         Start state recalc if a STATE_DIRTY message is posted, but only
15887         on the toplevel bin.
15889         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15890         (gst_element_get_state_func), (gst_element_abort_state),
15891         (gst_element_commit_state), (gst_element_lost_state),
15892         (gst_element_set_state_func), (gst_element_change_state):
15893         * gst/gstelement.h:
15894         State variables are now protected with the LOCK, the state
15895         lock is only used to serialize _set_state().
15897 2005-10-18  Wim Taymans  <wim@fluendo.com>
15899         * check/gst/gstbin.c: (GST_START_TEST):
15900         * check/gst/gstmessage.c: (GST_START_TEST):
15901         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15902         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15903         (bin_bus_handler):
15904         * gst/gstelement.c: (gst_element_abort_state),
15905         (gst_element_commit_state), (gst_element_lost_state):
15906         * gst/gstmessage.c: (gst_message_new_state_changed),
15907         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15908         (gst_message_new_segment_done), (gst_message_new_duration),
15909         (gst_message_parse_state_changed),
15910         (gst_message_parse_segment_start),
15911         (gst_message_parse_segment_done), (gst_message_parse_duration):
15912         * gst/gstmessage.h:
15913         * tools/gst-launch.c: (event_loop):
15914         Seriously, this is better than a previous commit as we only need
15915         to notify the fact that an element changed state in a streaming
15916         thread, marking the state of the parents dirty, hence the 
15917         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15918         message.
15920 2005-10-18  Wim Taymans  <wim@fluendo.com>
15922         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15923         (gst_bin_recalc_func):
15924         * gst/gstelement.c: (gst_element_set_clock),
15925         (gst_element_abort_state), (gst_element_lost_state):
15926         Cleanups, prepare for state change fixes.
15928 2005-10-18  Wim Taymans  <wim@fluendo.com>
15930         * gst/gstbin.h:
15931         * gst/gstelement.c: (gst_element_class_init),
15932         (gst_element_set_state), (gst_element_set_state_func):
15933         * gst/gstelement.h:
15934         Pending ABI changes.
15935         GThreadPool in GstBinClass to monitor async state changes.
15936         state_cookie in GstElement to detect concurrent gst/set state.
15937         set_state is now virtual too in case a very complicated element
15938         has to be constructed.
15940 2005-10-18  Wim Taymans  <wim@fluendo.com>
15942         * check/gst/gstbin.c: (GST_START_TEST):
15943         * check/gst/gstmessage.c: (GST_START_TEST):
15944         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15945         * gst/gstbin.c: (bin_bus_handler):
15946         * gst/gstelement.c: (gst_element_commit_state),
15947         (gst_element_lost_state):
15948         * gst/gstmessage.c: (gst_message_new_state_changed),
15949         (gst_message_new_segment_start), (gst_message_new_segment_done),
15950         (gst_message_new_duration), (gst_message_parse_state_changed),
15951         (gst_message_parse_segment_start),
15952         (gst_message_parse_segment_done), (gst_message_parse_duration):
15953         * gst/gstmessage.h:
15954         * tools/gst-launch.c: (event_loop):
15955         Make messages future proof.
15956         state-change gets a flag if it was a message comming from the
15957         streaming thread.
15958         segment-start/stop can also be specified in other formats.
15959         A message to notify an app that a pipeline changed playback 
15960         duration.
15961         Also fix a GstMessage leak in -launch
15963 2005-10-18  Andy Wingo  <wingo@pobox.com>
15965         * gst/gstelement.c (gst_element_dispose): More helpful message.
15967 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15969         reviewed by: <delete if not using a buddy>
15971         * common/gtk-doc.mak:
15973 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15975         * gst/gstregistry.c: (gst_registry_scan_path_level):
15976           unref a plug-in we get that was already initialized
15978 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15980         * docs/gst/gstreamer-sections.txt:
15981         * docs/libs/gstreamer-libs-sections.txt:
15982         * gst/gstelement.h:
15983           add new api entries
15984           hide internal macro
15986 2005-10-17  Andy Wingo  <wingo@pobox.com>
15988         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15989         cleanup.
15991         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15993         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15995         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15996         (gst_element_get_state_func): Better debug message.
15997         (gst_element_commit_state): s/INFO/DEBUG/.
15998         (gst_element_lost_state, gst_element_change_state): 
16000         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16001         (gst_message_new_custom): s/INFO/LOG/.
16003 2005-10-17  Michael Smith <msmith@fluendo.com>
16005         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16006           Check if end time is valid using end time, not start time.
16008 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16010         * check/gst-libs/controller.c: (GST_START_TEST),
16011         (gst_controller_suite):
16012         * libs/gst/controller/gstcontroller.c:
16013         (gst_controlled_property_set_interpolation_mode):
16014         * libs/gst/controller/gstcontroller.h:
16015         * libs/gst/controller/gstinterpolation.c:
16016         * testsuite/controller/.cvsignore:
16017         * testsuite/controller/Makefile.am:
16018         * testsuite/controller/interpolator.c:
16019           merge controller testsuites
16020           fix broken tests
16021           remove mem-chunk from docs
16023 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16025         * gst/gstmemchunk.c:
16026         * gst/gstmemchunk.h:
16027         * gst/gsttrashstack.c:
16028         * gst/gsttrashstack.h:
16029           out.  get out.  you're fired.  to the Attic !
16031 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16033         * gst/gstcaps.c: (gst_caps_intersect):
16034           fix signedness issues in a (hopefully) correct way
16035         * gst/gstelement.c: (gst_element_pads_activate):
16036           some debugging
16037         * gst/gstobject.c: (gst_object_set_parent):
16038           some debugging
16040 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16042         * gst/gstvalue.h: Fix prototypes.
16044 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16046         * docs/gst/gstreamer-sections.txt:
16047         * gst/gst.c: (gst_version_string):
16048         * gst/gst.h:
16049         * gst/gstversion.h.in:
16050         * win32/common/libgstreamer.def:
16051           add gst_version_string ()
16053 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16055         * configure.ac:
16056           clean up further
16057         * gst/gst.c: (init_post):
16058         * win32/common/config.h.in:
16059           it's PLUGINDIR now
16060         * gst/gstcaps.c: (gst_caps_intersect):
16061           use gint64, the range could be bigger than a guint
16063 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16065         * gst/gstclock.h:
16066           document potential problem in 2038
16068 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16070         * gst/gstcaps.c: (gst_caps_intersect):
16071           Fix guint j diving under 0
16073 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16075         * configure.ac:
16076         * win32/common/config.h:
16077         * win32/common/config.h.in:
16078           check for process.h, declares getpid() on Windows
16079         * gst/gstinfo.c:
16080           include process.h if we have it
16081         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16082         * gst/gstmemchunk.h:
16083           fix signedness issues
16084         * win32/common/libgstreamer.def:
16085           fix get_type's
16087 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16089         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16090         fix. Because of unsigned ints, caps intersection was going nuts and
16091         trying to access structures with G_MAXUINT index. That fixes
16092         videotestsrc ! ffmpegcolorspace ! fakesink
16093         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16094         consistency.
16096 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16098         * configure.ac:
16099           use the gettext macro
16100         * gst/elements/gstelements.c:
16101         * gst/gst.c:
16102         * gst/indexers/gstindexers.c:
16103           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16104         * win32/common/config.h:
16105           updated config.h
16106         * win32/common/config.h.in:
16107           add the template to generate config.h
16108         * win32/common/gstenumtypes.c:
16109         * win32/common/gstversion.h:
16110           updated copies
16112 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16114         * gst/gst.c: (gst_version):
16115         * gst/gstversion.h.in:
16116           add the nano
16118 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16120         * gst/gstevent.h:
16121           Oops, add missing closing bracket.
16123 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16125         * configure.ac:
16126           use common m4's for argument checking
16128 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16130         * docs/gst/gstreamer-sections.txt:
16131         * gst/gstevent.h:
16132           Add GST_EVENT_TYPE_NAME() macro.
16134 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16136         * gst/gstinfo.c:
16137         * gst/gstpluginfeature.c:
16138         * gst/gsttask.c:
16139           privatize more symbols
16141 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16143         * configure.ac:
16144           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16145           everything that uses GStreamer API should have the includes
16147 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16149         * docs/gst/gstreamer-sections.txt:
16150         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16151         * gst/gstvalue.h:
16152           give each value a _get_type, removes the DATA exports
16154 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16156         * gst/gst.c:
16157         * gst/gst.h:
16158           remove _gst_registry_auto_load, not used anymore
16159         * gst/gstbin.c: (gst_bin_get_type):
16160         * gst/gstbin.h:
16161         * gst/gstelement.c: (gst_element_get_type):
16162         * gst/gstelement.h:
16163         * gst/gstobject.c: (gst_object_get_type):
16164         * gst/gstobject.h:
16165         * gst/gstpad.c: (gst_pad_get_type):
16166         * gst/gstpad.h:
16167           make _get_type functions similar, fixes data export from library
16169 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16171         * configure.ac:
16172           correctly make conditionals
16173         * gst/elements/Makefile.am:
16174         * gst/elements/gstelements.c:
16175           fix typo causing fdsrc not to build
16177 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16179         * testsuite/Makefile.am:
16180         * testsuite/bytestream/.cvsignore:
16181         * testsuite/bytestream/Makefile.am:
16182         * testsuite/bytestream/filepadsink.c:
16183         * testsuite/bytestream/gstbstest.c:
16184         * testsuite/bytestream/test1.c:
16185         * testsuite/bytestream/testfile1:
16186         * testsuite/caps/normalisation.c:
16187         * testsuite/caps/random.c: (main):
16188         * testsuite/cleanup/.cvsignore:
16189         * testsuite/cleanup/Makefile.am:
16190         * testsuite/cleanup/cleanup1.c:
16191         * testsuite/cleanup/cleanup2.c:
16192         * testsuite/cleanup/cleanup3.c:
16193         * testsuite/cleanup/cleanup4.c:
16194         * testsuite/cleanup/cleanup5.c:
16195         * testsuite/controller/interpolator.c:
16196         * testsuite/debug/printf_extension.c: (main):
16197         * testsuite/elements/tee.c:
16198         * testsuite/negotiation/.cvsignore:
16199         * testsuite/negotiation/Makefile.am:
16200         * testsuite/negotiation/pad_link.c:
16201         * testsuite/pad/Makefile.am:
16202         * testsuite/pad/chainnopull.c:
16203         * testsuite/pad/getnopush.c:
16204         * testsuite/pad/link.c:
16205         * testsuite/refcounting/sched.c: (create_pipeline):
16206         * testsuite/registry/Makefile.am:
16207         * testsuite/registry/gst-print-formats.c:
16208         * testsuite/schedulers/.cvsignore:
16209         * testsuite/schedulers/142183-2.c:
16210         * testsuite/schedulers/142183.c:
16211         * testsuite/schedulers/143777-2.c:
16212         * testsuite/schedulers/143777.c:
16213         * testsuite/schedulers/147713.c:
16214         * testsuite/schedulers/147819.c:
16215         * testsuite/schedulers/147894-2.c:
16216         * testsuite/schedulers/147894.c:
16217         * testsuite/schedulers/Makefile.am:
16218         * testsuite/schedulers/group_link.c:
16219         * testsuite/schedulers/queue_link.c:
16220         * testsuite/schedulers/relink.c:
16221         * testsuite/schedulers/unlink.c:
16222         * testsuite/schedulers/unref.c:
16223         * testsuite/schedulers/useless_iteration.c:
16224         * testsuite/states/bin.c:
16225           clean out/remove some stuff from the testsuite directories
16227 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16229         * configure.ac:
16230           check for some headers
16231         * gst/elements/Makefile.am:
16232         * gst/elements/gstelements.c:
16233           don't compile fdsrc without sys/socket.h
16234         * gst/indexers/Makefile.am:
16235         * gst/indexers/gstindexers.c: (plugin_init):
16236           don't compile fileindex without mmap
16238 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16240         * configure.ac:
16241           reorganize
16242           clean up
16243           document more
16244           remove cruft
16245         * check/Makefile.am:
16246         * docs/gst/Makefile.am:
16247         * examples/helloworld/Makefile.am:
16248         * gst/Makefile.am:
16249         * gst/base/Makefile.am:
16250         * gst/check/Makefile.am:
16251         * gst/elements/Makefile.am:
16252         * gst/indexers/Makefile.am:
16253         * gst/parse/Makefile.am:
16254         * libs/gst/controller/Makefile.am:
16255         * libs/gst/dataprotocol/Makefile.am:
16256         * examples/helloworld/helloworld.c: (event_loop):
16257           compile fixes, though it's not being compiled currently
16259 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16261         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16262           Add some simple tests for the new taglist date API.
16264 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16266         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16267         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16268           Beautify 'last-message' output: print 'none' for buffer timestamps
16269           and durations if none is set; improve alignment with next messages.
16271 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
16273         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16274         * gst/gstpluginfeature.h:
16275         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16276         * gst/gstregistry.h:
16277         * docs/gst/gstreamer-sections.txt:
16278           Add new API to check plugin feature version requirements.
16280         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16281           Some basic tests for the above.         
16283 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16285         * gst/gststructure.c: (gst_structure_to_string):
16286           guard against NULL printf - happens when for example
16287           a message structure with GstClock gets serialized
16289 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16291         * gst/base/gstcollectpads.c: (gst_collectpads_event):
16292           Fix presumable copy'n'pasto.
16294 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16296         * gst/elements/gstfakesrc.h:
16297         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16298         * gst/elements/gsttypefindelement.c:
16299           fix some signedness
16300         * gst/elements/gstfilesink.c: (gst_file_sink_render):
16301           I wonder if this could actually write +2GB files before
16303 2005-10-13  Andy Wingo  <wingo@pobox.com>
16305         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16306         Fix Timmeke Waymans bug.
16307         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16308         string of the proper length to gst_caps_from_string. There's a
16309         potential for, before this fix, that this could cause someone
16310         connecting over the network to cause a segfault if the payload is
16311         not NUL-terminated.
16313 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16315         * docs/design/draft-push-pull.txt:
16316         * docs/design/part-overview.txt:
16317         * docs/random/TODO-pre-0.9:
16318         * docs/random/old/ChangeLog.gstreamer:
16319         * gst/base/gstpushsrc.c:
16320         * gst/gstclock.c:
16321           fixed typos
16323 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16325         * gst/glib-compat.c: (gst_flags_get_first_value):
16326         * gst/glib-compat.h:
16327         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16328         (gst_value_compare_double), (gst_value_serialize_flags):
16329           GLib 2.6 g_flags_get_first_value has a bug that triggers an
16330           infinite loop
16332 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16335         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16336           fix up debugging
16337         * tools/gst-launch.c: (event_loop):
16338           print out clock nicely
16340 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
16342         * docs/gst/gstreamer-sections.txt:
16343         * gst/gsttaglist.h:
16344         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
16345         (gst_tag_list_get_date_index):
16346           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
16347           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
16349 2005-10-13  Julien MOUTTE  <julien@moutte.net>
16351         * gst/base/gstcollectpads.c: (gst_collectpads_event),
16352         (gst_collectpads_chain):
16353         * gst/base/gstcollectpads.h: Handle newsegment and store informations
16354         in CollectData.
16356 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
16358         * docs/gst/gstreamer-sections.txt:
16359         * gst/gst.c:
16360         * gst/gsterror.h:
16361         * tools/gst-inspect.c: (main):
16362         * tools/gst-launch.c: (main):
16363         * tools/gst-run.c: (main):
16364         * tools/gst-xmlinspect.c: (main):
16365           fix GOption context leaks
16366           doc fixes
16368 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16370         * gst/gstbus.c:
16371           use HAVE_UNISTD_H
16372         * win32/common/config.h:
16373           update config
16374         * win32/vs6/grammar.dsp:
16375         * win32/vs6/libgstelements.dsp:
16376         * win32/vs6/libgstreamer.dsp:
16377           update vs6 files
16379 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16381         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16382         * gst/base/gstbasesrc.c: (gst_base_src_query):
16383           fix more guint64<->gdouble conversions
16385 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16387         * Makefile.am:
16388           add win32-update target
16389         * win32/common/gstconfig.h:
16390         * win32/common/gstenumtypes.c:
16391         * win32/common/gstenumtypes.h:
16392         * win32/common/gstversion.h:
16393           add files that visual studio can't generate
16395 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16397         * Makefile.am:
16398           add a win32-update target
16399         * configure.ac:
16401 2005-10-12  Wim Taymans  <wim@fluendo.com>
16403         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16404         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
16405         * gst/gstelement.c: (gst_element_commit_state),
16406         (gst_element_set_state):
16407         Protect flags with proper lock.
16408         unref provided cached clock in dispose.
16410 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16412         * gst/gst.c:
16413         * gst/gstminiobject.h:
16414         * gst/gstpad.h:
16415         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
16416           removed unused flags from miniobject
16417           doc fixes
16419 2005-10-12  Wim Taymans  <wim@fluendo.com>
16421         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16422         (gst_file_sink_event), (gst_file_sink_render):
16423         Flush before seeking.
16425 2005-10-12  Andy Wingo  <wingo@pobox.com>
16427         * gst/gst.c (gst_init_check): Ignore unknown options, as has
16428         always been the case.
16430 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
16432         * check/gst/gstbin.c: (GST_START_TEST):
16433         * docs/gst/gstreamer-sections.txt:
16434         * gst/base/gstbasesink.c: (gst_base_sink_init):
16435         * gst/base/gstbasesrc.c: (gst_base_src_init),
16436         (gst_base_src_get_range), (gst_base_src_check_get_range),
16437         (gst_base_src_start), (gst_base_src_stop):
16438         * gst/base/gstbasesrc.h:
16439         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
16440         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16441         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
16442         (bin_bus_handler):
16443         * gst/gstbin.h:
16444         * gst/gstbuffer.h:
16445         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
16446         * gst/gstbus.h:
16447         * gst/gstelement.c: (gst_element_is_locked_state),
16448         (gst_element_set_locked_state), (gst_element_commit_state),
16449         (gst_element_set_state):
16450         * gst/gstelement.h:
16451         * gst/gstindex.c: (gst_index_init):
16452         * gst/gstindex.h:
16453         * gst/gstminiobject.h:
16454         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16455         (gst_object_set_parent):
16456         * gst/gstobject.h:
16457         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16458         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16459         * gst/gstpad.h:
16460         * gst/gstpadtemplate.h:
16461         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16462         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16463         * gst/gstpipeline.h:
16464         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16465         (gst_file_index_commit):
16466         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16467         * testsuite/pad/link.c: (gst_test_src_init),
16468         (gst_test_filter_init), (gst_test_sink_init):
16469         * testsuite/states/locked.c: (main):
16470           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16471           moved bitshift from macro to enum definition
16473 2005-10-12  Wim Taymans  <wim@fluendo.com>
16475         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16476         * gst/elements/gstfilesink.c: (gst_file_sink_event),
16477         (gst_file_sink_render):
16478         Some more debugging info.
16480 2005-10-12  Wim Taymans  <wim@fluendo.com>
16482         * docs/design/part-states.txt:
16483         * tools/gst-launch.c: (main):
16484         Some doc updates.
16485         Revert non-intentional change.
16487 2005-10-12  Wim Taymans  <wim@fluendo.com>
16489         * check/gst/gstbin.c: (GST_START_TEST):
16490         * check/gst/gstelement.c: (GST_START_TEST):
16491         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16492         * check/gst/gstghostpad.c: (GST_START_TEST):
16493         * check/gst/gstpipeline.c: (GST_START_TEST):
16494         * check/pipelines/simple_launch_lines.c: (run_pipeline):
16495         * check/states/sinks.c: (GST_START_TEST):
16496         * gst/elements/gsttypefindelement.c: (stop_typefinding):
16497         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16498         (gst_bin_remove_func), (gst_bin_get_state_func),
16499         (gst_bin_recalc_state), (gst_bin_change_state_func),
16500         (bin_bus_handler):
16501         * gst/gstelement.c: (gst_element_get_state_func),
16502         (gst_element_get_state), (gst_element_abort_state),
16503         (gst_element_commit_state), (gst_element_set_state),
16504         (gst_element_change_state), (gst_element_change_state_func):
16505         * gst/gstelement.h:
16506         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16507         (gst_pipeline_provide_clock_func):
16508         * gst/gstutils.c: (gst_element_link_pads_filtered):
16509         * tools/gst-launch.c: (main):
16510         * tools/gst-typefind.c: (main):
16511         Use GstClockTime in _get_state() instead of GTimeVal.
16512         Remove old code in gstutils.c
16514 2005-10-12  Andy Wingo  <wingo@pobox.com>
16516         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16517         removed.
16519         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16520         there is no task. Shouldn't affect any code, as nothing in our
16521         plugins checks this return value.
16522         (gst_pad_stop_task): Also take the stream lock if the pad has no
16523         task. Docs updated.
16525 2005-10-12  Wim Taymans  <wim@fluendo.com>
16527         * gst/gstpad.c: (pre_activate), (post_activate),
16528         (gst_pad_activate_pull), (gst_pad_activate_push):
16529         Cleanup activation code. Reset old state if
16530         activation failed.
16532 2005-10-12  Wim Taymans  <wim@fluendo.com>
16534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16535         (gst_base_sink_change_state):
16536         No need to prerol after receiving EOS.
16538         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16539         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16540         * gst/elements/gstidentity.c: (gst_identity_event):
16541         Print events more verbosely.
16543 2005-10-12  Wim Taymans  <wim@fluendo.com>
16545         * check/Makefile.am:
16546         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16547         * check/states/sinks2.c:
16548         Moved sinks2 testcode in sinks check.
16550         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16551         (gst_bin_remove_func), (gst_bin_recalc_state),
16552         (gst_bin_change_state_func), (bin_bus_handler):
16553         Fix potential race condition when _get_state() iterated over an
16554         ASYNC element right before it posted a state completion.
16556         * gst/gstclock.h:
16557         Do proper cast here.
16559         * gst/gstevent.c: (gst_event_new_newsegment),
16560         (gst_event_parse_newsegment):
16561         A playback rate of 0.0 is not allowed.
16563 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16565         * win32/common/config.h:
16566         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16567         (_trewinddir), (_ttelldir), (_tseekdir):
16568         * win32/common/dirent.h:
16569         * win32/common/gtchar.h:
16570         * win32/common/libgstbase.def:
16571         * win32/common/libgstreamer.def:
16572         * win32/vs6/grammar.dsp:
16573         * win32/vs6/gst_inspect.dsp:
16574         * win32/vs6/gst_launch.dsp:
16575         * win32/vs6/gstreamer.dsw:
16576         * win32/vs6/libgstbase.dsp:
16577         * win32/vs6/libgstelements.dsp:
16578         * win32/vs6/libgstreamer.dsp:
16579           Visual Studio 6 project files, and a new common directory.
16580           Phear.
16582 2005-10-11  Wim Taymans  <wim@fluendo.com>
16584         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16585         (gst_base_sink_do_sync), (gst_base_sink_query),
16586         (gst_base_sink_change_state):
16587         * gst/base/gstbasesink.h:
16588         Correctly parse newsegment info.
16590 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16592         * gst/gst.c: (init_post):
16593           split plugin paths correctly
16595 2005-10-11  Wim Taymans  <wim@fluendo.com>
16597         * check/gst/gstevent.c: (GST_START_TEST):
16598         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16599         (gst_base_sink_change_state):
16600         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16601         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16602         * gst/elements/gstfilesink.c: (gst_file_sink_event):
16603         * gst/gstevent.c: (gst_event_new_newsegment),
16604         (gst_event_parse_newsegment):
16605         * gst/gstevent.h:
16606         Added extra flag to newsegment for future API freeze.
16607         Updated check and base elements.
16609 2005-10-11  Julien MOUTTE  <julien@moutte.net>
16611         * gst/base/gstcollectpads.c: (gst_collectpads_init),
16612         (gst_collectpads_add_pad), (gst_collectpads_pop),
16613         (gst_collectpads_event), (gst_collectpads_chain):
16614         * gst/base/gstcollectpads.h: Handle EOS correctly.
16616 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16618         * tools/gst-launch.c: (main):
16619           more null protecting
16621 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16623         * gst/gst-i18n-lib.h:
16624           check for ENABLE_NLS, not GETTEXT_PACKAGE
16625         * gst/gstregistry.c: (gst_registry_add_plugin),
16626         (gst_registry_scan_path_level),
16627         (_gst_registry_remove_cache_plugins):
16628           protect possibly NULL strings
16629         * gst/parse/types.h:
16630           config.h already included before
16631         * tools/gst-inspect.c: (main):
16632           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16633           check for ENABLE_NLS, not GETTEXT_PACKAGE
16634         * tools/gst-launch.c: (main):
16635           check for ENABLE_NLS, not GETTEXT_PACKAGE
16637 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16639         * configure.ac:
16640           if we don't have glib, fail before testing 2.8
16641         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16642           fix a leak, should fix plugins-base testsuite
16644 2005-10-11  Andy Wingo  <wingo@pobox.com>
16646         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16647         take the mode we're going to as an arg. Go head and set the mode
16648         and flushing flags now, so that if the activate function starts a
16649         thread all the flags will be in the right state.
16650         (post_activate): Renamed also. Just handle making sure streaming
16651         finishes for the deactivation case, and setting the deactivated
16652         mode.
16653         (gst_pad_set_active): Complain loudly if deactivation fails.
16654         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16655         (gst_pad_activate_push): Adapt to pre/post_activate changes,
16656         remove the terrible hack.
16658 2005-10-11  Wim Taymans  <wim@fluendo.com>
16660         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16661         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16662         (gst_bin_recalc_state), (gst_bin_change_state_func),
16663         (gst_bin_dispose), (bin_bus_handler):
16664         * gst/gstbin.h:
16665         Prepare to make current EOS message queue more generic.
16666         Fix some typos.
16668         * gst/gstevent.c: (gst_event_new_newsegment),
16669         (gst_event_parse_newsegment):
16670         * gst/gstevent.h:
16671         Rename base to stream_time.
16673         * gst/gstmessage.h:
16674         Fix typo in docs.
16676 2005-10-11  Wim Taymans  <wim@fluendo.com>
16678         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16679         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16680         (gst_bin_change_state_func), (bin_bus_handler):
16681         * gst/gstbin.h:
16682         Work on proper clock selection.
16684 2005-10-11  Edward Hervey  <edward@fluendo.com>
16686         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
16687         * libs/gst/controller/gstcontroller.h:
16688         Added GList* version of _remove_properties() in order to be able to wrap
16689         it in bindings.
16691 2005-10-11  Wim Taymans  <wim@fluendo.com>
16693         * docs/design/part-states.txt:
16694         Some more docs.
16696         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16697         (gst_bin_change_state_func), (bin_bus_handler):
16698         Doc updates. Don't distribute the same clock over and over again.
16700         * gst/gstclock.c:
16701         * gst/gstclock.h:
16702         Doc updates.
16704         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16705         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16706         (gst_pad_send_event):
16707         * gst/gstpad.h:
16708         Make probe emission threadsafe again.
16709         Register quarks and move _get_name() from utils.
16710         Doc updates.
16712         * gst/gstpipeline.c: (gst_pipeline_class_init),
16713         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16714         Only redistribute the clock of it changed.
16716         * gst/gstsystemclock.h:
16717         Doc updates. 
16719         * gst/gstutils.c:
16720         * gst/gstutils.h:
16721         Moved the _flow_get_name() to GstPad.
16723 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16725         * check/gst-libs/gdp.c: (GST_START_TEST):
16726         * check/gst/gstcaps.c: (GST_START_TEST):
16727         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16728         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16729         (gst_dp_packet_from_caps):
16730           fix more valgrind warnings before turning up the heat
16732 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16734         * gst/parse/grammar.y:
16735           some cleanup before the hacking
16737 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16739         * gst/base/gstbasesrc.c: (gst_base_src_query):
16740           use conversions
16741         * gst/gstutils.c: (gst_guint64_to_gdouble),
16742         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16743         * gst/gstutils.h:
16744           externalize, basesrc uses it
16745           obviously the implementation needs testing
16747 2005-10-10  Wim Taymans  <wim@fluendo.com>
16749         * tests/sched/Makefile.am:
16750         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16751         (make_pipeline3), (make_pipeline4), (print_elem), (main):
16753 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16755         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16756           apparently converting from guint64 to double is not implemented
16757           on MSVC
16759 2005-10-10  Wim Taymans  <wim@fluendo.com>
16761         * check/Makefile.am:
16762         * check/generic/states.c: (GST_START_TEST):
16763         * check/gst/gstbin.c: (GST_START_TEST):
16764         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16765         * check/states/sinks.c: (GST_START_TEST):
16766         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16767         (main):
16768         Check fixes, use API as stated in design docs, remove hacks.
16770         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16771         (gst_base_sink_change_state):
16772         Catch stopping our task while we're shutting down.
16774         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16775         (gst_bin_remove_func), (gst_bin_get_state_func),
16776         (gst_bin_recalc_state), (gst_bin_change_state_func),
16777         (bin_bus_handler):
16778         * gst/gstbin.h:
16779         * gst/gstelement.c: (gst_element_init),
16780         (gst_element_get_state_func), (gst_element_abort_state),
16781         (gst_element_commit_state), (gst_element_lost_state),
16782         (gst_element_set_state), (gst_element_change_state),
16783         (gst_element_change_state_func):
16784         * gst/gstelement.h:
16785         New state change algorithm (see #318116)
16787         * gst/gstpipeline.c: (gst_pipeline_class_init),
16788         (gst_pipeline_init), (gst_pipeline_set_property),
16789         (gst_pipeline_get_property), (do_pipeline_seek),
16790         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16791         * gst/gstpipeline.h:
16792         Remove crude state change hacks.
16794         * gst/gstutils.h:
16795         Remove crude hacks.
16797         * tools/gst-launch.c: (main):
16798         Fixes for state change. Needs some more work to fully use the
16799         new stuff.
16801 2005-10-10  Andy Wingo  <wingo@pobox.com>
16803         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16805         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16806         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16807         issue.
16809 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16811         * gst/gstiterator.c: (gst_iterator_new):
16812           Fix my previous commit: GTypes passed to gst_iterator_new()
16813           can be fundamental types.
16815 2005-10-10  Wim Taymans  <wim@fluendo.com>
16817         * gst/gstelement.c: (gst_element_iterate_pad_list),
16818         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16819         (gst_element_iterate_sink_pads):
16820         Use src/sink pads lists for the respective iterators instead
16821         of filtering.
16823 2005-10-10  Andy Wingo  <wingo@pobox.com>
16825         Merged in popt removal + GOption addition patch from Ronald, bug
16826         #169772.
16828         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16829         GstElement macros around, remove popt-related symbols, add goption
16830         stuff.
16832         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16833         
16834         * docs/gst/Makefile.am:
16835         * docs/libs/Makefile.am: No POPT_CFLAGS.
16836         
16837         * examples/manual/Makefile.am:
16838         * docs/manual/basics-init.xml: Doc updates with an example.
16839         
16840         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16841         (gst_init), (parse_one_option), (parse_goption_arg):
16842         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16843         bit of hand merging and debugging to get the GOption stuff working
16844         tho.
16845         
16846         * tests/Makefile.am:
16847         * tools/Makefile.am:
16848         * tools/gst-inspect.c: (main):
16849         * tools/gst-launch.c: (main):
16850         * tools/gst-run.c: (main):
16851         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16853 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16855         * gst/gstiterator.c: (gst_iterator_new):
16856           Add assertions to make sure passed GType is likely to really
16857           be a GType (as the compiler won't catch it if the size and
16858           GType arguments get mixed up, see #318447).
16860 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16862         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16864         * gst/gstbin.c: (gst_bin_iterate_sorted):
16865           Pass GType and size arguments to gst_iterator_new() in the right
16866           order (maybe we should make _new() take the GType as first argument
16867           just like _new_list()?) (#318447).
16868           
16870 2005-10-10  Wim Taymans  <wim@fluendo.com>
16872         * gst/gstelement.c: (gst_element_finalize):
16873         And free the GStaticRecMutex too
16875 2005-10-10  Andy Wingo  <wingo@pobox.com>
16877         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16878         Allocate and free the mutex properly.
16880         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16881         New macros.
16882         (GstElement): The state_lock is now recursive. Rebuild your
16883         plugins, suckers. Old macros adapted.
16885         * docs/gst/gstreamer-sections.txt: Doc updates.
16887         * gst/gstutils.h:
16888         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16889         (g_static_rec_cond_wait): Ported from state changes patch, while
16890         we wait on bug #317802 to be solved in a well-distributed GLib.
16892         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16893         gst_element_change_state, variable name changes.
16894         (gst_element_change_state): Split out of gst_element_set_state in
16895         preparation for the state change merge. Doesn't pay attention to
16896         the 'transition' argument.
16897         (gst_element_set_state): Updates, hopefully purely cosmetic.
16898         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16899         state change patch.
16900         (gst_element_get_state_func): Renamed from get_state, cosmetic
16901         changes.
16903 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16905         * gst/elements/gstelements.c:
16906         * win32/GStreamer.vcproj:
16907         * win32/config.h:
16908         * win32/dirent.c: (_tseekdir):
16909         * win32/gst-inspect.vcproj:
16910         * win32/gst-launch.vcproj:
16911         * win32/gstconfig.h:
16912         * win32/gstelements.vcproj:
16913         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16914         * win32/gstreamer.def:
16915         * win32/msvc71.sln:
16916           updates for the win32 build (patch from Sebastien Moutte)
16918 2005-10-10  Andy Wingo  <wingo@pobox.com>
16920         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16921         gst_bin_get_state, cleaned up (but no logic changes).
16922         (bin_element_is_sink): Comment updates.
16923         (sink_iterator_filter): Remove needless cast.
16924         (gst_bin_iterate_sinks): Doc update.
16925         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16926         cleaned up (but no logic changes).
16928         * check/states/sinks.c (test_src_sink): Cleanups from the state
16929         change patch.
16930         (test_livesrc_sink): Sync on the state.
16932         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16933         the state change patch.
16935         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16936         change patch.
16938         * check/gst/gstbin.c: Merge in some style fixes and additional
16939         checks from Wim's state change patch.
16941 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16943         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16944         (gst_type_find_helper):
16945           Check whether we have the requested data already in our list of
16946           cached buffers before pulling a new buffer; also make the buffer
16947           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16949 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16951         * gst/gstcaps.c:
16952         * gst/gstevent.c:
16953           doc updates
16954         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16955           don't use long long, it's not portable.  Replacing with
16956           gint64 seems to work; let's hope no skeletons fall out of the closet.
16958 2005-10-10  Andy Wingo  <wingo@pobox.com>
16960         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16962 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16964         * docs/gst/gstreamer-sections.txt:
16965         * gst/gstevent.c:
16966         * gst/gstevent.h:
16967         * gst/gstinfo.c:
16968         * gst/gstinfo.h:
16969         * gst/gstmessage.c: (gst_message_parse_state_changed):
16970         * gst/gstpad.c:
16971         * gst/gstpad.h:
16972           more docs, fix compilation
16974 2005-10-09  Philippe Khalaf <burger@speedy.org>
16975         * gst/gstmessage.c:
16976           Fixed a few forgotten variables on previous commit
16978 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16980         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16981           Fix evil typefind crasher: getrange() might return a short
16982           buffer at the end of a file, but gst_type_find_peek() must
16983           either return the full data as requested or NULL, but
16984           never a short buffer.
16986 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16988         * gst/gstmessage.c: (gst_message_new_state_changed),
16989         (gst_message_parse_state_changed):
16990         * gst/gstmessage.h:
16991           don't use "new", it's a C++ keyword
16993 2005-10-08  Wim Taymans  <wim@fluendo.com>
16995         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16996         * gst/gstelement.c: (gst_element_post_message):
16997         * gst/gstpipeline.c: (gst_pipeline_change_state):
16998         Small docs and debug updates.
17000 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17002         * docs/gst/gstreamer-sections.txt:
17003         * gst/gstelementfactory.c:
17004         * gst/gstevent.c:
17005         * gst/gsttaglist.c:
17006           more docs
17008 2005-10-08  Wim Taymans  <wim@fluendo.com>
17010         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17011         (gst_bin_dispose), (bin_bus_handler):
17012         Fix typos, add comments.
17013         Clear EOS list when going to PAUSED from any direction and do it
17014         in a threadsafe way.
17015         Get base time in a threadsafe way too.
17016         Fix confusing debug in the change_state function.
17017         Various other small cleanups.
17018         
17019         * gst/gstelement.c: (gst_element_post_message):
17020         Fix very verbose bus posting code.
17022         * gst/gstpipeline.c: (gst_pipeline_class_init),
17023         (gst_pipeline_set_property), (gst_pipeline_get_property),
17024         (gst_pipeline_change_state):
17025         Small ARG_ -> PROP_ cleanup
17027 2005-10-08  Wim Taymans  <wim@fluendo.com>
17029         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17030         Do a less CPU demanding EOS check because we can.
17032 2005-10-08  Wim Taymans  <wim@fluendo.com>
17034         * libs/gst/dataprotocol/dataprotocol.c:
17035         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17036         (gst_dp_packet_from_event):
17037         * libs/gst/dataprotocol/dataprotocol.h:
17038         * libs/gst/dataprotocol/dp-private.h:
17039         It's about time we bump the version number.
17040         Since event types don't fit in the guint8 anymore describing
17041         the payload type, make payload type 16 bits wide.
17043 2005-10-08  Wim Taymans  <wim@fluendo.com>
17045         * docs/design/part-TODO.txt:
17046         * docs/design/part-clocks.txt:
17047         * docs/design/part-events.txt:
17048         * docs/design/part-gstbin.txt:
17049         * docs/design/part-gstelement.txt:
17050         * docs/design/part-gstpipeline.txt:
17051         * docs/design/part-live-source.txt:
17052         * docs/design/part-messages.txt:
17053         * docs/design/part-overview.txt:
17054         * docs/design/part-states.txt:
17055         Many doc updates.
17057 2005-10-08  Wim Taymans  <wim@fluendo.com>
17059         * gst/gstevent.c:
17060         * gst/gstevent.h:
17061         Fix event quark registration.
17062         Add some space between events so we can insert them in the
17063         right groups.
17065 2005-10-08  Wim Taymans  <wim@fluendo.com>
17067         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17068         (gst_base_sink_handle_buffer):
17069         Better log message.
17071         * gst/gstbus.h:
17072         * gst/gstelement.h:
17073         More docs.
17075         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17076         (gst_queue_set_property), (gst_queue_get_property):
17077         * gst/gstqueue.h:
17078         Remove old unused properties.
17080 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17081         * docs/gst/gstreamer-sections.txt:
17082         * gst/gstmessage.c:
17083         * gst/gstmessage.h:
17084         * gst/gstminiobject.c:
17085         * gst/gstminiobject.h:
17086         * gst/gstobject.h:
17087         * gst/gstpad.h:
17088         * gst/gstutils.h:
17089           lots of new docs and doc fixes
17091 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17093         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17094         * gst/gstplugin.h:
17095         * gst/gstregistry.c: (gst_registry_lookup_locked),
17096         (gst_registry_scan_path_level):
17097         * gst/gstregistryxml.c: (load_plugin):
17098           Only ever load one plugin for a given plugin basename.
17099           This ensures correct overriding of GST_PLUGIN_PATH over
17100           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17101           system installed plugins.
17103 2005-10-08  Wim Taymans  <wim@fluendo.com>
17105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17106         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17107         Prepare for doing QOS.
17109 2005-10-08  Wim Taymans  <wim@fluendo.com>
17111         * check/gst/gstbin.c: (GST_START_TEST):
17112         * check/pipelines/cleanup.c: (GST_START_TEST):
17113         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17114         Allow new clock message too.
17116 2005-10-08  Wim Taymans  <wim@fluendo.com>
17118         * gst/gstmessage.c: (gst_message_new_error),
17119         (gst_message_new_warning), (gst_message_new_tag),
17120         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17121         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17122         (gst_message_new_segment_start), (gst_message_new_segment_done),
17123         (gst_message_parse_state_changed),
17124         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17125         (gst_message_parse_new_clock):
17126         * gst/gstmessage.h:
17127         Also carry the clock in question.
17129 2005-10-08  Wim Taymans  <wim@fluendo.com>
17131         * gst/gstmessage.c: (gst_message_new_custom),
17132         (gst_message_new_eos), (gst_message_new_error),
17133         (gst_message_new_warning), (gst_message_new_tag),
17134         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17135         (gst_message_new_new_clock), (gst_message_new_segment_start),
17136         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17137         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17138         * gst/gstmessage.h:
17139         Clean up.
17140         Added clock related messages.
17142         * gst/gstpipeline.c: (gst_pipeline_change_state):
17143         Post message when the clock changed.
17145         * tools/gst-launch.c: (event_loop):
17146         Print new clock.
17148 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17150         * tools/gst-inspect.c: (print_element_properties_info):
17151           Can't pass NULL strings to g_print() on windows.
17153 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17155         * docs/Makefile.am:
17156         * docs/gst/Makefile.am:
17157         * docs/gst/gstreamer-docs.sgml:
17158         * docs/gst/running.xml:
17159         * docs/version.entities.in:
17160           add a chapter on running GStreamer.
17161           document GST_DEBUG and GST_PLUGIN* env vars
17163 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17165         * Makefile.am:
17166           remove include dir
17167         * configure.ac:
17168           remove PLUGINS_BUILDDIR stuff
17169         * gst/gst.c: (init_post):
17170           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17171         * idiottest.mak:
17172           remove, it was condescending and not needed
17174 2005-10-08  Wim Taymans  <wim@fluendo.com>
17176         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17177         (gst_base_sink_handle_object), (gst_base_sink_event),
17178         (gst_base_sink_wait), (gst_base_sink_handle_event),
17179         (gst_base_sink_change_state):
17180         * gst/base/gstbasesink.h:
17181         Repost EOS message while going to PLAYING if still EOS.
17182         Make sure that when receiving a FLUSH_START we don't attempt
17183         to sync on the clock anymore.
17185 2005-10-08  Wim Taymans  <wim@fluendo.com>
17187         * tools/gst-launch.c: (event_loop):
17188         Better message printout.
17190 2005-10-08  Wim Taymans  <wim@fluendo.com>
17192         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17193         (gst_bin_child_proxy_get_children_count):
17194         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17195         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17196         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17197         (gst_child_proxy_set_valist):
17198         * gst/parse/grammar.y:
17199         Make ChildProxy threadsafe and fix mem leaks.
17201 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17203         * gst/gst.c: (init_post):
17204           debug the GST_PLUGIN_ env vars
17206 2005-10-08  Wim Taymans  <wim@fluendo.com>
17208         * check/gst/gstbin.c: (GST_START_TEST):
17209         * check/gst/gstmessage.c: (GST_START_TEST):
17210         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17211         * gst/gstelement.c: (gst_element_commit_state),
17212         (gst_element_lost_state):
17213         * gst/gstmessage.c: (gst_message_new_state_changed),
17214         (gst_message_parse_state_changed):
17215         * gst/gstmessage.h:
17216         * tools/gst-launch.c: (event_loop):
17217         Added extra field to STATE_CHANGE message with the pending
17218         state, which will be different from the new state soon.
17220 2005-10-08  Wim Taymans  <wim@fluendo.com>
17222         * gst/gstbus.c: (gst_bus_pop):
17223         * gst/gstclock.c:
17224         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17225         Small cleanups and doc updates.
17227 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17229         * gst/gst.c: (init_pre):
17230         * gst/gstbin.c: (gst_bin_add_func):
17231           log distributing clocks and base time
17232         * gst/gstregistry.c: (gst_registry_add_plugin),
17233         (gst_registry_scan_path_level), (gst_registry_scan_path):
17234           clean up the debugging output a little
17235         * gst/gstutils.c: (gst_element_state_get_name):
17236           warn about a memleak (I've actually seen this be used, though
17237           it was probably a bug)
17239 2005-10-07  Wim Taymans  <wim@fluendo.com>
17241         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17242         (gst_base_src_init), (gst_base_src_default_newsegment),
17243         (gst_base_src_newsegment), (gst_base_src_do_seek),
17244         (gst_base_src_loop), (gst_base_src_start):
17245         * gst/base/gstbasesrc.h:
17246         Make the newsegment event customizable by subclasses.
17248 2005-10-07  Wim Taymans  <wim@fluendo.com>
17250         * gst/gstevent.c: (gst_event_new_buffersize),
17251         (gst_event_parse_buffersize):
17252         * gst/gstevent.h:
17253         New event for future idea.
17255 2005-10-07  Andy Wingo  <wingo@pobox.com>
17257         * gst/gstelement.c (gst_element_post_message): Doc update.
17259         * docs/gst/gstreamer-sections.txt: Update.
17261         * gst/gstmessage.c (gst_message_new_application): Made into a
17262         function like honest API calls.
17263         (gst_message_new_element): New message type.
17265         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17267         * check/elements/fakesrc.c (test_no_preroll): New check, checks
17268         that setting a live fakesrc to PAUSED returns NO_PREROLL both
17269         times.
17271         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17272         NO_PREROLL from gst_element_change_state to fall through.
17274 2005-10-07  Wim Taymans  <wim@fluendo.com>
17276         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17277         (gst_ghost_pad_do_activate_push):
17278         Activating a ghostpad with no internal pad in push mode
17279         is ok.
17281 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17283         * gst/gstobject.h:
17284           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17285           Fixes compilation on Windows.
17287 2005-10-07  Michael Smith <msmith@fluendo.com>
17289         * tools/gst-inspect.c:
17290           Print out feature and plugin count at the end when printing out
17291           all features.
17293 2005-10-04  Michael Smith <msmith@fluendo.com>
17295         * gst/gsterror.c: (_gst_stream_errors_init):
17296           Add another error string used in a few existing plugins.
17298         * gst/gstplugin.c:
17299         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17300         * tools/gst-inspect.c: (print_element_info):
17301           When a feature disappears from a plugin (and the feature exists in
17302           the cached registry file), things went horribly wrong. This isn't a
17303           complete fix, we should actually be removing the 'missing' features
17304           from the features list when we load the actual plugin. That's not
17305           yet implemented. 
17307 2005-10-04  Johan Dahlin  <johan@gnome.org>
17309         * check/gst/gstiterator.c: (GST_START_TEST):
17310         * gst/gstbin.c: (gst_bin_iterate_elements),
17311         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17312         * gst/gstelement.c: (gst_element_iterate_pads):
17313         * gst/gstformat.c: (gst_format_iterate_definitions):
17314         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17315         (gst_iterator_new_list), (gst_iterator_filter):
17316         * gst/gstiterator.h:
17317         * gst/gstquery.c: (gst_query_type_iterate_definitions):
17318         Add a GType to GstIterator, update callsites and tests.
17320 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17322         * gst/gstpad.c: (gst_pad_event_default_dispatch):
17323           give events a chance to be handled by event probes when the pad
17324           is not linked
17326 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17328         * gst/gstevent.c: (gst_event_type_get_name),
17329         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17330         * gst/gstevent.h:
17331           add string representations for event types
17333 2005-10-06  Wim Taymans  <wim@fluendo.com>
17335         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
17336         Don't use NULL pointers.
17338 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17340         * gst/gst_private.h:
17341         * gst/gstbus.c:
17342         * gst/gstelement.c:
17343         * gst/gstinfo.c:
17344         * gst/gstpluginfeature.c:
17345           widen the debug category in output to fit the biggest one we have
17346           add a bus category and use it
17347           play with the colors
17348           fix up some categories
17350 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17352         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
17353           add push activation of sink ghost pads.
17354           Andye, please verify
17356 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17358         * gst/gstutils.c: (gst_element_link_pads):
17359           fix a bug in the case where neither element has a pad
17360         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
17361           add a test for that case
17363 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17365         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
17366           emit have-data before checking for peers.  This allows
17367           for probe handlers to connect elements.  This helps autopluggers.
17368         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
17369         (gst_pad_suite):
17370           add six checks, linked/unlinked with no/true/false probe
17372 2005-10-04  Wim Taymans  <wim@fluendo.com>
17374         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
17375         (gst_fake_sink_event), (gst_fake_sink_preroll),
17376         (gst_fake_sink_render), (gst_fake_sink_change_state):
17377         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
17378         (gst_fake_src_get_property), (gst_fake_src_create),
17379         (gst_fake_src_stop):
17380         * gst/elements/gstidentity.c: (gst_identity_stop):
17381         Protect last_message with lock.
17383 2005-10-04  Edward Hervey  <edward@fluendo.com>
17385         * gst/gstformat.h: 
17386         Added precision in the comments for GST_FORMAT_DEFAULT
17388 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
17390         * tools/gst-launch.c: (main):
17391           Don't try to run erroneous pipelines.
17393 2005-10-04  Julien MOUTTE  <julien@moutte.net>
17395         * gst/gstbus.c: We don't need this header.
17397 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17399         * configure.ac:
17400           back to development
17402 === release 0.9.3 ===
17404 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17406         * README:
17407         * configure.ac:
17408           Releasing 0.9.3, "Unregistered"
17410 2005-10-03  Andy Wingo  <wingo@pobox.com>
17412         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
17413         whereby calling a pad's activatepush() function can start a thread
17414         that starts to push or pull before the pad gets the FLUSHING flag
17415         unset. Hack around it by holding the stream lock until the flag is
17416         set. Need to replace this with a proper solution. Together with
17417         the ghost pad fixes, this fixes mp3 playing/tagreading.
17419         * docs/design/part-gstghostpad.txt: Add a note about activation of
17420         proxy pads outside of ghost pads.
17422         * gst/gstghostpad.c: Implement the ghost pad activation design.
17424 2005-10-02  Andy Wingo  <wingo@pobox.com>
17426         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
17427         It is volatile, after all.
17429         * docs/design/part-gstghostpad.txt: Flesh out activation with
17430         ghost pads.
17432         * gst/base/gstbasesrc.c (gst_base_src_init): Use
17433         GST_DEBUG_FUNCPTR.
17435 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
17437         * configure.ac:
17438           Fix (unused) AM_CONDITIONAL tests.
17440 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
17442         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17444         * gst/gstutils.c: (gst_pad_query_convert):
17445           Add assertion that makes sure src_val is >=0, just like
17446           gst_query_new_convert() has. (#315895)
17448 2005-09-30  Edward Hervey  <edward@fluendo.com>
17450         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
17451         Let's not iterate pads we're not interested in, it avoids getting 
17452         sky-high refcounts on sinkpad.
17454 2005-09-30  Wim Taymans  <wim@fluendo.com>
17456         * gst/gstelement.c: (gst_element_set_state),
17457         (gst_element_change_state):
17458         Small tweak, element in ASYNC remains ASYNC.
17460 2005-09-30  Wim Taymans  <wim@fluendo.com>
17462         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17463         Only error is an error.
17465         * gst/gstbin.c: (gst_bin_change_state):
17466         Better debugging.
17468         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17469         Also call pad_block in pad alloc.
17471         * gst/gstutils.c: (gst_flow_get_name):
17472         Better debugging.
17474 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17476         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17477         (gst_base_src_get_range):
17478           Fix documentation typos. Add some more debug info.
17480 2005-09-29  David Schleef  <ds@schleef.org>
17482         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17483           more end-user friendly.
17484         * tools/gst-inspect.c: (main): Check if command-line argument is
17485           a file and attempt to load that file as a plugin.
17487 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17489         * check/gst/gstbin.c:
17490         * check/states/sinks.c:
17491           fix tests for the new warning
17492         * check/gst/gstpipeline.c:
17493           add a test for pipeline and bus interaction
17494         * gst/gstelement.c:
17495           elements should be NULL if they get disposed; add a warning if not
17497 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17499         * gst/gstobject.c:
17500           for 2.6 refcounting, make debug log more correct by printing
17501           the actual refcounts at the time of swap (Wim)
17503 2005-09-29  Andy Wingo  <wingo@pobox.com>
17505         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17506         removes signal watches previously added via
17507         gst_bus_add_signal_watch.
17508         (gst_bus_add_signal_watch): Don't return the source id, just store
17509         it on the bus if there wasn't an id already.
17511         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17512         add_signal_watch and remove_signal_watch.
17514 2005-09-29  Edward Hervey  <edward@fluendo.com>
17516         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
17517         Better if we actually iterate the list :)
17519 2005-09-29  Wim Taymans  <wim@fluendo.com>
17521         * check/gst/gstbin.c: (GST_START_TEST):
17522         Change for new bus API.
17524         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17525         (send_messages), (GST_START_TEST), (gstbus_suite):
17526         Change for new bus signal API.
17528         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17529         (gst_bus_source_prepare), (gst_bus_source_check),
17530         (gst_bus_create_watch), (gst_bus_add_watch_full),
17531         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17532         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17533         * gst/gstbus.h:
17534         Remove support for multiple GSources operating on different
17535         message types as it is too complex and unneeded when using
17536         signals.
17537         Added support for receiving signals from the bus.
17539 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17541         * docs/libs/tmpl/gstdataprotocol.sgml:
17542         * docs/manual/advanced-dataaccess.xml:
17543         * gst/elements/gstcapsfilter.c:
17544         * gst/gstutils.c:
17545           rename filter-caps to caps property
17547 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17549         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17550           More robust fraction string parsing.
17552         * docs/pwg/appendix-porting.xml:
17553           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17555 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
17557         * gst/gstcaps.c: (gst_caps_do_simplify):
17558           Thou shalt not free a structure and then continue using it
17559           in the next loop iteration.
17561         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17562         (gst_caps_suite):
17563           Add test case for caps simplification.
17565 2005-09-29  Wim Taymans  <wim@fluendo.com>
17567         * check/gst/gstbin.c: (GST_START_TEST):
17568         Oops.
17570 2005-09-29  Wim Taymans  <wim@fluendo.com>
17572         * check/gst/gstbin.c: (GST_START_TEST):
17573         Add bus to bin.
17575         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17576         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17577         (find_element), (gst_bin_sort_iterator_next),
17578         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17579         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17580         (gst_bin_change_state), (gst_bin_dispose):
17581         A bin does not have a bus, it gets the bus from the parent.
17583         * gst/gstelement.c: (gst_element_requires_clock),
17584         (gst_element_provides_clock), (gst_element_is_indexable),
17585         (gst_element_is_locked_state), (gst_element_change_state),
17586         (gst_element_set_bus_func):
17587         Small cleanups.
17589         * gst/gstpipeline.c: (gst_pipeline_class_init),
17590         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17591         The pipeline provides a bus.
17593 2005-09-28  Johan Dahlin  <johan@gnome.org>
17595         * gst/gstmessage.c (gst_message_parse_state_changed): Use
17596         gst_structure_get_enum instead of gst_structure_get_int
17598         * gst/gststructure.c (gst_structure_get_enum): Impl.
17600         * gst/gststructure.h (gst_structure_get_enum): Add
17602         * docs/gst/gstreamer-sections.txt: Ditto
17604         * gst/gstmessage.c (gst_message_new_state_changed): Use
17605         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17606         which does introspection.
17607         Reviewed by Christian Schaller
17609 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17611         * gst/gstinfo.c: (gst_debug_log_default):
17612           don't do dummy g_strdup()s
17613         * libs/gst/controller/gstcontroller.c:
17614         (on_object_controlled_property_changed),
17615         (gst_controlled_property_new), (gst_controller_new_valist),
17616         (gst_controller_new_list),
17617         (gst_controller_remove_properties_valist), (gst_controller_set),
17618         (gst_controller_get), (gst_controller_sync_values),
17619         (gst_controller_get_value_array), (_gst_controller_class_init),
17620         (gst_controller_get_type):
17621         * libs/gst/controller/gstcontroller.h:
17622         * libs/gst/controller/gstinterpolation.c:
17623         (gst_controlled_property_find_timed_value_node):
17624           convert // to /**/ comments
17626 2005-09-28  Wim Taymans  <wim@fluendo.com>
17628         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17629         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17630         (gst_bus_sync_signal_handler):
17631         * gst/gstbus.h:
17632         Added async-message and sync-message signals to the bus.
17633         Added helper BusFunc to emit signals for all posted messages.
17635         * gst/gstmessage.c: (gst_message_type_get_name),
17636         (gst_message_type_to_quark), (gst_message_get_type):
17637         * gst/gstmessage.h:
17638         Register quarks for message names.
17640 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
17642         * docs/libs/gstreamer-libs-sections.txt:
17643         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17644         (gst_controller_new_list):
17645         * libs/gst/controller/gstcontroller.h:
17646           added another constructor for language bindings
17648 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17650         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17651           add another check
17652         * gst/gstbus.c:
17653           add some doc
17654         * gst/gstinfo.c: (_gst_debug_init):
17655           slightly more readable color for refcount debugging
17657 2005-09-28  Wim Taymans  <wim@fluendo.com>
17659         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17660         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17661         (find_element), (gst_bin_sort_iterator_next),
17662         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17663         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17664         (gst_bin_change_state), (gst_bin_dispose):
17665         Small doc fixes. get_clock -> provide_clock.
17667         * gst/gstelement.c: (gst_element_class_init),
17668         (gst_element_provides_clock), (gst_element_provide_clock),
17669         (gst_element_get_clock), (gst_element_commit_state),
17670         (gst_element_lost_state):
17671         * gst/gstelement.h:
17672         Make get/set_clock() symetric. Add provide_clock vmethod since
17673         that is actually what this function does.
17675         * gst/gstpipeline.c: (gst_pipeline_class_init),
17676         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17677         (gst_pipeline_get_clock):
17678         get_clock -> provide_clock.
17680 2005-09-28  Andy Wingo  <wingo@pobox.com>
17682         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17683         lieu of real docs...
17685         * gst/elements/gstfdsrc.c: Cleaned up a bit.
17687 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
17689         * gst/elements/gstcapsfilter.c:
17690         * gst/elements/gstfakesink.c:
17691         * gst/elements/gstfakesrc.c:
17692         * gst/elements/gstfdsink.c:
17693         * gst/elements/gstfdsrc.c:
17694         * gst/elements/gstfilesink.c:
17695         * gst/elements/gstfilesrc.c:
17696         * gst/elements/gstidentity.c:
17697         * gst/elements/gsttee.c:
17698         * gst/elements/gsttypefindelement.c:
17699           Make element details static.
17701 2005-09-28  Wim Taymans  <wim@fluendo.com>
17703         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17704         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17705         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17706         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17707         (gst_bin_change_state), (gst_bin_dispose):
17708         Some documentation updates.
17709         Clean up dispose handlers.
17711         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17712         * gst/gstpad.c: (gst_pad_dispose):
17713         Clean up dispose handler.
17715         * gst/gstpipeline.c: (gst_pipeline_change_state):
17716         Removed spurious UNLOCK.
17718 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
17720         * docs/gst/gstreamer-sections.txt:
17721         * gst/base/gstbasesrc.h:
17722         * gst/gstelement.h:
17723         * gst/gstevent.h:
17724         * gst/gstobject.h:
17725         * gst/gstpad.h:
17726         * gst/gstpipeline.c:
17727         * gst/gstpipeline.h:
17728         * gst/gstutils.h:
17729         * gst/gstxml.h:
17730           added two new functions to the docs
17731                 documents all undocumented GstXXXFlags
17732                 completed some incomplete docs 
17734 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17736         * gst/gstbin.c: (gst_bin_dispose):
17737         * gst/gstelement.c: (gst_element_dispose):
17738           remove now useless and leaky resurrection code in dispose
17739         * gst/base/gstbasesrc.c: (gst_base_src_init):
17740         * gst/gstelementfactory.c: (gst_element_factory_create):
17741         * gst/gstobject.c: (gst_object_set_parent):
17742           add some debugging
17744 2005-09-27  Wim Taymans  <wim@fluendo.com>
17746         * docs/design/part-TODO.txt:
17747         Update TODO.
17749         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17750         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17751         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17752         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17753         (gst_bin_change_state):
17754         * gst/gstelement.h:
17755         Remove element variable, we keep element info in the iterator now.
17757 2005-09-27  Andy Wingo  <wingo@pobox.com>
17759         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17760         values.
17762 2005-09-27  Wim Taymans  <wim@fluendo.com>
17764         * check/gst/gstbin.c: (GST_START_TEST):
17765         Enable check that works now.
17767         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17768         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17769         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17770         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17771         (gst_bin_change_state):
17772         * gst/gstbin.h:
17773         Redid the state change algorithm using a topological sort algo.
17774         Handles all cases correctly.
17775         Exposed iterator for state change order.
17777         * gst/gstelement.h:
17778         Temp storage for state changes. Need to get rid of this soon.
17780 2005-09-27  Wim Taymans  <wim@fluendo.com>
17782         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17783         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17784         (link_fold_func), (gst_pad_proxy_setcaps):
17785         Leak fixes, the fold functions need to unref the passed object and
17786         _get_parent_*() returns ref to parent.
17788 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17790         * check/gst/gstbuffer.c: (test_make_writable):
17791           Plug leak in test case and fix 'make check-valgrind'
17793 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17795         * gst/gstbuffer.c: (gst_subbuffer_init):
17796           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17797           works correctly in all circumstances (we could have just copied
17798           the parent buffer's readonly flag, but conceptually it seems
17799           cleaner to mark all subbuffers as read-only). (based on patch
17800           by Alessandro Decina, #314710).
17801         
17802         * check/gst/gstbuffer.c: (create_read_only_buffer),
17803         (test_make_writable), (test_subbuffer_make_writable),
17804         (gst_test_suite):
17805           Add some tests for gst_buffer_make_writable().
17807 2005-09-27  Wim Taymans  <wim@fluendo.com>
17809         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17810         use gst_object_has_ancestor().
17812         * gst/gstobject.c: (gst_object_has_ancestor):
17813         * gst/gstobject.h:
17814         gst_object_has_ancestor() copied from gstbin.c as it is a
17815         useful function.
17817         * tests/instantiate/create.c: (create_all_elements):
17818         * tests/lat.c: (handoff_src), (handoff_sink):
17819         * tests/sched/runxml.c: (main):
17820         * tests/seeking/seeking1.c: (main):
17821         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17822         (main):
17823         Fix compilation of some tests.
17825 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17827         * gst/gsterror.h:
17828           Remove comment. GST_TYPE_G_ERROR is here to stay,
17829           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17830           (#316961, #300610).
17832 2005-09-26  Wim Taymans  <wim@fluendo.com>
17834         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17835         Added check that shows error in state change order.
17837 2005-09-26  Wim Taymans  <wim@fluendo.com>
17839         * gst/gstbin.c: (gst_bin_change_state):
17840         Make state change function use 3 queues again, we were
17841         adding elements in the wrong order.
17843         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17844         Some debug info,
17846         * gst/gstpad.c: (gst_pad_dispose):
17847         Added some debug info first.
17849 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17851         * docs/design/draft-push-pull.txt:
17852         * docs/design/part-events.txt:
17853         * docs/design/part-overview.txt:
17854         * docs/design/part-scheduling.txt:
17855           Replace all _pull_region() with _pull_range()
17856           
17857 2005-09-26  Andy Wingo  <wingo@pobox.com>
17859         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17861         * check/gst-libs/controller.c: Update for controller api change.
17863         * configure.ac: 
17864         * tests/Makefile.am:
17865         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17866         over by GLib bug 118439.
17867         
17868         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17869         routines to a function.
17871         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17873         * libs/gst/controller/gsthelper.c:
17874         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17875         (gst_object_sync_values): Renamed from sink_values. Ugh.
17877         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17879         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17880         Renamed from controller_key, as it is exported.
17882         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17884 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17886         * gst/Makefile.am:
17887         * gst/gst.h:
17888         * gst/gstpad.h:
17889         * gst/gstpadtemplate.h:
17890         * gst/gstquery.c:
17891         * gst/gstquery.h:
17892         * gst/gstqueryutils.c:
17893         * gst/gstqueryutils.h:
17894           remove queryutils headers after moving the two used functions
17895           to gstquery.  also fixes build problem for gstsiddec
17897 2005-09-26  Michael Smith <msmith@fluendo.com>
17899         * tools/gst-launch.1.in:
17900         Correct documentation in manpage of debug syntax
17902 2005-09-26  Wim Taymans  <wim@fluendo.com>
17904         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17905         (gst_base_src_is_seekable), (gst_base_src_change_state):
17906         Some more debugging info.
17908 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17910         * docs/gst/gstreamer-sections.txt:
17911         * gst/base/gstbasetransform.h:
17912         * gst/gstindex.h:
17913           added more docs
17915 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17917         * docs/gst/.cvsignore:
17918         * docs/gst/tmpl/.cvsignore:
17919         * docs/gst/tmpl/gstpipeline.sgml:
17920         * docs/gst/tmpl/gstplugin.sgml:
17921         * gst/gstpipeline.c:
17922         * gst/gstplugin.c:
17923         * gst/gstplugin.h:
17924           inlined the last two docs files
17925           removed the tmpl directory from cvs (no more conflicts here!)
17927 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17929         * docs/gst/gstreamer-sections.txt:
17930         * docs/gst/tmpl/.cvsignore:
17931         * docs/gst/tmpl/gstpad.sgml:
17932         * docs/gst/tmpl/gstpadtemplate.sgml:
17933         * gst/Makefile.am:
17934         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17935         (gst_pad_finalize), (gst_pad_set_pad_template):
17936         * gst/gstpad.h:
17937         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17938         (gst_pad_template_class_init), (gst_pad_template_init),
17939         (gst_pad_template_dispose), (name_is_valid),
17940         (gst_static_pad_template_get), (gst_pad_template_new),
17941         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17942         (gst_pad_template_pad_created):
17943         * gst/gstpadtemplate.h:
17944           inlined two more docs
17945           factored gstpadtemplate out of gstpad
17947 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17949         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17950         (test_children_state_change_order_semi_sink):
17951           Fix test case: we can't rely on a fixed state change order when
17952           going from READY => PAUSED because the sink might commit its 
17953           new state first when the first buffer created by the source 
17954           reaches the sink before the source has finished its change state.
17955           (Test case still fails at times, see #316856, comment 5 onwards)
17957 2005-09-24  Wim Taymans  <wim@fluendo.com>
17959         * docs/design/part-events.txt:
17960         * docs/design/part-gstbus.txt:
17961         * docs/design/part-gstpipeline.txt:
17962         * docs/design/part-messages.txt:
17963         * docs/design/part-overview.txt:
17964         * docs/design/part-segments.txt:
17965         * gst/gstbin.c:
17966         * gst/gstbuffer.c:
17967         * gst/gstclock.c:
17968         * gst/gstelement.c:
17969         * gst/gstevent.c:
17970         * gst/gstfilter.c:
17971         * gst/gstiterator.c:
17972         Various documentation updates.
17974 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17976         * gst/gstclock.h:
17977           Well, that's embarassing.  Luckily we weren't using
17978           GST_CLOCK_DIFF anywhere.
17980 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17982         * common/gtk-doc.mak:
17983           don't fail on building XML, FC4 slave shows a bunch of doc
17984           missing bits that I don't get
17985         * gst/gstpad.c:
17986         * gst/gstpipeline.c:
17987         * gst/gststructure.c:
17988           some doc updates
17990 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17992         * docs/design/part-gstbin.txt:
17993         * docs/design/part-gstbus.txt:
17994         * gst/gstbus.c:
17995           Add blurb about how the bus goes into flushing mode and
17996           drops all messages when its bin goes from READY into NULL 
17997           state.
17999 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18001         * docs/gst/gstreamer-sections.txt:
18002         * gst/gststructure.c: (gst_structure_get_clock_time):
18003         * gst/gststructure.h:
18004           add a method to get a GstClockTime out of a structure
18006 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18008         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18009         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18010           Added test to check state change order in bins (can still be made
18011           to fail here under heavy disk load; bails out with 'Push on pad
18012           fakesink:sink0, but it was not activated in push mode').
18014         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18015           Fix state change order when there is only a semi sink (#316856)
18017         * gst/gstbus.c: (gst_bus_class_init):
18018           Use _class_peek_parent(), not _class_ref(); fix docs to say
18019           'default main context' instead of 'mainloop' where that is
18020           what's meant.
18022         * gst/gstelement.c: (gst_element_commit_state),
18023         (gst_element_set_state):
18024           Fix typos in debug messages
18026 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18028         * docs/README:
18029         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18030         * gst/gstpluginfeature.c:
18031         * gst/gstutils.c:
18032           various doc updates
18033         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18034           change an assert into an error until it gets fixed properly
18036 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18038         * docs/gst/gstreamer-sections.txt:
18039         * docs/gst/tmpl/.cvsignore:
18040         * docs/gst/tmpl/gstelement.sgml:
18041         * docs/gst/tmpl/gstinfo.sgml:
18042         * docs/gst/tmpl/gstobject.sgml:
18043         * gst/gstelement.c:
18044         * gst/gstelement.h:
18045         * gst/gstinfo.c:
18046         * gst/gstinfo.h:
18047         * gst/gstobject.c: (gst_object_class_init):
18048         * gst/gstobject.h:
18049           inlined 3 more biiiig doc files and added some missing docs on the fly
18051 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18053         * check/gst/.cvsignore:
18054         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18055         * gst/gstregistryxml.c: (load_plugin),
18056         (gst_registry_xml_save_plugin):
18057           put back source in registry.  add checks for find_plugin.
18058         * testsuite/states/bin.c: (assert_state), (empty_bin),
18059         (test_adding_one_element), (main):
18060         * testsuite/states/locked.c: (main):
18061           some compile/run fixes
18063 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18065         * check/gst/gstvalue.c: (GST_START_TEST):
18066           fix leaks in the test itself
18068 2005-09-22  Wim Taymans  <wim@fluendo.com>
18070         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18071         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18072         (gst_base_sink_query):
18073         Prepare for more accurate position reporting and query
18074         handling.
18076         * gst/gstelement.c: (gst_element_send_event),
18077         (gst_element_set_state):
18078         Add some comment.
18080 2005-09-22  Wim Taymans  <wim@fluendo.com>
18082         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18083         (gst_query_parse_segment):
18084         * gst/gstquery.h:
18085         More documentation.
18086         Add segment query for future use.
18088 2005-09-22  Wim Taymans  <wim@fluendo.com>
18090         * gst/gstbin.c: (gst_bin_add_func):
18091         Some more debug info.
18093         * gst/gstelement.c: (gst_element_send_event):
18094         Simplify send_event
18096         * gst/gstelement.h:
18097         Don't know how flags got broken.
18099         * gst/gstquery.h:
18100         Added new query.
18102 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18104         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18105           Add simplistic test suite for GST_TYPE_DATE serialisation and
18106           deserialisation.
18108 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18110         * docs/gst/gstreamer-sections.txt:
18111         * gst/gststructure.c: (gst_structure_set_valist),
18112         (gst_structure_get_date):
18113         * gst/gststructure.h:
18114         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18115         (gst_date_copy), (gst_value_compare_date),
18116         (gst_value_serialize_date), (gst_value_deserialize_date),
18117         (gst_value_transform_date_string),
18118         (gst_value_transform_string_date), (_gst_value_initialize):
18119         * gst/gstvalue.h:
18120           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18121           bunch of utility functions along with a hack that checks that
18122           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18123           is required. Part of the grand scheme in #170777.
18125 2005-09-22  Andy Wingo  <wingo@pobox.com>
18127         * gst/gstconfig.h.in: Psych out gtk-doc.
18129         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18131         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18133         * tools/gst-inspect.c (print_element_list): Plug some
18134         inconsequential leaks.
18136         * gst/gstregistry.c (gst_registry_get_default): Doc.
18138         * check/gst/gstplugin.c: 
18139         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18140         * gst/gstelementfactory.c (gst_element_factory_create): 
18141         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18142         refcount changes.
18144         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18145         (gst_plugin_feature_load): Doc, don't eat refs.
18147         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18148         (gst_plugin_list_free): Doc.
18149         (gst_plugin_load_file): Doc updates.
18151         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18152         accessors returning refcounted objects, return a ref.
18154         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18155         accessor for caps. IDEMPOTENCE. Oh yes.
18157 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18159         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18161         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18162         (_gst_debug_register_funcptr):
18163           Add mutex to serialise access to the hash table with
18164           the function pointer => function name string mapping;
18165           make that hash table static scope (#316809).
18167         * gst/registries/.cvsignore:
18168           Remove left-over file.
18170 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18172         * docs/pwg/appendix-porting.xml:
18173           And something about newsegment events and caps-on-buffers to
18174           the porting guide (feel free to improve).
18176 2005-09-21  Andy Wingo  <wingo@pobox.com>
18178         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18179         data and event probes on the same pad.
18180         (test_buffer_probe_once): Test that removing probes from within
18181         the probe functions works.
18183 2005-09-21  Andy Wingo  <wingo@pobox.com>
18185         * check/gst/gstutils.c: New file.
18186         (test_buffer_probe_n_times): A simple buffer probe test. More to
18187         come, foolios.
18189         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18190         have-data::buffer, not have-data.
18191         (gst_pad_add_event_probe): Likewise for have-data::event.
18192         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18193         peer' isn't quite right yet though.
18194         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18195         (gst_pad_remove_data_probe): Change to take the guint handler_id
18196         as their arg, not the function+data, which is more glib-like.
18198         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18199         the signal emission to indicate if the data is a buffer or an
18200         event.
18201         (gst_pad_get_type): Initialize buffer and event quarks.
18202         (gst_pad_class_init): have-data is now a detailed signal, yes it
18203         is.
18205 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18207         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18208         * gst/gstutils.c: (gst_util_set_value_from_string),
18209         (gst_util_set_object_arg):
18210           Don't put functional code in g_return_if_fail() or
18211           g_return_val_if_fail() statements, otherwise things will 
18212           break when G_DISABLE_CHECKS is defined during compilation.
18214 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18216         * docs/gst/tmpl/.cvsignore:
18217         * docs/gst/tmpl/gstvalue.sgml:
18218         * gst/gstvalue.c:
18219         * gst/gstvalue.h:
18220           inlied another one and added  some obvious docs
18222 2005-09-21  Wim Taymans  <wim@fluendo.com>
18224         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18225         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18226         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18227         (gst_fdsrc_get_property), (gst_fdsrc_create):
18228         * gst/elements/gstfdsrc.h:
18229         Properly implement fdsrc. Removed signal and timeout,
18230         better implemented somewhere else.
18232 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18234         * docs/gst/tmpl/.cvsignore:
18235         * docs/gst/tmpl/gstimplementsinterface.sgml:
18236         * gst/gstinterface.c:
18237           inlined more docs
18239 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18241         * docs/gst/gstreamer-sections.txt:
18242         * docs/gst/tmpl/.cvsignore:
18243         * docs/gst/tmpl/gstenumtypes.sgml:
18244           remove obsolete doc file
18246 2005-09-21  David Schleef  <ds@schleef.org>
18248         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18249         little beer, fix a little leak.
18251 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18253         * docs/gst/gstreamer-docs.sgml:
18254         * docs/gst/gstreamer-sections.txt:
18255         * docs/gst/tmpl/.cvsignore:
18256         * gst/Makefile.am:
18257         * gst/gst.h:
18258         * gst/gstbin.c:
18259         * gst/gstelement.h:
18260         * gst/gstindex.c: (gst_index_class_init):
18261         * gst/gstindex.h:
18262         * gst/gstindexfactory.c: (gst_index_factory_get_type),
18263         (gst_index_factory_class_init), (gst_index_factory_init),
18264         (gst_index_factory_finalize), (gst_index_factory_new),
18265         (gst_index_factory_destroy), (gst_index_factory_find),
18266         (gst_index_factory_create), (gst_index_factory_make):
18267         * gst/gstindexfactory.h:
18268         * gst/gstpluginfeature.c:
18269         * gst/gstpluginfeature.h:
18270         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18271           more docs inlined, splitted gstindex.{c,h}
18273 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18275         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18276           fix a leak
18278 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18280         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18281           Set sync to FALSE by default.
18283 2005-09-20  Wim Taymans  <wim@fluendo.com>
18285         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18286         (gst_base_sink_init):
18287         Make sync property settable from subclass.
18289         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18290         (gst_fake_sink_change_state):
18291         Set sync to FALSE by default.
18293 2005-09-20  Wim Taymans  <wim@fluendo.com>
18295         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18296         * tools/gst-launch.c: (main):
18297         The timeout handler should have lower priority than the source
18298         so we don't timeout before popping a message with 0 timeout.
18299         Dump error messages after failed state change.
18301 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
18303         * tools/gst-inspect.c: (print_element_properties_info):
18304           Fix two typos.
18306 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18308         * check/gst/gstevent.c:
18309         * gst/elements/gstfakesink.c:
18310         * gst/elements/gstfakesink.h:
18311           remove the sync property from fakesink.
18312           has the side effect of setting sync TRUE
18313           for fakesink, which is a change.  Anyone who knows how
18314           to fix this nicely in a GObject-y way, feel free.
18316 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18318         * docs/gst/gstreamer-docs.sgml:
18319           remove probe refsection
18321 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18323         * check/Makefile.am:
18324           disable valgrinding the controller test again
18325         * docs/gst/gstreamer-sections.txt:
18326           update for api-changes
18328 2005-09-20  Wim Taymans  <wim@fluendo.com>
18330         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18331         (gst_base_sink_set_property), (gst_base_sink_get_property),
18332         (gst_base_sink_do_sync):
18333         * gst/base/gstbasesink.h:
18334         Added sync property to basesink to disable clock sync.
18336 2005-09-20  Andy Wingo  <wingo@pobox.com>
18338         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
18339         eating the caller's refcount.
18341         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
18342         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
18343         refcount.
18345         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
18346         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
18347         of GLib 2.8 public, so we can know which refcount to check in
18348         tests.
18350         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
18351         (gst_object_init): Only set the gst refcount if we're going ahead
18352         with the refcount hack.
18354 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18356         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18357         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18358           more leaks plumbed, added more debug-logging
18359         * gst/gstmacros.h:
18360           whitespace fix
18362 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18364         * gst/gstmessage.c:
18365           remove include of gstmemchunk.h
18367 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18369         * gst/gstclock.c: (_gst_clock_id_free):
18370           Commit from the Political Party For More Atomic CVS Commits,
18371           so that people don't waste too much of their day fishing
18372           out obvious leaks out of massive commits.
18373           Oh, and fix a pretty damn obvious leak in the memchunk
18374           removal code.
18376 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
18378         * check/Makefile.am:
18379         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
18380           plug mem-leak, re-add to valgrindable tests
18382 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18384         * gst/gstplugin.h:
18385           unbreak the build for those who have chronic arthritis
18386           and typing "make check" is just too taxing on the hands
18388 2005-09-20  Andy Wingo  <wingo@pobox.com>
18390         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
18391         really want it out, you should fix plugins at the same time.
18393 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
18395         * configure.ac:
18396         * docs/gst/gstreamer-sections.txt:
18397         * gst/gstobject.c:
18398           added missing symbols to api docs
18399           disable ref-count hack if we have glib >= 2.8
18401 2005-09-19  David Schleef  <ds@schleef.org>
18403         * docs/gst/Makefile.am: Ignore a few more internal headers
18404         * docs/gst/gstreamer-docs.sgml: Remove old sections
18405         * docs/gst/gstreamer-sections.txt: Remove old sections
18406         * docs/gst/tmpl/gstobject.sgml: update
18407         * docs/gst/tmpl/gstplugin.sgml: update
18408         * docs/gst/tmpl/gstpluginfeature.sgml: update
18409         * docs/random/ds/0.9-suggested-changes: update.
18410         * gst/Makefile.am: remove memchunk and trashstack, since they're
18411           not used.
18412         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
18413         * gst/gst.h: don't include some headers
18414         * gst/gstchildproxy.c: add gstmarshal.h
18415         * gst/gstclock.c: Don't use memchunks
18416         * gst/gstminiobject.c: Add some docs
18417         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
18418         * gst/gstobject.h: same
18419         * gst/gstplugin.c: include gstmacros.h
18420         * gst/gstplugin.h: don't include gstmacros.h, since it's private
18421         * gst/gstquery.c: don't use memchunks
18422         * gst/gstregistry.c: rename gst_registry_deinit()
18423         * gst/gstregistry.h: same
18425 2005-09-19  David Schleef  <ds@schleef.org>
18427         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
18428         * docs/libs/gstreamer-libs-sections.txt:
18429         * docs/libs/tmpl/gstgetbits.sgml:
18430         * docs/libs/tmpl/gstputbits.sgml:
18432 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
18434         * win32/gstenumtypes.c:
18435         * win32/gstenumtypes.h:
18436           Update.
18438 2005-09-19  Wim Taymans  <wim@fluendo.com>
18440         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
18441         Automatically PAUSE and RESUME a pipeline when a flushing seek
18442         is performed.
18444 2005-09-19  Andy Wingo  <wingo@pobox.com>
18446         * gst/gstregistry.h: Spacing fixen.
18448 2005-09-19  Wim Taymans  <wim@fluendo.com>
18450         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
18451         Handle state change failure more correctly.
18453 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18455         * check/Makefile.am:
18456         * check/pipelines/cleanup.c: (run_pipeline):
18457         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18458         (GST_START_TEST):
18459           enable cleanup again after fixing the leak
18460         * docs/README:
18461           some more info on docs
18463 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18465         * check/Makefile.am:
18466           re-enable tests now that leaks are plugged
18467         * check/gst/gst.c:
18468         * check/gst/gstbin.c:
18469         * check/gst/gstpipeline.c:
18470           add some more tests while fixing leaks
18471         * common/check.mak:
18472           make sure binaries are uptodate when valgrinding/gdbing
18473         * gst/gst.c:
18474         * gst/gstelementfactory.c:
18475           remove a ref too many, and add a FIXME for when we get
18476           round to disposing of classes
18477         * gst/gstplugin.c:
18478           fix the refcounting when loading a plugin from a file and
18479           the code pretends that the pointer is the same even though
18480           of course it can change
18481         * gst/gstpluginfeature.c:
18482           unref plugins marked cached (a bit confusing as a name)
18483           as the docs state should be done
18484           various doc additions to explain refcounting
18485         * gst/gstregistry.c:
18486         * gst/gstregistryxml.c:
18487           debugging
18489 2005-09-19  Wim Taymans  <wim@fluendo.com>
18491         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18492         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18493         (send_messages), (GST_START_TEST), (gstbus_suite):
18494         * check/gst/gstpipeline.c: (GST_START_TEST):
18495         * check/pipelines/cleanup.c: (run_pipeline):
18496         * check/pipelines/simple_launch_lines.c: (run_pipeline),
18497         (GST_START_TEST):
18498         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18499         (gst_bus_source_check), (gst_bus_source_dispatch),
18500         (gst_bus_create_watch), (gst_bus_add_watch_full),
18501         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18502         * gst/gstbus.h:
18503         * tools/gst-launch.c: (event_loop):
18504         * tools/gst-md5sum.c: (event_loop):
18505         GstBusHandler -> GstBusFunc, return value has the same meaning as
18506         any other GSource (FALSE == remove source).
18507         _add_watch() and _add_watch_full() now take a MessageType mask to
18508         only handle specific types of messages.
18509         _poll() returns the GstMessage instead of the message type to avoid
18510         race conditions.
18511         _have_pending() takes a MessageType mask now too.
18512         Added testsuite for multiple bus watches.
18513         Fix testsuites and applications for new bus API.
18515 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18517         * check/Makefile.am:
18518           mark a bunch of the tests as to fix until we fix them
18520 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18522         * common/check.mak:
18523           use GST_PLUGIN settings for valgrind tests as well, so we're
18524           valgrinding the correct thing
18525         * gst/gst.c: (init_post):
18526           plug another leak
18528 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18530         * gst/gst.c: (init_post), (gst_deinit):
18531         * gst/gstelementfactory.c: (gst_element_factory_class_init),
18532         (gst_element_factory_finalize), (gst_element_factory_cleanup):
18533         * gst/gstindex.c: (gst_index_factory_class_init),
18534         (gst_index_factory_finalize):
18535         * gst/gstobject.c: (gst_object_dispose):
18536         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18537         (gst_plugin_load_file), (gst_plugin_desc_free):
18538         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18539         (gst_plugin_feature_finalize):
18540         * gst/gstregistry.c: (gst_registry_class_init),
18541         (gst_registry_init), (gst_registry_finalize),
18542         (gst_registry_get_default), (gst_registry_deinit):
18543         * gst/gstregistry.h:
18544         * gst/gstregistryxml.c: (load_feature), (load_plugin):
18545           various cleanups and memleak plugging.  make valgrind is happy now.
18547 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18549         * common/check.mak:
18550           add a check-valgrind target
18552 2005-09-18  David Schleef  <ds@schleef.org>
18554         * tools/gst-inspect.c: Revert the GOption code.
18556 2005-09-17  David Schleef  <ds@schleef.org>
18558         * check/Makefile.am: Fix environment variables.
18559         * check/gst/gstplugin.c: Fix for API changes.
18560         * tools/gst-inspect.c: Fix for API changes.
18561         * tools/gst-xmlinspect.c: Fix for API changes.
18562         * gst/gstelementfactory.c:
18563         * gst/gstplugin.c:
18564         * gst/gstplugin.h:
18565         * gst/gstpluginfeature.c:
18566         * gst/gstpluginfeature.h:
18567         * gst/gstregistry.c:
18568         * gst/gstregistry.h:
18569         * gst/gstregistryxml.c:
18570         * gst/gsttypefind.c:
18571         * gst/gsttypefindfactory.c:
18572         * gst/indexers/gstfileindex.c:
18573         * gst/indexers/gstmemindex.c:
18574         * gst/schedulers/Makefile.am:
18575           Change registry to keep track of both plugins and features,
18576           removing the feature tracking from plugins themselves.
18578 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18580         * check/Makefile.am:
18581         * tools/gst-register.1.in:
18582           remove gst-register
18584 2005-09-15  David Schleef  <ds@schleef.org>
18586         * check/gst/gstplugin.c:
18587         * gst/gstelementfactory.c:
18588         * gst/gstplugin.c:
18589         * gst/gstpluginfeature.c:
18590         * gst/gstregistry.c:
18591           Getting tired of debugging.  Disabled all the unreffing of
18592           plugins and features, which fixes the segfaults, but of
18593           course leaks like crazy.  At least playbin works.
18595 2005-09-15  David Schleef  <ds@schleef.org>
18597         * check/gst/gstplugin.c: (register_check_elements),
18598         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18599         More testing
18600         * gst/elements/gsttypefindelement.c: Fix refcounting.
18601         * gst/gsttypefind.c:
18602         * gst/gsttypefindfactory.c:
18603         * gst/gsttypefindfactory.h:
18605 2005-09-15  David Schleef  <ds@schleef.org>
18607         * gst/gstindex.c: get refcounting correct.
18608         * gst/gstregistry.c: Handle the case where a feature/plugin is
18609           not found.
18611 2005-09-15  David Schleef  <ds@schleef.org>
18613         * check/Makefile.am:
18614         * check/gst/gstplugin.c: Add test
18615         * gst/gstplugin.c: Fix problems noticed by testsuite
18616         * gst/gstplugin.h:
18617         * gst/gstregistry.c: 
18618         * gst/gstregistry.h:
18620 2005-09-15  David Schleef  <ds@schleef.org>
18622         * gst/gstplugin.c: Implement semi-decent recounting and locking
18623           in plugins and plugin features.
18624         * gst/gstplugin.h:
18625         * gst/gstpluginfeature.c:
18626         * gst/gstpluginfeature.h:
18627         * gst/gstregistry.c:
18629 2005-09-15  Michael Smith <msmith@fluendo.com>
18631         * gst/gstregistry.c: (gst_registry_get_feature_list):
18632           Implement this. Makes oggdemux work; decodebin still broken.
18634 2005-09-14  David Schleef  <ds@schleef.org>
18636         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18637           #316076)
18638         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18639         * gst/check/Makefile.am:
18640         * libs/gst/controller/Makefile.am:
18641         * libs/gst/dataprotocol/Makefile.am:
18643 2005-09-14  David Schleef  <ds@schleef.org>
18645         * configure.ac: Remove getbits library.  Nothing uses it, and
18646           it should be in something like liboil if someone did want
18647           to use it.
18648         * libs/gst/Makefile.am:
18649         * libs/gst/getbits/Makefile.am:
18650         * libs/gst/getbits/gbtest.c:
18651         * libs/gst/getbits/getbits.c:
18652         * libs/gst/getbits/getbits.h:
18653         * libs/gst/getbits/gstgetbits_generic.c:
18654         * libs/gst/getbits/gstgetbits_i386.s:
18655         * libs/gst/getbits/gstgetbits_inl.h:
18657 2005-09-14  David Schleef  <ds@schleef.org>
18659         * gst/Makefile.am: Dist glib-compat.h
18661 2005-09-14  David Schleef  <ds@schleef.org>
18663         * configure.ac: Remove gst/registries, since it's no longer used.
18664         * gst/registries/Makefile.am:
18665         * gst/registries/gstlibxmlregistry.c:
18666         * gst/registries/gstlibxmlregistry.h:
18667         * gst/registries/gstxmlregistry.c:
18668         * gst/registries/gstxmlregistry.h:
18669         * gst/registries/registrytest.c:
18671 2005-09-14  David Schleef  <ds@schleef.org>
18673         * gst/glib-compat.h:
18674         * gst/gstregistryxml.c:
18675           Convergence is near.  Seriously.
18677 2005-09-14  David Schleef  <ds@schleef.org>
18679         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18680         * gst/glib-compat.h:
18681           Attempt #4 to appease the buildbots.
18683 2005-09-14  David Schleef  <ds@schleef.org>
18685         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18686           Attempt #3.
18688 2005-09-14  David Schleef  <ds@schleef.org>
18690         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18691         Attempt #2.
18693 2005-09-14  David Schleef  <ds@schleef.org>
18695         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18696           the new functions.
18698 2005-09-14  David Schleef  <ds@schleef.org>
18700         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18701         * gst/glib-compat.h: Add some functions that are in newer versions
18702           of glib than we care to require.
18703         * gst/gstregistryxml.c: Use them.
18705 2005-09-14  David Schleef  <ds@schleef.org>
18707         * po/POTFILES.in: remove gst-register.c
18709 2005-09-14  David Schleef  <ds@schleef.org>
18711         * docs/gst/gstreamer-docs.sgml:
18712         * docs/gst/gstreamer-sections.txt:
18713         * docs/gst/gstreamer.types:
18714         * docs/gst/tmpl/gstelement.sgml:
18715         * docs/gst/tmpl/gstplugin.sgml:
18716         * docs/gst/tmpl/gstpluginfeature.sgml:
18717           Documentation updates for registry changes.
18719 2005-09-14  David Schleef  <ds@schleef.org>
18721         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18722           because we don't require glib-2.8.
18724 2005-09-14  David Schleef  <ds@schleef.org>
18726         * gst/gstregistryxml.c: Added.  Essentially moved out of the
18727           registries directory.
18729 2005-09-14  David Schleef  <ds@schleef.org>
18731         * check/Makefile.am:
18732         * check/generic/states.c:
18733         * gst/Makefile.am:
18734         * gst/gst.c:
18735         * gst/gst.h:
18736         * gst/gst_private.h:
18737         * gst/gstelementfactory.c:
18738         * gst/gstindex.c:
18739         * gst/gstinfo.c:
18740         * gst/gstplugin.c:
18741         * gst/gstplugin.h:
18742         * gst/gstpluginfeature.c:
18743         * gst/gstpluginfeature.h:
18744         * gst/gstregistry.c:
18745         * gst/gstregistry.h:
18746         * gst/gstregistrypool.c: remove
18747         * gst/gstregistrypool.h: remove
18748         * gst/gsttypefind.c:
18749         * gst/gsttypefindfactory.c:
18750         * gst/gsturi.c:
18751         * tools/Makefile.am:
18752         * tools/gst-compprep.c:
18753         * tools/gst-inspect.c:
18754         * tools/gst-register.c: remove
18755         * tools/gst-xmlinspect.c:
18756           Registry rewrite.  Changes registry from being a file created
18757           by a tool into a simple cache file created automatically by 
18758           libgstreamer.  Removed gst-register (because it's no longer
18759           needed).  Remove registry pools, because we only have one
18760           registry implementation (XML).  Fix up other subsystems as
18761           necessary.
18763 2005-09-13  Michael Smith <msmith@fluendo.com>
18765         * gst/gstconfig.h.in:
18766           Don't Use windows linking attributes for MinGW. Fixes #316157
18768 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18770         * gst/gstutils.c: (set_state_async_thread_func),
18771         (gst_element_set_state_async):
18772           Apparently people think it's better if this function doesn't
18773           try to set the state to whatever state was asked for on the first
18774           call to this function for any object.  Seriously.
18776 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18778         * check/gst/gstpipeline.c: (GST_START_TEST):
18779         * docs/gst/gstreamer-sections.txt:
18780         * gst/gstutils.c: (set_state_async_thread_func),
18781         (gst_element_set_state_async):
18782         * gst/gstutils.h:
18783           add a "gst_element_set_state_async" method that
18784           sets the state and starts a thread to make sure the state
18785           change completes as best as it can
18787 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18789         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18790           codify design+behaviour in testsuite after discussion
18792 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18794         * docs/gst/tmpl/gstelement.sgml:
18795         * docs/manual/appendix-quotes.xml:
18796           add a quote
18797         * gst/gstelement.c: (gst_element_set_state):
18798           add some debug
18800 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18802         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18803         (gst_base_transform_prepare_output_buf),
18804         (gst_base_transform_handle_buffer):
18805         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18806         (gst_capsfilter_prepare_buf):
18807           Remove the requirement for sub-classes to call the parent
18808           implementation of prepare_output_buffer with a wrapper function.
18809           
18810         * gst/gsttaglist.h:
18811         * gst/gsttagsetter.h:
18812           Fix #define wrapper
18814 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18816         * docs/gst/gstreamer-sections.txt:
18817           more doc cleanups
18819 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18821         * docs/gst/gstreamer-sections.txt:
18822         * docs/gst/tmpl/gstelement.sgml:
18823         * docs/gst/tmpl/gstplugin.sgml:
18824         * gst/gstminiobject.c:
18825         * gst/gstvalue.h:
18826           docs now stop throwing warnings
18828 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18830         * docs/gst/gstreamer-sections.txt:
18831         * docs/gst/gstreamer.types:
18832         * docs/gst/tmpl/gstpad.sgml:
18833         * docs/gst/tmpl/gsttypes.sgml:
18834         * gst/base/gstadapter.h:
18835         * gst/base/gstbasesink.h:
18836         * gst/base/gstbasesrc.h:
18837         * gst/gstbin.h:
18838         * gst/gstbuffer.h:
18839         * gst/gstbus.h:
18840         * gst/gstcaps.h:
18841         * gst/gstclock.h:
18842         * gst/gstelement.h:
18843         * gst/gstevent.h:
18844         * gst/gstmessage.h:
18845         * gst/gstpad.h:
18846         * gst/gststructure.c:
18847         * gst/registries/gstlibxmlregistry.h:
18848           various documentation fixes
18850 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18852         * docs/gst/gstreamer-sections.txt:
18853         * docs/gst/tmpl/gstvalue.sgml:
18854           rearrange gstvalue section
18855         * gst/gstutils.c: (gst_element_state_get_name):
18856           NONE -> VOID
18857         * gst/gstvalue.c: (_gst_value_initialize):
18858         * gst/gstvalue.h:
18859           doc updates
18861 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18863         * check/gst-libs/controller.c:
18864           Header include fix.
18865         * gst/base/gstbasetransform.c:
18866         (gst_base_transform_default_prepare_buf),
18867         (gst_base_transform_handle_buffer):
18868         * gst/base/gstbasetransform.h:
18869           Some more basetransform changes and fixes to enable sub-classes
18870           that modify buffer metadata only.
18871         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18872         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18873         (gst_capsfilter_prepare_buf):
18874           If the output pad has fixed allowed caps and input buffers 
18875           don't have any, set the fixed caps on outgoing buffers.
18877 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18878         * check/elements/identity.c: (GST_START_TEST):
18879           Make the error a little clearer when the test fails because
18880           identity made a copy of the buffer.
18881         * docs/gst/gstreamer-sections.txt:
18882           New symbols in gstbasetransform.h
18883         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18884         (gst_base_transform_init), (gst_base_transform_transform_size),
18885         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18886         (gst_base_transform_default_prepare_buf),
18887         (gst_base_transform_get_unit_size),
18888         (gst_base_transform_buffer_alloc),
18889         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18890         (gst_base_transform_change_state),
18891         (gst_base_transform_set_passthrough),
18892         (gst_base_transform_set_in_place),
18893         (gst_base_transform_is_in_place):
18894         * gst/base/gstbasetransform.h:
18895           Change BaseTransform to separate in_place operate from same_caps
18896           output. in_place implies that the element can perform the transform
18897           on incoming buffers in-place, even if the caps on the output are
18898           different.
18899           Sub-class elements can now implement special buffer allocation
18900           methods for outgoing buffers if they wish to.
18901           Big documentation addition.
18902         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18903         * gst/elements/gstelements.c:
18904           Changes for basetransform modifications.
18905         * gst/elements/Makefile.am:
18906         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18907           Compile fix. Extra debug output.
18909 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18911         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18912         (gst_pad_suite):
18913           add tests for valid pad naming
18914         * gst/check/gstcheck.c: (gst_check_log_message_func),
18915         (gst_check_log_critical_func):
18916           add ASSERT_WARNING
18917           remove printing of code, it is fragile when the code contains
18918           % and the line number is enough info
18919         * gst/check/gstcheck.h:
18920         * gst/gstpad.c: (gst_pad_template_new):
18921           fix memleaks
18923 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18925         * configure.ac:
18926           say what CHECK flags we use
18927         * docs/libs/gstreamer-libs.types:
18928         * libs/gst/controller/Makefile.am:
18929         * libs/gst/controller/gst-controller.c:
18930         * libs/gst/controller/gst-controller.h:
18931         * libs/gst/controller/gst-helper.c:
18932         * libs/gst/controller/gst-interpolation.c:
18933         * libs/gst/controller/gstcontroller.c:
18934         * libs/gst/controller/gsthelper.c:
18935         * libs/gst/controller/gstinterpolation.c:
18936         * tools/gst-inspect.c: (print_plugin_info):
18937           we don't use dashes in header names
18939 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18941         * check/Makefile.am:
18942         * check/gst/.cvsignore:
18943         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18944         (gst_pipeline_suite), (main):
18945           adding a test for pipelines and state changes
18946         * gst/gstutils.c: (get_state_func):
18947           add some debugging
18948         * gstreamer.spec.in:
18949           fix up spec file
18951 2005-09-08  Michael Smith <msmith@fluendo.com>
18953         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18954         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18955         (gst_file_src_is_seekable), (gst_file_src_get_size),
18956         (gst_file_src_start):
18957         * gst/elements/gstfilesrc.h:
18958           Various fixes for unseekable, unmmapable, and non-normal files, so
18959           that fallback to read() rather than mmap() works.
18960         * gst/gstevent.c: (gst_event_new_newsegment):
18961           Allow newsegment events with segment_start == segment_end, as will
18962           correctly happen if you use filesrc on a zero-size file, for
18963           example.
18965 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18967         * gst/gstplugin.c: (gst_plugin_load_file):
18968           Call g_module_close when we don't load the module
18970         * gst/registries/gstlibxmlregistry.c:
18971         (gst_xml_registry_get_property):
18972           Port leak fix from 0.8
18974 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18976         * docs/gst/gstreamer-docs.sgml:
18977         * docs/gst/tmpl/.cvsignore:
18978         * docs/gst/tmpl/gsttrace.sgml:
18979         * docs/gst/tmpl/gsttrashstack.sgml:
18980         * gst/Makefile.am:
18981         * gst/gst.h:
18982         * gst/gstelement.h:
18983         * gst/gstevent.h:
18984         * gst/gstmessage.c:
18985         * gst/gstmessage.h:
18986         * gst/gsttag.c:
18987         * gst/gsttag.h:
18988         * gst/gsttaginterface.c:
18989         * gst/gsttaginterface.h:
18990         * gst/gsttaglist.c:
18991         * gst/gsttaglist.h:
18992         * gst/gsttagsetter.c:
18993         * gst/gsttagsetter.h:
18994         * gst/gsttrace.c:
18995         * gst/gsttrace.h:
18996         * gst/gsttrashstack.c:
18997           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18998           inlined docs for gsttrace, gsttrashstack
19000 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19002         * gst/Makefile.am:
19003         * gst/elements/gstbufferstore.h:
19004         * gst/elements/gsttypefindelement.c:
19005         * gst/elements/gsttypefindelement.h:
19006         * gst/gst.h:
19007         * gst/gsttypefind.c:
19008         * gst/gsttypefind.h:
19009         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19010         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19011         (gst_type_find_factory_dispose),
19012         (gst_type_find_factory_unload_thyself),
19013         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19014         (gst_type_find_factory_get_caps),
19015         (gst_type_find_factory_get_extensions),
19016         (gst_type_find_factory_call_function):
19017         * gst/gsttypefindfactory.h:
19018         * gst/registries/gstlibxmlregistry.c:
19019         * gst/registries/gstxmlregistry.c:
19020           splitted gsttypefind into gsttypefind, gsttypefindfactory
19022 2005-09-07  Andy Wingo  <wingo@pobox.com>
19024         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19025         condition whereby the pad's task function is entered before the
19026         pad_mode variable was set.
19028 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19030         * gst/gstpad.c: (gst_pad_alloc_buffer):
19031           Catch misbehaving pad_alloc functions that don't
19032           set up caps and do it for them.
19034 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19036         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19037           test for pipe!=NULL
19038         * docs/gst/tmpl/.cvsignore:
19039         * docs/gst/tmpl/gstmemchunk.sgml:
19040         * docs/gst/tmpl/gstparse.sgml:
19041         * docs/gst/tmpl/gsttaglist.sgml:
19042         * docs/gst/tmpl/gsttagsetter.sgml:
19043         * docs/gst/tmpl/gsttypefind.sgml:
19044         * docs/gst/tmpl/gsttypefindfactory.sgml:
19045         * gst/gstmemchunk.c:
19046         * gst/gstparse.c:
19047         * gst/gsttag.c:
19048         * gst/gsttaginterface.c:
19049         * gst/gsttypefind.c:
19050         * gst/gsttypefind.h:
19051           inlined more docs
19053 === release 0.9.2 ===
19055 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19057         * NEWS:
19058         * RELEASE:
19059         * configure.ac:
19060           releasing 0.9.2, "South"
19062 2005-09-05  Andy Wingo  <wingo@pobox.com>
19064         * gst/registries/gstxmlregistry.h:
19065         * gst/registries/gstxmlregistry.c: Um... resurrect...
19066         
19067         * gst/registries/gstxmlregistry.h:
19068         * gst/registries/gstxmlregistry.c: and update to newer API.
19069         Incidentally they should be a bit faster now that they don't have
19070         to parse the caps.
19071         
19072 2005-09-05  Andy Wingo  <wingo@pobox.com>
19074         * gst/registries/gstxmlregistry.h:
19075         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19076         replaced by the libxml registry a while back
19078 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19080         * docs/gst/tmpl/gstplugin.sgml:
19081         * gst/elements/gstelements.c:
19082         * gst/gst.c:
19083         * gst/gstplugin.c: (gst_plugin_register_func),
19084         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19085         (gst_plugin_get_source):
19086         * gst/gstplugin.h:
19087         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19088         (gst_xml_registry_save_plugin):
19089         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19090         (gst_xml_registry_save_plugin):
19091         * tools/gst-inspect.c: (print_plugin_info):
19092           add a "source" plugin description field, to represent the source
19093           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19094           will set it to PACKAGE, which is automake's idea of the name of
19095           the source project.
19097 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19099         * Makefile.am:
19100         * autogen.sh:
19101         * configure.ac:
19102         * docs/Makefile.am:
19103         * docs/faq/Makefile.am:
19104         * docs/gst/tmpl/gstelement.sgml:
19105         * docs/gst/tmpl/gsttypes.sgml:
19106         * docs/htmlinstall.mak:
19107         * docs/manual/Makefile.am:
19108         * docs/pwg/Makefile.am:
19109           reorganize doc build a little
19110           split out docbook and gtk-doc stuff
19111           have two separate --enable's and enable them through autogen
19112           but disable by default in configure (to be similar to other
19113           projects)
19114         * gstreamer.spec.in:
19115           clean up docs install
19116         * po/af.po:
19117         * po/az.po:
19118         * po/ca.po:
19119         * po/cs.po:
19120         * po/de.po:
19121         * po/en_GB.po:
19122         * po/fr.po:
19123         * po/it.po:
19124         * po/nb.po:
19125         * po/nl.po:
19126         * po/ru.po:
19127         * po/sq.po:
19128         * po/sr.po:
19129         * po/sv.po:
19130         * po/tr.po:
19131         * po/uk.po:
19132         * po/vi.po:
19133           translation updates
19135 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19137         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19138           Add comment.
19139           
19140         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19141         (gst_fake_sink_change_state):
19142           Make state change function thread-safe.
19143           
19144         * gst/gstpad.c: (gst_pad_alloc_buffer):
19145           Set offset on generic buffer allocated by fallback.
19147 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19149         * docs/gst/gstreamer-sections.txt:
19150         * docs/gst/tmpl/gstelement.sgml:
19151         * gst/gstpad.c:
19152         * libs/gst/controller/gst-controller.c:
19153         (gst_controlled_property_set_interpolation_mode),
19154         (gst_controlled_property_new),
19155         (gst_controller_find_controlled_property):
19156          run the wingo-magic script against the docs
19158 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19160         * docs/gst/gstreamer-docs.sgml:
19161         * docs/gst/gstreamer-sections.txt:
19162         * docs/gst/tmpl/.cvsignore:
19163         * docs/gst/tmpl/gstelementdetails.sgml:
19164         * docs/gst/tmpl/gstelementfactory.sgml:
19165         * gst/gst.c:
19166         * gst/gstbus.c:
19167         * gst/gstelementfactory.c:
19168         * gst/gstelementfactory.h:
19169           merged elementdetails docs into elementfactory docs
19170           inlined both
19172 2005-09-02  Andy Wingo  <wingo@pobox.com>
19174         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19175         consider this enum an enum and not a flags.
19177 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19179         * docs/gst/gstreamer-docs.sgml:
19180         * docs/gst/tmpl/.cvsignore:
19181         * docs/gst/tmpl/gstghostpad.sgml:
19182         * docs/gst/tmpl/gstiterator.sgml:
19183         * docs/gst/tmpl/gstmacros.sgml:
19184         * docs/gst/tmpl/gstrealpad.sgml:
19185         * docs/gst/tmpl/gstregistry.sgml:
19186         * docs/gst/tmpl/gstregistrypool.sgml:
19187         * docs/gst/tmpl/gststructure.sgml:
19188         * docs/gst/tmpl/gstsystemclock.sgml:
19189         * docs/gst/tmpl/gsttrace.sgml:
19190         * gst/gstghostpad.c:
19191         * gst/gstmacros.h:
19192         * gst/gstmemchunk.c:
19193         * gst/gstmemchunk.h:
19194         * gst/gstqueue.c:
19195         * gst/gstregistry.c:
19196         * gst/gstregistrypool.c:
19197         * gst/gststructure.c:
19198         * gst/gstsystemclock.c:
19199           more docs inlined
19201 2005-09-02  Andy Wingo  <wingo@pobox.com>
19203         * gst/gstelement.h (GstState): Renamed from GstElementState,
19204         changed to be a normal enum instead of flags.
19205         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19206         munged to be GST_STATE_CHANGE_*.
19207         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19208         work with the new state representation.
19209         (GstStateChange): New enumeration of possible state transitions.
19210         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19211         (GstElementClass::change_state): Pass the GstStateChange along as
19212         an argument. Helps language bindings, so they don't have to use
19213         tricky lock-needing macros like GST_STATE_CHANGE ().
19215         * scripts/update-states (file): New script. Run it on a file to
19216         update it for state naming and API changes. Updates files in
19217         place.
19219         * All files updated for the new API.
19221 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19223         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19224         * gst/gstutils.c: (gst_util_set_value_from_string),
19225         (gst_util_set_object_arg):
19226           fix a bunch of unchecked return values
19227         * tools/gst-complete.c: (main):
19228         * gstreamer.spec.in:
19229           clean up a little
19231 2005-09-01  Wim Taymans  <wim@fluendo.com>
19233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19234         (gst_base_sink_event), (gst_base_sink_do_sync),
19235         (gst_base_sink_handle_event):
19236         * gst/base/gstbasesink.h:
19237         Handle newsegments more correctly.
19239         * gst/gstbus.c:
19240         Fix docs.
19242         * gst/gstevent.c: (gst_event_new_newsegment):
19243         A newsegment cannot have a start_time of -1
19245 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
19247         * win32/gstenumtypes.c:
19248         * win32/gstenumtypes.h:
19249           Update
19251 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19253         * libs/gst/controller/gst-controller.c:
19254         (gst_controlled_property_set_interpolation_mode),
19255         (gst_controlled_property_new):
19256          fixed boolean again
19258 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
19260         * docs/faq/gst-uninstalled:
19261           add -good
19262         * gst/gstevent.c:
19263         * gst/gstevent.h:
19264           remove wrong docs
19265         * gst/gstutils.c: (gst_element_link_filtered):
19266         * gst/gstutils.h:
19267           add gst_element_link_filtered
19269 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19271         * docs/gst/gstreamer-docs.sgml:
19272         * docs/gst/gstreamer-sections.txt:
19273         * docs/gst/tmpl/.cvsignore:
19274         * docs/gst/tmpl/gsterror.sgml:
19275         * docs/gst/tmpl/gstfilter.sgml:
19276         * docs/gst/tmpl/gsturihandler.sgml:
19277         * docs/gst/tmpl/gsturitype.sgml:
19278         * docs/gst/tmpl/gstutils.sgml:
19279         * docs/gst/tmpl/gstxml.sgml:
19280         * gst/gsterror.c:
19281         * gst/gsterror.h:
19282         * gst/gstfilter.c:
19283         * gst/gsturi.c:
19284         * gst/gsturitype.c:
19285         * gst/gstutils.c:
19286         * gst/gstxml.c:
19287           inlined more docs, fixed double id-ref
19289 2005-08-31  Wim Taymans  <wim@fluendo.com>
19291         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19292         (gst_base_transform_handle_buffer):
19293         Passthrough elements don't need the caps as they don't care.
19295 2005-08-31  Wim Taymans  <wim@fluendo.com>
19297         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19298         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19299         Don't leak refcounts on buffers.
19301 2005-08-31  Wim Taymans  <wim@fluendo.com>
19303         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19304         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19305         (gst_base_transform_chain), (gst_base_transform_change_state):
19306         * gst/base/gstbasetransform.h:
19307         Handle the case where we are not negotiated more gracefully.
19309 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
19311         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19312         (gst_file_src_map_region):
19313           Set READONLY flag on mmap'ed buffers, otherwise
19314           gst_buffer_make_writable() won't work properly (#314708).
19316 2005-08-31  Wim Taymans  <wim@fluendo.com>
19318         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19319         passthrough elements can even do inplace on non writable
19320         buffers (as they don't touch them).
19322 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
19324         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19325         (gst_test_mono_source_set_property),
19326         (gst_test_mono_source_class_init), (GST_START_TEST),
19327         (gst_controller_suite):
19328           more tests (hehe I have the most)
19329         * gst/gstbus.c:
19330           describe popping messages whenusing mulltiple sources
19331         * libs/gst/controller/gst-controller.c:
19332         (gst_controlled_property_set_interpolation_mode),
19333         (gst_controlled_property_new):
19334         * libs/gst/controller/gst-controller.h:
19335         * libs/gst/controller/gst-interpolation.c:
19336           implement boolean properties
19338 2005-08-31  Wim Taymans  <wim@fluendo.com>
19340         * gst/gstminiobject.c: (gst_mini_object_ref):
19341         Cannot assert that the refcount has to be positive
19342         since a disposed object can be resurrected.
19344 2005-08-31  Wim Taymans  <wim@fluendo.com>
19346         * gst/gstpad.c: (gst_pad_init):
19347         Revert change, need to first fix badly behaving 
19348         apps.
19350 2005-08-30  Wim Taymans  <wim@fluendo.com>
19352         * check/elements/fakesrc.c: (setup_fakesrc):
19353         * check/elements/identity.c: (setup_identity):
19354         Activate pads before using them.
19356 2005-08-30  Wim Taymans  <wim@fluendo.com>
19358         * gst/base/gstadapter.c: (gst_adapter_flush):
19359         Flushing out 0 bytes is ok for this function.
19361         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19362         no newsegment gives a warning and sets the start/stop to 
19363         invalid.
19365         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
19366         (gst_base_transform_set_passthrough):
19367         Some debug info.
19369         * gst/gstminiobject.c: (gst_mini_object_ref):
19370         Check refcount here too.
19372         * gst/gstpad.c: (gst_pad_init):
19373         Pads are initially flushing and refusing data.
19375         * gst/gstutils.c: (gst_element_link_pads_filtered):
19376         When adding a capsfilter element make sure it has the
19377         same state as the parent bin.
19379 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19381         * docs/gst/tmpl/.cvsignore:
19382         * docs/gst/tmpl/gstformat.sgml:
19383         * docs/gst/tmpl/gstversion.sgml:
19384         * gst/gstbus.h:
19385         * gst/gstformat.c:
19386         * gst/gstformat.h:
19387         * gst/gstversion.h.in:
19388           more docs and two more inlined
19390 2005-08-30  Wim Taymans  <wim@fluendo.com>
19392         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
19393         Don't sync to clock.
19395 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19397         * docs/gst/gstreamer-sections.txt:
19398           ultral33t func10ns deserve to appear in the docs actually
19399         * docs/gst/tmpl/.cvsignore:
19400         * docs/gst/tmpl/gstcompat.sgml:
19401         * docs/gst/tmpl/gstconfig.sgml:
19402         * gst/check/gstcheck.c:
19403         * gst/gstcompat.h:
19404         * gst/gstconfig.h.in:
19405           inlined more docs
19407 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19409         * docs/gst/tmpl/.cvsignore:
19410         * docs/gst/tmpl/gstquery.sgml:
19411         * docs/gst/tmpl/gstutils.sgml:
19412         * gst/gstquery.c:
19413         * gst/gstquery.h:
19414           inlined and extended docs
19416 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
19418         * check/gst-libs/controller.c: (GST_START_TEST),
19419         (gst_controller_suite):
19420           more tests
19421         * docs/gst/tmpl/gstutils.sgml:
19422         * docs/libs/gstreamer-libs-sections.txt:
19423         * docs/libs/tmpl/gstdataprotocol.sgml:
19424           include path fixes
19425         * examples/controller/audio-example.c: (main):
19426           controller example works now
19427         * gst/gstclock.h:
19428           doc fixes
19429         * tools/gst-inspect.c: (print_element_properties_info):
19430           show param spec flags
19432 2005-08-29  Andy Wingo  <wingo@pobox.com>
19434         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
19436 2005-08-28  Andy Wingo  <wingo@pobox.com>
19438         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
19439         as having two arguments instead of just one. Allows superclasses
19440         to access information on subclasses -- see the terrible for() loop
19441         in gtype.c:g_type_create_instance for the reason why. All callers
19442         changed.
19444 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19446         * docs/design/part-messages.txt:
19447           update info
19448         * docs/gst/tmpl/.cvsignore:
19449         * docs/gst/tmpl/gstcaps.sgml:
19450         * docs/gst/tmpl/gstclock.sgml:
19451         * gst/gstbus.c:
19452         * gst/gstcaps.c:
19453         * gst/gstcaps.h:
19454         * gst/gstclock.c:
19455         * gst/gstclock.h:
19456         * gst/gstmessage.c:
19457           added descriptions for bus and message
19458           inline caps and clock docs
19460 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19462         * gst/gstmessage.c:
19463         * gst/gstmessage.h:
19464           doc fixes
19466 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
19468         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19469           fix div-by-zero
19471 2005-08-26  Andy Wingo  <wingo@pobox.com>
19473         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19474         element_set_state's return val.
19475         (test_2_elements): Add test that's been disabled for months.
19477         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19478         can-activate-pull properties.
19480         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19481         can-activate-pull properties. Implement is_seekable so fakesrc can
19482         operate in pull mode.
19484         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19485         properties.
19486         (gst_base_sink_activate, gst_base_sink_activate_pull)
19487         (gst_base_sink_activate_push): Make activation mode choosing work.
19488         Cleanups.
19489         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19490         is right. Make pull mode work. Post an eos before pausing in pull
19491         mode.
19492         (gst_base_sink_change_state): Pay attention to the core's
19493         change_state() return val.
19494         
19495         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19496         has-getrange properties. Cleanups.
19497         
19498         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19499         has_getrange and replace with can_activate_pull and
19500         can_activate_push.
19502         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19503         locking comments. Remove has_loop, has_chain and replace with
19504         can_activate_pull and can_activate_push.
19506 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
19508         * configure.ac:
19509         * examples/Makefile.am:
19510         * examples/metadata/Makefile.am:
19511         * examples/metadata/read-metadata.c: (message_loop),
19512         (have_pad_handler), (make_pipeline), (print_tag), (main):
19513           Add metadata reading example that loops over a list of filenames,
19514           dumping any tags found.
19516         * gst/gstbus.c: (gst_bus_dispose):
19517         * gst/gstelement.c: (gst_element_dispose):
19518           Release a few potentially-held references in dispose.
19520 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19522         * docs/gst/tmpl/gstminiobject.sgml:
19523           do *not* add tmpl/*.sgml files to CVS!
19525 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19527         * libs/gst/bytestream/.cvsignore:
19528         * libs/gst/bytestream/Makefile.am:
19529         * libs/gst/bytestream/adapter.c:
19530         * libs/gst/bytestream/adapter.h:
19531         * libs/gst/bytestream/bytestream.c:
19532         * libs/gst/bytestream/bytestream.h:
19533         * libs/gst/bytestream/filepad.c:
19534         * libs/gst/bytestream/filepad.h:
19535           removing obsolete files
19537 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19539         * docs/gst/gstreamer-docs.sgml:
19540         * docs/libs/gstreamer-libs-docs.sgml:
19541           disabed additional index entries again, as this makes docs-gen just
19542           slow and they aren't useful yet
19543         * docs/libs/gstreamer-libs-sections.txt:
19544           little -section.txt cleanup for libs
19546 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19548         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19549         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19550           fix up some debugging
19551         (gst_base_transform_get_unit_size),
19552         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19553         (gst_base_transform_handle_buffer):
19554         * gst/base/gstbasetransform.h:
19555           handle and store timed NEWSEGMENT events so that subclasses that
19556           calculate time by counting samples have a segment_start time they
19557           need to add to their timestamps - see audioresample
19559 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
19561         * gst/gstbin.h:
19562           removed ';' from the end of macro defs
19563         * docs/gst/gstreamer-docs.sgml:
19564         * docs/gst/gstreamer-sections.txt:
19565         * docs/gst/tmpl/.cvsignore:
19566         * gst/gstbus.h:
19567         * gst/gstelement.c: (gst_element_class_init),
19568         (gst_element_set_state), (activate_pads),
19569         (gst_element_save_thyself):
19570         * gst/gstevent.c: (gst_event_new_newsegment):
19571         * gst/gstevent.h:
19572         * gst/gstiterator.c:
19573         * gst/gstiterator.h:
19574         * gst/gstpad.c:
19575         * gst/gstprobe.h:
19576         * gst/gstutils.c: (gst_pad_query_convert):
19577         * gst/gstutils.h:
19578           fixed parameter name mismatches between source, header and docs
19579           added some more docs, resolved the last batch of unused elements in
19580           docs (now someone needs to doc them)
19582 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19584         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19585         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19586           don't walk through the plugins backwards.  Where is all this
19587           reversed logic coming from ?
19589 2005-08-25  Wim Taymans  <wim@fluendo.com>
19591         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19592         (gst_base_transform_transform_size),
19593         (gst_base_transform_configure_caps),
19594         (gst_base_transform_get_unit_size),
19595         (gst_base_transform_buffer_alloc),
19596         (gst_base_transform_change_state):
19597         * gst/base/gstbasetransform.h:
19598         Cache caps unit_size.
19599         Make sure we cannot negotiate up and downstream at the
19600         same time.
19602 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19604         * gst/gst.c: (init_pre), (init_post):
19605           register the installed plugin path after the env var
19606         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19607         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19608           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19609           directories, so the tests can prefer uninstalled over installed
19611 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19613         * gst/base/gstbasetransform.h:
19614           comment
19615         * gst/gstpad.c:
19616           add to docs
19618 2005-08-25  Wim Taymans  <wim@fluendo.com>
19620         * gst/gstbin.c: (bin_bus_handler):
19621         Be a bit more conservative about the posted message.
19622         
19623         * gst/gstbus.c: (gst_bus_post):
19624         Some cleanups, warn wrong return values.
19626 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
19628         * check/gst/gstbin.c: (GST_START_TEST):
19629         * gst/gstbin.c: (bin_bus_handler):
19630         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19631         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19632         (gst_message_new_warning), (gst_message_new_tag),
19633         (gst_message_new_state_changed), (gst_message_new_segment_start),
19634         (gst_message_new_segment_done), (gst_message_new_custom):
19635         * gst/gstmessage.h:
19636         * tools/gst-launch.c: (event_loop):
19637         * tools/gst-md5sum.c: (event_loop):
19638           Revert unpopular change for GST_MESSAGE_SRC to GObject.
19640 2005-08-25  Wim Taymans  <wim@fluendo.com>
19642         * check/generic/states.c: (GST_START_TEST):
19643         Cleanup can be done at the end.
19645         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19646         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19647         (gst_task_get_state), (gst_task_start), (gst_task_pause):
19648         Oh boy.. Thanks for finding this, Thomas. 
19650 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19652         * docs/gst/gstreamer.types:
19653           added missing types
19655 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
19657         * docs/gst/gstreamer-docs.sgml:
19658         * docs/gst/gstreamer-sections.txt:
19659         * docs/gst/tmpl/.cvsignore:
19660         * gst/gstbin.c:
19661         * gst/gstiterator.c:
19662         * gst/gstutils.c:
19663         * gst/registries/gstxmlregistry.h:
19664           added missing classes and symbols (123 more to go)
19665           removed removed symbols from section file
19666           fixed many doc-comments
19668 2005-08-24  Wim Taymans  <wim@fluendo.com>
19670         * check/generic/states.c: (GST_START_TEST):
19671         Make sure all tasks are stopped.
19673         * check/gst/gstbin.c: (GST_START_TEST):
19674         Unref after usage for proper valgrinding.
19676         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19677         Really wait for the task to stop before destroying the
19678         mutex.
19680         * gst/gstqueue.c: (gst_queue_sink_activate_push),
19681         (gst_queue_src_activate_push):
19682         Small cleanups. Don't stop the task when we did not start
19683         it.
19685         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19686         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19687         (gst_task_get_state), (gst_task_start), (gst_task_pause),
19688         (gst_task_join):
19689         * gst/gsttask.h:
19690         Protect the stream lock with the object lock.
19691         Disallow setting the stream lock when running.
19692         Add cleanup_all to wait for the threadpool to finish.
19693         Remove code to autoallocate a mutex if none was provided.
19694         Add _join() to wait for a task to stop.
19695         Protect the thread pool with a global lock.
19697 2005-08-24  Wim Taymans  <wim@fluendo.com>
19699         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19700         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19701         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19702         * gst/base/gstbasesink.h:
19703         Handle newsegment events correctly.
19704         Drop buffers out of the segment range.
19706 2005-08-22  Andy Wingo  <wingo@pobox.com>
19708         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19709         macro, implements an interface and gstimplementsinterface for a
19710         new type.
19712 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19714         * check/Makefile.am:
19715         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19716           add a test that does a bunch of state changes on elements
19717           needs some fixing for valgrind
19718         * check/states/sinks.c: (gst_object_suite):
19719           whitespace
19720         * gst/gstcaps.h:
19721           add prototype for gst_caps_is_equal_fixed
19722         * gst/gstplugin.c:
19723         * gst/gstregistrypool.c:
19724           doc fixes
19726 2005-08-24  Andy Wingo  <wingo@pobox.com>
19728         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19729         convert a negative value. Doesn't make much sense. Mostly this is
19730         here to force callers to ensure -1 maps to -1.
19732 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19734         * docs/pwg/advanced-types.xml:
19735           Well done to Michael for catching my deliberate introduction
19736           of this spelling mistake. 
19737         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19738         * gst/gstelement.h:
19739           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19740           unlink pads before removing the element from the bin.
19742 2005-08-24  Andy Wingo  <wingo@pobox.com>
19744         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19745         the same thing as GST_DEBUG=*:4.
19746         (parse_debug_level, parse_debug_category): New helper parsers.
19748 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19750         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19751         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19752         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19753         (gst_base_transform_buffer_alloc),
19754         (gst_base_transform_handle_buffer):
19755           use gboolean return values and pointers to size so we can use the
19756           full GST_BUFFER_SIZE range (guint) for buffer sizes
19757           use GstPadDirection for transform_caps
19758         * gst/base/gstbasetransform.h:
19759           rename get_size to get_unit_size since that's what it is
19760         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19761           use GstPadDirection for transform_caps
19762         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19763         * gst/gstutils.h:
19764           cleanup and debugging
19766 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19768         * gst/gstelement.c: (gst_element_class_init),
19769         (gst_element_set_state), (activate_pads),
19770         (gst_element_save_thyself):
19771         * tools/gst-compprep.c: (main):
19772         * tools/gst-inspect.c: (print_element_properties_info):
19773         * tools/gst-xmlinspect.c: (print_element_properties):
19774           Fixed long standing mem-leak
19776 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19778         * check/gst/gstbin.c: (GST_START_TEST):
19779         * gst/gstbin.c: (bin_bus_handler):
19780         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19781         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19782         (gst_message_new_warning), (gst_message_new_tag),
19783         (gst_message_new_state_changed), (gst_message_new_segment_start),
19784         (gst_message_new_segment_done), (gst_message_new_custom):
19785         * gst/gstmessage.h:
19786         * tools/gst-launch.c: (event_loop):
19787         * tools/gst-md5sum.c: (event_loop):
19788           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19789           that applications can sensibly post custom messages with references
19790           to their own objects.
19792 2005-08-24  Andy Wingo  <wingo@pobox.com>
19794         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19795         already.
19797 2005-08-24  Wim Taymans  <wim@fluendo.com>
19799         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19800         (gst_base_transform_transform_caps),
19801         (gst_base_transform_transform_size),
19802         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19803         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19804         (gst_base_transform_handle_buffer):
19805         * gst/base/gstbasetransform.h:
19806         Many fixes and new features added by Thomas. Can now also do
19807         transforms with variable sizes and a custom fixate_caps function.
19809 2005-08-24  Wim Taymans  <wim@fluendo.com>
19811         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19812         Some debugging.
19814         * gst/gstclock.h:
19815         Cast to ClockTime before formatting to time.
19817         * gst/gstutils.h:
19818         Cleanups.
19820 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19822         * check/gst-libs/controller.c: (GST_START_TEST),
19823         (gst_controller_suite):
19824         * docs/gst/tmpl/gstcaps.sgml:
19825         * docs/gst/tmpl/gstghostpad.sgml:
19826         * docs/gst/tmpl/gstquery.sgml:
19827         * docs/gst/tmpl/gstutils.sgml:
19828         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19829         (gst_object_sink_values), (gst_object_get_value_arrays),
19830         (gst_object_get_value_array):
19831           gracefully handle helper method calls to objects that are not beeing
19832           controlled, added test case for that          
19834 2005-08-23  Wim Taymans  <wim@fluendo.com>
19836         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19837         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19838         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19839         (gst_event_parse_qos), (gst_event_new_seek),
19840         (gst_event_parse_seek):
19841         * gst/gstevent.h:
19842         Some more debugging output and doc cleanups.
19844         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19845         Fix possible deadlock.
19847 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19849         * docs/gst/gstreamer-docs.sgml:
19850         * docs/gst/gstreamer-sections.txt:
19851         * docs/gst/gstreamer.types:
19852         * docs/gst/tmpl/.cvsignore:
19853         * gst/gstbin.h:
19854         * gst/gstbus.c:
19855         * gst/gstelement.c:
19856         * gst/gstevent.h:
19857           added 100 symbols from gstreamer-unused.txt to the right sections
19858           fixed more broken comments
19859           added GstBus to docs
19861 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19863         * docs/gst/gstreamer-sections.txt:
19864         * docs/gst/tmpl/.cvsignore:
19865         * docs/gst/tmpl/gstbin.sgml:
19866         * docs/gst/tmpl/gstbuffer.sgml:
19867         * gst/base/gstbasesrc.c:
19868         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19869         * gst/gstbuffer.c:
19870         * gst/gstbuffer.h:
19871         * tools/gst-launch.1.in:
19872           inlined more doc comments, added missing comments and fixed comments
19873           fixed typos
19875 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19877         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19878           some debugging
19879         * gst/gstcaps.h:
19880           whitespace fixes
19881         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19882           more debugging
19883         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19884         * gst/gststructure.h:
19885           add a fixate function for booleans; add a FIXME that these func
19886           names should probably be gst_structure_fixate_*
19888 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19890         * docs/gst/gstreamer-docs.sgml:
19891         * docs/gst/gstreamer-sections.txt:
19892         * gst/Makefile.am:
19893         * gst/gstbin.c: (gst_bin_get_type),
19894         (gst_bin_child_proxy_get_child_by_index),
19895         (gst_bin_child_proxy_get_children_count),
19896         (gst_bin_child_proxy_init):
19897         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19898         (gst_child_proxy_get_child_by_index),
19899         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19900         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19901         (gst_child_proxy_get), (gst_child_proxy_set_property),
19902         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19903         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19904         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19905         * gst/gstchildproxy.h:
19906         * gst/parse/grammar.y:
19907         * tools/gst-inspect.c: (print_interfaces),
19908         (print_element_properties_info), (print_element_info):
19909           ported gstchildproxy over from 0.8
19910           ported gst-inspect fixes and enhancements over from 0.8
19912 2005-08-22  Wim Taymans  <wim@fluendo.com>
19914         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19915         (gst_base_transform_handle_buffer):
19916         Also call the transform function if we have ANY caps.
19918         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19919         Fix debug info.
19921 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19923         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19924           Don't pretend to handle seek events if the source is not seekable
19926 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19929           Remove extra parameter to debug output
19931         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19932         (gst_base_src_do_seek), (gst_base_src_activate_push):
19933           Fix seek event handling.
19935         * gst/gstpipeline.c: (gst_pipeline_change_state):
19936         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19937         (gst_queue_src_activate_push):
19938           Don't start the src pad task on FLUSH_STOP if the pad
19939           isn't linked.
19940           Debug changes.
19942 2005-08-22  Wim Taymans  <wim@fluendo.com>
19944         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19945         Added check for gst_static_caps_get() refcounting.
19947 2005-08-22  Wim Taymans  <wim@fluendo.com>
19949         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19950         Make _static_caps_get() refcounting sane.
19951         
19952         * gst/gstelement.c: (gst_element_set_state):
19953         Add g_return_val_if_fail() to protect against segfaults.
19955 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19957         * docs/gst/tmpl/gstevent.sgml:
19958         * gst/gstevent.c:
19959         * gst/gstevent.h:
19960           inlined remaining docs, added missing doc comments
19962 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19964         * check/gst/gstbin.c: (GST_START_TEST):
19965           since we don't know when preroll is done, use refcount range
19966           check for the sink
19967         * gst/check/gstcheck.h:
19968           add macro for checking refcount range
19970 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19972         * check/Makefile.am:
19973           clean up environment for when registry gets built versus
19974           when actual tests are run; valgrind seems to not report
19975           leaks if GST_PLUGIN_PATH is set to some specific values
19976         * check/gst/gstbin.c: (GST_START_TEST):
19977           add more refcounting checks; maybe this exposes a
19978           preroll lock bug ?
19979         * common/check.mak:
19980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19981         * gst/check/gstcheck.h:
19982         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19983         (gst_bin_change_state):
19984         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19985           add/fix debugging/whitespace
19987 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19989         * check/gst/gstevent.c: (event_probe), (test_event),
19990         (GST_START_TEST):
19991          Er, don't call gst_bin_watch_for_state_change you idiot.
19993 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19995         * check/Makefile.am:
19996           Use CHECK_CFLAGS and CHECK_LIBS
19997         * check/gst/gstevent.c: (event_probe), (test_event),
19998         (GST_START_TEST):
19999           Don't leak events.
20000         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20001         (gst_base_src_start), (gst_base_src_stop),
20002         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20003         (gst_base_src_change_state):
20004           Sprinkle gst_base_src_stop liberally around error paths to fix
20005           problems reusing a source after failed state changes.
20006         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20007         (helper_find_suggest), (gst_type_find_helper):
20008           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20009         * gst/gstevent.h:
20010         * docs/gst/tmpl/gstevent.sgml:
20011           Migrate part of the docs from the SGML file. Wait for ensonic to
20012           tell me how I did it wrong ;)
20013         * tools/gst-typefind.c: (main):
20014           Extra robustness to state changes between files.
20016 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20018         * check/Makefile.am:
20019           don't valgrind the controller test - it's leaking - Stefan, HELP
20020         * gst/check/gstcheck.c: (gst_check_message_error),
20021         (gst_check_chain_func), (gst_check_setup_element),
20022         (gst_check_teardown_element), (gst_check_setup_src_pad),
20023         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20024         (gst_check_teardown_sink_pad):
20025         * gst/check/gstcheck.h:
20026           add a bunch of methods to set up elements, and src and sink pads
20027         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20028         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20029         (GST_START_TEST):
20030           use them
20031         * gst/gstmessage.c:
20032         * gst/gsttag.h:
20033           whitespace/doc fixes
20035 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20037         * gst/gstelement.h:
20038           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20039           be handled by the application and not always printed as well
20041 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20043         * check/Makefile.am:
20044           set GST_TOOLS_DIR
20045         * gst/check/gstcheck.c: (gst_check_message_error):
20046         * gst/check/gstcheck.h:
20047           add a fail_unless_equals_int
20048           add fail_unless for error messages
20050 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20052         * check/Makefile.am:
20053         * check/gst.supp:
20054         * common/Makefile.am:
20055         * common/check.mak:
20056         * common/gst.supp:
20057           factor out some of the common stuff so we can use it
20059 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20061         * check/Makefile.am:
20062         * check/gst/gstiterator.c: (GST_START_TEST):
20063         * check/gst/gstsystemclock.c: (GST_START_TEST),
20064         (gst_systemclock_suite):
20065         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20066         * gst/gstclock.c:
20067           valgrind more tests
20069 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20071         * check/elements/.cvsignore:
20072         * check/elements/gstfakesrc.c:
20073           rename to name of element
20074         * check/elements/identity.c: (chain_func), (event_func),
20075         (setup_identity), (cleanup_identity), (GST_START_TEST),
20076         (identity_suite), (main):
20077           add a test for identity
20078         * check/Makefile.am:
20079         * pkgconfig/Makefile.am:
20080         * pkgconfig/gstreamer-check.pc.in:
20081         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20082         * gst/check:
20083         * gst/Makefile.am:
20084         * configure.ac:
20085           move the check stuff to a library that gets installed
20086         * check/gst-libs/controller.c: (GST_START_TEST):
20087         * check/gst-libs/gdp.c:
20088         * check/gst/gst.c: (GST_START_TEST):
20089         * check/gst/gstbin.c:
20090         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20091         * check/gst/gstbus.c:
20092         * check/gst/gstcaps.c: (GST_START_TEST):
20093         * check/gst/gstelement.c:
20094         * check/gst/gstghostpad.c:
20095         * check/gst/gstiterator.c:
20096         * check/gst/gstmessage.c:
20097         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20098         * check/gst/gstobject.c:
20099         * check/gst/gstpad.c: (GST_START_TEST):
20100         * check/gst/gststructure.c: (GST_START_TEST):
20101         * check/gst/gstsystemclock.c: (GST_START_TEST),
20102         (gst_systemclock_suite):
20103         * check/gst/gsttag.c: (gst_tag_suite):
20104         * check/gst/gstvalue.c:
20105         * check/pipelines/cleanup.c:
20106         * check/pipelines/simple_launch_lines.c:
20107         * check/states/sinks.c:
20108           change include statement
20110         * docs/gst/gstreamer-sections.txt:
20111         * docs/gst/tmpl/gstpad.sgml:
20112           document more pad stuff
20113         * gst/gstminiobject.c: (gst_mini_object_ref),
20114         (gst_mini_object_unref):
20115           debug refcounting
20117 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20119         * docs/gst/tmpl/gst.sgml:
20120         * gst/gst.c:
20121           eliminate another tmpl file, fix spelling in the long-description
20123 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20125         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20126         (test_event), (timediff), (gstevents_suite):
20127           Should fix build on 64-bit arch's
20129 2005-08-18  Andy Wingo  <wingo@pobox.com>
20131         Make sure that when a pipeline goes to PLAYING, that data has
20132         actually hit the sink.
20134         * check/states/sinks.c (test_sink): A sink that doesn't get any
20135         data shouldn't return SUCCESS for going to either PLAYING or
20136         PAUSED. Test also the return values on the way back down.
20138         * gst/gstelement.c (gst_element_set_state): When changing the
20139         state of an element currently changing state asynchronously, go to
20140         lost-state after commiting the pending state. Makes future calls
20141         to get_state continue to return ASYNC.
20143         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20144         ASYNC when going to PLAYING if we still don't have preroll, as can
20145         happen with live sources.
20147 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20149         * docs/pwg/advanced-types.xml:
20150           Hack long paragraph into 2 chunks as a workaround for buggy
20151           jadetex version in sid and breezy that loops infinitely and
20152           eats all RAM.
20154 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20156         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20157         (test_event), (timediff), (gstevents_suite):
20158           Provide more error margin in clock measurements to allow for 
20159           g_get_current_time inaccuracies.
20161 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20163         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20164         (test_event), (timediff), (gstevents_suite):
20165            Fix error message output so I might be able to tell why the
20166            test works here but fails on the build farm.
20168 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20170         * check/Makefile.am:
20171         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20172         (test_event), (timediff), (gstevents_suite), (main):
20173           I wrote a test!
20175         * docs/design/part-seeking.txt:
20176           Spelling correction
20178         * docs/gst/tmpl/gstevent.sgml:
20179         * docs/gst/tmpl/gstfakesrc.sgml:
20180           Docs updates.
20182         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20183           Treat a buffer-without-newsegment the same as a receiving 
20184           a newsegment not in time format, and disable syncing to the clock
20185           with a warning.
20187         * gst/gstbus.c: (gst_bus_set_sync_handler):
20188           Assert if anyone tries to replace the existing sync_handler for bus, 
20189           as only the owner should be setting it.
20191         * gst/gstevent.h:
20192           Have a fixed set of custom event enums with events identified by
20193           their structure name (as in 0.8), rather than a free-for-all
20194           allowing collisions between enum values from different plugins.
20196         * gst/gstpad.c: (gst_pad_class_init):
20197           Docs change.
20198           
20199         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20200           Handle out-of-band downstream events from the sending thread.
20202 2005-08-17  Andy Wingo  <wingo@pobox.com>
20204         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20205         play-timeout==0 to mean no timeout at all. In that case, don't
20206         bother with a get_state or a warning, just return directly, even
20207         if it's ASYNC.
20209         * gst/base/gstbasetransform.c: Debug changes.
20211         * gst/gstutils.h:
20212         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20213         ensure bins post state change messages. A bit of a hack but I can't
20214         think of a way to avoid it.
20216         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20218 2005-08-16  Andy Wingo  <wingo@pobox.com>
20220         * gst/base/gstadapter.h:
20221         * gst/base/gstadapter.c (gst_adapter_take): New function, like
20222         peek() but you own the data. Not terribly efficient atm.
20224 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20226         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20227         (gst_element_found_tags):
20228         * gst/gstutils.h:
20229           Add two utility functions for tag handling.
20231 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20233         * docs/manual/advanced-dataaccess.xml:
20234         * docs/manual/basics-helloworld.xml:
20235           Fix docs to use _bin_add() before _link(), which fixes the examples
20236           with recent core versions (reported by Madhan Raj M
20237           <raj_madan@rediffmail.com>, #313199).
20239 2005-08-16  Wim Taymans  <wim@fluendo.com>
20241         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20242         Added subtract checks.
20244         * docs/design/part-events.txt:
20245         Some more docs about newsegment
20247         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20248         Fix FIXME
20250         * gst/gstcaps.c: (gst_caps_to_string):
20251         Add comments, cleanups.
20252         
20253         * gst/gstelement.c: (gst_element_save_thyself):
20254         cleanups
20255         
20256         * gst/gstvalue.c: (gst_value_collect_int_range),
20257         (gst_string_unwrap), (gst_value_union_int_int_range),
20258         (gst_value_union_int_range_int_range),
20259         (gst_value_intersect_int_int_range),
20260         (gst_value_intersect_int_range_int_range),
20261         (gst_value_intersect_double_double_range),
20262         (gst_value_intersect_double_range_double_range),
20263         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20264         (gst_value_subtract_int_range_int),
20265         (gst_value_subtract_double_range_double),
20266         (gst_value_subtract_double_range_double_range),
20267         (gst_value_subtract_from_list), (gst_value_subtract_list),
20268         (gst_value_can_compare), (gst_value_compare_fraction):
20269         Cleanups, add comments, remove unneeded asserts.
20271 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20273         * tools/gst-launch.c: (event_loop):
20274           don't convert NULL structures to strings
20276 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
20278         * docs/gst/gstreamer-sections.txt:
20279           made some defines private
20280         * docs/gst/tmpl/gstconfig.sgml:
20281         * docs/gst/tmpl/gstqueue.sgml:
20282         * docs/gst/tmpl/gsttaglist.sgml:
20283         * docs/gst/tmpl/gsttypes.sgml:
20284         * docs/gst/tmpl/gstutils.sgml:
20285         * docs/pwg/appendix-porting.xml:
20286         * gst/base/gstbasesink.h:
20287         * gst/base/gstbasesrc.c:
20288         * gst/base/gstbasesrc.h:
20289         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20290         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20291         * gst/gstelement.c: (gst_element_class_init):
20292         * gst/gstpad.c: (gst_pad_class_init):
20293         * gst/gstqueue.c: (gst_queue_class_init):
20294         * gst/gstxml.c: (gst_xml_class_init):
20295           documented all undocumented signal inline
20296         * libs/gst/controller/gst-controller.h:
20297           added padding
20299 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20301         * docs/pwg/appendix-porting.xml:
20302           Document _set_link_function -> _set_setcaps_function.
20304 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20306         * check/Makefile.am:
20307           add a .check target for running the check
20308         * check/gst-libs/controller.c: (GST_START_TEST):
20309           cosmetic fixups
20310         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20311           complete checks for gstbuffer; would be nice if I could get the
20312           gcov stuff to work so I can see if I actually completed gstbuffer.c
20313         * check/gstcheck.h:
20314           add ASSERT_BUFFER_REFCOUNT
20316 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
20318         * docs/gst/gstreamer-sections.txt:
20319         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20320         * gst/gsttag.h:
20321           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20322           spew out a warning if a tag that is already registered
20323           is re-registered, unless it is re-registered with a 
20324           different type (#308438).
20326 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
20328         * docs/pwg/appendix-porting.xml:
20329         * docs/pwg/building-state.xml:
20330           Add some paragraphs about state changes in 0.9 to the PWG
20331           and the porting guide, in particular about the new meaning
20332           of GST_STATE_PAUSED and how to write state change functions
20333           with concurrent access by multiple threads in mind.
20335 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
20337         * docs/gst/gstreamer-docs.sgml:
20338         * docs/libs/gstreamer-libs-docs.sgml:
20339           added deprecation and since indexes
20340         * libs/gst/controller/gst-controller.c:
20341         * libs/gst/controller/gst-helper.c:
20342           added since tags
20345 2005-08-11  Wim Taymans  <wim@fluendo.com>
20347         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
20348         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
20349         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
20350         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
20351         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
20352         (gst_ghost_pad_set_target):
20353         Actually implement (re)setting the target on a ghostpad
20354         as described in the docs.
20356 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20358         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
20359           Check whether GST_DEBUG_NO_COLOR environment variable is
20360           set and disable coloured debug output if that is the case.
20362 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
20364         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20365         (gst_type_find_helper):
20366           The memory returned by gst_type_find_peek() needs to
20367           stay valid until the end of a typefind function, and
20368           typefind functions may keep results from different 
20369           offsets around, so we can't just unref the buffer from
20370           the previous _peek(), but have to save all buffers 
20371           returned by _peek() until typefinding is done and only
20372           free them then.
20374 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
20376         * docs/gst/gstreamer-sections.txt:
20377         * gst/gstutils.h:
20378           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
20380 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20382         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20383           Fix a pretty good memleak.
20385 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20387         * gst/gstiterator.h:
20388           Fix wrong include and 'make distcheck'.
20390 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20392         * gst/gstbin.c: (bin_bus_handler):
20393           Use gst_element_post_message() instead.
20395 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
20397         * gst/base/gstadapter.h:
20398         * gst/base/gstbasesink.h:
20399         * gst/base/gstbasesrc.h:
20400         * gst/base/gstbasetransform.h:
20401         * gst/base/gstcollectpads.h:
20402         * gst/base/gstpushsrc.h:
20403         * gst/gstiterator.h:
20404           Add padding to our base elements' class and instance structs and
20405           to GstIterator (you will need to rebuild all plugins and apps!)
20407 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20409         * gst/gstbin.c: (bin_bus_handler):
20410           Make default message forwarding from child->bus to bin->bus
20411           threadsafe and make it not emit warnings if the parent has no bus.
20413 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20415         * gst/gstelement.c: (activate_pads):
20416           On paused->ready, set pad->caps to NULL, as is the documented
20417           behaviour in this state change. Fixes playback of series of
20418           media files when visualization is enabled in Totem.
20420 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20422         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20423           Allow NULL as filter-caps (which means "any").
20425 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20427         * docs/libs/gstreamer-libs-sections.txt:
20428         * libs/gst/controller/gst-controller.c:
20429         * libs/gst/controller/gst-controller.h:
20430         * libs/gst/controller/gst-helper.c:
20431           adding more entries to the docs and fix small doc-bugs
20433 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20435         * docs/gst/gstreamer-docs.sgml:
20436         * docs/gst/gstreamer-sections.txt:
20437         * docs/gst/gstreamer.types:
20438         * docs/gst/tmpl/gstbasesink.sgml:
20439         * docs/gst/tmpl/gstbasesrc.sgml:
20440         * docs/gst/tmpl/gstbasetransform.sgml:
20441         * docs/gst/tmpl/gstfakesrc.sgml:
20442         * gst/base/gstcollectpads.c:
20443         * gst/base/gstcollectpads.h:
20444         * libs/gst/controller/gst-controller.c:
20445         * libs/gst/controller/gst-controller.h:
20446         * libs/gst/controller/gst-helper.c:
20447         * libs/gst/controller/gst-interpolation.c:
20448         * libs/gst/controller/lib.c:
20449           added long/short desc for controller docs
20450           added collectpads base class docs
20451           added correct includes to base-class docs
20453 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
20455         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20456         (gst_test_mono_source_set_property),
20457         (gst_test_mono_source_class_init), (GST_START_TEST),
20458         (gst_controller_suite):
20459         * docs/gst/gstreamer-docs.sgml:
20460         * docs/gst/gstreamer-sections.txt:
20461         * docs/gst/gstreamer.types:
20462         * docs/libs/gstreamer-libs-docs.sgml:
20463         * docs/libs/gstreamer-libs-sections.txt:
20464         * gst/base/gstadapter.c:
20465         * libs/gst/controller/gst-controller.c:
20466         (gst_controlled_property_new), (gst_controlled_property_free),
20467         (gst_controller_new_valist),
20468         (gst_controller_remove_properties_valist),
20469         (gst_controller_sink_values), (_gst_controller_finalize):
20470         * libs/gst/controller/gst-controller.h:
20471         * libs/gst/controller/gst-helper.c:
20472         (gst_object_control_properties), (gst_object_uncontrol_properties),
20473         (gst_object_get_controller), (gst_object_set_controller),
20474         (gst_object_sink_values), (gst_object_get_value_arrays),
20475         (gst_object_get_value_array):
20476           more tests (and fixes) for the controller
20477           more docs for the controller
20478           integrated companies docs for the adapter 
20480 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20482         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20483         (GST_START_TEST), (fakesrc_suite):
20484           add tests for sizetype
20486 2005-08-04  Andy Wingo  <wingo@pobox.com>
20488         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20489         fixes buffer_alloc proxying among other things.
20491         * gst/base/gstbasetransform.c:
20492         * gst/base/gstbasetransform.h:
20493         Revert patch to gstbasetransform from 7-28 removing
20494         delay_configure.
20496         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20497         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20498         Semantics changed, should return not the size of the output buffer
20499         but the byte size of a buffer with a given caps.
20501         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20502         debug object.
20503         (gst_base_transform_configure_caps): Don't set out_size here: (in,
20504         out) are not the pad caps until setcaps finishes.
20505         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20506         not-in-place case as well. Deal with changing from in-place to
20507         not-in-place within calling pad_alloc_buffer. Still a bit
20508         concerned about the overhead here...
20510 2005-08-03  Andy Wingo  <wingo@pobox.com>
20512         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20513         fixating is an error.
20515 2005-08-04  Edward Hervey  <edward@fluendo.com>
20517         * gst/base/gstadapter.h: 
20518         Added gst_adapter_get_type() to the header
20520 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20522         * check/Makefile.am:
20523         * check/gst-libs/controller.c:
20524         * libs/gst/controller/gst-controller.c:
20525         (gst_controller_new_valist):
20526           added check test suite for the controller
20527         * gst/base/gstpushsrc.c:
20528           fixed a doc typo
20530 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20532         * docs/gst/Makefile.am:
20533         * docs/gst/gstreamer-docs.sgml:
20534         * docs/gst/gstreamer-sections.txt:
20535         * docs/gst/gstreamer.types:
20536         * docs/gst/tmpl/gstfakesrc.sgml:
20537         * gst/base/README:
20538         * gst/base/gstbasesink.c:
20539         * gst/base/gstbasesink.h:
20540         * gst/base/gstbasesrc.c:
20541         * gst/base/gstbasesrc.h:
20542         * gst/base/gstbasetransform.c:
20543         * gst/base/gstpushsrc.c:
20544         * gst/base/gstpushsrc.h:
20545           add short/long description docs to base classes
20546           add pushsrc to the docs
20547           remove consolidated doc fragments
20549 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
20551         * configure.ac:
20552         * docs/libs/Makefile.am:
20553         * docs/libs/gstreamer-libs-docs.sgml:
20554         * docs/libs/gstreamer-libs-sections.txt:
20555         * docs/libs/gstreamer-libs.types:
20556         * examples/Makefile.am:
20557         * examples/controller/.cvsignore:
20558         * examples/controller/Makefile.am:
20559         * examples/controller/audio-example.c: (main):
20560         * libs/gst/Makefile.am:
20561         * libs/gst/controller/.cvsignore:
20562         * libs/gst/controller/Makefile.am:
20563         * libs/gst/controller/gst-controller.c:
20564         (on_object_controlled_property_changed), (gst_timed_value_compare),
20565         (gst_timed_value_find),
20566         (gst_controlled_property_set_interpolation_mode),
20567         (gst_controlled_property_new), (gst_controlled_property_free),
20568         (gst_controller_find_controlled_property),
20569         (gst_controller_new_valist), (gst_controller_new),
20570         (gst_controller_remove_properties_valist),
20571         (gst_controller_remove_properties), (gst_controller_set),
20572         (gst_controller_set_from_list), (gst_controller_unset),
20573         (gst_controller_get), (gst_controller_get_all),
20574         (gst_controller_sink_values), (gst_controller_get_value_arrays),
20575         (gst_controller_get_value_array),
20576         (gst_controller_set_interpolation_mode),
20577         (_gst_controller_finalize), (_gst_controller_init),
20578         (_gst_controller_class_init), (gst_controller_get_type):
20579         * libs/gst/controller/gst-controller.h:
20580         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20581         (g_object_uncontrol_properties), (g_object_get_controller),
20582         (g_object_set_controller), (g_object_sink_values),
20583         (g_object_get_value_arrays), (g_object_get_value_array):
20584         * libs/gst/controller/gst-interpolation.c:
20585         (gst_controlled_property_find_timed_value_node),
20586         (interpolate_none_get), (interpolate_trigger_get),
20587         (interpolate_trigger_get_value_array):
20588         * libs/gst/controller/lib.c: (gst_controller_init):
20589         * pkgconfig/Makefile.am:
20590         * pkgconfig/gstreamer-control-uninstalled.pc.in:
20591         * pkgconfig/gstreamer-control.pc.in:
20592         * testsuite/Makefile.am:
20593         * testsuite/controller/.cvsignore:
20594         * testsuite/controller/Makefile.am:
20595         * testsuite/controller/interpolator.c: (main):
20596           added controller code
20597           removed dparam pc files
20599 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20600         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20601         (gst_collectpads_stop):
20602           Broadcast the condition when shutting down, to make sure we wake all
20603           threads up. Shut down pads on finalize, for safety.
20605 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
20606         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20607         (gst_base_transform_handle_buffer),
20608         (gst_base_transform_change_state):
20609           Handle PAUSED->READY->PAUSED transition after negotiation
20610           occurred already.
20611         * gst/gstmessage.c: (gst_message_init):
20612           Extra piece of debug for new messages.
20614 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
20616         * configure.ac:
20617         * docs/gst/tmpl/gstbasesrc.sgml:
20618         * docs/gst/tmpl/gstelement.sgml:
20619         * docs/gst/tmpl/gstevent.sgml:
20620         * docs/gst/tmpl/gstfakesrc.sgml:
20621         * docs/gst/tmpl/gstformat.sgml:
20622         * docs/gst/tmpl/gstghostpad.sgml:
20623         * docs/gst/tmpl/gstpad.sgml:
20624         * docs/gst/tmpl/gstquery.sgml:
20625         * docs/gst/tmpl/gststructure.sgml:
20626         * docs/gst/tmpl/gsttaglist.sgml:
20627         * docs/gst/tmpl/gstvalue.sgml:
20628         * docs/libs/gstreamer-libs-docs.sgml:
20629         * docs/libs/gstreamer-libs-sections.txt:
20630         * docs/libs/gstreamer-libs.types:
20631         * libs/gst/Makefile.am:
20632         * libs/gst/control/.cvsignore:
20633         * libs/gst/control/Makefile.am:
20634         * libs/gst/control/control.c:
20635         * libs/gst/control/control.h:
20636         * libs/gst/control/dparam.c:
20637         * libs/gst/control/dparam.h:
20638         * libs/gst/control/dparam_smooth.c:
20639         * libs/gst/control/dparam_smooth.h:
20640         * libs/gst/control/dparamcommon.h:
20641         * libs/gst/control/dparammanager.c:
20642         * libs/gst/control/dparammanager.h:
20643         * libs/gst/control/dplinearinterp.c:
20644         * libs/gst/control/dplinearinterp.h:
20645         * libs/gst/control/unitconvert.c:
20646         * libs/gst/control/unitconvert.h:
20647         * testsuite/Makefile.am:
20648         * testsuite/dynparams/.cvsignore:
20649         * testsuite/dynparams/Makefile.am:
20650         * testsuite/dynparams/dparamstest.c:
20651         * tools/Makefile.am:
20652         * tools/gst-inspect.c: (print_element_info), (main):
20653         * tools/gst-xmlinspect.c: (print_element_info), (main):
20654           deactivate and remove dparams (libgstcontrol)
20656 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20658         * gst/elements/gsttypefindelement.c:
20659         (gst_type_find_element_have_type), (gst_type_find_element_init),
20660         (stop_typefinding), (gst_type_find_element_handle_event),
20661         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20662         * gst/elements/gsttypefindelement.h:
20663           Set caps on all outgoing buffers, not just the first one.
20665 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20667         * gst/elements/gsttypefindelement.c:
20668         (gst_type_find_element_have_type),
20669         (gst_type_find_element_check_set_buffer_caps),
20670         (gst_type_find_element_init), (stop_typefinding),
20671         (gst_type_find_element_handle_event),
20672         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20673         * gst/elements/gsttypefindelement.h:
20674           Set caps on first outgoing buffer when we've found the type.
20676 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20678         * docs/gst/gstreamer-docs.sgml:
20679         * docs/gst/gstreamer-sections.txt:
20680         * docs/gst/tmpl/gstscheduler.sgml:
20681         * docs/gst/tmpl/gstschedulerfactory.sgml:
20682           Remove some old cruft from docs.
20684 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
20686         * gst/gstpad.h:
20687           Fix inline docs for GstPadLinkReturn.
20688           
20689         * gst/gststructure.c: (gst_structure_has_name):
20690         * gst/gststructure.h:
20691         * docs/gst/gstreamer-sections.txt:
20692           New API: gst_structure_has_name().
20694 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
20696         * configure.ac:
20697           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20698           and _LARGEFILE_SOURCE in config.h as required. Do not 
20699           export those flags in our .pc files any longer (#142209).
20701           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20703         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20704         (gst_file_sink_do_seek), (gst_file_sink_event),
20705         (gst_file_sink_get_current_offset), (gst_file_sink_render):
20706           Redo seek/tell calls with large file support in mind; add some
20707           debugging messages; add log message that tells us when large
20708           file support is unavailable or not enabled for some reason.
20710         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20711           Add log message that tells us when large file support 
20712           is unavailable or not enabled for some reason.
20714 2005-07-29  Wim Taymans  <wim@fluendo.com>
20716         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20717         Added test for removing an element with ghostpad from a bin.
20718         Fixed test as current implementation does the right thing.
20720         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20721         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20722         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20723         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20724         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20725         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20726         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20727         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20728         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20729         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20730         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20731         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20732         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20733         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20734         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20735         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20736         * gst/gstghostpad.h:
20737         Clean up ghostpads, remove properties for internal stuff.
20738         Make threadsafe.
20739         Fix refcounting.
20740         Prepare for switching targets, not all use cases work yet.
20742 2005-07-29  Wim Taymans  <wim@fluendo.com>
20744         * docs/design/part-gstghostpad.txt:
20745         Small update.
20747         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20748         (gst_bin_remove_func):
20749         Unlinking pads while holding the bin LOCK is not a good
20750         idea.
20752         * gst/gstpad.c: (gst_pad_class_init),
20753         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20754         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20755         No prob setting template after creating the pad.
20757 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
20759         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20760         (gst_bus_peek), (gst_bus_source_dispatch),
20761         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20762         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20763           gst_bus_poll may be called from other threads. Handle
20764           this nicely by not making poll_data disappear off the
20765           stack once gst_bus_poll returns.
20766           gst_bus_peek now increments the refcount on the returned
20767           message.
20769 2005-07-29  Wim Taymans  <wim@fluendo.com>
20771         * docs/design/part-gstghostpad.txt:
20772         Overview of current GhostPad datastructures and use
20773         cases for changing the target.
20775 2005-07-28  Wim Taymans  <wim@fluendo.com>
20777         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20778         Added checks for hierarchy consistency whan adding linked
20779         elements to bins.
20781         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20782         Added check to test element scheduling without bin/pipeline.
20784         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20785         First add elements to bin, then link.
20786         
20787         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20788         (gst_bin_remove_func):
20789         Unlink pads from elements added/removed from bin to maintain
20790         hierarchy consistency.
20792 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20794         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20795         (gst_base_transform_handle_buffer):
20796         * gst/base/gstbasetransform.h:
20797           Remove broken delay_configure (fixes renegotiation of software
20798           scaling pipelines); remove some leftover printf()s.
20800 2005-07-28  Wim Taymans  <wim@fluendo.com>
20802         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20803         Added some more tests for wrong hierarchy
20805         * docs/design/part-overview.txt:
20806         Some updates.
20808         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20809         Cleanups.
20811         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20812         (gst_element_dispose):
20813         Some more cleanups.
20815         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20816         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20817         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20818         (gst_pad_set_caps), (gst_pad_send_event):
20819         Check for correct hierarchy when linking pads. Moving to
20820         strict requirement for ghostpads when linking elements in
20821         different bins.
20823         * gst/gstpad.h:
20824         Clean ups. Added WRONG_HIERARCHY return value.
20826 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20828         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20829           Better debug if no transform is possible.
20831 2005-07-27  Wim Taymans  <wim@fluendo.com>
20833         * docs/random/wtay/network-transp:
20834         Some old doc I had.
20836 2005-07-27  Wim Taymans  <wim@fluendo.com>
20838         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20839         (gst_dp_event_from_packet):
20840         Fix serialization of seek events.
20842 2005-07-27  Wim Taymans  <wim@fluendo.com>
20844         * check/gst-libs/gdp.c: (GST_START_TEST):
20845         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20846         Fix compilation and fix event serialization.
20848 2005-07-27  Wim Taymans  <wim@fluendo.com>
20850         * CHANGES-0.9:
20851         * docs/design/part-TODO.txt:
20852         * docs/design/part-events.txt:
20853         Some docs updates
20855         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20856         (gst_base_sink_event), (gst_base_sink_do_sync),
20857         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20858         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20859         (gst_base_src_do_seek), (gst_base_src_event_handler),
20860         (gst_base_src_loop):
20861         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20862         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20863         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20864         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20865         (gst_base_transform_set_passthrough),
20866         (gst_base_transform_is_passthrough):
20867         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20868         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20869         Event updates.
20871         * gst/gstbuffer.h:
20872         Use faster casts.
20874         * gst/gstelement.c: (gst_element_seek):
20875         * gst/gstelement.h:
20876         Update gst_element_seek.
20878         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20879         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20880         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20881         (gst_event_new_eos), (gst_event_new_newsegment),
20882         (gst_event_parse_newsegment), (gst_event_new_tag),
20883         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20884         (gst_event_parse_qos), (gst_event_new_seek),
20885         (gst_event_parse_seek), (gst_event_new_navigation):
20886         * gst/gstevent.h:
20887         Make GstEvent use GstStructure. Add parsing code, make sure the
20888         API is sufficiently generic.
20889         Mark possible directions of events and serialization.
20891         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20892         (_gst_message_copy), (gst_message_new_segment_start),
20893         (gst_message_new_segment_done), (gst_message_new_custom),
20894         (gst_message_parse_segment_start),
20895         (gst_message_parse_segment_done):
20896         Small cleanups.
20898         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20899         (gst_pad_set_caps), (gst_pad_send_event):
20900         Update for new events. 
20901         Catch events sent in wrong directions.
20903         * gst/gstqueue.c: (gst_queue_link_src),
20904         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20905         (gst_queue_handle_src_query):
20906         Event updates.
20908         * gst/gsttag.c:
20909         * gst/gsttag.h:
20910         Remove event code from this file.
20912         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20913         (gst_dp_event_from_packet):
20914         Event updates.
20916 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20918         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20919         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20920         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20921           Make debugging actually useful.
20923 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20925         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20926         (gst_pad_fixate_caps):
20927           Implement default fixation once again, so that gst_pad_fixate()
20928           actually does anything at all. This probably needs to be some
20929           sort of a last resort, and use profile-based fixation first, but
20930           since that doesn't exist yet, this is the best we have. Fixes
20931           visualization in Totem.
20933 2005-07-22  Wim Taymans  <wim@fluendo.com>
20935         * docs/design/part-events.txt:
20936         Small update.
20938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20939         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20940         (gst_base_sink_activate_pull):
20941         Some more comments.
20943         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20944         (gst_fake_src_create):
20945         Fix handoff marshall.
20947         * gst/elements/gstidentity.c: (gst_identity_class_init),
20948         (gst_identity_transform_ip):
20949         We're a real inplace element.
20951         * gst/gstbus.c: (gst_bus_post):
20952         Added some comments.
20954         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20955         * tests/muxing/case1.c: (main):
20956         * tests/sched/dynamic-pipeline.c: (main):
20957         * tests/sched/interrupt1.c: (main):
20958         * tests/sched/interrupt2.c: (main):
20959         * tests/sched/interrupt3.c: (main):
20960         * tests/sched/runxml.c: (main):
20961         * tests/sched/sched-stress.c: (main):
20962         * tests/seeking/seeking1.c: (event_received), (main):
20963         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20964         (main):
20965         * tests/threadstate/threadstate3.c: (main):
20966         * tests/threadstate/threadstate4.c: (main):
20967         * tests/threadstate/threadstate5.c: (main):
20968         Fix the tests.
20970 2005-07-21  Wim Taymans  <wim@fluendo.com>
20972         * docs/design/part-seeking.txt:
20973         Some small additions.
20975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20976         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20977         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20978         * gst/base/gstbasesink.h:
20979         discont values are gint64, handle the math correctly.
20981         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20982         Make the basesrc report error if the source pad is not linked.
20984         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20985         (gst_queue_loop), (gst_queue_handle_src_query),
20986         (gst_queue_src_activate_push):
20987         Make queue collect data even if the srcpad is not linked.
20988         Start pushing out data as soon as it is linked.
20990         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20991         * gst/gstutils.h:
20992         Added gst_flow_get_name() to ease error reporting.
20994 2005-07-20  Wim Taymans  <wim@fluendo.com>
20996         * gst/gstmessage.c: (gst_message_new_segment_start),
20997         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20998         (gst_message_parse_segment_done):
20999         * gst/gstmessage.h:
21000         Added a bunch of messages for advanced seeking.
21002         * gst/parse/grammar.y:
21003         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21004         (gst_dpman_state_changed):
21005         Fix some new-pad -> pad-added signals
21007 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21009         * docs/manual/appendix-porting.xml:
21010         * docs/pwg/appendix-porting.xml:
21011           Document new-pad/state-change signal renames and the FixedList
21012           type rename.
21014 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21016         * docs/manual/advanced-autoplugging.xml:
21017         * docs/manual/basics-helloworld.xml:
21018         * docs/manual/basics-pads.xml:
21019         * docs/random/ds/0.9-suggested-changes:
21020         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21021         * gst/gstelement.h:
21022         * gst/gstevent.h:
21023         * gst/gstformat.h:
21024         * gst/gstquery.h:
21025         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21026         (gst_structure_parse_array), (gst_structure_parse_value):
21027         * gst/gstvalue.c: (gst_type_is_fixed),
21028         (gst_value_list_prepend_value), (gst_value_list_append_value),
21029         (gst_value_list_get_size), (gst_value_list_get_value),
21030         (gst_value_transform_array_string), (gst_value_serialize_array),
21031         (gst_value_deserialize_array), (gst_value_intersect_array),
21032         (gst_value_is_fixed), (_gst_value_initialize):
21033         * gst/gstvalue.h:
21034           GstElement::new-pad -> pad-added, GstElement::state-change ->
21035           state-changed, GstValueFixedList -> GstValueArray, add format and
21036           flags as their own arguments in gst_element_seek() (should improve
21037           "bindeability"), remove function generators since they don't work
21038           under a whole bunch of compilers (they were deprecated already
21039           anyway).
21041 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21043         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21044         (_gst_debug_register_funcptr):
21045         * gst/gstinfo.h:
21046           Fix illegal cast on some platforms (#309253).
21048 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21050         * gst/gstmessage.c: (gst_message_new_custom):
21051         * gst/gstmessage.h:
21052           Add _new_custom, make _new_application a macro to _new_custom.
21054 2005-07-20  Wim Taymans  <wim@fluendo.com>
21056         * gst/base/gstbasesrc.c: (gst_base_src_init),
21057         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21058         * gst/base/gstbasesrc.h:
21059         Add a gboolean to decide when to push out a discont.
21061         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21062         (gst_queue_loop), (gst_queue_handle_src_query),
21063         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21064         (gst_queue_set_property), (gst_queue_get_property):
21065         Some cleanups.
21067         * tests/threadstate/threadstate1.c: (main):
21068         Make a thread test compile and run... very silly..
21071 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21073         * docs/manual/appendix-porting.xml:
21074           Mention removal of libgstgconf-0.9.la and existence of gconf
21075           elements.
21077 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21079         * docs/pwg/advanced-clock.xml:
21080         * docs/pwg/appendix-porting.xml:
21081         * docs/pwg/intro-preface.xml:
21082         * docs/pwg/other-base.xml:
21083         * docs/pwg/other-manager.xml:
21084         * docs/pwg/other-nton.xml:
21085         * docs/pwg/other-ntoone.xml:
21086         * docs/pwg/other-oneton.xml:
21087         * docs/pwg/pwg.xml:
21088           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21089           demuxer), remove n-to-n (was never written), fix some code examples
21090           and links and update the porting section to include all this.
21092 2005-07-19  Wim Taymans  <wim@fluendo.com>
21094         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21095         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21096         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21097         (gst_queue_src_activate_push), (gst_queue_change_state),
21098         (gst_queue_get_property):
21099         * gst/gstqueue.h:
21100         Propagate GstFlowReturn more intelligently upstream and output
21101         an ERROR/EOS when streaming stopped due to fatal error.
21103 2005-07-19  Wim Taymans  <wim@fluendo.com>
21105         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21106         Don't block forever for the state change to complete, the
21107         pipeline already did with a sensible timeout.
21109 2005-07-19  Wim Taymans  <wim@fluendo.com>
21111         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21112         Make sure we never call the create function is we
21113         got deactivated.
21115 2005-07-19  Andy Wingo  <wingo@pobox.com>
21117         * gst/parse/parse.l: Attempt to solve bug #172815.
21119 2005-07-19  Wim Taymans  <wim@fluendo.com>
21121         * docs/design/part-clocks.txt:
21122         * docs/design/part-events.txt:
21123         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21124         Small docs updates.
21125         Only update the seeking values when we are not
21126         busy streaming.
21128 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21130         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21131           Oops, ignore the result of gst_pad_push_event here.
21133 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21135         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21136         (gst_base_src_activate_push):
21137           Send discont event from the loop function, as pads
21138           aren't activated yet in the activate_push handler.
21140         * gst/gstbin.c: (bin_bus_handler):
21141           Don't leak element name.
21143 2005-07-18  Andy Wingo  <wingo@pobox.com>
21145         * configure.ac: Use AS_LIBTOOL_TAGS.
21147 2005-07-18  Wim Taymans  <wim@fluendo.com>
21149         * docs/gst/gstreamer.types:
21150         Remove deleted types.
21152 2005-07-18  Wim Taymans  <wim@fluendo.com>
21154         * check/elements/gstfakesrc.c: (GST_START_TEST):
21155         * configure.ac:
21156         * gst/Makefile.am:
21157         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21158         (init_popt_callback):
21159         * gst/gst.h:
21160         * gst/gst_private.h:
21161         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21162         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21163         * gst/gstbin.h:
21164         * gst/gstbus.h:
21165         * gst/gstconfig.h.in:
21166         * gst/gstelement.c: (gst_element_class_init),
21167         (gst_element_set_base_time), (gst_element_get_base_time),
21168         (iterator_fold_with_resync), (gst_element_change_state),
21169         (gst_element_dispose), (gst_element_get_bus):
21170         * gst/gstelement.h:
21171         * gst/gstelementfactory.h:
21172         * gst/gsterror.c: (_gst_core_errors_init):
21173         * gst/gsterror.h:
21174         * gst/gstevent.h:
21175         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21176         * gst/gstindex.c:
21177         * gst/gstinfo.c: (_gst_debug_init):
21178         * gst/gstmessage.c: (_gst_message_copy):
21179         * gst/gstmessage.h:
21180         * gst/gstminiobject.h:
21181         * gst/gstobject.c:
21182         * gst/gstobject.h:
21183         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21184         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21185         * gst/gstpad.h:
21186         * gst/gstparse.h:
21187         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21188         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21189         (gst_pipeline_get_last_stream_time):
21190         * gst/gstpipeline.h:
21191         * gst/gstpluginfeature.h:
21192         * gst/gstquery.h:
21193         * gst/gstscheduler.c:
21194         * gst/gstscheduler.h:
21195         * gst/gststructure.h:
21196         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21197         (gst_task_finalize), (gst_task_func), (gst_task_create),
21198         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21199         (gst_task_stop), (gst_task_pause):
21200         * gst/gsttask.h:
21201         * gst/gsttypefind.h:
21202         * gst/gsttypes.h:
21203         * gst/registries/gstlibxmlregistry.c: (load_feature),
21204         (gst_xml_registry_load), (gst_xml_registry_save_feature):
21205         * gst/registries/gstxmlregistry.c:
21206         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21207         * gst/schedulers/threadscheduler.c:
21208         * libs/gst/control/dparammanager.h:
21209         * tools/gst-inspect.c: (print_element_list),
21210         (print_plugin_features), (print_element_features):
21211         * tools/gst-xmlinspect.c: (print_element_list),
21212         (print_plugin_info), (main):
21213         Removed plugable schedulers.
21214         Removed Scheduler/Manager from elements.
21215         Removed gsttypes.h, rearranged includes.
21216         Removed dependency pad<->element, element<>pipeline, and
21217         various others,  fix includes.
21218         implement gst_pad_get_parent() with gst_object_get_parent()
21219         Make GstTask sefcontained.
21220         Fix _get_state() on GstBin, it did not return ASYNC with a 0
21221         timeout.
21222         Fix endless loop in iterator_fold_with_resync.
21225 2005-07-18  Wim Taymans  <wim@fluendo.com>
21227         * gst/Makefile.am:
21228         * gst/gstarch.h:
21229         Remove old file.
21231 2005-07-18  Wim Taymans  <wim@fluendo.com>
21233         * gst/Makefile.am:
21234         No more cothreads.h
21236 2005-07-18  Wim Taymans  <wim@fluendo.com>
21238         * gst/cothreads.c:
21239         * gst/cothreads.h:
21240         Let's remove these.
21242 2005-07-18  Wim Taymans  <wim@fluendo.com>
21244         * docs/design/part-dynamic.txt:
21245         * docs/design/part-events.txt:
21246         * docs/design/part-seeking.txt:
21247         Some more docs in the works.
21249         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21250         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21251         (gst_base_transform_setcaps), (gst_base_transform_get_size),
21252         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21253         (gst_base_transform_handle_buffer),
21254         (gst_base_transform_sink_activate_push),
21255         (gst_base_transform_src_activate_pull),
21256         (gst_base_transform_set_passthrough),
21257         (gst_base_transform_is_passthrough):
21258         Refcounting fixes.
21260         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21261         Cleanups.
21263         * gst/gstevent.c: (gst_event_finalize):
21264         Set SRC to NULL.
21266         * gst/gstutils.c: (gst_element_unlink),
21267         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21268         (gst_pad_proxy_setcaps):
21269         * gst/gstutils.h:
21270         Add _get_parent_element() to get a pads parent as an element.
21272 2005-07-18  Wim Taymans  <wim@fluendo.com>
21274         * check/gst/gstbin.c: (GST_START_TEST):
21275         Remove bogus test.
21277 2005-07-18  Wim Taymans  <wim@fluendo.com>
21279         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21280         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21281         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21282         (gst_base_sink_event), (gst_base_sink_do_sync),
21283         (gst_base_sink_chain), (gst_base_sink_loop),
21284         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21285         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21286         Refcounting fixes.
21287         Fix logic for returning ASYNC when not prerolled.
21289 2005-07-18  Wim Taymans  <wim@fluendo.com>
21291         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21292         Fix nasty refcount bug.
21294 2005-07-16 Philippe Khalaf <burger@speedy.org>
21296         * gst/elements/gstfdsrc.c:
21297         * gst/elements/gstfdsrc.h:
21298         * gst/elements/gstelements.c:
21299         * gst/elements/Makefile.am:
21300         Ported fdsrc to 0.9.
21302 2005-07-16  Wim Taymans  <wim@fluendo.com>
21304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21305         (gst_base_sink_do_sync):
21306         Fix compile error.
21308 2005-07-16  Wim Taymans  <wim@fluendo.com>
21310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21311         (gst_base_sink_event), (gst_base_sink_get_times),
21312         (gst_base_sink_do_sync), (gst_base_sink_change_state):
21313         * gst/base/gstbasesink.h:
21314         Store and use discont values when syncing buffers as described
21315         in design docs.
21316         
21317         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21318         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21319         (gst_base_src_activate_push):
21320         Push discont event when starting.
21322         * gst/elements/gstidentity.c: (gst_identity_transform):
21323         Small cleanups.
21325         * gst/gstbin.c: (gst_bin_change_state):
21326         Small cleanups in base_time  distribution.
21328         * gst/gstelement.c: (gst_element_set_base_time),
21329         (gst_element_get_base_time), (gst_element_change_state):
21330         * gst/gstelement.h:
21331         Added methods for the base_time of the element.
21332         Some MT fixes.
21334         * gst/gstpipeline.c: (gst_pipeline_send_event),
21335         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21336         (gst_pipeline_get_last_stream_time):
21337         * gst/gstpipeline.h:
21338         MT fixes.
21339         Handle seeking as described in design doc, remove stream_time
21340         hack.
21341         Cleanups clock and stream_time selection code. Added accessors
21342         for the stream_time.
21343         
21345 2005-07-16  Andy Wingo  <wingo@pobox.com>
21347         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
21348         (#305291).
21350 2005-07-16  Wim Taymans  <wim@fluendo.com>
21352         * check/gst/gstbin.c: (GST_START_TEST):
21353         Make elements silent as the deep_notify refs the
21354         parent, which might make the test fail.
21356         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21357         Don't hold the lock for too long.
21359 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
21361         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21362           Don't unref the caps we passed to gst_caps_make_writable() after
21363           passing them. gst_caps_make_writable() will do that for us.
21365 2005-07-15  Andy Wingo  <wingo@pobox.com>
21367         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
21368         (#157311).
21370         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
21371         own marshalling function for the handoff signal. Properly type the
21372         buffer as a buffer. Fixes some warnings. Should do a more general
21373         solution.
21374         (gst_identity_class_init): Plug into the right marshaller.
21376 2005-07-15  Wim Taymans  <wim@fluendo.com>
21378         * docs/design/part-TODO.txt:
21379         * docs/design/part-clocks.txt:
21380         * docs/design/part-element-sink.txt:
21381         * docs/design/part-events.txt:
21382         * docs/design/part-gstpipeline.txt:
21383         Updated docs, mostly DISCONT related.
21385 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
21387         * docs/pwg/building-pads.xml:
21388           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
21390 2005-07-15  Andy Wingo  <wingo@pobox.com>
21392         * tools/gst-typefind.c: Update, add copyright block.
21394         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
21395         Normalize and truncate caps before fixation.
21397         * gst/gstcaps.h:
21398         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
21399         discards all but the first structure from its argument.
21401 2005-07-15  Wim Taymans  <wim@fluendo.com>
21403         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21404         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
21405         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21406         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21407         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
21408         (gst_base_transform_chain), (gst_base_transform_change_state),
21409         (gst_base_transform_set_passthrough),
21410         (gst_base_transform_is_passthrough):
21411         * gst/base/gstbasetransform.h:
21412         Make passthrough work using the bufferpools.
21413         Changed API a bit, subclasses have to write into a buffer
21414         provided by the base class.
21415         More debug info in nego functions.
21416         
21417         * gst/elements/gstidentity.c: (gst_identity_init),
21418         (gst_identity_transform):
21419         Port to new base class.
21421 2005-07-15  Wim Taymans  <wim@fluendo.com>
21423         * gst/gstmessage.c: (gst_message_new_state_changed):
21424         * tools/gst-launch.c: (event_loop), (main):
21425         Totally dump messages in -launch with the -m option.
21426         Fix message name for State messages,
21428 2005-07-14  Wim Taymans  <wim@fluendo.com>
21430         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21431         Post error messages on errors.
21433 2005-07-14  Wim Taymans  <wim@fluendo.com>
21435         * gst/gstcaps.c: (gst_caps_do_simplify):
21436         Remove debug info.
21438         * gst/gsterror.h:
21439         Define error for stream stopped.
21441         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21442         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
21443         Do proper return values.
21445         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21446         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
21447         (gst_pad_get_range):
21448         Better return values.
21450         * gst/gstpad.h:
21451         Reorganise return values, add macro to check for fatal errors.
21453         * gst/gstqueue.c: (gst_queue_chain):
21454         Return proper GstFlowReturn values,
21456 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21458         * docs/gst/gstreamer-sections.txt:
21459         * docs/gst/gstreamer.types:
21460         * docs/gst/tmpl/gst.sgml:
21461         * docs/gst/tmpl/gstbasesink.sgml:
21462         * docs/gst/tmpl/gstbasesrc.sgml:
21463         * docs/gst/tmpl/gstbasetransform.sgml:
21464         * docs/gst/tmpl/gstbin.sgml:
21465         * docs/gst/tmpl/gstbuffer.sgml:
21466         * docs/gst/tmpl/gstcaps.sgml:
21467         * docs/gst/tmpl/gstclock.sgml:
21468         * docs/gst/tmpl/gstcompat.sgml:
21469         * docs/gst/tmpl/gstconfig.sgml:
21470         * docs/gst/tmpl/gstelement.sgml:
21471         * docs/gst/tmpl/gstelementdetails.sgml:
21472         * docs/gst/tmpl/gstelementfactory.sgml:
21473         * docs/gst/tmpl/gstenumtypes.sgml:
21474         * docs/gst/tmpl/gsterror.sgml:
21475         * docs/gst/tmpl/gstevent.sgml:
21476         * docs/gst/tmpl/gstfakesink.sgml:
21477         * docs/gst/tmpl/gstfakesrc.sgml:
21478         * docs/gst/tmpl/gstfilesink.sgml:
21479         * docs/gst/tmpl/gstfilesrc.sgml:
21480         * docs/gst/tmpl/gstfilter.sgml:
21481         * docs/gst/tmpl/gstformat.sgml:
21482         * docs/gst/tmpl/gstghostpad.sgml:
21483         * docs/gst/tmpl/gstimplementsinterface.sgml:
21484         * docs/gst/tmpl/gstindex.sgml:
21485         * docs/gst/tmpl/gstindexfactory.sgml:
21486         * docs/gst/tmpl/gstinfo.sgml:
21487         * docs/gst/tmpl/gstiterator.sgml:
21488         * docs/gst/tmpl/gstmacros.sgml:
21489         * docs/gst/tmpl/gstmemchunk.sgml:
21490         * docs/gst/tmpl/gstminiobject.sgml:
21491         * docs/gst/tmpl/gstobject.sgml:
21492         * docs/gst/tmpl/gstpad.sgml:
21493         * docs/gst/tmpl/gstpadtemplate.sgml:
21494         * docs/gst/tmpl/gstparse.sgml:
21495         * docs/gst/tmpl/gstpipeline.sgml:
21496         * docs/gst/tmpl/gstplugin.sgml:
21497         * docs/gst/tmpl/gstpluginfeature.sgml:
21498         * docs/gst/tmpl/gstquery.sgml:
21499         * docs/gst/tmpl/gstqueue.sgml:
21500         * docs/gst/tmpl/gstregistry.sgml:
21501         * docs/gst/tmpl/gstregistrypool.sgml:
21502         * docs/gst/tmpl/gstscheduler.sgml:
21503         * docs/gst/tmpl/gstschedulerfactory.sgml:
21504         * docs/gst/tmpl/gststructure.sgml:
21505         * docs/gst/tmpl/gstsystemclock.sgml:
21506         * docs/gst/tmpl/gsttaglist.sgml:
21507         * docs/gst/tmpl/gsttagsetter.sgml:
21508         * docs/gst/tmpl/gsttrace.sgml:
21509         * docs/gst/tmpl/gsttrashstack.sgml:
21510         * docs/gst/tmpl/gsttypefind.sgml:
21511         * docs/gst/tmpl/gsttypefindfactory.sgml:
21512         * docs/gst/tmpl/gsttypes.sgml:
21513         * docs/gst/tmpl/gsturihandler.sgml:
21514         * docs/gst/tmpl/gsturitype.sgml:
21515         * docs/gst/tmpl/gstutils.sgml:
21516         * docs/gst/tmpl/gstvalue.sgml:
21517         * docs/gst/tmpl/gstversion.sgml:
21518         * docs/gst/tmpl/gstxml.sgml:
21519         * docs/libs/tmpl/gstcontrol.sgml:
21520         * docs/libs/tmpl/gstdataprotocol.sgml:
21521         * docs/libs/tmpl/gstdparam.sgml:
21522         * docs/libs/tmpl/gstdplinint.sgml:
21523         * docs/libs/tmpl/gstdpman.sgml:
21524         * docs/libs/tmpl/gstdpsmooth.sgml:
21525         * docs/libs/tmpl/gstgetbits.sgml:
21526         * docs/libs/tmpl/gstunitconvert.sgml:
21527         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21528         (gst_push_src_base_init), (gst_push_src_class_init),
21529         (gst_push_src_init), (gst_push_src_create):
21530         * gst/base/gstpushsrc.h:
21531         * gst/elements/gstelements.c:
21532         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21533         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21534         (gst_fake_sink_init), (gst_fake_sink_set_property),
21535         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21536         (gst_fake_sink_event), (gst_fake_sink_preroll),
21537         (gst_fake_sink_render), (gst_fake_sink_change_state):
21538         * gst/elements/gstfakesink.h:
21539         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21540         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21541         (gst_fake_src_base_init), (gst_fake_src_class_init),
21542         (gst_fake_src_init), (gst_fake_src_event_handler),
21543         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21544         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21545         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21546         (gst_fake_src_create_buffer), (gst_fake_src_create),
21547         (gst_fake_src_start), (gst_fake_src_stop):
21548         * gst/elements/gstfakesrc.h:
21549         * gst/elements/gstfilesink.c: (_do_init),
21550         (gst_file_sink_base_init), (gst_file_sink_class_init),
21551         (gst_file_sink_init), (gst_file_sink_dispose),
21552         (gst_file_sink_set_location), (gst_file_sink_set_property),
21553         (gst_file_sink_get_property), (gst_file_sink_open_file),
21554         (gst_file_sink_close_file), (gst_file_sink_query),
21555         (gst_file_sink_event), (gst_file_sink_render),
21556         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21557         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21558         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21559         * gst/elements/gstfilesink.h:
21560         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21561         (gst_file_src_class_init), (gst_file_src_init),
21562         (gst_file_src_finalize), (gst_file_src_set_location),
21563         (gst_file_src_set_property), (gst_file_src_get_property),
21564         (gst_file_src_map_region), (gst_file_src_map_small_region),
21565         (gst_file_src_create_mmap), (gst_file_src_create_read),
21566         (gst_file_src_create), (gst_file_src_is_seekable),
21567         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21568         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21569         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21570         (gst_file_src_uri_handler_init):
21571         * gst/elements/gstfilesrc.h:
21572           more autistic cleanliness in functions/names/defines
21574 2005-07-13  Andy Wingo  <wingo@pobox.com>
21576         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21577         source couldn't negotiate.
21579         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21580         connections again.
21582         * gst/gstutils.h:
21583         * gst/gstutils.c (gst_element_link_pads_filtered): New old
21584         function. I am channeling Hades. Put your boots on suckers!!!
21586 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21588         * testsuite/caps/Makefile.am:
21589         * testsuite/caps/value_compare.c:
21590         * testsuite/caps/value_intersect.c:
21591         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21592           move two testsuite apps over to the check dir
21594 2005-07-12  Wim Taymans  <wim@fluendo.com>
21596         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21597         Added more debug info in the negotiate process.
21599         * gst/gstmessage.h:
21600         Prepare for segment playback.
21602         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21603         Better debugging.
21605         * gst/gstutils.c:
21606         Some more docs.
21608         * tools/gst-launch.c: (main):
21609         NULL pipeline on errors.
21611 2005-07-12  Andy Wingo  <wingo@pobox.com>
21613         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21614         not it comes from a malloc region. Make sure our copy gets freed.
21616 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21618         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21619         * check/gst/gstmessage.c: (GST_START_TEST):
21620         * check/gst/gststructure.c: (GST_START_TEST),
21621         (gst_structure_suite), (main):
21622           more testing
21623         * gst/gstelement.c: (gst_element_message_full):
21624           clean up GError and debug string now that they get copied
21625         * gst/gstmessage.c: (gst_message_new_error),
21626         (gst_message_new_warning), (gst_message_parse_error),
21627         (gst_message_parse_warning):
21628           use GST_TYPE_G_ERROR for structure_new, and take copies of
21629           arguments, so that we don't mess up refcounting
21631 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21633         * check/Makefile.am:
21634           add per-test valgrind targets
21635         * check/gst-libs/gdp.c: (GST_START_TEST),
21636         (gst_data_protocol_suite), (main):
21637           clean up
21639 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21641         * check/Makefile.am:
21642           instate more valgrindable tests
21643         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21644         (GST_START_TEST), (fakesrc_suite):
21645         * check/gst/gstpad.c: (GST_START_TEST):
21646         * check/gst/gststructure.c: (GST_START_TEST):
21647           fix test leaks
21648         * docs/gst/tmpl/gstminiobject.sgml:
21649         * gst/gstpad.c: (gst_pad_finalize):
21650           fix the static mutex leak
21652 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21654         * check/Makefile.am:
21655           add two more tests for valgrinding
21656         * check/gst/gstvalue.c: (GST_START_TEST):
21657           test refcount of deserialized buffer, found a leak
21658         * docs/gst/gstreamer-docs.sgml:
21659         * docs/gst/gstreamer-sections.txt:
21660         * docs/gst/gstreamer.types:
21661         * docs/gst/tmpl/gstminiobject.sgml:
21662           add miniobject to docs
21663         * gst/gstminiobject.c:
21664           add some docs
21665         * gst/gstvalue.c: (gst_value_deserialize_buffer),
21666         (gst_string_unwrap):
21667           fix a hard-to-find invalid write for one of the tests
21668           fix a leak for deserialized buffers
21670 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21672         * docs/pwg/advanced-events.xml:
21673         * docs/pwg/advanced-request.xml:
21674         * docs/pwg/advanced-scheduling.xml:
21675         * docs/pwg/appendix-porting.xml:
21676         * docs/pwg/building-boiler.xml:
21677         * docs/pwg/intro-preface.xml:
21678         * docs/pwg/other-ntoone.xml:
21679           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21680           of example code and explanation for pad activation, loop() and
21681           getrange() functions and a bit more. Remove old comments pointing
21682           to loop-functions.
21683         * examples/pwg/Makefile.am:
21684           Add loop/getrange examples.
21686 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21688         * configure.ac:
21689           check for valgrind binary + some fixes
21690         * check/gst.supp:
21691           valgrind suppressions for the tests
21692         * check/Makefile.am:
21693           add a valgrind: target that valgrinds the unit tests
21694         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21695         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21696         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21697         * check/gst/gstghostpad.c:
21698           added some cleanup
21699         * check/gst/gstdata.c:
21700           removed
21701         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21702         (thread_unref), (gst_mini_object_suite), (main):
21703           added
21704         * gst/gst.c: (gst_deinit):
21705         * gst/gst.h:
21706           add a method to clean up.
21707         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21708         (gst_system_clock_obtain):
21709           allow for disposing the system clock.
21710         * tools/gst-launch.c: (main):
21711           deinit
21713 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21715         * docs/gst/tmpl/gstbasesrc.sgml:
21716         * docs/gst/tmpl/gstfakesrc.sgml:
21717         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21718         (gst_base_src_init), (gst_base_src_set_property),
21719         (gst_base_src_get_property), (gst_base_src_get_range),
21720         (gst_base_src_start):
21721         * gst/base/gstbasesrc.h:
21722           add num-buffers property
21723         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21724         (gst_fakesrc_init), (gst_fakesrc_set_property),
21725         (gst_fakesrc_get_property), (gst_fakesrc_create),
21726         (gst_fakesrc_start):
21727           remove num-buffers property
21729 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21731         * docs/gst/gstreamer-sections.txt:
21732         * docs/gst/tmpl/gstbasesink.sgml:
21733         * docs/gst/tmpl/gstbasesrc.sgml:
21734         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21735         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21736         (gst_base_sink_finalize), (gst_base_sink_set_clock),
21737         (gst_base_sink_set_property), (gst_base_sink_get_property),
21738         (gst_base_sink_handle_object), (gst_base_sink_event),
21739         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21740         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21741         (gst_base_sink_loop), (gst_base_sink_deactivate),
21742         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21743         (gst_base_sink_change_state):
21744         * gst/base/gstbasesink.h:
21745         * gst/base/gstbasesrc.h:
21746         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21747         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21748         (gst_filesink_init):
21749           more macro splitting
21751 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21753         * gst/gstelement.c: (gst_element_get_bus):
21754           add debug
21755         * tools/gst-launch.c: (check_intr), (event_loop):
21756           fix bus leaks
21758 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21760         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21761           fix a caps leak
21763 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21765         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21766         (gst_base_src_finalize):
21767           add finalize method and clean up properly
21768         * gst/gstpipeline.c: (gst_pipeline_dispose):
21769           add debug
21771 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21773         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21774         (gst_bin_suite):
21775           add more things to check
21776         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21777         * gst/gstelement.c:
21778           more debug
21780 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21782         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21783         (GST_START_TEST), (fakesrc_suite):
21784         * check/gst-libs/gdp.c: (GST_START_TEST):
21785         * check/gst/gst.c: (GST_START_TEST):
21786         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21787         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21788         * check/gst/gstbus.c: (GST_START_TEST):
21789         * check/gst/gstcaps.c: (GST_START_TEST):
21790         * check/gst/gstdata.c: (GST_START_TEST):
21791         * check/gst/gstelement.c: (GST_START_TEST):
21792         * check/gst/gstghostpad.c: (GST_START_TEST):
21793         * check/gst/gstiterator.c: (GST_START_TEST):
21794         * check/gst/gstmessage.c: (GST_START_TEST):
21795         * check/gst/gstobject.c: (GST_START_TEST):
21796         * check/gst/gstpad.c: (GST_START_TEST):
21797         * check/gst/gststructure.c: (GST_START_TEST):
21798         * check/gst/gstsystemclock.c: (GST_START_TEST),
21799         (gst_systemclock_suite):
21800         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21801         * check/gst/gstvalue.c: (GST_START_TEST):
21802         * check/pipelines/cleanup.c: (GST_START_TEST):
21803         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21804         * check/states/sinks.c: (GST_START_TEST):
21805         * check/gstcheck.c: (gst_check_init):
21806         * check/gstcheck.h:
21807           add debugging category
21808           use GST_START_TEST now, so we add a debug line
21810 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21812         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21813           add test for state change message on a bin
21814         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21815           add another test
21816         * gst/gstbin.c: (gst_bin_init):
21817         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21818         * gst/gstelement.c: (gst_element_post_message),
21819         (gst_element_set_state):
21820         * gst/gstelementfactory.c: (gst_element_factory_create):
21821         * gst/gstmessage.c: (gst_message_new):
21822         * gst/gstscheduler.c:
21823           various debugging additions and cleanups
21825 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21827         * check/Makefile.am:
21828         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21829         (main):
21830           adding tests for elements
21831         * gst/gstelement.c: (gst_element_dispose):
21833 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21835         * gst/registries/gstlibxmlregistry.c: (load_feature):
21836           plug more leaks.  A simple gst_init() now is leakfree, yay.
21838 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21840         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21841         (gst_xml_registry_load):
21842           plug another memleak
21844 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21846         * configure.ac:
21847           use GST_SET_ERROR_CFLAGS
21848         * docs/faq/cvs.xml:
21849           change to ERROR_CFLAGS
21851 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21853         * configure.ac:
21854           make GST_ERROR_CFLAGS overridable and re-enable Werror
21855         * docs/faq/cvs.xml:
21856           add a note about error CFLAGS
21857         * docs/gst/tmpl/gstfakesrc.sgml:
21858         * gst/elements/gstfakesrc.c:
21859           comment out some unused code
21860         * gst/gst.c: (split_and_iterate):
21861         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21862         (load_feature):
21863           plug some memleaks
21865 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21867         * common/Makefile.am:
21868         * common/gtk-doc.mak:
21869         * docs/gst/Makefile.am:
21870           factor out gtk-doc.mak
21872 2005-07-07  Wim Taymans  <wim@fluendo.com>
21874         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21875         (gst_thread_scheduler_dispose):
21876         Unlock the STREAM_LOCK completely.
21878 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21880         * check/Makefile.am:
21881         * check/elements/.cvsignore:
21882         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21883         (START_TEST), (fakesrc_suite), (main):
21884         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21885         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21886         (gst_fakesrc_create), (gst_fakesrc_start):
21887         * gst/elements/gstfakesrc.h:
21888           adding a first element test
21890 2005-07-07  Andy Wingo  <wingo@pobox.com>
21892         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21893         debug message.
21895 2005-07-07  Wim Taymans  <wim@fluendo.com>
21897         * gst/gstquery.c:
21898         * gst/gstquery.h:
21899         Remove old types
21901 2005-07-07  Wim Taymans  <wim@fluendo.com>
21903         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21904         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21905         Allow subclasses to implement their own negotiation.
21907 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21909         * docs/design/part-gstbin.txt:
21910         * docs/design/part-gstpipeline.txt:
21911           Update design notes to reflect the movement of
21912           responsibility for bus handling from GstPipeline to
21913           GstBin
21915 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21917         * configure.ac:
21918           Remove unnecessary queue2/3/4 examples.
21920 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21922         * examples/Makefile.am:
21923         * examples/helloworld/helloworld.c: (event_loop), (main):
21924         * examples/queue/queue.c: (event_loop), (main):
21925         * examples/queue2/queue2.c: (main):
21926           Update a couple of the examples to work again.
21928         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21929         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21930          Spelling corrections and extra debug.
21931         
21932         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21933         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21934         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21935         * gst/gstbin.h:
21936         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21937         (gst_pipeline_change_state):
21938         * gst/gstpipeline.h:
21939           Move the bus handler for children to the GstBin, and create a
21940           separate bus for receiving messages from children to the one the
21941           bus sends 'upwards' on.
21943 2005-07-06  Wim Taymans  <wim@fluendo.com>
21945         * gst/base/README:
21946         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21947         (gst_base_sink_handle_object), (gst_base_sink_loop),
21948         (gst_base_sink_change_state):
21949         * gst/base/gstbasesink.h:
21950         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21951         (gst_base_src_init), (gst_base_src_setcaps),
21952         (gst_base_src_getcaps), (gst_base_src_loop),
21953         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21954         (gst_base_src_start), (gst_base_src_change_state):
21955         * gst/base/gstbasesrc.h:
21956         Make basesrc negotiate.
21957         Handle the case where preroll fails in basesink.
21958         Update README.
21960 2005-07-06  Wim Taymans  <wim@fluendo.com>
21962         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21963         Implement the fixate function.
21964         Clean up acceptcaps.
21966 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21968         * docs/pwg/building-filterfactory.xml:
21969         * docs/pwg/pwg.xml:
21970           Remove never-written filter-factory chapter; I'll add the various
21971           base classes to part 4 ("other element types") later on.
21973 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21975         * docs/pwg/advanced-negotiation.xml:
21976         * docs/pwg/building-boiler.xml:
21977         * docs/pwg/building-pads.xml:
21978         * docs/pwg/pwg.xml:
21979         * examples/pwg/Makefile.am:
21980           Add a chapter on caps negotiation, simplify the original code
21981           samples a bit w.r.t. caps negotiation, add link to the advanced
21982           section. Add a bunch of examples showing different use cases of
21983           different types of caps negotiation. Upstream renegotiation isn't
21984           fully documented yet since nobody knows how that works.
21986 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21988         * check/gst/gstpad.c:
21989         * check/gstcheck.c:
21990         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21991           if pad has no parent, return NULL as list of internal links
21993 2005-07-05  Andy Wingo  <wingo@pobox.com>
21995         * gst/elements/gstfilesrc.c:
21996         * gst/elements/gstfakesrc.c: 
21997         * gst/base/gstpushsrc.c:
21998         * gst/base/gstbasesrc.h: 
21999         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22000         
22001 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22003         * Makefile.am:
22004           better report generation target (lcov needs a patch)
22006 2005-07-05  Andy Wingo  <wingo@pobox.com>
22008         * gst/elements, testsuite: Null if we got it...
22010 2005-07-05  Wim Taymans  <wim@fluendo.com>
22012         * configure.ac:
22013         * libs/gst/dataprotocol/Makefile.am:
22014         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22015         * libs/gst/dataprotocol/dataprotocol.h:
22016         * pkgconfig/Makefile.am:
22017         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22018         * pkgconfig/gstreamer-dataprotocol.pc.in:
22019         Ported dataprotol to 0.9. 
22020         Added pkgconfig files.
22022 2005-07-05  Andy Wingo  <wingo@pobox.com>
22024         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22025         Default to returning TRUE for the case when tranform_caps returns
22026         a fixed caps, like for identity or volume.
22028         * check/gst/gstbus.c (pound_bus_with_messages): 
22029         * check/gst/gstmessage.c (START_TEST): 
22030         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22031         message API change.
22033         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22034         logic weaks here: always run transform_caps, trying passthrough
22035         operation only if the original caps intersects with the transform.
22037         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22038         source and sink caps.
22040         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22041         Intersect the peer caps with the pad template before going into
22042         transform_caps.
22043         (gst_base_transform_transform_caps): More debugging.
22045         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22046         src argument.
22048 2005-07-04  Edward Hervey  <edward@fluendo.com>
22050         * gst/gstutils.c:
22051         * gst/gstutils.h:
22052         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22053         in bindings.
22055 2005-07-04  Andy Wingo  <wingo@pobox.com>
22057         * check/gst/gstpad.c: Only set explicit caps on pads.
22059 2005-07-01  Andy Wingo  <wingo@pobox.com>
22061         * tests/network-clock.scm: Commentary update.
22063         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22064         Didn't really make sense, not implementable with basetransform,
22065         etc.
22066         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22067         attempt at implementing the sync property, needs an unlock method.
22069         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22070         New func, by default returns the same caps (the identity
22071         transformation).
22072         (gst_base_transform_getcaps): Uses transform_caps to return
22073         something sensible.
22074         (gst_base_transform_setcaps): Complicated logic to get caps on
22075         both pads, even if they are different, and to call set_caps once
22076         for every time both pads get their caps set.
22077         (gst_base_transform_handle_buffer): Give the ref to the transform
22078         function. Allows in-place modification of the buffer.
22080         * gst/base/gstbasetransform.h (transform_caps): New class method.
22081         Given caps on one side, what can I do on the other.
22082         (set_caps): Take two caps, one for each side of the element.
22084         * gst/gstpad.h:
22085         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22086         caps in place. This is safe because we can check the mutability of
22087         the caps, and a good idea because fixate functions are just called
22088         as a matter of last resort. (Not actually implemented.)
22089         (gst_pad_set_caps): If the caps we're setting is actually the same
22090         as the existing pad caps, just update the pointer without calling
22091         setcaps. Assert that caps is either NULL or fixed, as per the
22092         docs.
22094         * gst/gstghostpad.c: Update for fixate changes.
22096 2005-07-02  Andy Wingo  <wingo@pobox.com>
22098         * gst/gstcaps.c:
22099         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22100         two refcounts makes it immutable, which is enough. Doc more.
22102 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22104         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22105           Put the mini_object into GValue as a mini_object,
22106           not a gpointer, since that's how we declared
22107           the signal.
22109 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22111         * examples/pwg/Makefile.am:
22112           Fix buildbot again.
22114 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22116         * docs/pwg/building-testapp.xml:
22117           Add extra check.
22118         * examples/pwg/Makefile.am:
22119           Fix buildbot.
22121 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22123         * configure.ac:
22124         * examples/Makefile.am:
22125         * examples/pwg/Makefile.am:
22126         * examples/pwg/extract.pl:
22127           Enable building the PWG examples.
22128         * docs/pwg/advanced-interfaces.xml:
22129           Add URI interface stub.
22130         * docs/pwg/advanced-types.xml:
22131         * docs/pwg/other-autoplugger.xml:
22132         * docs/pwg/appendix-porting.xml:
22133         * docs/pwg/pwg.xml:
22134           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22135         * docs/pwg/building-boiler.xml:
22136         * docs/pwg/building-chainfn.xml:
22137         * docs/pwg/building-pads.xml:
22138         * docs/pwg/building-props.xml:
22139         * docs/pwg/building-state.xml:
22140         * docs/pwg/building-testapp.xml:
22141           Update the building-*.xml parts for 0.9 changes. All examples
22142           code blocks compile in examples/pwg/*.
22144 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22146         * docs/manual/advanced-autoplugging.xml:
22147         * docs/manual/appendix-checklist.xml:
22148         * docs/manual/appendix-integration.xml:
22149         * docs/manual/highlevel-components.xml:
22150           Fix playbin/decodebin examples, update docs a bit, mention bus
22151           instead of signals in various places, mention kmplayer and
22152           kaffeine since they have a working GStreamer backend in the KDE
22153           section.
22155 2005-06-30  Wim Taymans  <wim@fluendo.com>
22157         * CHANGES-0.9:
22158         * docs/design/draft-ghostpads.txt:
22159         * docs/design/draft-push-pull.txt:
22160         * docs/design/draft-query.txt:
22161         * docs/design/part-TODO.txt:
22162         * docs/design/part-query.txt:
22163         Added CHANGES-0.9 doc, updated status of other docs.
22164         
22165         * gst/gstquery.h:
22166         Remove "hmm" macro
22168 2005-06-30  Wim Taymans  <wim@fluendo.com>
22170         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22171         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22172         (gst_base_sink_change_state):
22173         * gst/base/gstbasesink.h:
22174         Some tweaks, only EOS and a buffer complete a preroll.
22176 2005-06-30  Andy Wingo  <wingo@pobox.com>
22178         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22179         activate_push down to the internal pad as well.
22181 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22183         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22185         * gst/gsttaginterface.c:
22186           Some documentation fixes (#307394 and #307397).
22188 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22190         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22192         * gst/gstvalue.c: (gst_value_intersect_list):
22193           Fix memleak (#309125).
22195 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22197         * docs/manual/advanced-dataaccess.xml:
22198           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22199         * docs/manual/basics-pads.xml:
22200           Add reference for filtered caps to above chapter.
22202 2005-06-30  Wim Taymans  <wim@fluendo.com>
22204         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22205         (gst_bin_change_state):
22206         Probes are gone.
22207         Lame attempt at making the state change function a bit
22208         more readable.
22210 2005-06-30  Wim Taymans  <wim@fluendo.com>
22212         * docs/design/part-clocks.txt:
22213         * docs/design/part-element-sink.txt:
22214         * docs/design/part-events.txt:
22215         * docs/design/part-preroll.txt:
22216         * docs/design/part-states.txt:
22217         Some more tweeks and additions to the docs.
22219 2005-06-30  Wim Taymans  <wim@fluendo.com>
22221         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22222         (default_have_data), (gst_pad_class_init), (gst_pad_init),
22223         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22224         (gst_pad_check_pull_range), (gst_pad_get_range),
22225         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22226         * gst/gstpad.h:
22227         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22228         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22229         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22230         (gst_pad_remove_buffer_probe):
22231         Removed atomic operations, use existing LOCK.
22232         Move exception handling out of main code path.
22234 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22236         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22237         (silly_return_true_function), (gst_pad_class_init),
22238         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22239         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22240         (gst_pad_send_event):
22241           Fix accumulator, add default value by using _emitv() instead
22242           of _emit() for signal emission.
22244 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22246         * docs/manual/advanced-dataaccess.xml:
22247         * examples/manual/Makefile.am:
22248           Add probe example.
22249         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22250           Make work (??).
22252 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
22254         * gst/elements/gstfilesink.c: (gst_filesink_render):
22255           Simplify code so that we don't have to handle short
22256           writes and return GST_FLOW_ERROR if an error occured.
22258 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22260         * docs/gst/gstreamer-docs.sgml:
22261           Remove probes more.
22263 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22265         * docs/gst/gstreamer-sections.txt:
22266         * docs/gst/tmpl/gstpad.sgml:
22267         * docs/gst/tmpl/gstprobe.sgml:
22268         * gst/Makefile.am:
22269         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22270         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22271         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22272         (gst_pad_push_event), (gst_pad_send_event):
22273         * gst/gstpad.h:
22274         * gst/gstutils.c: (gst_pad_add_data_probe),
22275         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22276         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22277         (gst_pad_remove_buffer_probe):
22278         * gst/gstutils.h:
22279           Remove old probes, add new g-signal-based probes and some utility
22280           functions.
22282 2005-06-29  Edward Hervey  <edward@fluendo.com>
22284         * gst/gstelementfactory.c:
22285         * gst/gstutils.h:
22286         * gst/gstutils.c:
22287         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22288         the definition to the header file.
22290 2005-06-29  Andy Wingo  <wingo@pobox.com>
22292         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22293         plugins from the source directory.
22295 2005-06-29  Wim Taymans  <wim@fluendo.com>
22297         * docs/gst/tmpl/gstbuffer.sgml:
22298         * docs/gst/tmpl/gstclock.sgml:
22299         Some fixings for blantently wrong text.
22301 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22303         * check/Makefile.am:
22304         * gst/gst.c: (add_path_func), (init_pre):
22305         * gst/gstregistry.c: (gst_registry_add_path):
22306           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22307           only scan the GST_PLUGIN_PATH locations, and not add
22308           system locations
22310 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22312         * docs/gst/gstreamer-sections.txt:
22313         * docs/gst/tmpl/gstbasesrc.sgml:
22314         * gst/gstelement.c:
22315         * gst/gstelement.h:
22316         * gst/gstevent.c:
22317         * gst/gstutils.c:
22318           doc fixes
22320 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22322         * docs/manual/advanced-autoplugging.xml:
22323           Fix autoplugging example.
22325 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22327         * docs/manual/advanced-autoplugging.xml:
22328         * docs/manual/mime-world.fig:
22329           Try to get autoplugging working, fix type detection. Fix text
22330           in hello-world image.
22332 2005-06-29  Wim Taymans  <wim@fluendo.com>
22334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22335         (gst_base_sink_change_state):
22336         Small debug line.
22338         * gst/gstclock.h:
22339         map SIGNAL and BROADCAST to the right function.
22341         * gst/gstobject.h:
22342         Remove redundant braces.
22344         * gst/gstpad.c: (gst_pad_set_caps):
22345         Don't call setcaps function when reseting caps to NULL.
22347         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22348         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
22349         (gst_system_clock_id_unschedule):
22350         Use BROADCAST as this is what we do.
22352 2005-06-29  Wim Taymans  <wim@fluendo.com>
22354         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22355         We are actually prerolling before commiting the state
22356         change. 
22358 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22360         * docs/manual/advanced-clocks.xml:
22361         * docs/manual/advanced-interfaces.xml:
22362         * docs/manual/advanced-metadata.xml:
22363         * docs/manual/advanced-position.xml:
22364         * docs/manual/advanced-schedulers.xml:
22365         * docs/manual/advanced-threads.xml:
22366         * docs/manual/appendix-porting.xml:
22367         * docs/manual/basics-bins.xml:
22368         * docs/manual/basics-bus.xml:
22369         * docs/manual/basics-elements.xml:
22370         * docs/manual/basics-helloworld.xml:
22371         * docs/manual/basics-pads.xml:
22372         * docs/manual/highlevel-components.xml:
22373         * docs/manual/manual.xml:
22374         * docs/manual/thread.fig:
22375           Update (until threads/scheduling) Application Development Manual;
22376           remove GstThread, add GstBus, add simple porting checklist, add
22377           documentation for tag writing, clocks, make all examples until this
22378           part compile and run.
22379         * examples/manual/Makefile.am:
22380           Update from changes to Application Development Manual; add bus
22381           example, remove thread example.
22383 2005-06-28  Wim Taymans  <wim@fluendo.com>
22385         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
22386         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
22387         (gst_bus_source_dispatch):
22388         Add debugging messages.
22389         Make internal methods static.
22390         Handle the case where the bus is flushed in the handler.
22391         
22392         * gst/gstelement.c: (gst_element_get_bus):
22393         Fix refcount in _get_bus();
22395         * gst/gstpipeline.c: (gst_pipeline_change_state),
22396         (gst_pipeline_get_clock_func):
22397         Clock refcounting fixes.
22398         Handle the case where preroll timed out more gracefully.
22399         
22400         * gst/gstsystemclock.c: (gst_system_clock_dispose):
22401         Clean up the internal thread in dispose. This is needed
22402         for subclasses that actually get disposed.
22403         
22404         * gst/schedulers/threadscheduler.c:
22405         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22406         (gst_thread_scheduler_dispose):
22407         Free thread pool in dispose.
22409 2005-06-28  Andy Wingo  <wingo@pobox.com>
22411         * tests/network-clock-utils.scm (debug, print-event): New utils.
22413         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
22414         (*packet-loss*): Unified loss probability.
22415         (network-time): Report out-of-band events.
22417         * tests/plot-data: Add support for out-of-band events. Hack it
22418         into this script instead of passing it down the pipe; should fix
22419         this later.
22421 2005-06-28  Wim Taymans  <wim@fluendo.com>
22423         * docs/gst/gstreamer.types:
22424         * docs/gst/tmpl/gstbasesrc.sgml:
22425         * docs/gst/tmpl/gstpad.sgml:
22426         Docs fixes.
22428 2005-06-28  Wim Taymans  <wim@fluendo.com>
22430         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22431         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
22432         (gst_proxy_pad_do_fixatecaps):
22433         Correctly proxy the check_pull_range function.
22435 2005-06-28  Andy Wingo  <wingo@pobox.com>
22437         * tests/network-clock.scm: Removed need for slib.
22438         
22439 2005-06-28  Wim Taymans  <wim@fluendo.com>
22441         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
22442         (gst_basesink_preroll_queue_flush):
22443         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
22444         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
22445         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22446         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22447         (gst_proxy_pad_set_property):
22448         * gst/gstpad.c:
22449         * gst/gstpad.h:
22450         * gst/gstqueue.c: (gst_queue_init):
22451         The deprecated pad loop function is removed now.
22453 2005-06-28  Andy Wingo  <wingo@pobox.com>
22455         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22456         New parameters, simulate network packet loss.
22458         * tests/network-clock-utils.scm: Initialize the RNG.
22460 2005-06-28  Wim Taymans  <wim@fluendo.com>
22462         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22463         (gst_basesink_event), (gst_basesink_deactivate):
22464         Flushing the preroll queue always needs to unlock the waiters.
22466 2005-06-28  Edward Hervey  <edward@fluendo.com>
22468         * gst/gstpipeline.c: (gst_pipeline_send_event): 
22469         Wheen a seek was successful on a pipeline, set the stream_time to the
22470         seek offset in order to have a synchronized stream_time.
22472 2005-06-28  Wim Taymans  <wim@fluendo.com>
22474         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22475         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22476         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22477         (gst_proxy_pad_do_fixatecaps):
22478         Call wrapper function instead of just calling the function
22479         pointers. This takes care of any locking and whatmore.
22481 2005-06-28  Wim Taymans  <wim@fluendo.com>
22483         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22484         (gst_pad_pull_range):
22485         * gst/gstpad.h:
22486         CONNECTED -> LINKED.
22488 2005-06-28  Andy Wingo  <wingo@pobox.com>
22490         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22491         source-munging commit!!!
22493         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
22494         (gst_object_sink): Take gpointer arguments, not GstObject --
22495         avoids casts. Like GLib.
22497         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22498         activate.
22500 2005-06-27  Andy Wingo  <wingo@pobox.com>
22502         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22503         remaining buffer.
22505         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22506         returns a sorted copy of the trace list.
22507         (gst_alloc_trace_print_live): New API, only prints traces with
22508         live objects. Sort the list.
22509         (gst_alloc_trace_print_all): Sort the list.
22510         (gst_alloc_trace_print): Align columns.
22512         * gst/elements/gstttypefindelement.c:
22513         * gst/elements/gsttee.c:
22514         * gst/base/gstbasesrc.c:
22515         * gst/base/gstbasesink.c:
22516         * gst/base/gstbasetransform.c:
22517         * gst/gstqueue.c: Adapt for pad activation changes.
22519         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22520         sched.
22521         (gst_pipeline_dispose): Drop ref on sched.
22523         * gst/gstpad.c (gst_pad_init): Set the default activate func.
22524         (gst_pad_activate_default): Push mode by default.
22525         (pre_activate_switch, post_activate_switch): New stubs, things to
22526         do before and after switching activation modes on pads.
22527         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22528         the pad's activate function to choose which mode to activate.
22529         Shortcut on deactivation and call the right function directly.
22530         (gst_pad_activate_pull): New API, (de)activates a pad in pull
22531         mode.
22532         (gst_pad_activate_push): New API, same for push mode.
22533         (gst_pad_set_activate_function) 
22534         (gst_pad_set_activatepull_function) 
22535         (gst_pad_set_activatepush_function): Setters for new API.
22537         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22538         Trace all miniobjects.
22539         (gst_mini_object_make_writable): Unref the arg if we copy, like
22540         gst_caps_make_writable.
22542         * gst/gstmessage.c (_gst_message_initialize): No trace init.
22544         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
22545         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22546         Adapt for new pad API.
22548         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22550         * gst/gstelement.h:
22551         * gst/gstelement.c (gst_element_iterate_src_pads) 
22552         (gst_element_iterate_sink_pads): New API functions.
22553         
22554         * gst/gstelement.c (iterator_fold_with_resync): New utility,
22555         should fold into gstiterator.c in some form.
22556         (gst_element_pads_activate): Simplified via use of fold and
22557         delegation of decisions to gstpad->activate.
22559         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22560         help in debugging.
22562         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22563         class once in init, like gstmessage. Didn't run into this issue
22564         but it seems correct. Don't initialize a trace, gstminiobject does
22565         that.
22567         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22568         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22569         to the bus.
22570         (assert_live_count): New util function, uses alloc traces to check
22571         cleanup.
22573         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22574         To be modified when unlink drops the internal pad.
22576 2005-06-27  Wim Taymans  <wim@fluendo.com>
22578         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22579         (gst_bin_change_state):
22580         Cleanup the get_state() function a little, make sure it
22581         iterates the same set of elements.
22582         Added stub iterate_state_order().
22584 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22586         * docs/gst/gstreamer-docs.sgml:
22587         * docs/gst/gstreamer-sections.txt:
22588         * docs/gst/gstreamer.types:
22589         * docs/gst/tmpl/gstbasesink.sgml:
22590         * docs/gst/tmpl/gstbasesrc.sgml:
22591         * docs/gst/tmpl/gstbasetransform.sgml:
22592         * docs/gst/tmpl/gstelement.sgml:
22593         * docs/gst/tmpl/gstiterator.sgml:
22594         * gst/base/gstbasesrc.c:
22595         * gst/base/gstbasesrc.h:
22596         * gst/base/gstbasetransform.h:
22597         * gst/gstelement.c:
22598         * gst/gstiterator.h:
22599           adding basetransform and iterator docs
22601 2005-06-27  Andy Wingo  <wingo@pobox.com>
22603         * docs/design/part-activation.txt: Notes on how activation should
22604         work -- not quite implemented yet.
22606 2005-06-25  Wim Taymans  <wim@fluendo.com>
22608         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22609         At least get the chain function correct, needs more
22610         fixing.
22612 2005-06-25  Wim Taymans  <wim@fluendo.com>
22614         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22615         (gst_basesink_handle_object), (gst_basesink_event),
22616         (gst_basesink_do_sync), (gst_basesink_handle_event),
22617         (gst_basesink_change_state):
22618         * gst/gsttask.h:
22619         Right, two problems here: ghostpads don't take locks and
22620         glib _rec_mutex_lock_full() with depth==0 still locks.
22621         Catch illegal locking and g_warn them.
22623 2005-06-25  Wim Taymans  <wim@fluendo.com>
22625         * check/states/sinks.c: (START_TEST), (gst_object_suite):
22626         Have to check for completion now...
22628 2005-06-25  Wim Taymans  <wim@fluendo.com>
22630         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22631         (gst_basesink_handle_object), (gst_basesink_event),
22632         (gst_basesink_do_sync), (gst_basesink_handle_event),
22633         (gst_basesink_change_state):
22634         * gst/gstpad.h:
22635         Unlock STREAM_LOCK whatever the recursion was.
22637 2005-06-25  Wim Taymans  <wim@fluendo.com>
22639         * gst/base/gstbasesink.c: (gst_basesink_set_property),
22640         (gst_basesink_preroll_queue_empty),
22641         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22642         (gst_basesink_event), (gst_basesink_do_sync),
22643         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22644         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22645         (gst_basesink_change_state):
22646         Reworked the base sink, handle event and buffer serialisation
22647         correctly and removed possible deadlock.
22648         Handle EOS correctly.
22650 2005-06-25  Wim Taymans  <wim@fluendo.com>
22652         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22653         (gst_pipeline_change_state):
22654         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22655         Allow elements to post EOS in the state change function.
22656         Fix up -launch, make it exit the poll loop when the
22657         pipeline actually changed state.
22658         Fix up warning parsing in -launch.
22660 2005-06-25  Wim Taymans  <wim@fluendo.com>
22662         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22663         (gst_tee_sink_activate):
22664         Core takes STREAM_LOCK for us now.
22666 2005-06-25  Wim Taymans  <wim@fluendo.com>
22668         * gst/gstelement.c: (gst_element_get_state_func),
22669         (gst_element_set_state):
22670         * gst/gstelement.h:
22671         * gst/gstmessage.c: (gst_message_parse_error),
22672         (gst_message_parse_warning):
22673         Keep track of current target state while performing a state
22674         change so that subclasses can do something interesting.
22675         Fix parsing of warning/error messages when GError is NULL.
22677 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22679         * docs/gst/Makefile.am:
22680         * docs/gst/gstreamer-docs.sgml:
22681         * docs/gst/gstreamer-sections.txt:
22682         * docs/gst/gstreamer.types:
22683         * docs/gst/tmpl/gstbasesink.sgml:
22684         * docs/gst/tmpl/gstbasesrc.sgml:
22685         * docs/gst/tmpl/gstbin.sgml:
22686         * docs/gst/tmpl/gstcompat.sgml:
22687         * docs/gst/tmpl/gstfakesink.sgml:
22688         * docs/gst/tmpl/gstfakesrc.sgml:
22689         * docs/gst/tmpl/gstfilesink.sgml:
22690         * docs/gst/tmpl/gstfilesrc.sgml:
22691         * docs/gst/tmpl/gstindex.sgml:
22692         * docs/manual/appendix-quotes.xml:
22693         * gst/base/gstbasesrc.h:
22694         * gst/elements/gstfakesrc.h:
22695         * gst/gstmessage.h:
22696           start pulling in base classes and elements in our docs
22698 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
22700         * docs/gst/Makefile.am:
22701         * docs/libs/Makefile.am:
22702           fixed make distcheck with gtk-doc 1.3
22704 2005-06-23  Wim Taymans  <wim@fluendo.com>
22706         * gst/gstelement.c: (gst_element_get_state_func),
22707         (gst_element_set_state), (gst_element_change_state):
22708         When the state did not change, also report NO_PREROLL
22709         when it matters.
22711 2005-06-23  Wim Taymans  <wim@fluendo.com>
22713         * gst/gstpad.c: (gst_pad_event_default):
22714         * gst/gstqueue.c: (gst_queue_loop):
22715         No unsafe task pausing please.
22717 2005-06-23  Wim Taymans  <wim@fluendo.com>
22719         * gst/schedulers/threadscheduler.c:
22720         (gst_thread_scheduler_task_start),
22721         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22722         Ref the task before pushing it on the threadpool. This
22723         makes sure that we have a ref when the threadfunction is
22724         actually called.
22726 2005-06-23  Andy Wingo  <wingo@pobox.com>
22728         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22729         offset is greater than the file's size.
22731         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
22732         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22733         * gst/gstobject.c (gst_object_class_init): Make the class lock
22734         recursive. Wim won't let me drop deep_notify. Decodebin works
22735         again, whoopdy doo.
22737         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22738         internal pad, and hacks accordingly. Doesn't do it on the target
22739         pad because we change its caps. Probably catches all cases of
22740         interest tho.
22741         (gst_ghost_pad_set_property): Connect to notify::caps as
22742         appropritate.
22744         * tests/network-clock.scm (plot-simulation): Pipe data to the
22745         elite python skript.
22747         * tests/network-clock-utils.scm (define-parameter): New macro,
22748         defines a parameter that can be set via the command line.
22749         (set-parameter!, parse-parameter-arguments): Command line args
22750         parser.
22752         * tests/plot-data: Simple matplotlib-based plotter, takes input on
22753         stdin.
22755 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
22757         * gst/elements/gsttypefindelement.c:
22758         (gst_type_find_element_handle_event):
22759           Don't restart typefinding on a discont.
22760         * gst/gstelement.c: (gst_element_set_state):
22761           Debug spelling fix.
22762         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22763           Allow changing mode of an active pad.
22764           Debug output fixes.
22765         * gst/registries/gstlibxmlregistry.c: (load_feature):
22766           Don't cast a static pad template to a normal pad template.
22768 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22770         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22771         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22772           remove gst_strtoll completely, since it didn't actually do
22773           anything more than what g_ascii_strtoull already does.
22774           check for range errors when deserializing
22775           do a cast for the unsigned cases; but further fixing needs
22776           a decision on what the interpretation of "(int)" and
22777           deserialization should be for values that fall outside the
22778           type's boundaries (ie, refuse, or interpret as casting)
22780 2005-06-23  Wim Taymans  <wim@fluendo.com>
22782         * check/Makefile.am:
22783         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22784         * docs/design/part-live-source.txt:
22785         * docs/design/part-states.txt:
22786         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22787         (gst_basesrc_set_live), (gst_basesrc_is_live),
22788         (gst_basesrc_get_range), (gst_basesrc_activate),
22789         (gst_basesrc_change_state):
22790         * gst/base/gstbasesrc.h:
22791         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22792         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22793         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22794         * gst/gstelement.c: (gst_element_get_state_func),
22795         (gst_element_set_state):
22796         * gst/gstelement.h:
22797         * gst/gsttypes.h:
22798         * tools/gst-launch.c: (event_loop), (main):
22799         Added support for live sources and other elements that
22800         cannot do preroll.
22801         Updated design docs, added live-source design doc.
22802         Implemented live source functionality in basesrc
22803         Fix error condition in _bin_get_state()
22804         Implement live source handling in -launch.
22805         Added check for live sources.
22806         Fixed case in GstBin where elements were changed state
22807         multiple times.
22810 2005-06-23  Andy Wingo  <wingo@pobox.com>
22812         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22813         borken refcounting.
22815         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22816         gst_caps_replace takes care of this for us.
22818         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22819         gst_pad_set_caps on the target, not just its setcaps() function.
22821         * tests/network-clock.scm: 
22822         * tests/network-clock-utils.scm: A network clock simulator.
22823         Something of an algorithmic testbed before doing something in C.
22825 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22827         * check/Makefile.am:
22828         * check/gst/capslist.h:
22829           copy over from 0.8, and add two with bitmasks specified with
22830           (int) 0xFF...
22831         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22832           add test to parse everything from capslist.h
22833         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22834         (main):
22835           add test for structure deserialization
22836         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22837           add tests for deserialization of strings to int types
22838         * gst/gststructure.c: (gst_structure_nth_field_name):
22839         * gst/gststructure.h:
22840           add a way to get the name of a field referenced by index
22841         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22842           instead of checking if the resulting long long lies between
22843           min and max, we check if the long long would fit into
22844           a number of bytes for the final type.
22845           This fixes cases where a string represents 2^32 - 1, which
22846           when cast to int would be the (valid) -1, but is bigger than
22847           G_MAXINT
22849 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22851         * gst/parse/grammar.y:
22852           add a log line for type deserialization
22854 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22856         * check/gst/gstvalue.c: (START_TEST):
22857         * gst/gstvalue.c: (gst_value_deserialize):
22858           return long long, not int, so gint64 deserialization actually
22859           works.  Is there any flag that makes the compiler check this ?
22860           Fixes #308559
22862 2005-06-22  Wim Taymans  <wim@fluendo.com>
22864         * gst/gstbuffer.h:
22865         Added convenience macros for setting buffers in GValue.
22867 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22869         * check/gst/.cvsignore:
22870         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22871           add a test deserializing int64, and comment part out because
22872           it fails, yay !
22874 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22876         * check/Makefile.am:
22877         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22878         * testsuite/Makefile.am:
22879         * testsuite/caps/Makefile.am:
22880         * testsuite/caps/value_serialize.c:
22881         * testsuite/test_gst_init.c:
22882           move a value_serialize test over
22884 2005-06-20  Wim Taymans  <wim@fluendo.com>
22886         * gst/gstpad.c:
22887         Small doc updates.
22888         
22889         * gst/gstvalue.c: (gst_value_compare_buffer),
22890         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22891         (gst_value_compare_flags), (gst_value_serialize_flags),
22892         (gst_value_deserialize_flags), (_gst_value_initialize):
22893         Fix serialisation of buffers, they are not boxed types anymore
22895 2005-06-20  Wim Taymans  <wim@fluendo.com>
22897         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22898         Testcase to show error in buffer-on-caps serialisation.
22900 2005-06-20  Andy Wingo  <wingo@pobox.com>
22902         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22903         will be adding to later.
22905         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22906         if its socks fill with rocks.
22907         (gst_system_clock_obtain): Set the name on object construction.
22908         Avoid double-checked locking.
22910 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22912         * gst/gsturi.c: (gst_element_make_from_uri):
22913           Fix potential endless loop.
22915 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22917         * check/Makefile.am:
22918           add gsttag
22919         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22920         (main):
22921           move over from testsuite dir and clean up
22922         * configure.ac:
22923         * gst/gsttag.c:
22924         * testsuite/Makefile.am:
22925         * testsuite/tags/.cvsignore:
22926         * testsuite/tags/Makefile.am:
22927         * testsuite/tags/merge.c:
22928           remove testsuite/tags
22930 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22932         * docs/gst/gstreamer-sections.txt:
22933         * docs/gst/tmpl/gstenumtypes.sgml:
22934         * win32/gstenumtypes.c:
22935           clean up documentation build a little
22937 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22939         * check/gstcheck.h:
22940           add macros for checking refcounts on objects and caps
22941         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22942           add some more unit tests
22943         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22944         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22945           fix leaked refcounts (I hope :)) so unittest works
22946         * gst/gstpad.h:
22947           whitespace removal
22949 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22951         * configure.ac: back to HEAD
22953 === release 0.9.1 ===
22955 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22957         * NEWS:
22958         * RELEASE:
22959           updated
22961 2005-06-17  Andy Wingo  <wingo@pobox.com>
22963         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22964         assert; it's always possible that the pad gets deactivated in
22965         between the checks in gstpad.c and the implementation. Rely on
22966         finish_preroll() to return a FLUSHING or similar instead of on the
22967         assert.
22968         
22969         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22970         clock and post an EOS message if we come out of finish_preroll in
22971         the playing state.
22973 2005-06-16  David Schleef  <ds@schleef.org>
22975         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22976         (gst_capsfilter_set_property): Allow NULL as possible value
22977         for filter_caps property, indicating GST_CAPS_ANY.
22979 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22981         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22982           fix debug output
22983         * gst/schedulers/Makefile.am:
22984           use libgst prefix
22985         * gstreamer.spec.in:
22986           fix spec for it
22988 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22990         * gstreamer.spec.in:
22991           clean up
22993 2005-06-08  Andy Wingo  <wingo@pobox.com>
22995         * gst/gstutils.c: RPAD fixes all around.
22996         (gst_element_link_pads): Refcounting fixes.
22998         * tools/gst-inspect.c:
22999         * tools/gst-xmlinspect.c:
23000         * parse/grammar.y:
23001         * gst/base/gsttypefindhelper.c:
23002         * gst/base/gstbasesink.c:
23003         * gst/gstqueue.c: RPAD fixes.
23005         * gst/gstghostpad.h:
23006         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23007         pads. The tricky thing is they provide both source and sink
23008         interfaces, since they proxy the internal pad for the external
23009         pad, and vice versa. Implement with lower-level ProxyPad objects,
23010         with the interior proxy pad as a child of the exterior ghost pad.
23011         Should write a doc on this.
23012         
23013         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23014         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23015         gst_object API.
23016         
23017         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23018         pads are real pads. No ghost pads in this file. Not documenting
23019         the myriad s/RPAD/PAD/ and REALIZE fixes.
23020         (gst_pad_class_init): Add properties for "direction" and
23021         "template". Both are construct-only, so they can't change during
23022         the life of the pad. Fixes properly deriving from GstPad.
23023         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23024         derived objects, just set properties when creating the objects via
23025         g_object_new.
23026         (gst_pad_get_parent): Implement as a function, return NULL if the
23027         parent is not an element.
23028         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23029         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23030         
23031         * gst/gstobject.c (gst_object_class_init): Make name a construct
23032         property. Don't set it in the object init.
23034         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23035         with UNKNOWN direction.
23036         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23037         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23038         (gst_element_remove_pad): Remove ghost-pad special cases.
23039         (gst_element_pads_activate): Remove rpad cruft.
23041         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23042         catch the pad's-parent-not-an-element case.
23044         * gst/gst.h: Include gstghostpad.h.
23046         * gst/gst.c (init_post): No more real, ghost pads.
23048         * gst/Makefile.am: Add gstghostpad.[ch].
23050         * check/Makefile.am:
23051         * check/gst/gstbin.c:
23052         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23053         into a bin creates ghost pads, and that the refcounts are right.
23054         Partly moved from gstbin.c.
23056 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23058         * check/gst-libs/.cvsignore:
23059         * check/gst/.cvsignore:
23060         * check/pipelines/.cvsignore:
23061           ignore more
23062         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23063         (START_TEST), (cleanup_suite), (main):
23064           add some tests related to cleanup after running pipelines
23066 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23068         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23069           add a testsuite for GstBuffer
23071 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23073         * gst/gstminiobject.h:
23074           add defines for accessing the refcount
23076 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23078         * Makefile.am: added support for html unit test coverage reports
23080 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23082         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23083           Free existing caps if the capsfilter changes. Add a FIXME about
23084           setting those caps on the pads.
23086         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23087           Before adding a ghost pad to a parent bin, check that there isn't
23088           already one for the element on the bin. Prevents infinite recursion
23089           when using decodebin in parse pipelines. Andy says he'll rewrite the
23090           way this works anyway, so ignore the hack.
23092 2005-06-02  Andy Wingo  <wingo@pobox.com>
23094         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23095         file size, pass it on to the type find helper.
23097         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23098         segment_start and segment_end properly according to the seek
23099         method. Segment_end is still a bit flaky because offset can be
23100         negative for CUR and END cases, but it takes -1 as an "unset"
23101         value.
23103 2005-06-02  Wim Taymans  <wim@fluendo.com>
23105         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23106         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23107         (gst_basesink_activate):
23108         * gst/base/gstbasesink.h:
23109         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23110         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23111         (gst_pad_query), (gst_pad_start_task):
23112         * gst/gstpad.h:
23113         * gst/gstqueue.c: (gst_queue_bufferalloc),
23114         (gst_queue_handle_sink_event), (gst_queue_chain):
23115         Bufferalloc: return GstFlowReturn to more accuratly report
23116         why allocation failed.
23118 2005-06-02  Wim Taymans  <wim@fluendo.com>
23120         * gst/gstpipeline.c: (gst_pipeline_send_event):
23121         Take snapshot of state without blocking.
23123 2005-06-02  Wim Taymans  <wim@fluendo.com>
23125         * docs/design/part-TODO.txt:
23126         * docs/design/part-caps.txt:
23127         * docs/design/part-clocks.txt:
23128         * docs/design/part-negotiation.txt:
23129         * docs/design/part-preroll.txt:
23130         Small doc updates 
23132 2005-05-30  Wim Taymans  <wim@fluendo.com>
23134         * gst/elements/gstidentity.c: (gst_identity_event),
23135         (gst_identity_transform), (gst_identity_get_property):
23136         Protect last_message property as it is accessed from
23137         multiple threads.
23139 2005-05-30  Wim Taymans  <wim@fluendo.com>
23141         * gst/gstelement.c: (gst_element_init),
23142         (gst_element_pads_activate), (gst_element_change_state):
23143         Slicker pad activation code.
23145 2005-05-30  Wim Taymans  <wim@fluendo.com>
23147         * gst/Makefile.am:
23148         * gst/gstelement.h:
23149         * gst/gstelementfactory.h:
23150         * gst/gsttypes.h:
23151         Move elementfactory methods to separate .h file.
23153 2005-05-30  Wim Taymans  <wim@fluendo.com>
23155         * docs/design/part-overview.txt:
23156         * gst/gstsystemclock.h:
23157         Small typo fixes, doc updates.
23159 2005-05-30  Wim Taymans  <wim@fluendo.com>
23161         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23162         (init_popt_callback):
23163         Remove cpu-opt flag.
23165 2005-05-30  Wim Taymans  <wim@fluendo.com>
23167         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23168         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23169         * gst/gstbuffer.h:
23170         Avoid typechecking in places where not needed.
23171         Added accessor for malloc_data.
23173 2005-05-30  Wim Taymans  <wim@fluendo.com>
23175         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23176         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23177         (gst_pad_configure_sink), (gst_pad_configure_src),
23178         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23179         (gst_pad_start_task):
23180         Propagate errors from _set_caps() in configure_src/sink
23181         functions instead of returning TRUE.
23182         FLUSH events can travel up and downstream
23185 2005-05-30  Wim Taymans  <wim@fluendo.com>
23187         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23188         (gst_basesink_activate):
23189         Handle EOS in preroll.
23191 2005-05-30  Wim Taymans  <wim@fluendo.com>
23193         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23194         (gst_queue_loop), (gst_queue_handle_src_event):
23195         Remove old pieces of code
23196         Flushing the queue in an upstream event is a very bad idea.
23198 2005-05-26  Andy Wingo  <wingo@pobox.com>
23200         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23201         gst_value_set_mini_object so as to add a ref on the object (which
23202         will be removed when the value is unset).
23204         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23205         arg type in ::handoff.
23207         * gst/gstelement.c (gst_element_change_state): Also deactivate
23208         pads in READY->NULL, just in case the element didn't make it to
23209         PAUSED. Wingo tested, Wim approved.
23211 2005-05-26  Wim Taymans  <wim@fluendo.com>
23213         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23214         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23215         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23216         A flushing pad cannot be used to alloc_buffer from.
23218 2005-05-26  Wim Taymans  <wim@fluendo.com>
23220         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23221         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23222         (gst_bus_source_dispatch), (gst_bus_source_finalize),
23223         (gst_bus_create_watch), (gst_bus_add_watch_full):
23224         * gst/gstbus.h:
23225         Implement a real GSource and use g_main_context_wakeup() to
23226         signal new messages instead of the socketpair.
23228 2005-05-25  Wim Taymans  <wim@fluendo.com>
23230         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23231         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23232         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23233         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23234         (gst_pad_send_event), (gst_pad_start_task):
23235         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23236         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23237         (gst_queue_sink_activate), (gst_queue_src_activate),
23238         (gst_queue_change_state):
23239         * gst/gstqueue.h:
23240         Fix state changes for non sinks. We now change sinks, then elements
23241         with unconnected srcpads, then the rest.
23242         More efficient queue unlocking in flush and state changes.
23243         Set the pad activate mode even if it does not have an activate
23244         function.
23246 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23248         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23249           Don't go in pull mode for non-seekable sources.
23250         * gst/elements/gsttypefindelement.h:
23251         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23252         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23253         (free_entry), (stop_typefinding),
23254         (gst_type_find_element_handle_event), (find_peek),
23255         (gst_type_find_element_chain), (do_pull_typefind),
23256         (gst_type_find_element_change_state):
23257           Allow typefinding (w/o seeking) in push-mode, simplified version
23258           of what was in 0.8.
23259         * gst/gstutils.c: (gst_buffer_join):
23260         * gst/gstutils.h:
23261           gst_buffer_join() from 0.8.
23263 2005-05-25  Wim Taymans  <wim@fluendo.com>
23265         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23266         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23267         (gst_pad_send_event), (gst_pad_start_task):
23268         Disable attempt at mode switching until it is figured out.
23270 2005-05-25  Wim Taymans  <wim@fluendo.com>
23272         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23273         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23274         (gst_basesink_finish_preroll), (gst_basesink_chain),
23275         (gst_basesink_loop), (gst_basesink_activate),
23276         (gst_basesink_change_state):
23277         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23278         (gst_basesrc_get_range), (gst_basesrc_loop),
23279         (gst_basesrc_activate):
23280         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23281         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23282         (gst_real_pad_init), (gst_real_pad_set_property),
23283         (gst_real_pad_get_property), (gst_pad_set_active),
23284         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23285         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23286         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23287         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23288         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23289         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23290         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23291         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23292         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23293         (gst_pad_stop_task):
23294         * gst/gstpad.h:
23295         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23296         (gst_queue_loop), (gst_queue_src_activate):
23297         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23298         (gst_task_get_state):
23299         * gst/gsttask.h:
23300         * gst/schedulers/threadscheduler.c:
23301         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23302         Implement gst_pad_pause/start/stop_task(), take STREAM lock
23303         in task function.
23304         Remove ACTIVE pad flag, use FLUSHING everywhere
23305         Added _pad_chain(), _pad_get_range() to call chain/getrange 
23306         functions.
23307         Add locks around IS_FLUSHING when reading.
23308         Take STREAM lock in chain(), get_range() functions so plugins
23309         don't need to take it anymore.
23310         
23313 2005-05-25  Wim Taymans  <wim@fluendo.com>
23315         * tools/gst-launch.c: (event_loop):
23316         Unref message after using its contents instead of
23317         before.
23319 2005-05-24  Wim Taymans  <wim@fluendo.com>
23321         * docs/design/draft-ghostpads.txt:
23322         * docs/design/draft-push-pull.txt:
23323         * docs/design/draft-query.txt:
23324         * docs/design/part-overview.txt:
23325         Docs updates, added general overview doc.
23327 2005-05-21  David Schleef  <ds@schleef.org>
23329         * docs/gst/tmpl/old/GstBin.sgml:
23330         * docs/gst/tmpl/old/GstBuffer.sgml:
23331         * docs/gst/tmpl/old/GstCaps.sgml:
23332         * docs/gst/tmpl/old/GstClock.sgml:
23333         * docs/gst/tmpl/old/GstCompat.sgml:
23334         * docs/gst/tmpl/old/GstData.sgml:
23335         * docs/gst/tmpl/old/GstElement.sgml:
23336         * docs/gst/tmpl/old/GstEvent.sgml:
23337         * docs/gst/tmpl/old/GstIndex.sgml:
23338         * docs/gst/tmpl/old/GstStructure.sgml:
23339         * docs/gst/tmpl/old/GstTag.sgml:
23340         * docs/gst/tmpl/old/cothreads.sgml:
23341         * docs/gst/tmpl/old/cothreads_compat.sgml:
23342         * docs/gst/tmpl/old/gettext.sgml:
23343         * docs/gst/tmpl/old/gobject2gtk.sgml:
23344         * docs/gst/tmpl/old/grammar.tab.sgml:
23345         * docs/gst/tmpl/old/gst-i18n-app.sgml:
23346         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
23347         * docs/gst/tmpl/old/gst_private.sgml:
23348         * docs/gst/tmpl/old/gstaggregator.sgml:
23349         * docs/gst/tmpl/old/gstarch.sgml:
23350         * docs/gst/tmpl/old/gstatomic_impl.sgml:
23351         * docs/gst/tmpl/old/gstbufferstore.sgml:
23352         * docs/gst/tmpl/old/gstdata_private.sgml:
23353         * docs/gst/tmpl/old/gstdisksink.sgml:
23354         * docs/gst/tmpl/old/gstdisksrc.sgml:
23355         * docs/gst/tmpl/old/gstelementfactory.sgml:
23356         * docs/gst/tmpl/old/gstextratypes.sgml:
23357         * docs/gst/tmpl/old/gstfakesink.sgml:
23358         * docs/gst/tmpl/old/gstfakesrc.sgml:
23359         * docs/gst/tmpl/old/gstfdsink.sgml:
23360         * docs/gst/tmpl/old/gstfdsrc.sgml:
23361         * docs/gst/tmpl/old/gstfilesink.sgml:
23362         * docs/gst/tmpl/old/gstfilesrc.sgml:
23363         * docs/gst/tmpl/old/gsthttpsrc.sgml:
23364         * docs/gst/tmpl/old/gstidentity.sgml:
23365         * docs/gst/tmpl/old/gstindexfactory.sgml:
23366         * docs/gst/tmpl/old/gstmarshal.sgml:
23367         * docs/gst/tmpl/old/gstmd5sink.sgml:
23368         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
23369         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
23370         * docs/gst/tmpl/old/gstpadtemplate.sgml:
23371         * docs/gst/tmpl/old/gstpipefilter.sgml:
23372         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
23373         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
23374         * docs/gst/tmpl/old/gstshaper.sgml:
23375         * docs/gst/tmpl/old/gstspider.sgml:
23376         * docs/gst/tmpl/old/gstspideridentity.sgml:
23377         * docs/gst/tmpl/old/gststatistics.sgml:
23378         * docs/gst/tmpl/old/gsttee.sgml:
23379         * docs/gst/tmpl/old/gsttimecache.sgml:
23380         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
23381         * docs/gst/tmpl/old/gstxmlregistry.sgml:
23382         * docs/gst/tmpl/old/gthread-cothreads.sgml:
23383         * docs/gst/tmpl/old/types.sgml:
23384           I didn't intend to add these or check them in.
23386 2005-05-19  David Schleef  <ds@schleef.org>
23388         * configure.ac: Use -no-common everywhere.  In a sane world, it
23389           would be the default in libtool, because without it, you can't
23390           build DLLs on Windows.
23391         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
23392         * docs/gst/gstreamer-sections.txt:
23393         * docs/gst/tmpl/gstcpu.sgml:
23394         * docs/gst/tmpl/gstdata.sgml:
23395         * docs/gst/tmpl/gstthread.sgml:
23397 2005-05-19  David Schleef  <ds@schleef.org>
23399         * gst/gstminiobject.c: (gst_value_set_mini_object),
23400         (gst_value_take_mini_object), (gst_value_get_mini_object):
23401         * gst/gstminiobject.h: Add GValue set/get functions.
23403 2005-05-19  Wim Taymans  <wim@fluendo.com>
23405         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
23406         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
23407         (gst_subbuffer_init), (gst_buffer_is_span_fast):
23408         * gst/gstbuffer.h:
23409         * gst/gstbus.c: (gst_bus_post):
23410         * gst/gstelement.c: (gst_element_get_random_pad):
23411         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
23412         Make subbufer unref the parent in finalize.
23413         some more debugging info.
23416 2005-05-19  Wim Taymans  <wim@fluendo.com>
23418         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23419         (gst_basesink_init), (gst_basesink_finalize),
23420         (gst_basesink_activate), (gst_basesink_change_state):
23421         Don't free preroll queue too early.
23423 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23425         * gst/Makefile.am:
23426         * gst/ROADMAP:
23427           Hi, I'm outdated. Please shoot me.
23429 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23431         * gst/gstpipeline.c: (gst_pipeline_send_event):
23432           Do not access variables after they have been deleted.
23434 2005-05-19  Wim Taymans  <wim@fluendo.com>
23436         * tools/gst-inspect.c: (print_plugin_features):
23437         A plugin feature does unfortunatly not use the
23438         object name yet...
23440 2005-05-18  Wim Taymans  <wim@fluendo.com>
23442         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
23443         Port _span() functions to new subbuffers.
23445 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23447         * gst/gstbin.c: (gst_bin_add_func):
23448           Fix clock settery in bins when adding kids after the clock has
23449           been selected.
23451 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23453         * gst/elements/gstidentity.c: (gst_identity_class_init):
23454           Workaround until signals support GstMiniObject.
23456 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
23458         * gst/gstbuffer.c:
23459         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23461 2005-05-18  Wim Taymans  <wim@fluendo.com>
23463         * gst/base/Makefile.am:
23464         * gst/base/gstadapter.c: (gst_adapter_base_init),
23465         (gst_adapter_class_init), (gst_adapter_init),
23466         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23467         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23468         (gst_adapter_flush), (gst_adapter_available),
23469         (gst_adapter_available_fast):
23470         * gst/base/gstadapter.h:
23471         Ported and added adapter to the base classes.
23473 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23475         * gst/gst.c:
23476         * gst/gstmessage.c:
23477           Make sure the class is reffed/unreffed once before threads can be
23478           used.  Fixes #304551.
23480 2005-05-17  Wim Taymans  <wim@fluendo.com>
23482         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23483         (gst_basesink_chain_unlocked), (gst_basesink_activate):
23484         * gst/gstminiobject.c: (gst_mini_object_get_type),
23485         (gst_mini_object_free):
23486         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23487         (gst_pad_push), (gst_pad_push_event):
23488         * gst/gstqueue.c: (gst_queue_change_state):
23489         Don't queue buffers in basesink when we are flushing.
23490         Unref buffer when flushing in basesink.
23491         Flush queue when going to READY
23492         Unref buffer when _push() returns an error.
23493         Don't free MiniObject instance when refcount is incremented
23494         in _finalize() so that we can recover objects.
23496 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23498         * docs/manual/advanced-schedulers.xml:
23499         * docs/manual/appendix-checklist.xml:
23500         * docs/pwg/advanced-clock.xml:
23501         * docs/pwg/advanced-interfaces.xml:
23502         * docs/pwg/advanced-request.xml:
23503         * docs/pwg/advanced-types.xml:
23504         * docs/pwg/intro-preface.xml:
23505         * examples/plugins/example.c: (gst_example_get_type),
23506         (gst_example_class_init), (gst_example_chain),
23507         (gst_example_set_property), (gst_example_get_property),
23508         (gst_example_change_state), (plugin_init):
23509         * examples/plugins/example.h:
23510           small doc fixes
23512 2005-05-17  Wim Taymans  <wim@fluendo.com>
23514         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23515         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23516         * gst/gstqueue.c: (gst_queue_change_state):
23517         Clear queue when going to READY.
23518         Remove IN_SETCAPS flag too.
23520 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
23522         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23523           Remove implicit cast from gboolean to GstElementStateReturn;
23524           make sure we still return failure in paused => ready case if
23525           the parent class fails to change state and our own stop 
23526           vfunc succeeds.
23528 2005-05-17  Wim Taymans  <wim@fluendo.com>
23530         * tools/gst-launch.c: (event_loop):
23531         Message was unreffed too soon.
23533 2005-05-16  Andy Wingo  <wingo@pobox.com>
23535         * gst/gstbin.c (sink_iterator_filter): Err... um...
23537         * check/gst/gstbin.c (test_ghost_pads): New test for the
23538         ghosting-if-elements-not-in-same-bin behavior.
23540 2005-05-16  David Schleef  <ds@schleef.org>
23542         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23543         accessing refcount directly.
23545 2005-05-15  David Schleef  <ds@schleef.org>
23547         * check/Makefile.am: remove GstData checks
23548         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23549         * gst/Makefile.am: add miniobject, remove data
23550         * gst/gst.h: add miniobject, remove data
23551         * gst/gstdata.c: remove
23552         * gst/gstdata.h: remove
23553         * gst/gstdata_private.h: remove
23554         * gst/gsttypes.h: remove GstEvent and GstMessage
23555         * gst/gstelement.c: (gst_element_post_message): fix for API changes
23556         * gst/gstmarshal.list: change BOXED -> OBJECT
23558         Implement GstMiniObject.
23559         * gst/gstminiobject.c:
23560         * gst/gstminiobject.h:
23562         Modify to be subclasses of GstMiniObject.
23563         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23564         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23565         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23566         (gst_subbuffer_get_type), (gst_subbuffer_init),
23567         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23568         (gst_buffer_span):
23569         * gst/gstbuffer.h:
23570         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23571         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23572         (_gst_event_copy), (gst_event_new):
23573         * gst/gstevent.h:
23574         * gst/gstmessage.c: (_gst_message_initialize),
23575         (gst_message_get_type), (gst_message_class_init),
23576         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23577         (gst_message_new), (gst_message_new_error),
23578         (gst_message_new_warning), (gst_message_new_tag),
23579         (gst_message_new_state_changed), (gst_message_new_application):
23580         * gst/gstmessage.h:
23581         * gst/gstprobe.c: (gst_probe_perform),
23582         (gst_probe_dispatcher_dispatch):
23583         * gst/gstprobe.h:
23584         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23585         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23586         (_gst_query_copy), (gst_query_new):
23588         Update elements for GstData -> GstMiniObject changes
23589         * gst/gstquery.h:
23590         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23591         (gst_queue_chain), (gst_queue_loop):
23592         * gst/elements/gstbufferstore.c:
23593         (gst_buffer_store_add_buffer_func),
23594         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23595         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23596         (gst_fakesink_render):
23597         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23598         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23599         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23600         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23601         (gst_filesrc_create_read):
23602         * gst/elements/gstidentity.c: (gst_identity_class_init):
23603         * gst/elements/gsttypefindelement.c:
23604         (gst_type_find_element_src_event), (free_entry_buffers),
23605         (gst_type_find_element_handle_event):
23606         * libs/gst/dataprotocol/dataprotocol.c:
23607         (gst_dp_header_from_buffer):
23608         * libs/gst/dataprotocol/dataprotocol.h:
23609         * libs/gst/dataprotocol/dp-private.h:
23611 2005-05-15  David Schleef  <ds@schleef.org>
23613         * gst/elements/gstelements.c: Don't include headers that were
23614         just removed.
23616 2005-05-15  David Schleef  <ds@schleef.org>
23618         * gst/elements/Makefile.am: Remove some elements that don't
23619         need to be in the core (or even exist at all).
23620         * gst/elements/gstaggregator.c:
23621         * gst/elements/gstaggregator.h:
23622         * gst/elements/gstmd5sink.c:
23623         * gst/elements/gstmd5sink.h:
23624         * gst/elements/gstmultifilesrc.c:
23625         * gst/elements/gstmultifilesrc.h:
23626         * gst/elements/gstpipefilter.c:
23627         * gst/elements/gstpipefilter.h:
23628         * gst/elements/gstshaper.c:
23629         * gst/elements/gstshaper.h:
23630         * gst/elements/gststatistics.c:
23631         * gst/elements/gststatistics.h:
23632         * po/POTFILES.in: Remove above files.
23634 2005-05-14  Andy Wingo  <wingo@pobox.com>
23636         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23637         so as to get the refs right.
23638         (sink_iterator_filter): New function, wraps bin_element_is_sink,
23639         unreffing objects that don't pass the filter.
23641         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23642         gst_element_set_bus.
23643         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23644         normal cases, this will destroy the bus.
23646         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23647         object.
23649         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23650         has no sinks.
23652 2005-05-13  Andy Wingo  <wingo@pobox.com>
23654         * gst/gstutils.c (gst_element_link_pads): Instead of calling
23655         gst_pad_link, call pad_link_maybe_ghosting,
23656         (pad_link_maybe_ghosting): Links pads, making sure that the
23657         elements being linked are in the same bin.
23658         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23659         Helpers for pad_link_maybe_ghosting.
23661 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23663         * configure.ac:
23664           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23666 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
23668         * docs/design/part-element-source.txt:
23669           Mention GstPushSrc
23671 2005-05-12  Wim Taymans  <wim@fluendo.com>
23673         * gst/base/gstbasesink.c: (gst_basesink_init),
23674         (gst_basesink_activate):
23675         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23676         (gst_basesrc_is_seekable):
23677         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23678         (bin_element_is_sink), (gst_bin_change_state):
23679         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23680         * gst/gstelement.h:
23681         Identify sinks by their flag to avoid overly complicated
23682         checks (fow now).
23683         Do state changes even for elements not reachable from the
23684         sinks.
23685         BaseSink is a sink now :)
23686         Some more debugging info in the basesrc.
23689 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23691         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23692           Implement _query on a bin, similar to _send_event.
23694 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
23696         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23697           Discont event offset format should be GST_FORMAT_BYTES,
23698           not GST_FORMAT_TIME.
23700 2005-05-12  Wim Taymans  <wim@fluendo.com>
23702         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23703         Same fix as Ronald's but without the signal. 
23705 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23707         * gst/gstutils.c: (gst_element_query_position):
23708           No, an element is not a pad.
23710 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23712         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23713         (gst_bin_get_state):
23714           If a child is removed from a bin while we remove the child from
23715           the bin and while we're retrieving its state, signal this to the
23716           get_state function so we abort the wait (instead of waiting for
23717           a timeout) and can immediately re-iterate over all other elements.
23719 2005-05-12  Wim Taymans  <wim@fluendo.com>
23721         * gst/base/Makefile.am:
23722         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23723         (gst_basesrc_start):
23724         * gst/base/gstbasesrc.h:
23725         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23726         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23727         (gst_pushsrc_init), (gst_pushsrc_create):
23728         * gst/base/gstpushsrc.h:
23729         Added is_seekable to BaseSrc
23730         Added simple PushSrc.
23732 2005-05-11  Wim Taymans  <wim@fluendo.com>
23734         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23735         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23736         (gst_element_link_pads), (gst_element_query_position),
23737         (gst_element_query_convert), (intersect_caps_func),
23738         (gst_pad_query_position), (gst_pad_query_convert):
23739         Fix refcounting in utils function.
23740         No point in trying to activate a pad when it's added, it could
23741         be added from the state change function and then we deadlock, the
23742         element has to decide what to do.
23744 2005-05-10  Andy Wingo  <wingo@pobox.com>
23746         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23747         *all* the arguments.
23749         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23750         stream lock if it's a FLUSH_DONE; normal flushes don't get the
23751         lock (according to the docs -- if this is wrong change the docs).
23753         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23754         flush messages in the NULL state.
23756         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23757         message immediately and return.
23758         (gst_bus_set_flushing): New function. If a bus is flushing, it
23759         flushes out any queued messages and immediately unrefs new
23760         messages. This is so when an element goes to NULL, all of the
23761         unhandled messages coming from it can be freed, and their
23762         references to the element dropped. In other words: message source
23763         ref considered harmful :P
23765         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23766         we're finished with it.
23768         * gst/gstmessage.c (gst_message_new_state_changed): 
23770 2005-05-10  Wim Taymans  <wim@fluendo.com>
23772         * gst/gstvalue.c: (gst_value_compare_flags),
23773         (gst_value_serialize_flags), (gst_value_deserialize_flags),
23774         (_gst_value_initialize):
23775         Added flags serialize/deserialize/compare code.
23777 2005-05-09  Andy Wingo  <wingo@pobox.com>
23779         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23780         Intersect the peer's caps with our caps.
23782 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23784         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23785         * gst/elements/gsttypefindelement.c: (find_peek):
23786           Handle negative offsets better. Fixes decodebin.
23788 2005-05-09  Wim Taymans  <wim@fluendo.com>
23790         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23791         (gst_base_transform_event):
23792         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23793         Implement accept_caps.
23794         Fix silly lock/unlock mismatch in base class.
23796 2005-05-09  Wim Taymans  <wim@fluendo.com>
23798         * docs/design/draft-push-pull.txt:
23799         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23800         * gst/elements/gstfilesink.c: (gst_filesink_init),
23801         (gst_filesink_query):
23802         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23803         (gst_type_find_handle_src_query), (find_element_get_length):
23804         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23805         * gst/gstelement.h:
23806         * gst/gstmessage.c:
23807         * gst/gstmessage.h:
23808         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23809         (gst_real_pad_get_caps_unlocked),
23810         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23811         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23812         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23813         (gst_real_pad_dispose), (gst_real_pad_finalize),
23814         (gst_pad_load_and_link), (gst_pad_save_thyself),
23815         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23816         (gst_pad_check_pull_range), (gst_pad_pull_range),
23817         (gst_pad_template_get_type), (gst_pad_template_class_init),
23818         (gst_pad_template_init), (gst_pad_template_dispose),
23819         (name_is_valid), (gst_static_pad_template_get),
23820         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23821         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23822         (gst_pad_get_element_private), (gst_pad_start_task),
23823         (gst_pad_pause_task), (gst_pad_stop_task),
23824         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23825         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23826         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23827         (gst_ghost_pad_new):
23828         * gst/gstpad.h:
23829         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23830         (gst_query_new_position), (gst_query_set_position),
23831         (gst_query_parse_position), (gst_query_new_convert),
23832         (gst_query_set_convert), (gst_query_parse_convert):
23833         * gst/gstquery.h:
23834         * gst/gstqueryutils.c:
23835         * gst/gstqueryutils.h:
23836         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23837         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23838         (gst_queue_handle_src_query):
23839         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23840         (gst_element_query_position), (gst_element_query_convert),
23841         (intersect_caps_func), (gst_pad_query_position),
23842         (gst_pad_query_convert):
23843         * gst/gstutils.h:
23844         * tools/gst-inspect.c: (print_pad_info):
23845         * tools/gst-xmlinspect.c: (print_element_info):
23846         Remove old query functions. Ported old code.
23847         Added position/convert helper functions to gstutils.
23848         Reordered gstpad.c code, grouping relevant things.
23849         Remove gst_message_new(), always need to speficy a specific
23850         message.
23853 2005-05-09  Andy Wingo  <wingo@pobox.com>
23855         * gst/gstiterator.h: Add some includes.
23857         * gst/gstqueryutils.h: Include more headers.
23859         * gst/gstpad.h:
23860         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23861         some uses of gst_pad_query.
23863         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23864         NULL out parameters.
23865         (gst_query_new_position): New proc, allocates a new position
23866         query.
23868         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23869         gstqueryutils.c to the build.
23871         * gst/gststructure.c (gst_structure_set_valist): Implement with
23872         the generic G_VALUE_COLLECT.
23873         
23874 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23876         * gst/Makefile.am: (gst_headers):
23877         Added gstqueryutils.h to the list of headers to install, that was
23878         a 'nachty' move wingo :)
23880 2005-05-06  Andy Wingo  <wingo@pobox.com>
23882         * gst/gstquery.h
23883         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23884         GstData, init a memchunk.
23885         (standard_definitions): Add a few query types, deprecate a few.
23886         (gst_query_get_type): New proc.
23887         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23888         implementation.
23889         (gst_query_new_application, gst_query_get_structure): New public
23890         procs.
23892         * docs/design/draft-query.txt: Removed LINKS from the query types,
23893         because all the rest can be dispatched to other pads -- seemed
23894         ugly to have a query that couldn't be dispatched. internal_links
23895         is fine as a pad method.
23897         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23898         in gstpad.c, but maintain binary compatibility for the moment.
23899         Will fix before 0.9 is out.
23901         * gst/gstqueryutils.c: 
23902         * gst/gstqueryutils.h: New files, implement 3 methods for each
23903         query type: parse_query, parse_response, and set. Probably need an
23904         allocator as well.
23906         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23908         * gst/elements/gstfilesink.c (gst_filesink_query2):
23909         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23910         query_types, and formats methods.
23912         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23913         (gst_pad_set_query2_function): New functions.
23914         (gst_real_pad_init): Set query2_default as the default query2
23915         function. Basically just dispatches to internally linked pads.
23917         Needs review!
23918         
23919         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23920         without using the atomic operations. Only one thread can possibly
23921         be accessing the data at this point. Changed so as to avoid
23922         gst_atomic operations.
23924 2005-05-06  Wim Taymans  <wim@fluendo.com>
23926         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23927         Also set caps if we use the fallback buffer alloc.
23929 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23931         * docs/gst/Makefile.am:
23932         * docs/gst/gstreamer-docs.sgml:
23933         * docs/gst/gstreamer-sections.txt:
23934         * docs/gst/tmpl/gstatomic.sgml:
23935         * docs/gst/tmpl/gstmemchunk.sgml:
23936         * testsuite/elements/struct_i386.h:
23937         * win32/GStreamer.vcproj:
23938         * win32/Makefile:
23939           Purge GstAtomic stuff from docs and win32 makefiles as well
23941 2005-05-06  Wim Taymans  <wim@fluendo.com>
23943         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23944         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23945         * gst/gstpad.c: (gst_pad_peer_get_caps):
23946         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23947         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23948         (gst_queue_src_activate), (gst_queue_change_state):
23949         * gst/gstqueue.h:
23950         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23951         (intersect_caps_func):
23952         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23953         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23954         Some fixes for the peer_get_caps() change.
23956 2005-05-06  Wim Taymans  <wim@fluendo.com>
23958         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23959         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23960         (gst_basesink_activate):
23961         Actually do something with error codes returned from the push
23962         functions.
23964 2005-05-06  Wim Taymans  <wim@fluendo.com>
23966         * docs/design/part-element-sink.txt:
23967         * docs/design/part-element-source.txt:
23968         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23969         (gst_basesink_event), (gst_basesink_activate):
23970         * gst/base/gstbasesink.h:
23971         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23972         (gst_basesrc_activate):
23973         * gst/base/gstbasesrc.h:
23974         * gst/gstelement.c: (gst_element_pads_activate):
23975         Some more documentation.
23976         Fixed scheduling decision in _pads_activate().
23978 2005-05-05  Andy Wingo  <wingo@pobox.com>
23980         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23981         the test suite.
23983 2005-05-05  Wim Taymans  <wim@fluendo.com>
23985         * gst/base/Makefile.am:
23986         * gst/base/gstbasesink.h:
23987         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23988         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23989         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23990         (gst_collectpads_class_init), (gst_collectpads_init),
23991         (gst_collectpads_finalize), (gst_collectpads_new),
23992         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23993         (find_pad), (gst_collectpads_remove_pad),
23994         (gst_collectpads_is_active), (gst_collectpads_collect),
23995         (gst_collectpads_collect_range), (gst_collectpads_start),
23996         (gst_collectpads_stop), (gst_collectpads_peek),
23997         (gst_collectpads_pop), (gst_collectpads_available),
23998         (gst_collectpads_read), (gst_collectpads_flush),
23999         (gst_collectpads_chain):
24000         * gst/base/gstcollectpads.h:
24001         * gst/elements/Makefile.am:
24002         * gst/elements/gstelements.c:
24003         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24004         (gst_fakesink_get_times), (gst_fakesink_event),
24005         (gst_fakesink_preroll), (gst_fakesink_render):
24006         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24007         (gst_filesink_init), (gst_filesink_set_location),
24008         (gst_filesink_open_file), (gst_filesink_close_file),
24009         (gst_filesink_pad_query), (gst_filesink_event),
24010         (gst_filesink_render), (gst_filesink_change_state):
24011         * gst/elements/gstfilesink.h:
24012         Added object to help in making collect pad based elements.
24013         Ported filesink.
24014         Make event function in sink baseclass return gboolean.
24016 2005-05-05  Wim Taymans  <wim@fluendo.com>
24018         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24019         (gst_bin_get_by_name):
24020         * gst/gstbuffer.h:
24021         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24022         (gst_clock_finalize):
24023         * gst/gstdata.c: (gst_data_replace):
24024         * gst/gstdata.h:
24025         * gst/gstelement.c: (gst_element_request_pad),
24026         (gst_element_pads_activate):
24027         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24028         (gst_object_unref):
24029         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24030         (gst_pad_set_checkgetrange_function),
24031         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24032         (gst_pad_check_pull_range), (gst_pad_pull_range),
24033         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24034         (gst_pad_pause_task), (gst_pad_stop_task):
24035         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24036         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24037         Fix name lookup in GstBin.
24038         Added _data_replace() function and _buffer_replace()
24039         Use finalize method to clean up clock.
24040         Fix refcounting on request pads.
24041         Fix pad schedule mode error.
24042         Some more object refcounting debug info,
24045 2005-05-04  Andy Wingo <wingo@pobox.com>
24047         * check/Makefile.am:
24048         * docs/gst/tmpl/gstatomic.sgml:
24049         * docs/gst/tmpl/gstplugin.sgml:
24050         * gst/base/gstbasesink.c: (gst_basesink_activate):
24051         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24052         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24053         (gst_basesrc_query), (gst_basesrc_set_property),
24054         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24055         (gst_basesrc_activate):
24056         * gst/base/gstbasesrc.h:
24057         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24058         (gst_base_transform_src_activate):
24059         * gst/elements/gstelements.c:
24060         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24061         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24062         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24063         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24064         (gst_type_find_element_checkgetrange),
24065         (gst_type_find_element_activate):
24066         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24067         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24068         (gst_caps_load_thyself):
24069         * gst/gstelement.c: (gst_element_pads_activate),
24070         (gst_element_save_thyself), (gst_element_restore_thyself):
24071         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24072         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24073         * gst/gstpad.h:
24074         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24075         (gst_xml_parse_file), (gst_xml_parse_memory),
24076         (gst_xml_get_element), (gst_xml_make_element):
24077         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24078         (_file_index_id_save_xml), (gst_file_index_commit):
24079         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24080         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24081         (load_paths):
24082         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24083         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24084         * tools/gst-complete.c: (main):
24085         * tools/gst-compprep.c: (main):
24086         * tools/gst-inspect.c: (print_element_properties_info):
24087         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24088         * tools/gst-xmlinspect.c: (print_element_properties):
24089         GCC 4 fixen.
24090         
24091 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24093         * gst/gstplugin.c: (gst_plugin_check_module),
24094         (gst_plugin_check_file), (gst_plugin_load_file):
24095             apply patch from #172526 to make register work on MacOSX
24097 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24099         * docs/gst/tmpl/gstconfig.sgml:
24100         * gst/gstconfig.h.in:
24101           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24102         * testsuite/debug/printf_extension.c: (main):
24103           Do not use GST_PTR_FORMAT on pointers to types with
24104           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24105         * testsuite/elements/property.h:
24106           use correct printf format
24108 2005-05-02  Wim Taymans  <wim@fluendo.com>
24110         * docs/design/draft-push-pull.txt:
24111         * docs/design/draft-query.txt:
24112         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24113         (gst_basesrc_start):
24114         Added draft for new query API.
24115         Added draft for better selecting scheduling methods.
24116         Make basesrc ignore length if the subclass does not support
24117         it.
24119 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24121         * gst/Makefile.am:
24122           possible fixes for automake-1.5 - _LIBADD is reserved
24124 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24126         * docs/faq/Makefile.am:
24127         * docs/manual/Makefile.am:
24128         * docs/manuals.mak:
24129         * docs/pwg/Makefile.am:
24130         * gst/Makefile.am:
24131           possible fixes for automake-1.5
24133 2005-04-28  Wim Taymans  <wim@fluendo.com>
24135         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24136         (gst_basesink_pad_getcaps), (gst_basesink_init),
24137         (gst_basesink_do_sync):
24138         * gst/gstclock.c: (gst_clock_entry_new):
24139         * gst/gstevent.c: (gst_event_discont_get_value):
24140         * gst/gstpipeline.c: (pipeline_bus_handler),
24141         (gst_pipeline_change_state):
24142         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24143         Better debugging of clocking info.
24144         Allow NULL values when getting discont values.
24146 2005-04-27  Wim Taymans  <wim@fluendo.com>
24148         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24149         * check/gst/gstpad.c: (gst_pad_suite):
24150         Increase timeout for checks.
24152 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24154         * check/Makefile.am:
24155           fix the broken rule for cleanup.  Apparently this rule is
24156           only needed on FC2, so maybe this warrants further autotool
24157           inspection.
24159 2005-04-26  Wim Taymans  <wim@fluendo.com>
24161         * gst/gsttrashstack.h:
24162         Ooohh. a nasty one! After having a failed pop() from the stack,
24163         it's possible that the stack is empty. In that case, don't
24164         follow the NULL pointer.
24166 2005-04-25  Wim Taymans  <wim@fluendo.com>
24168         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24169         (gst_pad_set_checkgetrange_function),
24170         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24171         (gst_pad_check_pull_range), (gst_pad_pull_range),
24172         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24173         (gst_pad_pause_task), (gst_pad_stop_task):
24174         * gst/gstplugin.c: (gst_plugin_load):
24175         * gst/gstplugin.h:
24176         Remove gst_library_load as it does more harm than good with
24177         the new g_module flags.
24178         Revert bogus caps template check in pad linking, pad caps
24179         are important when linking not the template, which is more
24180         general than the current caps.
24182 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24184         * gst/autoplug/.cvsignore:
24185         * gst/autoplug/Makefile.am:
24186         * gst/autoplug/gstsearchfuncs.c:
24187         * gst/autoplug/gstsearchfuncs.h:
24188         * gst/autoplug/gstspider.c:
24189         * gst/autoplug/gstspider.h:
24190         * gst/autoplug/gstspideridentity.c:
24191         * gst/autoplug/gstspideridentity.h:
24192         * gst/autoplug/spidertest.c:
24193           Die, spider, die.
24195 2005-04-25  Wim Taymans  <wim@fluendo.com>
24197         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24198         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24199         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24200         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24201         * gst/gstpad.h:
24202         Added stubs for unimplemented functions. 
24204 2005-04-24  David Schleef  <ds@schleef.org>
24206         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
24207         please fix.
24209 2005-04-24  David Schleef  <ds@schleef.org>
24211         Convert everything from GstAtomicInt to g_atomic_int_*, and
24212         remove gstatomic.
24213         * gst/Makefile.am:
24214         * gst/gstatomic.c:
24215         * gst/gstatomic.h:
24216         * gst/gstatomic_impl.h:
24217         * gst/gstbuffer.c:
24218         * gst/gstcaps.c:
24219         * gst/gstcaps.h:
24220         * gst/gstclock.c:
24221         * gst/gstclock.h:
24222         * gst/gstdata.c:
24223         * gst/gstdata.h:
24224         * gst/gstdata_private.h:
24225         * gst/gstevent.c:
24226         * gst/gstinfo.c:
24227         * gst/gstinfo.h:
24228         * gst/gstmessage.c:
24229         * gst/gstobject.c:
24230         * gst/gstobject.h:
24231         * gst/gststructure.c:
24232         * gst/gststructure.h:
24233         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24234         * gst/gstutils.h:
24236 2005-04-24  David Schleef  <ds@schleef.org>
24238         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24239         make the regressions tests work.  Remove some code that is no
24240         longer true.
24241         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24242         Disable warning for pads without templates.
24244 2005-04-24  David Schleef  <ds@schleef.org>
24246         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
24247         functions that handle filtered links.
24248         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24249         removed functions.
24250         * gst/gstutils.c: Fix/remove utility functions that handle
24251         filtered caps.
24252         * gst/gstutils.h:
24253         * gst/gstvalue.c: Add serialization/deserialization of caps
24254         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
24255         requires fixing so that the filter caps notation creates
24256         a capsfilter element and sets the filter_caps property.  I
24257         think everyone probably wants to keep the shorthand notation.
24258         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24259         * docs/gst/tmpl/gstpad.sgml:
24261         * gst/elements/gstelements.c: Register capsfilter element.
24262         * gst/Makefile.am: fix spacing
24263         * docs/random/ds/0.9-suggested-changes: random
24265 2005-04-23  David Schleef  <ds@schleef.org>
24267         * gst/elements/Makefile.am:
24268         * gst/elements/gstcapsfilter.c: New element that acts like an
24269         identity, but filters caps.  Will eventually replace filtered
24270         caps in pad linking.
24271         * gst/gstutils.c: (gst_element_create_all_pads): New function
24272         to create all the ALWAYS pads that are registered with an
24273         element class.  This functionality should eventually be
24274         merged in with GstElement initialization.
24275         * gst/gstutils.h:
24276         * testsuite/trigger/README: part of trigger test code that should
24277         have been checked in a long time ago.
24279 2005-04-23  David Schleef  <ds@schleef.org>
24281         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
24282         needed with new versions of libtool (nobody will confirm this),
24283         and hard to carry around.
24284         * gst/autoplug/Makefile.am:
24285         * gst/base/Makefile.am:
24286         * gst/elements/Makefile.am:
24287         * gst/indexers/Makefile.am:
24288         * gst/schedulers/Makefile.am:
24289         * libs/gst/bytestream/Makefile.am:
24290         * libs/gst/control/Makefile.am:
24291         * libs/gst/dataprotocol/Makefile.am:
24292         * libs/gst/getbits/Makefile.am:
24294 2005-04-21  Wim Taymans  <wim@fluendo.com>
24296         * docs/design/draft-push-pull.txt:
24297         * docs/design/part-MT-refcounting.txt:
24298         * docs/design/part-TODO.txt:
24299         * docs/design/part-caps.txt:
24300         * docs/design/part-events.txt:
24301         * docs/design/part-gstbus.txt:
24302         * docs/design/part-gstpipeline.txt:
24303         * docs/design/part-messages.txt:
24304         * docs/design/part-push-pull.txt:
24305         * docs/design/part-query.txt:
24306         Some more docs.
24308 2005-04-21  Wim Taymans  <wim@fluendo.com>
24310         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24311         (gst_message_new), (gst_message_new_error),
24312         (gst_message_new_warning), (gst_message_new_tag),
24313         (gst_message_new_state_changed), (gst_message_new_application),
24314         (gst_message_get_structure):
24315         * gst/gstmessage.h:
24316         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24317         (gst_structure_copy_conditional):
24318         Use parent refcount in GstMessage to ensure GstStructure
24319         consistency.
24320         Cleaned up headers a bit.
24321         
24323 2005-04-20  Wim Taymans  <wim@fluendo.com>
24325         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24326         (gst_basesink_pad_getcaps), (gst_basesink_init),
24327         (gst_basesink_chain_unlocked):
24328         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24329         (gst_type_find_helper):
24330         * gst/elements/gsttypefindelement.c:
24331         (gst_type_find_element_have_type), (gst_type_find_element_init),
24332         (stop_typefinding), (gst_type_find_element_handle_event),
24333         (find_suggest), (gst_type_find_element_chain),
24334         (gst_type_find_element_checkgetrange),
24335         (gst_type_find_element_getrange), (do_typefind),
24336         (gst_type_find_element_activate):
24337         * gst/gstbuffer.c: (_gst_buffer_sub_free),
24338         (gst_buffer_default_free), (gst_buffer_default_copy),
24339         (gst_buffer_set_caps):
24340         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
24341         (gst_caps_replace):
24342         * gst/gstmessage.c: (gst_message_new),
24343         (gst_message_new_state_changed):
24344         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24345         (gst_pad_set_checkgetrange_function),
24346         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
24347         (gst_pad_set_caps), (gst_pad_check_pull_range),
24348         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
24349         * gst/gstpad.h:
24350         * gst/gsttypefind.c: (gst_type_find_register):
24351         Make gst_caps_replace() work like other _replace() functions.
24352         Use _caps_replace() where possible.
24353         Make sure _message_new() initialises its field.
24354         Add gst_static_pad_template_get_caps()
24357 2005-04-18  Andy Wingo  <wingo@pobox.com>
24359         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
24360         on the peer, not the pad. I think that was a typo. Pass an extra
24361         arg to see if random access is possible. Activate the pads as
24362         PULL_RANGE if possible.
24364         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
24366         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
24367         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
24368         to PROP_....
24370 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24372         * docs/faq/using.xml:
24373           Add note on gstreamer-properties (#154996).
24375 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24377         * docs/random/bbb/optional-properties:
24378           Some analysis on optional properties.
24380 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24382         * docs/gst/tmpl/gstelementfactory.sgml:
24383         * gst/gstelement.h:
24384         * gst/gstelementfactory.c: (gst_element_factory_init),
24385         (gst_element_factory_cleanup), (gst_element_register),
24386         (__gst_element_factory_add_static_pad_template),
24387         (gst_element_factory_get_static_pad_templates),
24388         (gst_element_factory_can_src_caps),
24389         (gst_element_factory_can_sink_caps):
24390         * gst/registries/Makefile.am:
24391         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
24392         (gst_xml_registry_class_init), (gst_xml_registry_init),
24393         (gst_xml_registry_new), (gst_xml_registry_set_property),
24394         (gst_xml_registry_get_property), (get_time), (make_dir),
24395         (gst_xml_registry_get_perms_func),
24396         (plugin_times_older_than_recurse), (plugin_times_older_than),
24397         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
24398         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
24399         (add_to_char_array), (read_string), (read_uint), (read_enum),
24400         (load_pad_template), (load_feature), (load_plugin), (load_paths),
24401         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
24402         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
24403         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
24404         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
24405         (gst_xml_registry_rebuild):
24406         * gst/registries/gstlibxmlregistry.h:
24407         * tools/gst-compprep.c: (main):
24408         * tools/gst-inspect.c: (print_pad_templates_info):
24409         * tools/gst-xmlinspect.c: (print_element_info):
24410           Use libxml2 for registry parsing, use staticpadtemplates in
24411           elementfactories. Makes gst_init() +/- 10x faster.
24413 2005-04-12  Wim Taymans  <wim@fluendo.com>
24415         * gst/base/Makefile.am:
24416         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24417         (gst_basesink_pad_getcaps), (gst_basesink_init),
24418         (gst_basesink_event), (gst_basesink_change_state):
24419         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24420         (gst_basesrc_init), (gst_basesrc_query),
24421         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24422         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24423         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24424         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24425         (gst_basesrc_stop), (gst_basesrc_activate),
24426         (gst_basesrc_change_state):
24427         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24428         (helper_find_suggest), (gst_type_find_helper):
24429         * gst/base/gsttypefindhelper.h:
24430         * gst/elements/Makefile.am:
24431         * gst/elements/gstelements.c:
24432         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24433         (gst_fakesink_get_times), (gst_fakesink_event),
24434         (gst_fakesink_preroll), (gst_fakesink_render):
24435         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24436         (gst_fakesrc_init), (gst_fakesrc_event_handler),
24437         (gst_fakesrc_get_property), (gst_fakesrc_create),
24438         (gst_fakesrc_start), (gst_fakesrc_stop):
24439         * gst/elements/gstfakesrc.h:
24440         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
24441         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24442         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24443         (gst_filesrc_create_read), (gst_filesrc_create),
24444         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
24445         (gst_filesrc_start):
24446         * gst/elements/gsttypefindelement.c:
24447         (gst_type_find_element_have_type), (gst_type_find_element_init),
24448         (start_typefinding), (stop_typefinding), (push_buffer_store),
24449         (gst_type_find_element_handle_event),
24450         (gst_type_find_element_chain),
24451         (gst_type_find_element_checkgetrange),
24452         (gst_type_find_element_getrange), (do_typefind),
24453         (gst_type_find_element_activate),
24454         (gst_type_find_element_change_state):
24455         * gst/elements/gsttypefindelement.h:
24456         * gst/gstpipeline.c: (pipeline_bus_handler):
24457         Added typefind helper.
24458         Small preroll fix in the base sink.
24459         Disable typefind code in basesrc.
24460         Crude port of typefindelement.
24461         Fakesrc cleanups.
24464 2005-04-11  Wim Taymans  <wim@fluendo.com>
24466         * check/gst/gstbus.c: (gstbus_suite):
24467         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24468         * check/gstcheck.h:
24469           Fix up the timeout so that the test does not fail.
24471 2005-04-06  Wim Taymans  <wim@fluendo.com>
24473         * gst/base/README:
24474         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24475         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24476         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24477         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24478         (gst_basesrc_check_get_range), (gst_basesrc_loop),
24479         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24480         (gst_basesrc_stop), (gst_basesrc_activate),
24481         (gst_basesrc_change_state), (basesrc_find_peek),
24482         (basesrc_find_suggest), (gst_basesrc_type_find):
24483         * gst/base/gstbasesrc.h:
24484         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24485         (gst_filesrc_class_init), (gst_filesrc_init),
24486         (gst_filesrc_finalize), (gst_filesrc_set_location),
24487         (gst_filesrc_set_property), (gst_filesrc_get_property),
24488         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24489         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24490         (gst_filesrc_create_read), (gst_filesrc_create),
24491         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24492         * gst/elements/gstfilesrc.h:
24493         * gst/gstelement.c: (gst_element_get_state_func),
24494         (gst_element_lost_state), (gst_element_pads_activate):
24495         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24496         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24497         (gst_pad_pull_range):
24498         * gst/gstpad.h:
24499         More work on the generic source base class, implement seeking,
24500         query.
24501         Make filesrc extend the base source class.
24502         Added gst_pad_set_checkgetrange_function to GstPad.
24504 2005-04-06  Andy Wingo  <wingo@pobox.com>
24506         * pkgconfig/gstreamer-base.pc.in:
24507         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24509         * pkgconfig/Makefile.am:
24510         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24512 2005-04-04  Wim Taymans  <wim@fluendo.com>
24514         * gst/base/Makefile.am:
24515         * gst/base/README:
24516         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24517         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24518         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24519         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24520         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24521         (gst_basesrc_base_init), (gst_basesrc_class_init),
24522         (gst_basesrc_init), (gst_basesrc_get_formats),
24523         (gst_basesrc_get_query_types), (gst_basesrc_query),
24524         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24525         (gst_basesrc_set_property), (gst_basesrc_get_property),
24526         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24527         (gst_basesrc_loop), (gst_basesrc_activate),
24528         (gst_basesrc_change_state):
24529         * gst/base/gstbasesrc.h:
24530         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24531         (gst_fakesrc_class_init), (gst_fakesrc_init),
24532         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24533         (gst_fakesrc_get_property), (gst_fakesrc_create):
24534         * gst/elements/gstfakesrc.h:
24535         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24536         (gst_filesrc_open_file), (gst_filesrc_loop),
24537         (gst_filesrc_activate), (filesrc_find_peek),
24538         (gst_filesrc_type_find):
24539         Made base source class, make fakesrc extend it.
24540         Add comments to basesink class.
24541         Some filesrc cleanup.
24543 2005-03-31  David Schleef  <ds@schleef.org>
24545         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24546         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24547         expected to link against libgstreamer.
24548         * gst/base/Makefile.am: link against libgstreamer
24549         * gst/elements/Makefile.am: same
24551 2005-03-31  Andy Wingo  <wingo@pobox.com>
24553         * tests/instantiate/Makefile.am:
24554         * tests/instantiate/caps.c: Add test to test speed of caps copy
24555         and free.
24557         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24558         GMemChunk to be fair.
24560         * gst/gsttrashstack.h: Remove warning about using the fallback
24561         trash stack implementation, it's still faster than malloc.
24563 2005-03-30  Andy Wingo  <wingo@pobox.com>
24565         * tests/complexity.c: Add a copyright.
24567 2005-03-31  Wim Taymans  <wim@fluendo.com>
24569         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24570         (gst_base_transform_class_init), (gst_base_transform_init),
24571         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24572         (gst_base_transform_get_property),
24573         (gst_base_transform_sink_activate),
24574         (gst_base_transform_src_activate),
24575         (gst_base_transform_change_state):
24576         * gst/base/gstbasetransform.h:
24577         * gst/elements/gstidentity.c: (gst_identity_class_init),
24578         (gst_identity_event), (gst_identity_check_perfect),
24579         (gst_identity_transform), (gst_identity_start),
24580         (gst_identity_stop):
24581         Added start/stop methods to transform base class so subclasses 
24582         don't need to deal with state changes even.
24584 2005-03-31  Wim Taymans  <wim@fluendo.com>
24586         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24587         (gst_event_new_discontinuous), (gst_event_discont_get_value):
24588         * gst/gstevent.h:
24589         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24590         (gst_pad_pull_range):
24591         Added rate to the discont event to prepare for variable speed
24592         and reverse playback.
24594 2005-03-29  David Schleef  <ds@schleef.org>
24596         * configure.ac:
24597         * testsuite/trigger/Makefile.am:
24598         * testsuite/trigger/trigger.c: A little example program to show
24599         how trigger-based elements can work.
24601 2005-03-29  Wim Taymans  <wim@fluendo.com>
24603         * gst/base/Makefile.am:
24604         * gst/base/README:
24605         * gst/base/gstbasesink.c: (gst_basesink_get_type),
24606         (gst_basesink_base_init), (gst_basesink_class_init),
24607         (gst_basesink_pad_getcaps), (gst_basesink_init),
24608         (gst_basesink_activate), (gst_basesink_change_state):
24609         * gst/base/gstbasesink.h:
24610         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24611         (gst_base_transform_base_init), (gst_base_transform_finalize),
24612         (gst_base_transform_class_init), (gst_base_transform_init),
24613         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24614         (gst_base_transform_event), (gst_base_transform_getrange),
24615         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24616         (gst_base_transform_set_property),
24617         (gst_base_transform_get_property),
24618         (gst_base_transform_sink_activate),
24619         (gst_base_transform_src_activate),
24620         (gst_base_transform_change_state):
24621         * gst/base/gstbasetransform.h:
24622         * gst/elements/gstidentity.c: (gst_identity_finalize),
24623         (gst_identity_class_init), (gst_identity_init),
24624         (gst_identity_event), (gst_identity_check_perfect),
24625         (gst_identity_transform), (gst_identity_set_property),
24626         (gst_identity_get_property), (gst_identity_change_state):
24627         * gst/elements/gstidentity.h:
24628         * gst/gstelement.c: (gst_element_get_state_func),
24629         (gst_element_lost_state), (gst_element_pads_activate):
24630         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24631         (gst_pad_check_pull_range), (gst_pad_pull_range):
24632         * gst/gstpad.h:
24633         Simplify pad activation.
24634         Added function to check if pull_range can be performed.
24635         Error out when pulling inactive or flushing pads.
24636         Removed const from refcounted types as it does not make sense.
24637         Simplify pad templates in basesink
24638         Added base class for simple 1-to-1 transforms.
24639         Make identity subclass the base transform.
24641 2005-03-29  Andy Wingo  <wingo@pobox.com>
24643         * docs/libs/gstreamer-libs-overrides.txt: 
24644         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24645         really don't understand what's going on, but like whatever. I want
24646         green buildbot!
24648         * docs/gst/Makefile.am:
24649         * docs/libs/Makefile.am: Dist the overrides files.
24651         * check/Makefile.am (clean-local): Remove .libs directories.
24653         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24654         elements to EXTRA_DIST, so po/ files are happy.
24656         * po/POTFILES.in: Er, remove it here.
24658         * po/POTFILES: Remove gstspider.c.
24660         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24662         * docs/libs/gstreamer-libs-docs.sgml: 
24663         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24664         bytestream.
24666         * tests/complexity.c (main): Set the length of the preroll queue
24667         on the sinks to prevent a lockup.
24669         * libs/gst/dataprotocol/Makefile.am: 
24670         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24671         the same as the one in check/gst-libs/gdp.c.
24673         * po/, docs/gst/: Commit automatic changes to docs and po files.
24675         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24676         the versioned libgstbase.
24678         * check/Makefile.am: Depend on an unversioned gst-register, seems
24679         to make autoconf happier.
24681         * gst/base/Makefile.am: Make libgstbase a versioned lib.
24683 2005-03-28  Wim Taymans  <wim@fluendo.com>
24685         * configure.ac:
24686         * docs/design/part-gstelement.txt:
24687         * docs/design/part-negotiation.txt:
24688         * docs/design/part-preroll.txt:
24689         * docs/design/part-scheduling.txt:
24690         * docs/design/part-states.txt:
24691         * gst/Makefile.am:
24692         * gst/base/Makefile.am:
24693         * gst/base/README:
24694         * gst/base/gstbasesink.c: (gst_basesink_get_template),
24695         (gst_basesink_base_init), (gst_basesink_class_init),
24696         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24697         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24698         (gst_basesink_set_pad_functions),
24699         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24700         (gst_basesink_set_property), (gst_basesink_get_property),
24701         (gst_base_sink_get_template), (gst_base_sink_get_caps),
24702         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24703         (gst_basesink_preroll_queue_push),
24704         (gst_basesink_preroll_queue_empty),
24705         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24706         (gst_basesink_event), (gst_basesink_get_times),
24707         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24708         (gst_basesink_chain_unlocked), (gst_basesink_chain),
24709         (gst_basesink_loop), (gst_basesink_activate),
24710         (gst_basesink_change_state):
24711         * gst/base/gstbasesink.h:
24712         * gst/elements/Makefile.am:
24713         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24714         (gst_fakesink_class_init), (gst_fakesink_init),
24715         (gst_fakesink_set_property), (gst_fakesink_get_property),
24716         (gst_fakesink_get_times), (gst_fakesink_event),
24717         (gst_fakesink_preroll), (gst_fakesink_render),
24718         (gst_fakesink_change_state):
24719         * gst/elements/gstfakesink.h:
24720         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24721         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24722         * gst/gstelement.c: (gst_element_add_pad),
24723         (gst_element_get_state_func), (gst_element_abort_state),
24724         (gst_element_commit_state), (gst_element_lost_state),
24725         (gst_element_set_state), (gst_element_pads_activate):
24726         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24727         * gst/gstpipeline.c: (gst_pipeline_send_event),
24728         (gst_pipeline_change_state):
24729         Added state change code.
24730         Added/updated docs.
24731         Added sink base class, make fakesink extend the base class.
24732         Small cleanups in GstPipeline.
24734 2005-03-26  David Schleef  <ds@schleef.org>
24736         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
24737         is broken and should be implemented in a different library.
24738         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24739         * gst/gst.h: remove gstcpu.h
24740         * gst/gstcpu.c: remove
24741         * gst/gstcpu.h: remove
24742         * gst/Makefile.am.future: Remove this file.  It's ancient.
24744 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24746         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24747         (gst_bin_send_event):
24748           Add default event/set_manager handlers. The set_manager handler
24749           takes care that the manager is distributed over kids that were
24750           already in the bin before the manager was set. The event handler
24751           is a utility virtual function that sends the event over all sinks,
24752           so that gst_element_send_event (bin, event); has the expected
24753           behaviour.
24754         * gst/gstpad.c: (gst_pad_event_default):
24755           Re-install default event handling for discontinuities, so that
24756           seeking works without requiring hacks in applications or extra
24757           code in sinks.
24758         * gst/gstpipeline.c: (gst_pipeline_class_init),
24759         (gst_pipeline_send_event):
24760           Half hack, half utility: set a pipeline to PAUSED for seek events,
24761           since that is the only way we can guarantee a/v sync. Means that
24762           you can do gst_element_seek (pipeline, method, pos); on a pipeline
24763           and it "just works".
24765 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24767         * gst/gstpipeline.c: (gst_pipeline_use_clock):
24768           Lock/unlock mismatch.
24770 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24772         * docs/faq/gst-uninstalled:
24773           add gst-plugins-base
24774         * docs/gst/Makefile.am:
24775           don't error out until docs are fixed
24776         * docs/gst/gstreamer.types:
24777           remove thread
24779 2005-03-22  Wim Taymans  <wim@fluendo.com>
24781         * check/Makefile.am:
24782         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24783         * gst/gststructure.c: (gst_structure_set_valist),
24784         (gst_structure_copy_conditional):
24785         Activated more tests.
24786         Added message test.
24787         Added G_TYPE_POINTER to GstStructure.
24788         
24790 2005-03-22  Wim Taymans  <wim@fluendo.com>
24792         * docs/design/part-TODO.txt:
24793         * docs/design/part-events.txt:
24794         * docs/design/part-gstbin.txt:
24795         * docs/design/part-gstbus.txt:
24796         * docs/design/part-gstpipeline.txt:
24797         * docs/design/part-messages.txt:
24798         * gst/gstbus.c:
24799         * gst/gstmessage.c:
24800         Docs updates
24802 2005-03-21  Wim Taymans  <wim@fluendo.com>
24804         * gst/gstbus.c: (gst_bus_post):
24805         Fix copy-and-paste error.
24807 2005-03-21  Wim Taymans  <wim@fluendo.com>
24809         * check/Makefile.am:
24810         * gst/Makefile.am:
24811         * gst/elements/Makefile.am:
24812         * gst/elements/gstelements.c:
24813         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24814         (gst_fakesink_event), (gst_fakesink_chain):
24815         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24816         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24817         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24818         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24819         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24820         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24821         (gst_fakesrc_loop), (gst_fakesrc_activate),
24822         (gst_fakesrc_change_state):
24823         * gst/elements/gstfakesrc.h:
24824         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24825         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24826         (gst_filesrc_open_file), (gst_filesrc_loop),
24827         (gst_filesrc_activate), (gst_filesrc_change_state),
24828         (filesrc_find_peek), (filesrc_find_suggest),
24829         (gst_filesrc_type_find):
24830         * gst/elements/gstidentity.c: (gst_identity_finalize),
24831         (gst_identity_class_init), (gst_identity_init),
24832         (gst_identity_proxy_getcaps), (identity_queue_push),
24833         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24834         (gst_identity_getrange), (gst_identity_chain),
24835         (gst_identity_sink_loop), (gst_identity_src_loop),
24836         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24837         (gst_identity_set_property), (gst_identity_get_property),
24838         (gst_identity_change_state):
24839         * gst/elements/gstidentity.h:
24840         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24841         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24842         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24843         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24844         (gst_tee_sink_activate):
24845         * gst/elements/gsttee.h:
24846         * gst/gst.c: (gst_register_core_elements), (init_post):
24847         * gst/gst.h:
24848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24849         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24850         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24851         (gst_bin_change_state):
24852         * gst/gstbin.h:
24853         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24854         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24855         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24856         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24857         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24858         (bus_watch_callback), (bus_watch_destroy),
24859         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24860         (poll_timeout), (gst_bus_poll):
24861         * gst/gstbus.h:
24862         * gst/gstcaps.h:
24863         * gst/gstdata.h:
24864         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24865         (gst_element_post_message), (gst_element_message_full),
24866         (gst_element_get_state_func), (gst_element_get_state),
24867         (gst_element_abort_state), (gst_element_commit_state),
24868         (gst_element_lost_state), (gst_element_set_state),
24869         (gst_element_pads_activate), (gst_element_change_state),
24870         (gst_element_dispose), (gst_element_set_manager_func),
24871         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24872         (gst_element_set_manager), (gst_element_get_manager),
24873         (gst_element_set_bus), (gst_element_get_bus),
24874         (gst_element_set_scheduler), (gst_element_get_scheduler):
24875         * gst/gstelement.h:
24876         * gst/gstevent.c: (gst_event_new_segment_seek),
24877         (gst_event_new_flush):
24878         * gst/gstevent.h:
24879         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24880         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24881         (gst_message_new_eos), (gst_message_new_error),
24882         (gst_message_new_warning), (gst_message_new_tag),
24883         (gst_message_new_state_changed), (gst_message_new_application),
24884         (gst_message_get_structure), (gst_message_parse_tag),
24885         (gst_message_parse_state_changed), (gst_message_parse_error),
24886         (gst_message_parse_warning):
24887         * gst/gstmessage.h:
24888         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24889         (gst_real_pad_set_property), (gst_pad_set_active),
24890         (gst_pad_is_active), (gst_pad_set_blocked_async),
24891         (gst_pad_set_blocked), (gst_pad_is_blocked),
24892         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24893         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24894         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24895         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24896         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24897         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24898         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24899         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24900         (gst_pad_set_caps), (gst_pad_configure_sink),
24901         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24902         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24903         (gst_real_pad_dispose), (gst_real_pad_finalize),
24904         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24905         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24906         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24907         * gst/gstpad.h:
24908         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24909         (pipeline_bus_handler), (gst_pipeline_change_state),
24910         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24911         * gst/gstpipeline.h:
24912         * gst/gstprobe.h:
24913         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24914         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24915         (gst_queue_link_src), (gst_queue_bufferalloc),
24916         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24917         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24918         (gst_queue_loop), (gst_queue_handle_src_event),
24919         (gst_queue_handle_src_query), (gst_queue_src_activate),
24920         (gst_queue_change_state):
24921         * gst/gstqueue.h:
24922         * gst/gstscheduler.c: (gst_scheduler_init),
24923         (gst_scheduler_dispose), (gst_scheduler_create_task),
24924         (gst_scheduler_factory_create):
24925         * gst/gstscheduler.h:
24926         * gst/gststructure.c: (gst_structure_get_type),
24927         (gst_structure_copy_conditional):
24928         * gst/gststructure.h:
24929         * gst/gsttaginterface.h:
24930         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24931         (gst_task_init), (gst_task_dispose), (gst_task_create),
24932         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24933         (gst_task_pause):
24934         * gst/gsttask.h:
24935         * gst/gstthread.c:
24936         * gst/gstthread.h:
24937         * gst/gsttypes.h:
24938         * gst/schedulers/Makefile.am:
24939         * gst/schedulers/cothreads_compat.h:
24940         * gst/schedulers/entryscheduler.c:
24941         * gst/schedulers/faircothreads.c:
24942         * gst/schedulers/faircothreads.h:
24943         * gst/schedulers/fairscheduler.c:
24944         * gst/schedulers/gstbasicscheduler.c:
24945         * gst/schedulers/gstoptimalscheduler.c:
24946         * gst/schedulers/gthread-cothreads.h:
24947         * gst/schedulers/threadscheduler.c:
24948         (gst_thread_scheduler_task_get_type),
24949         (gst_thread_scheduler_task_class_init),
24950         (gst_thread_scheduler_task_init),
24951         (gst_thread_scheduler_task_start),
24952         (gst_thread_scheduler_task_stop),
24953         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24954         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24955         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24956         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24957         (plugin_init):
24958         * libs/gst/Makefile.am:
24959         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24960         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24961         (gst_file_pad_parent_set):
24962         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24963         (gst_dp_event_from_packet):
24964         * tests/complexity.c: (main):
24965         * tests/mass_elements.c: (main):
24966         * testsuite/states/locked.c: (message_received), (main):
24967         * testsuite/states/parent.c: (main):
24968         * tools/gst-inspect.c: (print_element_flag_info),
24969         (print_implementation_info), (print_pad_info):
24970         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24971         (main):
24972         * tools/gst-md5sum.c: (event_loop), (main):
24973         * tools/gst-typefind.c: (main):
24974         * tools/gst-xmlinspect.c: (print_element_info):
24975         Next big merge.
24976         Added GstBus for mainloop integration.
24977         Added GstMessage for sending notifications on the bus.
24978         Added GstTask as an abstraction for pipeline entry points.
24979         Removed GstThread.
24980         Removed Schedulers.
24981         Simplified GstQueue for multithreaded core.
24982         Made _link threadsafe, removed old capsnego.
24983         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24984         Added pad blocking functions.
24985         Reworked scheduling functions in GstPad to prepare for
24986         scheduling updates soon.
24987         Moved events out of data stream.
24988         Simplified GstEvent types.
24989         Added return values to push/pull.
24990         Removed clocking from GstElement.
24991         Added prototypes for state change function for next merge.
24992         Removed iterate from bins and state change management.
24993         Fixed some elements, disabled others for now.
24994         Fixed -inspect and -launch.
24995         Added check for GstBus.
24997 2005-03-10  Wim Taymans  <wim@fluendo.com>
24999         * docs/design/part-MT-refcounting.txt:
25000         * docs/design/part-clocks.txt:
25001         * docs/design/part-gstelement.txt:
25002         * docs/design/part-gstobject.txt:
25003         * docs/design/part-standards.txt:
25004         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25005         (gst_bin_remove_func), (gst_bin_remove):
25006         * gst/gstbin.h:
25007         * gst/gstbuffer.c:
25008         * gst/gstcaps.h:
25009         * testsuite/clock/clock1.c: (main):
25010         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25011         (main):
25012         * testsuite/dlopen/loadgst.c: (do_test):
25013         * testsuite/refcounting/bin.c: (add_remove_test1),
25014         (add_remove_test2), (main):
25015         * testsuite/refcounting/element.c: (main):
25016         * testsuite/refcounting/element_pad.c: (main):
25017         * testsuite/refcounting/pad.c: (main):
25018         * tools/gst-launch.c: (sigint_handler_sighandler):
25019         * tools/gst-typefind.c: (main):
25020         Doc updates.
25021         Added doc about clock.
25022         removed gst_bin_iterate_recurse_up(), marked methods
25023         for removal.
25024         Fix more testsuites.
25026 2005-03-09  Wim Taymans  <wim@fluendo.com>
25028         * gst/gstpad.c: (gst_pad_get_direction),
25029         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25030         (gst_pad_collect_valist):
25031         * testsuite/bins/interface.c: (main):
25032         * testsuite/caps/audioscale.c: (test_caps):
25033         * testsuite/caps/caps.c: (test1), (test2), (test3):
25034         * testsuite/caps/deserialize.c: (main):
25035         * testsuite/caps/enumcaps.c: (main):
25036         * testsuite/caps/filtercaps.c: (main):
25037         * testsuite/caps/intersect2.c: (main):
25038         * testsuite/caps/random.c: (main):
25039         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25040         * testsuite/caps/sets.c: (check_caps):
25041         * testsuite/caps/simplify.c: (check_caps), (main):
25042         * testsuite/caps/subtract.c: (check_caps):
25043         Fix _pad_get_direction wrt ghostpads.
25044         Fix caps testsuite.
25046 2005-03-09  Wim Taymans  <wim@fluendo.com>
25048         * check/Makefile.am:
25049         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25050         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25051         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25052         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25053         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25054         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25055         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25056         (bin_element_is_sink), (gst_bin_iterate_sinks),
25057         (gst_bin_iterate_all_by_interface):
25058         * gst/gstbin.h:
25059         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25060         (gst_element_change_state), (gst_element_dispose),
25061         (gst_element_finalize), (gst_element_set_loop_function):
25062         * gst/gstelement.h:
25063         * gst/gstiterator.c: (find_custom_fold_func):
25064         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25065         (gst_pad_collectv), (gst_pad_collect_valist),
25066         (gst_pad_template_new):
25067         * gst/gstpipeline.c: (gst_pipeline_class_init),
25068         (gst_pipeline_dispose), (gst_pipeline_set_property),
25069         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25070         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25071         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25072         * gst/gstutils.h:
25073         * gst/schedulers/entryscheduler.c:
25074         * gst/schedulers/gstbasicscheduler.c:
25075         (gst_basic_scheduler_cothreaded_chain),
25076         (gst_basic_scheduler_chain_add_element):
25077         * testsuite/bins/interface.c: (main):
25078         Added GstBin test.
25079         Added GstSystemClock test.
25080         Implemented clock distribution code in GstBin.
25081         Implemented iterate sinks method for future use.
25082         Rearranged gstelement.h
25083         Fix GstIterator comparison bug.
25084         Moved some code to GstPipeline, mostly clocking related.
25086 2005-03-09  Wim Taymans  <wim@fluendo.com>
25088         * configure.ac:
25089         * gst/gst_private.h:
25090         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25091         (gst_bin_remove_func), (gst_bin_remove),
25092         (gst_bin_get_by_name_recurse_up):
25093         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25094         (gst_clock_id_compare_func), (gst_clock_id_wait),
25095         (gst_clock_id_wait_async), (gst_clock_init),
25096         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25097         * gst/gstelement.h:
25098         * gst/gstinfo.c: (_gst_debug_init):
25099         * gst/gstobject.h:
25100         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25101         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25102         * gst/gstpad.h:
25103         Bump version number, we're now 0.9.0
25104         Add future debugging category.
25105         Fix NULL _unref() in _get_by_name_recurse_up
25106         Rearrange gstpad.h.
25107         Update some docs.
25109 2005-03-08  Wim Taymans  <wim@fluendo.com>
25111         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25112         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25113         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25114         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25115         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25116         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25117         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25118         * gst/elements/gstidentity.c: (gst_identity_class_init):
25119         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25120         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25121         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25122         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25123         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25124         (gst_tee_link):
25125         * gst/gstelement.c: (gst_element_class_init),
25126         (gst_element_base_class_init), (gst_element_init),
25127         (gst_element_get_random_pad), (gst_element_wait_state_change),
25128         (gst_element_change_state), (gst_element_dispose),
25129         (gst_element_finalize), (gst_element_set_loop_function):
25130         * gst/gstelement.h:
25131         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25132         * gst/gstthread.c: (gst_thread_class_init),
25133         (gst_thread_release_children_locks), (gst_thread_change_state):
25134         * gst/schedulers/gstbasicscheduler.c:
25135         (gst_basic_scheduler_loopfunc_wrapper),
25136         (gst_basic_scheduler_chain_wrapper),
25137         (gst_basic_scheduler_src_wrapper),
25138         (gst_basic_scheduler_remove_element):
25139         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25140         Remove threadsafe properties. Fix elements because GObject
25141         complains when installing a property before declaring a
25142         set/get_property handler.
25143         Rearrange gstelement.h file, use STATE macros for state locks.
25144         Free mutexes in the finalize method instead of dispose.
25146 2005-03-08  Wim Taymans  <wim@fluendo.com>
25148         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25149         * gst/gstthread.c: (gst_thread_release_children_locks):
25150         Added parentage check.
25151         Fix build og GstThread again.
25153 2005-03-08  Wim Taymans  <wim@fluendo.com>
25155         * docs/design/part-MT-refcounting.txt:
25156         * docs/design/part-conventions.txt:
25157         * docs/design/part-gstobject.txt:
25158         * docs/design/part-relations.txt:
25159         * docs/design/part-standards.txt:
25160         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25161         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25162         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25163         (gst_bin_iterate_all_by_interface):
25164         * gst/gstbuffer.h:
25165         * gst/gstclock.h:
25166         * gst/gstelement.c: (gst_element_class_init),
25167         (gst_element_change_state), (gst_element_set_loop_function):
25168         * gst/gstelement.h:
25169         * gst/gstiterator.c:
25170         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25171         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25172         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25173         (gst_object_set_parent), (gst_object_unparent),
25174         (gst_object_check_uniqueness):
25175         * gst/gstobject.h:
25176         Docs updates, clean up some headers.
25178 2005-03-07  Wim Taymans  <wim@fluendo.com>
25180         * check/.cvsignore:
25181         * check/Makefile.am:
25182         * check/gst-libs/.cvsignore:
25183         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25184         * check/gst/.cvsignore:
25185         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25186         (START_TEST), (gstbus_suite), (main):
25187         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25188         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25189         (gst_data_suite), (main):
25190         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25191         (add_fold_func), (gstiterator_suite), (main):
25192         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25193         (thread_name_object), (thread_name_object_default),
25194         (gst_object_name_compare), (gst_object_suite), (main):
25195         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25196         (gst_pad_suite), (main):
25197         * check/gstcheck.c: (gst_check_log_message_func),
25198         (gst_check_log_critical_func), (gst_check_init):
25199         * check/gstcheck.h:
25200         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25201         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25202         Added checks.
25204 2005-03-07  Wim Taymans  <wim@fluendo.com>
25206         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25207         (gst_list_iterator_next), (gst_list_iterator_resync),
25208         (gst_list_iterator_free), (gst_iterator_new_list),
25209         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25210         (gst_iterator_free), (gst_iterator_push), (filter_next),
25211         (filter_resync), (filter_uninit), (filter_free),
25212         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25213         (gst_iterator_foreach), (find_custom_fold_func),
25214         (gst_iterator_find_custom):
25215         * gst/gstiterator.h:
25216         Added missing files.
25218 2005-03-07  Wim Taymans  <wim@fluendo.com>
25220         * Makefile.am:
25221         * configure.ac:
25222         * docs/design/part-MT-refcounting.txt:
25223         * docs/design/part-conventions.txt:
25224         * docs/design/part-gstobject.txt:
25225         * docs/design/part-relations.txt:
25226         * examples/mixer/mixer.c: (main):
25227         * examples/thread/thread.c: (eos), (main):
25228         * gst/Makefile.am:
25229         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25230         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25231         (gst_spider_plug_from_srcpad):
25232         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25233         (gst_spider_identity_change_state),
25234         (gst_spider_identity_sink_loop_type_finding):
25235         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25236         * gst/elements/gstidentity.c: (gst_identity_init):
25237         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25238         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25239         * gst/elements/gsttypefindelement.c: (free_entry):
25240         * gst/gst.c:
25241         * gst/gst.h:
25242         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25243         (gst_bin_set_clock_func), (gst_bin_auto_clock),
25244         (gst_bin_set_index), (gst_bin_set_element_sched),
25245         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25246         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25247         (gst_bin_iterate_elements), (iterate_child_recurse),
25248         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25249         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25250         (compare_interface), (gst_bin_get_by_interface),
25251         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25252         * gst/gstbin.h:
25253         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25254         (gst_buffer_default_free), (gst_buffer_default_copy),
25255         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25256         (gst_buffer_create_sub):
25257         * gst/gstbuffer.h:
25258         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25259         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25260         (gst_caps_unref), (gst_static_caps_get),
25261         (gst_caps_remove_and_get_structure), (gst_caps_append),
25262         (gst_caps_append_structure), (gst_caps_remove_structure),
25263         (gst_caps_copy_nth), (gst_caps_set_simple),
25264         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25265         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25266         (gst_caps_structure_intersect_field), (gst_caps_intersect),
25267         (gst_caps_structure_subtract_field), (gst_caps_subtract),
25268         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25269         (gst_caps_structure_figure_out_union),
25270         (gst_caps_switch_structures), (gst_caps_do_simplify),
25271         (gst_caps_replace), (gst_caps_from_string),
25272         (gst_caps_copy_conditional):
25273         * gst/gstcaps.h:
25274         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25275         (_gst_clock_id_free), (gst_clock_id_unref),
25276         (gst_clock_id_compare_func), (gst_clock_id_wait),
25277         (gst_clock_id_wait_async), (gst_clock_class_init),
25278         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25279         (gst_clock_get_time), (gst_clock_set_time_adjust),
25280         (gst_clock_set_property), (gst_clock_get_property):
25281         * gst/gstclock.h:
25282         * gst/gstcompat.h:
25283         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25284         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25285         * gst/gstdata.h:
25286         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25287         (gst_element_requires_clock), (gst_element_provides_clock),
25288         (gst_element_set_clock), (gst_element_clock_wait),
25289         (gst_element_wait), (gst_element_set_time_delay),
25290         (gst_element_is_indexable), (gst_element_add_pad),
25291         (gst_element_add_ghost_pad), (gst_element_remove_pad),
25292         (pad_compare_name), (gst_element_get_static_pad),
25293         (gst_element_request_pad), (gst_element_get_request_pad),
25294         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25295         (gst_element_class_get_pad_template_list),
25296         (gst_element_class_get_pad_template), (gst_element_error_func),
25297         (gst_element_get_random_pad), (gst_element_get_event_masks),
25298         (gst_element_send_event), (gst_element_seek),
25299         (gst_element_get_query_types), (gst_element_query),
25300         (gst_element_get_formats), (gst_element_convert),
25301         (gst_element_is_locked_state), (gst_element_set_locked_state),
25302         (gst_element_sync_state_with_parent), (gst_element_change_state),
25303         (gst_element_finalize), (gst_element_yield),
25304         (gst_element_interrupt), (gst_element_set_scheduler),
25305         (gst_element_get_scheduler), (gst_element_set_loop_function):
25306         * gst/gstelement.h:
25307         * gst/gstevent.h:
25308         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25309         (gst_format_get_by_nick), (gst_format_get_details),
25310         (gst_format_iterate_definitions):
25311         * gst/gstformat.h:
25312         * gst/gstindex.c: (gst_index_gtype_resolver):
25313         * gst/gstinfo.c:
25314         * gst/gstinfo.h:
25315         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25316         (gst_mem_chunk_free):
25317         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25318         (gst_object_ref), (gst_object_unref), (gst_object_sink),
25319         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25320         (gst_object_dispatch_properties_changed),
25321         (gst_object_set_name_default), (gst_object_set_name),
25322         (gst_object_get_name), (gst_object_set_name_prefix),
25323         (gst_object_get_name_prefix), (gst_object_set_parent),
25324         (gst_object_get_parent), (gst_object_unparent),
25325         (gst_object_check_uniqueness), (gst_object_save_thyself),
25326         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25327         (gst_object_set_property), (gst_object_get_property),
25328         (gst_object_get_path_string):
25329         * gst/gstobject.h:
25330         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25331         (gst_real_pad_init), (gst_real_pad_get_property),
25332         (gst_pad_custom_new), (gst_pad_get_direction),
25333         (gst_pad_set_active), (gst_pad_is_active),
25334         (gst_pad_set_event_function), (gst_pad_is_linked),
25335         (gst_pad_link_free), (gst_pad_link_intersect),
25336         (gst_pad_link_fixate), (gst_pad_set_caps),
25337         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
25338         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
25339         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
25340         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
25341         (gst_pad_get_caps), (gst_pad_peer_get_caps),
25342         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
25343         (gst_pad_realize), (gst_pad_get_allowed_caps),
25344         (gst_real_pad_dispose), (gst_real_pad_finalize),
25345         (gst_pad_collectv), (gst_pad_collect_valist),
25346         (gst_pad_template_dispose), (gst_pad_template_new),
25347         (gst_pad_get_internal_links):
25348         * gst/gstpad.h:
25349         * gst/gstpipeline.c: (gst_pipeline_dispose),
25350         (gst_pipeline_change_state):
25351         * gst/gstpipeline.h:
25352         * gst/gstplugin.c:
25353         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
25354         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
25355         * gst/gstpluginfeature.h:
25356         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
25357         * gst/gstquery.c: (_gst_query_type_initialize),
25358         (gst_query_type_register), (gst_query_type_get_by_nick),
25359         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
25360         * gst/gstquery.h:
25361         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
25362         * gst/gstscheduler.c: (gst_scheduler_add_element),
25363         (gst_scheduler_factory_create):
25364         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25365         (gst_structure_free), (gst_structure_set_name),
25366         (gst_structure_id_set_value), (gst_structure_set_value),
25367         (gst_structure_set_valist), (gst_structure_remove_field),
25368         (gst_structure_remove_fields),
25369         (gst_structure_remove_fields_valist),
25370         (gst_structure_remove_all_fields), (gst_structure_foreach),
25371         (gst_structure_map_in_place),
25372         (gst_caps_structure_fixate_field_nearest_int),
25373         (gst_caps_structure_fixate_field_nearest_double):
25374         * gst/gststructure.h:
25375         * gst/gstsystemclock.c: (gst_system_clock_class_init),
25376         (gst_system_clock_init), (gst_system_clock_dispose),
25377         (gst_system_clock_async_thread),
25378         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
25379         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
25380         * gst/gstsystemclock.h:
25381         * gst/gsttag.c: (gst_tag_list_add_value_internal),
25382         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
25383         * gst/gsttaginterface.c:
25384         * gst/gstthread.c: (gst_thread_dispose),
25385         (gst_thread_release_children_locks), (gst_thread_change_state),
25386         (gst_thread_main_loop):
25387         * gst/gsttrashstack.h:
25388         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
25389         * gst/gsttypes.h:
25390         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25391         (gst_element_request_pad), (gst_element_get_pad_from_template),
25392         (gst_element_request_compatible_pad),
25393         (gst_element_get_compatible_pad_filtered),
25394         (gst_element_get_compatible_pad), (gst_element_state_get_name),
25395         (gst_element_link_pads_filtered), (gst_element_link_filtered),
25396         (gst_element_link_many), (gst_element_link),
25397         (gst_element_link_pads), (gst_element_unlink_pads),
25398         (gst_element_unlink_many), (gst_element_unlink),
25399         (gst_pad_can_link_filtered), (gst_pad_can_link),
25400         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
25401         (gst_object_default_error), (gst_bin_add_many),
25402         (gst_bin_remove_many), (gst_element_populate_std_props),
25403         (gst_element_class_install_std_props), (gst_buffer_merge),
25404         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
25405         (link_fold_func), (gst_pad_proxy_setcaps):
25406         * gst/gstutils.h:
25407         * gst/gstvalue.c: (gst_value_deserialize_string):
25408         * gst/parse/grammar.y:
25409         * gst/schedulers/gstbasicscheduler.c:
25410         (gst_basic_scheduler_cothreaded_chain),
25411         (gst_basic_scheduler_chain_recursive_add),
25412         (gst_basic_scheduler_pad_link):
25413         * gst/schedulers/gstoptimalscheduler.c:
25414         (get_group_schedule_function),
25415         (gst_opt_scheduler_state_transition),
25416         (gst_opt_scheduler_add_element), (element_get_reachables_func):
25417         * libs/gst/bytestream/bytestream.c:
25418         * libs/gst/dataprotocol/dataprotocol.c:
25419         (gst_dp_header_from_buffer):
25420         * po/nb.po:
25421         * po/ru.po:
25422         * tests/threadstate/threadstate2.c: (eos):
25423         * tools/gst-compprep.c: (main):
25424         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
25425         (print_pad_info), (print_children_info):
25426         * tools/gst-launch.c: (idle_func), (main):
25427         * tools/gst-md5sum.c: (idle_func), (main):
25428         * tools/gst-xmlinspect.c: (print_element_info):
25429         First THREADED backport attempt, focusing on adding locks and
25430         making sure the API is threadsafe. Needs more work. More docs
25431         follow this week.
25433 2005-02-24  Andy Wingo  <wingo@pobox.com>
25435         * tests/bench-complexity.scm:
25436         * tests/complexity.gnuplot: New files, good for running complexity
25437         benchmarks.
25439         * tests/Makefile.am:
25440         * tests/complexity.c: New test, sets up N elements, at each level
25441         teeing into M streams per element. Eeeenteresting.
25443         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
25444         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
25445         running bench-mass_elements.scm.
25447         * tests/bench-mass_elements.scm: New script, runs mass_elements
25448         for various numbers of identities, outputting the results to a
25449         file. Requires guile 1.6. Just for testing.
25451 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25453         * gst/schedulers/fairscheduler.c:
25454           compile with debug disabled
25456 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25458         * configure.ac:
25459           hunting season on 0.9 is now OPEN