]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blob - ChangeLog
docs/libs/gstreamer-libs.types: Don't register the enum type gst_lfo_waveform_get_typ...
[glsdk/gstreamer0-10.git] / ChangeLog
1 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3         * docs/libs/gstreamer-libs.types:
4         Don't register the enum type gst_lfo_waveform_get_type() in the
5         .types file - only GObject derived types belong.
7 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
9         Patch by: <arenevier at fdn dot fr>
11         * gst/gstbuffer.h:
12         Remove comma from last element in enum to avoid compile errors when
13         using -pendantic. Fixes #464366.
15 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
17         * docs/design/part-TODO.txt:
18         Add some more TODO items
20         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
21         Improve debugging.
23         * gst/gstcaps.c: (gst_caps_intersect):
24         Optimize trivial intersection case between identical caps pointers.
26         * gst/gstelement.c: (gst_element_continue_state),
27         (gst_element_set_state_func):
28         * gst/gstpad.c:
29         Fix spelling and grammar mistakes.
31 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
33         * po/POTFILES.in:
34         * po/POTFILES.skip:
35           Update POTFILES. Fixes #461599.
37 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
39         * gst/gst.c:
40         Fix confusing typo in debug output.
42 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
44         reviewed by: Stefan Kost <ensonic@users.sf.net>
46         * libs/gst/controller/Makefile.am:
47         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
48         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
49         (gst_lfo_control_source_new),
50         (gst_lfo_control_source_set_waveform),
51         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
52         (gst_lfo_control_source_finalize),
53         (gst_lfo_control_source_dispose),
54         (gst_lfo_control_source_set_property),
55         (gst_lfo_control_source_get_property),
56         (gst_lfo_control_source_class_init):
57         * libs/gst/controller/gstlfocontrolsource.h:
58         * libs/gst/controller/gstlfocontrolsourceprivate.h:
59         API: Add GstLFOControlSource, a control source that gives values
60         for specific timestamps based on several periodic waveforms.
61         Fixes #459717.
63         * tests/check/libs/controller.c: (GST_START_TEST),
64         (gst_controller_suite):
65         * docs/libs/gstreamer-libs-docs.sgml:
66         * docs/libs/gstreamer-libs-sections.txt:
67         * docs/libs/gstreamer-libs.types:
68         Add documentation and unit tests for GstLFOControlSource.
70 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
72         * configure.ac:
73         Back to CVS
75 === release 0.10.14 ===
77 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
79         * configure.ac:
80           releasing 0.10.14, "Breathing Vacuum"
82 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
84         * gst/gstelement.c: (gst_element_class_set_details_simple):
85         * gst/gstelement.h:
86           Make strings passed to gst_element_class_set_details_simple()
87           constant, as they should be (#462752).
89 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
91         * gst/gstbin.c: (gst_bin_change_state_func),
92         (bin_handle_async_done), (gst_bin_handle_message_func):
93         Don't forget about the fact that some element went ASYNC even after a
94         resync. This makes us post the ASYNC_DONE message correctly.
95         Fixes #462558.
97 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
99         * gst/gstregistry.c: (gst_registry_add_feature):
100         When replacing an existing feature in the registry, make sure to
101         continue holding a reference until we've replaced the name string
102         within our feature hash table. Make sure to use g_hash_table_replace
103         instead of g_hash_table_insert to ensure the new name string is used
104         as a key instead of the old one that we're about to free.
105         Fixes: #462085
107 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
109         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
110         (gst_plugin_feature_set_name):
111         Revert patch from #459466 until after the release and we can work
112         out exactly what the problem is (if any).
114 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
116         * docs/gst/gstreamer-sections.txt:
117         * gst/gsttaglist.c:
118         * gst/gsttaglist.h:
119           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
121 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
123         * docs/libs/Makefile.am:
124         Include our build-prefix libs and includes before the generic ones to
125         avoid linking against the installed libs when we want the build-tree
126         ones.
128 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
130         Patch by: Steve Fink  <sphink gmail com>
132         * docs/pwg/building-testapp.xml:
133           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
134           if people try to build or install the example from the plugin
135           template against a GStreamer from package using the configure
136           defaults.
138 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
140         Patch by: Steve Fink  <sphink gmail com>
142         * tools/gst-inspect.1.in:
143           Document --print-all and --print-plugin-auto-install-info command
144           line options in man page.
146 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
148         * docs/gst/gstreamer-sections.txt:
149         Add docs for new api function.
151 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
153         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
154         * gst/gstelementfactory.h:
155         API: gst_element_factory_has_interface()
156         Added method to check if an element factory implements a named
157         interface.
159 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
161         * configure.ac:
162         * docs/gst/gstreamer.types.in:
163           Another conditional doc check.
165         * gst/gstmessage.c:
166         * gst/gstparamspecs.h:
167         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
168         * gst/gstvalue.c:
169         * gst/gstxml.h:
170           API-doc fixes.
172 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
174         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
175         (gst_registry_binary_load_feature),
176         (gst_registry_binary_load_plugin),
177         (gst_registry_binary_read_cache):
178           Print error just once and with additional info.
180 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
182         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
183         (helper_find_suggest), (helper_find_get_length),
184         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
185         (gst_type_find_helper_for_buffer):
186           Cleanup the typefindhelper code and add private doc comments.
188 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
190         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
191         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
192         Fix capsfilter for cases where the caps set on capsfilter will provide
193         additional information.
194         Fixes #449197
196 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
198         * gst/gsttypefindfactory.c:
199           Fix docs that recommened wrong function to use.
201 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
203         * tools/gst-inspect.c: (print_plugin_features):
204           Also give media-type for typefinders in element output.
206 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
208         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
209         (gst_registry_remove_features_for_plugin_unlocked),
210         (gst_registry_add_feature), (gst_registry_remove_feature),
211         (gst_registry_lookup_feature_locked):
212         * gst/gstregistry.h:
213           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
214           Fixes #459501.
216 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
218         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
219         (gst_plugin_feature_set_name):
220           Avoid double memory usage for pluginfeature names. Fixes #459466.
222 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
224         * gst/gstpad.h:
225           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
226           driving the pipeline may need to explicitly check for NOT_LINKED as
227           well, since IS_FATAL doesn't cover that.
229 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
231         * docs/pwg/advanced-types.xml:
232           Fix typo and duplicate entry in video formats list.
234 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
236         * libs/gst/controller/gstinterpolation.c:
237         Also round to the nearest int when using cubic interpolation.
239 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
241         * libs/gst/controller/gstinterpolation.c:
242         When linearly interpolating integer types, round to the nearest int
243         by adding 0.5. Don't do it for float/double types.
244         Fixes the failing controller test on my machine, which is somehow
245         rounding differently than on the buildbots.
247 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
249         * tools/gst-plot-timeline.py:
250           Better log parsing (categories can have -). Adjust text vs. lines, so
251           that they span the same y-range.        
253 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
255         * docs/random/ensonic/audiobaseclasses.txt:
256         * docs/random/ensonic/dynlink.txt:
257         * docs/random/ensonic/profiling.txt:
258           Save my thoughts.
260         * docs/random/moving-plugins:
261           Add note to use g_assert type macros.
263 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
265         * configure.ac:
266         * libs/gst/check/Makefile.am:
267           Add libm check as we use in for plugins.
269 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
271         * gst/gstbin.c: (gst_bin_continue_func):
272         Check that the state_cookie hasn't changed since the continue_func
273         was scheduled. Avoids problems where the state changes back to
274         something it shouldn't be because it was changed in the meantime.
276 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
278         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
279         (gst_registry_binary_save_string),
280         (gst_registry_binary_save_pad_template),
281         (gst_registry_binary_save_feature),
282         (gst_registry_binary_save_plugin),
283         (gst_registry_binary_load_feature),
284         (gst_registry_binary_load_plugin),
285         (gst_registry_binary_read_cache):
286           Fix memory leak. Be less verbose in the log.
288 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
290         * tests/check/elements/.cvsignore:
291         Add file to cvsignore as commanded.
293 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
295         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
296         (mq_dummypad_event), (run_output_order_test):
297         Use a GStaticMutex to protect all cases where libcheck
298         fail_if/fail_unless macros might be called from multiple threads
299         simultaneously to avoid errors like:
300           "check_pack.c:107: :-1081725400:Bad message type arg"
302 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
304         * tests/check/pipelines/stress.c: (GST_START_TEST):
305         Make sure we set the pipeline back to the NULL state before
306         dropping our final reference.
308 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
310         * tests/check/elements/tee.c: (GST_START_TEST):
311         Make the tee stress-test a little less stressful so it doesn't just
312         time out on slow-machines, and remove a small race when it's starting 
313         up by adding a get_state() call.
315 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
317         * gst/gst.c:
318           Avoid reading registry twice on startup. Fixes #457322.
320 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
322         * pkgconfig/gstreamer-check-uninstalled.pc.in:
323         * pkgconfig/gstreamer-check.pc.in:
324         Substitute the CFLAGS for libcheck into our .pc file too so that
325         dependent modules will pick it up properly if libcheck is installed
326         into some other prefix.
328 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
330         * configure.ac:
331         Revert the pkg-config check for libcheck, since it pulls in the
332         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
333         a proper solution, either from the check project, or something else.
335 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
337         * configure.ac:
338           Use pkg-config to locate check.
340 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
342         * gst/gsttaglist.c:
343           Fix doc syntax.
345         * gst/gstutils.c:
346         * gst/gstutils.h:
347           Add deprecation guards.
349         * libs/gst/base/gstcollectpads.h:
350           Don't document object (this is implicitly private).
352 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
354         * gst/gststructure.c: (gst_structure_parse_value):
355           When deserialising foo=bar without a type cast, check if it's a
356           boolean before falling back to a string type, otherwise things like
357           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
358           because the filtercaps end up having a signed=(string)true field,
359           which causes problems later when intersection caps.
361         * tests/check/gst/gststructure.c: (GST_START_TEST):
362           Add a unit test for this.
364 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
366         Reviewed by: Stefan Kost <ensonic@users.sf.net>
368         * libs/gst/controller/Makefile.am:
369         * libs/gst/controller/gstcontroller.c:
370         (gst_controlled_property_add_interpolation_control_source),
371         (gst_controlled_property_new), (gst_controlled_property_free),
372         (gst_controller_find_controlled_property),
373         (gst_controller_new_valist), (gst_controller_new_list),
374         (gst_controller_new), (gst_controller_remove_properties_valist),
375         (gst_controller_remove_properties_list),
376         (gst_controller_remove_properties),
377         (gst_controller_set_property_disabled),
378         (gst_controller_set_disabled), (gst_controller_set_control_source),
379         (gst_controller_get_control_source), (gst_controller_get),
380         (gst_controller_sync_values), (gst_controller_get_value_array),
381         (_gst_controller_dispose), (gst_controller_get_type),
382         (gst_controlled_property_set_interpolation_mode),
383         (gst_controller_set), (gst_controller_set_from_list),
384         (gst_controller_unset), (gst_controller_unset_all),
385         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
386         * libs/gst/controller/gstcontroller.h:
387         * libs/gst/controller/gstcontrollerprivate.h:
388         * libs/gst/controller/gstcontrolsource.c:
389         (gst_control_source_class_init), (gst_control_source_init),
390         (gst_control_source_get_value),
391         (gst_control_source_get_value_array), (gst_control_source_bind):
392         * libs/gst/controller/gstcontrolsource.h:
393         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
394         (gst_object_get_control_source):
395         * libs/gst/controller/gstinterpolation.c:
396         (gst_interpolation_control_source_find_control_point_node),
397         (gst_interpolation_control_source_get_first_value),
398         (_interpolate_none_get), (interpolate_none_get),
399         (interpolate_none_get_boolean_value_array),
400         (interpolate_none_get_enum_value_array),
401         (interpolate_none_get_string_value_array),
402         (_interpolate_trigger_get), (interpolate_trigger_get),
403         (interpolate_trigger_get_boolean_value_array),
404         (interpolate_trigger_get_enum_value_array),
405         (interpolate_trigger_get_string_value_array):
406         * libs/gst/controller/gstinterpolationcontrolsource.c:
407         (gst_control_point_free), (gst_interpolation_control_source_reset),
408         (gst_interpolation_control_source_new),
409         (gst_interpolation_control_source_set_interpolation_mode),
410         (gst_interpolation_control_source_bind),
411         (gst_control_point_compare), (gst_control_point_find),
412         (gst_interpolation_control_source_set_internal),
413         (gst_interpolation_control_source_set),
414         (gst_interpolation_control_source_set_from_list),
415         (gst_interpolation_control_source_unset),
416         (gst_interpolation_control_source_unset_all),
417         (gst_interpolation_control_source_get_all),
418         (gst_interpolation_control_source_get_count),
419         (gst_interpolation_control_source_init),
420         (gst_interpolation_control_source_finalize),
421         (gst_interpolation_control_source_dispose),
422         (gst_interpolation_control_source_class_init):
423         * libs/gst/controller/gstinterpolationcontrolsource.h:
424         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
425         API: Refactor GstController into the core controller which can take
426         a GstControlSource for providing actual values for timestamps.
427         Implement a interpolation control source and use this for backward
428         compatibility, deprecate a bunch of functions that are now handled
429         by GstControlSource or GstInterpolationControlSource.
430         Make it possible to disable the controller completely or only for
431         specific properties. Fixes #450711.
432         * docs/libs/gstreamer-libs-docs.sgml:
433         * docs/libs/gstreamer-libs-sections.txt:
434         * docs/libs/gstreamer-libs.types:
435         Add new functions and classes to the docs.
436         * tests/check/libs/controller.c: (GST_START_TEST),
437         (gst_controller_suite):
438         * tests/examples/controller/audio-example.c: (main):
439         Port unit test and example to the new API and add some new
440         unit tests.
442 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
444         Patch by: Mark Nauwelaerts <manauw at skynet be>
446         * plugins/elements/gstmultiqueue.c:
447         (gst_multi_queue_get_internal_links), (apply_buffer),
448         (single_queue_overrun_cb), (gst_single_queue_new):
449         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
450         the pipeline layout can be tracked correctly. Fixes #453732.
452 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
454         * docs/gst/Makefile.am:
455         * docs/libs/Makefile.am:
456         * docs/plugins/Makefile.am:
457           Simplify --extra-dir as gtkdoc scans recursively.
459 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
461         * tools/gst-launch.c: (main):
462         When we got an error, there is no point in waiting for preroll when
463         shutting down.
465 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
467         * plugins/elements/gsttee.c: (gst_tee_base_init),
468         (gst_tee_request_new_pad), (gst_tee_release_pad),
469         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
470         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
471         (gst_tee_chain):
472         Be a lot smarter when deciding what srcpad to use for proxying
473         the buffer_alloc. Also handle pad added/removed when doing so.
474         Fixes #357959.
475         Keep track of what pads we already pushed on in case we have pads
476         added/removed while pushing. Fixes #374639 
478         * tests/check/Makefile.am:
479         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
480         (tee_suite):
481         Added unit test for pad resync.
483 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
485         * po/nl.po:
486         * po/sv.po:
487           Updated translations.
489 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
491         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
493         * po/LINGUAS:
494         * po/fi.po:
495           Added new Finnish translation.
497 2007-06-28  Wim Taymans  <wim@fluendo.com>
499         * plugins/elements/gstmultiqueue.c: (apply_buffer),
500         (single_queue_overrun_cb):
501         When figuring out when a queue is filled, use our internal time estimate
502         based on segments, just like check_full does.
504 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
506         * gst/gstminiobject.c: (gst_mini_object_get_type):
507           Remove 3 do-nothing methods.
509 2007-06-27  Wim Taymans  <wim@fluendo.com>
511         Patch by: Tim Angus <tim at ngus dot net>
513         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
514         (gst_capsfilter_set_property):
515         Take a reference instead of a copy when setting "caps".
516         Fix documentation to clarify this behaviour. Fixes #449414.
518 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
520         * gst/gstindexfactory.c: (gst_index_factory_get_type):
521         * gst/gstplugin.c: (gst_plugin_init):
522         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
523         * gst/gstquery.c: (gst_query_get_type):
524         * gst/gstregistry.c: (gst_registry_init):
525         * gst/gsturi.c: (gst_uri_handler_base_init):
526           Remove empty instance_init() functions to save relocs and lessen the
527           noise. Remove some of the function prototypes that are doubled by
528           G_DEFINE_TYPE.
529           
530 2007-06-27  Wim Taymans  <wim@fluendo.com>
532         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
534         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
535         Add peer and direction in the XML serialisation of ghostpads.
536         Fixes #449226.
538 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
540         * configure.ac:
541           Preserve useful information, thanks Tim.
543 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
545         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
546         (gst_single_queue_flush), (apply_segment), (apply_buffer),
547         (gst_single_queue_push_one), (gst_multi_queue_loop),
548         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
549         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
550         (compute_high_id), (gst_single_queue_new):
551         * plugins/elements/gstmultiqueue.h:
552         Take the multiqueue lock when updating the fill level so we don't get
553         confused. 
555         After applying a buffer or event on the src pad segment, make sure to
556         call gst_data_queue_limits_changed() to get the data queue to unblock
557         and check the filled state again.
558         
559         Rework the not-linked pad handling so the logic is that not-linked 
560         pads can push as fast as they like, but only so they never get 
561         ahead of any linked pads.
563         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
564         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
565         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
567         Add a test to check that not-linked pads always stay behind
568         linked pads.
570         Fixes: #430682
572 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
574         * docs/random/release:
575           Some updates to the release procedure.
577 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
579         * gst/gstelementfactory.c: (__gst_element_details_clear):
580           Microoptimization that saves stunning 80 bytes.
582 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
584         * docs/plugins/gstreamer-plugins.args:
585         * docs/plugins/inspect/plugin-coreelements.xml:
586         * docs/plugins/inspect/plugin-coreindexers.xml:
587           Update docs with caps info.
589 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
591         * po/it.po:
592           Updated Italian translation.
594 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
596         * ChangeLog:
597         * po/vi.po:
598           Update Vietnamese translations.
600 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
602         * libs/gst/base/gstbasesink.c:
603           Remove unused signal enum.
605 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
607         * docs/gst/gstreamer-sections.txt:
608         * gst/gstelement.c:
609         * gst/gstutils.c: (gst_type_register_static_full):
610         Beef up and include the docs for gst_type_register_static_full and
611         gst_element_class_set_details_simple and add the API keyword
612         in the ChangeLog.
614 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
616         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
617         (update_time_level), (gst_single_queue_push_one),
618         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
619         (single_queue_overrun_cb), (single_queue_underrun_cb),
620         (single_queue_check_full):
621         Fix setting max-* properties after adding queues.
622         Use IS_FILLED for checking visible items.
623         Signal overrun if multiple queues overrun.
624         Add extra debug output.
625         Patch by: Wim Taymans <wim@fluendo.com>
627 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
629         * gst/gstelement.c: (gst_element_class_set_details_simple):
630         * gst/gstelement.h:
631         * gst/gstutils.c: (gst_type_register_static_full):
632         * gst/gstutils.h:
633         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
634         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
635         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
636         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
637         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
638         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
639         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
640         * plugins/elements/gstidentity.c: (gst_identity_base_init):
641         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
642         * plugins/elements/gstqueue.c: (gst_queue_base_init),
643         (apply_buffer), (gst_queue_chain):
644         * plugins/elements/gsttee.c: (gst_tee_base_init):
645         * plugins/elements/gsttypefindelement.c:
646         (gst_type_find_element_base_init),
647         (gst_type_find_element_class_init):
648           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
649           API: add gst_type_register_static_full
650           API: add gst_element_class_set_details_simple
652 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
654         * docs/pwg/advanced-types.xml:
655           Fix typo in iana.org URI.
657 2007-06-19  Andy Wingo  <wingo@pobox.com>
659         * tests/check/pipelines/simple-launch-lines.c
660         (test_state_change_returns): Enable pull-mode tests now that
661         basesink has been fixed.
663         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
664         Changed from gst_base_sink_is_prerolled, reversing the sense of
665         the return value. Returns FALSE also if the sink is in pull mode,
666         in which case it needs no preroll.
667         (gst_base_sink_query, gst_base_sink_change_state): Update for
668         needs_preroll change.
669         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
670         chaining up, in which we return SUCCESS directly if we activated
671         in pull mode instead of ASYNC. Involves countering an async_start
672         message sent before chaining up; not sure if this is correct, in
673         an ideal world we only send async-start when activating in push
674         mode.
676         * tests/check/pipelines/simple-launch-lines.c
677         (test_state_change_returns): New test, partially disabled until
678         basesink is fixed.
680 2007-06-19  Wim Taymans  <wim@fluendo.com>
682         * plugins/elements/gstmultiqueue.c: (apply_buffer),
683         (gst_multi_queue_sink_event):
684         Fix event leak.
686 2007-06-19  Wim Taymans  <wim@fluendo.com>
688         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
689         (gst_bin_change_state_func), (bin_push_state_continue),
690         (bin_handle_async_start), (bin_handle_async_done),
691         (gst_bin_handle_message_func):
692         Move the common code for posting state-change messages into
693         one function.
694         Broadcast the state signal after we posted the messages.
695         Mark the bin as busy when it's doing a state-change.
696         Make sure async-start/done messages don't interfere with the bin's
697         state when it's busy.
698         After the state change, let the bin check which elements completed the
699         state change while it was busy so that it can update its state.
701 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
703         * docs/random/release:
704         Add a note about updating the doap file to the release checklist
706 2007-06-18  Wim Taymans  <wim@fluendo.com>
708         * plugins/elements/gstmultiqueue.c: (apply_buffer),
709         (gst_single_queue_push_one), (gst_multi_queue_chain),
710         (gst_multi_queue_sink_event):
711         Make sure we don't reference the buffer/event after we have given away
712         ownership in the queue.
714 2007-06-18  Wim Taymans  <wim@fluendo.com>
716         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
717         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
718         Update queue state _after_ adding the item in the queue because else we
719         could end up being full without the element added yet.
721 2007-06-18  Wim Taymans  <wim@fluendo.com>
723         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
724         (gst_bin_remove_func), (gst_bin_get_state_func),
725         (gst_bin_element_set_state), (gst_bin_continue_func),
726         (bin_push_state_continue), (bin_handle_async_start),
727         (bin_handle_async_done), (gst_bin_handle_message_func):
728         * gst/gstbin.h:
729         Immediatly commit the toplevel bin state when receiving an async-done
730         message. This enables us to avoid spawning a thread to commit the state
731         in some common cases and it also avoids some races.
732         Avoid spawning a state thread when adding/removing async elements to a
733         toplevel bin. Instead we immediatly update the bin state.
734         Get rid of iterating all the children when getting the state in the bin
735         because it is now always up-to-date.
736         Fix bug where locked elements would always return _SUCCESS even it they
737         returned NO_PREROLL before being locked.
738         Fix the order of the state_change, async-start/done messages that was
739         sometimes incorrect.
740         Mark the state_dirty field as deprecated, we don't need it anymore as we
741         are always up-to-date.
743         * gst/gstelement.c: (gst_element_get_state_func),
744         (gst_element_continue_state):
745         Small debug inprovements.
746         Return the previous element state return when nothing is pending instead
747         of blindly returning SUCCESS.
749         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
750         (gst_sinks_suite):
751         Add a whole bunch of new testcases.
753 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
755         * po/uk.po:
756         * po/vi.po:
757           Update translations.
759 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
761         * gst/gstpad.c:
762         Fix typo in the docs.
764 2007-06-15  Wim Taymans  <wim@fluendo.com>
766         * docs/libs/gstreamer-libs-sections.txt:
767         Add docs for new methods.
769 2007-06-15  Wim Taymans  <wim@fluendo.com>
771         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
772         (gst_multi_queue_item_new):
773         Don't use GSlice because we don't depend on >= 2.10 yet.
775 2007-06-15  Wim Taymans  <wim@fluendo.com>
777         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
778         (update_time_level), (apply_segment), (apply_buffer),
779         (gst_single_queue_push_one), (gst_multi_queue_item_new),
780         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
781         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
782         (single_queue_underrun_cb), (single_queue_check_full):
783         Remove debug printf.
785 2007-06-15  Wim Taymans  <wim@fluendo.com>
787         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
788         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
789         (gst_data_queue_set_flushing), (gst_data_queue_push),
790         (gst_data_queue_pop), (gst_data_queue_drop_head),
791         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
792         * libs/gst/base/gstdataqueue.h:
793         Various cleanups.
794         Added methods to get the current levels and to inform the queue that the
795         'full' limits changed.
797         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
798         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
799         (gst_single_queue_flush), (update_time_level), (apply_segment),
800         (apply_buffer), (gst_single_queue_push_one),
801         (gst_multi_queue_item_steal_object),
802         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
803         (gst_multi_queue_loop), (gst_multi_queue_chain),
804         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
805         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
806         (gst_multi_queue_src_query), (single_queue_overrun_cb),
807         (single_queue_underrun_cb), (single_queue_check_full),
808         (gst_single_queue_new):
809         Keep track of time in the queue by measuring the difference between
810         running_time on input and output. This gives more accurate results and
811         can compensate for segments correctly.
812         Make a queue by default only 5 buffers deep. We will now increase the
813         buffer size depending on the filledness of the other queues.
814         Factor out commong flush code.
815         Make sure we don't add additional refcounts to buffers when we can avoid
816         it.
817         Propagate GstFlowReturn differently.
818         Use GSlice for intermediate GstMultiQueueItems.
819         Keep track of EOS.
820         Resize queues on over and underruns based on filled level of other
821         queues.
822         When checking if the queue is filled, prefer to measure in time if we
823         can and fall back to bytes when no time is known.
825         * plugins/elements/gstqueue.c:
826         Fix return value.
828 2007-06-15  Wim Taymans  <wim@fluendo.com>
830         * libs/gst/base/gstbasetransform.c:
831         (gst_base_transform_sink_event):
832         Work around the brokenness of the event vmethod in basetransform. Prefer
833         to return TRUE when the subclass returned FALSE (meaning don't forward
834         the event). 
836         * libs/gst/base/gstbasetransform.h:
837         Clarify the docs.
839 2007-06-15  Wim Taymans  <wim@fluendo.com>
841         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
842         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
843         (gst_base_src_default_query), (gst_base_src_get_range),
844         (gst_base_src_start):
845         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
846         Improve debugging.
848 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
850         * docs/pwg/advanced-types.xml:
851           Added more formats to caps table.
853 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
855         * tools/gst-launch.c: (main):
856           Remove crufy code. GOption does not need this workaround.
858 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
860         * libs/gst/controller/gstcontroller.c:
861         (gst_controlled_property_set_interpolation_mode):
862           Fix wrong getter for enums in controller.
864 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
866         * libs/gst/check/gstcheck.c: (gst_check_init):
867           Intercept criticals and warnings in the Gst-Phonon log domain, so
868           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
869           well.
870         
871 2007-06-14  Edward Hervey  <edward@fluendo.com>
873         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
874         Since this file doesn't include "gst.h" it will not go through the
875         macros that disable GST_LOG if debugging was disabled.
877 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
879         * libs/gst/check/Makefile.am:
880         * libs/gst/check/gstcheck.h:
881         * pkgconfig/gstreamer-check-uninstalled.pc.in:
882         * pkgconfig/gstreamer-check.pc.in:
883           Ugly 'fix' for the controller unit test on the p5 bot: in
884           fail_unless_equals_float() check whether the values are 'almost
885           equal' by allowing a small absolute error, which should be good
886           enough for our use cases (normal numbers and values close to 0).
887           Proper fixage left to floating point arithmetic aficionados.
889 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
891         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
892         (gst_base_sink_render_object), (gst_base_sink_get_position):
893           Add two breaks thats where missing.
895 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
897         * docs/libs/gstreamer-libs-sections.txt:
898         * libs/gst/check/gstcheck.h:
899           API: add fail_unless_equals_float() and assert_equals_float().
900           Add documentation for some of the macros.
902         * tests/check/libs/controller.c: (GST_START_TEST):
903           Use newly-added asserts.
905 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
907         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
908           Show the caps change in the log to help spotting the case of not
909           exactly matching caps.
911 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
913         * docs/pwg/building-boiler.xml:
914           Fix typos, spotted by Thijs Vermeir (#447190).
916 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
918         * docs/plugins/tmpl/.cvsignore:
919         Ignore file to keep the buildbots happy
921 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
923         * docs/plugins/Makefile.am:
924         * docs/plugins/gstreamer-plugins-docs.sgml:
925         * docs/plugins/gstreamer-plugins-sections.txt:
926         Pull fdsink into the docs too.
928 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
930         * libs/gst/controller/gstinterpolation.c:
931         Actually use the new functions with min/max checks for the trigger and
932         none interpolation modes for get() and get_value_array() instead of
933         just the latter.
935 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
937         * libs/gst/controller/gstcontroller.c:
938         (gst_controlled_property_free):
939         Unset the minimum and maximum GValues when freeing the corresponding
940         GstControllerProperty struct.
942 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
944         * libs/gst/controller/gstcontroller.c:
945         (gst_controlled_property_new):
946         * libs/gst/controller/gstcontrollerprivate.h:
947         * libs/gst/controller/gstinterpolation.c:
948         (gst_controlled_property_find_control_point_node),
949         (interpolate_none_get), (interpolate_none_get_enum_value_array),
950         (interpolate_none_get_string_value_array),
951         (interpolate_trigger_get),
952         (interpolate_trigger_get_enum_value_array),
953         (interpolate_trigger_get_string_value_array):
954         Protect against values larger or smaller than the minimum or maximum
955         allowed value for the property when using values that can be compared.
957         Optimize trigger interpolator a bit by taking the last requested value
958         into account instead of always looping through the complete list.
960         Fix coding style a bit, everywhere else we use "return foo" instead
961         of "return (foo)".
962         
963         * tests/check/libs/controller.c: (GST_START_TEST),
964         (gst_controller_suite):
965         Add unit test for the protection against too large or too small
966         values.
968 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
970         * docs/random/slomo/controller.txt:
971         Add some thoughts about the future of the controller.
973 2007-06-08  Wim Taymans  <wim@fluendo.com>
975         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
976         Don't overflow in retimestamping code.
978 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
980         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
981         Use gst_util_guint64_to_gdouble for conversions.
982         * win32/common/libgstreamer.def:
983         Add new exported functions.
985 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
987         * gst/gstutils.c:
988           Small docs addition.
990 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
992         * README:
993           Remove that test line again.
995 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
997         * README:
998           Test commit mail sending.
1000 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1002         * configure.ac:
1003           Fix typo and test commit mail sending.
1005 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
1007         * tests/examples/controller/audio-example.c:
1008           Improve comment and test commit mail sending.
1010 2007-06-07  Wim Taymans  <wim@fluendo.com>
1012         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1013         (gst_bin_remove_func), (gst_bin_element_set_state),
1014         (bin_handle_async_start), (bin_handle_async_done),
1015         (gst_bin_handle_message_func):
1016         Add helper function to find messages.
1017         Generate the async-done messages together with the state change
1018         messages.
1019         Small cleanups in handling toplevel bins.
1021 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1023         * libs/gst/base/gstdataqueue.c:
1024         * libs/gst/base/gstdataqueue.h:
1025         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1026         (gst_multi_queue_item_new), (gst_multi_queue_chain),
1027         (gst_multi_queue_sink_event):
1028         * tests/check/elements/multiqueue.c: (multiqueue_suite):
1029           Fix multiqueue leaking buffers and events when downstream or the
1030           queue are flushing. Make refcounting assumptions explicit and
1031           document them (shouldn't break existing code that uses it other than
1032           maybe leak miniobjects, but that already happens anyway). Add unit
1033           test for the most common flushing case. Fixes #423700.
1034           
1035 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1037         * libs/gst/controller/gstcontroller.c:
1038         Clarify docs: The get_all, get_value_array(s) functions
1039         don't modify the GObject properties.
1041 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1043         * libs/gst/controller/gstcontroller.c:
1044         (gst_controlled_property_set_interpolation_mode),
1045         (gst_controlled_property_prepend_default),
1046         (gst_controlled_property_new), (gst_controller_set_unlocked),
1047         (gst_controller_set), (gst_controller_set_from_list),
1048         (gst_controller_unset), (gst_controller_unset_all):
1049         * libs/gst/controller/gstcontrollerprivate.h:
1050         * libs/gst/controller/gstinterpolation.c:
1051         Factor out the 'set' logic into gst_controller_set_unlocked for the
1052         gst_controller_set and gst_controller_set_from_list functions.
1054         To make life of the interpolators easier always add a control point
1055         at timestamp zero with the default value.
1057         In the linear interpolator make things more obvious by better variable
1058         naming (slope).
1060         Implement cubic interpolation mode (by using a natural cubic spline)
1061         and map the quadratic interpolation mode to this too (as quadratic
1062         doesn't make much sense, see discussion on the list).
1064         * tests/check/libs/controller.c: (GST_START_TEST),
1065         (gst_controller_suite):
1066         Add unit test for the cubic interpolation mode and check everywhere
1067         if the interpolation mode could be set as expected.
1069 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1071         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1072           Don't use GLib-2.10 functions, we still depend on
1073           GLib-how-old-is-it-again-2.8.
1075 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1077         * docs/gst/gstreamer-sections.txt:
1078         * gst/Makefile.am:
1079         * gst/gst.c:
1080         * gst/gst.h:
1081         * gst/gstparamspecs.c: (_gst_param_fraction_init),
1082         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1083         (_gst_param_fraction_values_cmp),
1084         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1085         * gst/gstparamspecs.h:
1086         * gst/gstvalue.c:
1087         * tests/check/Makefile.am:
1088         * tests/check/gst/.cvsignore:
1089         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1090         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1091         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1092         (GST_START_TEST), (gst_param_spec_suite):
1093           API: add GstParamSpecFraction, so elements can have fraction
1094           properties without lots of painful string parsing (#444648).
1096 2007-06-05  Wim Taymans  <wim@fluendo.com>
1098         * gst/gstobject.c: (gst_object_class_init):
1099         Fix signal signature.
1101         * gst/gstsegment.c:
1102         Add small clarification in the api docs.
1104         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1105         States are protected with object lock.
1107 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1109         * AUTHORS:
1110         I should probably be listed as an author by now.
1112         * docs/random/release:
1113         Update the release doc
1115 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1117         * gst/gstvalue.c:
1118           Make docs for gst_value_compare() mention return enums that
1119           actually exist.
1121 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1123         * configure.ac:
1124           Back to CVS
1126 === release 0.10.13 ===
1128 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1130         * configure.ac:
1131           releasing 0.10.13, "With or without you"
1133 2007-05-25  Wim Taymans  <wim@fluendo.com>
1135         * gst/gstbin.c: (bin_handle_async_done):
1136         Make sure that the child bin stops after completing the async state
1137         change so that the parent can continue the state change to PLAYING.
1138         Fixes #441159.
1140 2007-05-25  Wim Taymans  <wim@fluendo.com>
1142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1143         (unref_data), (gst_collect_pads_remove_pad),
1144         (gst_collect_pads_check_pads):
1145         Use additional refcounting to avoid crashes when dynamically adding and
1146         removing pads. Fixes #420206.
1148 2007-05-24  Wim Taymans  <wim@fluendo.com>
1150         * tools/gst-launch.c: (event_loop):
1151         When buffering goes from a two digit to a single digit number, make sure
1152         to remove the old second digit by writing a blank over it.
1154 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1156         * libs/gst/base/gstdataqueue.c:
1157           Eliminate tabs and trailing comma in enum list; fix some typos.
1159 2007-05-24  Wim Taymans  <wim@fluendo.com>
1161         * tests/check/gst/gstbin.c: (GST_START_TEST):
1162         Allow refcount of 3 and 4 because some state thread might still be busy
1163         with it.
1165 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1167         * plugins/elements/Makefile.am:
1168         * plugins/elements/gstmultiqueue.h:
1169         * plugins/elements/gstqueue.h:
1170           These are not installed headers, no need for padding.
1172 2007-05-24  Wim Taymans  <wim@fluendo.com>
1174         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1175         (gst_bin_continue_func):
1176         Enable latency for next release.
1177         Restore STATE_LOCK around recalc_state that was left out during the
1178         rewrite and could result in racy behaviour when _get_state and
1179         recalc_state are run concurrently. See #440463.
1181 2007-05-23  Wim Taymans  <wim@fluendo.com>
1183         * tests/check/gst/gstsystemclock.c: (store_callback),
1184         (GST_START_TEST):
1185         Improve test_async_order to also work when both timers are already
1186         expired when we get scheduled to check it.
1188 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1190         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1191         (gst_bin_set_property), (gst_bin_get_property),
1192         (gst_bin_remove_func), (gst_bin_handle_message_func):
1193         * gst/gstbin.h:
1194           'private' is a c++ keyword, let's not use that in header files,
1195           otherwise c++ compilers will throw a tantrum.
1197 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1199         * plugins/elements/gstelements.c:
1200         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1201         (gst_file_sink_get_current_offset):
1202         * plugins/indexers/gstindexers.c: (plugin_init):
1203           Use #ifdef for HAVE_XYZ for consistency.
1205         * tests/check/Makefile.am:
1206         * tests/check/elements/.cvsignore:
1207         * tests/check/elements/filesink.c: (setup_filesink),
1208         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1209           Add some unit tests for filesink.
1211 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1213         Patch by: Mark Nauwelaerts <manauw at skynet be>
1215         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1216         (gst_file_sink_query), (gst_file_sink_do_seek),
1217         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1218         * plugins/elements/gstfilesink.h:
1219           Fix position reporting; rename data_written member to current_pos to
1220           reflect its real meaning (fixes #412648).
1222 2007-05-22  Edward Hervey  <edward@fluendo.com>
1224         * docs/gst/gstreamer-sections.txt:
1225         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1226         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1227         (gst_bin_remove_func), (gst_bin_handle_message_func):
1228         * gst/gstbin.h:
1229         Add a property for bins that handle the state change of their childs.
1230         Fixes #435880
1232 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1234         * libs/gst/controller/gstinterpolation.c:
1235         Use an array of the correct type when using _get_value_array with
1236         linear interpolation.
1238 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1240         * gst/gstelement.c (gst_element_requires_clock,
1241           gst_element_provides_clock, gst_element_request_pad,
1242           gst_element_class_set_details, gst_element_class_set_details_simple,
1243           gst_element_default_send_event, gst_element_abort_state,
1244           gst_element_continue_state, gst_element_set_state,
1245           gst_element_set_state_func, iterator_activate_fold_with_resync):
1246         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1247           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1248           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1249           gst_pad_get_range, gst_pad_pull_range):
1250         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1251           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1252           GstPadActivateModeFunction, GstPadChainFunction,
1253           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1254           GstPadFixateCapsFunction, GstPadTemplate):
1255         * gst/gstpipeline.c (gst_pipeline_change_state,
1256           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1257           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1258           gst_pipeline_get_delay):
1259           Whitespace and docs fixes.
1261 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1263         * libs/gst/controller/gstinterpolation.c:
1264         (interpolate_trigger_get_enum_value_array),
1265         (interpolate_trigger_get_string_value_array):
1266         Add support for retrieving value arrays when using the trigger
1267         interpolation mode. 
1269 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1271         * libs/gst/controller/gstcontroller.c:
1272         (gst_controller_get_value_array):
1273         * libs/gst/controller/gstcontroller.h:
1274         Clarify the docs of gst_controller_get_value_array(): The array where
1275         the values should be written to must be allocated as there seems to be
1276         no way to get the size of a random GType. This doesn't change any
1277         behaviour. Also fix some typos all over the place and remove an unused,
1278         commented function that is not necessary as g_object_set() could be
1279         used instead.
1280         * tests/check/libs/controller.c: (GST_START_TEST),
1281         (gst_controller_suite):
1282         Add unit test for gst_controller_get_value_array().
1284 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1286         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1288         Disable part of the gst_buffer_try_new_and_alloc test, because
1289         it can happily succeed on 64-bit systems where there's more address
1290         space available.
1292 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1294         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1295         Add unit test for the improved caps checking from bug #421543.
1297 2007-05-21  Wim Taymans  <wim@fluendo.com>
1299         * docs/design/part-synchronisation.txt:
1300         Small addition.
1302         * gst/gstbin.c: (gst_bin_query):
1303         * plugins/elements/gstqueue.c: (apply_segment):
1304         Improve debugging.
1306         * gst/gstmessage.h:
1307         Improve docs.
1309 2007-05-21  Wim Taymans  <wim@fluendo.com>
1311         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1312         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1313         (gst_pad_configure_src):
1314         Added simple version of improved caps checking. It was previously
1315         assumed that a setcaps function would check the validity of the caps but
1316         people prefer us to check caps against the template automatically. 
1317         Fixes #421543.
1319 2007-05-21  Wim Taymans  <wim@fluendo.com>
1321         * libs/gst/base/gstbasetransform.h:
1322         Fix macro for locking/unlocking the transform lock.
1324 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1326         * docs/plugins/tmpl/.cvsignore:
1327           Ignore more.
1329 2007-05-18  Edward Hervey  <edward@fluendo.com>
1331         * plugins/elements/gstqueue.c: (gst_queue_loop):
1332         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1333         for the subtle art of warning a potentially blocking thread that it
1334         should check the source pad return value, and relay the information
1335         upstream.
1337 2007-05-18  Edward Hervey  <edward@fluendo.com>
1339         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1340         Release the queue lock !
1342 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1344         * docs/libs/gstreamer-libs-sections.txt:
1345         Add the two new controller functions to the appropiate places.
1347 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1349         reviewed by: Stefan Kost <ensonic@users.sf.net>
1351         * libs/gst/controller/gstcontroller.c:
1352         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1353         (_gst_controller_get_property), (_gst_controller_set_property),
1354         (_gst_controller_init), (_gst_controller_class_init):
1355         * libs/gst/controller/gstcontroller.h:
1356         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1357         (gst_object_get_control_rate), (gst_object_set_control_rate):
1358         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1359         Add API that provides sync suggestion timestamps for elements that
1360         call gst_object_sync_values() from which those elements can subdivide
1361         their processing loop to get the best results for the controlled
1362         properties. For now it just suggests last_sync + control_rate as
1363         new timestamp but this will be improved in the future.
1365         While doing that change the control-rate property to a GstClockTime
1366         from guint and change it's meaning from samples to nanoseconds as
1367         the GstController doesn't know anything about sampling rate. Strictly
1368         speaking this breaks ABI but as the control-rate property didn't do
1369         anything in the past and as such couldn't be used this should be no
1370         problem.        
1372 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1374         reviewed by: Stefan Kost <ensonic@users.sf.net>
1376         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1377         (gst_controller_unset_all):
1378         * libs/gst/controller/gstcontrollerprivate.h:
1379         * libs/gst/controller/gstinterpolation.c:
1380         (gst_controlled_property_find_control_point_node):
1381         Save last synced value from the list to continue searching from there
1382         in future syncs. This speeds everything up a bit.
1383         
1384 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1386         reviewed by: Stefan Kost <ensonic@users.sf.net>
1388         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1389         (gst_control_point_find), (gst_controlled_property_new),
1390         (gst_control_point_free), (gst_controlled_property_free),
1391         (gst_controller_set), (gst_controller_set_from_list),
1392         (gst_controller_unset), (gst_controller_unset_all),
1393         (gst_controller_sync_values):
1394         * libs/gst/controller/gstcontroller.h:
1395         * libs/gst/controller/gstcontrollerprivate.h:
1396         * libs/gst/controller/gstinterpolation.c:
1397         (gst_controlled_property_find_control_point_node),
1398         (interpolate_none_get), (interpolate_trigger_get):
1399         Add a new private GstControlPoint struct which "inherits" from
1400         GstTimedValue to allow different interpolators to store internal
1401         values next to each control point. From the outside everything is
1402         still a GstControlPoint so we don't loose binary compatibility.
1403         Also fixup all the GValue handling to not leak GValues or list nodes.
1404         * tests/check/libs/controller.c: (GST_START_TEST):
1405         Free the list nodes and GValues in the controller_misc test.
1407 2007-05-17  Edward Hervey  <edward@fluendo.com>
1409         * gst/gstsegment.c:
1410         Small doc fix.
1412 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1414         * gst/gstplugin.c: (gst_plugin_load_file):
1415           If we fail to load a plugin because of unresolved symbols or missing
1416           libraries and spew a warning to stderr, we may just as well mention
1417           which plugin it was that failed to load.
1419 2007-05-13  David Schleef  <ds@schleef.org>
1421         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1422           handles the case when ENABLE_GTK_DOC is false, and installs
1423           the prebuilt documentation.  So gtk-doc subdirs are 
1424           unconditionally enabled.  Fixes: #349099.
1426 2007-05-13  David Schleef  <ds@schleef.org>
1428         * gst/gstutils.h: Reword some documentation.
1430 2007-05-12  David Schleef  <ds@schleef.org>
1432         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1433           do anything with the passed "module" parameter, so remove it.
1434           Allows removal of additional vestigal code.
1436 2007-05-12  David Schleef  <ds@schleef.org>
1438         * gst/gstplugin.c:
1439           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1440           Switch to using g_stat() because it's more portable.
1442 2007-05-12  David Schleef  <ds@schleef.org>
1444         * gst/gst.c:
1445           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1446           parsing for embedded systems.
1447         * gst/gstelementfactory.c:
1448           Allow gst_element_register() to be called with plugin==NULL.
1449           Did nobody notice that static elements were broken?
1451 2007-05-12  Wim Taymans  <wim@fluendo.com>
1453         * tools/gst-launch.c: (event_loop):
1454         Give more interesting info when buffering starts and stops.
1455         Fix case where buffering starts but we fail to update the buffering flag
1456         because the target state is not PLAYING.
1458 2007-05-12  Wim Taymans  <wim@fluendo.com>
1460         * plugins/elements/gstqueue.c: (gst_queue_init),
1461         (gst_queue_finalize), (update_time_level), (apply_segment),
1462         (apply_buffer), (gst_queue_locked_flush),
1463         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1464         (gst_queue_handle_sink_event), (gst_queue_chain),
1465         (gst_queue_push_one), (gst_queue_loop):
1466         * plugins/elements/gstqueue.h:
1467         Refactor an cleanup queue a bit.
1468         Do better time level calculations that also work when the srcpad is not
1469         yet running.
1470         Remove some unneeded debug lines.
1472         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1473         Added testcase for time level measurement.
1474         Try to make some stuff more racefree.
1476 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1478         * gst/gsturi.c: (gst_element_make_from_uri):
1479           Don't leak plugin feature.
1481         * tests/check/Makefile.am:
1482         * tests/check/gst/.cvsignore:
1483         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1484           Add brain-dead unit test.
1486 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1488         Patch by: Jeroen Wouters <woutersj at gmail com>
1490         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1491           Treat protocol strings in a case-insensitive way (#437563).
1493 2007-05-11  Michael Smith <msmith@fluendo.com>
1495         * gst/gstplugin.c: (gst_plugin_load_file):
1496         * gst/gstregistry.c: (gst_registry_scan_path_level):
1497           Don't print a g_warning for any failure to load a shared object.
1498           Instead, push this down into gstplugin.c, and warn _only_ if we
1499           failed to open the module (i.e. failure to link).
1500           Avoids warnings on normal, working, non-plugin .so files.
1502 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1504         * gst/gstplugin.c (gst_plugin_load_file):
1505         * gst/gstregistry.c (GST_CAT_DEFAULT,
1506           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1507           Print a g_warning if there was an error when loading a plugins during
1508           registry scan. The shuld help beginners starting with gst-plugin
1509           template.
1511 2007-05-10  Wim Taymans  <wim@fluendo.com>
1513         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1514         (update_time_level), (gst_queue_locked_flush),
1515         (gst_queue_handle_sink_event), (gst_queue_chain),
1516         (gst_queue_push_one), (gst_queue_loop):
1517         * plugins/elements/gstqueue.h:
1518         Be smarter when calculating the current amount of data in the queue by
1519         measuring the difference between start and end timestamps (in running
1520         time) inside the queue. Fixes #432876.
1521         API: GstQueue::pushing to notify elements that we are pushing data again
1522         since the running signal is rather broken for this purpose.
1524 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1526         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1527           gst_queue_base_init, gst_queue_init):
1528           use GST_BOILERPLATE
1530 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1532         * win32/common/libgstreamer.def:
1533         Add new exported functions.
1534         * win32/vs6/grammar.dsp:
1535         Use grammar pre-generated files.
1537 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1539         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1541         * gst/Makefile.am:
1542         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1543         * gst/gstparse.h:
1544         * gst/gstutils.c: (gst_parse_bin_from_description):
1545         * gst/gstutils.h:
1546           Maintain API and ABI when --disable-parse is used. Now that
1547           we have an appropriate error code, we can just return NULL and the
1548           appropriate error when gst_parse_launch() is used despite it having
1549           been disabled (#342564).
1551         * tests/check/Makefile.am:
1552         * tests/check/pipelines/.cvsignore:
1553         * tests/check/pipelines/parse-disabled.c:
1554           Make sure these functions exist and return NULL plus a GError when
1555           --disable-parse is used.
1557 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1559         * tests/benchmarks/complexity.c: (main):
1560         * tests/benchmarks/mass-elements.c: (main):
1561           Set a good example and don't leak messages.
1563 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1565         * docs/gst/Makefile.am:
1566         * docs/libs/Makefile.am:
1567           Correct fixxrefs options.
1569         * docs/plugins/Makefile.am:
1570         * docs/plugins/gstreamer-plugins-docs.sgml:
1571         * docs/plugins/gstreamer-plugins-sections.txt:
1572         * plugins/elements/Makefile.am:
1573         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1574         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1575           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1576           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1577           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1578           _GstCapsFilterClass, trans_class):
1579         * plugins/elements/gstelements.c (name, rank, type, _elements):
1580         * plugins/elements/gstidentity.c
1581           (gst_identity_check_imperfect_timestamp,
1582           gst_identity_check_imperfect_offset):
1583           Document capsfilter and add doc-blurb to identity.
1585 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1587         * libs/gst/controller/gstcontroller.c:
1588         (gst_controlled_property_set_interpolation_mode):
1589         * libs/gst/controller/gstinterpolation.c:
1590           Don't crash if someone tries to set an interpolation mode that
1591           is invalid or that isn't supported yet. Fixes #422295.
1593         * tests/check/libs/controller.c: (GST_START_TEST),
1594         (gst_controller_suite):
1595           Add a test case for the above.
1597 2007-05-03  Edward Hervey  <edward@fluendo.com>
1599         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1600         Properly set the last_stop position on GstSegment. This will only happen
1601         if there is a buffer to push out.
1603 2007-05-03  Wim Taymans  <wim@fluendo.com>
1605         * libs/gst/base/gstbasetransform.c:
1606         (gst_base_transform_buffer_alloc):
1607         always_in_place does not mean that the sink and source caps are the
1608         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1610 2007-05-03  Wim Taymans  <wim@fluendo.com>
1612         * docs/libs/gstreamer-libs-sections.txt:
1613         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1614         (gst_base_src_default_query), (gst_base_src_get_range):
1615         * libs/gst/base/gstbasesrc.h:
1616         API: gst_base_src_query_latency(). Added method so that subclasses can
1617         easily get the latency values of the base source class.
1619 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1621         * tools/gst-inspect.c (print_implementation_info):
1622         Remove 0.8 cruft.
1624 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1626         * tools/Makefile.am:
1627         * tools/gst-launch.1.in:
1628           Don't create a customised man page based on the host architecture,
1629           describe the default registry path generically. That way the man
1630           page is the same for all architectures and packagers have one
1631           multilib issue less to deal with. Fixes #434926.
1633 2007-05-02  Wim Taymans  <wim@fluendo.com>
1635         * gst/gstpad.c:
1636         Fix documentation as spotted by rg on IRC. 
1638 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1640         * gst/gstutils.c:
1641           Improve docs for gst_element_{link,unlink}.
1643 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1645         * docs/design/part-events.txt:
1646         * docs/design/part-overview.txt:
1647         * gst/gstevent.c:
1648         * gst/gsturi.c:
1649         * gst/gsturi.h:
1650         * libs/gst/base/gstbasesink.c:
1651           Typo fixes; minor docs addition.
1653 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1655         * docs/gst/gstreamer-sections.txt:
1656         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1657         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1658         * gst/gsturi.h:
1659         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1660         or src that supports a given URI protocol exists.
1662 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1664         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1665         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1666         Set the location to NULL if "file://" is set as URI. Otherwise
1667         some random previous URI would still be set if "file://" is
1668         set on an already used filesink/filesrc.
1670 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1672         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1673         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1674         Special case the "file://" URI as as this is used by some
1675         applications to test with gst_element_make_from_uri if there's
1676         an element that supports the URI protocol.
1677         Also move the g_path_is_absolute() check for the location part
1678         of the URI to also check this for "file://localhost/bla" URIs.
1680 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1682         * docs/gst/gstreamer-sections.txt:
1683         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1684         * gst/gstbuffer.h:
1685         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1686         (gst_buffer_suite):
1687           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1689 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1691         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1692         (gst_registry_binary_load_pad_template),
1693         (gst_registry_binary_load_plugin),
1694         (gst_registry_binary_read_cache):
1695         * gst/gstregistrybinary.h:
1696           Implement no-mmap alternative for registry reading. Do code cleanups.
1697           Add more comments about avoiding strdups for all text data. Comments
1698           welcome.
1700 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1702         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1703           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1704           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1705           Comment structs and reformat to fix the build (that stuff should go
1706           into a priv. header).
1708 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1710         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1711         (gst_registry_binary_load_feature):
1712         * gst/gstregistrybinary.h:
1713           Refactor so that we can implement multiple features. Add support for
1714           TypeFindFactory features.
1716 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1718         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1720         * configure.ac:
1721           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1723 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1725         * gst/gstbin.c: (gst_bin_element_set_state),
1726         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1727         (bin_handle_async_done), (gst_bin_handle_message_func):
1728           Fix build with --gst-disable-gst-debug
1730 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1732         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1733           Make sure streaming has finished before calling the ::stop() vfunc,
1734           since that vfunc might clear state which is being used in the
1735           streaming thread. This fixes a race that caused crashes in
1736           audioresample when shutting down a pipeline (#420106).
1738 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1740         * docs/gst/gstreamer-sections.txt:
1741           That was one byte missing.
1743 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1745         * configure.ac:
1746         * docs/gst/gstreamer-sections.txt:
1747         * gst/Makefile.am:
1748         * gst/gstconfig.h.in:
1749         * gst/gstobject.c: (gst_object_class_init),
1750         (gst_signal_object_class_init):
1751         * gst/gstobject.h:
1752           2nd attempt to have a xml-less build as a joined effort of #413123
1753           and #421480.
1755 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1757         * docs/design/draft-tagreading.txt:
1758           Added open issues/thoughts to draft.
1760 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1762         * gst/parse/grammar.tab.pre.c:
1763         * gst/parse/grammar.tab.pre.h:
1764         * gst/parse/lex._gst_parse_yy.pre.c:
1765         Update the prebuild parser sources.
1767 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1769         * gst/parse/Makefile.am:
1770         And now fix the building of the flex sources. Now everything should
1771         work as expected.
1773 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1775         * gst/parse/Makefile.am:
1776         Now hopefully fix the build failures by setting proper rule
1777         dependencies and moving instead of copying.
1779 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1781         * tests/benchmarks/complexity.gnuplot:
1782         * tests/benchmarks/complexity.scm:
1783         * tests/benchmarks/mass-elements.gnuplot:
1784         * tests/benchmarks/mass-elements.scm:
1785           Total licensification.
1787 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1789         * gst/parse/Makefile.am:
1790           Fix the build by correcting the rule that gave wrong files to flex.
1792 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1794         * tests/benchmarks/complexity.c:
1795         * tests/benchmarks/mass-elements.c:
1796           Change licence to LGPL as granted by Benjamin and Andy.
1798 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1800         * gst/parse/Makefile.am:
1801         Add correct grammar.tab.h dependency if compiling without new enough
1802         flex. Fixes #431150.
1804 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1806         * gst/parse/Makefile.am:
1807         Fix typo and use outdated sources if the flex/bison sources are newer
1808         than the pregenerated ones but flex is too old. Print a warning in
1809         that case. This should fix the build on the build bot.
1811 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1813         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1814         * gst/parse/Makefile.am:
1815         * gst/parse/grammar.y:
1816         * gst/parse/parse.l:
1817         Make the parser reentrant and recursively callable. This requires flex
1818         >= 2.5.31, for older versions pregenerated sources are used as we
1819         can't bump the build dependency. Finally fixes #349180.
1821         * gst/gstparse.c: (gst_parse_launch):
1822         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1823         now anyway.
1825         * docs/gst/Makefile.am:
1826         * docs/gst/Makefile.am:
1827         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1828         (__gst_parse_strfree), (__gst_parse_link_new),
1829         (__gst_parse_link_free), (__gst_parse_chain_new),
1830         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1831         (gst_parse_element_set), (gst_parse_free_link),
1832         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1833         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1834         (_gst_parse_launch):
1835         * gst/parse/grammar.tab.pre.h:
1836         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1837         (yy_get_previous_state), (yy_try_NUL_trans), (input),
1838         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1839         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1840         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1841         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1842         (_gst_parse_yypop_buffer_state),
1843         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1844         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1845         (yy_fatal_error), (_gst_parse_yyget_extra),
1846         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1847         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1848         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1849         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1850         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1851         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1852         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1853         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1854         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1855         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1856         (_gst_parse_yyfree):
1857         If the installed flex version is too old use pre-generated parser
1858         sources. These pre-generated parser sources are always updated when
1859         the actual flex/bison sources change but require everybody who wants
1860         to change something in the parser to have flex >= 2.5.31 installed.
1862 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
1864         * common/m4/gst-gettext.m4:
1865         * gst/gst-i18n-lib.h:
1866           Make --disable-nls to work
1868 2007-04-17  Wim Taymans  <wim@fluendo.com>
1870         * gst/gstconfig.h.in:
1871         Revert previous change that broke the build.
1873 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
1875         * configure.ac:
1876         * gst/Makefile.am:
1877         * gst/gstconfig.h.in:
1878           Drop libxml2 dependency when building with 
1879           --enable-binary-registry --disable-loadsave
1881 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
1883         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1884         (gst_registry_binary_read_cache):
1885         * gst/gstregistrybinary.h:
1886           Remove unnecessary <sys/mman.h> include which broke the win32 build
1887           with MingW; move includes from header file to .c file, even if the
1888           header file isn't installed; use g_strerror() where UTF-8 strings
1889           are expected, such as in GST_DEBUG messages.
1891 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1893         * docs/libs/gstreamer-libs-sections.txt:
1894         Remove bogus addition for API I didn't end up keeping.
1896         * libs/gst/base/gstbasesrc.h:
1897         Mention Since: 0.10.13 in the documentation.
1899         Add the API keyword to the previous ChangeLog entry.
1901 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1903         * docs/libs/gstreamer-libs-sections.txt:
1904         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1905         (gst_base_src_default_prepare_seek_segment),
1906         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1907         * libs/gst/base/gstbasesrc.h:
1908         Allow basesrc derived classes to execute seeks in other formats
1909         by providing a prepare_seek_segment vmethod. Sub-classes can choose
1910         to prepare the GstSegment in any format that their perform_seek method
1911         will be able to understand. The default implementation provides the
1912         old behaviour of attempting to convert the seek offsets to the 
1913         configured native format.
1915         API: basesrc::prepare_seek_segment vmethod.
1917 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1919         * gst/gstelement.c: (gst_element_get_state_func):
1920         Don't output the same debug statement twice.
1922         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1923         (gst_adapter_peek), (gst_adapter_take_buffer):
1924         Optimise the case where we have buffers at the head of the queue that
1925         can be joined quickly (because they're contiguous sub-buffers) by
1926         merging them together rather than copying data out into new memory.
1928         * gst/parse/grammar.y:
1929         * tests/check/pipelines/parse-launch.c:
1930         Fix a leak in an error path for parse_launch, and add a check 
1931         for it to the testsuite.
1933 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1935         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1936           Don't deadlock when releasing a pad - gst_pad_set_active may try
1937           and take the multiqueue lock too.
1939 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1941         * gst/gsterror.c: (_gst_core_errors_init):
1942         * gst/gsterror.h:
1943           API: add GST_CORE_ERROR_DISABLED (#392804).
1945 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1947         * docs/faq/gst-uninstalled:
1948           don't get empty paths on the PATH variables
1949         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1950           Don't format for the uncommon terminal width of 84 characters.
1952 2007-04-06  Wim Taymans  <wim@fluendo.com>
1954         * gst/gstpipeline.c: (reset_stream_time),
1955         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1956         Only try to select a different pipeline clock when we went back to
1957         PAUSED and not when we merely got flushed.
1959 2007-04-05  Michael Smith  <msmith@fluendo.com>
1961         * tools/gst-launch.1.in:
1962           fractions are better supported in gstreamer than ractions, so
1963           suggest using those.
1965 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1967         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1969         * po/LINGUAS:
1970         * po/da.po:
1971           Added Danish translation.
1973 2007-04-05  Wim Taymans  <wim@fluendo.com>
1975         * libs/gst/base/gstbasesink.c:
1976         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1977         Fix leak caused when refusing newsegment after EOS.
1979         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1980         (gst_fake_sink_init), (gst_fake_sink_set_property),
1981         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1982         (gst_fake_sink_render), (gst_fake_sink_change_state):
1983         * plugins/elements/gstfakesink.h:
1984         Add num-buffers property to make the element generate EOS after a
1985         configurable amount of buffers.
1986         API: fakesink::num-buffers property.
1988         * tests/check/elements/fakesink.c: (GST_START_TEST),
1989         (fakesink_suite):
1990         Fix GstBus leak in test.
1991         Test for fakesink num-buffers.
1993 2007-04-05  Wim Taymans  <wim@fluendo.com>
1995         * libs/gst/base/gstbasesink.c:
1996         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1997         (gst_base_sink_change_state):
1998         Don't accept anything after an EOS, return UNEXPECTED instead.
2000         * tests/check/elements/fakesink.c: (GST_START_TEST),
2001         (fakesink_suite):
2002         Unit test for new EOS behaviour.
2004 2007-04-05  Wim Taymans  <wim@fluendo.com>
2006         * gst/gstelement.c: (gst_element_get_request_pad):
2007         Make padtemplates also work when they don't contain %s or %d.
2009 2007-04-05  Wim Taymans  <wim@fluendo.com>
2011         * docs/gst/gstreamer-sections.txt:
2012         * gst/gstclock.c: (gst_clock_adjust_unlocked),
2013         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2014         * gst/gstclock.h:
2015         Improve _adjust_unlocked() so that it overflows less.
2016         Add gst_clock_unadjust_unlocked to convert from external time to
2017         internal time based on calibration.
2018         Add some more debug.
2019         API: GstClock::gst_clock_unadjust_unlocked()
2021 2007-04-03  Wim Taymans  <wim@fluendo.com>
2023         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2025         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2026         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2027         when releasing sink pad. Fixes #425400.
2029 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
2031         * docs/random/ensonic/dynlink.txt:
2032           More work on proposal for new core api.
2034         * docs/libs/gstreamer-libs-sections.txt:
2035         * libs/gst/base/gstbasetransform.h:
2036           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2037           
2038         * libs/gst/controller/gstcontroller.c:
2039         (on_object_controlled_property_changed),
2040         (gst_controller_sync_values),
2041         (gst_controller_set_interpolation_mode):
2042         * libs/gst/controller/gstcontroller.h:
2043           Less verbose logging add docs for unimplemented parts and correctly
2044           return when using unavailable parts.
2046 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2048         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2049         Move all the debug to the CLOCK category, and associate it with
2050         the clock object.
2052 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2054         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2055         Make take_buffer a bit quicker by removing redundant checks
2056         caused by calling gst_adapter_take.
2058 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2060         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2061           Don't leak GCond.
2063         * tests/check/Makefile.am:
2064         * tests/check/elements/.cvsignore:
2065         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2066         (GST_START_TEST), (multiqueue_suite):
2067           Add some dead simple unit tests for the 'multiqueue' element
2068           (some bits don't work yet and are disabled for now).
2070 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2072         * gst/gstelement.c: (gst_element_get_request_pad),
2073         (gst_element_class_get_request_pad_template):
2074           Make gst_element_get_request_pad() create request pads only for
2075           request pad templates and not for, say, sometimes pad templates.
2077 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
2079         * docs/design/draft-klass.txt:
2080           Add example that needs more thinking.
2081         
2082         * docs/design/draft-missing-plugins.txt:
2083           More thoughts about wrapper plugins.
2084         
2085         * docs/random/ensonic/embedded.txt:
2086         * docs/random/ensonic/profiling.txt:
2087           More design work.
2089 2007-03-25  Wim Taymans  <wim@fluendo.com>
2091         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2092         (gst_base_src_loop):
2093         Only push the segment events in the PLAYING state for live sources.
2095 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
2097         * gst/gstpipeline.c: (gst_pipeline_change_state):
2098         Modify the clock distribution path in PAUSED->PLAYING so that we 
2099         never attempt to choose a new clock unless we're actually leaving
2100         the PAUSED state for the first time. This prevents choosing a
2101         different clock when the state_change gets called for a 2nd time due
2102         to some element doing an async state change.
2104 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2106         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2107         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2108         (gst_pad_chain_unchecked), (gst_pad_push):
2109         Revert last commit. This needs some more thoughts.
2111 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2113         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2114         (gst_pad_chain_unchecked), (gst_pad_push):
2115         Check in set_caps if the caps are compatible with the pad and remove
2116         two functions that are redundant now. Fixes #421543.
2118 2007-03-22  Wim Taymans  <wim@fluendo.com>
2120         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2121         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2122         Unref some more to make valgrind happy.
2124 2007-03-22  Wim Taymans  <wim@fluendo.com>
2126         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2127         (gst_system_clock_id_wait_jitter),
2128         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2129         Fix anoying regression that survived a few releases. When adding an
2130         async entry while blocking on a sync entry, the sync entry will unblock
2131         but still be busy, so it should continue to wait instead of returning
2132         _BUSY to the app.
2133         Add some comments here and there.
2135         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2136         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2137         Add testcase for this.
2139 2007-03-22  Wim Taymans  <wim@fluendo.com>
2141         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2142         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2143         WRONG_STATE and can silently pause the task. All other cases should
2144         error out.
2146 2007-03-22  Wim Taymans  <wim@fluendo.com>
2148         Patch by: Ville Syrjala <syrjala at sci dot fi>
2150         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2151         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2152         Improve debugging.
2154 2007-03-21  Michael Smith  <msmith@fluendo.com>
2156         * docs/pwg/advanced-types.xml:
2157           Fix some errors in the typefinding docs pointed out on irc.
2159 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2161         * libs/gst/base/gstbasesrc.c:
2162         Clarify FIXME comment in the face of having added unlock_stop()
2164 2007-03-21  Wim Taymans  <wim@fluendo.com>
2166         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2167         Prepare for release where we warn against possible app breakage in the
2168         case of live pipelines along with an env var to enable/disable live
2169         preroll mode (GST_COMPAT=[no-]live-preroll).
2171 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2173         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2174         So we should use correct constants for checking for None offset.
2176 2007-03-20  Wim Taymans  <wim@fluendo.com>
2178         * docs/design/part-block.txt:
2179         Mention the fact that the newly switched element should be set to at
2180         least PAUSED.
2182 2007-03-20  Wim Taymans  <wim@fluendo.com>
2184         * gst/gst.c:
2185         Fix compilation with registry disabled as spotted by Saur.
2187 2007-03-20  Wim Taymans  <wim@fluendo.com>
2189         Patch by: Olivier Crete <tester at tester dot ca>
2191         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2192         Look at the pending state too when syncing the element state to the
2193         parent. Fixes #420133.
2195 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2197         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2198         (gst_base_sink_change_state):
2199         * libs/gst/base/gstbasesink.h:
2200         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2201         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2202         (gst_base_src_deactivate):
2203         * libs/gst/base/gstbasesrc.h:
2204         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2205         for sub-classes to correctly clear any state they set trying to
2206         unlock, such as clearing out unlock commands from a command fd.
2207         API: basesrc::unlock_stop
2208         API: basesink::unlock_stop
2210         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2211         (gst_fd_sink_render), (gst_fd_sink_unlock),
2212         (gst_fd_sink_unlock_stop):
2213         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2214         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2215         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2217         Implement unlock_stop in fdsrc and fdsink.
2218         Implement seeking in fdsrc when a seekable fd is passed, as in
2219         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2221 2007-03-19  Wim Taymans  <wim@fluendo.com>
2223         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2225         * gst/gstelement.c: (gst_element_class_init):
2226         Fix pad-added and pad-removed signal signatures so that the pad type is
2227         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2229 2007-03-19  Wim Taymans  <wim@fluendo.com>
2231         * docs/gst/gstreamer-sections.txt:
2232         Add new element field and method.
2234         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2235         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2236         (gst_bin_recalc_state), (gst_bin_get_state_func),
2237         (gst_bin_element_set_state), (gst_bin_change_state_func),
2238         (gst_bin_continue_func), (bin_bus_handler),
2239         (bin_push_state_continue), (bin_handle_async_start),
2240         (bin_handle_async_done), (gst_bin_handle_message_func):
2241         Make async state changes a bit smarter by using new ASYNC_START and
2242         ASYNC_DONE messages. This reduces the number of times we run the state
2243         recalculation thread.
2244         Don't change state of element with a pending ASYNC_START message.
2245         Deprecate STATE_DIRTY messages.
2246         
2247         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2248         (gst_element_get_state_func), (gst_element_continue_state),
2249         (gst_element_lost_state), (gst_element_set_state_func),
2250         (gst_element_change_state):
2251         * gst/gstelement.h:
2252         Keep the state that was last set by the app in a new element field.
2253         Don't allow state changes when handling an element event.
2254         Post ASYNC_START and ASYNC_DONE messages.
2255         Change lost_state so that we go to PAUSED and wait for the parent to set
2256         us to PLAYING again (so latency calculation can be performed)
2257         Export gst_element_change_state() method so that subclasses can use it.
2258         API: gst_element_change_state()
2259         API: GST_STATE_TARGET
2261         * gst/gstpipeline.c: (gst_pipeline_class_init),
2262         (reset_stream_time), (gst_pipeline_change_state),
2263         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2264         Using the new ASYNC_START message we can reset the base_time when
2265         needed. This can then be used to implement base_time redistribution in
2266         flushing seeks so that we can remove the explicit seek handling.
2267         Perform latency query and configuration when going to PLAYING.
2269         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2270         (gst_base_sink_query), (gst_base_sink_change_state):
2271         Post new ASYNC_START/ASYNC_DONE messages.
2273         * tests/check/generic/sinks.c: (GST_START_TEST):
2274         Fix test because the bin will not set the async element to PLAYING right
2275         away.
2277         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2278         Make the message check a little stronger.
2279         Handle ASYNC messages.
2281         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2282         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2283         Expect ASYNC_DONE messages.
2285 2007-03-19  Wim Taymans  <wim@fluendo.com>
2287         * docs/gst/gstreamer-sections.txt:
2288         * gst/gstmessage.c: (gst_message_new_async_start),
2289         (gst_message_new_async_done), (gst_message_parse_info),
2290         (gst_message_parse_async_start):
2291         * gst/gstmessage.h:
2292         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2293         support.
2295 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2297         * tools/gst-inspect.c:
2298         (print_plugin_automatic_install_info_codecs):
2299           Now that we don't check for the 'Codec' keyword any longer in the
2300           klass, we shouldn't spew a warning if the klass isn't a decoder or
2301           encoder (since it might be a Source/Network, for example).
2303 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2305         * tools/gst-inspect.c:
2306         (print_plugin_automatic_install_info_codecs):
2307           Don't require decoder/demuxer/depayloader elements or
2308           encoder/muxer/paylader elements to have 'Codec' as part of their
2309           factory class string when introspecting a plugin's capabilities.
2310           draft-klass.txt mentions that it might be removed in future, and
2311           flump3dec doesn't have it as part of its class string, so chances
2312           are others might also not have it.
2314 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2316         * po/af.po:
2317         * po/az.po:
2318         * po/bg.po:
2319         * po/ca.po:
2320         * po/cs.po:
2321         * po/de.po:
2322         * po/en_GB.po:
2323         * po/fr.po:
2324         * po/it.po:
2325         * po/nb.po:
2326         * po/nl.po:
2327         * po/ru.po:
2328         * po/sq.po:
2329         * po/sr.po:
2330         * po/sv.po:
2331         * po/tr.po:
2332         * po/uk.po:
2333         * po/vi.po:
2334         * po/zh_CN.po:
2335         * po/zh_TW.po:
2336           Update translations from translation project
2338 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2340         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2341         (gst_child_proxy_set_property):
2342           Invert precondition check to be alike the ones in the mimiced gobject
2343           api.
2345 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2347         * docs/design/draft-tagreading.txt:
2348         * docs/random/ensonic/audiobaseclasses.txt:
2349           Do some Architect work.
2351         * gst/gstobject.c: (gst_object_set_name):
2352           Add a WARNING.
2354         * gst/gstpad.c:
2355           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2357 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2359         * gst/gstsystemclock.c: (gst_system_clock_init),
2360         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2361         Defer starting the async system clock thread until the first async
2362         wait is scheduled. Fixes #414986.
2364 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2366         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2367         (gst_single_queue_free):
2368           Fix small leak (free GstSingleQueue structure too, not only contents).
2370 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2372         * gst/gstbin.c:(gst_bin_add):
2373         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2374         * win32/common/libgstbase.def:
2375         * win32/common/libgstreamer.def:
2376         Add new exported functions.
2378 2007-03-09  Wim Taymans  <wim@fluendo.com>
2380         * docs/plugins/gstreamer-plugins-sections.txt:
2381         Fix GstTee docs.
2383 2007-03-09  Wim Taymans  <wim@fluendo.com>
2385         * docs/gst/gstreamer-sections.txt:
2386         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2387         * gst/gstbuffer.h:
2388         Add metadata copy functions. Fixes #393099.
2389         API: gst_buffer_copy_metadata()
2391         * gst/gstutils.c: (gst_buffer_stamp):
2392         * libs/gst/base/gstbasetransform.c:
2393         (gst_base_transform_prepare_output_buffer):
2394         Use new metadata copy functions.
2396 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2398         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2399         (gst_identity_init), (gst_identity_check_perfect),
2400         (gst_identity_check_imperfect_timestamp),
2401         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2402         (gst_identity_set_property), (gst_identity_get_property):
2403         * plugins/elements/gstidentity.h:
2404         Separate out check-imperfect-timestamp and check-imperfect-offset.
2405         Put back check-perfect as it was to keep compatibility.
2407 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2409         * gst/gstelement.c: (gst_element_dispose):
2410         There's no need to warn if VOID_PENDING is not NONE here, as
2411         long as the state is NULL it's ok, and that's checked immediately
2412         above.
2414 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2416         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2417         Fix check for perfect stream to ignore buffers with -1 
2418         offsets/offset ends when checking data contiguity.
2420 2007-03-08  Wim Taymans  <wim@fluendo.com>
2422         * tools/gst-launch.c: (event_loop):
2423         Print INFO messages.
2425 2007-03-08  Wim Taymans  <wim@fluendo.com>
2427         * libs/gst/base/gstbasetransform.c:
2428         (gst_base_transform_sink_eventfunc),
2429         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2430         (gst_base_transform_activate):
2431         * libs/gst/base/gstbasetransform.h:
2432         Add support for dropping buffers with custom GstFlowReturn.
2433         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2434         buffers or dropped buffers.
2436         * docs/libs/gstreamer-libs-sections.txt:
2437         docs for new custom return code.
2439         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2440         Use drop support in base class to implement drop-probability.
2442 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2444         * gst/gst.c: (load_plugin_func):
2445         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2446         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2447         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2448           Remove newlines at end of debug log strings.
2450 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2452         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2453         Only post bus message at max, once per buffer received.
2455 2007-03-07  Wim Taymans  <wim@fluendo.com>
2457         * docs/design/Makefile.am:
2458         * docs/design/part-synchronisation.txt:
2459         Add doc about synchronisation
2461         * docs/design/draft-latency.txt:
2462         * docs/design/part-TODO.txt:
2463         * docs/design/part-clocks.txt:
2464         * docs/design/part-events.txt:
2465         * docs/design/part-gstbus.txt:
2466         * docs/design/part-gstpipeline.txt:
2467         * docs/design/part-live-source.txt:
2468         * docs/design/part-messages.txt:
2469         * docs/design/part-overview.txt:
2470         * docs/design/part-streams.txt:
2471         * docs/design/part-trickmodes.txt:
2472         Documentation updates.
2474 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2476         * gstreamer.doap:
2477         Update the doap file.
2479 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2481         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2482         Rename non-perfect to imperfect for Mike and for the sanctity of the
2483         language.
2484         Also make sure bus message gets emitted for data-incontiguities.
2486 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2488         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2489         (gst_identity_start):
2490         * plugins/elements/gstidentity.h:
2491         Emit bus message if check-perfect is true and we encounter a
2492         non-perfect stream between 2 consecutive buffers.
2493         Fixes #415394.
2495 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2497         * configure.ac:
2498         Back to CVS
2500 === release 0.10.12 ===
2502 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2504         * configure.ac:
2505           releasing 0.10.12, "Inevitable Demise"
2507 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2509         * configure.ac:
2510          Version 0.10.11.2 (0.10.12 pre-release)
2511          Bump libtool versioning.
2513 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2515         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2516           Log flow-names and not numbers.
2518 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2520         * configure.ac:
2521           Convert to new AG_GST style.
2523 2007-02-28  Wim Taymans  <wim@fluendo.com>
2525         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2526         Don't unref query twice.
2528 2007-02-28  Wim Taymans  <wim@fluendo.com>
2530         * gst/gstvalue.c: (gst_value_transform_object_string),
2531         (_gst_value_initialize):
2532         Implement GstObject -> string transform so we print object names
2533         when serializing GValues containing GstObjects.
2535 2007-02-28  Wim Taymans  <wim@fluendo.com>
2537         * docs/gst/gstreamer-sections.txt:
2538         Add new stuff to docs.
2540 2007-02-28  Wim Taymans  <wim@fluendo.com>
2542         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2543         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2544         (gst_base_sink_change_state):
2545         Improve latency query code.
2546         Don't leak latency events.
2548         * tests/check/gst/gstbin.c: (GST_START_TEST):
2549         Improve debugging.
2551 2007-02-28  Wim Taymans  <wim@fluendo.com>
2553         * gst/gstelement.c: (gst_element_message_full),
2554         (gst_element_get_state_func):
2555         * gst/gstelement.h:
2556         Improve docs a little. Added Since: for new macro.
2558         * gst/gstobject.c: (gst_object_sink):
2559         * gst/gstpipeline.c: (gst_pipeline_change_state),
2560         (gst_pipeline_set_new_stream_time):
2561         * gst/gstpipeline.h:
2562         Improve debugging and docs.
2564         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2565         Improve debugging.
2567 2007-02-28  Wim Taymans  <wim@fluendo.com>
2569         * gst/gstelement.c: (gst_element_message_full),
2570         (gst_element_set_locked_state), (gst_element_get_state_func),
2571         (gst_element_change_state):
2572         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2573         Documentation updates.
2574         Small code cleanups.
2576         * gst/gstmessage.c: (gst_message_new_info),
2577         (gst_message_parse_info):
2578         * gst/gstmessage.h:
2579         API: gst_message_new_info()
2580         API: gst_message_parse_info()
2581         Add INFO message create and parse code.
2583 2007-02-28  Wim Taymans  <wim@fluendo.com>
2585         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2586         (bin_query_latency_done):
2587         Also report the live parameter of a latency query.
2589 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2591         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2592           Copy the current generic/states example from -base and adapt so
2593           we can use the exact same code everywhere.
2594           Check a STATES_IGNORE_ELEMENTS env var which can be used
2595           to ignore certain element factories for this test, which is
2596           what is being done in -base
2597         * tests/check/Makefile.am:
2598           Mention this environment variable.
2600 2007-02-27  Wim Taymans  <wim@fluendo.com>
2602         * docs/gst/gstreamer-sections.txt:
2603         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2604         (gst_bus_timed_pop), (gst_bus_pop):
2605         * gst/gstbus.h:
2606         API: gst_bus_timed_pop()
2607         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2608         message to arrive on the bus.
2610         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2611         (gst_bus_suite):
2612         Two unit tests for new _timed_pop() function.
2614 2007-02-23  Wim Taymans  <wim@fluendo.com>
2616         * gst/gstpipeline.c: (gst_pipeline_change_state),
2617         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2618         Don't ref a NULL clock in _provide_clock_func().
2619         Don't allow an INVALID delay.
2620         Don't try to calculate base_time with an invalid start_time.
2621         Also distribute and notify a NULL clock when it was selected.
2623         * tools/gst-launch.c: (event_loop):
2624         Don't crash when a NULL clock was selected in the pipeline.
2626 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2628         * docs/design/Makefile.am:
2629         * docs/design/draft-missing-plugins.txt:
2630         * docs/random/draft-missing-plugins.txt:
2631           Some small updates: update plugin system identifier prefix
2632           ('gstreamer.net' to 'gstreamer'), mention our new install
2633           API in libgstbaseutils rather than libgimme-codec, add
2634           reference to the online docs.
2636 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2638         * win32/common/config.h:
2639           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2640           use moap cl ci to only check in what is mentioned in the ChangeLog.
2642 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2644         * docs/gst/gstreamer-sections.txt:
2645         * gst/gstelement.h:
2646           Fix up documentation to link to the correct GstGError section.
2647           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2649 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2651         * tools/gst-launch.c: (event_loop):
2652           Make sure that we actually show the important message part of a
2653           warning message.
2654           No need to check if the gerror is not NULL to free; first of all
2655           g_free accepts NULL; and second the default error handler would
2656           segfault if gerror was NULL.
2658 2007-02-21  Wim Taymans  <wim@fluendo.com>
2660         * docs/gst/gstreamer-sections.txt:
2661         Removed docs as well.
2663 2007-02-21  Wim Taymans  <wim@fluendo.com>
2665         * gst/gstmessage.c: (gst_message_parse_duration):
2666         * gst/gstmessage.h:
2667         Remove new messages for release.
2669 2007-02-20  Wim Taymans  <wim@fluendo.com>
2671         * docs/design/part-gstghostpad.txt:
2672         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2673         (gst_ghost_pad_new_full):
2674         Make the ghostpad a parent of the internal pad again for better backward
2675         compatibility. Don't write code that relies on this however.
2677         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2678         (gst_pad_link_check_hierarchy):
2679         Require that parents should be GstElements in the hierarchy check.
2681 2007-02-20  Wim Taymans  <wim@fluendo.com>
2683         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2684         (gst_bin_change_state_func), (bin_query_min_max_init),
2685         (bin_query_latency_fold), (bin_query_latency_done),
2686         (gst_bin_query):
2687         Improve debug info.
2688         Implement latency query.
2690 2007-02-20  Wim Taymans  <wim@fluendo.com>
2692         * docs/design/part-gstghostpad.txt:
2693         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2694         (gst_ghost_pad_internal_do_activate_push),
2695         (gst_ghost_pad_internal_do_activate_pull),
2696         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2697         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2698         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2699         Do not set the internal pad as a parent anymore so we can avoid
2700         hierarchy linking errors when the ghostpad has no parent yet. This also
2701         fixes failed activation because of unlinked internal pads, which in
2702         turn fixes the impossible case where you have to activate a pad before
2703         you can add it to a running element.
2704         Also fix the docs.
2706         * gst/gstpad.c: (pre_activate), (post_activate),
2707         (gst_pad_set_active), (gst_pad_activate_pull),
2708         (gst_pad_activate_push), (gst_pad_check_pull_range):
2709         Add some more debug info.
2710         Mark activation mode in pre_activate so that we don't try to activate in
2711         endless loops. Fixes #385084.
2713 2007-02-19  Wim Taymans  <wim@fluendo.com>
2715         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2716         (gst_base_transform_check_get_range):
2717         Implement a checkgetrange function instead of relying on the default
2718         core behaviour that assumes we can operate in pull mode if we have a
2719         getrange function. First step at fixing #385084.
2721 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2723         * gst/gstchildproxy.h:
2724         * libs/gst/base/gstbasesink.h:
2725         * libs/gst/base/gstbasesrc.h:
2726         * libs/gst/base/gstbasetransform.h:
2727         More docs coverage and some ChangeLog surgery (add missing names)
2729 2007-02-15  Wim Taymans  <wim@fluendo.com>
2731         * docs/design/part-TODO.txt:
2732         * docs/design/part-activation.txt:
2733         * docs/design/part-block.txt:
2734         * docs/design/part-buffering.txt:
2735         * docs/design/part-clocks.txt:
2736         * docs/design/part-element-source.txt:
2737         * docs/design/part-events.txt:
2738         * docs/design/part-gstbin.txt:
2739         * docs/design/part-gstbus.txt:
2740         * docs/design/part-gstpipeline.txt:
2741         * docs/design/part-live-source.txt:
2742         * docs/design/part-messages.txt:
2743         * docs/design/part-overview.txt:
2744         * docs/design/part-qos.txt:
2745         * docs/design/part-query.txt:
2746         * docs/design/part-states.txt:
2747         * docs/design/part-trickmodes.txt:
2748         Some doc updates. Start renaming from stream_time to running_time where
2749         it was used wrongly.
2751 2007-02-15  Wim Taymans  <wim@fluendo.com>
2753         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2754         Answer LATENCY query.
2756 2007-02-15  Wim Taymans  <wim@fluendo.com>
2758         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2759         (GST_START_TEST):
2760         Improve debugging.
2762 2007-02-15  Wim Taymans  <wim@fluendo.com>
2764         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2765         (gst_pad_dispatcher):
2766         Improve debugging of default pad dispatcher and query functions.
2768 2007-02-15  Wim Taymans  <wim@fluendo.com>
2770         * docs/gst/gstreamer-sections.txt:
2771         Remove old unused method.
2773 2007-02-13  Wim Taymans  <wim@fluendo.com>
2775         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2776         Fix check
2778 2007-02-13  Wim Taymans  <wim@fluendo.com>
2780         * docs/design/part-seeking.txt:
2781         Some small update.
2783         * gst/gstsegment.c: (gst_segment_set_seek):
2784         Revert old bogus change that should make seeking work again.
2786 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2788         * docs/random/ensonic/dynlink.txt:
2789         * docs/random/ensonic/interfaces.txt:
2790         * docs/random/ensonic/receipies.txt:
2791           Possible dynamic reconnection api, plus some type fixes the other two
2792           docs.
2794 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
2796         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2797         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2798         Also check for an absolute path following file:// in the filesrc
2799         element. Remove redundant check and call g_path_is_absolute() on the
2800         unescaped location.
2802 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2804         * docs/design/draft-klass.txt:
2805           Add existing category analysis.
2806           
2807         * gst/gstcaps.c:
2808           Fix doc example, framerate is a fraction.
2810 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2812         * configure.ac:
2813         * docs/gst/Makefile.am:
2814         * docs/gst/gstreamer-sections.txt:
2815         * docs/libs/Makefile.am:
2816           Erm, forgot a bunch of --extra-dir.
2818 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2820         * configure.ac:
2821         * docs/gst/Makefile.am:
2822         * docs/libs/Makefile.am:
2823         * docs/plugins/Makefile.am:
2824           Add crossreferences to glib/gobject docs.
2826 2007-02-12  Wim Taymans  <wim@fluendo.com>
2828         * docs/design/draft-latency.txt:
2829         Small update.
2831         * docs/libs/gstreamer-libs-sections.txt:
2832         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2833         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2834         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2835         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2836         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2837         (gst_base_sink_get_position), (gst_base_sink_query),
2838         (gst_base_sink_change_state):
2839         * libs/gst/base/gstbasesink.h:
2840         API: gst_base_sink_query_latency() to let subclasses query the upstream
2841         latency.
2842         API: gst_base_sink_get_latency() to let subclasses query the configured
2843         latency in the sink.
2844         Implement query and set latency.
2845         Update some docs.
2846         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2847         don't continue preroll when we are flushing. Fixes #405284.
2849         * tests/check/pipelines/stress.c: (change_state_timeout),
2850         (quit_timeout), (GST_START_TEST), (stress_suite):
2851         Test for #405284.
2853 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2855         Patch by: René Stadler <mail at renestadler de>
2857         * docs/gst/gstreamer-sections.txt:
2858         * gst/gsttaglist.c: (_gst_tag_initialize):
2859         * gst/gsttaglist.h:
2860           API: add GST_TAG_REFERENCE_LEVEL (#403597).
2862 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
2864         * docs/libs/Makefile.am:
2865           Fix path to core docs.
2867         * gst/gstbin.c: (gst_bin_get_by_interface),
2868         (gst_bin_iterate_all_by_interface):
2869           Refix docs by also renaming 'interface' to 'iface' in implementation.
2871         * docs/gst/gstreamer-sections.txt:
2872         * gst/gstcaps.c:
2873         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2874         * gst/gstchildproxy.h:
2875         * gst/gstelementfactory.c:
2876         * gst/gstpadtemplate.h:
2877         * libs/gst/controller/gstcontroller.c:
2878         (gst_controlled_property_new):
2879           Document more.
2881 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
2883         * gst/gstbin.h:(gst_bin_get_by_interface),
2884         (gst_bin_iterate_all_by_interface):
2885         Replace interface parameter name by iface as interface is 
2886         a reserved keyword in Visual Studio for C++ projects so it removes
2887         a build error for application developpers using VS.
2888         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2889         Fix a bug on Windows in uri format check. Now the prefix checked
2890         is file:// and next we check if the path after file:// is absolute.
2891         * win32/common/libgstbase.def:
2892         * win32/common/libgstdataprotocol.def:
2893         * win32/common/libgstgstreamer.def:
2894         Add new exported functions.
2896 2007-02-09  Andy Wingo  <wingo@pobox.com>
2898         * tests/check/pipelines/simple-launch-lines.c
2899         (simple_launch_lines_suite, test_tee): Disable tee test until I
2900         have time to fix it :-(
2902         * tests/check/Makefile.am (noinst_HEADERS): 
2903         * tests/check/libs/libsabi.c: 
2904         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2905         * tests/check/gst/gstabi.c: 
2906         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2908         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2909         tests for push and pull tee behavior.
2911         * plugins/elements/gsttee.h: 
2912         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2913         mark as deprecated as well as unimplemented. It was a crack idea.
2914         Add support for tee operating in pull mode, off by default.
2916         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2917         normal-case logs down to LOG, raise errors to WARNING.
2918         (gst_registry_xml_read_cache): Don't log before calling a function
2919         that logs.
2921         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2922         exit (registry finalize).
2923         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2924         DEBUG log when we emit signals that people don't even have the
2925         chance to connect to.
2926         (gst_registry_scan_path_level): Less logging in the normal case.
2928 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2930         Patch by: Michal Benes <michal dot benes at itonis dot tv>
2932         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2933         Correctly generate EOS for non-seekable files. We don't have a total
2934         length for them and would get an unexpected end of file if we only
2935         special-cased for regular files. (Fixes: #404569)
2937 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2939         * tests/check/elements/filesrc.c: (GST_START_TEST),
2940         (filesrc_suite):
2941         Add unit test for the GstURIHandler interface in filesrc. This also
2942         tests the newly added file://localhost/foo/bar support.
2944 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2946         * gst/gstelementfactory.h:
2947           The klass string is not a hierarchy. Add reference to the design doc
2948           for more information and common types.
2950 2007-02-02  Wim Taymans  <wim@fluendo.com>
2952         * gst/gstquery.c: (gst_query_new_latency):
2953         Remove old structure field.
2955 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
2957         * tools/gst-launch.1.in:
2958           Give example for network streaming (#351998)
2960 2007-02-02  Wim Taymans  <wim@fluendo.com>
2962         * docs/gst/gstreamer-sections.txt:
2963         Add docs for new methods.
2965         * gst/gstevent.c: (gst_event_new_latency),
2966         (gst_event_parse_latency):
2967         * gst/gstevent.h:
2968         Add new LATENCY event to configure latency in a pipeline.
2969         API: gst_event_new_latency
2970         API: gst_event_parse_latency
2972         * gst/gstmessage.c: (gst_message_new_buffering),
2973         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2974         (gst_message_new_latency), (gst_message_parse_buffering),
2975         (gst_message_parse_lost_preroll):
2976         * gst/gstmessage.h:
2977         Added messages used in draft-latency.
2978         API: gst_message_new_lost_preroll
2979         API: gst_message_parse_lost_preroll
2980         API: gst_message_new_prerolled
2981         API: gst_message_new_latency
2983         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2984         (gst_query_parse_latency):
2985         * gst/gstquery.h:
2986         Implemented new latency query as in design doc.
2987         API: gst_query_new_latency
2988         API: gst_query_set_latency
2989         API: gst_query_parse_latency
2991 2007-02-02  Wim Taymans  <wim@fluendo.com>
2993         * docs/design/draft-latency.txt:
2994         Slight redesign to allow for dynamic latency adjustments.
2996         * docs/design/part-negotiation.txt:
2997         Fix some typos.
2999 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3001         reviewed by: Wim Taymans <wim@fluendo.com>
3003         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3004         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3005         Allow file://localhost/foo/bar URLs and correctly fail for every other
3006         hostname that one sets. This was gnomevfssrc is linked for those if
3007         installed as it can handle it (#403172)
3009 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3011         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3013         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3014         (unref_data), (gst_collect_pads_add_pad_full):
3015         * libs/gst/base/gstcollectpads.h:
3016         Don't put the previously added destroy notify in the GstCollectData
3017         struct as all it's padding is already used and we don't want to break
3018         ABI. Instead put in the pad's GObject data for now. This should be
3019         cleaned up for 0.11 (#402393).
3021 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
3023         reviewed by: Wim Taymans <wim@fluendo.com>
3025         * docs/libs/gstreamer-libs-sections.txt:
3026         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3027         (unref_data), (gst_collect_pads_add_pad),
3028         (gst_collect_pads_add_pad_full):
3029         * libs/gst/base/gstcollectpads.h:
3030         API: Add function to specify a destroy notification for custom
3031         GstCollectData when adding new pads in GstCollectPads (#402393).
3033 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
3035         * po/sv.po:
3036           Update Swedish translation (#378255).
3038 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3040         * docs/design/draft-klass.txt:
3041           Fix the previous change, this is a list of categories and not a hierarchy.
3043 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3045         * docs/design/draft-klass.txt:
3046           Add info about how to get a list of used classes.
3048 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
3050         * plugins/elements/gsttypefindelement.c:
3051         (gst_type_find_element_chain_do_typefinding),
3052         (gst_type_find_element_change_state):
3053           Don't leak found caps in chain function (no idea why that never
3054           showed up as a leak anywhere).
3056 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
3058         * gst/gstplugin.h:
3059           Fix and expand GstPluginDesc API docs.
3061 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3063         * gst/gstcaps.c:
3064         * gst/gstelementfactory.c:
3065         * gst/gstpadtemplate.h:
3066           api doc fixes
3068         * libs/gst/controller/gstcontroller.c:
3069         (gst_controlled_property_new):
3070         * tests/examples/controller/audio-example.c:
3071           comment fixes
3073 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3075         * configure.ac:
3076           comment about refining the xml deps
3078         * docs/manuals.mak:
3079           comments about moving away from jade for docs
3080         
3081         * gst/gst.c:
3082           recommit the ifdefs to use the binary registry
3083         
3084         * gst/gstbin.c: (gst_bin_change_state_func):
3085           this break is obsolete
3087         * gst/gstelementfactory.h:
3088           better GST_ELEMENT_DETAILS docs, add comment about translation
3090         * gst/gstinfo.h:
3091           remove eol slash
3093         * gst/gstobject.c: (gst_signal_object_get_type):
3094           add G_UNLIKELY as usual
3096         * gst/gstpad.c: (gst_pad_event_default):
3097           add fall trhu comment
3099         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3100         (gst_registry_binary_initialize_magic),
3101         (gst_registry_binary_save_string),
3102         (gst_registry_binary_save_pad_template),
3103         (gst_registry_binary_save_feature),
3104         (gst_registry_binary_save_plugin),
3105         (gst_registry_binary_write_cache),
3106         (gst_registry_binary_check_magic),
3107         (gst_registry_binary_load_pad_template),
3108         (gst_registry_binary_load_feature),
3109         (gst_registry_binary_load_plugin),
3110         (gst_registry_binary_read_cache):
3111           comment typo and formatting
3113         * gst/gstutils.c: (gst_element_state_get_name),
3114         (gst_element_state_change_return_get_name):
3115           remove obsolete breaks
3117         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3118           add FIXME 0.11 and remove cpp comment
3120 2007-01-29  Edward Hervey  <edward@fluendo.com>
3122         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3123         Fix print statement in an even more portable way.
3125 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3127         * docs/gst/gstreamer-sections.txt:
3128         * gst/gstutils.h:
3129           API: add GST_ROUND_DOWN_* macros (#401781).
3131 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3133         * docs/gst/gstreamer.types.in:
3134         * gst/gstregistry.c: (gst_registry_class_init):
3135           Document registry signals and make gtk-doc pick them up (#401381).
3137 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3139         * docs/pwg/building-testapp.xml:
3140           Add some audioconverts and audioresample to the pipeline, and some
3141           more comments and error handling.
3143 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3145         * docs/manual/manual.xml:
3146         * docs/pwg/pwg.xml:
3147           Fix typo (#400987).
3149 2007-01-26  Wim Taymans  <wim@fluendo.com>
3151         * gst/gstcaps.c: (gst_static_caps_get):
3152         Init caps flags too.
3154 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3156         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3158         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3159         If not using mmap'ed files try to seek to the end instead of the
3160         start to determine whether we can seek at all. This fixes the case
3161         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3162         seeks for everything afterwards fail. Fixes #400656
3164 2007-01-25  Wim Taymans  <wim@fluendo.com>
3166         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3167         Add some refcount debugging.
3168         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3169         in multiple streaming threads.
3171 2007-01-25  Wim Taymans  <wim@fluendo.com>
3173         Patch by: David Schleef <ds at schleef dot org>
3175         * docs/libs/gstreamer-libs-sections.txt:
3176         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3177         * libs/gst/base/gstadapter.h:
3178         API: gst_adapter_copy() that can reduce the amount of memcpy when
3179         getting data from the adapter. Fixes #388201.
3181 2007-01-25  Edward Hervey  <edward@fluendo.com>
3183         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3184         In print statements, "%x" is for guint. Fixes build on macosx.
3186 2007-01-24  Edward Hervey  <edward@fluendo.com>
3188         * plugins/elements/gstmultiqueue.c:
3189         (gst_multi_queue_loop):
3190         Small fix.
3191         (single_queue_overrun_cb), (single_queue_underrun_cb),
3192         (single_queue_check_full), (gst_single_queue_new):
3193         Implement single queue growth system.
3194         This uses the extra-size properties, and will grow single queues by
3195         that much if one goes full whereas there are others empty. This is
3196         called extra-mode in the code.
3197         When a single queue's levels go back below the initial max-size
3198         limits, it is no longer in extra-mode. This is to ensure we don't
3199         consume too much memory.
3200         Fixes #399875
3202 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3204         * gst/gst.c: (gst_init_get_option_group):
3205           Make warning about late g_thread_init() calls a bit more explicit,
3206           so that it's more obvious to application developers what they need
3207           to do if a user files a bug against their application.
3209 2007-01-22  Edward Hervey  <edward@fluendo.com>
3211         * plugins/elements/gstmultiqueue.c:
3212         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3213         Remove previous hack of unsetting the flushing flag for the source pad
3214         instead of activating it. Instead, fix the source pad activate function
3215         so that it no longer depends on having a parent set or not.
3217 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3219         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3221         * docs/manual/basics-bus.xml:
3222           Fix example code, gst_element_unref() doesn't exist any longer.
3224 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3226         Patch by: Mark Nauwelaerts <manauw at skynet be>
3228         * gst/gstpad.c:
3229           Fix two docs typoes (#399094).
3231 2007-01-19  Edward Hervey  <edward@fluendo.com>
3233         * docs/faq/gst-uninstalled:
3234         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3235         depending on libgstbaseutils can work in uninstalled environment.
3237 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3239         * gst/gsttaglist.h:
3240         * gst/gsttagsetter.c:
3241         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3242         statement for new tag.
3244 2007-01-17  Edward Hervey  <edward@fluendo.com>
3246         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3247         When dynamically creating single queues, activate sinkpad before adding
3248         it.
3249         We should be doing the same thing for the source pad, but we can't
3250         since it would call a method which needs the parent to be set in order
3251         to work propertly. Instead of activating the source pad, we just unset
3252         the flushing flag, which is the minimal requirement for adding a pad
3253         to an element in a state greater than READY.
3255 2007-01-17  Edward Hervey  <edward@fluendo.com>
3257         * docs/faq/gst-uninstalled:
3258         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3259         Mac OS X.
3261 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3263         * tests/check/gst/gstabi.c:
3264         * tests/check/gst/struct_hppa.h:
3265         * tests/check/libs/libsabi.c:
3266         * tests/check/libs/struct_hppa.h:
3267           Add ABI structs for HPPA (see #393796).
3269 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3271         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3272           Actually write ABI structs to the file specified in the GST_ABI
3273           environment variable, as the message we print claims we would.
3275 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3277         * tests/check/gst/gsttask.c:
3278           Fix header comment.
3280 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3282         * gst/gsttaglist.c: (_gst_tag_initialize):
3283           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3284           previous two entries.
3286 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3288         * docs/gst/gstreamer-sections.txt:
3289         * gst/gsttaglist.c: (_gst_tag_initialize):
3290         * gst/gsttaglist.h:
3291           Add tag support for beat-per-minute.
3293 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3295         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3296         (gst_registry_binary_initialize_magic),
3297         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3298         (gst_registry_binary_save_pad_template),
3299         (gst_registry_binary_save_feature),
3300         (gst_registry_binary_save_plugin),
3301         (gst_registry_binary_write_cache),
3302         (gst_registry_binary_check_magic),
3303         (gst_registry_binary_load_pad_template),
3304         (gst_registry_binary_load_feature),
3305         (gst_registry_binary_load_plugin),
3306         (gst_registry_binary_read_cache):
3307         * gst/gstregistrybinary.h:
3308           Use glib types, cleanup comments, impement interfaces and uri-types.
3310 2007-01-13  Andy Wingo  <wingo@pobox.com>
3312         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3313         getrange() to return buffers with other caps, while we fix
3314         demuxers and typefind, or otherwise change part-negotiation.txt.
3316 2007-01-12  Andy Wingo  <wingo@pobox.com>
3318         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3319         Factor start/stop into this private function instead of partially
3320         in activate functions and partially in the change_state function.
3321         Fixes setup before the element has changed from READY->PAUSED, as
3322         is the case in pull-mode pipelines.
3323         (gst_base_transform_sink_activate_push)
3324         (gst_base_transform_src_activate_pull): Refactor to use
3325         gst_base_transform_activate().
3326         (gst_base_transform_change_state): Removed, not needed any more.
3328         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3329         Truncate before fixating.
3330         
3331         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3332         Don't set_caps() if the result of fixating is ANY, as it's not
3333         supported, and not necessary in the case of a link with no
3334         template caps on either side. Fixes tests/check/libs/basesrc in
3335         some pull-mode tests.
3337         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3338         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3339         (gst_base_transform_src_activate_pull): 
3340         Track the activation mode.
3341         (gst_base_transform_setcaps): In pull mode, when activating the
3342         src pad, after activating the sink pad, activate the sink pad's
3343         peer, as discussed in part-negotiation.txt.
3345         * libs/gst/base/gstbasesrc.h: 
3346         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3347         vmethod, as in basesink.
3349         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3351         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3352         mode, first proxy the setcaps to the peer pad.
3353         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3354         new fixate vmethod.
3355         (gst_base_sink_default_activate_pull): Rename from
3356         gst_base_sink_activate_pull.
3357         (gst_base_sink_negotiate_pull): New function, performs negotiation
3358         in pull mode before calling ::activate_pull().
3359         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3360         vmethod instead of the default implementation. I have no idea how
3361         this worked before. Negotiate before calling activate_pull.
3363         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3364         sink pads in pull mode. In addition to being correct, fixes
3365         filesrc ! decodebin ! identity ! fakesink.
3366         (gst_pad_get_range, gst_pad_pull_range): Don't call
3367         gst_pad_set_caps() if the caps changes; instead error out with
3368         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3370 2007-01-12  Andy Wingo  <wingo@pobox.com>
3372         * docs/design/part-negotiation.txt: Update with more policy.
3374 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3376         * libs/gst/check/gstbufferstraw.h:
3377         * libs/gst/check/gstcheck.h:
3378           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3379           belongs.
3381 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3383         * tests/check/Makefile.am:
3384         * tests/check/gst/.cvsignore:
3385         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3386         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3387         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3388         (GST_START_TEST), (gst_tag_setter_suite):
3389           Add minimal unit test for beforementioned GstTagSetter bug.
3391 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3393         Patch by: René Stadler <mail at renestadler dot de>
3395         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3396           gst_tag_list_merge() returns a new list, so it's not the best idea
3397           to ingore its return value. Effectively meant that tags could only
3398           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3399           Also add function guard to require a non-NULL taglist as input (has
3400           always been so due to gst_tag_list_copy(), just making it explicit).
3402 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3404         * docs/random/draft-missing-plugins.txt:
3405           Some additions: mention new API that is supposed to be used at the
3406           various stages; short blob about new gst-inspect introspection
3407           option; mention potential future problem with plugins that have
3408           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3410 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3412         * tools/gst-inspect.c:
3413         (print_plugin_automatic_install_info_codecs),
3414         (print_plugin_automatic_install_info_protocols),
3415         (print_plugin_automatic_install_info), (main):
3416         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3417         introspect plugin files and get machine-parsable output that corresponds
3418         to the last bit of the missing-plugin installer string (small gotcha:
3419         doesn't take into account ranks).
3421 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3423         * configure.ac:
3424         * docs/gst/gstreamer-sections.txt:
3425         * gst/Makefile.am:
3426         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3427         (gst_registry_lookup_locked):
3428         * gst/gstregistry.h:
3429         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3430         (gst_registry_binary_initialize_magic),
3431         (gst_registry_binary_save_string),
3432         (gst_registry_binary_save_pad_template),
3433         (gst_registry_binary_save_feature),
3434         (gst_registry_binary_save_plugin),
3435         (gst_registry_binary_write_cache),
3436         (gst_registry_binary_check_magic),
3437         (gst_registry_binary_load_pad_template),
3438         (gst_registry_binary_load_feature),
3439         (gst_registry_binary_load_plugin),
3440         (gst_registry_binary_read_cache):
3441         * gst/gstregistrybinary.h:
3442         * gst/gstregistryxml.c: (load_feature),
3443         (gst_registry_xml_read_cache):
3444           commit binary registry (disabled by default, see #359653)
3446 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3448         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3449           Fix 'make check' too.
3451 2007-01-10  Andy Wingo  <wingo@pobox.com>
3453         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3454         notes.
3455         
3456         * docs/design/part-negotiation.txt: Update with, um, one way that
3457         pull-mode negotiation might work?
3459         * gst/gstpad.h: 
3460         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3461         that the pad must be a src pad; makes sense to call it the other
3462         way in pull mode, and the logic is symmetric anyway.
3464 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3466         * plugins/elements/gstfilesink.c:
3467           Include <stdio.h> for fseeko().
3469 2007-01-10  Wim Taymans  <wim@fluendo.com>
3471         * gst/gstevent.c:
3472         * gst/gstevent.h:
3473         Reserve LATENCY event.
3475 2007-01-09  Wim Taymans  <wim@fluendo.com>
3477         * docs/design/draft-latency.txt:
3478         Updates.
3480 2007-01-09  Wim Taymans  <wim@fluendo.com>
3482         * docs/design/draft-latency.txt:
3483         Updates.
3485         * gst/gstelement.h:
3486         * gst/gststructure.c:
3487         * gst/gsttrace.c:
3488         Small typo fixes.
3490 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3492         * tests/check/.cvsignore:
3493           Ignore test-registry.xml as well.
3495 2007-01-09  Wim Taymans  <wim@fluendo.com>
3497         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3498         unref data at the end when we are done with the pad.
3500 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3502         * docs/gst/gstreamer-sections.txt:
3503         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3504         (init_post), (gst_deinit), (gst_update_registry):
3505         * gst/gst.h:
3506           API: add gst_update_registry() (#391296).
3508         * tests/check/Makefile.am:
3509         * tests/check/gst/gstregistry.c:
3510         * tests/check/gst/.cvsignore:
3511           Simple unit test for the above.
3513 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3515         * gst/gstregistry.c: (gst_registry_scan_path_level):
3516           Plugin extension on HP-UX is .sl, add that to the list of approved
3517           plugin extensions (see #393796).
3519         * tests/check/gst/gstpad.c: (GST_START_TEST):
3520           ulong => gulong. Fixes compilation with HP-UX compiler.
3522         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3523           Fix compilation if valgrind headers are not available.
3525 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3527         * win32/common/libgstreamer.def: 
3528           Add new exported function.
3529         * win32/vs6/libgstbase.dsp: 
3530           Add gstdataqueue.c to the build.
3531         * win32/vs6/libgstcoreelements.dsp:
3532           Add gstmultiqueue.c to the build.
3533         
3534 2007-01-06  Andy Wingo  <wingo@pobox.com>
3536         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3537         activate_pull(), providing for a way to specialize the process of
3538         spawning a thread to pull on the sink pad. There is a default
3539         implementation.
3541         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3542         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3543         (gst_base_sink_init): Renamed pad activation functions (inserting
3544         "_pad" in their names). Refactor to use the new activate_pull
3545         vmethod, as appropriate.
3546         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3547         default activate_pull function to start a task pulling from the
3548         sink pad, as before.
3550         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3551         on the pads if necessary, as in push()/chain(). Update docs.
3552         Shouldn't affect existing pull() usage as it is currently only
3553         being used on buffers without caps.
3555 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3557         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3558         (init_pre):
3559           Call g_thread_init() first thing in gst_init() / gst_check_init().
3560           When initialisation is done via gst_init_get_option_group() and
3561           GOption parsing, issue a warning if the GLib thread system has not
3562           been initialised yet by the time gst_init_get_option_group() is
3563           called, as it's quite likely other GLib functions such as
3564           g_option_context_new() have been called already then, and
3565           g_thread_init() must be called before any other GLib function. The
3566           application in question must be fixed in that case, since memory
3567           corruption might happen otherwise.
3568           We issue the warning because even if the GLib folks decide to work
3569           around the problem on their end in future, this is still an issue
3570           with all GLib versions >= 2.10.0, so we should warn until we depend
3571           on a GLib version we know to be safe.
3572           Update documentation as well.
3573           Closes bug #391278.
3575 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3577         * tools/gst-inspect.c: (main):
3578         * tools/gst-launch.c: (main):
3579         * tools/gst-typefind.c: (main):
3580         * tools/gst-xmlinspect.c: (main):
3581           Call g_thread_init() really really early, before any other GLib
3582           function (see #342564 and recent discussion on gtk-devel-list).
3584 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3586         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3588         * gst/gst_private.h:
3589         * gst/gstconfig.h.in:
3590         * gst/gstinfo.h:
3591           On win32, all the __declspec stuff for symbol exporting is
3592           apparently only needed with MSVC, but doesn't work with MingW.
3593           Fixes compilation with MingW and #391909.
3595 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3597         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3598           Change some GST_ERROR_OBJECT that aren't really errors to
3599           GST_WARNING_OBJECT in order to reduce terminal spam.
3601 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3603         * tests/check/Makefile.am:
3604           disable test again, as there seem to be still race problems
3606 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3608         * tests/check/Makefile.am:
3609         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3610         (GST_START_TEST), (queue_suite):
3611           enable queue test again, add tests for the leaky behaviour
3613 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3615         * configure.ac:
3616         * tests/examples/Makefile.am:
3617           Compile adapter test/example only if the required headers are
3618           available (fixes #391915).
3620 2007-01-01  David Schleef  <ds@schleef.org>
3622         * gst/gstplugin.c:
3623           Restore the previous signal handler for SIGSEGV instead of
3624           setting to default, since we may have stolen it away from
3625           someone.  (i.e., Mono)
3627 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3629         * docs/random/draft-missing-plugins.txt:
3630           Some small additions and clarifications.
3632 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3634         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3635           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3636           since that can lead to random memory corruptions and crashes
3637           (may or may not be related to #383244, #386711, and #386711).
3639 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3641         * tests/check/.cvsignore:
3642         * tests/check/Makefile.am:
3643           sync .cvsignome and CLEANFILES
3645 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3647         * tests/check/Makefile.am:
3648           fix distcheck
3650 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3652         * docs/design/part-states.txt:
3653           two tiny additional comments
3654         
3655         * gst/gststructure.c:
3656           doc fixing
3658         * tests/check/Makefile.am:
3659         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3660         (GST_START_TEST):
3661           disable test for now, unless it gets fixed
3663 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3665         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3666         (GST_START_TEST):
3667           fix race in underrun test
3669 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3671         * tests/check/elements/.cvsignore:
3672           ignore more
3674         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3675         (GST_START_TEST):
3676           try to narrow test failure
3678 2006-12-21  David Schleef  <ds@schleef.org>
3680         * plugins/elements/gstfakesrc.c:
3681           Use g_random_int_range(), since it produces better random
3682           numbers in a range than almost-correct floating point code.
3684 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3686         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3687         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3688         (gst_check_teardown_sink_pad):
3689           do not automatically (de)activate pads
3691         * tests/check/Makefile.am:
3692         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3693         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3694           add new, yet simple tests for queue
3696         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3697         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3698         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3699         (GST_START_TEST):
3700         * tests/check/elements/identity.c: (cleanup_identity):
3701           consistent pad (de)activation
3703 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3705         Patch by: Sebastian Dröge  <slomo ubuntu com>
3707         * libs/gst/base/gstcollectpads.c:
3708           Fix two doc typos (#387866).
3710 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3712         * docs/manual/advanced-dparams.xml:
3713           Fix typo (g_object_control_properties() doesn't exist).
3715 2006-12-19  Edward Hervey  <edward@fluendo.com>
3717         * gst/gstsegment.c: (gst_segment_set_seek):
3718         Fine tune the cases where the segment start/stop values are really
3719         updated.
3720         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3721         Add tests for the return values of gst_segment_set_seek().
3723 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3725         * gst/gst.c:
3726           Docs typo fix.
3728         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3729         (gst_queue_init):
3730           Fix incorrect documentation and flesh it out a bit more.
3731           Set default values for the max properties on the GParamSpec as well,
3732           so it shows up correctly in gst-inspect.
3734 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3736         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3737           Correct docs of queue, add more detail and crosslink it more.
3739 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3741         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3742           Print additional debug info when the stream isn't perfectly
3743           timestamped; don't try to use invalid durations.
3745 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3747         * docs/design/Makefile.am:
3748           Dist new design docs.
3750 2006-12-16  Wim Taymans  <wim@fluendo.com>
3752         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3754         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3755         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3756         (gst_collect_pads_stop), (gst_collect_pads_event),
3757         (gst_collect_pads_chain):
3758         * libs/gst/base/gstcollectpads.h:
3759         Add refcounting to the collectpads data so we can track when it's safe
3760         to free the data. Fixes #383382.
3762 2006-12-15  Wim Taymans  <wim@fluendo.com>
3764         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3765         (gst_collect_pads_remove_pad):
3766         Automatically activate/deactivate pads when they are added to a
3767         started/stoped collectpads.
3769 2006-12-15  Wim Taymans  <wim@fluendo.com>
3771         * gst/gstelement.c: (gst_element_add_pad):
3772         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3773         * gst/gstpad.c: (gst_pad_init):
3774         Set pads to FLUSHING when they are created. Check, warn and fix when a
3775         demuxer adds an inactive pad to itself when running. Fixes #339326.
3777 2006-12-15  Wim Taymans  <wim@fluendo.com>
3779         * gst/gstelement.c: (gst_element_class_init),
3780         (gst_element_default_send_event), (gst_element_send_event),
3781         (gst_element_default_query), (gst_element_query):
3782         Expose default element send_event and query handling as vmethods that
3783         subclasses can chain up to.
3785 2006-12-15  Wim Taymans  <wim@fluendo.com>
3787         * gst/gstelement.c: (gst_element_set_state_func):
3788         Small documentation fixes.
3790 2006-12-15  Wim Taymans  <wim@fluendo.com>
3792         * docs/design/draft-latency.txt:
3793         Checked in draft for handling latency in pipelines.
3795 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3797         * Makefile.am:
3798         * gstreamer.doap:
3799         * gstreamer.spec.in:
3800           adding .doap file
3802 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
3804         * gst/gst.c: (init_pre), (init_post):
3805           init_pre() and init_post() might be called via our GOptionGroup or
3806           from gst_init(), and we should skip both of them if we've already
3807           been initialised, otherwise we will init some things twice or add
3808           two default log functions.
3810 2006-12-13  Edward Hervey  <edward@fluendo.com>
3812         * docs/manual/basics-bus.xml:
3813         No, gst_main_loop does not exist. Its g_main_loop.
3814         Discovered by somebody who abused the copy-paste technique of coding :)
3816 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3818         * gst/gstghostpad.c:
3819           Log ghostpad debug stuff to the GST_PADS category as well rather
3820           than just to the default category.
3822 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3824         * configure.ac:
3825         * gst/gst.c: (init_pre):
3826           Add some basic system details such as OS and architecture
3827           to the debug output if possible, courtesy of uname().
3829 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
3831         * docs/gst/running.xml:
3832           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3833           environment variables.
3835 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3837         * tests/check/gst/gstbin.c: (GST_START_TEST):
3838         It is acceptable to have a refcount of 2 or 3 at this point in the
3839         test, because the pipeline might be just posting its state_change
3840         message. The next line then waits for that message to appear using
3841         bus_poll, so that should be fine too.
3843 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3845         * gst/gst.c: (ensure_current_registry_forking):
3846         Ignore EINTR when reading from the child registry pipe.
3847         Explicitly ignore the return value from close, since it makes no
3848         difference.
3850         * gst/gstminiobject.c: (gst_mini_object_ref),
3851         (gst_mini_object_unref):
3852         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3854         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3855         When removing cached plugins, remove their features too, so they're
3856         not visible after they've disappeared.
3858         * gst/gstutils.c: (prepare_link_maybe_ghosting):
3859         In the unlikely case that we are linking pads with no parents, don't
3860         crash trying to get the non-existent parent bin.
3862         * gst/parse/grammar.y:
3863         Output debug in the PIPELINE category
3865 2005-03-08  Wim Taymans  <wim@fluendo.com>
3867         Patch by: René Stadler <mail at renestadler dot de>
3869         * gst/gstclock.c: (gst_clock_new_periodic_id):
3870         Reject invalid clock times for interval of periodic ids.
3871         Fixes ##383506.
3873 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3875         * gst/gstelementfactory.c: (gst_element_factory_create):
3876         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3877         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3878         * tools/gst-inspect.c: (print_element_info):
3879         Fix refcounting of gst_plugin_feature_load to match the docs. 
3880         Fixes: #380129
3882 2006-12-07  Wim Taymans  <wim@fluendo.com>
3884         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3885         (gst_base_sink_get_position):
3886         Improve debugging of events.
3888 2006-12-07  Wim Taymans  <wim@fluendo.com>
3890         Patch by: René Stadler <mail at renestadler dot de>
3892         * gst/gstclock.c: (gst_clock_id_wait):
3893         Make period ids add the interval to the origial requested time instead
3894         of the possibly updated time which can be wrong when there are multiple
3895         waiters for the same id. Fixes #382592.
3897         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3898         (gst_system_clock_id_wait_jitter_unlocked),
3899         (gst_system_clock_id_wait_jitter):
3900         Fix restart in the async notify thread when an async entry is added to
3901         the front of the list. Fixes #381492. 
3903         * tests/check/gst/gstsystemclock.c: (store_callback),
3904         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3905         Added test for multiple async waits.
3906         Added test for async wait order.
3908 2006-12-07  Wim Taymans  <wim@fluendo.com>
3910         * gst/gstbin.c: (gst_bin_query):
3911         Add some more docs about the POSITION query.
3913 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3915         * configure.ac:
3916         Bump version nano - back to CVS.
3918 === release 0.10.11 ===
3920 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
3922         * configure.ac:
3923           releasing 0.10.11, "Love never runs on time"
3925 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
3927         * win32/common/libgstbase.def:
3928         * win32/common/libgstreamer.def:
3929         * win32/vs8/libgstbase.vcproj:
3930         * win32/vs8/libgstcoreelements.vcproj:
3931         * win32/vs8/libgstreamer.vcproj:
3932         Fix compilation on win32 under VS8
3933         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3934         Partially fixes #381175
3936 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
3938         * gst/gstvalue.c: (gst_value_compare_fraction):
3939         If someone is foolish enough to compare 2 fractions with denominator =
3940         0, return UNORDERED rather than aborting.
3942 2006-11-28  Edward Hervey  <edward@fluendo.com>
3944         * libs/gst/base/Makefile.am:
3945         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3946         (gst_data_queue_base_init), (gst_data_queue_class_init),
3947         (gst_data_queue_init), (gst_data_queue_new),
3948         (gst_data_queue_cleanup), (gst_data_queue_finalize),
3949         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3950         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3951         (gst_data_queue_is_empty), (gst_data_queue_is_full),
3952         (gst_data_queue_set_flushing), (gst_data_queue_push),
3953         (gst_data_queue_pop), (gst_data_queue_drop_head),
3954         (gst_data_queue_set_property), (gst_data_queue_get_property):
3955         * libs/gst/base/gstdataqueue.h:
3956         New GstDataQueue object for threadsafe queueing. Most useful for
3957         elements that need some queueing functionnality.
3958         * docs/libs/gstreamer-libs-docs.sgml:
3959         * docs/libs/gstreamer-libs-sections.txt:
3960         Insert documentation for GstDataQueue
3961         * plugins/elements/Makefile.am:
3962         * plugins/elements/gstelements.c:
3963         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3964         (gst_multi_queue_class_init), (gst_multi_queue_init),
3965         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3966         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3967         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3968         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3969         (gst_multi_queue_loop), (gst_multi_queue_chain),
3970         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3971         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3972         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3973         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3974         (wake_up_next_non_linked), (compute_next_non_linked),
3975         (single_queue_overrun_cb), (single_queue_underrun_cb),
3976         (single_queue_check_full), (gst_single_queue_new):
3977         * plugins/elements/gstmultiqueue.h:
3978         New multiqueue element, using GstDataQueue. Used for queuing multiple
3979         streams.
3980         Closes #344639 and #347785
3982 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
3984         * docs/pwg/advanced-types.xml:
3985           add more missing type details
3987         * tools/gst-run.c: (main):
3988           remove unused variable
3990 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
3992         * docs/libs/Makefile.am:
3993         * docs/libs/gstreamer-libs.types:
3994           add types of base classes to enable gobject specific stuff in the docs
3996         * docs/random/ensonic/embedded.txt:
3997           more ideas about isolating platform specific things
3999 2006-11-20  Wim Taymans  <wim@fluendo.com>
4001         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4003         * libs/gst/check/gstcheck.h:
4004         Fix compilation and running against 0.9.4. Fixes #377332.
4006 2006-11-20  Wim Taymans  <wim@fluendo.com>
4008         * gst/gstsegment.c: (gst_segment_set_seek),
4009         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4010         (gst_segment_to_running_time):
4011         Fix boundary checking in to_running_time() and to_stream_time().
4012         Fixes #377183.
4014         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4015         stream and running time can now be calculated for the complete
4016         clipped segment.
4018 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
4020         * gst/gstpad.c: (gst_pad_push_event):
4021           Can't access event structure after giving away ownership of
4022           the event.
4024 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
4026         * docs/random/ensonic/embedded.txt:
4027         * docs/random/ensonic/profiling.txt:
4028         * docs/random/ensonic/receipies.txt:
4029           more thinking
4031 2006-11-13  Wim Taymans  <wim@fluendo.com>
4033         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4035         * gst/gstpad.c:
4036         Fix documentation for gst_pad_dispatcher. Fixes #374475.
4038 2006-11-13  Wim Taymans  <wim@fluendo.com>
4040         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4042         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4043         Store new length in segment duration so we don't keep on calling the
4044         potentially expensize get_size() call. Fixes #370865.
4046 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
4048         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
4050         * win32/common/libgstreamer.def:
4051           Add two missing symbols (#366492).
4053 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
4055         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4056         (gst_adapter_take_buffer):
4057         Fix format string to use all its arguments.
4058         Remove useless >= check on a guint
4060 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4062         * tests/examples/adapter/.cvsignore:
4063         Ignore build file as commanded by the build-bot
4065 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4067         * tests/examples/adapter/Makefile.am:
4068         * tests/examples/adapter/adapter_test.c: (run_test_take),
4069         (run_test_take_buffer), (run_tests), (main):
4071         Add new files from the previous commit
4073 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4075         * Makefile.am:
4076         * configure.ac:
4077         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4078         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4079         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4080         * libs/gst/base/gstadapter.h:
4081         * tests/check/libs/adapter.c: (create_and_fill_adapter),
4082         (GST_START_TEST), (gst_adapter_suite):
4083         * tests/examples/Makefile.am:
4084         Do some optimisation work in GstAdapter to avoid copies in more cases.
4085         It could still do slightly better by merging buffers when
4086         gst_buffer_is_span_fast is true, but is already faster. 
4088         Also, avoid traversing a single-linked list to append each incoming 
4089         buffer inside the adapter.
4091         Add simple test app that times the adapter behaviour in different
4092         situations, and extend the unit test to check that bytes enter and
4093         exit the adapter in their original order.
4095 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4097         * docs/random/draft-missing-plugins.txt:
4098           Update: use element message instead of adding a new message
4099           type to the core; don't provide GStreamer API to initiate the
4100           plugin download, just provide API to compose the strings needed
4101           and let an external libgimmestuff handle the rest.
4103 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
4105         * tools/gst-inspect.c: (print_element_properties_info):
4106         Print a string instead of 'unknown type' for GValueArray properties
4108 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4110         * docs/random/draft-missing-plugins.txt:
4111         More small fixes.
4113 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4115         * tests/examples/typefind/typefind.c: (type_found), (main):
4116           Make typefind element example work again (#371894); add a
4117           license header.
4119 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4121         * docs/random/draft-missing-plugins.txt:
4122           Commit initial draft about how to deal with missing plugins,
4123           needs work (API too).
4125 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4127         * docs/pwg/advanced-types.xml:
4128           documents the new caps elements (see #363118)
4130 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4132         * gst/gstplugin.c: (gst_plugin_load_file):
4133         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4134         (gst_file_src_map_region), (gst_file_src_start):
4135         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4136         (gst_file_index_commit):
4137           Use g_strerror() instead of strerror() - we want UTF-8.
4139 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4141         Patch by: Peter Kjellerstedt <pkj at axis com>
4143         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4144           Another printf fix (#371493).
4146 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4148         * tests/check/gst/gsttag.c:
4149           relicence (okay with author=company)
4151 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4153         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4154         (gst_pad_push_event):
4155           Enhance debug and improve docs
4156         
4157         * gst/gsturi.c:
4158           Fix docs
4160 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4162         * docs/random/ensonic/distributed.txt:
4163         * docs/random/ensonic/profiling.txt:
4164           more ideas
4166 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4168         * docs/gst/gstreamer-sections.txt:
4169           add new API and fix the build
4170           
4171         * gst/gstbin.c: (gst_bin_recalc_state):
4172         * gst/gstelement.c: (gst_element_message_full),
4173         (gst_element_get_state_func), (gst_element_set_state_func):
4174           use new API and improve logging
4175         
4176         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4177         * gst/gstutils.h:
4178           API: add function to get StateChangereturn names to improve logs 
4180 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4182         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4183           I'm considering shooting the next person to put strerror stuff
4184           in the translateable part of the message.
4186 2006-11-03  Wim Taymans  <wim@fluendo.com>
4188         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4189         Get the type and printf conversion specifiers right.
4191 2006-11-03  Wim Taymans  <wim@fluendo.com>
4193         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4195         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4196         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4197         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4198         Some small cleanups. Improve debugging.
4199         * gst/gstpad.h:
4200         Signal all waiting threads with a broadcast instead of just one.
4201         Fixes #369942.
4203 2006-11-03  Wim Taymans  <wim@fluendo.com>
4205         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4206         (gst_fd_src_create):
4207         Add some debugging. 
4208         Only update fd when it's different from the old.
4210 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4212         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4213           Printf fixes for PPC/OSX, take two (#369366).
4215 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4217         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4219         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4220         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4221         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4222           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4223           don't cast to long long for portability reasons, but use
4224           GLib's types instead.
4226 2006-10-30  Michael Smith  <msmith@fluendo.com>
4228         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4229           Get the arguments to lseek() the right way around.
4230           Fixes 367677.
4232 2006-10-30  Wim Taymans  <wim@fluendo.com>
4234         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4236         * gst/gstinfo.h:
4237         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4239 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4241         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4243         * docs/design/part-MT-refcounting.txt:
4244         * docs/random/wtay/capsnego2-docs:
4245         * gst/gstclock.c:
4246         * gst/gstxml.c:
4247           Typo fixes (#366212).
4249 2006-10-28  Wim Taymans  <wim@fluendo.com>
4251         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4253         * gst/gst.c:
4254         * win32/common/libgstbase.def:
4255         * win32/common/libgstreamer.def:
4256         * win32/vs8/libgstbase.vcproj:
4257         * win32/vs8/libgstcontroller.vcproj:
4258         Add needed entries in .def files.
4259         Use HAVE_UNISTD_H.
4260         Rearrange def files in vs8 solutions. Fixes #366286.
4262 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4264         * win32/common/gstconfig.h:
4265           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4266           hand-made win32 gstconfig.h. Fixes #366321.
4268 2006-10-27  Wim Taymans  <wim@fluendo.com>
4270         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4271         (gst_ghost_pad_new_full):
4272         Make acceptcaps return TRUE when we don't have a target, just like
4273         setcaps does.
4275 2006-10-27  Wim Taymans  <wim@fluendo.com>
4277         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4278         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4280 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4282         * gst/gststructure.c: (gst_structure_id_set_value):
4283           If someone tries to set a non-UTF8 string field on a structure,
4284           don't just print a warning, but also ignore the request and do
4285           not change/add that field to the structure.
4287         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4288           Test for the above.
4290 2006-10-25  David Schleef  <ds@schleef.org>
4292         * gst/gstinfo.c:
4293           g_hash_table_insert() needs a cast to a non-const pointer duh.
4295 2006-10-25  David Schleef  <ds@schleef.org>
4297         * gst/gstinfo.c:
4298         * gst/gstinfo.h:
4299           Change name parameter of _gst_debug_register_funcptr to const
4300           to reflect the constness of its use in the function as well
4301           as to quiet a gcc warning.
4303 2006-10-25  Edward Hervey  <edward@fluendo.com>
4305         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4306         Don't push the buffer if it's empty.
4307         Closes #363095
4309 2006-10-24  Wim Taymans  <wim@fluendo.com>
4311         * gst/gstevent.h:
4312         Add small comment.
4314         * libs/gst/base/gstbasetransform.c:
4315         (gst_base_transform_sink_eventfunc):
4316         Debug segment values *after* updating them as this is more
4317         interesting.
4319 2006-10-23  Wim Taymans  <wim@fluendo.com>
4321         * docs/design/part-events.txt:
4322         Update some docs.
4324         * docs/design/part-block.txt:
4325         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4326         (gst_pad_push_event):
4327         Revert BLOCKING patch, it tries to be smart without really having a
4328         clear idea what or how. So, now we discard all FLUSHING events again on
4329         a blocking pad. Should fix gnonlin again.
4331 2006-10-23  Wim Taymans  <wim@fluendo.com>
4333         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4335         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4336         (gst_base_src_start), (gst_base_src_activate_push):
4337         Make sure size is always initialized. Fixes #364388.
4339 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4341         * docs/random/ensonic/distributed.txt:
4342           add some ideas about doing distributed processing
4344         * docs/random/ensonic/profiling.txt:
4345           get_rusage look promising
4347 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4349         * docs/manual/basics-helloworld.xml:
4350           Add a cast in example to fix compile warning
4352 2006-10-18  Wim Taymans  <wim@fluendo.com>
4354         * gst/gstsegment.c: (gst_segment_set_last_stop),
4355         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4356         Relax arg checking again, -1 is allowed.
4358 2006-10-18  Wim Taymans  <wim@fluendo.com>
4360         * gst/gstsegment.c: (gst_segment_set_last_stop),
4361         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4362         _set_last_stop() must be with a value != -1
4363         A _TYPE_SET to -1 means seek to 0.
4364         Calc last_stop correctly for negative rates.
4365         Make sure we work with positive durations when updating a segment.
4367 2006-10-18  Wim Taymans  <wim@fluendo.com>
4369         * docs/design/part-live-source.txt:
4370         * gst/gstclock.h:
4371         Small docs fixes.
4373 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4375         * gst/gstbuffer.h:
4376           Add an explicit cast to GstBuffer** to keep old code that added an
4377           explicit cast to GstMiniObject** for gst_mini_object_replace()
4378           compiling without warning.
4380 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4382         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4383           check for validity of dates
4385 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4387         * docs/gst/gstreamer-sections.txt:
4388           Forgot this one, makes gtk-doc shut up.
4390 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4392         Patch by: Peter Kjellerstedt <pkj at axis com>
4394         * gst/gstobject.h:
4395           Don't define xmlNodePtr to gpointer if the core was built with
4396           --disable-loadsave and --disable-registry, this will break
4397           applications that want to use libxml2 but are buildling against a
4398           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4399           instead so we don't have to mess with the libxml2 namespace
4400           (#361675).
4402 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4404         * gst/gstbuffer.h:
4405           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4406           type-punned pointer warnings.
4408 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4410         * gst/gstelement.h:
4411           Add casts to the correct return type to state <=> state transition
4412           macros.
4414 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4416         * docs/design/part-live-source.txt:
4417           describe howto handle latency
4418         
4419         * docs/random/ensonic/profiling.txt:
4420           more ideas
4422         * tools/gst-plot-timeline.py:
4423           fix log parsing for solaris, remove unused function
4425 2006-10-16  Wim Taymans  <wim@fluendo.com>
4427         * docs/design/part-trickmodes.txt:
4428         * gst/gstevent.c:
4429         Update some docs regarding reverse playback.
4431 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4433         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4435         * win32/vs8/grammar.vcproj:
4436           Error out with a warning if glib-genmarshal.exe is not in path,
4437           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4439 2006-10-13  Wim Taymans  <wim@fluendo.com>
4441         * gst/gstsegment.c: (gst_segment_set_seek):
4442         When seeking to stop -1, set last_stop (current position) to the
4443         duration of the segment.
4445 2006-10-13  Wim Taymans  <wim@fluendo.com>
4447         * gst/gstelement.h:
4448         Clarify _NO_PREROLL a bit more.
4450         * gst/gstevent.c:
4451         Fix docs.
4453         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4454         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4455         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4456         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4457         due to wrong locking order. Fixes #361769.
4458         Remove some redundant/misplaced checks in pad_block.
4460         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4461         For negative rates, count backwards from the duration.
4463 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4465         * gst/gsterror.c: (_gst_library_errors_init):
4466           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4467           up with something better).
4469 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4471         * win32/vs6/libgstreamer.dsp:
4472         * win32/vs7/libgstreamer.vcproj:
4473         * win32/vs8/libgstreamer.vcproj:
4474           Don't reference glib-compat.c which is currently not used and not
4475           disted; add gstquark.c which was recently added. Fixes #361730.
4477 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4479         * win32/common/libgstbase.def:
4480         * win32/common/libgstcontroller.def:
4481         * win32/common/libgstreamer.def:
4482           Add gst_caps_merge() and a bunch of other recently-added functions.
4483           Fixes #361732.
4485 2006-10-11  Wim Taymans  <wim@fluendo.com>
4487         * docs/plugins/gstreamer-plugins.args:
4488         * docs/plugins/inspect/plugin-coreelements.xml:
4489         * docs/plugins/inspect/plugin-coreindexers.xml:
4490         Update element args.
4492         * gst/gstsystemclock.c:
4493         Small comment update.
4495         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4496         (gst_tee_request_new_pad), (gst_tee_release_pad),
4497         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4498         (gst_tee_sink_activate_pull):
4499         * plugins/elements/gsttee.h:
4500         Some tee loving:
4501         Add default property defines.
4502         Implement release pad function.
4503         Give properties better blubs etc.
4504         Activate pads before adding them to a running tee.
4505         Do simple buffer_alloc on the first requested pad.
4506         Post error when activation fails.
4508 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4510         * gst/gst.c: (ensure_current_registry_forking):
4511           Check return value of write() to make compiler happy.
4513 2006-10-11  Wim Taymans  <wim@fluendo.com>
4515         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4517         * plugins/elements/gstqueue.c: (gst_queue_chain):
4518         Recheck queue filledness after signalling the overrun when we're about
4519         to leak downstream because we released the lock when emitting the signal
4520         and the queue could be empty again. Fixes #352345.
4522 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4524         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4525           Fix refcounting here too, just like we did for _new_valist() a few
4526           days ago (#357180) (thanks to René Stadler). Also remove all those
4527           'Since: 0.9' from the gtk-doc blobs.
4529         * tests/check/libs/controller.c: (controller_refcount_new_list),
4530         (gst_controller_suite):
4531           Unit test for the above.
4533 2006-10-10  Wim Taymans  <wim@fluendo.com>
4535         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4537         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4538         (gst_pad_save_thyself):
4539         Update some docs.
4540         Write pad direction in XML output. Fixes #345496.
4542 2006-10-10  Wim Taymans  <wim@fluendo.com>
4544         Patch by: René Stadler <mail at renestadler dot de>
4546         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4547         (gst_controller_new_list), (_gst_controller_dispose),
4548         (_gst_controller_finalize), (_gst_controller_class_init):
4549         Take ref to controlled object so that it cannot disappear. 
4550         Fixes #357432.
4552 2006-10-10  Wim Taymans  <wim@fluendo.com>
4554         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4555         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4556         (gst_check_teardown_sink_pad):
4557         Activate/deactivate pads in setup/teardown respectively.
4559 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4561         Patch by: Josep Torre Valles <josep@fluendo.com>
4563         * gst/Makefile.am:
4564         Cast values when making gstenumtypes.h.  This pacifies Forte
4565         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4566         in the enumeration.
4568 2006-10-09  Wim Taymans  <wim@fluendo.com>
4570         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4571         Rename some more @cur to @start to fix docs. 
4573         * gst/gstsegment.c: (gst_segment_set_seek):
4574         Fix typo.
4575         time and start must always stay in sync as defined in design doc.
4577         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4578         Rename param to fix docs.
4580         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4581         Check that start and time are in sync.
4583         * tests/check/pipelines/parse-launch.c:
4584         (gst_parse_test_element_change_state):
4585         Activate pad before adding to the element.
4587 2006-10-09  Wim Taymans  <wim@fluendo.com>
4589         * docs/design/part-qos.txt:
4590         Fix typo.
4592         * gst/gstevent.c:
4593         * gst/gstevent.h:
4594         Update seek event docs regarding negative rates.
4595         Rename @cur to @start. 
4597         * gst/gstsegment.c: (gst_segment_set_seek):
4598         * gst/gstsegment.h:
4599         Update set_seek docs regarding negative rates.
4600         Correctly update last_stop to @stop when dealing with negative
4601         rates.
4602         Rename @cur to @start. 
4604         * tests/check/gst/gstpad.c: (GST_START_TEST):
4605         Activate pads before trying to use them.
4607         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4608         (gst_segment_suite):
4609         Add simple check for segments and negative rates.
4611 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4613         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4614         * gst/gsttaglist.h:
4615         * docs/gst/gstreamer-sections.txt:
4616           API: add gst_tag_list_is_empty() (#360467).
4618         * tests/check/gst/gsttag.c: (GST_START_TEST):
4619           And a test case.
4621 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4623         * gst/gstmessage.h:
4624         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4625         a value that doesn't fit on enumeration.
4627 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4629         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4630         Remove local debugging system and use Gstreamer's instead.
4632 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4634         Patch by: Josep Torre Valles <josep@fluendo.com>
4636         * common/m4/gst-error.m4:
4637         Disable warning of statement not reached on Forte.
4638         * gst/gstmessage.h:
4639         Fix warning on Forte (value doesn't fit on enumeration).
4640         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4641         Fix warning on Forte (value doesn't fit on enumeration).
4642         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4643         DEBUG macro says it takes minimum of 2 args and so Forte
4644         complains about the use with just 1 arg.
4645         * plugins/elements/gstfdsink.c:
4646         * plugins/elements/gstfdsrc.c:
4647         * plugins/elements/gstfilesink.c:
4648         * plugins/elements/gstfilesrc.c:
4649         Use correct return type for the uri handler implementations.
4651         All these fix warnings in Forte.  Fixes bug #360860.
4653 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4655         * gst/gstelement.h:
4656           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4657           format string, so don't use G_GNUC_PRINTF for those versions.
4659 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4661         * gst/gsttaglist.c: (gst_is_tag_list):
4662         * gst/gsttaglist.h:
4663           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4665         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4666           Small test for the above.
4668 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4670         * gst/gsttaglist.h:
4671           Less tabs, more spaces.
4673 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4675         * gst/gstinfo.h:
4676           Those two function declarations do actually belong there, revert
4677           commit from yesterday that turned them intro macros.
4679 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4681         Patch by: Josep Torre Valles <josep@fluendo.com>
4683         * gst/gst.c: (gst_init_get_option_group):
4684         Fix empty declaration and type mismatch.
4685         * gst/gstbin.c: (gst_bin_change_state_func):
4686         Fix type mismatch.
4687         * gst/gstelement.c: (gst_element_continue_state),
4688         (gst_element_set_state_func), (gst_element_change_state),
4689         (gst_element_change_state_func):
4690         Fix type mismatches.
4691         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4692         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4693         Cast as appropriate.
4694         * gst/gstobject.c: (gst_class_signal_connect):
4695         Cast as appropriate.  The function pointer parameter really
4696         has the wrong type but would break API if we change it.
4697         * gst/gstquery.c:
4698         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4699         order of including string.h.
4700         * gst/gstutils.c: (gst_element_state_get_name):
4701         Remove unreachable line.
4702         * gst/gstxml.c: (gst_xml_parse_doc):
4703         Fix type mismatch.
4704         All these caught by Forte.
4706 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4708         Patch by: Josep Torre Valles <josep@fluendo.com>
4710         * common/m4/gst-error.m4:
4711         Fixed bug #360151.
4712         We need to disable warnings on Forte for empty declarations
4713         due to gst-indent adding ;s to lines that just use macros
4714         where the macro actually doesn't need a ; at end to end
4715         statement.
4717 2006-10-06  Wim Taymans  <wim@fluendo.com>
4719         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4720         (gst_file_sink_close_file), (gst_file_sink_event),
4721         (gst_file_sink_render):
4722         Add some FIXME for the NEWSEGMENT handling.
4724 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4726         * gst/parse/grammar.y:
4727         Remove static function gst_parse_element_lock as all it does
4728         is return.  Looks like cruft from 0.8.
4730 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4732         Patch by: Josep Torre Valles <josep@fluendo.com>
4734         * common/m4/gst-error.m4:
4735         * configure.ac:
4736         * libs/gst/net/Makefile.am:
4737         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4738         libresolv.
4740 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4742         * gst/gstpad.c: (pre_activate):
4743         * gst/gstregistry.c: (gst_registry_scan_path_level):
4744         * gst/gstregistryxml.c: (load_plugin):
4745         * libs/gst/controller/gstcontroller.c:
4746         (gst_controlled_property_set_interpolation_mode):
4747         * libs/gst/dataprotocol/dataprotocol.c:
4748         (gst_dp_packet_from_event_1_0):
4749         * libs/gst/net/gstnetclientclock.c:
4750         (gst_net_client_clock_observe_times):
4751         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4752           Printf fixes.
4754 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4756         * configure.ac:
4757         * docs/gst/gstreamer-sections.txt:
4758         * gst/gstconfig.h.in:
4759         * gst/gstelement.h:
4760         * gst/gstinfo.h:
4761           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4762           whether we can use G_GNUC_PRINTF in other header files and at
4763           least check the printf format/arguments of debug messages and
4764           GST_ELEMENT_ERROR messages when the printf extension is not
4765           being used.
4766           Replace more tabs with spaces in gstinfo.h and remove two spurious
4767           function declarations in GST_DISABLE_DEBUG part with macros.
4769 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4771         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4772           More docs for the sync-message signal (mention that it is not
4773           emitted by default); log message structures of messages posted on
4774           the bus as well.
4776 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4778         * gst/gst.c: (ensure_current_registry_forking):
4779         Use a pipe pair to receive status results from the forked child, and
4780         ignore the result from waitpid. Fixes #355499
4782 2006-10-02  Wim Taymans  <wim@fluendo.com>
4784         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4785         (gst_ghost_pad_suite):
4786         Fix leak in check.
4788 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4790         * gst/gstpad.c:
4791           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4793 2006-10-02  Edward Hervey  <edward@fluendo.com>
4795         * docs/design/part-block.txt:
4796         Further explain the use of flushing on blocked pads.
4797         * docs/gst/gstreamer-sections.txt:
4798         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4799         (gst_pad_push_event):
4800         * gst/gstpad.h:
4801         Added new GstPadFlag : GST_PAD_BLOCKING.
4802         Adds the notion of pads really blocking, which enables to properly
4803         handle FLUSH_START/FLUSH_STOP events on blocked pads.
4804         Fixes #358999
4805         API: gst_pad_is_blocking()
4806         API: GST_PAD_IS_BLOCKING() macro
4807         API: GST_PAD_BLOCKING GstPadFlag
4808         
4809 2006-10-02  Wim Taymans  <wim@fluendo.com>
4811         Patch by: mrcgran <mrc.gran at gmail dot com>
4813         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4814         Filter the proxied caps against the padtemplate if we have one.
4816         * gst/gstquery.c: (gst_query_new_segment):
4817         Add include for gstinfo.h so that compilation with
4818         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4820 2006-10-02  Wim Taymans  <wim@fluendo.com>
4822         Patch by: Alessandro Decina  <alessandro at nnva org>
4824         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4825         (gst_file_sink_set_location), (gst_file_sink_open_file),
4826         (gst_file_sink_close_file), (gst_file_sink_event),
4827         (gst_file_sink_render):
4828         Set file to NULL when closing filesink so that we can set a new filename
4829         in READY. Fixes #358613.
4831 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4833         Patch by: Alessandro Decina  <alessandro at nnva org>
4835         * gst/gstevent.c: (_gst_event_copy):
4836           Fix gst_mini_object_make_writable() and gst_event_copy() for events
4837           with event structures by setting the parent refcount address of the
4838           copied structure to the address of the refcount member of the newly
4839           copied event rather than the address of the refcount member of the
4840           original event. Fixes #358737.
4842         * tests/check/gst/gstevent.c: (GST_START_TEST):
4843           Unit test for the above.
4845 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
4847         * docs/design/Makefile.am:
4848           Dist some more files.
4850 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4852         * tests/check/libs/controller.c: (GST_START_TEST),
4853         (gst_controller_suite):
4854           Add test for the previous fix; add some more tests
4855           for correct refcounting behaviour; fix a few leaks
4856           in test cases; call gst_controller_init() at start
4857           of all tests.
4859 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4861         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4862         (gst_controller_set_from_list):
4863           Don't g_return_val_if_fail() on timed values with invalid timestamps
4864           inside a critical section without unlocking the mutex. Spotted by
4865           René Stadler. (#357617)
4866           Also, fix up refcounting properly: when returning an existing
4867           controller, we should increase the reference only once and not
4868           once per property and when trying to control a property again
4869           we should also increase the refcount.
4871 2006-09-29  Wim Taymans  <wim@fluendo.com>
4873         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4874         * libs/gst/net/gstnettimeprovider.c:
4875         (gst_net_time_provider_thread):
4876         Stop reading commands when EOF as well.
4878         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4879         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4880         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4881         Unify description of the dump property.
4883 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4885         * tests/examples/manual/.cvsignore:
4886         OK, so it's actually cvsignore that needs changing. Stop laughing.
4888 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4890         * tests/examples/manual/Makefile.am:
4891         Gah, declare vars *before* using them
4893 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4895         * gst/gst.c: (init_pre), (scan_and_update_registry),
4896         (ensure_current_registry_nonforking),
4897         (ensure_current_registry_forking), (ensure_current_registry),
4898         (init_post), (gst_debug_help), (gst_deinit):
4899         * gst/gst_private.h:
4900         * gst/gstregistry.c: (gst_registry_finalize),
4901         (gst_registry_remove_features_for_plugin_unlocked),
4902         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4903         (gst_registry_scan_path),
4904         (_priv_gst_registry_remove_cache_plugins),
4905         (_priv_gst_registry_cleanup):
4906         * gst/gstregistry.h:
4907         Re-commit the registry changes, along with an extra fix:
4908           When a cached plugin is encountered at a different file path,
4909           update the stored path in the registry cache so that the parent
4910           process knows where it actually is now when it re-reads the registry
4911           cache. Fixes the thing that broke distcheck with the previous commit.
4913         * tests/check/Makefile.am:
4914         Clean up files named 'core' too when running make clean.
4916         * tests/examples/manual/Makefile.am:
4917         Set up a registry path for running these tests, and clean it properly
4918         for distcheck.
4920 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4922         * configure.ac:
4923         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4924         want gmodule-no-export-2.0.pc instead so that we don't drag in
4925         --export-dynamic on every project that links to GStreamer.
4927         Also, make our export regex only match the start of symbols, rather 
4928         than any symbol that contains '_gst' somewhere.
4930         * libs/gst/check/Makefile.am:
4931         The libgstcheck we build does however need export-dynamic, as it
4932         produces some symbols that don't match our _gst... style regex.
4933         Fixes: #318031
4935 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4937         * gst/gst.c: (init_pre), (scan_and_update_registry),
4938         (ensure_current_registry_nonforking),
4939         (ensure_current_registry_forking), (ensure_current_registry),
4940         (init_post), (gst_debug_help), (gst_deinit):
4941         * gst/gst_private.h:
4942         * gst/gstregistry.c: (gst_registry_finalize),
4943         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4944         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4945         (_gst_registry_cleanup):
4946         * gst/gstregistry.h:
4947           Revert previous change until I figure out why it breaks distcheck.
4949 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4951         * gst/gst.c: (init_pre), (scan_and_update_registry),
4952         (ensure_current_registry_nonforking),
4953         (ensure_current_registry_forking), (ensure_current_registry),
4954         (init_post), (gst_debug_help), (gst_deinit):
4956           Make init_pre and init_post take the full complement of GOptionFunc
4957           args so they can return useful GErrors. Make the registry updating
4958           functions do so.
4960           Call _priv_gst_registry_remove_cache_plugins after scanning files to
4961           ensure that the registry we're about to write out doesn't contain
4962           stale information about old-deleted plugin files.
4964           Make _priv_gst_registry_remove_cache_plugins return a boolean so
4965           that deletion of plugin files is considered a registry change.
4967         * gst/gst_private.h:
4968         * gst/gstregistry.c: (gst_registry_finalize),
4969         (gst_registry_remove_features_for_plugin_unlocked),
4970         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4971         (gst_registry_scan_path),
4972         (_priv_gst_registry_remove_cache_plugins),
4973         (_priv_gst_registry_cleanup):
4974         * gst/gstregistry.h:
4975         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4976         by adding _priv prefix, so that they won't appear in the global
4977         symbol table. They still do atm though because of #318031. Move the
4978         prototypes to gst_private.h
4980         When removing a plugin, remove all features for that plugin too. 
4981         Fixes #340878.
4983 2006-09-27  Wim Taymans  <wim@fluendo.com>
4985         * docs/random/moving-plugins:
4986         Make it clear that the "compiled-in descriptions" really mean
4987         the element details.
4989         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4990         (gst_base_sink_wait_preroll):
4991         Update docs.
4993         * docs/libs/gstreamer-libs-sections.txt:
4994         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4995         (gst_base_src_get_range), (gst_base_src_activate_push):
4996         * libs/gst/base/gstbasesrc.h:
4997         Added function to block while waiting for PLAYING, this function
4998         is used by live sources that block on the clock.
4999         API: gst_base_src_wait_playing()
5001 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5003         Patch by: Peter Kjellerstedt <pkj at axis com>
5005         * Makefile.am:
5006           gst-element-check.m4 is generated and should therefore be
5007           copied from the build dir rather than the source dir (#357593).
5008           'make distcheck' hasn't noticed this because we were disting
5009           the file as well, so stop doing that.
5011 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
5013         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5014           Add some tests for gst_caps_intersect().
5016         * tools/gst-launch.c: (event_loop):
5017           Print all buffering percentages we get, even the 100% one.
5019 2006-09-26  Wim Taymans  <wim@fluendo.com>
5021         * tools/gst-inspect.c: (print_element_properties_info),
5022         (print_signal_info):
5023         Fix printing of flags to match the look of enums.
5025 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5027         * gst/gstelementfactory.c:
5028           Fix typo in docs blurb.
5030 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5032         * gst/gsturi.c: (search_by_entry):
5033           Don't assert/crash here if a uri handler doesn't return any
5034           supported protocols. The list of protocols could be generated
5035           dynamically at runtime or at plugin registration, and an error
5036           in the underlying library shouldn't be fatal (#353301).
5038 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5040         * gst/gstinfo.c:
5041           Fix warning if HAVE_PRINTF_EXTENSION is undefined
5042           (spotted by Peter Kjellerstedt).
5044 2006-09-23  Wim Taymans  <wim@fluendo.com>
5046         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5048         * libs/gst/base/gstbasesrc.c:
5049         (gst_base_src_default_check_get_range), (gst_base_src_start),
5050         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5051         (gst_base_src_change_state):
5052         Match _start/_stop calls in the activate functions. Remove redundant
5053         _stop call from the state change function. Fixes #356910.
5054         Turn failure DEBUG into ERROR. 
5056 2006-09-22  Wim Taymans  <wim@fluendo.com>
5058         * docs/design/part-buffering.txt:
5059         * gst/gstmessage.c: (gst_message_new_buffering),
5060         (gst_message_parse_buffering):
5061         Update docs about buffering.
5063         * docs/design/part-trickmodes.txt:
5064         Fix typo.
5066 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
5068         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5069         (gst_controller_new_list):
5070           Ref instances when returning them again (fixes #357180)
5072 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5074         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5075           Don't forget to release proxy lock when there's an error.
5077 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
5079         * gst/gstcaps.h:
5080           Add extra initialisers for Caps things, to fix some plugin warnings
5081           when using -Wextra
5083 2006-09-18  Wim Taymans  <wim@fluendo.com>
5085         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5086           Also set template on the internal pad so that a getcaps from the 
5087           target pad returns the template caps.
5089 2006-09-18  Wim Taymans  <wim@fluendo.com>
5091         * gst/gstelement.c: (gst_element_post_message),
5092         (gst_element_dispose):
5093         Use _DEBUG_OBJECT some more.
5095         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5096         Avoid typechecks.
5098         * tools/gst-launch.c: (main):
5099         If the toplevel element is not a GstPipeline, it must be put in a
5100         pipeline so that a bus and clock is selected.
5102 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5104         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5105           JITTER, RATE, and LATENCY query should be handled by the
5106           default case and not by the CONVERT query code.
5108 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5110         * gst/gstformat.c: (gst_format_register):
5111           Fix locking order (must take lock before using n_values).
5113         * gst/gstvalue.c: (gst_value_serialize_enum),
5114         (gst_value_deserialize_enum_iter_cmp),
5115         (gst_value_deserialize_enum):
5116           Fix serialisation/deserialisation of custom registered GstFormats.
5118         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5119           Unit test for custom format serialisation/deserialisation.
5121 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5123         * docs/pwg/building-boiler.xml:
5124         * plugins/elements/gstcapsfilter.c:
5125         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5126         section.
5128 2006-09-16  Edward Hervey  <edward@fluendo.com>
5130         * libs/gst/base/gstbasetransform.c:
5131         (gst_base_transform_buffer_alloc):
5132         Check if requested caps are the same as the sinks caps IF
5133         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5134         is FALSE.
5135         This fixes the renegotiation issues stated in #352827.
5137 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5139         * configure.ac:
5140         * docs/manual/advanced-autoplugging.xml:
5141         * tests/examples/Makefile.am:
5142         * tests/examples/manual/.cvsignore:
5143         * tests/examples/manual/Makefile.am:
5144         * tests/examples/manual/extract.pl:
5145           Extract the manual examples again like we used to do.
5146           Fix one of them.
5148 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5150         * win32/common/config.h:
5151           update for version
5153 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5155         * gst/gsterror.c:
5156           Documents how to receive errors.
5158 2006-09-15  Wim Taymans  <wim@fluendo.com>
5160         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5161         (event_loop), (main):
5162         Added some comments here and there.
5163         Post an application message when an interrupt is caught instead of doing
5164         an uncontrolled state change.
5165         Clean up the event loop.
5166         Handle buffering messages, pause/resume the pipeline.
5167         Make shutdown because of an interrupt more reliable.
5169 2006-09-15  Wim Taymans  <wim@fluendo.com>
5171         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5172         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5173         (gst_base_sink_preroll_object):
5174         Make sure that our internal state is correct when we commit our state
5175         asynchronously. This solves a race where a state change to PLAYING
5176         could cause the sink to remain blocked in preroll in some situations.
5178 2006-09-15  Wim Taymans  <wim@fluendo.com>
5180         * tools/gst-inspect.c: (print_element_properties_info),
5181         (print_signal_info):
5182         List flags as hex so it's easier to deal with.
5184 2006-09-15  Wim Taymans  <wim@fluendo.com>
5186         * docs/libs/gstreamer-libs-sections.txt:
5187         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5188         (gst_base_sink_do_sync):
5189         * libs/gst/base/gstbasesink.h:
5190         Expose logic to wait for preroll so that subclasses such as audiosink
5191         can also use this method.
5192         API: gst_base_sink_wait_preroll()
5194 2006-09-15  Wim Taymans  <wim@fluendo.com>
5196         * gst/gstobject.c: (gst_object_set_parent):
5197         * gst/gstpipeline.c: (do_pipeline_seek):
5198         Small cleanups in docs and code.
5200         * gst/gstsegment.c: (gst_segment_clip):
5201         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5202         if stop == start and start is in the segment, no clipping should be
5203         done. Also add a test for this.
5205 2006-09-15  Wim Taymans  <wim@fluendo.com>
5207         * docs/design/part-buffering.txt:
5208         * docs/gst/gstreamer-sections.txt:
5209         * gst/gstmessage.c: (gst_message_new_buffering),
5210         (gst_message_parse_buffering):
5211         * gst/gstmessage.h:
5212         Added methods to create and parse BUFFERING messages.
5213         Added preliminary docs about buffering.
5214         API: gst_message_new_buffering
5215         API: gst_message_parse_buffering
5217 2006-09-06  Wim Taymans  <wim@fluendo.com>
5219         * gst/gstbin.c:
5220         Update documentation.
5222         * gst/gstelement.c: (gst_element_class_init),
5223         (gst_element_release_request_pad), (gst_element_set_clock),
5224         (gst_element_get_index), (gst_element_add_pad),
5225         (gst_element_remove_pad), (gst_element_get_random_pad),
5226         (gst_element_send_event), (gst_element_get_query_types),
5227         (gst_element_query), (gst_element_post_message),
5228         (gst_element_message_full), (gst_element_continue_state),
5229         (gst_element_lost_state), (gst_element_save_thyself),
5230         (gst_element_restore_thyself):
5231         Documentation updates.
5232         Rename last bit of the new-pad -> pad-added signal rename.
5233         Fix the case where an element query would only work if the source
5234         pad was linked.
5235         Avoid some useless type checking in message handling.
5237         * gst/gstevent.c:
5238         * gst/gstevent.h:
5239         * gst/gstutils.c:
5240         Documentation updates.
5242 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5244         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5245           add an INFO line for when we actually update the fd
5247 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5249         * configure.ac:
5250           back to TRUNK
5252 === release 0.10.10 ===
5254 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5256         * configure.ac:
5257           releasing 0.10.10, "Pais"
5259 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5261         * docs/manual/advanced-position.xml:
5262           Fix typo in sample code.
5264 2006-09-05  Wim Taymans  <wim@fluendo.com>
5266         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5267         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5268         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5269         * libs/gst/net/gstnetclientclock.h:
5270         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5271         * libs/gst/net/gstnettimepacket.h:
5272         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5273         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5274         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5275         * libs/gst/net/gstnettimeprovider.h:
5276         Make stuff compile on windows. Fixes #345295.
5278 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5280         * gst/gst.c: (ensure_current_registry_forking):
5281           Print better details when child was terminated by signal.
5283 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5285         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5286           Print a warning rather than g_assert() if a plugin feature
5287           is a URI handler but returns no protocols (#353976).
5289 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5291         * docs/random/moving-plugins:
5292         Fix two typos.         
5294 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5296         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5297           Fix locking order, handle NULL function values properly.
5299         * gst/gstinfo.h:
5300           Fix docs.
5302         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5303           Initialise variable before using it and fix debug statement to
5304           print the address of the function rather than the address of the
5305           variable on the stack holding the address of the function.
5307 2006-09-01  Wim Taymans  <wim@fluendo.com>
5309         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5310         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5311         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5312         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5313         (gst_ghost_pad_parent_unset),
5314         (gst_ghost_pad_internal_do_activate_push),
5315         (gst_ghost_pad_internal_do_activate_pull),
5316         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5317         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5318         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5319         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5320         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5321         (gst_ghost_pad_new_no_target_from_template),
5322         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5323         More cleanups.
5324         Avoid needless typechecking in macros.
5325         Since the internal pad is always present and never changes, there is
5326         no need to locking or ref when retrieving it.
5327         Improve debugging a bit.
5328         Handle link errors when setting the target. Fixes #341029.
5330 2006-09-01  Wim Taymans  <wim@fluendo.com>
5332         * docs/libs/gstreamer-libs-sections.txt:
5333         * docs/plugins/gstreamer-plugins-sections.txt:
5334         Fix docs some more.
5336         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5337         (gst_collect_pads_event):
5338         * libs/gst/base/gstcollectpads.h:
5339         Documentation updates.
5340         Free queued buffer when removing a pad.
5342 2006-08-31  Michael Smith  <msmith@fluendo.com>
5344         * gst/gstutils.c: (gst_element_link_pads),
5345         (gst_element_link_pads_filtered):
5346           Ensure that we set a capsfilter to NULL if we failed to link it
5347           when doing filtered linking, to avoid criticals.
5349           No need to check for unreffing srcpad, which is explicly NULLed
5350           above (a trivial code cleanup).
5352 2006-08-31  Wim Taymans  <wim@fluendo.com>
5354         * docs/design/part-gstghostpad.txt:
5355         Update ascii art in documentation.
5357         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5358         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5359         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5360         (gst_ghost_pad_internal_do_activate_push),
5361         (gst_ghost_pad_internal_do_activate_pull),
5362         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5363         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5364         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5365         (gst_ghost_pad_set_target):
5366         Small cleanups and leak fixes.
5367         Remove some checks now that the internal pad is never NULL.
5368         Fix the case where linking pads without a target would create nasty
5369         criticals. Fixes #341029.
5370         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5371         value of _set_target().
5373         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5374         (gst_ghost_pad_suite):
5375         Some more tests for creating and linking untargeted ghostpads.
5377 2006-08-31  Edward Hervey  <edward@fluendo.com>
5379         * docs/gst/gstreamer-sections.txt:
5380         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5381         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5382         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5383         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5384         (gst_ghost_pad_new_from_template),
5385         (gst_ghost_pad_new_no_target_from_template):
5386         * gst/gstghostpad.h:
5387         Refactored *_new() functions.
5388         Templates are now used as a g_object_new() parameter.
5389         Use template in _do_getcaps() if we don't have a target.
5390         Small documentation cleanups.
5391         Added two new constructors:
5392         gst_ghost_pad_new_from_template()
5393         gst_ghost_pad_new_no_target_from_template()
5394         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5395         (gst_ghost_pad_suite):
5396         Added tests for new ghostpad instanciation functions.
5398         API additions: gst_ghost_pad_new_from_template,
5399         gst_ghost_pad_new_no_target_from_template
5401 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5403         * docs/random/ensonic/profiling.txt:
5404           Ideas about qos profiling.
5406 2006-08-29  Wim Taymans  <wim@fluendo.com>
5408         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5409         Code cleanups.
5410         Fix memleak.
5412 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5414         * gst/gstxml.c:
5415           Improve and detypofy docs.
5417         * tests/check/Makefile.am:
5418         * tests/check/gst/.cvsignore:
5419         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5420           Add a basic test suite for GstXML.
5422 2006-08-29  Wim Taymans  <wim@fluendo.com>
5424         * gst/gstelement.c: (activate_pads), (clear_caps),
5425         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5426         Clear the pad caps when the element shut down all of the pads and
5427         is not streaming data that could modify the caps. 
5428         Fixes #352958.
5430 2006-08-28  Michael Smith  <msmith@fluendo.com>
5432         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5433           Revert previous change; I misunderstood single-segment mode.
5435 2006-08-28  Michael Smith  <msmith@fluendo.com>
5437         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5438           Unset DISCONT on buffers when using single-segment mode.
5440 2006-08-28  Wim Taymans  <wim@fluendo.com>
5442         * gst/gstcaps.c: (gst_caps_merge_structure):
5443         * gst/gstcaps.h:
5444         Fix docs and indentation again.
5446         * tests/check/gst/gstquery.c: (GST_START_TEST):
5447         Fix leak in tests and add some more tests.
5449 2006-08-28  Edward Hervey  <edward@fluendo.com>
5451         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5452         Inform GstSegment of the last stop position in order for the current
5453         segment to have a proper duration if it doesn't have a specific stop
5454         position from which a duration could be calculated.
5455         This bug was noticeable when a non-flushing, non-update new segment was
5456         followed by another segment (all buffers from the new segment were being
5457         dropped).
5459 2006-08-28  Wim Taymans  <wim@fluendo.com>
5461         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5462         Small comment update.
5464         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5465         (gst_identity_transform_ip):
5466         Drop-probability is broken, mention this in the code with a 
5467         FIXME and also in the property description.
5468         Make silent also be silent about the drop messages.
5470 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5472         * docs/manual/appendix-win32.xml:
5473           Remove mention of popt, we don't depend on that any
5474           longer (#353136). Add some comments pointing out that
5475           this section is slightly outdated.
5477 2006-08-28  Wim Taymans  <wim@fluendo.com>
5479         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5481         * gst/gstquery.c: (gst_query_new_segment):
5482         * tests/check/gst/gstquery.c: (GST_START_TEST):
5483         Initialize variables when creating a new segment query.
5484         Fixes #353121.
5486 2006-08-28  Wim Taymans  <wim@fluendo.com>
5488         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5490         * gst/gstelement.c: (gst_element_get_bus):
5491         * tests/check/gst/gstelement.c: (GST_START_TEST):
5492         Check for NULL before _reffing the bus. Fixes #353122.
5494 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5496         * docs/manual/basics-bus.xml:
5497           Docs update: fix wrong callback return value explanation; add
5498           some lines about the implicit relationship between main loop
5499           and main context; remove duplicate main loop variable declaration.
5501 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5503         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5504           Don't leak caps in unit test; add a few more simple
5505           checks. 
5507 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5509         * docs/gst/gstreamer-sections.txt:
5510         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5511         (gst_caps_structure_is_subset), (gst_caps_merge),
5512         (gst_caps_merge_structure):
5513         * gst/gstcaps.h:
5514         * libs/gst/base/gstbasetransform.c:
5515         (gst_base_transform_transform_caps):
5516         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5517           implement caps merging (fixes #352580)
5519 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5521         * tools/Makefile.am:
5522         * tools/gst-plot-timeline.py:
5523           add debug-log plotting developer tool (#340674)
5525 2006-08-23  Wim Taymans  <wim@fluendo.com>
5527         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5528         (gst_pad_stop_task):
5529         Improve debugging for task functions.
5531         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5532         (gst_task_start), (gst_task_pause), (gst_task_join):
5533         Make sure that the task function started and finished after a 
5534         join(). 
5535         Don't try to push the task function on the threadpool multiple
5536         times.
5537         Improve the g_warning message with some useful suggestions
5538         about how to fix the problem. 
5540 2006-08-23  Wim Taymans  <wim@fluendo.com>
5542         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5543         Handle RESYNC correctly in _proxy_getcaps.
5545 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5547         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5548         (gst_xml_parse_memory), (gst_xml_get_element):
5549           Chain up to parent class in dispose function and also
5550           unref the elements in the toplevel_elements GList.
5551           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5552           Always return a reference in gst_xml_get_element() rather
5553           than only sometimes.
5555         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5556           Don't leak GstXml object.
5558 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5560         * docs/gst/gstreamer-sections.txt:
5561         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5562         (gst_caps_merge):
5563         * gst/gstcaps.h:
5564         * libs/gst/base/gstbasetransform.c:
5565         (gst_base_transform_transform_caps):
5566           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5567           in a better way
5569 2006-08-21  Edward Hervey  <edward@fluendo.com>
5571         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5572         Implement GObject::dispose virtual method in GstXML so we can free the
5573         top_elements GList.
5575 2006-08-21  Wim Taymans  <wim@fluendo.com>
5577         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5578         (gst_buffer_create_sub):
5579         Copy duration/offset_end/caps when creating a subbuffer of the
5580         complete parent.
5581         Make the subbuffer read-only when we make the metadata writable for
5582         now. Fixes #351768.
5584         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5585         Added check for metadata copy when creating subbuffers.
5587 2006-08-21  Edward Hervey  <edward@fluendo.com>
5589         * libs/gst/base/gstbasetransform.c:
5590         (gst_base_transform_buffer_alloc):
5591         Only call downstream buffer_alloc if transform element is passthrough
5592         or always_in_place. Closes #350449.
5594 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5596         * ChangeLog:
5597           ChangeLog surgery to add comments to previous changes
5599 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5601         * gst/gst.c:
5602           Add comments
5604         * gst/gstpad.c: (gst_pad_set_active):
5605           Be more verbose in the log
5607         * libs/gst/base/gstbasetransform.c:
5608         (gst_base_transform_transform_caps):
5609           Simplify caps to get rid of duplicates, fixes #345444
5611 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5613         * gst/gstvalue.c:
5614         * gst/gstvalue.h:
5615           Use these optimizations only internally.
5617 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5619         * gst/gstvalue.c: (gst_value_compare_list),
5620         (gst_value_compare_fraction_range),
5621         (gst_value_intersect_fraction_fraction_range),
5622         (gst_value_intersect_fraction_range_fraction_range),
5623         (gst_value_subtract_fraction_fraction_range),
5624         (gst_value_subtract_fraction_range_fraction_range),
5625         (gst_value_get_compare_func), (gst_value_compare),
5626         (gst_value_compare_with_func):
5627         * gst/gstvalue.h:
5628           Saves the expensive lookup of the compare function in many cases
5629          (#345444)
5631 2006-08-18  Edward Hervey  <edward@fluendo.com>
5633         * tests/check/gst/gstinfo.c: (gst_info_suite):
5634         Disable test that require gstdebug if it wasn't built in core.
5636 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5638         * docs/random/ensonic/logging.txt:
5639           update ideas
5640           
5641         * gst/gstinfo.c: (gst_debug_log_default):
5642           reorder fields, save some columns, add optional color codes for log
5643           levels
5645 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5647         * docs/random/ensonic/logging.txt:
5648           add ideas about making the logs a bit more useful
5650 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5652         * docs/pwg/advanced-events.xml:
5653         * docs/pwg/titlepage.xml:
5654           Update for 0.10 API (#340627). Add myself
5655           to authors list.
5657 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5659         * docs/libs/gstreamer-libs-docs.sgml:
5660         * docs/libs/gstreamer-libs-sections.txt:
5661         * libs/gst/check/gstbufferstraw.c:
5662           Make gstcheck stuff show up in docs (still needs to
5663           be documented properly though).
5665 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5667         * docs/gst/gstreamer-sections.txt:
5668         * gst/Makefile.am:
5669         * gst/gst.c: (init_post):
5670         * gst/gst_private.h:
5671         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5672         * gst/gstquark.h:
5673         * gst/gstquery.c: (gst_query_new_position),
5674         (gst_query_set_position), (gst_query_parse_position),
5675         (gst_query_new_duration), (gst_query_set_duration),
5676         (gst_query_parse_duration), (gst_query_new_convert),
5677         (gst_query_set_convert), (gst_query_parse_convert),
5678         (gst_query_new_segment), (gst_query_set_segment),
5679         (gst_query_parse_segment), (gst_query_new_seeking),
5680         (gst_query_set_seeking), (gst_query_parse_seeking):
5681         Add internal helpers for pre-registering quarks from static strings
5682         and using the quark values directly instead of looking them up when
5683         creating and parsing queries. Can be used for event construction too.
5684         Closes #350432.
5686 2006-08-16  Wim Taymans  <wim@fluendo.com>
5688         * gst/gstbin.c:
5689         Fix bogus docs.
5691 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5693         * gst/gstutils.c: (gst_util_set_value_from_string):
5694           Fix memleak (#351502).
5696         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5697           Add unit test for most of gst_util_set_value_from_string()
5698           (not that one would want to encourage use of this function).
5700 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5702         * libs/gst/check/gstcheck.h:
5703           Use const gchar * variables in fail_unless_equals_string
5704           macro to avoid compiler warnings (and don't use tabs for
5705           indenting).
5707 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5709         * tools/gst-launch.c: (print_tag):
5710           More space on the left for the tag names, to cater
5711           for the 'extended comment' tag (not touching the
5712           string for the first line since it's translated).
5714 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5716         * libs/gst/check/gstcheck.h:
5717           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5718           print something when they fail.
5720 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5722         * docs/gst/gstreamer-sections.txt:
5723         * gst/gsttaglist.c: (_gst_tag_initialize):
5724         * gst/gsttaglist.h:
5725           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5726           Also change merge function for GST_TAG_COMMENT to
5727           use_first.
5729 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5731         * gst/gstinfo.c: (gst_debug_print_object):
5732           Make GST_PTR_FORMAT print messages as well.
5734         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5735         (GST_START_TEST), (gst_info_suite):
5736           More tests.
5738 2006-08-14  Edward Hervey  <edward@fluendo.com>
5740         * gst/gstelementfactory.c: (gst_element_register):
5741         If the GstElementClass doesn't have a GstElementDetails with all fields
5742         filled up correctly (longname, description AND author), then error out
5743         nicely instead of crashing.
5745 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5747         * gst/gststructure.c:
5748           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5750         * gst/gstvalue.h:
5751           Expand on the difference between arrays and lists as we use them.
5752           
5753 2006-08-14  Wim Taymans  <wim@fluendo.com>
5755         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5756         If the parent state change function failed, don't assume we can safely
5757         stop the source, this will be done when the pads are deactivated.
5759 2006-08-14  Wim Taymans  <wim@fluendo.com>
5761         * gst/gstbuffer.c:
5762         * gst/gsttask.c: (gst_task_join):
5763         Small doc updates.
5765         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5766         (gst_pad_stop_task):
5767         When pad (de)activation failed for some reason, restore the old
5768         activation mode and set the pad to flushing instead of assuming the
5769         pad is deactivated.
5770         If the _task_join() failed, reinstall the task on the pad so that it can
5771         be stopped later and return an error.
5773 2006-08-11  Andy Wingo  <wingo@pobox.com>
5775         * configure.ac:
5776         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5777         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5778         is only for users of API that don't want to see deprecated
5779         functions in the headers; people that want to compile out
5780         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5781         CFLAGS. Fixes the build of multifdsink, or will soon..
5783 2006-08-11  Wim Taymans  <wim@fluendo.com>
5785         * docs/gst/gstreamer-sections.txt:
5786         Add GstClockClass vmethod docs.
5788         * gst/gstcaps.h:
5789         Mark #endif with comment for associated #if
5791         * gst/gstclock.c: (gst_clock_id_wait):
5792         * gst/gstclock.h:
5793         Add vmethod wait_jitter to avoid an unneeded _get_time() for
5794         most clock implementations.
5795         Document vmethods.
5796         Flesh out docs about resolution methods.
5797         API: GstClockClass::wait_jitter
5799         * gst/gstsystemclock.c: (gst_system_clock_class_init),
5800         (gst_system_clock_async_thread),
5801         (gst_system_clock_id_wait_jitter_unlocked),
5802         (gst_system_clock_id_wait_jitter):
5803         Use base class wait_jitter variant for improved performance
5804         due to less clock polling.
5806 2006-08-11  Edward Hervey  <edward@fluendo.com>
5808         * gst/gst.c: (gst_init_check), (init_post):
5809         Set gst as being initialized before scanning/updating the registry,
5810         since there might be my python plugin loader that calls gst_init() and
5811         we don't want to loop back in.
5812         Closes #350879
5814 2006-08-11  Wim Taymans  <wim@fluendo.com>
5816         * docs/design/part-qos.txt:
5817         Bring docs in line with the code. Mostly the sign of the jitter was
5818         wrong in the docs. Fixes #349943.
5820         * gst/gstclock.c:
5821         Fix the docs for the jitter.
5823         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5824         (gst_event_parse_tag), (gst_event_new_buffer_size),
5825         (gst_event_parse_buffer_size), (gst_event_parse_qos),
5826         (gst_event_new_seek), (gst_event_parse_seek),
5827         (gst_event_new_navigation):
5828         Make sure the GstStructure has no parent when creating custom
5829         events.
5830         Add some more argument checking so that we avoid 0.0 rates.
5831         Flesh out the docs for the QoS event some more.
5833 2006-08-11  Wim Taymans  <wim@fluendo.com>
5835         * docs/gst/gstreamer-sections.txt:
5836         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5837         (ensure_current_registry_forking), (ensure_current_registry),
5838         (parse_one_option), (parse_goption_arg), (gst_deinit),
5839         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5840         * gst/gst.h:
5841         Doc updates.
5842         Added API and command line option to disable registry forking in
5843         addition to the environment variable.
5844         Constify some static arrays.
5845         Added some more debug.
5846         Don't deinit twice.
5847         API: gst_registry_fork_is_enabled()
5848         API: gst_registry_fork_set_enabled()
5849         API: --gst-disable-registry-fork command line option
5850         Fixes #348918.
5852 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
5854         * gst/gst.c: (gst_init):
5855           Fix typo in error message.
5857 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5859         * libs/gst/controller/gstcontroller.h:
5860           fix ABI size-correction
5862         * tests/check/libs/gdp.c: (gst_dp_suite):
5863           make tests that use deprecated API conditional
5865 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5867         * docs/libs/gstreamer-libs-sections.txt:
5868         * libs/gst/controller/gstcontroller.c:
5869         (_gst_controller_get_property), (_gst_controller_set_property),
5870         (_gst_controller_init), (_gst_controller_class_init):
5871         * libs/gst/controller/gstcontroller.h:
5872         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5873         (gst_object_set_control_rate):
5874           API: add gst_object_{s,g}et_control_rate(), add private data section,
5875           fix docs
5877         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5878         * libs/gst/dataprotocol/dataprotocol.h:
5879           add deprecation guards to make gtk-doc happy and allow disabling cruft
5881 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5883         * tests/check/Makefile.am:
5884         * tests/check/gst/.cvsignore:
5885           Let's enable the new unit test as well.
5887 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5889         * configure.ac:
5890         * docs/gst/gstreamer-sections.txt:
5891         * gst/gstconfig.h.in:
5892         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5893         (_gst_info_printf_extension_ptr),
5894         (_gst_info_printf_extension_segment):
5895           API: add GST_SEGMENT_FORMAT, which is a printf extension we
5896           register that lets us easily dump GstSegments into debug
5897           logs (#350419).
5899         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5900         (info_segment_format_printf_extension), (gst_info_suite):
5901           Add simple unit test that logs a bunch of different segments (not
5902           valgrinded at the moment because of leaks in
5903           gst_debug_add_log_function).
5905 2006-08-09  Edward Hervey  <edward@fluendo.com>
5907         * libs/gst/base/gstbasetransform.c:
5908         (gst_base_transform_buffer_alloc):
5909         Even if we can't figure out the proper format to request downstream,
5910         call buffer_alloc() downstream with the input parameters without setting
5911         the caps on the srcpad. This will force negotiation in the chain
5912         function.
5913         Closes #350449
5915 2006-08-08  Edward Hervey  <edward@fluendo.com>
5917         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5918         Unlinking from a pad without a target is now a perfectly valid case
5919         which should NOT raise an assertion.
5920         This case would happen if a linked ghostpad its target set to NULL after
5921         it was previously linked.
5923 2006-08-08  Edward Hervey  <edward@fluendo.com>
5925         * tests/check/libs/gdp.c:
5926         Also comment out the test (see below).
5928 2006-08-08  Edward Hervey  <edward@fluendo.com>
5930         * tests/check/libs/gdp.c: (gst_dp_suite):
5931         Use the architecture information from config.h and not gcc macros
5932         in order to properly disable a test that fails on PPC64.
5934 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
5936         * gst/gstelement.c: (gst_element_remove_pad):
5937           Don't crash printing the warning if the pad has no parent.
5939 2006-08-02  Wim Taymans  <wim@fluendo.com>
5941         * libs/gst/dataprotocol/dataprotocol.c:
5942         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5943         (gst_dp_crc), (gst_dp_header_payload_length),
5944         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5945         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5946         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5947         (gst_dp_event_from_packet), (gst_dp_validate_header),
5948         (gst_dp_validate_payload):
5949         Make debug category static
5950         Constify the crc table.
5951         Do some more arg checking in public functions.
5952         Fix some docs and do some small cleanups.
5954         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5955         Add some more checks to see if GDP deals with bogus input.
5957 2006-07-31  Wim Taymans  <wim@fluendo.com>
5959         * gst/gstvalue.c: (gst_value_compare_list):
5960         Fix GstValueList comparison code. Fixes #347293.
5962         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5963         Check to test GstValueList comparison.
5965 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5967         * gst/gstelementfactory.c: (gst_element_factory_create):
5968         Remove unnecessary ref/unref pair
5970         * gst/parse/grammar.y:
5971         Make sure to free the parse buffer on all code paths.
5972         Move a g_free up to the error handler where it's easier to see.
5974         * tests/check/gst/gstevent.c: (test_event):
5975         Extending timeout for downstream travelling events to 10 seconds to
5976         hopefully avoid intermittent failure on the buildbots.
5978         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5979         Don't manually set the state of the src element - it will happen as a
5980         natural consequence of the pipeline changing state, and that way it
5981         will do it in the right order too.
5983 2006-07-31  Wim Taymans  <wim@fluendo.com>
5985         * libs/gst/base/gstbasetransform.c:
5986         (gst_base_transform_buffer_alloc):
5987         Use OBJECT_LOCK and refcounting to get the pad caps in the
5988         buffer_alloc function because the caps could change while we are
5989         busy with them. Fixes #349105
5991 2006-07-31  Wim Taymans  <wim@fluendo.com>
5993         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5994         Protect _PAD_CAPS with OBJECT_LOCK.
5996 2006-07-31  Wim Taymans  <wim@fluendo.com>
5998         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5999         (gst_pad_get_property), (gst_pad_activate_pull),
6000         (gst_pad_activate_push), (gst_pad_set_blocked_async),
6001         (gst_pad_set_activate_function),
6002         (gst_pad_set_activatepull_function),
6003         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6004         (gst_pad_set_getrange_function),
6005         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6006         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6007         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6008         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6009         (gst_pad_set_acceptcaps_function),
6010         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6011         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6012         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6013         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6014         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6015         (gst_pad_configure_sink), (gst_pad_configure_src),
6016         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6017         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6018         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6019         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6020         (gst_pad_send_event):
6021         Use _DEBUG_OBJECT when it makes sense.
6022         Protect GST_PAD_CAPS with the OBJECT_LOCK.
6023         Small cleanups and code reflows.
6024         Avoid caps refcounting in _accept_caps.
6025         Refactor alloc_buffer so that the code performed on the peer is in a
6026         separate function. Also if the pad does not implement a buffer alloc
6027         function, we should still check if the pad is flushing before falling
6028         back to the default allocator.
6030 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6032         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6033         Make all uses of identity and fakesink have silent=true to avoid
6034         serialising every passing data structure, which is breaking tests
6035         on FC4 for some unknown reason.
6037 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6039         * gst/parse/Makefile.am:
6040         * gst/parse/grammar.y:
6041         * gst/parse/parse.l:
6042           Reverted previous patch as it required to bump the flex dependency to
6043           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6045 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6047         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6049         * gst/parse/Makefile.am:
6050         * gst/parse/grammar.y:
6051         * gst/parse/parse.l:
6052           push & pop the state of the lexer for reentrant use case
6053           Fixes #349180
6055 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
6057         * libs/gst/base/gstbasesrc.h:
6058           Note in the docs that the ::newsegment vfunc is not actually used by
6059           GstBaseSrc.
6061 2006-07-28  Wim Taymans  <wim@fluendo.com>
6063         * libs/gst/base/gstcollectpads.c:
6064         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6065         (gst_collect_pads_clear), (gst_collect_pads_flush),
6066         (gst_collect_pads_event), (gst_collect_pads_chain):
6067         When flushing a pad, also clear the queued buffer so that we don't
6068         accidentally use it when we shouldn't.
6069         Fix leaks by inreffing incomming buffer.
6070         Flush out queued buffers in case of errors.
6071         Fixes #347452.
6073 2006-07-28  Wim Taymans  <wim@fluendo.com>
6075         * docs/random/phonon-gst:
6076         Random notes about a Phonon backend.
6078 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6080         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6081         Extra debug output
6082         * tests/check/libs/gdp.c: (gst_dp_suite):
6083         Take a whack at fixing the ppc compile using a different define to
6084         disable the broken test.
6086         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6087         Remove excess g_print()
6089 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6091         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6092         Oops, meant to uncomment this line too to dampen the noise a bit.
6094 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6096         * gst/parse/grammar.y:
6097         * gst/parse/parse.l:
6098         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6099         (GST_START_TEST), (parse_suite):
6100         Fix some of the leaks exposed by extending the parse-launch testsuite,
6101         and move the 3 I can't figure out into a separate test that won't run
6102         the pipelines unless the appropriate line is uncommented.
6104 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6106         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6107           Requesting 0 bytes before the end of the file should result in
6108           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6109           unit test.
6111 2006-07-27  Wim Taymans  <wim@fluendo.com>
6113         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6114         Fix useless assert, a uint is always positive.
6116         * gst/gststructure.c: (gst_structure_nth_field_name),
6117         (gst_structure_foreach), (gst_structure_map_in_place):
6118         Check input arguments for public functions to avoid obvious crashes.
6120         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6121         * plugins/elements/gstfakesink.h:
6122         Do less useless typechecking.
6124 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6126         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6127           Do not use mmap() by default since there are a number of error
6128           conditions that we would like to handle in a non-fatal way that
6129           will result in a SIGBUS if we use mmap(). Examples: external
6130           devices (USB harddrive, portable music player) being unplugged
6131           while in use; file on mounted CD/DVD that can't be read because
6132           the medium is partly damaged. Fixes #348455 and #348475.
6134 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6136         * gst/gstquery.h:
6137         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6138         rates are a gdouble
6140 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6142         * gst/gstregistry.c:
6143           Move big documentation comment into class section header, so that it
6144           appears in the API docs.
6146 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6148         * docs/gst/gstreamer-sections.txt:
6149         Oops. Commit the docs additions too for new API.
6150         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6152 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6154         * gst/gststructure.c: (gst_structure_id_set),
6155         (gst_structure_id_set_valist):
6156         * gst/gststructure.h:
6157         Add API for setting values into structures without performing
6158         a quark lookup, if the appropriate quark is already known.
6160         API: gst_structure_id_set
6161         API: gst_structure_id_set_valist
6163         * gst/parse/grammar.y:
6164         * gst/parse/parse.l:
6165         Remove some dead code shown by the coverage information.
6166         Don't throw a critical g_warning when encountering a syntax error,
6167         just warn and let the normal error path handle it.
6169         * plugins/elements/gstelements.c:
6170         Bump the rank of filesink up to PRIMARY so that it is preferred over
6171         gnomevfssink for file:// sink uri's
6173         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6174         (GST_START_TEST), (run_delayed_test),
6175         (gst_parse_test_element_base_init),
6176         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6177         (gst_parse_test_element_change_state),
6178         (gst_register_parse_element), (parse_suite):
6179         Beef up the tests for parse syntax to check that more error cases
6180         fail as they are supposed to. Increases the test coverage a bit.
6182 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6184         * docs/manual/basics-elements.xml:
6185           Fix gst_element_link() example.
6187         * gst/gstutils.c:
6188           Mention in API docs that one should usually gst_bin_add()
6189           elements to a bin or pipeline before doing the linking.
6190           
6191 2006-07-26  Wim Taymans  <wim@fluendo.com>
6193         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6194         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6195         Avoid function call for known types by keeping the buffer and
6196         subbuffer GType global.
6198         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6199         Random silly optimisations in read() path.
6201 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6203         * tools/gst-launch.c: (main):
6204           If the top-level of the parse is a normal bin, it doesn't do the
6205           right logic to run as a top-level element, so place it inside a
6206           pipeline.
6208 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6210         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6211           Remove superfluous g_object_notify() calls, GObject does
6212           that for us automatically.
6214 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6216         * gst/gstinfo.h:
6217           on Win32, use dllspec to export the debug category symbols
6219 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6221         * gst/gsttaglist.c: (_gst_tag_initialize):
6222           Allow more than one GST_TAG_IMAGE per taglist.
6224 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6226         * gst/gstminiobject.c:
6227           update docs
6228         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6229         (gst_fd_src_create):
6230           log recurring events at LOG level
6231           add more debug for when the fd gets set
6233 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6235         * gst/gstparse.c: (gst_parse_launch):
6236           Also remove reentrance checks if flex is MT safe (#348179)
6237          Fix my empty ChangeLog entry below
6239 2006-07-21  Andy Wingo  <wingo@pobox.com>
6241         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6243         * libs/gst/check/Makefile.am
6244         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6245         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6246         * libs/gst/check/gstbufferstraw.h:
6247         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6248         functions, thus proving I am still a GStreamer haxor. OK I wrote
6249         them a long time ago, but anyways.
6251 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6253         * configure.ac:
6254         * gst/gstparse.c: (gst_parse_launch):
6255           Check for flex version and omit mutex if we have a MT save flex
6256           (fixes #348179)
6258 2006-07-21  Wim Taymans  <wim@fluendo.com>
6260         * gst/gstparse.c: (gst_parse_launch):
6261         Protect recursive calls to _parse with a recursive mutex
6262         and busy flag.
6264 2006-07-21  Wim Taymans  <wim@fluendo.com>
6266         * tests/check/gst/gstpad.c: (GST_START_TEST):
6267         Fix leak in test.
6269 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6271         * gst/gstparse.c: (gst_parse_launch):
6272           Do not hang on recursive usage of gst_parse_launch()
6274 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6276         * gst/gsttaglist.c:
6277           Add some more docs, comments and FIXME 0.11s here and there
6278           and also fix some typos.
6280 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6282         * gst/gstsegment.h:
6283           Convert tabs to spaces for better readability. 
6285 2006-07-20  Edward Hervey  <edward@fluendo.com>
6287         * tests/check/libs/gdp.c: (gst_dp_suite):
6288         the test_buffer test fails at line 140 on ppc64 at the following
6289         check:
6290         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6291                 GST_BUFFER_FLAG_IN_CAPS),
6292                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6293         See bug #348114 for more details.
6295 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6297         * docs/pwg/advanced-scheduling.xml:
6298         * gst/gstpad.c:
6299           Fix typos (#348000).
6301 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6303         * docs/pwg/intro-basics.xml:
6304           Fix wrong links (#347927).
6306 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6308         * gst/gstregistry.h:
6309         * gst/gstregistryxml.c: (load_feature),
6310         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6311         * win32/common/config.h:
6312           make --disable-index work (#342564)
6314 2006-07-18  Wim Taymans  <wim@fluendo.com>
6316         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6318         * gst/Makefile.am:
6319         * gst/gsttrace.h:
6320         The attached patch adds two missing defines to gsttrace.h when tracing
6321         is disabled.  It also corrects one existing define.
6322         Fixes #347756.
6324 2006-07-17  Wim Taymans  <wim@fluendo.com>
6326         * docs/gst/gstreamer-sections.txt:
6327         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6328         * gst/gst.h:
6329         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6330         Add two functions to check and change the SIGSEGV behaviour
6331         when loading plugins.
6332         Don't mess with the SIGSEGV handler when we were told not to.
6333         Fixes #347794.
6334         API: gst_segtrap_is_enabled
6335         API: gst_segtrap_set_enabled
6337 2006-07-14  Wim Taymans  <wim@fluendo.com>
6339         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6340         * tests/check/elements/filesrc.c: (GST_START_TEST):
6341         Revert fix for regression in #347408 after release.
6343 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6345         Patch by: Antoine Tremblay <hexa00 at gmail com>
6347         * gst/gstutils.c: (gst_element_unlink):
6348           Free iterator when done (#347311).
6350         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6351           And add a test case for this.
6353 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6355         * configure.ac:
6356         Bump nano back to CVS
6358 === release 0.10.9 ===
6360 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6362         * configure.ac:
6363           releasing 0.10.9, "On the road again"
6365 2006-07-13  Wim Taymans  <wim@fluendo.com>
6367         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6368         * tests/check/elements/filesrc.c: (GST_START_TEST):
6369         Revert pull-0 fix for release. Disable check. Fixes #347408.
6371 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6373         * libs/gst/dataprotocol/dataprotocol.c:
6374         (gst_dp_event_from_packet_1_0):
6375           Fixes #347337: failure to deserialize event packets with
6376           empty payload (only event type)
6378 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6380         * gst/Makefile.am:
6381           do not install a .c file in the header directory
6383 2006-07-13  Edward Hervey  <edward@fluendo.com>
6385         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6386         GhostPad no longer implicitely use the padtemplates of the targets.
6387         Fixes #347384
6389 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6391         * gst/gstvalue.c: (gst_value_compare_list),
6392         (gst_value_compare_array), (_gst_value_initialize):
6393         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6394         Make GstValueArray comparison be order dependent as designed.
6395         Add checks for value lists and value array comparisons.
6396         Fixes #347221
6398 2006-07-11  Edward Hervey  <edward@fluendo.com>
6400         * gst/gstbin.c: (activate_pads),
6401         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6402         (gst_bin_change_state_func):
6403         (de)activate src pads before calling state_change on the childs.
6404         This is to avoid the case where a src ghostpad is blocked (holding the
6405         stream lock), which would block the deactivation of the ghostpad's
6406         target pad.
6407         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6408         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6409         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6410         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6411         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6412         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6413         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6414         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6415         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6416         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6417         (gst_ghost_pad_class_init),
6418         (gst_ghost_pad_internal_do_activate_push),
6419         (gst_ghost_pad_internal_do_activate_pull),
6420         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6421         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6422         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6423         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6424         GhostPads now create their internal GstProxyPad at creation (and not
6425         when they're linked, as it was being done previously).
6426         The internal and target pads are linked straight away.
6427         The data will also travel through the other pad in order to make
6428         pad blocking and probes non-hackish (the probe/block now really happens
6429         on the GhostPad and not on the target).
6430         * gst/gstpad.c: (gst_pad_set_blocked_async),
6431         (gst_pad_link_prepare), (gst_pad_push_event):
6432         Remove previous ghostpad cruft.
6433         * gst/gstutils.c: (gst_pad_add_data_probe),
6434         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6435         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6436         (gst_pad_remove_buffer_probe):
6437         Remove previous ghost pad cruft.
6438         Added more detailed debug statements.
6439         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6440         Fix the testsuite for refcounting changes.
6441         The comments about who has references were correct, but the refcount
6442         being checked wasn't the same (!?!).
6444         Fixes #341029
6446 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6448         * docs/gst/gstreamer-sections.txt:
6449         * gst/gstconfig.h.in:
6450         More docs for configuration options, add docs to gtk-doc.
6452 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6454         * gst/Makefile.am:
6455         * gst/gstconfig.h.in:
6456         * win32/common/config.h:
6457         Fix build when disabling tracing (fixes #344016). Also start to document
6458         the defines that disable the sub-systems.
6460 2006-07-10  Edward Hervey  <edward@fluendo.com>
6462         * gst/gst.c: (ensure_current_registry_forking):
6463         let's make valgrind happy...
6465 2006-07-09  Wim Taymans  <wim@fluendo.com>
6467         * gst/gstelement.c: (activate_pads),
6468         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6469         Better pad activation code: Reset the collect value too on resync.
6470         Add some comments.
6472 2006-07-09  Wim Taymans  <wim@fluendo.com>
6474         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6475         (gst_pad_activate_push):
6476         Use some more macros where it makes sense.
6477         Allow pad mode switching instead of asserting. When a pad
6478         is activated in one mode and we activate it in another, 
6479         deactivate it first before activating it in a different mode.
6480         Fixes #329198.
6482 2006-07-08  Andy Wingo  <wingo@pobox.com>
6484         * tools/gst-launch.c (main): Handle err == NULL.
6486         * gst/gst.c (init_post, ensure_current_registry)
6487         (ensure_current_registry_forking)
6488         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6489         factoring out the registry scanning into separate functions. Don't
6490         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6491         Better environment var name/interface suggestions accepted.
6493 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6495         * gst/gstobject.c: (gst_object_set_name_default),
6496         (gst_object_set_name):
6497           Random micro-optimisation: don't use a hash table
6498           with strings as keys and the usual strdup/strcmp
6499           involved, but rather just use the GQuark of the
6500           type name as key, since it needs to be looked up
6501           anyway to get the type name string.
6503         * tests/check/gst/gstobject.c: (GST_START_TEST):
6504           Fix various leaks.
6506 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6508         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6509         (gst_bin_iterate_all_by_interface):
6510           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6511           GTypes are gulongs and thus the top 4 bytes might be cut
6512           off on some platforms when doing GPOINTER_TO_INT, leading
6513           to invalid GTypes and bad things happening (see RH bug #179654).
6514           Also add a check to make sure the type passed in is really
6515           an interface type.
6517 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6519         * .cvsignore:
6520           Ignore more.
6522 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6524         * Makefile.am:
6525         * configure.ac:
6526         * gst-element-check.m4:
6527         * gst-element-check.m4.in:
6528           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6529           instead of the unversioned gst-inspect (#324176, #168659).
6531 2006-07-06  Wim Taymans  <wim@fluendo.com>
6533         * gst/gstmessage.h:
6534         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6535         warnings.
6537 2006-07-06  Wim Taymans  <wim@fluendo.com>
6539         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6540         (gst_base_src_wait), (gst_base_src_update_length),
6541         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6542         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6543         (gst_base_src_loop), (gst_base_src_start),
6544         (gst_base_src_activate_pull):
6545         Update docs.
6546         blocksize == 0 now means the default blocksize when working in push
6547         based mode.
6548         Remove some pointless asserts in _wait function.
6549         Fix offset/length calculations and EOS handling. We can now pull 0
6550         bytes as well, which is allowed.
6551         use _check_get_range() to decide if we can operate in _pull based
6552         mode.
6553         Fix refcounting leak when check_get_range function was not 
6554         implemented.
6555         API GstBaseSrc::blocksize range can be 0 too now (default)
6557         * tests/check/elements/filesrc.c: (GST_START_TEST),
6558         (filesrc_suite):
6559         Added check to test _get_range() behaviour.
6561 2006-07-06  Wim Taymans  <wim@fluendo.com>
6563         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6564         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6565         (gst_pad_pull_range):
6566         * gst/gstpad.h:
6567         Lots of comments and docs added to the pad functions.
6568         Flesh out the expected behaviour of the get_range() functions.
6570 2006-07-06  Wim Taymans  <wim@fluendo.com>
6572         * gst/gstbus.h:
6573         * gst/gstclock.h:
6574         * gst/gstevent.h:
6575         * gst/gstiterator.h:
6576         * gst/gstpad.h:
6577         * gst/gstplugin.h:
6578         * gst/gsttask.h:
6579         Remove comma at end of enumerator list. 
6581 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6583         * win32/common/libgstbase.def:
6584         * win32/common/libgstdataprotocol.def:
6585         * win32/common/libsgtreamer.def:
6586         Add new exported functions.
6588 2006-07-05  Wim Taymans  <wim@fluendo.com>
6590         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6591         Add some more docs here and there.
6593 2006-07-05  Wim Taymans  <wim@fluendo.com>
6595         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6596         (gst_base_sink_loop), (gst_base_sink_get_position):
6597         When operating in pull mode update the offset so that we
6598         read sequentially.
6600 2006-07-05  Wim Taymans  <wim@fluendo.com>
6602         * gst/gstregistryxml.c: (read_string):
6603         Avoid strdup. (will happen in libxml, but hey!)
6605         * gst/gsturi.c:
6606         Add some more docs.
6608 2006-07-05  Wim Taymans  <wim@fluendo.com>
6610         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6611         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6612         (gst_buffer_suite):
6613         No point in checking if the size of the subbuffer > 0, the
6614         code handles it correclty as demonstrated by unit test.
6615         Also add a unit test for the zero sized _new_and_alloc and
6616         _copy. Fixes #346663.
6618 2006-07-05  Wim Taymans  <wim@fluendo.com>
6620         * libs/gst/base/gstbasetransform.c:
6621         (gst_base_transform_prepare_output_buffer),
6622         (gst_base_transform_buffer_alloc),
6623         (gst_base_transform_handle_buffer):
6624         Make sure the buffer we pass to transform_ip has a refcount of
6625         1 and thus is writable. Fixes #343196
6627 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6629         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6630         (gst_file_src_init), (gst_file_src_set_property),
6631         (gst_file_src_get_property), (gst_file_src_map_region):
6632         * plugins/elements/gstfilesrc.h:
6633         Add "sequential" property, off by default, to use madvise and hint
6634         to the kernel that sequential access is desired.
6635         Touch all retrieved pages by default to ensure they are pulled
6636         into memory. (Closes #345720)
6638 2006-07-03  Wim Taymans  <wim@fluendo.com>
6640         * docs/design/part-block.txt:
6641         * docs/design/part-dynamic.txt:
6642         Small docs updates.
6644 2006-07-03  Wim Taymans  <wim@fluendo.com>
6646         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6647         (gst_caps_unref), (gst_static_caps_get),
6648         (gst_caps_append_structure):
6649         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6650         Use GSlice when the glib we build against is >= 2.10
6652 2006-07-03  Wim Taymans  <wim@fluendo.com>
6654         * gst/gstelement.c: (gst_element_pads_activate):
6655         Small cleanup in pad activation code.
6657 2006-07-03  Wim Taymans  <wim@fluendo.com>
6659         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6661         * gst/gst-i18n-app.h:
6662         * gst/gst-i18n-lib.h:
6663         * tools/gst-inspect.c: (print_signal_info):
6664         The attached patch will make the inclusion of gettext.h unconditional in
6665         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6666         libintl.h in tools/gst-inspect.c.
6667         This allows use of --disable-nls again and fixes #344642.
6669 2006-07-03  Edward Hervey  <edward@fluendo.com>
6671         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6672         Implement pad blocking on events according to part-block.txt.
6673         More comments on behaviour.
6674         * tests/check/gst/gstevent.c: (test_event):
6675         Send event to peer pad of blocked pad (else it will block).
6677 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6679         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6680         (gst_check_run_suite):
6681           if we get the wrong message, give us the types as string
6682         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6683           Fix a translatable
6684         * tests/check/elements/filesrc.c: (GST_START_TEST):
6685           add a test for trying to open a non-existing file
6687 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6689         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6690           add a test for adding self
6692 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6694         * libs/gst/check/gstcheck.h:
6695           add some assert_ as alias for fail_unless_*
6696         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6697           increase test coverage
6699 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6701         * Makefile.am:
6702           include lcov.mak for lcov coverage generation
6703         * tools/Makefile.am:
6704           add to CLEANFILES
6706 2006-07-02  Edward Hervey  <edward@fluendo.com>
6708         * tests/check/elements/.cvsignore:
6709         moaping
6711 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6713         * configure.ac:
6714           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6715         * tests/check/Makefile.am:
6716           clean up gcov files
6718 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6720         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6721           remove gst_caps_simplify; it was not declared and not used
6722           and deprecated in 0.8
6724 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6726         * docs/faq/gst-uninstalled:
6727           don't put empty paths on PYTHONPATH
6728         * docs/gst/gstreamer-sections.txt:
6729           remove some symbols that are not there
6731 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6733         * gst/gstcaps.c: (gst_caps_compare_structures):
6734           whitespace fixes
6735         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6736         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6737           add more tests
6739 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6741         * libs/gst/dataprotocol/Makefile.am:
6742           build dataprotocol test by linking to the lib, instead of
6743           compiling the source, so we get coverage
6744         * tests/check/Makefile.am:
6745         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6746         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6747           add a test for filesrc
6749 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6751         * tests/check/gst/gststructure.c: (GST_START_TEST),
6752         (gst_structure_suite):
6753           Push coverage from 59.04% to 70.00%
6755 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6757         * tests/check/Makefile.am:
6758           gst-inspect every element; this makes sure that we also get
6759           coverage on element's get/set functions
6761 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6763         * configure.ac:
6764           set CFLAGS and friends to -O0 if gcov is being used
6765           add GCOV LIBS
6766         * gst/Makefile.am:
6767         * libs/gst/base/Makefile.am:
6768         * libs/gst/check/Makefile.am:
6769         * libs/gst/controller/Makefile.am:
6770         * libs/gst/dataprotocol/Makefile.am:
6771         * libs/gst/net/Makefile.am:
6772         * plugins/elements/Makefile.am:
6773         * plugins/indexers/Makefile.am:
6774           add makefile rules to generate gcov data and clean up
6775         * tests/check/Makefile.am:
6776           add a coverage target that generates an html overview
6777           of coverage data
6779 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6781         * tests/check/elements/fakesink.c:
6782         * tests/check/elements/fakesrc.c:
6783         * tests/check/elements/fdsrc.c:
6784         * tests/check/elements/identity.c:
6785         * tests/check/generic/sinks.c: (gst_sinks_suite):
6786         * tests/check/generic/states.c:
6787         * tests/check/gst/gst.c:
6788         * tests/check/gst/gstabi.c:
6789         * tests/check/gst/gstbin.c:
6790         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6791         * tests/check/gst/gstbus.c: (gst_bus_suite):
6792         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6793         * tests/check/gst/gstelement.c:
6794         * tests/check/gst/gstevent.c: (gst_event_suite):
6795         * tests/check/gst/gstghostpad.c:
6796         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6797         * tests/check/gst/gstmessage.c: (gst_message_suite):
6798         * tests/check/gst/gstminiobject.c:
6799         * tests/check/gst/gstobject.c:
6800         * tests/check/gst/gstpad.c:
6801         * tests/check/gst/gstpipeline.c:
6802         * tests/check/gst/gstplugin.c:
6803         * tests/check/gst/gstquery.c: (gst_query_suite):
6804         * tests/check/gst/gstsegment.c: (gst_segment_suite):
6805         * tests/check/gst/gststructure.c:
6806         * tests/check/gst/gstsystemclock.c:
6807         * tests/check/gst/gsttag.c:
6808         * tests/check/gst/gsttask.c: (gst_task_suite):
6809         * tests/check/gst/gstutils.c:
6810         * tests/check/gst/gstvalue.c:
6811         * tests/check/libs/adapter.c:
6812         * tests/check/libs/basesrc.c:
6813         * tests/check/libs/collectpads.c:
6814         * tests/check/libs/controller.c:
6815         * tests/check/libs/gdp.c: (gst_dp_suite):
6816         * tests/check/libs/gstnetclientclock.c:
6817         * tests/check/libs/gstnettimeprovider.c:
6818         * tests/check/libs/libsabi.c: (libsabi_suite):
6819         * tests/check/libs/typefindhelper.c:
6820         * tests/check/pipelines/cleanup.c:
6821         * tests/check/pipelines/parse-launch.c:
6822         * tests/check/pipelines/simple-launch-lines.c:
6823         * tests/check/pipelines/stress.c: (stress_suite):
6824           use the new macro
6826 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6828         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6829         * libs/gst/check/gstcheck.h:
6830           create a macro and function so that the simple unit test
6831           case can be just one macro to create main()
6833 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
6835         * gst/gstbin.c: (gst_bin_restore_thyself):
6836         * gst/gstxml.c: (gst_xml_make_element):
6837           Fix deserialisation from XML. Set parent manually
6838           instead of using gst_bin_add(), since gst_bin_add()
6839           will unlink all pads of the element being added.
6840           Fixes #341667.
6842 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
6844         Patch by: Peter Kjellerstedt <pkj at axis com>
6846         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6847           Fix missing g_strdup() and double free when using the
6848           --gst-plugin-load command line option (#346097).
6850 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6852         * gst/gstinfo.c:
6853           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6855         * libs/gst/net/gstnetclientclock.c:
6856         * libs/gst/net/gstnettimeprovider.c:
6857           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6859 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6861         * docs/manual/advanced-dataaccess.xml:
6862           Fix buffer probe example compilation in
6863           ADM (#345708).
6864         
6865 2006-06-22  Edward Hervey  <edward@fluendo.com>
6867         * gst/gstelement.c: (gst_element_pads_activate):
6868         We need to deactivate src pads first and then sink pads.
6869         The reason is the src pads might be blocking while holding the streaming
6870         lock, so we need to deactivate them first so that deactivating the sink
6871         pads doesn't block (since it will require the streaming lock).
6873 2006-06-22  Wim Taymans  <wim@fluendo.com>
6875         * libs/gst/base/gstbasetransform.c:
6876         (gst_base_transform_buffer_alloc):
6877         Forgot to remove two unneeded unrefs.
6878         Simplify a check _is_equal allready checks the obvious case.
6880 2006-06-22  Wim Taymans  <wim@fluendo.com>
6882         * docs/design/part-block.txt:
6883         Some docs about what pad_block should do.
6885 2006-06-22  Wim Taymans  <wim@fluendo.com>
6887         * gst/gstcaps.c: (gst_caps_replace):
6888         Fix crasher when passed NULL. Doc clarification.
6889         Optimize for the trivial case.
6891         * gst/gstpipeline.c: (gst_pipeline_change_state):
6892         Small cleanups.
6894         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6895         Small documentation cleanup.
6897         * libs/gst/base/gstbasetransform.c:
6898         (gst_base_transform_buffer_alloc):
6899         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6900         is what we need and it avoids a whole lot of redundant 
6901         refcount operations.
6903 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
6905         Patch by: Philip Jägenstedt  <philip at lysator liu se>
6907         * docs/manual/advanced-dataaccess.xml:
6908           Fix 'Embedding static elements' section to use
6909           GST_PLUGIN_DEFINE_STATIC (#345607).
6911 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6913         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6914           Attempt to 'fix' spuriously failing test case: it seems like the
6915           timeout of half a second is simply too small when the system is under
6916           load otherwise, and the timeout doesn't really seem to serve any
6917           particular purpose here. Give the pipeline a few seconds to preroll
6918           first, and then give it another half a second to go from PAUSED to
6919           PLAYING and marshal the message into the main thread.
6921 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6923         * tools/gst-feedback-m.m:
6924           Don't only use unversioned tools, try versioned tools as well
6925           (#345086).
6927 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6929         * gst/gstbus.c: (gst_bus_class_init):
6930           Fix some typos, make docs more explicit.
6932 2006-06-20  Wim Taymans  <wim@fluendo.com>
6934         * tests/check/gst/gstghostpad.c: (block_callback),
6935         (GST_START_TEST), (gst_ghost_pad_suite):
6936         Added some more ghostpad tests, mainly blocking
6937         and probes.
6939 2006-06-16  Wim Taymans  <wim@fluendo.com>
6941         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6942         (gst_file_sink_close_file), (gst_file_sink_do_seek),
6943         (gst_file_sink_event), (gst_file_sink_render):
6944         * plugins/elements/gstfilesink.h:
6945         Check if we can seek in the file instead of assuming
6946         we always can. Post an error when we are asked to seek in a
6947         non-seekable file (like a fifo). Fixes #343312.
6948         Some cleanups.
6950 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6952         * tools/gst-launch.1.in:
6953           Un-garble (fourcc) bit in filtered caps section.
6955 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6957         * docs/manual/advanced-autoplugging.xml:
6958         * docs/manual/basics-helloworld.xml:
6959         * docs/manual/highlevel-components.xml:
6960           Don't leak bus reference in sample code.
6962 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
6964         * autogen.sh:
6965           Add default for new --enable-plugin-docs switch.
6967         * configure.ac:
6968           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6969           Fixes #344039.
6971         * docs/Makefile.am:
6972           Use new ENABLE_PLUGIN_DOCS conditional.
6974 2006-06-14  Wim Taymans  <wim@fluendo.com>
6976         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6977         Make it clear with a FIXME and a real define what the #if 0
6978         previously disabled.
6980 2006-06-14  Wim Taymans  <wim@fluendo.com>
6982         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6983         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6984         * libs/gst/base/gstbasetransform.c:
6985         (gst_base_transform_sink_eventfunc):
6986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6987         Don't randomly and silently reset a segment when the format 
6988         changes as this is a bug somewhere upstream. Fixes #330379.
6990 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6992         Patch by: Wouter Paesen  <wouter at kangaroot net>
6994         * libs/gst/controller/gstcontroller.c:
6995         (gst_controlled_property_new):
6996           Fix controlling of float properties (#344849).
6998         * tests/check/libs/controller.c:
6999         (gst_test_mono_source_get_property),
7000         (gst_test_mono_source_set_property),
7001         (gst_test_mono_source_class_init), (GST_START_TEST):
7002           While we're at it, add some float stuff to unit test.
7004 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7006         * docs/README:
7007         * docs/images/gdp-header.svg:
7008           add a gdp image
7009         * docs/libs/Makefile.am:
7010         * docs/libs/gdp-header.png:
7011         * libs/gst/dataprotocol/dataprotocol.c:
7012           add it to the API docs
7013         * docs/manual/intro-motivation.xml:
7014           fix typo
7016 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7018         * gst/gst.c: (scan_and_update_registry), (init_post):
7019           If the fork()'ed child process can't write the updated registry cache
7020           file to disk for some reason, make it exit with a failure exit code,
7021           so that the parent can then re-scan the plugins itself and update the
7022           registry structures in memory and work with that (rather than failing
7023           when creating elements because seemingly no plugins are available).
7024           Refactor registry scanning code into separate function for this and
7025           also separate fork() and non-fork() code paths. Fixes #344748.
7027 2006-06-13  Wim Taymans  <wim@fluendo.com>
7029         * docs/manual/advanced-dataaccess.xml:
7030         Fix wrong PluginDesc. Fixes #344755.
7032 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7034         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7035           Fix silly bug that prevented us from creating
7036           ~/.gstreamer-0.10 and writing the registry in one
7037           go (the first call to g_mkstemp() would overwrite the
7038           placeholder in the template string, so the second call
7039           to g_mkstemp() after creating the missing directory
7040           would then error out with 'invalid argument').
7042 2006-06-13  Edward Hervey  <edward@fluendo.com>
7044         * gst/gst.c: (init_post):
7045         Free string.
7047 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7049         * gst/glib-compat-private.h:
7050         * gst/glib-compat.c:
7051         * gst/glib-compat.h:
7052         * gst/gstvalue.c: (gst_value_serialize_flags):
7053           remove GLib 2.6 compatibility code
7055 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
7057         * gst/parse/Makefile.am:
7058           Fix build with 'make -j N' even more (#340016).
7060 2006-06-12  Wim Taymans  <wim@fluendo.com>
7062         * docs/gst/gstreamer-sections.txt:
7063         Fix docs.
7065 2006-06-12  Wim Taymans  <wim@fluendo.com>
7067         * gst/gstsegment.c: (gst_segment_set_duration),
7068         (gst_segment_set_last_stop), (gst_segment_set_seek),
7069         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7070         (gst_segment_to_running_time), (gst_segment_clip):
7071         Use G_UNLIKELY to help the compiler a bit.
7073 2006-06-12  Wim Taymans  <wim@fluendo.com>
7075         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7077         * gst/gstevent.c: (gst_event_get_type):
7078         * gst/gstmessage.c:
7079         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7080         (gst_pad_push):
7081         constify quark registration strings. Fixes #344115
7082         Avoid unneeded type checking is _pad_push() by internally
7083         calling gst_pad_chain_unchecked().
7085 2006-06-12  Wim Taymans  <wim@fluendo.com>
7087         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7088         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7089         (gst_subbuffer_finalize), (gst_buffer_create_sub),
7090         (gst_buffer_is_span_fast), (gst_buffer_span):
7091         Init _type for consistency.
7092         Use _FLAGS macro to avoid type check.
7093         Avoid unneeded type checks in subbufer code.
7095 2006-06-12  Wim Taymans  <wim@fluendo.com>
7097         * gst/gst.c: (gst_debug_help):
7098         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7099         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7100         (gst_plugin_feature_list_free):
7101         * gst/gstregistry.c: (gst_registry_add_plugin),
7102         (gst_registry_add_feature), (gst_registry_plugin_filter),
7103         (gst_registry_feature_filter), (gst_registry_find_plugin),
7104         (gst_registry_find_feature), (gst_registry_get_plugin_list),
7105         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7106         * gst/gstregistryxml.c: (load_feature),
7107         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7108         * gst/gstminiobject.c: (gst_mini_object_unref),
7109         (gst_mini_object_replace), (gst_value_mini_object_free),
7110         (gst_value_mini_object_copy):
7111         Use _CAST macros to avoid unneeded type checking.
7112         Added some more G_UNLIKELY.
7114 2006-06-12  Wim Taymans  <wim@fluendo.com>
7116         * gst/gstbuffer.h:
7117         Avoid unneeded type checking.
7118         API: GST_BUFFER_IS_DISCONT
7120         * gst/gstminiobject.h:
7121         Avoid type check in flag accessor.
7123         * gst/gstelementfactory.h:
7124         * gst/gstplugin.h:
7125         * gst/gstpluginfeature.h:
7126         Add _CAST macros.
7127         API: GST_ELEMENT_FACTORY_CAST
7128         API: GST_PLUGIN_CAST
7129         API: GST_PLUGIN_FEATURE_CAST
7131 2006-06-12  Wim Taymans  <wim@fluendo.com>
7133         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7134         (gst_object_unref):
7135         Add G_UNLIKELY in type registration.
7136         Avoid type check in _ref/_unref since that is also
7137         done in glib.
7139 2006-06-12  Wim Taymans  <wim@fluendo.com>
7141         * gst/gsterror.c: (gst_g_error_get_type):
7142         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7143         (gst_static_pad_template_get_type):
7144         * gst/gsttaglist.c: (gst_tag_list_get_type):
7145         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7146         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7147         * gst/gsturi.c: (gst_uri_handler_get_type):
7148         * gst/gstvalue.c: (gst_date_get_type):
7149         * gst/gstxml.c: (gst_xml_get_type):
7150         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7151         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7152         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7153         Add G_UNLIKELY in type registration.
7155 2006-06-12  Wim Taymans  <wim@fluendo.com>
7157         * tools/gst-inspect.c: (print_signal_info):
7158         Properly print enum values.
7160 2006-06-12  Wim Taymans  <wim@fluendo.com>
7162         * gst/gstinfo.c: (gst_debug_set_active),
7163         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7164         * gst/gstinfo.h:
7165         Add some G_[UN]LIKELY.
7166         Maintain __gst_debug_min to avoid formatting the arguments of
7167         debug messages that will be dropped anyway to avoid a lot of 
7168         overhead from the debugging system.
7170 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7172         * po/POTFILES.in:
7173         * po/POTFILES.skip:
7174           add missing files containing translatable strings, tell intltool about
7175           one exception
7177 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7179         * tests/check/libs/.cvsignore:
7180         add test-binary to ignore list
7182 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7184         * docs/libs/gstreamer-libs-docs.sgml:
7185         reorder (put dp into a chapter) and indent
7187 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7189         * configure.ac:
7190           back to HEAD
7192 === release 0.10.8 ===
7194 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7196         * configure.ac:
7197           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7199 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7201         * gst/gst.c: (init_post):
7202           move pid declaration to declaration block
7204 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7206         * gst/gst.c: (init_post):
7207           use _exit() instead of exit() in our forked child; this ensures
7208           that none of the registered exit handlers from whatever is using
7209           GStreamer get executed.  This fixes gnome-mixer-applet failing
7210           to load, because ORBit would shut down.
7211           Spotted by: Edward Hervey  <edward@fluendo.com>
7212           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7213           Fixes #344474
7215 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7217         * configure.ac:
7218           back to TRUNK
7220 === release 0.10.7 ===
7222 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7224         * configure.ac:
7225           releasing 0.10.7, "Soepeke, ik zie ou"
7227 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7229         * configure.ac:
7230         * po/af.po:
7231         * po/az.po:
7232         * po/bg.po:
7233         * po/ca.po:
7234         * po/cs.po:
7235         * po/de.po:
7236         * po/en_GB.po:
7237         * po/fr.po:
7238         * po/it.po:
7239         * po/nb.po:
7240         * po/nl.po:
7241         * po/ru.po:
7242         * po/sq.po:
7243         * po/sr.po:
7244         * po/sv.po:
7245         * po/tr.po:
7246         * po/uk.po:
7247         * po/vi.po:
7248         * po/zh_CN.po:
7249         * po/zh_TW.po:
7250         * win32/common/config.h:
7251           0.10.6.2 prerelease
7253 2006-06-07  Wim Taymans  <wim@fluendo.com>
7255         * gst/gstindex.c: (gst_index_gtype_resolver):
7256         * tools/gst-xmlinspect.c: (print_plugin_info):
7257         Fix leak spotted by coverity checker. Fixes #343827
7258         Fix another other leak found by paolo borelli.
7260 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7262         * libs/gst/dataprotocol/dataprotocol.c:
7263         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7264         (gst_dp_version_get_type), (gst_dp_init),
7265         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7266         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7267         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7268         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7269         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7270         (gst_dp_packetizer_free):
7271         * libs/gst/dataprotocol/dataprotocol.h:
7272           API: add a GstDPPacketizer object, and create/free functions
7273           API: add GstDPVersion enum
7274           Add 1.0 event function that uses the string serialization
7275           Serialize more useful buffer flags
7276           Fixes #343988
7278 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7280         * tests/check/Makefile.am:
7281         * tests/check/gst/gstabi.c:
7282         * tests/check/gst/struct_ppc64.h:
7283         * tests/check/libs/libsabi.c:
7284         * tests/check/libs/struct_ppc64.h:
7285           add ppc64 structure sizes
7287 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7289         * tests/check/Makefile.am:
7290         * tests/check/gst/gstabi.c:
7291         * tests/check/gst/struct_x86_64.h:
7292         * tests/check/libs/libsabi.c:
7293         * tests/check/libs/struct_x86_64.h:
7294           generate and add structure size lists for x86_64
7296 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7298         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7299         * libs/gst/check/gstcheck.h:
7300           factor out the method from tests that checks size of structures,
7301           and add code to generate the header containing these sizes
7302         * tests/check/gst/gstabi.c: (GST_START_TEST):
7303         * tests/check/gst/struct_i386.h:
7304         * tests/check/libs/libsabi.c: (GST_START_TEST):
7305         * tests/check/libs/struct_i386.h:
7306           use it
7308 2006-06-06  Michael Smith  <msmith@fluendo.com>
7310         * gst/gstsegment.h:
7311           Don't use c++-style comments, fixes #343929
7313 2006-06-05  Edward Hervey  <edward@fluendo.com>
7315         * gst/gst.c:
7316         plugin_paths is not used if we build without registry support.
7318         * gst/gstsegment.c: (gst_segment_copy): 
7319         _copy() was always returning NULL...
7321 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7323         * libs/gst/dataprotocol/dataprotocol.c:
7324         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7325         (gst_dp_packet_from_event):
7326           factor out CRC code
7328 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7330         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7331           make sure we unset caps
7333 2006-06-02  Michael Smith  <msmith@fluendo.com>
7335         * libs/gst/check/gstcheck.c: (gst_check_init),
7336         (gst_check_chain_func):
7337         * libs/gst/check/gstcheck.h:
7338           Add a cond/mutex to the check support lib, signal this whenever we
7339           add to the buffers list. This will allow tests to not busy-wait on
7340           the buffer-list.
7342 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7344         * libs/gst/dataprotocol/dataprotocol.c:
7345         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7346         (gst_dp_packet_from_event):
7347           factor out some common header init code
7349 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7351         * docs/libs/gstreamer-libs-sections.txt:
7352         * docs/libs/tmpl/gstdataprotocol.sgml:
7353         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7354         * libs/gst/dataprotocol/dataprotocol.h:
7355           API: make gst_dp_crc() public
7357 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7359         * plugins/indexers/gstindexers.c: (plugin_init):
7360         conditionally register fileindexer (fixes #343598)
7362 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7364         * gst/gsttagsetter.h:
7365         Can't cast ifaces to a class
7367         * libs/gst/net/gstnetclientclock.h:
7368         * libs/gst/net/gstnettimeprovider.h:
7369         * plugins/elements/gstfakesink.h:
7370         * plugins/elements/gstfakesrc.h:
7371         * plugins/elements/gstfdsink.h:
7372         * plugins/elements/gstfdsrc.h:
7373         * plugins/elements/gstfilesink.h:
7374         * plugins/elements/gstfilesrc.h:
7375         * plugins/elements/gstidentity.h:
7376         * plugins/elements/gstqueue.h:
7377         * plugins/elements/gsttee.h:
7378         * plugins/indexers/gstfileindex.c:
7379         * plugins/indexers/gstmemindex.c:
7380         * tests/old/examples/plugins/example.h:
7381         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7383 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7385         * libs/gst/dataprotocol/dataprotocol.c:
7386         (gst_dp_header_from_buffer):
7387           make sure we zero the whole ABI-compatible area
7389 2006-06-01  Wim Taymans  <wim@fluendo.com>
7391         Patch by: Alessandro Decina <alessandro at nnva dot org>
7393         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7394         Make sure the EOS flag is cleared from pads after a flush
7395         or stop. Fixes #343538.
7397         * tests/check/libs/collectpads.c: (GST_START_TEST),
7398         (gst_collect_pads_suite):
7399         Added test for collectpads reusage after EOS.
7401 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7403         * gst/gst.c:
7404          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7405         * win32/common/libgstbase.def:
7406          export gst_collect_pads_set_flushing
7407         * win32/common/libgstreamer.def:
7408          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7409          gst_value_fraction_multiply
7410         * win32/vs6/gst_inspect.dsp:
7411          add a link to intl.lib
7413 2006-05-30  Wim Taymans  <wim@fluendo.com>
7415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7416         (gst_collect_pads_chain):
7417         Handle the case where a pad is removed from the collection
7418         that could cause the other pads to become collectable.
7420 2006-05-30  Wim Taymans  <wim@fluendo.com>
7422         * gst/gstelement.c:
7423         Clarify the use of _release_request_pad() and
7424         _get_request_pad() a bit better.
7426         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7427         (gst_adapter_take_buffer):
7428         Fix some doc and comment typos.
7430 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7432         * docs/gst/gstreamer-sections.txt:
7433         * docs/libs/gstreamer-libs-sections.txt:
7434           add declared symbols
7436 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7438         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7439         Add debug that can be enabled using a #define at the top of the file,
7440         for dumping stats about how late/early we were when waking up from
7441         waiting on the clock.
7443 2006-05-30  Wim Taymans  <wim@fluendo.com>
7445         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7446         When rebuilding the pad list, don't leak the previous list.
7448 2006-05-30  Wim Taymans  <wim@fluendo.com>
7450         Patch by: Lutz Mueller <lutz at topfrose dot de>
7452         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7453         (gst_base_src_get_query_types), (gst_base_src_update_length):
7454         Publish supported query types.
7455         Update last_stop field in get_range mode so the position
7456         query works. Fixes #342321.
7458 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7460         * docs/gst/gstreamer-sections.txt:
7461         * gst/gsttaglist.c: (_gst_tag_initialize):
7462         * gst/gsttaglist.h:
7463           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7465 2006-05-30  Wim Taymans  <wim@fluendo.com>
7467         Patch by: Alessandro Decina <alessandro at nnva dot org>
7469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7470         Unlock mutex when removing an unknown pad.
7471         Fixes #343334.
7473         * tests/check/Makefile.am:
7474         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7475         (push_event), (setup), (teardown), (GST_START_TEST),
7476         (gst_collect_pads_suite), (main):
7477         Added collecpads check, disabled for now as check crashes for
7478         some reason.
7480 2006-05-29  Wim Taymans  <wim@fluendo.com>
7482         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7483         Don't leak pads lists.
7485 2006-05-29  Wim Taymans  <wim@fluendo.com>
7487         * docs/libs/gstreamer-libs-sections.txt:
7488         * libs/gst/base/gstcollectpads.c:
7489         (gst_collect_pads_set_flushing_unlocked),
7490         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7491         (gst_collect_pads_stop):
7492         * libs/gst/base/gstcollectpads.h:
7493         API: gst_collect_pads_set_flushing()
7494         Added api to set the pads to flushing, useful for seeking
7495         code in elements using collectpads.
7496         Clear segment when receiving a flush.
7498 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7500         * gst/gst.c: (add_path_func), (init_post):
7501           Don't scan registry paths passed via --gst-plugin-path immediately
7502           (will crash, because absolutely nothing is set up and no types are
7503           registered etc.); do this later in init_post(). Fixes #343057.
7505 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7507         * gst/gst.c: (init_post):
7508           if we have fork, fork while reading/rebuilding the registry
7509           so the parent doesn't take the hit of having all plugins loaded
7510           in memory.  Fixes #342777.
7511         * configure.ac:
7512           Check if we have fork()
7513         * win32/common/config.h.in:
7514           no fork() on win32
7516 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7518         * plugins/elements/gstelements.c:
7519         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7520         (gst_file_src_init), (gst_file_src_set_property),
7521         (gst_file_src_get_property), (gst_file_src_start):
7522         * plugins/elements/gstfilesrc.h:
7523           API: GstFileSrc::use-mmap
7525         Add a use-mmap property to enable easier testing of all code paths.
7526         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7527         in the absence of gnomevfssrc. (Closes #340501)
7529 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7531         * tools/gst-inspect.c:
7532         Add missing include, removes warning of ngettext not being defined on
7533         some arches.
7535 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7537         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7538         Handle NULL input and output pointers silently as a failed conversion,
7539         rather than g_warnings.
7541 2006-05-25  Wim Taymans  <wim@fluendo.com>
7543         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7544         Initialize variable before using. Fixes #342820.
7546 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7548         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7549           Fix off-by-one bug that would only allow peeks of N-1 bytes
7550           from the start even if the buffer to typefind on contains
7551           in fact N bytes of data (makes vorbis typefinding from a
7552           vorbis identification header buffer work).
7554         * tests/check/Makefile.am:
7555         * tests/check/libs/.cvsignore:
7556         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7557         (gst_typefindhelper_suite), (main), (foobar_typefind),
7558         (plugin_init):
7559           Add very basic unit test for gst_type_find_helper_for_buffer()
7560           that checks for the problem fixed above.
7562 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7564         * tools/gst-inspect.c: (print_interfaces),
7565         (print_element_properties_info), (print_element_list), (main):
7566           add more translatable strings
7568 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7570         Patch by: Julien Moutte  <julien at moutte net>
7572         * docs/gst/gstreamer-sections.txt:
7573           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7574           
7575         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7576         (gst_fake_sink_preroll):
7577         * plugins/elements/gstfakesink.h:
7578           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7580 2006-05-23  Wim Taymans  <wim@fluendo.com>
7582         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7583         * gst/gstpad.h:
7584         Added _CUSTOM error and success GstFlowReturn that can be
7585         used be elements internally. 
7586         Added macro to check for SUCCESS flowreturns.
7587         API: GST_FLOW_CUSTOM_SUCCESS
7588         API: GST_FLOW_CUSTOM_ERROR
7589         API: GST_FLOW_IS_SUCCESS
7591         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7592         Added check for GstFlowReturn sanity.
7594 2006-05-23  Wim Taymans  <wim@fluendo.com>
7596         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7598         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7599         (gst_collect_pads_event):
7600         clear/reset segment info in FLUSH_STOP.
7601         Fixes #336929.
7603 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7605         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7606         (gst_collect_pads_check_collected):
7607         Flush queued buffer on _stop(), fixes playing again (#342454)
7609 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7611         * tests/check/gst/gststructure.c: (GST_START_TEST),
7612         (gst_structure_suite):
7613           add a test for a complete structure
7615 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7617         * docs/faq/developing.xml:
7618         * docs/faq/faq.xml:
7619         * docs/faq/troubleshooting.xml:
7620         * docs/faq/using.xml:
7621           Some minor FAQ updates that won't change the fact that
7622           our FAQ is badly structured, full of information hardly
7623           anyone new to GStreamer needs to know and lacking lots
7624           of information people constantly ask for.
7625           
7626 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7628         * gst/gstpad.c: (gst_pad_set_caps):
7629           Short-circuit gst_pad_set_caps if setting the existing
7630           caps pointer again, and avoid printing debug and 
7631           reffing/unreffing the caps.
7633         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7634           There's actually no need to set the caps before pushing -
7635           the acceptcaps method will handle it anyway.
7637 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7639         * docs/gst/gstreamer-sections.txt:
7640         * win32/common/libgstreamer.def:
7641         * gst/gstutils.c: (gst_element_seek_simple):
7642         * gst/gstutils.h:
7643           API: add gst_element_seek_simple() (#342238).
7645 2006-05-18  Edward Hervey  <edward@fluendo.com>
7647         * gst/gsttypefind.c: (gst_type_find_get_type):
7648         * gst/gsttypefind.h:
7649         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7650         registered for GstTypeFind pointers. This allows wrapping the structure
7651         in bindings (i.e. gst-python).
7653 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7655         * gst/gsttagsetter.c:
7656           Docs additions and fixes (see #339918).
7658 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7660         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7661         The caps intersection algorithm can produce multiple copies of the
7662         caps. Until that is fixed, we need to simplify the result to be
7663         sure whether the allowed caps are fixed or not.
7665         * plugins/elements/gstqueue.c: (gst_queue_init),
7666         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7667         (gst_queue_push_one):
7668         Proxied buffer alloc should not set the caps on the source pad.
7669         When pushing buffers, we always accept the caps change that triggers.
7670         This prevents negotiation errors caused by caps changing mid-stream 
7671         and then being refused on our source pad (because upstream is now
7672         refusing those caps).
7674 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7676         * tests/examples/helloworld/helloworld.c: (main):
7677           Must plug audioconvert and audioresample between decoder
7678           and audio sink.
7680 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7682         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7683         (load_feature), (load_plugin):
7684         Allow empty strings for some of the plugin fields so we don't 
7685         drop valid plugin entries that were written out correctly
7686         (Fixes #341479)
7688 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7689         
7690         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7691           Use g_remove and g_rename instead of remove and rename that don't 
7692           handle utf8 characters. rename was failing for users who had specific
7693           characters in their name then the registry was built at each 
7694           gstreamer init.
7695         * win32/vs6/gst_inspect.dsp:
7696         * win32/vs6/gst_launch.dsp:
7697         * win32/vs6/libgstbase.dsp:
7698         * win32/vs6/libgstcoreelements.dsp:
7699         * win32/vs6/libgstreamer.dsp:
7700           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7701           build of libgstreamer and clean unused libraries in projects link 
7702           settings.
7704 2006-05-17  Edward Hervey  <edward@fluendo.com>
7706         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7707         The queue is not responsible for pushing an EOS when receiving a fatal
7708         flow error. It's up to the real element driving the pipeline to do that.
7710 2006-05-16  Edward Hervey  <edward@fluendo.com>
7712         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7713         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7714         buffer returned a fatal error. It should just send an EOS and stop
7715         its task.
7716         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7717         when pushing buffers on the queue and will be able to handle the event.
7719 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7721         * docs/manual/basics-bins.xml:
7722         * docs/manual/basics-init.xml:
7723           Fix typos and minor errors in sample code (#341856).
7725 2006-05-16  Wim Taymans  <wim@fluendo.com>
7727         * docs/design/part-qos.txt:
7728         Fix indexes in formulas to make more sense.
7730 2006-05-15  Wim Taymans  <wim@fluendo.com>
7732         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7733         Don't report POSITION based on clock time if sync is
7734         disabled in a sink.
7736 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7738         * gst/gstobject.h:
7739           Add cast to make compiler happy - refcount variable was a gint
7740           in GstObject but is a guint in GObject and g_atomic_int_get()
7741           wants a gint *.
7743 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7745         * gst/parse/Makefile.am:
7746           chain commands using &&, which also makes parallel make work
7748 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7750         * docs/gst/gstreamer-sections.txt:
7751         * gst/gstevent.c:
7752         * gst/gstevent.h:
7753         * gst/gstmessage.h:
7754           Minor docs fixes.
7756 === release 0.10.6 ===
7758 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7760         * configure.ac:
7761           releasing 0.10.6, "Take the cannoli"
7763 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7765         * tools/gst-launch.c: (print_tag):
7766           Fix use of uninitialized variable in the hypothetical
7767           case that some broken plugin creates a GST_TAG_IMAGE
7768           tag containing a NULL buffer (#341667).
7770 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7772         * tools/gst-launch.c: (print_tag):
7773           Print something more intelligible for image tags when
7774           using the -t switch (#341556).
7776 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7778         * Makefile.am:
7779           updates for win32
7780         * configure.ac:
7781           define GST_MAJORMINOR so we have it available in win32/common/config.h
7782           Possibly remove it from our Makefile.am files later
7783         * win32/common/config.h:
7784         * win32/common/config.h.in:
7785           added GST_MAJORMINOR
7786         * win32/common/gstenumtypes.c: (register_gst_resource_error):
7787         * win32/common/gstversion.h:
7788           updated
7790 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
7792         * win32/MANIFEST:
7793           Update win32 files listing.
7794         * win32/common/gstversion.h:
7795           Add GST_MAJORMINOR definition.
7796         * win32/common/libgstreamer.def:
7797           Add new exported functions.
7798           
7799 2006-05-12  Michael Smith  <msmith@fluendo.com>
7801         * gst/gstplugin.c: (gst_plugin_load_file):
7802           If an so file has no plugin entry point, unload the module.
7804 2006-05-11  Wim Taymans  <wim@fluendo.com>
7806         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7807         (gst_queue_set_property):
7808         Don't forget to signal the _chain or _loop function 
7809         when the queue size or thresholds change since that might
7810         cause them to make progres again.
7812 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
7814         * gst/gstclock.c: (gst_clock_class_init):
7815         * gst/gstindex.c: (gst_index_class_init):
7816         * gst/gstobject.c: (gst_object_class_init):
7817         * gst/gstpad.c: (gst_pad_class_init):
7818         * gst/gstpipeline.c: (gst_pipeline_class_init):
7819         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7820         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7821         * libs/gst/base/gstbasetransform.c:
7822         (gst_base_transform_class_init):
7823         * libs/gst/net/gstnetclientclock.c:
7824         (gst_net_client_clock_class_init):
7825         * libs/gst/net/gstnettimeprovider.c:
7826         (gst_net_time_provider_class_init):
7827         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7828         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7830         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7831         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7832         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7833         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7834         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7835         * plugins/elements/gsttee.c: (gst_tee_class_init):
7836         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7837         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7838           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7840 2006-05-11  Wim Taymans  <wim@fluendo.com>
7842         * gst/gstbuffer.c: (_gst_buffer_initialize):
7843         Register subbufer along with the buffer type so that
7844         it does not accidentally gets registered from N
7845         different streaming threads in a non threadsafe way.
7847 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7849         * gst/gstbuffer.h:
7850         * gst/gstevent.h:
7851         * gst/gstmessage.h:
7852           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7853           gst_event_ref() and gst_message_ref() functions again
7854           (ugly hack, please do fix if there's a better way besides
7855           overrides.txt, which doesn't seem to work).
7857 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7859         * libs/gst/check/gstcheck.h:
7860           add an assert for setting state to avoid lots of repetitive code
7861           in the future
7863 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7865         * gst/gstvalue.c: (gst_value_serialize_flags):
7866           fix a leak if no flags are set
7867         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7868           fix leak in tests
7870 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7872         * docs/manual/basics-pads.xml:
7873           Expand a bit on caps and filtered links and update
7874           examples that were still using the no longer existing
7875           gst_pad_link_filtered() (#338206).
7877 2006-05-10  Wim Taymans  <wim@fluendo.com>
7879         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7880         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7881         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7882         (gst_collect_pads_stop):
7883         * libs/gst/base/gstcollectpads.h:
7884         No need to call _stop in _finalize.
7885         Iterate the main pad list in _finalize.
7886         Added some more debug.
7887         Free lists and data in the right order.
7888         Also free data whem doing _remove_pad when stopped for
7889         backward compatibility protect ::started with PAD_LOCK as
7890         well.
7892 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7894         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7895         (gst_structure_parse_value):
7896           add some comments
7897           rename a method so that it actually says what it does better
7899 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7901         * gst/gstevent.c: (_gst_event_initialize):
7902         * gst/gstformat.c: (_gst_format_initialize):
7903           make sure some essential types used by events are registered
7904           as part of gst_init()
7905         * gst/gstvalue.c: (gst_value_serialize_flags):
7906           if no flags are set, serialize them to a value that represents NONE
7907           so that deserializing them works
7908         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7909           add tests for serialization and deserialization of flags
7911 2006-05-10  Wim Taymans  <wim@fluendo.com>
7913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7914         (gst_collect_pads_collect_range), (gst_collect_pads_available),
7915         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7916         (gst_collect_pads_event), (gst_collect_pads_chain):
7917         Update docs.
7918         Better debug info.
7919         Catch and return errors from the collect function
7920         Refuse data on eos pads.
7922 2006-05-10  Edward Hervey  <edward@fluendo.com>
7924         * gst/gstinterface.h:
7925         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7926         GInterface type checking.
7927         They were previously using non-defined macros.
7929 2006-05-09  Wim Taymans  <wim@fluendo.com>
7931         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7932         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7933         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7934         (gst_collect_pads_start), (gst_collect_pads_stop),
7935         (gst_collect_pads_peek), (gst_collect_pads_pop),
7936         (gst_collect_pads_available), (gst_collect_pads_read),
7937         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7938         (gst_collect_pads_is_collected), (gst_collect_pads_event),
7939         (gst_collect_pads_chain):
7940         * libs/gst/base/gstcollectpads.h:
7941         Clean up the mess that is collectpads, add comments and
7942         FIXMEs where needed.
7943         Maintain a separate pad list so we can add pads while
7944         collecting the other ones. For this we need a new separate 
7945         lock (see comics).
7946         Fix memory leak in finalize.
7947         Refactor some weird code to set/unset pad flushing flags, mark
7948         with comments.
7949         Don't crash in _available, _read, _flush when we're EOS.
7951         * tests/check/libs/.cvsignore:
7952         Ignore adapter check binary.
7954 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7956         * gst/gstindex.c: (gst_index_resolver_get_type):
7957         * plugins/elements/gstfakesink.c:
7958         (gst_fake_sink_state_error_get_type):
7959         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7960         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7961         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7962           Const-ify GEnumValue arrays.
7964 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7966         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7967           Add test case for flags + gst_buffer_make_metadata_writable().
7969 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7971         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7972           gst_buffer_make_metadata_writable() should maintain the
7973           buffer flags (those that make sense at least) (see #340859).
7975 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7977         * tools/gst-inspect.c:
7978         * tools/gst-launch.c:
7979         * tools/gst-typefind.c:
7980         * tools/gst-xmlinspect.c:
7981         * tools/tools.h:
7982           Fix up includes: need to include stdlib.h in tools.h for exit().
7984 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7986         * gst/gsttaglist.c: (_gst_tag_initialize):
7987         * gst/gsttaglist.h:
7988           API: add GST_TAG_IMAGE tag (#340721).
7990 2006-05-08  Wim Taymans  <wim@fluendo.com>
7992         * gst/gstquery.c:
7993         Added some docs for the segment query.
7995 2006-05-08  Wim Taymans  <wim@fluendo.com>
7997         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7998         (gst_base_src_loop), (gst_base_src_change_state):
7999         Always push non-flushing serialized events in the streaming 
8000         thread.
8002 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8004         * gst/gsterror.c: (_gst_stream_errors_init):
8005           Add a missing error string.
8007 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
8009         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8010         Add applied_rate to the debug
8012         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8013         Copy applied_rate into the outgoing NEWSEGMENT event
8015 2006-05-08  Wim Taymans  <wim@fluendo.com>
8017         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8019         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8020         (gst_base_sink_change_state):
8021         call ::unlock before taking the PREROLL_LOCK so we can safely
8022         handle elements that lock in ::render.
8023         Fixes #340174.
8025 2006-05-08  Edward Hervey  <edward@fluendo.com>
8027         * autogen.sh: (CONFIGURE_DEF_OPT): 
8028         Darwin's libtoolize is in fact called glibtoolize.
8029         Adding glibtoolize to the list of accepted names for libtoolize.
8031 2006-05-08  Wim Taymans  <wim@fluendo.com>
8033         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8034         Unify error handling, don't post an error message
8035         when a push() returns EOS but perform our normal EOS
8036         handling code. Fixes #340772.
8038 2006-05-08  Wim Taymans  <wim@fluendo.com>
8040         * docs/design/part-overview.txt:
8041         Make upsteam/downstream concepts more clear.
8042         Give an example of serialized/non-serialized events.
8044         * docs/design/part-events.txt:
8045         * docs/design/part-streams.txt:
8046         Mention applied_rate.
8048         * docs/design/part-trickmodes.txt:
8049         Mention applied rate, flesh out some more use cases.
8051         * gst/gstevent.c: (gst_event_new_new_segment),
8052         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8053         (gst_event_parse_new_segment_full), (gst_event_new_tag),
8054         (gst_event_parse_tag), (gst_event_new_buffer_size),
8055         (gst_event_parse_buffer_size), (gst_event_new_qos),
8056         (gst_event_parse_qos), (gst_event_parse_seek),
8057         (gst_event_new_navigation):
8058         * gst/gstevent.h:
8059         Add applied_rate field to NEWSEGMENT event.
8060         API: gst_event_new_new_segment_full()
8061         API: gst_event_parse_new_segment_full()
8063         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8064         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8065         (gst_segment_to_stream_time), (gst_segment_to_running_time):
8066         * gst/gstsegment.h:
8067         Add applied_rate to GstSegment structure.
8068         Make calculation of stream_time and running_time more correct
8069         wrt rate/applied_rate.
8070         Add some more docs.
8071         API: GstSegment::applied_rate field
8072         API: gst_segment_set_newsegment_full();
8074         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8075         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8076         * libs/gst/base/gstbasetransform.c:
8077         (gst_base_transform_sink_eventfunc),
8078         (gst_base_transform_handle_buffer):
8079         Parse and use applied_rate in the GstSegment field.
8081         * tests/check/gst/gstevent.c: (GST_START_TEST):
8082         Add check for applied_rate field.
8084         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8085         (gstsegments_suite):
8086         Add more checks for various GstSegment operations.
8088 2006-05-08  Wim Taymans  <wim@fluendo.com>
8090         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8091         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8092         (gst_base_sink_get_position), (gst_base_sink_change_state):
8093         Store the sync time of the buffer end position separatly in a
8094         new variable eos_rtime so we can properly sync the EOS event.
8095         Fixes #340697.
8096         Fix the docs for gst_base_sink_set_qos_enabled().
8097         Don't set segment start to invalid value when we receive a 
8098         non TIME newsegment.
8099         get closer to handling position reporting for negative rates 
8100         correctly.
8102 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8104         * gst/gstcaps.c:
8105         Docs about how to print caps for debug purposes.
8107         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8108         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8110 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8112         * gst/gstelement.c:
8113           use full enum names and preprend a '%' in docs strings to make recent 
8114           gtk-doc turn that into a link
8116 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8118         * docs/manual/basics-bins.xml:
8119         * docs/manual/basics-bus.xml:
8120         * docs/manual/basics-pads.xml:
8121           Some typo fixes, some additions, some clarifications. 
8123 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8125         * tools/gst-inspect.c: (main):
8126         * tools/gst-launch.c: (main):
8127         * tools/gst-run.c: (main):
8128         * tools/gst-typefind.c: (main):
8129         * tools/gst-xmlinspect.c: (main):
8130           Use the string passed to g_option_context_new() for
8131           what it's intended for - the program name is already
8132           printed elsewhere.
8134 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8136         * tools/Makefile.am:
8137         * tools/gst-inspect.c: (main):
8138         * tools/gst-launch.c: (main):
8139         * tools/gst-xmlinspect.c: (main):
8140         * tools/tools.h:
8141           Add back --version command line option (#340460).
8143         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8144           Add --version option and use GOption for argument parsing; refactor a
8145           bit; accept directories as arguments and recurse into them; lastly,
8146           print a decent error message when things go wrong.
8148 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8150         * docs/manual/basics-bins.xml:
8151         Don't mention GstThread (#340611)
8152         * docs/manual/basics-elements.xml:
8153         Update link to GObject tutorial (#340607)
8154         
8155 2006-05-05  Wim Taymans  <wim@fluendo.com>
8157         * gst/gstbuffer.h:
8158         * gst/gstminiobject.c:
8159         Add note about refcounting and miniobject/buffer writeability
8160         to docs. Fixes #340604
8162         * gst/gstelementfactory.h:
8163         Added some explanation about @klass.
8165 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8167         * docs/manual/intro-motivation.xml:
8168         * docs/manual/manual.xml:
8169         Avoid CORBA & Bonobo references (#340598)
8171 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8173         * docs/manual/basics-bus.xml:
8174         * docs/manual/basics-pads.xml:
8175         Fix up some inaccuracies and omissions (#340609)
8176         
8177 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8179         * gst/gstghostpad.c:
8180           Small typo in docs (#340625)
8182 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8184         * gst/parse/Makefile.am:
8185           Make 'make -j' proof (see #340698).
8187 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8189         * configure.ac:
8190           Require GLib-2.8 here as well.
8192 2006-05-05  Wim Taymans  <wim@fluendo.com>
8194         * gst/glib-compat.c:
8195         * gst/gst.c: (init_pre):
8196         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8197         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8198         (gst_object_dispatch_properties_changed):
8199         * gst/gstobject.h:
8200         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8201         * gst/gststructure.c: (gst_structure_set_valist):
8202         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8203         Remove pre glib2.8 compatibility, fixes #340508
8205 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8207         * gst/gsttaglist.h:
8208           Mention type of tags in doc blurbs.
8210 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8212         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8213         (gst_pad_configure_src), (gst_pad_push):
8214         Restore acceptcaps checking behaviour now that good plugins have
8215         been released.
8217 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8219         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8221         * gst/gst.c:
8222         * gst/gstbus.c:
8223         * gst/gstclock.c:
8224         * gst/gstevent.c:
8225         * gst/gstformat.c:
8226         * gst/gstmessage.c:
8227         * gst/gstparse.c:
8228         * gst/gstquery.c:
8229         * gst/gstutils.c:
8230         * gst/parse/Makefile.am:
8231         * libs/gst/base/gstadapter.c:
8232         * libs/gst/base/gstbasesrc.c:
8233         * libs/gst/base/gstpushsrc.c:
8234         * libs/gst/base/gsttypefindhelper.c:
8235         * plugins/elements/gstfakesrc.c:
8236         * plugins/elements/gstidentity.c:
8237           Make sure gstprivate.h and/or config.h are
8238           always included first, otherwise some of our
8239           defines (like _FILE_OFFSET_BITS) might be
8240           redefined in the system headers. Fixes build
8241           on opensolaris (#340016).
8243 2006-05-04  Wim Taymans  <wim@fluendo.com>
8245         * docs/libs/gstreamer-libs-sections.txt:
8246         API: addition: gst_adapter_take_buffer()
8247         
8248         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8249         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8250         (gst_adapter_available_fast):
8251         * libs/gst/base/gstadapter.h:
8252         Prepare for optimizing the hell out of this hugely inefficient
8253         piece of code. 
8254         Added gst_adapter_take_buffer() so we can at least start thinking
8255         about subbuffering and merging.
8256         Added some comments.
8258         * tests/check/Makefile.am:
8259         * tests/check/libs/adapter.c: (GST_START_TEST),
8260         (gst_adapter_suite), (main):
8261         Added GstAdapter check.
8263 2006-05-04  Wim Taymans  <wim@fluendo.com>
8265         * docs/design/part-overview.txt:
8266         Fix some typos, add blurb about buffer flags.
8268 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8270         * docs/libs/gstreamer-libs-sections.txt:
8271           make sure GstBaseTransformClass shows up in the docs
8272         * libs/gst/base/gstbasetransform.c:
8273         * libs/gst/base/gstbasetransform.h:
8274           move docs so gtk-doc picks it up now
8276 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8278         * docs/libs/gstreamer-libs-sections.txt:
8279           add missing symbols to docs
8281 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8283         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8284           back out the newsegment handling change, see #340060 for ongoing
8285           discussion
8287 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8289         * tools/gst-run.c: (get_candidates), (main):
8290           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8291           work); fix typo in error message. Fixes #340079.
8293 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8295         * common/Makefile.am:
8296         * docs/Makefile.am:
8297         * docs/faq/Makefile.am:
8298         * docs/gst/Makefile.am:
8299         * docs/libs/Makefile.am:
8300         * docs/manual/Makefile.am:
8301         * docs/plugins/Makefile.am:
8302         * docs/pwg/Makefile.am:
8303         * docs/slides/Makefile.am:
8304         * docs/upload.mak:
8305         * common/upload.mak:
8306           move upload.mak to common
8308 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8310         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8311           add more asserts on refcounts
8312           do more cleanup at end of tests
8313           fix test leaks showing in FC5
8315 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8317         * plugins/elements/gsttypefindelement.c:
8318         (gst_type_find_element_handle_event):
8319         reverted wrong change and reflowed code to avoid others falling into
8320         this trap
8322 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8324         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8325           fix changelog entry about last collectpads change,
8326           add notes about proper fix
8328 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8330         * gst/gst.c:
8331         * gst/gstregistry.c: (gst_registry_scan_path_level),
8332         (gst_registry_scan_path):
8333         * gst/gstregistry.h:
8334           only write out registry if it has changed, fixes #338339
8336 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8338         * gst/gstbin.c:
8339         * gst/gstpipeline.c:
8340         * plugins/elements/gstcapsfilter.c:
8341         * plugins/elements/gstfakesink.c:
8342         * plugins/elements/gstfakesrc.c:
8343         * plugins/elements/gstfdsink.c:
8344         * plugins/elements/gstfdsrc.c:
8345         * plugins/elements/gstfilesink.c:
8346         * plugins/elements/gstfilesrc.c:
8347         * plugins/elements/gstidentity.c:
8348         * plugins/elements/gstqueue.c:
8349         * plugins/elements/gsttee.c:
8350         * plugins/elements/gsttypefindelement.c:
8351         (gst_type_find_element_handle_event):
8352           make GstElementDetails const
8354 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8356         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8357         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8358         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8359           more detailed debug and formatting cleanup,
8360           forward newsegments to src-pad (so that e.g. adder not eats them)
8362 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8364         * gst/gstutils.c: (gst_element_link_pads):
8365           cleanup double code
8367 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8369         * libs/gst/controller/gstcontroller.c:
8370         (gst_controller_sync_values):
8371           some little tuning
8372         * tests/check/libs/controller.c: (GST_START_TEST),
8373         (gst_controller_suite):
8374           a new test for live value handling
8376 2006-04-28  Wim Taymans  <wim@fluendo.com>
8378         * gst/gstutils.c: (push_and_ref):
8379         Added some more docs.
8380         Fix refcount issue whith gst_element_found_tags() helper 
8381         function. Fixes #338335
8383         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8384         Added testsuite for gst_element_found_tags().
8386 2006-04-28  Michael Smith  <msmith@fluendo.com>
8388         * gst/gstvalue.c: (gst_value_serialize_flags):
8389           Avoid NULL dereference when trying to serialize flags containing
8390           invalid values.
8392 2006-04-28  Michael Smith  <msmith@fluendo.com>
8394         * plugins/elements/gsttypefindelement.c:
8395         (gst_type_find_element_handle_event):
8396           If we get EOS before any data is accumulated, don't use
8397           uninitialised local variables.
8399 2006-04-28  Michael Smith  <msmith@fluendo.com>
8401         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8402         (gst_dp_event_from_packet):
8403           Fixes in reading/writing events over GDP (not currently used?) - 
8404           dereferencing NULL events for unknown/invalid event types, memory
8405           leak, and change g_warning to GST_WARNING.
8407 2006-04-28  Wim Taymans  <wim@fluendo.com>
8409         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8410         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8411         (gst_base_sink_get_position), (gst_base_sink_change_state):
8412         When frame dropping is enabled, we should not ignore frames
8413         without a duration.
8414         Update some documentation.
8416 2006-04-28  Wim Taymans  <wim@fluendo.com>
8418         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8419         (gst_base_src_send_event), (gst_base_src_change_state):
8420         Documentation updates.
8422 2006-04-28  Wim Taymans  <wim@fluendo.com>
8424         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8425         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8426         handle EAGAIN, EINTR and short writes correctly. Also clean
8427         up some error cases, avoid a deadlock on bad file descriptors and
8428         use GST_DEBUG_OBJECT.
8429         Fixes #339843
8431 2006-04-28  Wim Taymans  <wim@fluendo.com>
8433         * gst/gstvalue.c: (gst_value_serialize_buffer),
8434         (gst_value_deserialize_buffer):
8435         Don't try to serialize a GValue with a NULL buffer. 
8436         Fixes #339821.
8438         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8439         Added check for serialisation of NULL buffers.
8441 2006-04-28  Wim Taymans  <wim@fluendo.com>
8443         * gst/gstminiobject.c: (gst_value_take_mini_object):
8444         Taking a NULL miniobject is valid, fix the case where
8445         we try to unref the NULL miniobject.
8447 2006-04-28  Wim Taymans  <wim@fluendo.com>
8449         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8451         * gst/gstbin.c: (gst_bin_handle_message_func):
8452         Update docs.
8453         Don't leak bin refcount when a state recalc is
8454         in progress and we delay another one #339808.
8456 2006-04-28  Wim Taymans  <wim@fluendo.com>
8458         * docs/design/part-TODO.txt:
8459         Mention QoS as an ongoing work item.
8461         * docs/design/part-buffering.txt:
8462         New doc about buffering that needs to be fleshed out
8463         at some point.
8465         * docs/design/part-qos.txt:
8466         More QoS policy for decoders/demuxers/transforms
8468         * docs/design/part-trickmodes.txt:
8469         Small update.
8471 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8473         * configure.ac:
8474           back to HEAD
8476 === release 0.10.5 ===
8478 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8480         * configure.ac:
8481           releasing 0.10.5, "Fogo"
8483 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8485         patch by: Wim Taymans
8487         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8488         (gst_pad_configure_src), (gst_pad_push):
8489         * gst/gstpipeline.c: (gst_pipeline_init):
8490           Fix internal data flow errors.  Fixes #338711.
8492 2006-04-12  Wim Taymans  <wim@fluendo.com>
8494         * tests/check/gst/gstelement.c: (GST_START_TEST):
8495         Don't leak the factory.
8497 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8499         * configure.ac:
8500         * win32/common/config.h:
8501           prerelease
8503 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8505         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8506         (gst_controller_unset_all):
8507           Free allocated GstTimedValues when freeing list nodes.
8508           Should fix leaks 'make check-valgrind' complains about.
8510         * win32/common/libgstcontroller.def:
8511           Add gst_controller_unset_all.
8513 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8515         * docs/libs/gstreamer-libs-sections.txt:
8516         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8517         (gst_controller_unset_all):
8518         * libs/gst/controller/gstcontroller.h:
8519         API: Added new method gst_controller_unset_all()
8520         fixed gst_controller_unset()
8521         * tests/check/libs/controller.c: (GST_START_TEST),
8522         (gst_controller_suite):
8523         Added two testcases for new and fixed method
8525 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8527         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8528           MSG_DONTWAIT is not defined on Cygwin, so work
8529           around that (fixes #317048).
8530           
8531 2006-04-11  Wim Taymans  <wim@fluendo.com>
8533         * gst/gstelementfactory.c: (gst_element_register),
8534         (gst_element_factory_create), (gst_element_factory_make):
8535         Some cleanups.
8536         Fixed a FIXME.
8537         Updated docs (Fixes #131079)
8539         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8540         Small cleanups.
8542         * tests/check/gst/gstelement.c: (GST_START_TEST),
8543         (gst_element_suite):
8544         Added testcase for elementfactory class field.
8546 2006-04-10  Wim Taymans  <wim@fluendo.com>
8548         * gst/gstsegment.c:
8549         Added some more docs.
8551         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8552         (gst_base_sink_reset_qos):
8553         Calculate more accurate rate values.
8555 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8557         * gst/gst_private.h:
8558           add a new #ifdef to use __declspec(dllimport) only for
8559           other modules and not for gstreamer core
8560         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8561           use gst_guint64_to_gdouble for conversion
8562         * win32/common/libgstreamer.def:
8563           add new exported functions
8564         * win32/vs6/gst_inspect.dsp:
8565         * win32/vs6/gst_launch.dsp:
8566         * win32/vs6/libgstbase.dsp:
8567         * win32/vs6/libgstcontroller.dsp:
8568         * win32/vs6/libgstcoreelements.dsp:
8569         * win32/vs6/libgstdataprotocol.dsp:
8570         * win32/vs6/libgstnet.dsp:
8571           update project files
8573 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8575         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8576         * gst/gstclock.c: (gst_clock_class_init):
8577         * gst/gstelement.c: (gst_element_class_init):
8578         * gst/gstindex.c: (gst_index_class_init):
8579         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8580         * gst/gstobject.c: (gst_object_class_init),
8581         (gst_signal_object_class_init):
8582         * gst/gstpad.c: (gst_pad_class_init):
8583         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8584         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8585         * gst/gstregistry.c: (gst_registry_class_init):
8586         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8587         * gst/gsttask.c: (gst_task_class_init):
8588         * gst/gstxml.c: (gst_xml_class_init):
8589         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8590         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8591         (gst_base_src_loop):
8592         * libs/gst/controller/gstcontroller.c:/
8593         (_gst_controller_class_init):
8594         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8595         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8596         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8597         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8598         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8599         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8601 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8603         * gst/gstpad.c: (gst_pad_link):
8604           Must set peer pads before calling the link function, otherwise
8605           a task started from a link function might get a flow-not-linked
8606           result when trying to push because the other thread where the
8607           linking happens hasn't had a chance to set the peers yet. This
8608           might happen for example when a queue gets linked to a downstream
8609           element, as queue starts a streaming task when its source pad
8610           gets linked. Happens in real life when playing back flac/musepack
8611           files in playbin (#332390).
8612           
8613 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8615         * gst/gstindex.h:
8616         * gst/gstxml.h:
8617         * libs/gst/base/gstadapter.h:
8618         * libs/gst/base/gstbasesink.h:
8619         * libs/gst/base/gstbasesrc.h:
8620         * libs/gst/base/gstbasetransform.h:
8621         * libs/gst/base/gstcollectpads.h:
8622         * libs/gst/base/gstpushsrc.h:
8623         Fix broken GObject macros
8625 2006-04-07  Wim Taymans  <wim@fluendo.com>
8627         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8628         Initialize start and stop times, thanks valgrind.
8630 2006-04-07  Wim Taymans  <wim@fluendo.com>
8632         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8633         Be a bit nicer to badly behaving upstream elements that expect
8634         us to deal with non TIME segments and timestamps (such as fakesrc
8635         in the testsuite).
8637 2006-04-07  Wim Taymans  <wim@fluendo.com>
8639         * gst/gstbus.c:
8640         Small documentation clarification about the signal watch.
8642         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8643         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8644         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8645         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8646         (gst_base_sink_get_position_last),
8647         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8648         Convert and store timestamps in stream time and running time, the
8649         raw timestamps are not useful, also document this better.
8650         Use different window sizes for good and bad QoS observations so
8651         we react to badness a little quicker.
8652         Keep track of the amount of rendered and dropped buffers.
8653         Send QoS timestamps in running time.
8655         * libs/gst/base/gstbasetransform.c:
8656         (gst_base_transform_sink_eventfunc),
8657         (gst_base_transform_handle_buffer):
8658         Compare QoS timestamps against running time.
8660 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8662         * gst/gstpad.c:
8663           Typo fixes in docs.
8665 2006-04-06  Michael Smith  <msmith@fluendo.com>
8667         * gst/gstpad.c: (gst_pad_set_property):
8668           Use g_value_get_object() instead of g_value_dup_gst_object(),
8669           to avoid double-reffing the pad template (which we then sink,
8670           so this worked previously if (and only if) the pad template
8671           was floating.
8673         * gst/gstpadtemplate.c: (gst_pad_template_init),
8674         (gst_pad_template_pad_created):
8675           Never return floating references to pad templates, create
8676           them as initially-sunken.
8678           Document an extra function (and make this stop sinking our
8679           pad template, since that is now guaranteed to do nothing,
8680           since we created it sunken).
8682         * gst/gstghostpad.c:
8683           Fix docs typo.
8685 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8687         * gst/gstinfo.c: (__gst_in_valgrind):
8688           Add some newlines.
8690         * plugins/elements/gsttypefindelement.c:
8691         (gst_type_find_element_chain):
8692           Don't leak buffer caps.
8694 2006-04-06  Michael Smith  <msmith@fluendo.com>
8696         * gst/parse/grammar.y:
8697           Fix a leak in parse-launch for any source-or-sink named element 
8698           references used.
8700         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8701           Unref the pipeline if it exists after we've failed parsing.
8703 2006-04-05  Michael Smith  <msmith@fluendo.com>
8705         * gst/gstpipeline.c: (gst_pipeline_init):
8706           When we create a pipeline bus, initially create it in flushing mode.
8707           Fixes leaks in at least one test, and makes a new pipeline work the
8708           same as one that has gone to READY and then back to NULL.
8710         * gst/gstelement.c:
8711           Typo fix in docs.
8713 2006-04-05  Michael Smith  <msmith@fluendo.com>
8715         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8716           Unref a pad we reffed.
8717         * tests/check/gst/gstutils.c: (GST_START_TEST):
8718           Unref bins
8720 2006-04-05  Michael Smith  <msmith@fluendo.com>
8722         * gst/gstquery.c: (gst_query_set_formats),
8723         (gst_query_set_formatsv):
8724           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8726 2006-04-05  Michael Smith  <msmith@fluendo.com>
8728         * tests/check/generic/sinks.c: (GST_START_TEST):
8729           Fix a variety of memleaks in sinks check, which are only sometimes 
8730           shown by running the tests under valgrind (weird?).
8732 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8734         * docs/version.entities.in:
8735           Fix the substituted entity name after thomas' changes on the
8736           weekend.
8738 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8740         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8741         VALGRIND_PRINTF
8742         
8743 2006-04-05  Andy Wingo  <wingo@pobox.com>
8745         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8747         * libs/gst/base/gstbasetransform.c
8748         (gst_base_transform_sink_eventfunc): When resetting our segment on
8749         FLUSH_STOP, also update the flag saying we haven't seen a
8750         newsegment.
8752 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8754         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8756         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8757         (gst_plugin_check_license):
8758           minor clean-ups: G_DEFINE_TYPE already takes care of the
8759           parent_class stuff, no need to do it twice. Mark array of
8760           license strings as constant. (#337103)
8761           
8762 2006-04-04  Michael Smith  <msmith@fluendo.com>
8764         * tools/gst-inspect.c: (print_element_list):
8765           Free the right plugin list; fixes a memory leak.
8767 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8769         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8771         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8772           Don't error out on empty buffers (#336945).
8773           
8774 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8776         * docs/libs/gstreamer-libs-sections.txt:
8777         * gst/gsttaglist.c:
8778         * libs/gst/base/gstbasesink.c:
8779         * libs/gst/base/gstbasesink.h:
8780         * libs/gst/base/gstbasesrc.c:
8781         * libs/gst/base/gstbasesrc.h:
8782           Documentation updates. Make BaseSink and BaseSrc docs contain the
8783           class structure so that people can actually see the prototypes for
8784           virtual functions they're supposed to be overriding.
8786 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8788         * plugins/elements/gsttypefindelement.c:
8789         (gst_type_find_element_chain):
8790           More debug info; when skipping typefinding, send cached
8791           events in all cases.
8793 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8795         * configure.ac:
8796           use new AS_VERSION and AS_NANO macros
8797         * gst/gst-i18n-lib.h:
8798         * gst/gst.c:
8799         * gst/gsterror.c:
8800         * gst/gstversion.h.in:
8801         * win32/common/config.h:
8802         * win32/common/config.h.in:
8803           update accordingly
8805 2006-03-31  Michael Smith  <msmith@fluendo.com>
8807         * plugins/elements/gsttypefindelement.c:
8808         (gst_type_find_element_chain):
8809           Do not typefind content if the buffers already have caps.
8810           Neccesary for icydemux (#333657), and the right thing to do anyway.
8812 2006-03-30  Wim Taymans  <wim@fluendo.com>
8814         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8815         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8816         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8817         (gst_base_sink_record_qos_observation),
8818         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8819         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8820         (gst_base_sink_change_state):
8821         More QoS measurements as described in the design doc.
8822         Get rid of ringbuffer with observations, running average is
8823         more simple and equally good.
8824         Calculates valid proportion now.
8825         Added beginning of flood measurement.
8827 2006-03-29  Wim Taymans  <wim@fluendo.com>
8829         * docs/design/part-qos.txt:
8830         * gst/gstclock.c:
8831         Small documentation updates and additions.
8833 2006-03-29  Wim Taymans  <wim@fluendo.com>
8835         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8836         (gst_base_src_send_event), (gst_base_src_loop),
8837         (gst_base_src_change_state):
8838         Perform the EOS logic when we reach the segment stop position.
8839         Fix compilation on gcc4.1
8841 2006-03-29  Wim Taymans  <wim@fluendo.com>
8843         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8845         * plugins/elements/gstqueue.c: (gst_queue_init),
8846         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8847         (gst_queue_set_property):
8848         * plugins/elements/gstqueue.h:
8849         In queue, when EOS is received, if minimum threshold > max_size -
8850         current_level, there is chance that queue blocks forever in conditional
8851         item del wait. This is because the queue is not emptied completely due
8852         to minimum threshold.  Here is another approach. Instead of setting
8853         cur_levels to max in EOS, just zero all minimum threshold levels. This
8854         should make sure that queue gives out all data. When going to READY
8855         (stop) state, just reset the original minimum threshold levels.
8856         Fixes #336336.
8858 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
8860         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8861         (gst_type_find_element_handle_event),
8862         (gst_type_find_element_send_cached_events),
8863         (gst_type_find_element_change_state):
8864         * plugins/elements/gsttypefindelement.h:
8865           When typefinding is done in push mode, we should cache
8866           events we receive during typefinding instead of just
8867           dropping them (e.g. newsegment, custom events from
8868           dvdreadsrc etc.) and then send them out once we've
8869           determined the type of the stream (and decodebin
8870           has had a chance to plug in a decoder/demuxer).
8871           
8872 2006-03-27  Wim Taymans  <wim@fluendo.com>
8874         * docs/design/part-qos.txt:
8875         First QoS ideas.
8877 2006-03-27  Wim Taymans  <wim@fluendo.com>
8879         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8881         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8882         (gst_base_src_send_event), (gst_base_src_change_state):
8883         Handle element seek correctly when we are streaming.
8884         Fixes #326998.
8886 2006-03-24  Michael Smith  <msmith@fluendo.com>
8888         * docs/faq/gst-uninstalled:
8889           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8890           allow you to correctly run intalled applications built against old 
8891           core, using plugins that require updated core (e.g. running
8892           installed totem against a full uninstalled gstreamer stack)
8894 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8896         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8897         more debug details
8899 2006-03-24  Wim Taymans  <wim@fluendo.com>
8901         * docs/gst/gstreamer-sections.txt:
8902         Rearrange the order of the methods so that related methods
8903         are grouped together in sections.
8905 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8907         * gst/gstelement.c:
8908           Little clarification in the docs
8910 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8912         * docs/README:
8913         formatting fix
8914         * plugins/elements/gstidentity.c:
8915         * plugins/elements/gstqueue.c:
8916         * plugins/elements/gsttee.c:
8917         * plugins/elements/gsttypefindelement.c:
8918         GST_ELEMENT_DETAILS formatting
8920 2006-03-24  Wim Taymans  <wim@fluendo.com>
8922         * libs/gst/base/gstbasesink.h:
8923         Only add fields, not insert or we break ABI.
8925 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8927         * win32/common/libgstbase.def:
8928         * win32/common/libgstreamer.def:
8929           Update, add recently added functions.
8931 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8933         * docs/gst/gstreamer-sections.txt:
8934         * gst/gstutils.c: (gst_pad_query_peer_position),
8935         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8936         * gst/gstutils.h:
8937           API: add some new utility functions:
8938            - gst_pad_query_peer_position()
8939            - gst_pad_query_peer_duration()
8940            - gst_pad_query_peer_convert()
8941           
8942 2006-03-23  Wim Taymans  <wim@fluendo.com>
8944         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8945         (gst_base_sink_init), (gst_base_sink_finalize),
8946         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8947         (gst_base_sink_set_property), (gst_base_sink_get_property),
8948         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8949         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8950         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8951         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8952         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8953         (gst_base_sink_preroll_object), (gst_base_sink_event),
8954         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8955         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8956         (gst_base_sink_query), (gst_base_sink_change_state):
8957         Decouple max-lateness and the fact that QoS messages are generated
8958         with a new property (qos).
8959         added API: GstBaseSink::async_play()
8960         Add vmethod so subclasses can be notified of ASYNC playing
8961         state changes.
8962         Collect timestamp start and stop to report better current
8963         position in EOS/PLAYING/PAUSED/READY/NULL.
8964         Refactor QoS/frame dropping and other measurements.
8965         API: GstBaseSrc::qos
8966         Fixes #326311
8968         * libs/gst/base/gstbasesink.h:
8969         Added Private struct.
8970         API: gst_base_sink_set_qos_enabled()
8971         API: gst_base_sink_is_qos_enabled()
8973 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8975         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8976           If compiling against GLib-2.8 or newer, try to read the
8977           registry file using GMappedFile first before falling back
8978           to fopen() + fread() (#332151).
8980 2006-03-22  Wim Taymans  <wim@fluendo.com>
8982         * gst/gstinfo.c: (gst_debug_set_active),
8983         (gst_debug_category_set_threshold):
8984         Disable debugging unless explicitly activated.
8985         Fixes #335480.
8987 2006-03-22  Wim Taymans  <wim@fluendo.com>
8989         * gst/gstelement.c: (gst_element_set_locked_state),
8990         (gst_element_dispose):
8991         Cleanup the error case.
8993         * gst/gstobject.c: (gst_object_dispose):
8994         print a critical when some object was disposed with
8995         a parent, also revive the object since it might
8996         crash the parent.
8998 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
9000         * tools/gst-launch.1.in:
9001           Fix another typo.
9003 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9005         * configure.ac:
9006         * tests/check/Makefile.am:
9007           disable some tests when we don't have a registry
9008         * tests/check/gst/gstutils.c: (gst_utils_suite):
9009           don't build the part that needs parsing
9011 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9013         * gst/Makefile.am
9014         * tests/examples/Makefile.am:
9015           fix --disable-parse build
9017 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9019         * tools/gst-feedback.1.in:
9020           Fix typo: s/feeback/feedback/ (#133494).
9022 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9024         * tools/Makefile.am:
9025         * tools/gst-launch.1.in:
9026           Add FILES section and correct entry about GST_REGISTRY_PATH
9027           environment variable (#133495; #133494).
9029 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9031         * tools/Makefile.am:
9032         * tools/gst-md5sum.1.in:
9033         * tools/gst-md5sum.c:
9034           Remove gst-md5sum and man page (the md5sink element
9035           required was removed ages ago)
9037 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9039         * gst/gststructure.c: (gst_structure_id_set_value):
9040           Make sure that string fields in structures/taglists
9041           contain valid UTF-8 - we don't want to pass rubbish to
9042           applications because of a buggy plugin (cp. #334167).
9044 2006-03-21  Edward Hervey  <edward@fluendo.com>
9046         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9047         (gst_bin_handle_message_func):
9048         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9049         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9050         (gst_element_set_bus_func):
9051         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9052         * gst/gstminiobject.c: (gst_value_set_mini_object),
9053         (gst_value_take_mini_object):
9054         * gst/gstpad.c: (gst_pad_set_pad_template):
9055         * gst/gstpipeline.c: (gst_pipeline_dispose),
9056         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9057         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9058         (gst_collect_pads_chain):
9059         * libs/gst/net/gstnettimeprovider.c:
9060         (gst_net_time_provider_set_property):
9061         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9062         It's in fact all issues with gst_*object_replace().
9064 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9066         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
9067         
9068         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9069         * pkgconfig/gstreamer-check.pc.in:
9070           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9072 2006-03-21  Edward Hervey  <edward@fluendo.com>
9074         * gst/gstbuffer.h:
9075         * gst/gstevent.h:
9076         * gst/gstmessage.h:
9077         gst_[buffer|event|message]_ref() macros are replaced by a static
9078         inline functions because gcc-4.1 will about if the return value
9079         isn't used.
9080         * tests/check/gst/gstevent.c: (event_probe):
9081         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9083 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
9085         * gst/gstutils.h:
9086         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9087         the type' case. (Closes: #335195 for now). In the future, when we
9088         depend on GLib 2.10, we could also intern the type name using
9089         g_intern_static_string()
9091 2006-03-20  Wim Taymans  <wim@fluendo.com>
9093         * gst/gstbin.c: (gst_bin_handle_message_func),
9094         (bin_query_max_init), (bin_query_position_fold),
9095         (bin_query_position_done), (gst_bin_query):
9096         Position query should also take max of all streams.
9098 2006-03-20  Wim Taymans  <wim@fluendo.com>
9100         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9101         (gst_fake_src_finalize):
9102         Fix leaks in fakesrc.
9104         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9105         Fix leaks in the testcase.
9107 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9109         * gst/gst_private.h:
9110           add win32 specific import decoration(__declspec(dllimport)) 
9111           for all extern GstDebugCategory * variables
9112         * win32/common/libgstbase.def:
9113         * win32/common/libgstcontroller.def:
9114         * win32/common/libgstreamer.def:
9115           Add some exports, remove empty lines
9116         * win32/common/libgstdataprotocol.def:
9117         * win32/common/libgstdataprotocol.dsp:
9118         * win32/common/libgstnet.def:
9119         * win32/common/libgstnet.dsp:
9120           new project files and exportation files added
9121         
9122 2006-03-19  Wim Taymans  <wim@fluendo.com>
9124         * tests/check/libs/basesrc.c: (eos_event_counter):
9125         Use proper return value for probe.
9127 2006-03-17  Wim Taymans  <wim@fluendo.com>
9129         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9130         (gst_pad_push):
9131         Don't leak buffers, caps and pads on negotiation errors.
9133 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9135         * docs/faq/cvs.xml:
9136         * docs/faq/dependencies.xml:
9137         * docs/faq/developing.xml:
9138         * docs/faq/faq.xml:
9139         * docs/faq/general.xml:
9140         * docs/faq/getting.xml:
9141         * docs/faq/legal.xml:
9142         * docs/faq/troubleshooting.xml:
9143         * docs/faq/using.xml:
9144         Faq review and update.
9146 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9148         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9149         (gst_pad_push):
9150         Don't pound the cpu to pieces by checking get_caps when accept_caps
9151         is called with the same caps as the pad already has.
9152         Use GST_DEBUG_OBJECT when outputting caps change information.
9154 2006-03-15  Wim Taymans  <wim@fluendo.com>
9156         * gst/gstclock.c: (gst_clock_class_init):
9157         Fix docs.
9159 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9161         * gst/gstbuffer.h:
9162         Documentation fix.
9164         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9165         (gst_pad_accept_caps), (gst_pad_configure_sink),
9166         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9167         Make the default acceptcaps behaviour be to check the requested 
9168         caps against the gst_pad_get_caps output. 
9170         Ensure that gst_pad_accept_caps is used to check caps when a pad
9171         doesn't have a setcaps function, so that pads automatically refuse 
9172         caps that they don't allow in their pad template. (Fixes #332986)
9174         When a buffer with attached caps is pushed, ensure that the source 
9175         pad receives those caps even if the element didn't call
9176         gst_pad_set_caps first.
9178 2006-03-15  Wim Taymans  <wim@fluendo.com>
9180         * libs/gst/base/gstadapter.c:
9181         Add some docs.
9183 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9185         * win32/common/libgstbase.def:
9186         * win32/common/libgstcontroller.def:
9187         * win32/common/libgstreamer.def:
9188           Add a whole bunch of missing functions (#334434).
9190 2006-03-14  Wim Taymans  <wim@fluendo.com>
9192         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9193         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9194         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9195         Better debug info when we receive a segment event.
9196         Reorganize a bit so we can pass the get_times() results around.
9197         Use the segment format when calculating the running time.
9198         Don't do QoS is sync is disabled or we have no clock or the
9199         element does not want us to sync to the clock.
9200         Don't drop buffers if QoS is disabled for now.
9202 2006-03-14  Wim Taymans  <wim@fluendo.com>
9204         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9205         Marked the stats property as unimplemented so people don't get
9206         wild ideas.
9207         Add debug message when regression goes wrong.
9208         Added some more docs.
9210 2006-03-14  Wim Taymans  <wim@fluendo.com>
9212         * gst/gstsegment.c: (gst_segment_to_stream_time):
9213         Return correct return type in case of errors.
9215 2006-03-14  Wim Taymans  <wim@fluendo.com>
9217         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9218           Don't segfault on invalid formats.
9220 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9222         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9223           Can't use gst_segment_to_running_time() when the segment
9224           is not in GST_TIME_FORMAT (like with filesink, for example).
9225           Stops flac encoding pipelines from spewing critical warnings
9226           at EOS (#331248).
9227           
9228 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9230         * gst/gstpipeline.c: (gst_pipeline_class_init):
9231           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9233         * plugins/elements/gsttypefindelement.c:
9234         (gst_type_find_element_handle_event):
9235           Don't try to typefind empty streams.
9237 2006-03-14  Wim Taymans  <wim@fluendo.com>
9239         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9240         (gst_base_sink_do_qos):
9241         Separate QoS calculation.
9242         Only drop buffers when lateness is bigger than the 
9243         duration of the buffer.
9245 2006-03-13  Wim Taymans  <wim@fluendo.com>
9247         * gst/gstpipeline.c: (gst_pipeline_set_property),
9248         (gst_pipeline_get_property), (do_pipeline_seek),
9249         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9250         (gst_pipeline_get_delay):
9251         Don't deadlock when reading properties.
9253 2006-03-13  Wim Taymans  <wim@fluendo.com>
9255         * libs/gst/base/gstbasetransform.c:
9256         (gst_base_transform_class_init), (gst_base_transform_init),
9257         (gst_base_transform_sink_event),
9258         (gst_base_transform_sink_eventfunc),
9259         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9260         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9261         (gst_base_transform_set_property),
9262         (gst_base_transform_get_property),
9263         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9264         (gst_base_transform_set_qos_enabled),
9265         (gst_base_transform_is_qos_enabled):
9266         * libs/gst/base/gstbasetransform.h:
9267         Make basetransform virtual method for src events too.
9268         Handle QOS in basetransform.
9269         API: gst_base_transform_update_qos()
9270         API: gst_base_transform_set_qos_enabled()
9271         API: gst_base_transform_is_qos_enabled()
9273 2006-03-13  Wim Taymans  <wim@fluendo.com>
9275         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9276         (gst_base_sink_do_sync):
9277         Small cleanups.
9278         Use QOS debug category.
9280 2006-03-13  Wim Taymans  <wim@fluendo.com>
9282         * plugins/elements/gstqueue.c:
9283         Very small doc update.
9285 2006-03-13  Wim Taymans  <wim@fluendo.com>
9287         * gst/gst_private.h:
9288         * gst/gstinfo.c: (_gst_debug_init):
9289         Added QOS debug category
9291 2006-03-13  Wim Taymans  <wim@fluendo.com>
9293         * docs/gst/gstreamer-sections.txt:
9294         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9295         * gst/gstbin.h:
9296         * gst/gstbus.c: (gst_bus_class_init):
9297         * gst/gstbus.h:
9298         * gst/gstclock.c:
9299         * gst/gstelement.c: (gst_element_set_locked_state):
9300         * gst/gstsegment.c:
9301         Documentation updates.
9303         * gst/gstpipeline.c: (gst_pipeline_get_type),
9304         (gst_pipeline_class_init), (gst_pipeline_init),
9305         (gst_pipeline_dispose), (gst_pipeline_set_property),
9306         (gst_pipeline_get_property), (do_pipeline_seek),
9307         (gst_pipeline_send_event), (gst_pipeline_change_state),
9308         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9309         (gst_pipeline_get_delay):
9310         * gst/gstpipeline.h:
9311         Added methods for setting the delay.
9312         API: gst_pipeline_set_delay()
9313         API: gst_pipeline_get_delay()
9314         Add pipeline debug category
9315         Various cleanups.
9316         Updated docs.
9317         Don't reset stream time when seek failed.
9319 2006-03-13  Wim Taymans  <wim@fluendo.com>
9321         * docs/design/draft-klass.txt:
9322         * docs/design/part-clocks.txt:
9323         * docs/design/part-events.txt:
9324         * docs/design/part-gstbin.txt:
9325         * docs/design/part-gstpipeline.txt:
9326         * docs/design/part-messages.txt:
9327         * docs/design/part-negotiation.txt:
9328         * docs/design/part-overview.txt:
9329         * docs/design/part-preroll.txt:
9330         * docs/design/part-seeking.txt:
9331         * docs/design/part-states.txt:
9332         * docs/design/part-streams.txt:
9333         Documentation updates.
9335 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9337         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9338         us to leak strings...
9340 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9342         * libs/gst/net/gstnettimeprovider.c:
9343           fix docs
9344         * win32/common/config.h:
9345           update
9347 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9349         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9351         * configure.ac:
9352           Don't check for libgnomeui (leftover from old examples
9353           that aren't built or disted any longer) (#334303).
9354           
9355 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9357         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9358         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9359           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9360           there's no space left on the device.
9362 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9364         * gst/gstclock.h:
9365           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9366           to cast the input to GstClockTime before comparing with
9367           another GstClockTime value.
9369 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9371         * configure.ac:
9372           back to trunk
9374 === release 0.10.4 ===
9376 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9378         * configure.ac:
9379           releasing 0.10.4, "Light"
9381 2006-03-10  Michael Smith  <msmith@fluendo.com>
9383         * libs/gst/dataprotocol/dataprotocol.c:
9384           Fix docs for dataprocotol to not get the return types completely
9385           wrong for a few functions.
9387 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9389         * docs/gst/gstreamer-sections.txt:
9390         * gst/gstpipeline.c: (gst_pipeline_class_init),
9391         (gst_pipeline_init), (gst_pipeline_set_property),
9392         (gst_pipeline_get_property), (gst_pipeline_change_state),
9393         (gst_pipeline_set_auto_flush_bus),
9394         (gst_pipeline_get_auto_flush_bus):
9395         * gst/gstpipeline.h:
9396           Add new API: gst_pipeline_set_auto_flush_bus() and
9397           gst_pipeline_get_auto_flush_bus() to disable automatic
9398           flushing of the pipeline's GstBus when going from READY
9399           to NULL state (#332045).
9401 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9403         * docs/gst/gstreamer-sections.txt:
9404         * gst/gsturi.c: (gst_uri_has_protocol):
9405         * gst/gsturi.h:
9406            Add new API: gst_uri_has_protocol() (#333779).
9408 2006-03-09  Wim Taymans  <wim@fluendo.com>
9410         * gst/gstclock.c: (gst_clock_entry_new),
9411         (gst_clock_id_compare_func), (gst_clock_id_wait),
9412         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9413         (gst_clock_init), (gst_clock_get_internal_time),
9414         (gst_clock_set_master), (do_linear_regression),
9415         (gst_clock_add_observation), (gst_clock_set_property):
9416         * gst/gstclock.h:
9417         Review docs.
9418         Small cleanups.
9419         Fix a possible segfault when the window-size is made smaller.
9420         Calculate jitter before performing the clock wait. Ideally
9421         the clock implementation should calculate jitter but we need
9422         API breakage for that.
9424         * gst/gstsystemclock.c: (gst_system_clock_init):
9425         Docs review.
9426         
9427         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9428         Remove leftover else
9430         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9431         (gst_systemclock_suite):
9432         Added check to test GST_CLOCK_DIFF.
9434 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9436         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9437         (gst_type_find_helper_get_range):
9438           If we are provided with the size, we should implement
9439           GstTypeFind::get_length, so that typefind functions who
9440           want to can actually peek at the middle of a file.
9442 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9444         * docs/manual/advanced-dataaccess.xml:
9445           Add some very very basic error checking.
9447         * docs/pwg/appendix-checklist.xml:
9448           Some updates to the list of things to check when writing an element.
9450 2006-03-08  Wim Taymans  <wim@fluendo.com>
9452         * docs/design/part-element-transform.txt:
9453         Added some docs about the design of tranform elements.
9455         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9456         (gst_base_src_loop), (gst_base_src_change_state):
9457         Mark buffers with the DISCONT flag.
9459 2006-03-08  Michael Smith  <msmith@fluendo.com>
9461         * gst/gstregistry.h:
9462         * gst/gstregistryxml.c: (gst_registry_save),
9463         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9464         (gst_registry_xml_save_pad_template),
9465         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9466         (gst_registry_xml_write_cache):
9467           Rewrite registry-saving to avoid race conditions and check for
9468           failed writes.
9470 2006-03-08  Wim Taymans  <wim@fluendo.com>
9472         * libs/gst/base/gstbasetransform.c:
9473         (gst_base_transform_transform_caps),
9474         (gst_base_transform_transform_size),
9475         (gst_base_transform_prepare_output_buffer),
9476         (gst_base_transform_get_unit_size),
9477         (gst_base_transform_buffer_alloc),
9478         (gst_base_transform_handle_buffer),
9479         (gst_base_transform_change_state):
9480         Cleanups, separate normal flow from errors, add sensible
9481         DEBUG lines.
9482         Don't try to renegotiate when allocating an output buffer.
9483         Also copy DISCONT buffer flag when copying a buffer.
9484         Reset the transform after we finish streaming, not during.
9486 2006-03-08  Wim Taymans  <wim@fluendo.com>
9488         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9489         Use last buffer timestamp in qos message.
9491 2006-03-07  Wim Taymans  <wim@fluendo.com>
9493         Patch by: Christophe Fergeau
9495         * docs/pwg/advanced-tagging.xml:
9496         * docs/pwg/building-pads.xml:
9497           fixes #333416
9499 2006-03-07  Wim Taymans  <wim@fluendo.com>
9501         * docs/libs/gstreamer-libs-sections.txt:
9502         Added basesink new methods.
9504         * gst/gstevent.c:
9505         * gst/gstevent.h:
9506         Docs updates. Flesh out the QoS docs.
9508         * libs/gst/base/gstadapter.c:
9509         Small doc clarification about ownership and flushing.
9511         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9512         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9513         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9514         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9515         * libs/gst/base/gstbasesink.h:
9516         API additions: 
9517         Added new methods to allow subclass to control max-lateness 
9518         and sync.
9519         Generate very basic QoS events based on last sync observation.
9520         Updated docs, fix typo, added some QoS blurb.
9522         * libs/gst/base/gstbasesrc.c:
9523         Remove obsolete _get_state() calls from docs.
9525 2006-03-07  Wim Taymans  <wim@fluendo.com>
9527         * docs/libs/gstreamer-libs-sections.txt:
9528         * libs/gst/base/gstbasetransform.h:
9529         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9530         Fix docs for GstBaseSrc.
9532 2006-03-07  Wim Taymans  <wim@fluendo.com>
9534         * docs/gst/gstreamer-sections.txt:
9535         * gst/gstbuffer.h:
9536         * gst/gstvalue.c:
9537         * libs/gst/base/gstbasetransform.h:
9538         Small documentation fixes.
9540 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9542         * gst/gstvalue.c:
9543           Document thread-unsafety of gst_value_register_foo_func()
9544           when used at the same time as gst_value_foo() (#322628).
9546 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9548         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9549         (gst_push_src_check_get_range):
9550           Push sources don't support pull mode by default.
9552 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9554         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9555         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9556         (gst_base_src_default_check_get_range):
9557         * libs/gst/base/gstbasesrc.h:
9558           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9559           provide default implementation, and rename
9560           gst_base_src_check_get_range() to
9561           gst_base_src_pad_check_get_range() for clarity.
9563 2006-03-06  Wim Taymans  <wim@fluendo.com>
9565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9566         Make property overridable.
9568 2006-03-06  Wim Taymans  <wim@fluendo.com>
9570         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9571         (gst_base_sink_init), (gst_base_sink_set_property),
9572         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9573         * libs/gst/base/gstbasesink.h:
9574         API addition: Make max-lateness a property.
9576 2006-03-06  Wim Taymans  <wim@fluendo.com>
9578         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9579         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9580         Don't ever draw a frame that is >10ms late.
9582 2006-03-06  Michael Smith  <msmith@fluendo.com>
9584         * gst/gstmessage.c: (_gst_message_copy):
9585           When copying a message, set the parent_refcount of the enclosed
9586           structure to point at the copy, not the original message.
9588 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9590         Patch by: Christophe Fergeau
9592         * gst/gstutils.h:
9593           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9594           usable in c++ code (#333417)
9596 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9598         * gst/gstclock.h:
9599           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9601 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9603         * libs/gst/base/gstbasetransform.c:
9604         (gst_base_transform_transform_caps):
9605           Make sure caps are writable before passing them to
9606           gst_caps_append().
9608 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9610         * gst/gsterror.h:
9611           Fix some minor docs errors.
9613 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9615           Patch by: Ross Burton <ross at burtonini dot com>
9617         * gst/gsterror.c: (_gst_resource_errors_init):
9618         * gst/gsterror.h:
9619           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9621 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9623         * gst/gst.c:
9624         Add a check and output a g_warning when GStreamer is built
9625         against GLib 2.6 but running against 2.8 or higher, and vice 
9626         versa. (Closes: #323542)
9628 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9630         * gst/parse/parse.l:
9631           Commit patch for parse_launch syntax from #331255. Removes 
9632           support for quoted strings and mimetypes when writing filtered 
9633           caps. See the bug report for more details - I'm pretty sure this
9634           obscure feature is not in use by _anyone_ anywhere.
9636           With this simple change, the size of the gstreamer.so here 
9637           drops from 2193KB to 1565KB.
9639 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9641         * plugins/elements/gsttypefindelement.h:
9642         * plugins/elements/gsttypefindelement.c:
9643         (gst_type_find_element_src_event), (start_typefinding),
9644         (stop_typefinding), (gst_type_find_element_handle_event),
9645         (gst_type_find_element_chain),
9646         (gst_type_find_element_chain_do_typefinding):
9647           Use gst_type_find_helper_for_buffer() for chain-based
9648           typefinding.
9650 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9652         * plugins/elements/gsttypefindelement.c:
9653         (gst_type_find_element_class_init),
9654         (gst_type_find_element_set_property),
9655         (gst_type_find_element_get_property):
9656           Deprecate "maximum" property (not only was it only taken into
9657           account for typefinding in push-mode anyway, it also was never
9658           actually possible to set it in the first place because the
9659           property was registered with the numeric property ID for the
9660           "minimum" property). Register "maximum" property correctly,
9661           for the sake of future copy'n'pasters. Remove some cruft
9662           from property get/set functions.
9664 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9666         * plugins/elements/gsttypefindelement.c:
9667         (gst_type_find_element_activate):
9668           Use gst_type_find_helper_get_range() here, so we
9669           can honour the "minimum" property and also emit
9670           the signal with the correct probability of the found caps.
9672 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9674         * docs/libs/gstreamer-libs-sections.txt:
9675         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9676         (helper_find_suggest), (gst_type_find_helper_get_range),
9677         (gst_type_find_helper):
9678         * libs/gst/base/gsttypefindhelper.h:
9679           New API: gst_type_find_helper_get_range() (#333042).
9681 2006-03-02  Michael Smith  <msmith@fluendo.com>
9683         * gst/gstregistryxml.c: (load_feature):
9684           Asserting on a failure to read part of the registry is Not Cool.
9685           Just log a warning and return NULL (which is already handled)
9687 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9689         * win32/common/libgstbase.def:
9690           added export of gst_type_find_helper_for_buffer
9691         * win32/common/libgstbase.def:
9692           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9693           gst_ghost_pad_get_target
9695 2006-02-28  Wim Taymans  <wim@fluendo.com>
9697         * docs/design/draft-klass.txt:
9698         We use Filter now.
9699         Added Connector to mark elements that are only used to
9700         allow pipeline connections.
9701         Moved Debug to extra feature since most of them are 
9702         functionally something else.
9704 2006-02-28  Wim Taymans  <wim@fluendo.com>
9706         * docs/design/draft-klass.txt:
9707         Some updates and clarifications.
9709 2006-02-28  Wim Taymans  <wim@fluendo.com>
9711         * docs/design/draft-klass.txt:
9712         Proposal for klass field values.
9714         * docs/design/part-streams.txt:
9715         Start of a doc describing stream anatomy.
9717 2006-02-28  Wim Taymans  <wim@fluendo.com>
9719         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9720         Help the compiler a bit with type registration.
9721         Use existing forward cod path instead of duplicating it when 
9722         handling a message.
9723         
9724         * gst/gstbus.c: (gst_bus_get_type):
9725         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9726         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9727         * gst/gstclock.c: (gst_clock_get_type):
9728         * gst/gstelement.c: (gst_element_get_type),
9729         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9730         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9731         * gst/gstminiobject.c: (gst_mini_object_get_type):
9732         * gst/gstpad.c: (gst_pad_get_type):
9733         * gst/gstsegment.c: (gst_segment_get_type):
9734         * gst/gststructure.c: (gst_structure_get_type):
9735         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9736         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9737         * gst/gstvalue.c:
9738         Help compiler with type registration.
9740         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9741         Small doc update.
9743 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9745         * plugins/elements/gsttypefindelement.c:
9746         (gst_type_find_element_handle_event):
9747           When we get an EOS event and have not found a type yet
9748           (most likely because we had not yet accumulated
9749           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9750           type given the data we have so far. Fixes typefinding
9751           for very short streams again, most notably quicktime
9752           redirections as used on Apple's trailer site (#331701).
9754 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9756         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9757         (gst_type_find_helper):
9758           Try typefinding factories with the highest rank first.
9760 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9762         * docs/libs/gstreamer-libs-docs.sgml:
9763         * docs/libs/gstreamer-libs-sections.txt:
9764         * libs/gst/base/gsttypefindhelper.c:
9765           Add section for typefind helper and add documentation
9766           for the old and the new function.
9768 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9770         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9771         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9772         (gst_type_find_helper_for_buffer):
9773         * libs/gst/base/gsttypefindhelper.h:
9774           New API: gst_type_find_helper_for_buffer() (#332723).
9775           
9776 2006-02-27  Michael Smith  <msmith@fluendo.com>
9778         Patch by: Loïc Minier
9780         * configure.ac:
9781         * docs/Makefile.am:
9782         * docs/slides/Makefile.am:
9783           prevent CVS directories getting disted.
9785 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9787         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9788           Use the REFCOUNTING category for caps refcounting.
9789           
9790 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9792         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9793           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9795 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9797         * plugins/elements/gsttypefindelement.c:
9798         (gst_type_find_element_activate):
9799           Use gst_pad_check_pull_range() before _activate_pull()
9800           to avoid unnecessary open/close (see #331690).
9802 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9804         * gst/gstutils.c:
9805           Docs enhancement: make it crystal clear what the
9806           gst_pad_add_*_probe() callbacks should look like.
9808 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9810         * libs/gst/base/gstbasesrc.c:
9811           Document how applications can stop recording from
9812           live sources (see #330996).
9814 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9816         * tests/check/Makefile.am:
9817         * tests/check/libs/basesrc.c: (eos_event_counter),
9818         (basesrc_eos_events_pull), (basesrc_eos_events_push),
9819         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9820         (gst_basesrc_suite), (main):
9821           ... and add some tests for the base source EOS stuff.
9823 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9825         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9826           Test case originally showed the problem fixed below,
9827           but was then amended. Add checks back at the place
9828           where they used to be.
9830 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9832         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9833         (gst_base_src_init), (gst_base_src_loop),
9834         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9835         (gst_base_src_change_state):
9836         * libs/gst/base/gstbasesrc.h:
9837           Don't unconditionally send EOS when going from PAUSED to
9838           READY state, esp. make sure we don't send two EOS events
9839           in some cases (e.g. one when reaching EOS and one when
9840           going from PAUSED to READY). Also, we don't want to send
9841           EOS events when operating in pull mode. However, we do
9842           want to send an EOS event when shutting down a live
9843           source explicitly, for example (fixes #330996).
9844           
9845 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9847         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9848           Update src->read_position after a seek when not using mmap.
9849           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9851 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
9853         * gst/Makefile.am:
9854         * gst/gstparse.h:
9855         * gst/gstutils.c:
9856         * gst/gstutils.h:
9857         Make things work with --disable-parse as they do with 
9858         --disable-load-save - the symbols involved disappear, but the
9859         header is still installed and GST_DISABLE_PARSE is included via
9860         gstconfig.h
9862 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9864         * libs/gst/base/gstbasetransform.c:
9865         (gst_base_transform_change_state): Fix a stupid bug. I was 
9866         sure I compiled that.
9868 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9870         * gst/gstpad.c: (gst_pad_set_blocked_async):
9871         * gst/gstutils.c: (gst_pad_add_data_probe),
9872         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9873         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9874         (gst_pad_remove_buffer_probe): Make those function act on the
9875         ghostpad target when it's a ghostpad. (Closes #331727)
9877 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9879         * libs/gst/base/gstbasetransform.c:
9880         (gst_base_transform_change_state): Make basetransform reusable.
9881         (Closes #331898)
9883 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
9885         * docs/random/release:
9886         Move the current documentation of how to do a release to the top
9887         of the file.
9889         * gst/gstbin.c: (gst_bin_class_init),
9890         (gst_bin_handle_message_func):
9891         Allow multiple state-recalculation threads. (Closes #328873)
9893 2006-02-19  Julien MOUTTE  <julien@moutte.net>
9895         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9896         * gst/gstpad.c: (gst_pad_set_event_function),
9897         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9898         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9899         2 strings. You can't use the STR_NULL macro on that.
9901 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
9903         * gst/gstpad.c: (gst_pad_set_event_function),
9904         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9905         (gst_pad_set_getcaps_function)
9906         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9907           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9908           So now, we can use --gst-debug-level=5 on Windows
9909         * win32/common/libgstcontroller.def:
9910           Added export of gst_controller_init
9911         * win32/vs6/libgstcontroller.dsp:
9912           Fixed Release post build configuration
9914 2006-02-17  Wim Taymans  <wim@fluendo.com>
9916         * tests/check/gst/gstquery.c: (GST_START_TEST):
9917         Added another check.
9919 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
9921         * plugins/elements/gsttypefindelement.c: (find_peek):
9922           We can do peeks at non-zero offsets, as long as they
9923           fall within the buffer we have.
9925 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
9927         * tests/check/Makefile.am:
9928         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9929         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9930         (parse_suite), (main):
9931           Add testsuite for parse launch syntax
9933 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
9935         * plugins/elements/gsttypefindelement.c:
9936         (gst_type_find_element_chain):
9937           When typefinding is unsuccessful in the chain function, don't
9938           error out immediately. Only error out with NO_CAPS_FOUND if
9939           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9940           otherwise simply wait for more data so we can try typefinding
9941           again with more data later. Also, don't attempt to typefind
9942           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9943           this should improve typefinding from network sources where the
9944           size of the first buffer can be somewhat random.
9946 2006-02-14  Wim Taymans  <wim@fluendo.com>
9948         * docs/gst/gstreamer-sections.txt:
9949         * gst/gstpadtemplate.c:
9950         * gst/gstpadtemplate.h:
9951         Fix padtemplate docs, fixes #328805.
9953 2006-02-14  Wim Taymans  <wim@fluendo.com>
9955         * tools/gst-launch.c: (main):
9956         NO_PREROLL is not an ERROR so don't send confusing messages
9957         to the user.
9959 2006-02-14  Wim Taymans  <wim@fluendo.com>
9961         Patch by: Torsten Schoenfeld
9963         * gst/gstregistry.c: (gst_registry_get_default),
9964         (_gst_registry_cleanup):
9965         Protect default registry with lock and ref/sink it.
9966         Fixes #324818
9968 2006-02-14  Wim Taymans  <wim@fluendo.com>
9970         * gst/gstbuffer.c:
9971         * gst/gstquery.c: (gst_query_list_add_format),
9972         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9973         (gst_query_parse_formats_nth):
9974         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9975         Docs fixes.
9977 2006-02-14  Wim Taymans  <wim@fluendo.com>
9979         * docs/gst/gstreamer-sections.txt:
9980         Reworked query docs.
9982         * gst/gstquery.c: (gst_query_new_formats),
9983         (gst_query_list_add_format), (gst_query_set_formats),
9984         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9985         (gst_query_parse_formats_nth):
9986         * gst/gstquery.h:
9987         Flesh out formats query, added some new methods.
9988         Fix part of #324398.
9990         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9991         Added query creation tests.
9993 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
9995         * gst/gstpad.c: (fixate_value):
9996         Add a default fixation for fraction lists.
9998 2006-02-13  Wim Taymans  <wim@fluendo.com>
10000         * gst/gsttask.c: (gst_task_init), (gst_task_func),
10001         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10002         (gst_task_join):
10003         * gst/gsttask.h:
10004         Detect and warn for obvious deadlocks. fixes #320340
10005         Fix error case where lock was not released.
10007         * tests/check/Makefile.am:
10008         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10009         (task_func), (gst_element_suite), (main):
10010         Add task check.
10012 2006-02-13  Wim Taymans  <wim@fluendo.com>
10014         * docs/gst/gstreamer-sections.txt:
10015         * gst/gstbus.c:
10016         Add new functions to docs.
10018 2006-02-13  Wim Taymans  <wim@fluendo.com>
10020         * docs/design/part-TODO.txt:
10021         Updated TODO list, basesrc supports seeking to non-bytes
10022         formats.
10024         * docs/design/part-element-sink.txt:
10025         Update docs.
10027         * gst/gstbin.c: (bin_replace_message),
10028         (gst_bin_handle_message_func):
10029         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10030         * gst/gstevent.c: (gst_event_finalize):
10031         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10032         (gst_pad_send_event):
10033         Use shiny new _TYPE_NAME macros.
10035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10036         Move debug statement up.
10038         * gst/gstelement.c: (gst_element_set_locked_state):
10039         Add some debugging.
10041 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
10043         * docs/gst/gstreamer-sections.txt:
10044         * gst/gstmessage.h:
10045         * gst/gstquery.h:
10046           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10047           macros (#330906). Also, document the already existing
10048           GST_QUERY_TYPE macro.
10050 2006-02-13  Wim Taymans  <wim@fluendo.com>
10052         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10053         (event_probe), (GST_START_TEST):
10054         Only events up to the pipeline EOS are counted, there are
10055         some more when going to NULL currently which we don't care
10056         about for now.
10058 2006-02-13  Wim Taymans  <wim@fluendo.com>
10060         * gst/gstpad.c: (gst_pad_send_event):
10061         Correctly check flushing and emit probes. fixes #330125
10063 2006-02-10  Andy Wingo  <wingo@pobox.com>
10065         * gst/gstbus.c (gst_bus_class_init): Declare our private data
10066         structure.
10067         (gst_bus_init): Cache the location of the private data in the
10068         instance structure.
10069         (gst_bus_enable_sync_message_emission) 
10070         (gst_bus_disable_sync_message_emission): Implement new public
10071         functions.
10072         (gst_bus_post): Emit the sync-message signal if the user asked for
10073         it. Fixes #330684.
10075         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10076         location of the bus-private structure.
10077         (gst_bus_enable_sync_message_emission)
10078         (gst_bus_disable_sync_message_emission): API addition
10080 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
10082         Patch by: Vincent Torri
10084         * docs/pwg/building-boiler.xml:
10085         PWG patch from #326800
10087 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10089         * configure.ac:
10090         * docs/Makefile.am:
10091         * docs/design/Makefile.am:
10092           Dist design docs.
10094 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10096         * configure.ac:
10097           back to CVS
10099 === release 0.10.3 ===
10101 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
10103         * configure.ac:
10104           releasing 0.10.3, "Like a virgin"
10106 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10108         * configure.ac:
10109           2nd prerelease of 0.10.3
10110           Bump libtool versioning.
10112 2006-02-07  Andy Wingo  <wingo@pobox.com>
10114         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10115         update last_stop if we're in TIME format and the timestamp is
10116         valid.
10118         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10119         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10120         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10121         If we get a new newsegment with a different format, adapt
10122         accordingly.
10124         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10125         of 0. Not a problem, really.
10127         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10128         warn if sync=true.
10130 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10132         * configure.ac:
10133           Prelease of 0.10.3
10135 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10137         * win32/vs7:
10138           project files updated to the default vs7 configuration
10139         * win32/common/libgstbase.def:
10140         * win32/common/libgstreamer.def:
10141           added new symbols,
10142           removed empty lines,
10143           sorted all exported symbols alphabetically
10144         * win32/common/dirent.c:
10145         * win32/common/dirent.h:
10146         * win32/common/gchar.h:
10147           use windows line end.
10148           
10149 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10151         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10152           Send EOS event when stopping.
10154 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10156         * docs/README:
10157           Tell folks what to do if the plugin-foobar.xml file
10158           hasn't been generated for a newly-added plugin.
10160 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10163         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10164         (gst_collect_pads_start), (gst_collect_pads_stop),
10165         (gst_collect_pads_event): Collectpads now holds a reference
10166         to the GstPad that was added. Indeed we don't want to look
10167         at pads that might just go away with no warning...
10169 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10171         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10172         (gst_collect_pads_start), (gst_collect_pads_stop),
10173         (gst_collect_pads_event), (gst_collect_pads_chain):
10174         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10175         Mark Nauwelaerts's patch on bug #328491.
10177 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10179         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10180         (gst_utils_suite):
10181           Add some simple tests for gst_parse_bin_from_description() and
10182           gst_bin_find_unconnected_pad() (#329069).
10184 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10186         * tools/gst-launch.c: (event_loop), (main):
10187           Catch errors during preroll (#320084).
10189 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10191         * plugins/elements/gsttypefindelement.c:
10192         (gst_type_find_element_activate):
10193           Post TYPE_NOT_FOUND error message when typefinding
10194           is unsuccessful in the activate function as well.
10196 2006-02-02  Wim Taymans  <wim@fluendo.com>
10198         * docs/design/part-element-sink.txt:
10199         Updated doc.
10201 2006-02-02  Wim Taymans  <wim@fluendo.com>
10203         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10204         (gst_base_sink_render_object),
10205         (gst_base_sink_queue_object_unlocked):
10206         Only keep track of prerollable items when we are 
10207         prerolling.
10208         Before rendering after preroll, always check if we
10209         have queued items.
10210         Added some more debugging.
10212 2006-02-02  Wim Taymans  <wim@fluendo.com>
10214         * gst/gstelement.c: (gst_element_continue_state),
10215         (gst_element_set_state_func), (gst_element_change_state):
10216         Fixed #326576, been running this for quite some time with
10217         no regressions at all.
10219 2006-02-02  Wim Taymans  <wim@fluendo.com>
10221         * common/gst.supp:
10222         Added more suppressions
10224 2006-02-02  Wim Taymans  <wim@fluendo.com>
10226         * docs/design/part-element-sink.txt:
10227         Updated document.
10229         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10230         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10231         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10232         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10233         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10234         (gst_base_sink_preroll_object),
10235         (gst_base_sink_queue_object_unlocked),
10236         (gst_base_sink_queue_object), (gst_base_sink_event),
10237         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10238         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10239         (gst_base_sink_get_position), (gst_base_sink_change_state):
10240         * libs/gst/base/gstbasesink.h:
10241         Totally refactored matching the design doc.
10242         Use two segments, one to clip incomming buffers and another to
10243         perform sync.
10244         Handle queueing correctly, bypass the queue when playing.
10245         Make EOS cancelable.
10246         Handle errors correctly when operating in pull based mode.
10248         * tests/check/elements/fakesink.c: (GST_START_TEST),
10249         (fakesink_suite):
10250         Added new check for sinks.
10252 2006-02-02  Wim Taymans  <wim@fluendo.com>
10254         * gst/gstsegment.c: (gst_segment_clip):
10255         No reason to refuse to clip when start == -1
10257 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10259         * docs/README:
10260         * docs/manual/intro-basics.xml:
10261         * docs/manual/intro-preface.xml:
10262         * docs/manual/manual.xml:
10263         * docs/pwg/advanced-dparams.xml:
10264         * docs/pwg/intro-basics.xml:
10265         * docs/pwg/intro-preface.xml:
10266         * docs/pwg/pwg.xml:
10267           describe dparams (controller) for plugins
10268           unify docs a little more
10270 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10272         * docs/gst/gstreamer-sections.txt:
10273         * gst/gstutils.c: (element_find_unconnected_pad),
10274         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10275         * gst/gstutils.h:
10276           Add new API: gst_parse_bin_from_description() and
10277           gst_bin_find_unconnected_pad() (#329069).
10279 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10281         * docs/manual/README:
10282           uncover a nasty detail of the docs build
10284 2006-01-31  Wim Taymans  <wim@fluendo.com>
10286         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10287         Don't cache duration messages if we're not going to use or
10288         free them.
10290 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10292         * docs/manual/advanced-dparams.xml:
10293         * docs/pwg/advanced-dparams.xml:
10294           more dparam docs
10295         * gst/gstindex.c:
10296           fix docs
10297         * libs/gst/controller/lib.c: (gst_controller_init):
10298           init just once
10300 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10302         * gst/gstelement.c: (gst_element_message_full):
10303           also show file/line/func if no additional debug was given
10305 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10306         
10307         * win32/vs7/grammar.vcproj:
10308           activate copy of autogenerated files for Release mode
10310 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10311         
10312         * win32/common/libgstreamer.def:
10313           export gst_value_compare
10315 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10317         * plugins/elements/Makefile.am:
10318         * plugins/elements/gstelements.c:
10319         * plugins/elements/gstfdsink.c: (_do_init),
10320         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10321         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10322         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10323         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10324         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10325         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10326         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10327         * plugins/elements/gstfdsink.h:
10328         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10330 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10332         * docs/manual/advanced-dparams.xml:
10333           describe controller
10334         * docs/manual/advanced-position.xml:
10335         * docs/manual/basics-init.xml:
10336         * docs/manual/manual.xml:
10337         * docs/manual/titlepage.xml:
10338         * docs/pwg/pwg.xml:
10339         * docs/pwg/titlepage.xml:
10340           cleanup xml (more to come)
10341         * libs/gst/controller/gstcontroller.c:
10342           fix typo
10344 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10345         
10346         * win32/vs6/grammar.dsp:
10347           add autogen of gstmarshal.c,h for Release mode
10348                 
10349 2006-01-30  Wim Taymans  <wim@fluendo.com>
10351         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10352         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10353         (gst_base_sink_handle_object), (gst_base_sink_event),
10354         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10355         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10356         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10357         (gst_base_sink_deactivate), (gst_base_sink_activate),
10358         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10359         (gst_base_sink_query), (gst_base_sink_change_state):
10360         Basesink cleanups, remove some old code.
10361         Handle the case where a subclass can preroll in the render
10362         method (mostly audiosinks).
10363         Handle more events.
10364         Remove some locks around variables that are now protected
10365         with the PREROLL_LOCK (clock_id, flushing, ..).
10366         Optimize position query some more, do correct locking.
10367         Remove old code to push queue in state change, this is not
10368         needed anymore since preroll blocks on all prerollable items 
10369         now.
10370         Almost implemented as described in design doc.
10372 2006-01-30  Wim Taymans  <wim@fluendo.com>
10374         * tests/check/gst/gstbin.c: (GST_START_TEST):
10375         Wait for refcount to settle down before checking.
10377 2006-01-30  Wim Taymans  <wim@fluendo.com>
10379         * docs/design/part-element-sink.txt:
10380         Pseudo code overview of desired sink behaviour regarding
10381         preroll.
10383 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10384         * win32/vs6/grammar.dsp:
10385           fix some bugs in Release mode for autogenerated files
10386                 
10387 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10388         * win32/common/libgstbase.def:
10389         * win32/common/libgstreamer.def:
10390           export some new symbols: gst_base_src_set_format,
10391           gst_iterator_next, gst_structure_set_valist
10393 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10395         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10396         Set pad functions unconditionally. Fixes #329105.
10398 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10399         * win32/vs8:
10400           add vs8 project files created by Sergey Scobich
10402 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10404         * gst/gstutils.c: (gst_element_unlink_pads):
10405         Don't leak pad references.
10407         * tests/check/elements/fakesink.c: (GST_START_TEST):
10408         * tests/check/generic/sinks.c: (GST_START_TEST):
10409         * tests/check/generic/states.c: (GST_START_TEST):
10410         * tests/check/gst/gstbin.c: (GST_START_TEST):
10411         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10412         * tests/check/gst/gstelement.c: (GST_START_TEST):
10413         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10414         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10415         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10416         Fix a bunch of leaks. Make generic/sinks.c
10417         use a bit less cpu by slowing the buffer rate
10418         between fakesrc and fakesink.
10419         
10420 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10421         * gst/gstcaps.c:
10422         * gst/gstelement.c: (gst_element_send_event):
10423         * gst/gstevent.c:
10424         * gst/gstinfo.c:
10425         * gst/gstiterator.c:
10426         * gst/gstiterator.h:
10427         * gst/gstpad.c: (gst_pad_send_event):
10428         * gst/gststructure.c:
10429         * gst/gsturi.c:
10430         * gst/gstutils.c:
10431         * gst/gstvalue.c:
10432         * libs/gst/base/gstadapter.c:
10433           doc fixes, to link to function, just write gst_cool_function(), don't
10434           prefix with '#'
10436 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10438         * plugins/elements/gsttee.c: (gst_tee_do_push),
10439         (gst_tee_handle_buffer):
10440         Always prefer an actual return value from a src
10441         pad in place of NOT_LINKED. This means we return
10442         WRONG_STATE when all src pads are WRONG_STATE
10443         instead of NOT_LINKED.
10445         Lock when replacing the last message to prevent
10446         racing with the get_property method.
10448         Add debug output
10450 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10452         * tests/check/Makefile.am:
10453         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10454         (main):
10455         Add a very simple check that should have caught the memleak I fixed
10456         last night (if not for the slice allocator hiding it)
10458 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10460         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10461         (gst_bin_remove_func), (gst_bin_handle_message_func),
10462         (bin_query_duration_fold), (bin_query_generic_fold):
10463         Clean up references to the clock provider when disposed or when
10464         handling a clock-lost message from it.
10466         Unref sinks when performing a query via gst_iterator_fold, as the
10467         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10469         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10470         (gst_clock_set_master):
10471         Drop our reference to the master clock, if any, when we are disposed.
10473         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10474         Chain up in dispose. 
10476 2006-01-26  Wim Taymans  <wim@fluendo.com>
10478         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10479         Add some debugging.
10481 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10483         * plugins/elements/gsttee.c: (gst_tee_do_push),
10484         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10485         handles pad being NOT_LINKED or in WRONG_STATE.
10487 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10489         * win32/MANIFEST:
10490           more updating
10492 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10494         * win32/MANIFEST:
10495           remove obsolete entry
10497 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10499         * docs/gst/gstreamer-sections.txt:
10500         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10501         (gst_bin_iterate_sources), (gst_bin_send_event):
10502         * gst/gstbin.h:
10503         * gst/gstelement.c: (gst_element_send_event):
10504         * gst/gstevent.c:
10505         * gst/gstpad.c: (gst_pad_send_event):
10506           added code for downstream events, reviewed docs in gstevent.c
10508 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10510         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10511         We only query position using the clock in the playing state.
10512         Query peer in the other cases.
10513         * win32/common/config.h: Updates.
10515 2006-01-24  Wim Taymans  <wim@fluendo.com>
10517         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10518         A clock entry that is scheduled for the exact time of the
10519         clock is still in time.
10521         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10522         (gst_base_sink_do_sync):
10523         Add some more debug info.
10525 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10527         * win32/vs7:
10528           Add new vs7 project files and solution.
10530 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10532         * win32/vs7:
10533           all files removed as they were out-dated.
10535 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10537         * docs/random/release:
10538           update notes
10539         * gst/gstbin.c: (gst_bin_init):
10540         * gst/gstbus.c: (gst_bus_new):
10541         * gst/gstbus.h:
10542         * gst/gstpipeline.c: (gst_pipeline_init):
10543           use gst_bus_new(), improve logging, fix docs
10544         * win32/common/config.h:
10545           update for cvs build
10547 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10549         * autogen.sh:
10550           up required version of automake to 1.7
10552 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10554         * win32/common/libgstreamer.def:
10555           export gst_buffer_is_metadata_writable
10557 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10559         * docs/gst/gstreamer-sections.txt:
10560         * gst/gstevent.h:
10561           Add gst_event_replace() (#327001)
10563 2006-01-20  Wim Taymans  <wim@fluendo.com>
10565         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10566         Make it actually compile too..
10568 2006-01-20  Wim Taymans  <wim@fluendo.com>
10570         * gst/gstcaps.c:
10571         Clarify behaviour of _is_equal() when passing NULL parameters.
10573         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10574         (gst_pad_set_caps):
10575         Cleanups. Don't unref NULL caps.
10576         When setting the same caps, protect caps of the pad with
10577         proper lock.
10578         Use full functionality of _is_equal() when comparing caps.
10580 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10583         Don't loop infinitely if there are no buffers to present. Partially
10584         fixes #327197, but collectpads is just broken for reusing elements
10585         to do multiple encodes atm.
10587 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10589         * tools/gst-inspect.c: (print_element_features):
10590         * tools/gst-xmlinspect.c: (main):
10591         URL_HANDLER is not a plugin feature we can search for in
10592         the registry.
10594 2006-01-19  Edward Hervey  <edward@fluendo.com>
10596         * gst/gstelement.c: (gst_element_pads_activate): 
10597         When activating, do src pads first, then sink pads.
10598         When de-activating, do sink pads first, then src pads.
10600 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10602         * docs/gst/gstreamer-sections.txt:
10603         Add gst_index_add_associationv to the docs
10605 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10607         * gst/gstevent.c:
10608           Fix docs typo
10610         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10611         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10612           Do some refactoring. Doesn't actually change functionality,
10613           but makes landing the DRAIN event easier later.
10615 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10617         * docs/pwg/advanced-scheduling.xml:
10618           Update from 0.9.x to 0.10 API and make example a bit
10619           clearer.
10621 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10623         * docs/gst/gstreamer-sections.txt:
10624         Add gst_buffer_(is|make)_metadata_writable methods.
10626 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10628         * docs/design/part-sparsestreams.txt:
10629         Update sparse streams doc, hopefully for greater clarity
10631 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10633         * docs/design/part-events.txt:
10634         Remove mention of FILLER events.
10635         Add DRAIN event.
10637         * docs/design/part-sparsestreams.txt:
10638         Write some things about using NEWSEGMENT to keep sparse streams
10639         flowing.
10641 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10643         * gst/gstbin.c: (gst_bin_dispose):
10644           Guard gst_object_unref call against a NULL object (dispose
10645           can theoretically be called multiple times).
10646           
10647 2006-01-18  Wim Taymans  <wim@fluendo.com>
10649         * gst/gstbin.c: (gst_bin_element_set_state):
10650         * gst/gstclock.c: (gst_clock_id_wait):
10651         Added some more debug info.
10653         * libs/gst/base/gstadapter.c:
10654         Added more docs.
10656         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10657         (gst_base_sink_do_sync), (gst_base_sink_chain):
10658         Added some comments.
10660 2006-01-18  Wim Taymans  <wim@fluendo.com>
10662         * tests/check/Makefile.am:
10663         * tests/check/elements/fakesink.c: (chain_async_buffer),
10664         (chain_async), (chain_async_return), (GST_START_TEST),
10665         (fakesink_suite), (main):
10666         Added fakesink test that checks prerolling and clipping
10667         behaviour.
10669         * tests/check/gst/gstutils.c: (GST_START_TEST):
10670         Make check run faster so that buildbots don't timeout.
10672 2006-01-18  Wim Taymans  <wim@fluendo.com>
10674         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10675         (gst_base_sink_do_sync):
10676         Some cleanups.
10677         When the sink finishes blocking on the preroll buffer, it can
10678         immediatly render it instead of rendering when the next buffer
10679         arrives.
10681 2006-01-18  Wim Taymans  <wim@fluendo.com>
10683         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10684         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10685         (gst_base_sink_chain):
10686         Small cleanups.
10687         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10688         Don't store _last_stop if the buffer is dropped.
10690 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10692         * plugins/elements/gsttypefindelement.c:
10693         (gst_type_find_element_class_init):
10694           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10695           object method handler that sets the caps on the pad and we want
10696           that to happen before we emit the signal (fixes e.g. feeding a
10697           plain text file to decodebin).
10699 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10701         * gst/gstplugin.c: Add MPL and Proprietary as license options
10703 2006-01-18  Andy Wingo  <wingo@pobox.com>
10705         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10706         symbol was exported before, it appears this was just an oversight.
10707         Fixes #168703.
10708         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10710         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10711         prototype to gint. OK since this prototype was not in the header.
10713 2006-01-17  Andy Wingo  <wingo@pobox.com>
10715         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10716         registry while we remove plugins.
10718         * tools/gst-inspect.c (print_element_info): Don't unref the
10719         factory arg, that should be the responsibility of whatever code
10720         received the ref. Fixes a double-free when called from
10721         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10722         (main): Unref the factory if we have one.
10723         (print_element_list): No change -- relies on the
10724         plugin_feature_list_free to free the list of features.
10726 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10728         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10729         (gst_buffer_make_metadata_writable):
10730         * gst/gstbuffer.h:
10731         * libs/gst/base/gstbasetransform.c:
10732         (gst_base_transform_prepare_output_buf):
10733         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10734         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10735           Replace gst_buffer_(make|is)_metadata_writable patch now
10736           that the release is out.
10738 2006-01-17  Andy Wingo  <wingo@pobox.com>
10740         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10741         in the present tense without reference to versions.
10743         * gst/gstregistry.c (gst_registry_add_plugin)
10744         (gst_registry_remove_plugin, gst_registry_remove_feature)
10745         (gst_registry_find_feature, gst_registry_get_feature_list)
10746         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10747         (gst_registry_lookup, gst_registry_scan_path)
10748         (_gst_registry_remove_cache_plugins)
10749         (gst_registry_get_feature_list_by_plugin): Add argument
10750         validation.
10752 === release 0.10.2 ===
10754 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10756         * configure.ac:
10757           releasing 0.10.2, "If man is five"
10759 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10761         * gst/gstbuffer.c:
10762         * gst/gstbuffer.h:
10763         * libs/gst/base/gstbasetransform.c:
10764         (gst_base_transform_prepare_output_buf):
10765         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10766         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10767           Back out patch until after the release.
10769 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10771         * gst/gstminiobject.c:
10772           Spelling fix in docs.
10773         * ChangeLog - remove conflict indicator
10775 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10777         Reviewed By: Andy Wingo
10779         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10780         (gst_buffer_make_metadata_writable):
10781         * gst/gstbuffer.h:
10782           Add gst_buffer_(is|make)_metadata_writable as analogues of
10783           gst_buffer_(is|make)_writable.
10785         * libs/gst/base/gstbasetransform.c:
10786         (gst_base_transform_prepare_output_buf):
10787         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10788           Use name gst_buffer_(is|make)_metadata_writable functions.
10790         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10791           Test gst_buffer_(is|make)_metadata_writable
10792         
10793           (Closes: #324162)
10795 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10797         * docs/manual/Makefile.am:
10798           don't do parallel make
10799         * configure.ac:
10800           AC_SUBST HOST_CPU
10801         * win32/common/config.h.in:
10802           add generations for HOST_CPU and GST_MAJORMINOR
10803         * win32/common/config.h:
10804           commit generated result
10806 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
10808         * docs/manual/appendix-integration.xml:
10809           Update GNOME integration section to use gst_init_get_option_group()
10810           instead of the old popt stuff (#322911). Also, GNOME applications
10811           should  now use gconf*sink and gconf*src instead of the old gconf
10812           helper lib we had.
10814 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
10817         * docs/gst/gstreamer-docs.sgml:
10818         * docs/gst/gstreamer-sections.txt:
10819         * docs/libs/gstreamer-libs-sections.txt:
10820           add new API entries to the docs
10821         * libs/gst/controller/Makefile.am:
10822         * libs/gst/controller/gstcontroller.c:
10823         * libs/gst/controller/gstcontroller.h:
10824         * libs/gst/controller/gstcontrollerprivate.h:
10825         * libs/gst/controller/gsthelper.c:
10826         * libs/gst/controller/gstinterpolation.c:
10827           move private structs to private header
10828         * po/README:
10829           gstreamer-0.7 -> gstreamer-0.10
10830         * tests/check/libs/struct_i386.h:
10831           remove private structs
10833 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10835         * plugins/indexers/Makefile.am:
10836           Fixes as part of #317048
10838 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10840         * plugins/indexers/Makefile.am:
10841           fix #316086 - compilation when mmap is missing
10843 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
10845         * libs/gst/base/gstbasesink.c:
10846           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
10847           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10848         * win32/common/config.h:
10849           added some defines GST_MAJORMINOR and HOST_CPU
10850         * win32/common/libgstbase.def:
10851         * win32/common/libgstreamer.def:
10852           added some exported functions.
10854 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10856         * libs/gst/controller/gstcontroller.c:
10857         (gst_controlled_property_set_interpolation_mode),
10858         (gst_controlled_property_new):
10859         * libs/gst/controller/gstcontroller.h:
10860         * libs/gst/controller/gstinterpolation.c:
10861         (interpolate_none_get_string_value_array):
10862           make G_TYPE_STRING controlable
10864 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10866         * tools/README:
10867         * tools/gst-feedback.1.in:
10868         * tools/gst-inspect.1.in:
10869         * tools/gst-launch.1.in:
10870         * tools/gst-md5sum.1.in:
10871         * tools/gst-typefind.1.in:
10872         * tools/gst-xmlinspect.1.in:
10873         * tools/gst-xmllaunch.1.in:
10874           cleanup man-pages, remove reference to gst-register, document env-vars
10876 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
10878         * gst/gstbuffer.c: (gst_buffer_span):
10879           gst_buffer_span should copy the timestamp of the first buffer
10880           if they were both originally overlapping subbuffers of the 
10881           same parent, using the same logic as the 'slow copy' case.
10883 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
10885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10886           Need to awaken ALL the pads when we pop a buffer, otherwise
10887           collectpads only works when there is 2 input streams.
10889 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
10891         * docs/random/ensonic/media-device-daemon.txt:
10892           more ideas (dbus)
10893         * gst/gstbuffer.c:
10894           fix doc example, add clarification
10895         * tools/gst-launch.1.in:
10896           add initial info about GST_PLUGIN_PATH, needs more work
10898 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10900         * docs/manual/basics-bins.xml:
10901         * docs/manual/basics-elements.xml:
10902         * docs/manual/intro-basics.xml:
10903           Some more minor docs additions and updates.
10905 2006-01-11  Wim Taymans  <wim@fluendo.com>
10907         * docs/manual/basics-bins.xml:
10908         * docs/manual/basics-elements.xml:
10909         Some small fixes as pointed out by Ser-ver on IRC.
10911 2006-01-10  Edward Hervey  <edward@fluendo.com>
10913         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10914         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10915         the single-segment mode.
10917 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
10919         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10921         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10922         (gst_base_src_perform_seek), (gst_base_src_send_event),
10923         (gst_base_src_set_property), (gst_base_src_get_property),
10924         (gst_base_src_loop), (gst_base_src_start),
10925         (gst_base_src_activate_push):
10926         * libs/gst/base/gstbasesrc.h:
10927           Name (private) union; makes Sun's Forte compiler happy (#324900).
10929 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10931         * README:
10932           gst-register is gone.
10934 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10936         * gst/gstvalue.c: (_gst_value_initialize):
10937           make the G_TYPE_DATE instantiation work if debug is disabled
10939 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
10941         * gst/gstmessage.c: (gst_message_parse_tag),
10942         (gst_message_parse_error), (gst_message_parse_warning):
10943           Don't crash when return location for error/warning debug
10944           string is NULL; add fact that return locations can be
10945           NULL to docs where appropriate.
10947 2006-01-05  Wim Taymans  <wim@fluendo.com>
10949         * gst/gstplugin.c: (gst_plugin_load_file):
10950         Replace strdup by g_strdup.
10952 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10954         * docs/pwg/advanced-types.xml:
10955           fix doc borkage
10957 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10959         submitted by: Abel Cheung
10961         * po/LINGUAS:
10962         * po/zh_TW.po:
10963           Added Chinese (traditional) translation
10965 2006-01-04  Wim Taymans  <wim@fluendo.com>
10967         * docs/manual/basics-pads.xml:
10968         * docs/plugins/Makefile.am:
10969         * docs/plugins/gstreamer-plugins-docs.sgml:
10970         * docs/plugins/gstreamer-plugins-sections.txt:
10971         * docs/pwg/advanced-clock.xml:
10972         * docs/pwg/advanced-scheduling.xml:
10973         * docs/pwg/advanced-types.xml:
10974         * plugins/elements/gstfdsink.c:
10975         * plugins/elements/gstfdsrc.c:
10976         * plugins/elements/gstfdsrc.h:
10977         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10978         * plugins/elements/gstidentity.h:
10979         * plugins/elements/gstqueue.h:
10980         * plugins/elements/gsttee.c:
10981         * plugins/elements/gsttee.h:
10982         * plugins/elements/gsttypefindelement.c:
10983         (gst_type_find_element_class_init):
10984         * plugins/elements/gsttypefindelement.h:
10985         Small updates to various docs.
10986         Added core plugins to docs.
10988 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10990         * common/gst.supp:
10991           add a suppression for liboil's uninitialized variable
10993 2006-01-02  James Livingston  <jrl at ids dot org dot au>
10995         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10997         * gst/gstutils.h:
10998           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10999           macro, so that gcc doesn't complain if the -Wmissing-prototypes
11000           compiler switch is being used (#325429).
11002 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
11004         * gst/gstbin.c: (gst_bin_query):
11005           Disable duration query caching in bins until it gets
11006           fixed (see #324807).
11008 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11010         * tools/gst-inspect.c: (print_element_properties_info):
11011           Handle properties of POINTER and BOXED type.
11013 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
11015         * gst/gst.c: (init_post):
11016           Init tags stuff and some other things before loading
11017           any static plugins (there may be other static plugins
11018           than just the GStreamer ones, and they may want to
11019           register their own tags or formats or whatever, and
11020           preferably without segfaulting).
11022         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11023           Print at least a warning in the debug logs if we drop a
11024           query just because we don't know how to adjust the value
11025           in the particular format.
11027 2005-12-24  David Schleef  <ds@schleef.org>
11029         * tools/gstreamer-completion:
11030           Replacement for gst-complete written in sh and sed.  Only
11031           completes names of features, but that's 90% of what I want
11032           it for.  Properties are not available in registry.xml.  (Maybe
11033           they should be...)
11035 === release 0.10.1 ===
11037 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
11039         * configure.ac:
11040           releasing 0.10.1, "Nollaig chridheil"
11042 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
11044         * docs/faq/cvs.xml:
11045           Add missing quote, should be make ERROR_CFLAGS="".
11047 2005-12-20  Wim Taymans  <wim@fluendo.com>
11049         * docs/design/part-trickmodes.txt:
11050         More documentation on trickmodes.
11052 2005-12-20  Edward Hervey  <edward@fluendo.com>
11054         * gst/gstcaps.c: (gst_static_caps_get_type):
11055         * gst/gstcaps.h:
11056           API addition: GST_TYPE_STATIC_CAPS
11057         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11058         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11059         * gst/gstpadtemplate.h:
11060           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11061         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11062         bindings.
11064 2005-12-18  Wim Taymans  <wim@fluendo.com>
11066         * libs/gst/base/gstadapter.c:
11067         * libs/gst/base/gstadapter.h:
11068         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11069         (gst_base_sink_get_position):
11070         * libs/gst/base/gstbasesink.h:
11071         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11072         (gst_base_src_default_query), (gst_base_src_default_do_seek),
11073         (gst_base_src_do_seek), (gst_base_src_perform_seek),
11074         (gst_base_src_send_event), (gst_base_src_update_length),
11075         (gst_base_src_get_range), (gst_base_src_loop),
11076         (gst_base_src_start):
11077         * libs/gst/base/gstbasesrc.h:
11078         * libs/gst/base/gstbasetransform.h:
11079         * libs/gst/base/gstcollectpads.h:
11080         * libs/gst/base/gstpushsrc.c:
11081         * libs/gst/base/gstpushsrc.h:
11082         * libs/gst/dataprotocol/dataprotocol.c:
11083         * libs/gst/dataprotocol/dataprotocol.h:
11084         * libs/gst/net/gstnetclientclock.h:
11085         * libs/gst/net/gstnettimeprovider.h:
11086         Documentation updates.
11088 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
11090         * docs/manual/basics-helloworld.xml:
11091           Remove superfluous closing bracket in helloworld example.
11093 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
11095         * tools/gst-launch.1.in:
11096           Update gst-launch man page; add a section with useful
11097           environment variables. Fixes #323882.
11099 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
11101         * gst/gst.c:
11102         * gst/gst_private.h:
11103           change some char* into char[]
11105 2005-12-16  Wim Taymans  <wim@fluendo.com>
11107         * gst/gstregistryxml.c: (load_feature):
11108         Cleanups.
11109         Don't use g_object_unref on GstObjects so that we avoid
11110         leaks on unsafe glibs.
11112 2005-12-16  Wim Taymans  <wim@fluendo.com>
11114         * gst/gstbin.c: (gst_bin_recalc_state):
11115         Small doc updates.
11117 2005-12-16  Wim Taymans  <wim@fluendo.com>
11119         * common/check.mak:
11120         Added make forever target for check.
11122 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11124         * gst/gst.c: (init_post):
11125           make the registry cache file HOST_CPU-dependent
11127 2005-12-16  Andy Wingo  <wingo@pobox.com>
11129         * plugins/elements/gstbufferstore.c
11130         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11131         return value.
11133         * tests/check/gst/gstobject.c
11134         (test_fake_object_name_threaded_unique): Pay attention to
11135         g_list_sort return value.
11137 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11139         * tools/gst-feedback-m.m:
11140           Update for 0.9/0.10 (fixes #323870).
11142 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11144         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11145           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11146           
11147         * tests/check/gst/gstminiobject.c: (my_foo_init),
11148         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11149         (test_value_collection), (gst_mini_object_suite):
11150           Add test to ensure refcounts end up as expected when passing
11151           GstMiniObjects through g_object_get() and g_object_set().
11153 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11155         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11156         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11157         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11158         of collectpads. This version removes a lot of races without
11159         touching API/ABI. Yay !
11161 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11163         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11164           Don't allow activation of a srcpad in pull_range if it has no
11165           getrange function.
11166           Change some debug statements to be a little clearer
11168         * plugins/elements/gsttypefindelement.c:
11169         (gst_type_find_handle_src_query):
11170           Check that we have a peer before executing queries thereupon.
11172         * tests/examples/metadata/read-metadata.c: (message_loop):
11173           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11174           immediately return us any available message with 0 timeout.
11176 2005-12-12  Michael Smith  <msmith@fluendo.com>
11178         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11179           Don't unref factories after calling them.
11180         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11181         * plugins/elements/gsttypefindelement.c:
11182         (gst_type_find_element_chain):
11183           Free lists of factories after using them. Fixing typefinding memory
11184           leaks.
11186 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11188         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11189         (gst_plugin_feature_load):
11190           more meaningful debug output
11191         * configure.ac:
11192         * tests/Makefile.am:
11193         * tests/old/examples/Makefile.am:
11194           make make distcheck happy again
11196 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11198         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11199           Catch the special case where we are operating chain-based,
11200           but the downstream peer pad has no chain function. Emit a
11201           custom error message in this case instead of letting the
11202           core generate one implying that this is some sort of core
11203           bug. It's not, it just means that whatever got plugged
11204           into the pipeline downstream when we announced the type
11205           can only operate pull-based, while our source can only
11206           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11207           Error string has not been marked for translation yet, as
11208           it probably needs some more work first.
11210         (gst_type_find_element_get_best_possibility):
11211           Add helper function to find the best of all available
11212           found possibilities that qualify given the min. threshold.
11214         (gst_type_find_element_handle_event):
11215           Fix the case where we get an EOS while still in TYPEFIND
11216           mode (we want to chose the best of all possible types,
11217           not just the first type that happens to be in our unsorted
11218           list of possible types).
11220         (gst_type_find_element_chain):
11221           Make sure we return GST_FLOW_ERROR when we errored out
11222           in stop_typefinding(); also, don't just find the best of
11223           all found type entries and then use the last examined
11224           type entry, but actually use the best entry.
11226 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11228         * tests/examples/typefind/typefind.c: (type_found):
11229         * tests/examples/xml/runxml.c: (xml_loaded):
11230           More gcc4 fixes and a mem leak fix.
11232 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11234         * tests/examples/xml/createxml.c: (object_saved):
11235           gcc 4 fixes
11237 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11239         * tests/Makefile.am:
11240           enable the examples even more
11242 2005-12-12  Andy Wingo  <wingo@pobox.com>
11244         * libs/gst/net/gstnettimeprovider.c
11245         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11246         (gst_net_time_provider_set_property)
11247         (gst_net_time_provider_get_property):
11248         API addition: Export "active" as a GObject property.
11249         (gst_net_time_provider_thread): Only respond to time queries if
11250         the time provider is active.
11252         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11253         NetTimeProvider, preserving binary compat.
11255 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11257         * tests/examples/controller/audio-example.c: (main):
11258         * tests/examples/launch/Makefile.am:
11259           convert comments again
11261 2005-12-12  Wim Taymans  <wim@fluendo.com>
11263         * libs/gst/base/gstpushsrc.c:
11264         Fix typo.
11266 2005-12-12  Wim Taymans  <wim@fluendo.com>
11268         * docs/libs/gstreamer-libs-sections.txt:
11269         Added new symbol to docs.
11271         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11272         (gst_base_src_init), (gst_base_src_set_format),
11273         (gst_base_src_default_query), (gst_base_src_query),
11274         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11275         (gst_base_src_perform_seek), (gst_base_src_send_event),
11276         (gst_base_src_default_event), (gst_base_src_event_handler),
11277         (gst_base_src_set_property), (gst_base_src_get_property),
11278         (gst_base_src_wait), (gst_base_src_do_sync),
11279         (gst_base_src_update_length), (gst_base_src_get_range),
11280         (gst_base_src_check_get_range), (gst_base_src_loop),
11281         (gst_base_src_default_negotiate), (gst_base_src_start),
11282         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11283         (gst_base_src_change_state):
11284         * libs/gst/base/gstbasesrc.h:
11285         Implement seeking to other formats than _BYTES.
11286         Implement more seeking methods correctly.
11287         Doc updates.
11288         Added query vmethod.
11289         Added do_seek vmethod to make life easier for subclasses
11290         when seeking.
11291         API addition: gst_base_src_set_format()
11293 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11295         * tests/examples/Makefile.am:
11296           added that too
11298 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11300         * configure.ac:
11301         * docs/random/ensonic/media-device-daemon.txt:
11302         * tests/examples/controller/.cvsignore:
11303         * tests/examples/controller/Makefile.am:
11304         * tests/examples/controller/audio-example.c: (main):
11305         * tests/examples/helloworld/.cvsignore:
11306         * tests/examples/helloworld/Makefile.am:
11307         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11308         * tests/examples/launch/.cvsignore:
11309         * tests/examples/launch/Makefile.am:
11310         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11311         * tests/examples/metadata/.cvsignore:
11312         * tests/examples/metadata/Makefile.am:
11313         * tests/examples/metadata/read-metadata.c: (message_loop),
11314         (make_pipeline), (print_tag), (main):
11315         * tests/examples/queue/.cvsignore:
11316         * tests/examples/queue/Makefile.am:
11317         * tests/examples/queue/queue.c: (event_loop), (main):
11318         * tests/examples/typefind/.cvsignore:
11319         * tests/examples/typefind/Makefile.am:
11320         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11321         (main):
11322         * tests/examples/xml/.cvsignore:
11323         * tests/examples/xml/Makefile.am:
11324         * tests/examples/xml/createxml.c: (object_saved), (main):
11325         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11326         * tests/old/examples/Makefile.am:
11327         * tests/old/examples/TODO:
11328         * tests/old/examples/controller/.cvsignore:
11329         * tests/old/examples/controller/Makefile.am:
11330         * tests/old/examples/controller/audio-example.c:
11331         * tests/old/examples/helloworld/.cvsignore:
11332         * tests/old/examples/helloworld/Makefile.am:
11333         * tests/old/examples/helloworld/helloworld.c:
11334         * tests/old/examples/launch/.cvsignore:
11335         * tests/old/examples/launch/Makefile.am:
11336         * tests/old/examples/launch/mp3parselaunch.c:
11337         * tests/old/examples/launch/mp3play:
11338         * tests/old/examples/manual/Makefile.am:
11339         * tests/old/examples/metadata/Makefile.am:
11340         * tests/old/examples/metadata/read-metadata.c:
11341         * tests/old/examples/queue/.cvsignore:
11342         * tests/old/examples/queue/Makefile.am:
11343         * tests/old/examples/queue/queue.c:
11344         * tests/old/examples/typefind/.cvsignore:
11345         * tests/old/examples/typefind/Makefile.am:
11346         * tests/old/examples/typefind/typefind.c:
11347         * tests/old/examples/xml/.cvsignore:
11348         * tests/old/examples/xml/Makefile.am:
11349         * tests/old/examples/xml/createxml.c:
11350         * tests/old/examples/xml/runxml.c:
11351           applied some simple fixing to some examples
11352           re-enabled the working examples
11354 2005-12-12  Wim Taymans  <wim@fluendo.com>
11356         * gst/gstsegment.c: (gst_segment_init),
11357         (gst_segment_set_last_stop), (gst_segment_set_seek),
11358         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11359         (gst_segment_to_running_time):
11360         Added more documentation.
11361         Make sure the last_pos value is updated properly.
11362         Make sure to_stream_time and to_running_time don't
11363         operate on wrong values.
11365         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11366         Update check.
11368 2005-12-12  Michael Smith  <msmith@fluendo.com>
11370         * plugins/elements/gsttypefindelement.c: (free_entry),
11371         (gst_type_find_element_chain):
11372           Now that we're not leaking factories, make sure we keep references
11373           to them while we need them.
11375 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11377         * tests/check/gst/struct_i386.h:
11378           ifdef out the XML structs
11380 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11382         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11383           floor is not needed, F is always positive; this obviates the
11384           need for adding -lm when building without libxml
11386 2005-12-12  Wim Taymans  <wim@fluendo.com>
11388         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11389         Take current playback rate into account when reporting
11390         the position.
11392 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11394         * docs/manual/mime-world.fig:
11395           Let's try this again, this time with a file that is
11396           actually in XFig format.
11398 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11400         * docs/manual/mime-world.fig:
11401           Add audioconvert element to diagram so that it
11402           matches the text and the code (fixes #319526).
11404 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11406         * docs/pwg/building-chainfn.xml:
11407         * docs/pwg/building-pads.xml:
11408         * docs/pwg/building-state.xml:
11409         * docs/pwg/other-source.xml:
11410           Update state change stuff for 0.10 (fixes #322969).
11412 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11414         * docs/manual/advanced-dataaccess.xml:
11415         * docs/manual/appendix-checklist.xml:
11416         * docs/manual/appendix-programs.xml:
11417         * docs/manual/basics-pads.xml:
11418         * docs/manual/highlevel-components.xml:
11419         * docs/manual/manual.xml:
11420           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11421           add converters in front of pipelines; remove curly
11422           brackets for threads stuff, they no longer exist; use
11423           GST_TYPE_FRACTION for framerates; update some pieces of
11424           code to 0.10, but there's plenty more to do.
11426         * docs/manual/appendix-porting.xml:
11427           Expand on asynchroneous state changes; s/0.9/0.10/;
11428           mention disappearance of gst_init_get_popt_table()
11429           (fixes #322916).
11431 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11433         * docs/faq/using.xml:
11434           Spider no longer exists, and neither does gst-launch-ext.
11435           Update examples to use decodebin and playbin and put
11436           converters in front of sinks (fixes #323726).
11438 2005-12-09  Michael Smith  <msmith@fluendo.com>
11440         * plugins/elements/gsttypefindelement.c: (find_peek),
11441         (gst_type_find_element_chain):
11442           Fix leaking element factories in typefinding.
11443           Fix problem where we forgot about a probable type on non-seekable
11444           files, and thus later mis-typefound it.
11446 2005-12-09  Michael Smith  <msmith@fluendo.com>
11448         * common/m4/gst-makecontext.m4:
11449         * common/m4/gst-mcsc.m4:
11450         * configure.ac:
11451         * win32/common/config.h:
11452         * win32/common/config.h.in:
11453           Remove makecontext stuff; not used in 0.10 and causes problems on
11454           HPUX according to bug #322441
11456 2005-12-07  Wim Taymans  <wim@fluendo.com>
11458         * tests/check/Makefile.am:
11459         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11460         (main):
11461         * tests/check/libs/struct_i386.h:
11462         Added ABI check for libs
11464 2005-12-07  Wim Taymans  <wim@fluendo.com>
11466         * tests/check/Makefile.am:
11467         And add the struct_i386.h to dist.
11469 2005-12-07  Wim Taymans  <wim@fluendo.com>
11471         * tests/check/Makefile.am:
11472         * tests/check/gst/.cvsignore:
11473         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11474         (main):
11475         * tests/check/gst/struct_i386.h:
11476         Added check for ABI compatibility.
11478 2005-12-07  Wim Taymans  <wim@fluendo.com>
11480         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11481         (gst_fake_src_get_times), (gst_fake_src_create):
11482         Fix broken sync option, fixes #323259
11484 2005-12-07  Wim Taymans  <wim@fluendo.com>
11486         * gst/gstbuffer.c:
11487         Small docs update.
11489         * gst/gstcaps.c: (gst_caps_is_equal):
11490         Don't assert on NULL <--> X. Fixes #323260
11492         * gst/gstminiobject.c: (gst_mini_object_replace):
11493         If we're doing atomic operations, we might just as well use
11494         the proper way to get an atomic pointer.
11496         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11497         Clean up debugging.
11499 2005-12-07  Michael Smith  <msmith@fluendo.com>
11501         * gst/parse/grammar.y:
11502           Remove handling of { } for threads.
11504 2005-12-06  David Schleef  <ds@schleef.org>
11506         * libs/gst/base/gstbasetransform.c: speling fix.
11508 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11510         * docs/libs/tmpl/gstdataprotocol.sgml:
11511         * docs/random/omega/testing/gstobject.c:
11512         * gst/gst.c:
11513         * gst/gstclock.c:
11514         * gst/gstelement.c:
11515         * gst/gstelementfactory.c:
11516         * gst/gsterror.c:
11517         * gst/gstevent.c:
11518         * gst/gstghostpad.c:
11519         * gst/gstinfo.c:
11520         * gst/gstpadtemplate.c:
11521         * gst/gstregistryxml.c:
11522         * gst/gsttaglist.c:
11523         * gst/gsttagsetter.c:
11524         * gst/gsttypefind.c:
11525         * gst/gstvalue.c:
11526         * libs/gst/base/gstbasesrc.c:
11527         * libs/gst/net/gstnetclientclock.c:
11528         * libs/gst/net/gstnettimeprovider.c:
11529         * plugins/elements/gstfakesrc.c:
11530         * plugins/elements/gstfdsrc.c:
11531         * plugins/elements/gstfilesrc.c:
11532         * plugins/elements/gstidentity.c:
11533         * plugins/elements/gstqueue.c:
11534         * plugins/elements/gsttypefindelement.c:
11535         * plugins/indexers/gstfileindex.c:
11536         * plugins/indexers/gstmemindex.c:
11537         * tests/check/gst/gsttag.c:
11538         * tests/old/examples/cutter/cutter.c:
11539         * tests/old/examples/mixer/mixer.c:
11540         * tests/old/examples/xml/runxml.c: (main):
11541         * tests/old/testsuite/caps/normalisation.c:
11542         * tests/old/testsuite/debug/global.c:
11543         * tests/old/testsuite/parse/parse1.c:
11544         * tools/gst-xmlinspect.c:
11545         * win32/common/dirent.c:
11546           expand tabs
11548 === release 0.10.0 ===
11550 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11552         * configure.ac:
11553           releasing 0.10.0, "Maroilles"
11555 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11557         submitted by: Funda Wang <fundawang@linux.net.cn>
11559         * po/LINGUAS:
11560         * po/zh_CN.po:
11561           added Chinese (Traditional) translation
11563 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11565         * docs/gst/gstreamer-sections.txt:
11566         * docs/libs/tmpl/gstdataprotocol.sgml:
11567         * docs/random/thomasvs/TODO:
11568         * gst/gstutils.c:
11569         * gst/gstutils.h:
11570           fix docs
11572 2005-12-05  Andy Wingo  <wingo@pobox.com>
11574         patch by: Wim Taymans <wim@fluendo.com>
11576         * libs/gst/base/gstbasetransform.c
11577         (gst_base_transform_prepare_output_buf)
11578         (gst_base_transform_buffer_alloc):
11579         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11580         alloc_buffer_and_set_caps.
11582         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11583         set_caps on the source pad.
11584         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11585         alloc_buffer used to do. Fixes #322874.
11587         * docs/gst/gstreamer-sections.txt: 
11588         * docs/design/part-negotiation.txt: 
11589         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11590         changes.
11592 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11594         patch by: Sebastien Moutte
11596         * win32/MANIFEST:
11597         * win32/common/config.h.in:
11598         * win32/vs6/libgstcontroller.dsp:
11599           win32 build fixes
11601 2005-12-05  Wim Taymans  <wim@fluendo.com>
11603         * gst/gstcaps.c: (gst_caps_is_equal):
11604         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11605         (gst_fake_src_create):
11606         Back out previous code changes, leave doc updates, file bugs 
11607         instead. 
11609 2005-12-05  Wim Taymans  <wim@fluendo.com>
11611         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11612         (gst_fake_src_get_times), (gst_fake_src_create):
11613         * plugins/elements/gstfakesrc.h:
11614         Fix broken sync code.
11616 2005-12-05  Wim Taymans  <wim@fluendo.com>
11618         * gst/gstcaps.c: (gst_caps_is_equal):
11619         Comparing NULL against !NULL yields different caps, not a
11620         failure.
11622 2005-12-05  Wim Taymans  <wim@fluendo.com>
11624         * gst/gstpipeline.c:
11625         Fix small typo in docs.
11627 2005-12-05  Andy Wingo  <wingo@pobox.com>
11629         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11631         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11632         registries/plugins with a MAJORMINOR one.
11633         (plugin_desc): Rename library from gstcoreleements to
11634         staticelements. Fixes #323222.
11636 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11638         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11639           Change debug category to 'collectpads' from 'collect_pads'
11640           (fixes #323250).
11642 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11644         patch by: Sebastien Moutte
11646         * libs/gst/controller/gstinterpolation.c:
11647           use convert function for uint64/double
11648         * win32/vs6/libgstcontroller.dsp:
11649           link to GLib
11651 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11653         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11654         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11655         * gst/gstutils.h:
11656         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11657           add tests that seem to show that the guint64/gdouble conversions
11658           are correct.
11660 2005-12-02  Wim Taymans  <wim@fluendo.com>
11662         * gst/gstregistry.c: (gst_registry_add_path):
11663         * gst/gstregistry.h:
11664         * gst/gstregistryxml.c:
11665         Fix docs again.
11667 2005-12-02  Wim Taymans  <wim@fluendo.com>
11669         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11670         (gst_util_uint64_scale_int):
11671         Small cleanup.
11673         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11674         Add debug log line.
11676         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11677         Add FIXME.
11679 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11681         * win32/MANIFEST:
11682         * win32/common/config.h:
11683         * win32/vs6/gstreamer.dsw:
11684         * win32/vs6/libgstcoreelements.dsp:
11685         * win32/vs6/libgstelements.dsp:
11686           renamed core elements plugin
11688 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11690         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11691         (get_candidates):
11692           do piece-wise major/minor comparison so 0.9 < 0.10
11693           also allow .exe extensions for tools
11695 2005-12-02  Michael Smith  <msmith@fluendo.com>
11697         * gst/gst.c:
11698           Escape a % to make gtkdoc happier; bug 322958.
11700 === release 0.9.7 ===
11702 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11704         * configure.ac:
11705           releasing 0.9.7, "My Dog Has No Nose"
11707 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11709         * common/gst-xmlinspect.py:
11710         * configure.ac:
11711         * docs/libs/tmpl/gstdataprotocol.sgml:
11712         * docs/random/release:
11713         * po/af.po:
11714         * po/az.po:
11715         * po/bg.po:
11716         * po/ca.po:
11717         * po/cs.po:
11718         * po/de.po:
11719         * po/en_GB.po:
11720         * po/fr.po:
11721         * po/it.po:
11722         * po/nb.po:
11723         * po/nl.po:
11724         * po/ru.po:
11725         * po/sq.po:
11726         * po/sr.po:
11727         * po/sv.po:
11728         * po/tr.po:
11729         * po/uk.po:
11730         * po/vi.po:
11731         * win32/common/config.h:
11732         * win32/common/config.h.in:
11733         * win32/vs6/gst_inspect.dsp:
11734         * win32/vs6/gst_launch.dsp:
11735         * win32/vs6/libgstbase.dsp:
11736         * win32/vs6/libgstelements.dsp:
11737         * win32/vs6/libgstreamer.dsp:
11738         * win32/vs7/GStreamer.vcproj:
11739         * win32/vs7/gst-inspect.vcproj:
11740         * win32/vs7/gst-launch.vcproj:
11741         * win32/vs7/libgstbase.vcproj:
11742           bump GST_MAJORMINOR to 0.10
11743           reset libtool version
11745 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11747         * po/LINGUAS:
11748         * po/bg.po:
11749           Added Bulgarian translation by (Alexander Shopov)
11751 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11753         * tests/check/gst/gstplugin.c:
11754           fix test
11756 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11758         * common/gst-xmlinspect.py:
11759         * common/gtk-doc-plugins.mak:
11760         * configure.ac:
11761         * docs/Makefile.am:
11762         * docs/gst/Makefile.am:
11763         * docs/gst/gstreamer-docs.sgml:
11764         * docs/gst/gstreamer-sections.txt:
11765         * docs/gst/gstreamer.types:
11766         * docs/gst/gstreamer.types.in:
11767         * docs/plugins/Makefile.am:
11768         * docs/plugins/gstreamer-plugins-docs.sgml:
11769         * docs/plugins/gstreamer-plugins-sections.txt:
11770         * docs/plugins/gstreamer-plugins.types:
11771         * docs/plugins/inspect.stamp:
11772         * docs/plugins/inspect/plugin-coreelements.xml:
11773         * docs/plugins/inspect/plugin-coreindexers.xml:
11774         * docs/plugins/scanobj-build.stamp:
11775         * gstreamer.spec.in:
11776         * plugins/elements/Makefile.am:
11777         * plugins/elements/gstelements.c:
11778         * plugins/elements/gstfakesink.c:
11779         * plugins/elements/gstfakesrc.c:
11780         * plugins/elements/gstfilesink.c:
11781         * plugins/elements/gstfilesrc.c:
11782         * plugins/elements/gstqueue.c:
11783         * plugins/indexers/Makefile.am:
11784         * plugins/indexers/gstindexers.c:
11785           document core plugins in a separate document just like all the
11786           others
11787           rename these plugins to something starting with core
11789 2005-12-01  Andy Wingo  <wingo@pobox.com>
11791         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11792         padding here before, but it missed the commit.
11794 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11796         * libs/gst/controller/gstinterpolation.c:
11797           whitespace prices have crashed, we should feel free to use some now
11798           use gst_guint64_to_gdouble
11800 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11802         * libs/gst/controller/gstcontroller.c:
11803         * libs/gst/controller/gsthelper.c:
11804         * libs/gst/controller/gstinterpolation.c:
11805         * libs/gst/controller/lib.c:
11806           wrap config.h include
11808 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11810         * docs/gst/gstreamer-sections.txt:
11811           update docs
11813 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11815         * plugins/elements/gstelements.c:
11816         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11817         (gst_fd_sink__class_init), (gst_fd_sink__init),
11818         (gst_fd_sink__chain), (gst_fd_sink__set_property),
11819         (gst_fd_sink__get_property):
11820         * plugins/elements/gstfdsink.h:
11821         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11822         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11823         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11824         (gst_fd_src_unlock), (gst_fd_src_set_property),
11825         (gst_fd_src_get_property), (gst_fd_src_create),
11826         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11827         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11828         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11829         (gst_fd_src_uri_handler_init):
11830         * plugins/elements/gstfdsrc.h:
11831         * plugins/elements/gstqueue.c: (gst_queue_get_type):
11832           more anal cleanup
11834 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11836         * docs/gst/Makefile.am:
11837         * docs/gst/gstreamer.types.in:
11838         * gst/Makefile.am:
11839           fix the docs build
11841 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11843         * configure.ac:
11844         * gst/Makefile.am:
11845         * gst/gst.c:
11846         * gst/gstplugin.h:
11847         * gst/gstregistry.h:
11848         * tests/benchmarks/complexity.c:
11849         * tests/benchmarks/mass-elements.c:
11850         * tests/check/Makefile.am:
11851         * tools/Makefile.am:
11852         * tools/gst-inspect.c:
11853         * tools/gst-xmlinspect.c:
11854           various fixes to make
11855           --disable-nls --disable-registry --disable-loadsave
11856           --disable-parse --disable-gst-debug
11857           work and get the core .so down to 360444 bytes after stripping
11859 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11861         * Makefile.am:
11862         * configure.ac:
11863           descend into tests
11864         * docs/random/thomasvs/TODO:
11865         * tests/Makefile.am:
11866         * tests/README:
11867           add a README
11869 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11871         * win32/GStreamer.vcproj:
11872         * win32/MANIFEST:
11873         * win32/Makefile:
11874         * win32/Makefile.inspect:
11875         * win32/Makefile.launch:
11876         * win32/Makefile.register:
11877         * win32/README.txt:
11878         * win32/gst-inspect.vcproj:
11879         * win32/gst-launch.vcproj:
11880         * win32/gst-register.vcproj:
11881         * win32/gstelements.vcproj:
11882         * win32/gstgetbits.def:
11883         * win32/gstgetbits.vcproj:
11884         * win32/gstreamer-dbg.def:
11885         * win32/gstreamer.def:
11886         * win32/libgstbase.def:
11887         * win32/libgstbase.vcproj:
11888         * win32/link_oldruntime.c:
11889         * win32/mman.c:
11890         * win32/mman.h:
11891         * win32/mman.inl:
11892         * win32/msvc71.sln:
11893           move even more stuff, win32/ is nice and clean now
11895 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11897         * libs/gst/control/.cvsignore:
11898         * win32/MANIFEST:
11899         * win32/config.h:
11900         * win32/dirent.c:
11901         * win32/dirent.h:
11902         * win32/gstbytestream.def:
11903         * win32/gstbytestream.vcproj:
11904         * win32/gstconfig.h:
11905         * win32/gstenumtypes.c:
11906         * win32/gstenumtypes.h:
11907         * win32/gstoptimalscheduler.vcproj:
11908         * win32/gstversion.h:
11909         * win32/gtchar.h:
11910         * win32/testsuite/bins.vcproj:
11911         * win32/testsuite/bytestream.vcproj:
11912         * win32/testsuite/caps.vcproj:
11913         * win32/testsuite/cleanup.vcproj:
11914         * win32/testsuite/clock.vcproj:
11915         * win32/testsuite/debug.vcproj:
11916         * win32/testsuite/dlopen.vcproj:
11917         * win32/testsuite/dynparams.vcproj:
11918         * win32/testsuite/elements.vcproj:
11919         * win32/testsuite/ghostpads.vcproj:
11920         * win32/testsuite/indexers.vcproj:
11921         * win32/testsuite/negotiation.vcproj:
11922         * win32/testsuite/parse.vcproj:
11923         * win32/testsuite/plugin.vcproj:
11924         * win32/testsuite/refcounting.vcproj:
11925         * win32/testsuite/schedulers.vcproj:
11926         * win32/testsuite/states.vcproj:
11927         * win32/testsuite/tags.vcproj:
11928         * win32/testsuite/threads.vcproj:
11929           remove old win32 stuff that isn't maintained and should be
11930           reorganized
11932 2005-11-30  Andy Wingo  <wingo@pobox.com>
11934         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11935         loading the gst.interfaces python module bork.
11937         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11938         available since GLib 2.2. Fixes #318031.
11940 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11942         * Makefile.am:
11943         * check/.cvsignore:
11944         * check/Makefile.am:
11945         * check/elements/.cvsignore:
11946         * check/elements/fakesrc.c:
11947         * check/elements/fdsrc.c:
11948         * check/elements/identity.c:
11949         * check/generic/.cvsignore:
11950         * check/generic/states.c:
11951         * check/gst-libs/.cvsignore:
11952         * check/gst-libs/controller.c:
11953         * check/gst-libs/gdp.c:
11954         * check/gst/.cvsignore:
11955         * check/gst/capslist.h:
11956         * check/gst/gst.c:
11957         * check/gst/gstbin.c:
11958         * check/gst/gstbuffer.c:
11959         * check/gst/gstbus.c:
11960         * check/gst/gstcaps.c:
11961         * check/gst/gstelement.c:
11962         * check/gst/gstevent.c:
11963         * check/gst/gstghostpad.c:
11964         * check/gst/gstiterator.c:
11965         * check/gst/gstmessage.c:
11966         * check/gst/gstminiobject.c:
11967         * check/gst/gstobject.c:
11968         * check/gst/gstpad.c:
11969         * check/gst/gstpipeline.c:
11970         * check/gst/gstplugin.c:
11971         * check/gst/gstsegment.c:
11972         * check/gst/gststructure.c:
11973         * check/gst/gstsystemclock.c:
11974         * check/gst/gsttag.c:
11975         * check/gst/gstutils.c:
11976         * check/gst/gstvalue.c:
11977         * check/net/.cvsignore:
11978         * check/net/gstnetclientclock.c:
11979         * check/net/gstnettimeprovider.c:
11980         * check/pipelines/.cvsignore:
11981         * check/pipelines/cleanup.c:
11982         * check/pipelines/simple_launch_lines.c:
11983         * check/pipelines/stress.c:
11984         * check/states/.cvsignore:
11985         * check/states/sinks.c:
11986         * configure.ac:
11987         * examples/Makefile.am:
11988         * examples/appreader/.cvsignore:
11989         * examples/appreader/Makefile.am:
11990         * examples/appreader/appreader.c:
11991         * examples/controller/.cvsignore:
11992         * examples/controller/Makefile.am:
11993         * examples/controller/audio-example.c:
11994         * examples/cutter/.cvsignore:
11995         * examples/cutter/Makefile.am:
11996         * examples/cutter/cutter.c:
11997         * examples/cutter/cutter.h:
11998         * examples/events/Makefile.am:
11999         * examples/events/seek.c:
12000         * examples/helloworld/.cvsignore:
12001         * examples/helloworld/Makefile.am:
12002         * examples/helloworld/helloworld.c:
12003         * examples/helloworld2/.cvsignore:
12004         * examples/helloworld2/Makefile.am:
12005         * examples/helloworld2/helloworld2.c:
12006         * examples/launch/.cvsignore:
12007         * examples/launch/Makefile.am:
12008         * examples/launch/mp3parselaunch.c:
12009         * examples/launch/mp3play:
12010         * examples/manual/.cvsignore:
12011         * examples/manual/Makefile.am:
12012         * examples/manual/extract.pl:
12013         * examples/metadata/Makefile.am:
12014         * examples/metadata/read-metadata.c:
12015         * examples/mixer/.cvsignore:
12016         * examples/mixer/Makefile.am:
12017         * examples/mixer/mixer.c:
12018         * examples/mixer/mixer.h:
12019         * examples/pingpong/.cvsignore:
12020         * examples/pingpong/Makefile.am:
12021         * examples/pingpong/pingpong.c:
12022         * examples/plugins/.cvsignore:
12023         * examples/plugins/Makefile.am:
12024         * examples/plugins/example.c:
12025         * examples/plugins/example.h:
12026         * examples/pwg/.cvsignore:
12027         * examples/pwg/Makefile.am:
12028         * examples/pwg/extract.pl:
12029         * examples/queue/.cvsignore:
12030         * examples/queue/Makefile.am:
12031         * examples/queue/queue.c:
12032         * examples/queue2/.cvsignore:
12033         * examples/queue2/Makefile.am:
12034         * examples/queue2/queue2.c:
12035         * examples/queue3/.cvsignore:
12036         * examples/queue3/Makefile.am:
12037         * examples/queue3/queue3.c:
12038         * examples/queue4/.cvsignore:
12039         * examples/queue4/Makefile.am:
12040         * examples/queue4/queue4.c:
12041         * examples/retag/.cvsignore:
12042         * examples/retag/Makefile.am:
12043         * examples/retag/retag.c:
12044         * examples/retag/transcode.c:
12045         * examples/thread/.cvsignore:
12046         * examples/thread/Makefile.am:
12047         * examples/thread/thread.c:
12048         * examples/typefind/.cvsignore:
12049         * examples/typefind/Makefile.am:
12050         * examples/typefind/typefind.c:
12051         * examples/xml/.cvsignore:
12052         * examples/xml/Makefile.am:
12053         * examples/xml/createxml.c:
12054         * examples/xml/runxml.c:
12055         * tests/Makefile.am:
12056         * tests/check/Makefile.am:
12057         * testsuite/.cvsignore:
12058         * testsuite/Makefile.am:
12059         * testsuite/Rules:
12060         * testsuite/caps/.cvsignore:
12061         * testsuite/caps/Makefile.am:
12062         * testsuite/caps/app_fixate.c:
12063         * testsuite/caps/audioscale.c:
12064         * testsuite/caps/caps.c:
12065         * testsuite/caps/caps.h:
12066         * testsuite/caps/caps_strings:
12067         * testsuite/caps/compatibility.c:
12068         * testsuite/caps/deserialize.c:
12069         * testsuite/caps/enumcaps.c:
12070         * testsuite/caps/eratosthenes.c:
12071         * testsuite/caps/filtercaps.c:
12072         * testsuite/caps/fixed.c:
12073         * testsuite/caps/fraction-convert.c:
12074         * testsuite/caps/fraction-multiply-and-zero.c:
12075         * testsuite/caps/intersect2.c:
12076         * testsuite/caps/intersection.c:
12077         * testsuite/caps/normalisation.c:
12078         * testsuite/caps/random.c:
12079         * testsuite/caps/renegotiate.c:
12080         * testsuite/caps/sets.c:
12081         * testsuite/caps/simplify.c:
12082         * testsuite/caps/string-conversions.c:
12083         * testsuite/caps/structure.c:
12084         * testsuite/caps/subtract.c:
12085         * testsuite/caps/union.c:
12086         * testsuite/debug/.cvsignore:
12087         * testsuite/debug/Makefile.am:
12088         * testsuite/debug/category.c:
12089         * testsuite/debug/commandline.c:
12090         * testsuite/debug/global.c:
12091         * testsuite/debug/output.c:
12092         * testsuite/debug/printf_extension.c:
12093         * testsuite/dlopen/.cvsignore:
12094         * testsuite/dlopen/Makefile.am:
12095         * testsuite/dlopen/dlopen_gst.c:
12096         * testsuite/dlopen/loadgst.c:
12097         * testsuite/elements/.cvsignore:
12098         * testsuite/elements/Makefile.am:
12099         * testsuite/elements/gst-inspect-check.in:
12100         * testsuite/elements/struct_i386.h:
12101         * testsuite/elements/struct_size.c:
12102         * testsuite/indexers/.cvsignore:
12103         * testsuite/indexers/Makefile.am:
12104         * testsuite/indexers/cache1.c:
12105         * testsuite/indexers/indexdump.c:
12106         * testsuite/parse/.cvsignore:
12107         * testsuite/parse/Makefile.am:
12108         * testsuite/parse/parse1.c:
12109         * testsuite/parse/parse2.c:
12110         * testsuite/plugin/.cvsignore:
12111         * testsuite/plugin/Makefile.am:
12112         * testsuite/plugin/README:
12113         * testsuite/plugin/dynamic.c:
12114         * testsuite/plugin/linked.c:
12115         * testsuite/plugin/loading.c:
12116         * testsuite/plugin/registry.c:
12117         * testsuite/plugin/static.c:
12118         * testsuite/plugin/static2.c:
12119         * testsuite/plugin/testplugin.c:
12120         * testsuite/plugin/testplugin2.c:
12121         * testsuite/plugin/testplugin2_s.c:
12122         * testsuite/plugin/testplugin_s.c:
12123         * testsuite/refcounting/.cvsignore:
12124         * testsuite/refcounting/Makefile.am:
12125         * testsuite/refcounting/bin.c:
12126         * testsuite/refcounting/element.c:
12127         * testsuite/refcounting/element_pad.c:
12128         * testsuite/refcounting/mainloop.c:
12129         * testsuite/refcounting/mem.c:
12130         * testsuite/refcounting/mem.h:
12131         * testsuite/refcounting/object.c:
12132         * testsuite/refcounting/pad.c:
12133         * testsuite/refcounting/sched.c:
12134         * testsuite/refcounting/thread.c:
12135         * testsuite/states/.cvsignore:
12136         * testsuite/states/Makefile.am:
12137         * testsuite/states/bin.c:
12138         * testsuite/states/locked.c:
12139         * testsuite/states/parent.c:
12140         * testsuite/threads/.cvsignore:
12141         * testsuite/threads/159566.c:
12142         * testsuite/threads/159852.c:
12143         * testsuite/threads/Makefile.am:
12144         * testsuite/threads/queue.c:
12145         * testsuite/threads/signals.c:
12146         * testsuite/threads/staticrec.c:
12147         * testsuite/threads/thread.c:
12148         * testsuite/threads/threadb.c:
12149         * testsuite/threads/threadc.c:
12150         * testsuite/threads/threadd.c:
12151         * testsuite/threads/threade.c:
12152         * testsuite/threads/threadf.c:
12153         * testsuite/threads/threadg.c:
12154         * testsuite/threads/threadh.c:
12155         * testsuite/threads/threadi.c:
12156           move all of these under tests
12158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12160         * configure.ac:
12161         * tests/Makefile.am:
12162           fix distcheck
12164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12166         * docs/gst/gstreamer-sections.txt:
12167         * tests/sched/.cvsignore:
12168         * tests/sched/Makefile.am:
12169         * tests/sched/cases/(fs-fs).xml:
12170         * tests/sched/cases/(fs-i-fs).xml:
12171         * tests/sched/cases/(fs-i-i-fs).xml:
12172         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12173         * tests/sched/dynamic-pipeline.c:
12174         * tests/sched/interrupt1.c:
12175         * tests/sched/interrupt2.c:
12176         * tests/sched/interrupt3.c:
12177         * tests/sched/runtestcases:
12178         * tests/sched/runxml.c:
12179         * tests/sched/sched-stress.c:
12180         * tests/sched/sort.c:
12181         * tests/sched/testcases:
12182         * tests/sched/testcases1.tc:
12183         * tests/seeking/.cvsignore:
12184         * tests/seeking/Makefile.am:
12185         * tests/seeking/seeking1.c:
12186         * tests/threadstate/.cvsignore:
12187         * tests/threadstate/Makefile.am:
12188         * tests/threadstate/test1.c:
12189         * tests/threadstate/test2.c:
12190         * tests/threadstate/threadstate1.c:
12191         * tests/threadstate/threadstate2.c:
12192         * tests/threadstate/threadstate3.c:
12193         * tests/threadstate/threadstate4.c:
12194         * tests/threadstate/threadstate5.c:
12195           remove obsolete tests
12196         * configure.ac:
12197         * tests/bench-complexity.scm:
12198         * tests/bench-mass_elements.scm:
12199         * tests/complexity.c:
12200         * tests/complexity.gnuplot:
12201         * tests/instantiate/.cvsignore:
12202         * tests/instantiate/Makefile.am:
12203         * tests/instantiate/caps.c:
12204         * tests/mass_elements.c:
12205         * tests/network-clock-utils.scm:
12206         * tests/network-clock.scm:
12207         * tests/plot-data:
12208         First pass at cleaning up tests/ dir before moving the rest
12209         Combined with CVS surgery
12211 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12213         * po/POTFILES.in:
12214           queue has moved, update
12216 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12218         * docs/gst/gstreamer-sections.txt:
12219           remove double entries from the docs
12220         * gst/gst_private.h:
12221         * gst/gstinfo.c: (_gst_debug_init):
12222           remove the THREAD debug category
12223         * gst/Makefile.am:
12224         * gst/gstqueue.c:
12225         * gst/gstqueue.h:
12226         * docs/gst/gstreamer.types:
12227         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12228         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12229           completely move queue and fix up debugging categories
12231 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12233         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12234           make initialization portable, using LL is not
12236 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12238         * win32/common/gstconfig.h:
12239           add large padding
12241 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12243         * win32/common/libgstreamer.def:
12244           rename symbols; sort base section
12246 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12248         * gst/gstclock.c: (do_linear_regression):
12249           remove crack non-portable handrolled DEBUG macro
12251 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12253         * docs/random/release:
12254           update notes
12255         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12256         (gst_object_flags_get_type), (register_gst_bin_flags),
12257         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12258         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12259         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12260         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12261         (gst_caps_flags_get_type), (register_gst_clock_return),
12262         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12263         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12264         (gst_clock_flags_get_type), (register_gst_state),
12265         (gst_state_get_type), (register_gst_state_change_return),
12266         (gst_state_change_return_get_type), (register_gst_state_change),
12267         (gst_state_change_get_type), (register_gst_element_flags),
12268         (gst_element_flags_get_type), (register_gst_core_error),
12269         (gst_core_error_get_type), (register_gst_library_error),
12270         (gst_library_error_get_type), (register_gst_resource_error),
12271         (gst_resource_error_get_type), (register_gst_stream_error),
12272         (gst_stream_error_get_type), (register_gst_event_type_flags),
12273         (gst_event_type_flags_get_type), (register_gst_event_type),
12274         (gst_event_type_get_type), (register_gst_seek_type),
12275         (gst_seek_type_get_type), (register_gst_seek_flags),
12276         (gst_seek_flags_get_type), (register_gst_format),
12277         (gst_format_get_type), (register_gst_index_certainty),
12278         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12279         (gst_index_entry_type_get_type),
12280         (register_gst_index_lookup_method),
12281         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12282         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12283         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12284         (gst_index_flags_get_type), (register_gst_debug_level),
12285         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12286         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12287         (gst_iterator_result_get_type), (register_gst_iterator_item),
12288         (gst_iterator_item_get_type), (register_gst_message_type),
12289         (gst_message_type_get_type), (register_gst_mini_object_flags),
12290         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12291         (gst_pad_link_return_get_type), (register_gst_flow_return),
12292         (gst_flow_return_get_type), (register_gst_activate_mode),
12293         (gst_activate_mode_get_type), (register_gst_pad_direction),
12294         (gst_pad_direction_get_type), (register_gst_pad_flags),
12295         (gst_pad_flags_get_type), (register_gst_pad_presence),
12296         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12297         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12298         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12299         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12300         (gst_plugin_flags_get_type), (register_gst_rank),
12301         (gst_rank_get_type), (register_gst_query_type),
12302         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12303         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12304         (gst_tag_flag_get_type), (register_gst_task_state),
12305         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12306         (gst_alloc_trace_flags_get_type),
12307         (register_gst_type_find_probability),
12308         (gst_type_find_probability_get_type), (register_gst_uri_type),
12309         (gst_uri_type_get_type), (register_gst_parse_error),
12310         (gst_parse_error_get_type):
12311         * win32/common/gstenumtypes.h:
12312         * win32/common/gstversion.h:
12313           update visual studio generated files
12315 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12317         * win32/vs6/libgstbase.dsp:
12318         * win32/vs6/libgstelements.dsp:
12319           update project files for new locations
12321 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12323         * Makefile.am:
12324           remove some files
12325         * README:
12326           reinstate and update
12327         * DEVEL:
12328         * REQUIREMENTS:
12329           removed
12330         * LICENSE:
12331         * docs/random/LICENSE:
12332           moved to random
12334 2005-11-30  Edward Hervey  <edward@fluendo.com>
12336         * gst/gsttypefind.c: (gst_type_find_register):
12337         * gst/gsttypefind.h:
12338         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12339         (gst_type_find_factory_dispose):
12340         * gst/gsttypefindfactory.h:
12341         Fix memory leak in GstTypeFindFactory.
12343 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12345         * gst/gst.c:
12346         * plugins/elements/Makefile.am:
12347         * plugins/elements/gstelements.c:
12348         * plugins/elements/gstqueue.c:
12349           move queue from core to the elements plugin
12351 2005-11-29  Andy Wingo  <wingo@pobox.com>
12353         * libs/gst/base/gstbasetransform.h: 
12354         * libs/gst/base/gstbasesrc.h: 
12355         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12357         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12358         of pointers by which to pad very extensible base classes (like the
12359         ones in libs/gst/base).
12361 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12363         * docs/gst/gstreamer-docs.sgml:
12364         * docs/gst/gstreamer-sections.txt:
12365         * docs/libs/gstreamer-libs-docs.sgml:
12366         * docs/libs/gstreamer-libs-sections.txt:
12367           moving documentation from core to lib
12369 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12371         * check/Makefile.am:
12372         * configure.ac:
12373         * docs/gst/Makefile.am:
12374         * gst/Makefile.am:
12375         * gst/base/.cvsignore:
12376         * gst/base/Makefile.am:
12377         * gst/base/README:
12378         * gst/base/gstadapter.c:
12379         * gst/base/gstadapter.h:
12380         * gst/base/gstbasesink.c:
12381         * gst/base/gstbasesink.h:
12382         * gst/base/gstbasesrc.c:
12383         * gst/base/gstbasesrc.h:
12384         * gst/base/gstbasetransform.c:
12385         * gst/base/gstbasetransform.h:
12386         * gst/base/gstcollectpads.c:
12387         * gst/base/gstcollectpads.h:
12388         * gst/base/gstpushsrc.c:
12389         * gst/base/gstpushsrc.h:
12390         * gst/base/gsttypefindhelper.c:
12391         * gst/base/gsttypefindhelper.h:
12392         * gst/check/Makefile.am:
12393         * gst/check/gstcheck.c:
12394         * gst/check/gstcheck.h:
12395         * gst/net/Makefile.am:
12396         * gst/net/gstnet.h:
12397         * gst/net/gstnetclientclock.c:
12398         * gst/net/gstnetclientclock.h:
12399         * gst/net/gstnettimepacket.c:
12400         * gst/net/gstnettimepacket.h:
12401         * gst/net/gstnettimeprovider.c:
12402         * gst/net/gstnettimeprovider.h:
12403         * libs/gst/Makefile.am:
12404         * libs/gst/base/Makefile.am:
12405         * libs/gst/base/gstbasetransform.c:
12406         * libs/gst/check/Makefile.am:
12407         * plugins/elements/Makefile.am:
12408         * po/POTFILES.in:
12409           CVS surgery + support to move base, check, and net out of gst
12410           and into libs/gst
12412 2005-11-29  Andy Wingo  <wingo@pobox.com>
12414         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12416         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12417         padding.
12419         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12421         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12423         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12425         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12426         padding; reduces object size by about 30%. We don't expect
12427         anything else to go into gstobject.
12429         * gst/gstminiobject.h (struct _GstMiniObject)
12430         (struct _GstMiniObjectClass): Only one pointer of padding; the
12431         payload is only a pointer and two ints anyway. For the class there
12432         are only two methods as well.
12433         
12434         * gst/gstelement.h (struct _GstElementClass): Removed
12435         the state_changed signal callback, it is not used.
12437 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12439         * docs/gst/gstreamer.types:
12440           fix includes, though they are a little dinky
12442 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12444         * check/Makefile.am:
12445           look in the right place for elements, a lot more chance of
12446           success
12447         * gst/Makefile.am:
12448           remove indexers and elements subdirs
12449         * plugins/Makefile.am:
12450           make indexers conditional
12452 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12454         * Makefile.am:
12455         * configure.ac:
12456         * plugins/elements/Makefile.am:
12457         * plugins/elements/gstcapsfilter.c:
12458         * plugins/elements/gstfilesink.c:
12459         * plugins/elements/gstfilesrc.c:
12460         * plugins/elements/gstidentity.c:
12461         * plugins/indexers/Makefile.am:
12462           do CVS surgery and related build fixery to move elements
12463           and indexers in a new gstreamer/plugins directory, out of the
12464           gst/ directory
12466 2005-11-29  Andy Wingo  <wingo@pobox.com>
12468         * check/Makefile.am:
12469         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12470         * pkgconfig/gstreamer-net.pc.in:
12471         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12472         #322257.
12474 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12476         * tools/Makefile.am:
12477         * tools/gst-complete.1.in:
12478         * tools/gst-complete.c:
12479         * tools/gst-compprep.1.in:
12480         * tools/gst-compprep.c:
12481           removing -compprep and -complete
12483 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12485         * gst/gstevent.c: (gst_event_new_new_segment),
12486         (gst_event_parse_new_segment):
12487         * gst/gstevent.h:
12488           fix #320529 - clean up new_segment API and structure.
12489           Let's hope everyone was using the methods, and not the structure.
12491 2005-11-29  Edward Hervey  <edward@fluendo.com>
12493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12494         (gst_base_sink_event), (gst_base_sink_do_sync),
12495         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12496         Properly handle non GST_FORMAT_TIME segment
12497         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12498         Properly handle non GST_FORMAT_TIME segment
12499         * gst/gstsegment.c:
12500         This function is valid if the accumulator is 0 and the format
12501         is different from the requested format.
12502         
12503 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12505         * docs/gst/gstreamer-sections.txt:
12506         Add gst_query_new_seeking and gst_query_parse_seeking to the
12507         docs.
12509 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12511         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12512           Treat a pad alloc with new caps the same as if we were not
12513           negotiated, in order to allow a changing upstream output
12514           to produce a new format of data.
12516 2005-11-29  Edward Hervey  <edward@fluendo.com>
12518         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12519         (gst_base_transform_event), (gst_base_transform_eventfunc):
12520         The event virtual method is now properly implemented, with a default
12521         handler
12522         Sub classes should call the parent_class event method. They should
12523         return FALSE if they had a problem handling the given event, or don't
12524         want GstBaseTransform to send that even downstream
12525         * gst/elements/gstidentity.c: (gst_identity_class_init),
12526         (gst_identity_init), (gst_identity_event),
12527         (gst_identity_transform_ip), (gst_identity_set_property),
12528         (gst_identity_get_property):
12529         * gst/elements/gstidentity.h:
12530         Added the single-segment boolean property.
12531         If set to TRUE, it will output a single segment of data, starting from
12532         0, will eat up all incoming newsegment, and modify the timestamp of the
12533         buffers accordingly
12535 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12537         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12538           Don't ref NULL target pad (#322751). Improve docs.
12540 2005-11-29  Michael Smith  <msmith@fluendo.com>
12542         * gst/gstregistryxml.c: (load_plugin):
12543           Don't crash if we failed to load a feature from a plugin. 
12545 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12547         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12548         (GST_START_TEST):
12549           use more check API and less GLib API
12551 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12553         * Makefile.am:
12554           don't run checks if we don't have check
12555         * common/check.mak:
12556           remove the registry when running make torture
12557         * docs/gst/gstreamer-sections.txt:
12558           remove second multiply
12559         * gst/gstqueue.c: (gst_queue_loop):
12560           fix a compile warning when disabling debug
12562 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12564         * gst/gstinfo.h:
12565         Hey! Let's print the pad name if the pointer != NULL instead
12566         of when it == NULL :-)
12568 2005-11-28  Wim Taymans  <wim@fluendo.com>
12570         * check/gst/gstutils.c: (GST_START_TEST):
12571         Updated check, add some scaling accuracy checking code.
12573         * gst/gstutils.c: (gst_util_div128_64),
12574         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12575         (gst_util_uint64_scale_int):
12576         Fix 6 times faster division code. Optimize for common 
12577         1/1 and less common X/1 cases.
12579 2005-11-28  Wim Taymans  <wim@fluendo.com>
12581         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12582         More checks.
12584         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12585         (do_linear_regression), (gst_clock_add_observation):
12586         Cleanups.
12587         Release lock when the clock cannot be slaved.
12588         Catch the case where the regression returned an invalid denominator.
12590         * gst/gstutils.c: (gst_util_div128_64_iterate),
12591         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12592         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12593         Add protentially more performant non-iterative 128/64 divide function
12594         that unfortunatly does not work yet.
12595         Shortcut the trivial 0/X = 0 case.
12596         Remove the warnings on overflow.
12598 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12600         * gst/gstplugin.c: (gst_plugin_register_func):
12601           everything causing a plugin not to load should be at least a WARNING
12603 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12605         * docs/random/ensonic/dparams.txt:
12606           some TODOs for the next dev cycle
12607         * libs/gst/controller/gstcontroller.c:
12608         (gst_controlled_property_set_interpolation_mode),
12609         (gst_controlled_property_new):
12610         * libs/gst/controller/gstcontroller.h:
12611           use base type to assign acccessor functions
12613 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12615         * check/Makefile.am:
12616         Oops, that should have been top_srcdir
12618 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12620         * check/Makefile.am:
12621         * check/elements/fdsrc.c: (GST_START_TEST):
12622         Use a cmdline define to specify the location of a file to use for
12623         testing, to avoid breaking distcheck.
12625 2005-11-28  Andy Wingo  <wingo@pobox.com>
12627         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12629 2005-11-28  Edward Hervey  <edward@fluendo.com>
12631         * tools/gst-launch.c: (main):
12632         Clarify the output strings, makes it easier to translate.
12633         Fixes #322626
12635 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12637         * gst/Makefile.am:
12638           don't try and build net if we don't even have <sys/socket.h>
12640 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12642         * check/Makefile.am:
12643         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12644         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12645           Add tests for fdsrc seekability
12647         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12648         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12649         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12650         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12651         * gst/elements/gstfdsrc.h:
12652           fdsrc should not be a 'live' source.
12653           Implement seeking on seekable fd's.
12655         * gst/gstquery.c: (gst_query_new_seeking),
12656         (gst_query_parse_seeking):
12657         * gst/gstquery.h:
12658           Implement SEEKING query functions: 
12659             *_new_seeking and *_parse_seeking
12661 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12663         * gst/gstelement.c: (gst_element_dispose):
12664           don't loop forever
12666         * gst/gstiterator.c:
12667         * gst/gststructure.c:
12668           doc fixes
12670         * libs/gst/controller/gstcontroller.c:
12671         (gst_controlled_property_set_interpolation_mode):
12672         * libs/gst/controller/gstcontroller.h:
12673         * libs/gst/controller/gstinterpolation.c:
12674         (interpolate_none_get_enum_value_array):
12675           support controlling enums
12677 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12679         * gst/gstvalue.c:
12680           Improve documentation for gst_value_union().
12682         * gst/gstvalue.h:
12683           Change return value for union, intersect and subtract functions
12684           from gint to gboolean.
12686 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12688         * gst/gstvalue.c: (gst_value_serialize_any_list),
12689         (gst_value_transform_any_list_string),
12690         (gst_value_deserialize_list), (gst_value_deserialize_array),
12691         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12692         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12693         (gst_value_set_fraction_range_full),
12694         (gst_value_deserialize_fraction_range),
12695         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12696         (gst_value_deserialize_boolean),
12697         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12698         (gst_value_serialize_float), (gst_value_deserialize_float),
12699         (gst_string_wrap), (gst_value_deserialize_string),
12700         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12701         (gst_value_union_int_range_int_range),
12702         (gst_value_intersect_int_range_int_range),
12703         (gst_value_intersect_double_range_double_range),
12704         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12705         (gst_value_subtract_int_range_int_range),
12706         (gst_value_subtract_double_double_range),
12707         (gst_value_subtract_double_range_double_range),
12708         (gst_value_deserialize_fraction):
12709         * gst/gstvalue.h:
12710           Use gint, gdouble and gchar in our API instead of int, double and
12711           char (and make usage in gstvalue.c more consistent).
12713 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12715         * check/Makefile.am:
12716         * libs/gst/controller/Makefile.am:
12717         * libs/gst/dataprotocol/Makefile.am:
12718           fix up Makefile.am and remove GST_ENABLE_NEW
12720 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12722         * configure.ac:
12723         * gst/Makefile.am:
12724         * gst/base/Makefile.am:
12725         * gst/check/Makefile.am:
12726         * gst/elements/Makefile.am:
12727         * gst/net/Makefile.am:
12728           update LDFLAGS use some more
12730 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12732         * common/m4/gst-doc.m4:
12733           Fixes #312589
12735 2005-11-26  Edward Hervey  <edward@fluendo.com>
12737         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12738         This shouldn't issue a g_warning since it returns NULL if it
12739         couldn't find the plugin, and all functions using this behave
12740         properly on a NULL return. Switching to a GST_WARNING.
12742 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12744         * gst/gstbin.c: (gst_bin_handle_message_func):
12745         Don't leak clock messages.
12747 2005-11-25  Wim Taymans  <wim@fluendo.com>
12749         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12750         (gst_util_uint64_scale_int):
12751         Optimisations, remove unneeded vars.
12753 2005-11-25  Wim Taymans  <wim@fluendo.com>
12755         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12756         Added more checks for the high precision uint64 cases.
12758         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12759         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12760         Implement high precision (guint64 * guint64) / guint64.
12762 2005-11-24  Wim Taymans  <wim@fluendo.com>
12764         * gst/base/gstbasesrc.c: (gst_base_src_query):
12765         Fix wrong percentage query.
12767         * gst/gstutils.c: (gst_util_uint64_scale),
12768         (gst_util_uint64_scale_int):
12769         Add some more common cases that can be handled 
12770         efficiently to _scale.
12772 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12774         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12775         (gst_mini_object_suite):
12776           don't use check calls from threads; check probably isn't
12777           threadsafe and using a lock to make it threadsafe would
12778           defeat the purpose of this check
12779         * gst/check/gstcheck.c:
12780         * gst/check/gstcheck.h:
12781           use GST_DEBUG some more
12783 2005-11-24  Wim Taymans  <wim@fluendo.com>
12785         * gst/gstutils.c: (gst_util_uint64_scale),
12786         (gst_util_uint64_scale_int):
12787         Chain trivial case to _scale_int.
12789 2005-11-24  Wim Taymans  <wim@fluendo.com>
12791         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12792         Added test for scaling.
12794         * gst/gstclock.h:
12795         Small doc fix.
12797         * gst/gstutils.c: (gst_util_uint64_scale_int):
12798         Implemented high precision scaling code.
12800 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
12802         * gst/gstinfo.h:
12803           do not crash on pad==NULL
12805 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12807         Patch by: Stefan Kost
12809         * common/gtk-doc.mak:
12810         * docs/gst/Makefile.am:
12811         * docs/libs/Makefile.am:
12812           Fix distcheck issues for the libraries docs build
12813           Closes #319599.
12815 2005-11-24  Michael Smith <msmith@fluendo.com>
12817         * docs/manual/basics-helloworld.xml:
12818           Fix bug #315027: memory leak in example code in docs.
12820 2005-11-24  Michael Smith <msmith@fluendo.com>
12822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12823           Unlock the PREROLL_LOCK in a failure case.
12825 2005-11-24  Wim Taymans  <wim@fluendo.com>
12827         * docs/gst/gstreamer-sections.txt:
12828         * gst/base/gstadapter.h:
12829         * gst/base/gstbasesink.h:
12830         * gst/base/gstbasesrc.h:
12831         * gst/base/gstbasetransform.h:
12832         * gst/base/gstpushsrc.h:
12833         * gst/elements/gstfakesink.h:
12834         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12835         * gst/elements/gstfakesrc.h:
12836         * gst/elements/gstfilesink.h:
12837         * gst/elements/gstfilesrc.h:
12838         * gst/gst.c:
12839         * gst/gstbin.c:
12840         * gst/gstbuffer.c: (_gst_buffer_copy):
12841         * gst/gstbus.h:
12842         * gst/gstcaps.c:
12843         * gst/gstchildproxy.c:
12844         * gst/gstclock.c:
12845         * gst/gstelement.c:
12846         * gst/gstelementfactory.c:
12847         * gst/gstelementfactory.h:
12848         * gst/gstevent.c:
12849         * gst/gstghostpad.h:
12850         * gst/gstindex.h:
12851         * gst/gstinterface.h:
12852         * gst/gstminiobject.c:
12853         * gst/gstminiobject.h:
12854         * gst/gstpad.c:
12855         * gst/gstpad.h:
12856         * gst/gstpadtemplate.h:
12857         * gst/gstpipeline.h:
12858         * gst/gstpluginfeature.h:
12859         * gst/gstquery.h:
12860         * gst/gstqueue.h:
12861         * gst/gsttaglist.c:
12862         * gst/gsttaglist.h:
12863         * gst/gsttagsetter.c:
12864         * gst/gsttagsetter.h:
12865         * gst/gsttrace.c:
12866         * gst/gsttrace.h:
12867         * gst/gsttypefind.h:
12868         * gst/gsturi.h:
12869         * gst/gstvalue.c:
12870         * gst/net/gstnetclientclock.c:
12871         * gst/net/gstnetclientclock.h:
12872         * gst/net/gstnettimepacket.c:
12873         * gst/net/gstnettimeprovider.c:
12874         * gst/net/gstnettimeprovider.h:
12875         Doc fixes.
12877 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12879         * configure.ac: back to HEAD
12881 === release 0.9.6 ===
12883 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
12885         * configure.ac:
12886           releasing 0.9.6, "Always On Time"
12888 2005-11-23  Wim Taymans  <wim@fluendo.com>
12890         * docs/gst/gstreamer-sections.txt:
12891         * gst/glib-compat.c:
12892         * gst/gsttagsetter.c:
12893         * gst/gstvalue.c:
12894         * gst/net/gstnetclientclock.c:
12895         * gst/net/gstnettimepacket.h:
12896         Doc updates.
12898 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12900         * docs/faq/using.xml:
12901         * docs/libs/tmpl/gstcontrol.sgml:
12902         * docs/manual/advanced-dparams.xml:
12903         * docs/manual/appendix-checklist.xml:
12904         * docs/manual/basics-elements.xml:
12905         * docs/pwg/other-source.xml:
12906         * docs/random/moving-plugins:
12907         * gst/gstpad.c:
12908         * tools/gst-launch.1.in:
12909           remove mentions of sinesrc
12911 2005-11-23  Michael Smith <msmith@fluendo.com>
12913         * docs/gst/gstreamer-sections.txt:
12914           Update for new API and API changes.
12915         * gst/gstobject.h:
12916           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12917         * gst/gstvalue.c:
12918           Documentation typo fix.
12919         * gst/net/gstnettimepacket.c:
12920           Documentation fixes for arguments.
12922 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
12924         * gst/gststructure.c: (gst_structure_get_fraction),
12925         (gst_structure_parse_value),
12926         (gst_structure_fixate_field_nearest_fraction):
12927         * gst/gststructure.h:
12928         * gst/gstutils.c: (gst_util_uint64_scale_int):
12929         * gst/gstutils.h:
12930         * scripts/update-funcnames:
12931         API Changes. 
12932         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12933         Make gst_structure_fixate_field_nearest_fraction take a numerator
12934         and denominator argument instead of a GValue
12935         add gst_structure_get_fraction helper function.
12937 2005-11-23  Wim Taymans  <wim@fluendo.com>
12939         * docs/design/part-TODO.txt:
12940         Update TODO.
12942         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12943         * gst/net/gstnetclientclock.h:
12944         Use parent fields for timeout and window_size.
12946 2005-11-23  Andy Wingo  <wingo@pobox.com>
12948         * check/net/gstnetclientclock.c (test_functioning): Adjust to
12949         rate_num/rate_denom change.
12951         * gst/net/gstnetclientclock.c
12952         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12953         OBJECT_LOCK. Don't call add_observation with the lock.
12955         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12956         fraction.
12957         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12958         rate fraction.
12959         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12960         deal with rate as a fraction whose numerator and denominator are
12961         GstClockTime values.
12962         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12963         master; the other fields are protected by the SLAVE_LOCK.
12964         (do_linear_regression): Note that this must be called with the
12965         SLAVE_LOCK.
12966         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12967         OBJECT_LOCK. Call set_calibration instead of touching the
12968         variables directly.
12969         (gst_clock_set_property, gst_clock_get_property): Protect
12970         master/slave parameters with the SLAVE_LOCK.
12972         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12973         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12974         note that all of the instance variables that add_observation and
12975         the set_master functions use are protected by that lock and not
12976         the OBJECT_LOCK.
12977         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12979         * gst/gstclock.c (gst_clock_add_observation): No longer requires
12980         the caller to take the object lock.
12982 2005-11-23  Wim Taymans  <wim@fluendo.com>
12984         * gst/gsterror.c: (_gst_core_errors_init):
12985         * gst/gsterror.h:
12986         Add error for clock stuff.
12988         * gst/gstpipeline.c: (gst_pipeline_change_state),
12989         (gst_pipeline_set_clock):
12990         Post clock error when clock cannot be used in a pipeline.
12992 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
12994         * docs/gst/gstreamer-sections.txt:
12995           make two symbols from gstinfo private for the docs
12996         * gst/base/gstcollectpads.h:
12997         * gst/gstutils.c:
12998           fix doc typos, update docs
13000 2005-11-22  Wim Taymans  <wim@fluendo.com>
13002         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13003         (gst_base_sink_wait), (gst_base_sink_do_sync),
13004         (gst_base_sink_handle_event):
13005         * gst/base/gstbasesink.h:
13006         No need to store the clock, the parent element class already
13007         has it.
13009         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13010         Updates for clock_set returning a gboolean
13012         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13013         (gst_clock_id_wait_async), (gst_clock_class_init),
13014         (gst_clock_init), (gst_clock_finalize),
13015         (gst_clock_get_internal_time), (gst_clock_get_time),
13016         (gst_clock_slave_callback), (gst_clock_set_master),
13017         (gst_clock_get_master), (do_linear_regression),
13018         (gst_clock_add_observation), (gst_clock_set_property),
13019         (gst_clock_get_property):
13020         * gst/gstclock.h:
13021         Implement master/slave. When setting a clock as a slave, a
13022         periodic timeout is scheduled to sample master and slave times.
13023         Then the slave clock is recalibrated to match offset and rate
13024         of the master clock.
13025         Update logging a bit.
13026         Add flag so that a clock can state that is cannot be slaved to
13027         another clock.
13029         * gst/gstelement.c: (gst_element_set_clock):
13030         * gst/gstelement.h:
13031         The set clock returns a gboolean for when an element cannot
13032         deal with the selected clock in the pipeline. 
13034         * gst/gstpipeline.c: (gst_pipeline_change_state),
13035         (gst_pipeline_set_clock):
13036         * gst/gstpipeline.h:
13037         Handle the case where the selected clock cannot be set on
13038         the pipeline.
13040         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13041         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13042         (gst_net_client_clock_set_property),
13043         (gst_net_client_clock_get_property),
13044         (gst_net_client_clock_observe_times):
13045         * gst/net/gstnetclientclock.h:
13046         Use regression code in GstClock parent, remove duplicated
13047         functionality.
13049 2005-11-22  Michael Smith <msmith@fluendo.com>
13051         * gst/gstutils.c: (gst_util_clock_time_scale):
13052         * gst/gstutils.h:
13053         * docs/gst/gstreamer-sections.txt:
13054           Rename method to have extra underscore.
13056 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13058         * gst/elements/Makefile.am:
13059         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13060         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13061         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13062         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13063         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13064         * gst/elements/gstfakesrc.h:
13065         * gst/gstqueue.c: (queue_leaky_get_type):
13066           correctly fix GEnumValues so that nick is the short lowercase
13067           dashed tag
13068         * tools/gst-inspect.c: (print_element_properties_info):
13069           also show the nick, since it's useful to use from parse_launch
13070           syntax
13071           Fixes #322139
13073 2005-11-22  Michael Smith <msmith@fluendo.com>
13075         * gst/gstutils.c: (gst_util_clocktime_scale):
13076         * gst/gstutils.h:
13077         * docs/gst/gstreamer-sections.txt:
13078           Add util method for scaling a clocktime by a fraction. Useful 
13079           implementation is left as an exercise for the reader.
13081 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13083         * gst/gstvalue.c: (gst_value_collect_fraction_range):
13084         If needed, allocate storage in the destination value during
13085         collection.
13087 2005-11-22  Edward Hervey  <edward@fluendo.com>
13089         * docs/gst/gstreamer-sections.txt:
13090         * gst/Makefile.am:
13091         * gst/gst.h:
13092         * gst/gsturitype.c:
13093         * gst/gsturitype.h:
13094         * gst/gstutils.c: (gst_util_set_object_arg):
13095         * tools/gst-compprep.c: (main):
13096         * tools/gst-inspect.c: (print_element_properties_info):
13097         Removed GstURI, closes bug #321061
13099 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13101         * check/gst/gststructure.c: (GST_START_TEST):
13102         * gst/gststructure.c: (gst_structure_parse_value):
13103           Oops, broke automatic string type parsing.
13104           Add a test to catch it in future.
13106 2005-11-22  Andy Wingo  <wingo@pobox.com>
13108         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13109         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13110         Actually rename the function implementations. Grr.
13112 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13114         * check/gst/capslist.h:
13115           Comment test cases
13116         * check/gst/gststructure.c: (GST_START_TEST),
13117         (gst_structure_suite):
13118           Test automatic value type detection in gst_structure_from_string.
13119         * gst/gststructure.c: (gst_structure_parse_value):
13120           Add fraction as a type we try and guess automatically in
13121           caps/structure strings.
13123 2005-11-22  Andy Wingo  <wingo@pobox.com>
13125         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13127         * gst/gsttagsetter.h:
13128         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13129         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13130         (gst_tag_setter_add_tag_valist)
13131         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13132         _add_values, _add_valist, and _add_valist_values. Since this is an
13133         interface the function suffixes should be more explicit so
13134         language binding don't end up with element.add_valist ->
13135         gst_tag_setter_add_valist, for example. Fixes #322069.
13137 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13139         * check/gst/gstcaps.c: (GST_START_TEST):
13140           Extend caps string tests to check that a caps to string
13141           conversion is reversible and produces the same caps.
13143         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13144           Output "fraction" as the generic type fraction range, so caps
13145           serialisation and deserialisation works.
13146         * check/gst/capslist.h:
13147         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13148           Support 'MIN' and 'MAX' for deserialising fractions.
13150 2005-11-22  Andy Wingo  <wingo@pobox.com>
13152         * gst/gstevent.h (gst_event_new_new_segment)
13153         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13154         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13155         Renamed from *_newsegment, *_buffersize, *_notarget.
13157         * scripts/update-funcnames: New script, performs the changes
13158         listed above.
13160 2005-11-22  Wim Taymans  <wim@fluendo.com>
13162         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13163         Make sure the GstFlowReturn is returned.
13165         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13166         (gst_bus_add_signal_watch):
13167         * gst/gstbus.h:
13168         add gst_bus_add_signal_watch_full.
13170         * gst/gstplugin.c: (gst_plugin_load_file):
13171         Small style cleanup.
13173 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13175         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13176           Block the fakesrc srcpad when we send an event, to avoid
13177           contention on the stream_lock causing random test failures.
13179 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13181         * check/gst/gstvalue.c: (GST_START_TEST):
13182         * gst/gstvalue.c: (gst_value_fraction_subtract):
13183           Fix subtraction.
13185 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13187         * gst/gst.h:
13188           include "gstchildproxy.h"
13189         * gst/gstchildproxy.h:
13190         * libs/gst/controller/gstcontroller.h:
13191           use G_GNUC_NULL_TERMINATED
13193 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13195         * check/gst/capslist.h:
13196         * check/gst/gstcaps.c: (GST_START_TEST):
13197         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13198         * gst/gststructure.c: (gst_structure_parse_range),
13199         (gst_structure_fixate_field_nearest_fraction):
13200         * gst/gststructure.h:
13201         * gst/gstvalue.c: (gst_value_init_fraction_range),
13202         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13203         (gst_value_collect_fraction_range),
13204         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13205         (gst_value_set_fraction_range_full),
13206         (gst_value_get_fraction_range_min),
13207         (gst_value_get_fraction_range_max),
13208         (gst_value_serialize_fraction_range),
13209         (gst_value_transform_fraction_range_string),
13210         (gst_value_compare_fraction_range),
13211         (gst_value_deserialize_fraction_range),
13212         (gst_value_intersect_fraction_fraction_range),
13213         (gst_value_intersect_fraction_range_fraction_range),
13214         (gst_value_subtract_fraction_fraction_range),
13215         (gst_value_subtract_fraction_range_fraction),
13216         (gst_value_subtract_fraction_range_fraction_range),
13217         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13218         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13219         (gst_value_transform_string_fraction), (_gst_value_initialize):
13220         * gst/gstvalue.h:
13221           Implement fraction ranges and extend GstFraction to support
13222           arithmetic subtraction, as well as deserialization from integer
13223           strings such as "100"
13224           Add a testsuite as for int and double range set operations
13226 2005-11-21  Andy Wingo  <wingo@pobox.com>
13228         * gst/gsttaglist.h: 
13229         * gst/gstcaps.h: 
13230         * gst/gststructure.h: Add glib-compat.h.
13232 2005-11-21  Wim Taymans  <wim@fluendo.com>
13234         * gst/gstbin.c: (gst_bin_change_state_func):
13235         Fix for #321595
13237 2005-11-21  Wim Taymans  <wim@fluendo.com>
13239         * gst/gstsegment.h:
13240         And add a nice define too.
13242 2005-11-21  Wim Taymans  <wim@fluendo.com>
13244         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13245         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13246         (gst_segment_set_duration), (gst_segment_set_last_stop),
13247         (gst_segment_set_seek), (gst_segment_set_newsegment),
13248         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13249         (gst_segment_clip):
13250         * gst/gstsegment.h:
13251         Make binding friendly.
13253 2005-11-21  Andy Wingo  <wingo@pobox.com>
13255         * gst/gsttagsetter.h: 
13256         * gst/gsttaglist.h: 
13257         * gst/gststructure.h: 
13258         * gst/gstcaps.h: 
13259         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13260         #319940.
13262         * gst/gsterror.c (_gst_core_errors_init):
13263         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13264         category.
13266         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13267         (noinst_HEADERS): noinst the -private.
13269 2005-11-21  Michael Smith <msmith@fluendo.com>
13271         * gst/gstplugin.h:
13272         * gst/gstregistry.h:
13273           Remove unimplemented declarations for which we can see no sensible
13274           use.
13276 2005-11-21  Andy Wingo  <wingo@pobox.com>
13278         * gst/gst.h: Include glib-compat.h.
13280         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13282         * gst/glib-compat.c: Include the public and the private header.
13284         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13286         * gst/gstvalue.c: 
13287         * gst/gstpad.c: 
13288         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13290         * check/gst/gstevent.c (create_custom_events): Check that
13291         FLUSH_STOP is serialized.
13293         * check/elements/identity.c (event_func): 
13294         * check/elements/fakesrc.c (event_func): No stream lock, the core
13295         takes it.
13297         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13298         stream lock taking, yay.
13300         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13301         ensure that core takes the stream lock.
13303         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13304         lock name change.
13306         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13307         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13308         it already. For the flush start we do take it though so we get the
13309         right preroll state change messages.
13311         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13312         the stream lock here, the core does it for us.
13314         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13315         GST_STREAM_GET_LOCK.
13316         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13317         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13318         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13319         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13320         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13321         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13323         * gst/gstpad.c: Update for stream lock name change.
13325         * gst/base/gstbasesink.c: Update for preroll lock name change.
13327 2005-11-21  Wim Taymans  <wim@fluendo.com>
13329         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13330         (gst_clock_get_master):
13331         * gst/gstclock.h:
13332         * gst/gstsystemclock.c: (gst_system_clock_init):
13333         Convert Clock flags to object flags.
13334         Added methods to manage master/slave clocks.
13336 2005-11-21  Wim Taymans  <wim@fluendo.com>
13338         * check/gst/gstsegment.c: (GST_START_TEST):
13339         * docs/design/part-TODO.txt:
13340         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13341         (gst_base_sink_event), (gst_base_sink_do_sync),
13342         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13343         (gst_base_sink_query), (gst_base_sink_change_state):
13344         * gst/base/gstbasesink.h:
13345         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13346         (gst_base_src_default_newsegment),
13347         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13348         (gst_base_src_get_range), (gst_base_src_loop),
13349         (gst_base_src_change_state):
13350         * gst/base/gstbasesrc.h:
13351         * gst/base/gstbasetransform.c:
13352         (gst_base_transform_prepare_output_buf),
13353         (gst_base_transform_event), (gst_base_transform_change_state):
13354         * gst/base/gstbasetransform.h:
13355         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13356         (gst_collect_pads_event):
13357         * gst/base/gstcollectpads.h:
13358         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13359         (gst_fake_src_create):
13360         * gst/elements/gstfakesrc.h:
13361         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13362         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13363         (gst_segment_set_last_stop), (gst_segment_set_seek),
13364         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13365         (gst_segment_to_running_time), (gst_segment_clip):
13366         * gst/gstsegment.h:
13367         More segment updates, replace code in plugins with segment
13368         helper functions.
13370 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13372         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13373         Don't ignore sscanf results
13375 2005-11-21  Andy Wingo  <wingo@pobox.com>
13377         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13379         * *.h:
13380         * *.c: Ran scripts/update-macros. Oh yes.
13382         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13383         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13384         GST_GET_LOCK, etc.
13386         * scripts/update-macros: New script. Run it on your files to
13387         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13388         well.
13390 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13392         * docs/gst/Makefile.am:
13393         * docs/gst/gstreamer-docs.sgml:
13394         * docs/gst/gstreamer-sections.txt:
13395         * docs/gst/gstreamer.types:
13396         * gst/gstinfo.h:
13397           more docs fixes, add new api to the docs
13399 2005-11-21  Andy Wingo  <wingo@pobox.com>
13401         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13402         state_broadcast call.
13404         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13406 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13408         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13409         function calls for arrays.
13411 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13413         * docs/random/ensonic/media-device-daemon.txt:
13414           wild idea, can this be done?
13415         * docs/gst/gstreamer-sections.txt:
13416         * gst/gsterror.h:
13417         * gst/gstfilter.c:
13418         * gst/gstfilter.h:
13419         * gst/gstplugin.h:
13420         * gst/gstpluginfeature.c:
13421         * gst/gsttrace.c:
13422         * gst/gstvalue.c:
13423         * gst/gstvalue.h:
13424           doc fixes and additions
13426 2005-11-21  Andy Wingo  <wingo@pobox.com>
13428         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13429         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13430         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13431         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13432         private to the basesrc implementation.
13434         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13435         behalf of event function if necessary. It should no longer be
13436         necessary to take the stream lock in pad's event functions. Fixes
13437         #320299.
13439 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13440         * docs/gst/gstreamer-sections.txt:
13441         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13442         (gst_structure_fixate_field_nearest_double),
13443         (gst_structure_fixate_field_boolean):
13444         * gst/gststructure.h:
13445         * win32/common/libgstreamer.def:
13446         * win32/gstreamer.def:
13448         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13449         (#322027)
13451 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13453         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13454         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13455         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13456         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13457         (gst_fdsrc_uri_handler_init):
13458         * gst/elements/gstfdsrc.h:
13459           Port fd:// URI handler from 0.8 to fdsrc
13461 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13463         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13464         (gst_value_serialize_fourcc):
13465         * gst/gstvalue.h:
13466           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13467           consistent with our other format defines (#320324).
13469 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13471         * gst/gstvalue.c: (gst_value_is_fixed):
13472           Revert previous commit. Value lists are by definition
13473           not fixed, as they are a list of possible values.
13475 2005-11-21  Andy Wingo  <wingo@pobox.com>
13477         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13478         during the stable series if we need it. Fixes #319178.
13480         * gst/gstevent.c (gst_event_new_filler): Removed.
13482         * check/gst/gstevent.c: Update comment about filler events.
13484 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13486         * gst/gstvalue.c: (gst_value_is_fixed):
13487           Should handle both value arrays and value lists.
13489 2005-11-21  Andy Wingo  <wingo@pobox.com>
13491         patch by: Alessandro Dessina <alessandro nnva org>
13493         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13494         functions to access arrays. Fixes #321962.
13496 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13498         * docs/gst/gstreamer.types:
13499           gst_collectpads_get_type => gst_collect_pads_get_type.
13500           
13501         * gst/base/gstbasetransform.c:
13502           Remove unused SIGNAL_HANDOFF enum.
13504 2005-11-21  Andy Wingo  <wingo@pobox.com>
13506         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13507         the event type (upstream, downstream, serialized). Renamed
13508         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13509         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13510         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13512         * gst/gstevent.c: Update for new CUSTOM event names.
13514         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13516         * gst/gstevent.h:
13517         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13518         bug #319392.
13520 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13522         * docs/gst/gstreamer-sections.txt:
13523         * win32/common/libgstbase.def:
13524         * win32/libgstbase.def:
13525         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13526         (gst_collect_pads_class_init), (gst_collect_pads_init),
13527         (gst_collect_pads_finalize), (gst_collect_pads_new),
13528         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13529         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13530         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13531         (gst_collect_pads_start), (gst_collect_pads_stop),
13532         (gst_collect_pads_peek), (gst_collect_pads_pop),
13533         (gst_collect_pads_available), (gst_collect_pads_read),
13534         (gst_collect_pads_flush), (gst_collect_pads_event),
13535         (gst_collect_pads_chain):
13536         * gst/base/gstcollectpads.h:
13537           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13538           unimplemented functions as unimplemented. Add padding to
13539           GstCollectData. (#320766, #320423)
13541 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13543         * gst/gstmessage.c:
13544           Improve docs for DURATION message (usage of duration parameter)
13545           (#320113)
13547 2005-11-20  Wim Taymans  <wim@fluendo.com>
13549         * check/Makefile.am:
13550         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13551         (main):
13552         * gst/Makefile.am:
13553         * gst/gst.h:
13554         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13555         (gst_segment_set_seek), (gst_segment_set_newsegment),
13556         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13557         (gst_segment_clip):
13558         * gst/gstsegment.h:
13559         Added segment helper structure and methods. Not fully implemented
13560         yet.
13561         Added segment check.
13563 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13565         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13566           Add a deserialisation test for fractions
13567         * examples/metadata/read-metadata.c: (message_loop),
13568         (make_pipeline), (main):
13569           Fix up metadata reading sample.
13570         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13571           Debug format fix
13572         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13573           Don't try and fixate empty caps
13574         * gst/gst_private.h:
13575           Wrap in G_BEGIN_DECLS/G_END_DECLS
13576         * gst/gstvalue.c: (gst_value_collect_fraction),
13577         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13578         (gst_value_transform_string_fraction),
13579         (gst_value_compare_fraction):
13580           Add some extra guards to ensure that we don't end up 
13581           with an invalid denominator of 0 in a gstfraction and
13582           that fractions always get reduced.
13584 2005-11-20  Wim Taymans  <wim@fluendo.com>
13586         * docs/gst/gstreamer-sections.txt:
13587         * gst/gstbuffer.h:
13588         * gst/gstelement.c:
13589         * gst/gstformat.c:
13590         * gst/gstformat.h:
13591         * gst/gstindex.h:
13592         * gst/gstquery.c:
13593         * gst/gstquery.h:
13594         * gst/gstvalue.c:
13595         Doc fixes.
13597 2005-11-20  Wim Taymans  <wim@fluendo.com>
13599         * docs/design/part-TODO.txt:
13600         * gst/gstcaps.h:
13601         Make a proper enum of the flag.
13603 2005-11-19  Wim Taymans  <wim@fluendo.com>
13605         * docs/design/part-TODO.txt:
13606         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13607         (gst_format_to_quark), (gst_format_register):
13608         * gst/gstformat.h:
13609         * gst/gstquery.c: (_gst_query_initialize),
13610         (gst_query_type_get_name), (gst_query_type_to_quark),
13611         (gst_query_type_register):
13612         * gst/gstquery.h:
13613         Add type to quark and type to string conversions.
13615 2005-11-19  Andy Wingo  <wingo@pobox.com>
13617         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13618         #320097.
13620 2005-11-19  Wim Taymans  <wim@fluendo.com>
13622         * docs/design/part-TODO.txt:
13623         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13624         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13625         (gst_bin_handle_message_func):
13626         * gst/gstbin.h:
13627         Make message handling overridable.
13629 2005-11-19  Andy Wingo  <wingo@pobox.com>
13631         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13633         * gst/gstclock.h:
13634         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13635         be a GstClockTime.
13636         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13637         is a GstClockTime. Fixes #321710.
13639         * gst/gstclock.h (GstClock): Remove offset property. Add
13640         internal_calibration and external_calibration. Fix padding. Pad
13641         also by GstClockTime so we don't run into problems.
13643         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13644         (gst_clock_get_rate_offset): Remove.
13645         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13647         * gst/gstutils.h:
13648         * gst/gstutils.c (g_static_rec_cond_wait)
13649         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13651         * gst/gstbin.c: Remove terrible continue_state prototype.
13653         * gst/gstelement.h (gst_element_continue_state): Make public.
13655         * gst/gstelement.h:
13656         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13657         by continue_state. Fixes #319389.
13659         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13660         Really fixes #168438. However I don't see anywhere where the
13661         filter function is called... stupid GStreamer...
13662         
13663         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13664         don't have a dispose function, so it won't get called when the
13665         object is unreffed, but oh well!
13667         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13668         allows a destroy function to be set so user_data can be freed.
13669         Fixes #168438.
13670         (gst_index_set_filter): Call gst_index_set_filter_full.
13672         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13674         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13675         string should produce an error, given the lack of a way to
13676         represent NULL strings. Fixes #165650.
13677         
13678         * gst/gstvalue.h: 
13679         * gst/gstvalue.c (gst_value_array_append_value) 
13680         (gst_value_array_prepend_value, gst_value_array_get_size) 
13681         (gst_value_array_get_value): New API, copied from
13682         gst_value_list_*, only operates on arrays.
13683         (gst_value_list_append_value, gst_value_list_prepend_value) 
13684         (gst_value_list_concat, gst_value_list_get_size) 
13685         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13687         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13688         init_list, because it works on both.
13689         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13690         (gst_value_copy_list_or_array): Renamed from copy_list.
13691         (gst_value_free_list_or_array): Renamed from free_list.
13692         (gst_value_collect_list_or_array): Renamed from collect_list.
13693         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13694         (gst_value_list_or_array_peek_pointer): Renamed from
13695         list_peek_pointer.
13696         (_gst_value_array_value_table, _gst_value_list_value_table):
13697         Update value table functions.
13698         (gst_value_compare_list_or_array): Renamed from compare_list.
13700         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13701         some constness.
13703         * gst/gsttaglist.c:
13704         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13705         GstTagList*. Fixes #143472.
13707         * gst/gststructure.h: Clarify what the foreach/map functions can
13708         or can't do to their arguments.
13710 2005-11-18  Wim Taymans  <wim@fluendo.com>
13712         * gst/gstclock.c: (gst_clock_set_calibration),
13713         (gst_clock_get_calibration):
13714         Doc and API fixes.
13715         Calibration can be set with internal time equal to current
13716         internal time too.
13718 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13720         * gst/gsterror.c:
13721         * gst/gsterror.h:
13722           document
13724 2005-11-18  Andy Wingo  <wingo@pobox.com>
13726         * configure.ac: 
13727         * pkgconfig/gstreamer-net.pc.in:
13728         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13729         * pkgconfig/Makefile.am: Add net pkgconfig files.
13731 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13733         * gst/gstcaps.c:
13734         * gst/gstghostpad.c:
13735         * gst/gsttrace.c:
13736         * gst/gstvalue.c:
13737         * gst/gstvalue.h:
13738           docs fixes
13740 2005-11-18  Andy Wingo  <wingo@pobox.com>
13742         * gst/net/gstnetclientclock.c: Turn off debugging.
13744         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13745         times connverge somewhat. Can't make a real test.
13747         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13748         integer arithmetic. Return the minimum of the domain, which can be
13749         set as "internal" for gst_clock_set_calibration.
13750         (gst_net_client_clock_observe_times): Call _set_calibration.
13751         (gst_net_client_clock_new): Call _set_calibration instead of
13752         rate_offset.
13754         * check/net/gstnetclientclock.c (test_functioning): Use the right
13755         adjustment api.
13757         * gst/gstclock.h:
13758         * gst/gstclock.c (gst_clock_get_calibration) 
13759         (gst_clock_set_calibration): New functions, obsolete the ones I
13760         added yesterday. Doh. Precision issues mean we have to extrapolate
13761         from a point in the more recent past than 1970.
13762         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13763         obsolete.
13764         (gst_clock_adjust_unlocked): Use the right calibration data.
13766 2005-11-18  Edward Hervey  <edward@fluendo.com>
13768         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13769         Also reset the ->current_* values in READY->PAUSED
13771 2005-11-18  Andy Wingo  <wingo@pobox.com>
13773         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13774         Whoops, check the right fd. Also add some debugging.
13775         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13776         (do_linear_regression): Add a crapload of debugging. Subtract off
13777         the minimum values from the input series to discard unneeded bits.
13778         Use only int arithmetic. There is still double arithmetic when
13779         calculating the intercept that needs fixing. Return boolean to
13780         indicate success; FALSE would mean the domain or range is too
13781         great. Still needs fixes.
13783 2005-11-18  Wim Taymans  <wim@fluendo.com>
13785         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13786         For the current position in stream time, we need to subtract
13787         accumulated time.
13788         
13789         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13790         Release lock before calling the callback function of async
13791         entries.
13793 2005-11-18  Andy Wingo  <wingo@pobox.com>
13795         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13796         Port goes all the way to MAXUINT16.
13798         * gst/net/gstnettimeprovider.c: Make the port range the same as
13799         for the kernel: 0 assigns, otherwise ports are less than
13800         MAXUINT16.
13802         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13803         port change.
13805         * check/net/gstnetclientclock.c (test_functioning): Add the start
13806         of another test. 
13808 2005-11-18  Wim Taymans  <wim@fluendo.com>
13810         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13811         (gst_bin_remove_func), (bin_bus_handler):
13812         * gst/gstbin.h:
13813         Removing a clock provider from a bin, triggers a clock lost message
13814         so that a new clock will be selected.
13815         Adding a clock to a bin triggers a clock provider message.
13816         Make sure we reselect a clock when we received a clock lost message.
13817         Keep a reference to the element that provided the clock.
13819 2005-11-18  Andy Wingo  <wingo@pobox.com>
13821         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13822         the clock initially so it produces values around the base time.
13823         (gst_net_client_clock_class_init): Typo fix.
13824         (gst_net_client_clock_thread): Add note on when the socket gets
13825         closed.
13827 2005-11-17  Wim Taymans  <wim@fluendo.com>
13829         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13830         Free remote and local time arrays.
13832 2005-11-17  Wim Taymans  <wim@fluendo.com>
13834         * gst/net/gstnetclientclock.c: (do_linear_regression),
13835         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13836         Fix compilation, uninitialized vars and a forgotten continue.
13838 2005-11-17  Andy Wingo  <wingo@pobox.com>
13840         * check/Makefile.am (check_PROGRAMS): 
13841         * check/net/gstnetclientclock.c: Add a most minimal test for the
13842         net client clock. More to come later.
13844         * gst/net/gstnet.h: 
13845         * gst/net/Makefile.am: Add netclientclock.
13847         * gst/net/gstnetclientclock.h:
13848         * gst/net/gstnetclientclock.c: New files, implement an untested
13849         GstClock that takes its time from a network time provider.
13850         Implements the algorithm in network-clock.scm.
13852         * tests/network-clock.scm (*window-size*): Rename from
13853         *queue-length*.
13854         * tests/network-clock.scm (network-time): 
13855         * tests/network-clock-utils.scm (q-push): Update callers.
13857 2005-11-17  Wim Taymans  <wim@fluendo.com>
13859         * gst/gstbin.c: (gst_bin_provide_clock_func),
13860         (gst_bin_sort_iterator_new):
13861         And unref the child too..
13863 2005-11-17  Wim Taymans  <wim@fluendo.com>
13865         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13866         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13867         Refactor the sort iterator so it can be used while holding the
13868         LOCK too.
13869         Make clock selection select a clock closest to the source.
13871 2005-11-17  Michael Smith <msmith@fluendo.com>
13873         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13874         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13875         * gst/gstclock.h:
13876           Anonymous structs are a gcc (and some other compilers) extension, so
13877           don't use them. Since this is only for ABI-compatibility, and our
13878           API/ABI freeze is over in a few days, this whole thing will only
13879           last a few days, so don't bother trying to think up a meaningful
13880           name for the struct.
13882 2005-11-17  Andy Wingo  <wingo@pobox.com>
13884         * gst/gstclock.h (GstClock): Add rate and offset properties,
13885         preserving ABI stability. Add rate/offset accessors. Will file bug
13886         for the freeze break.
13888         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13889         and offset, trying to keep precision and avoiding
13890         underflow/overflow.
13891         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13892         functions. Make gst_clock_set_time_adjust obsolete.
13893         (gst_clock_set_time_adjust): Note that this function is obsolete.
13894         Will file bug soon.
13896         * gst/base/gstbasetransform.h: Make the ABI-stability hack
13897         greppable by using GST_PADDING-1+1.
13899 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
13901         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13903         * gst/gstmessage.c: (gst_message_parse_clock_lost):
13904           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13906         * gst/gstpadtemplate.h:
13907         * gst/gstpluginfeature.h:
13908           Don't use c++ style comments in headers (#321638).
13910 2005-11-16  Andy Wingo  <wingo@pobox.com>
13912         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13913         buffer.
13915         * check/net/gstnettimeprovider.c: Check to see that the time
13916         provider actually provides times. Works, yo!
13918 2005-11-16  Wim Taymans  <wim@fluendo.com>
13920         * check/Makefile.am:
13921         Enable more tests.
13923         * check/elements/fakesrc.c: (GST_START_TEST):
13924         Set element to NULL before disposing it.
13926 2005-11-16  Andy Wingo  <wingo@pobox.com>
13928         * gst/net/Makefile.am:
13929         * gst/net/gstnet.h:
13930         * gst/net/gstnettimeprovider.c: 
13931         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13932         provider, include it from gstnet.h, and add it to the build.
13934         * gst/net/gstnettimepacket.h: 
13935         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13936         sending and receiving.
13938 2005-11-16  Wim Taymans  <wim@fluendo.com>
13940         * check/Makefile.am:
13941         Enable valgrind check.
13943         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13944         (gst_fake_src_alloc_buffer):
13945         Fix memleak.
13947 2005-11-16  Wim Taymans  <wim@fluendo.com>
13949         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13950         Call parent finalize too.
13952 2005-11-16  Wim Taymans  <wim@fluendo.com>
13954         * check/Makefile.am:
13955         Enable valgrind check that should work fine now.
13957         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13958         * gst/gstqueue.c: (gst_queue_init):
13959         Fix memleaks in pad allocation.
13961 2005-11-16  Andy Wingo  <wingo@pobox.com>
13963         * gst/net/Makefile.am:
13964         * gst/net/gstnet.h: New part of core to hold network elements and
13965         objects. Put in core because it exposes API that applications want
13966         to use. The library is named libgstnet-tempname right now because
13967         of the existing libgstnet in gst-plugins-base. Solution is
13968         probably to rename the one in plugins-base; will file a bug for
13969         the freeze break.
13971         * gst/net/gstnettimeprovider.c: 
13972         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13973         get_time call over the network.
13975         * configure.ac: 
13976         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13978         * check/Makefile.am:
13979         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13980         get additions shortly.
13982 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13984         * gst/gstpad.c: (gst_pad_new_from_static_template):
13985         * gst/gstpad.h:
13986           add gst_pad_new_from_static_template functions
13987         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13988         (gst_check_setup_sink_pad):
13989         * gst/elements/gsttee.c: (gst_tee_init):
13990           and use them
13992 2005-11-16  Wim Taymans  <wim@fluendo.com>
13994         * gst/gstpad.c: (gst_pad_pause_task):
13995         Removed warning, it's not really an error either.
13997 2005-11-16  Wim Taymans  <wim@fluendo.com>
13999         * gst/base/gstbasetransform.c:
14000         (gst_base_transform_prepare_output_buf),
14001         (gst_base_transform_event):
14002         Check if the caps are NULL, this can happen if the element
14003         is shutting down and the pad caps are set to NULL.
14005 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14007         * gst/elements/gsttee.c: (gst_tee_init):
14008           fix pad template leak in tee
14010 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14012         * gst/glib-compat.c: (g_value_dup_gst_object):
14013         * gst/glib-compat.h:
14014         * gst/gstpad.c: (gst_pad_set_property):
14015           use gst_object_ref when setting the pad template; this will
14016           trigger the pad template leaks on GLib 2.6 and the slaves
14018 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14020         * gst/glib-compat.c: (gst_flags_get_first_value):
14021         * gst/glib-compat.h:
14022         * gst/gstregistryxml.c:
14023           remove functions copied from GLib 2.6
14025 2005-11-16  Michael Smith <msmith@fluendo.com>
14027         * gst/Makefile.am:
14028           Don't link against VALGRIND_LIBS. That was always the wrong thing to
14029           do, but only breaks with newer valgrind versions. We're not a
14030           valgrind tool, we have no link-time dependencies on libcoregrind.
14032 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14034         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14035           some debug changes
14036         * gst/gstmessage.h:
14037           typo fixes
14039 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14041         * gst/base/gstbasesrc.c: (gst_base_src_init):
14042         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14043         * gst/gstqueue.c: (gst_queue_init):
14044         * gst/gstregistryxml.c: (load_feature):
14045           Revert all these unrefs, they don't even pass make check !
14047 2005-11-15  Johan Dahlin  <johan@gnome.org>
14049         * gst/base/gstbasesrc.c: (gst_base_src_init):
14050         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14051         * gst/gstqueue.c: (gst_queue_init): 
14052         Free pad templates, fixes a couple of leaks.
14054 2005-11-15  Daniel Fischer  <dan at f3c dot com>
14056         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14058         * gst/gstpad.c: (gst_pad_get_property):
14059           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14060           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14061           (#321452)
14063 2005-11-15  Wim Taymans  <wim@fluendo.com>
14065         * gst/gstevent.c:
14066         Small doc update.
14068 2005-11-15  Andy Wingo  <wingo@pobox.com>
14070         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14072         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14073         using GST_CLOCK_TIME_NONE to disable base time management.
14074         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14075         time if it was NONE before.
14076         (gst_pipeline_change_state): Only munge the base time if
14077         stream_time != GST_CLOCK_TIME_NONE.
14079         * check/gst/gstpipeline.c (test_base_time): Punt around the
14080         problem of the probe not being called, because that's not the
14081         issue I'm looking at. Add a check that setting stream_time to NONE
14082         disables base time management.
14083         
14084 2005-11-15  Wim Taymans  <wim@fluendo.com>
14086         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14087         segment_stop == -1 at startup.
14089         * gst/base/gstbasetransform.c: (gst_base_transform_event),
14090         (gst_base_transform_change_state):
14091         Init segment values at start.
14093 2005-11-15  Wim Taymans  <wim@fluendo.com>
14095         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14096         0 segment values are 0 in any format.
14098         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14099         * gst/base/gstbasetransform.h:
14100         Parse newsegment correctly in basetransform
14102         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14103         Sync to clock using updated segment values.
14105 2005-11-15  Andy Wingo  <wingo@pobox.com>
14107         * check/gst/gstpipeline.c (test_base_time): Add check that the
14108         base time and stream time are reset correctly.
14110 2005-11-15  Wim Taymans  <wim@fluendo.com>
14112         * docs/design/part-TODO.txt:
14113         Some more TODO items.
14115 2005-11-15  Andy Wingo  <wingo@pobox.com>
14117         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14118         error if the user selected "no clock" as the clocking method.
14120         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14121         timestamps with live capture.
14123         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14124         is 0 but we are a live source, timestamp the buffers using the
14125         element's clock.
14127 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14129         * docs/gst/gstreamer-sections.txt:
14130         * gst/gsterror.c:
14131         * gst/gstghostpad.c:
14132         * gst/gstobject.h:
14133         * gst/gstxml.c:
14134           more section docs
14136 2005-11-14  Wim Taymans  <wim@fluendo.com>
14138         * common/gst.supp:
14139           add suppressions from Wim's Debian machine
14141 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14143         * common/gst.supp:
14144           add suppressions from Andy's AMD64 Ubuntu machine
14146 2005-11-14  Andy Wingo  <wingo@pobox.com>
14148         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14149         STATE_LOCK not necessary. Fixes #311489.
14151         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14152         #305291.
14154         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14155         this function is not implemented.
14157 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14159         * gst/base/gstbasetransform.c:
14160         (gst_base_transform_prepare_output_buf):
14161         Ref the source pad caps while we need them.
14162         Fixes (#321386)
14164 2005-11-11  Wim Taymans  <wim@fluendo.com>
14166         * docs/gst/gstreamer-sections.txt:
14167         Added some docs for GstCollectData.
14169         * gst/base/gstadapter.c:
14170         Some small code example fix.
14172         * gst/base/gstcollectpads.c:
14173         * gst/base/gstcollectpads.h:
14174         Document some more.
14176 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14178         * configure.ac: back to HEAD
14180 === release 0.9.5 ===
14182 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14184         * configure.ac:
14185           releasing 0.9.5, "Bike Lunch Day"
14187 2005-11-11  Wim Taymans  <wim@fluendo.com>
14189         * gst/gstbuffer.c: (_gst_buffer_copy):
14190         Copy more flags.
14192         * gst/gstcaps.c: (gst_caps_is_equal):
14193         Fix some docs.
14194         Make _is_equal fast in the trivial cases.
14196         * gst/gstminiobject.c:
14197         * gst/gstminiobject.h:
14198         More docs. Spifify .h file.
14200         * gst/gstutils.c:
14201         Small doc update.
14203 2005-11-11  Wim Taymans  <wim@fluendo.com>
14205         * gst/base/gstbasetransform.c:
14206         (gst_base_transform_prepare_output_buf),
14207         (gst_base_transform_handle_buffer):
14208         Small cleanups.
14209         If we're processing a buffer and need to allocate an output
14210         buffer, we cannot accept a format change. If we did get a 
14211         format change, we have to alloc a buffer ourselves of the 
14212         right size.
14214 2005-11-11  Wim Taymans  <wim@fluendo.com>
14216         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14217         While checking the flag for reentrancy in the gstcaps function
14218         is nice to detect recursive invocations, it also makes it 
14219         impossible to call getcaps from multiple threads, which must be
14220         possible. So, checking for recursive calls has to go.
14222 2005-11-11  Michael Smith <msmith@fluendo.com>
14224         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14225           Don't sync on buffers that fall partially outside our current
14226           segment. Prevents an assertion failure/abort playing some files.
14228 2005-11-10  Andy Wingo  <wingo@pobox.com>
14230         * check/gst/gstbin.c (test_message_state_changed_children): Style
14231         fix..
14233         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14234         gst_bus_poll with the signal watch. Ensures that poll and a signal
14235         watch see the same messages.
14237         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14238         a poll and a watch at the same time get the same messages.
14240 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14242         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14243         * gst/gstcaps.c: (gst_caps_intersect):
14244           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14245           and it's not needed.
14247 2005-11-10  Wim Taymans  <wim@fluendo.com>
14249         * docs/design/part-TODO.txt:
14250         Updated todo.
14252 2005-11-10  Wim Taymans  <wim@fluendo.com>
14254         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14255         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14256         (gst_base_src_do_sync), (gst_base_src_get_range):
14257         Implement clock sync in base class.
14259 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14261         patch by: Tim-Philipp Müller <tim at centricular dot net>
14263         * gst/gststructure.c: (gst_structure_parse_field),
14264         (gst_structure_from_string):
14265           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14266           so that gst_parse_launch() can deal with spaces in filtered link
14267           caps (fixes #164479)
14268         * check/gst/capslist.h:
14269         * check/gst/gststructure.c: (GST_START_TEST):
14270           add unit tests for this change
14272 2005-11-10  Wim Taymans  <wim@fluendo.com>
14274         * docs/gst/gstreamer-sections.txt:
14275         * gst/gstelement.c:
14276         * gst/gstelement.h:
14277         Fix docs, move some STATE macros to private.
14279 2005-11-10  Wim Taymans  <wim@fluendo.com>
14281         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14282         Added check for bug #317341
14284         * gst/gstbuffer.c:
14285         * gst/gstbuffer.h:
14286         Some more spiffifying.
14288         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14289         Call peer linkfunction if we are a source pad. Totally fixes
14290         #317341
14292         * gst/gstpad.c:
14293         Update docs, source pads should call the peer linkfunction
14294         so they can atomically perform the pad link.
14296 2005-11-09  Wim Taymans  <wim@fluendo.com>
14298         * gst/gstbuffer.c:
14299         * gst/gstbuffer.h:
14300         Uber-spiffy-spiffify some more.
14302 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14304         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14305         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14306         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14307         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14308         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14309         * gst/gstpad.c: (gst_pad_init):
14310           Use GST_DEBUG_FUNCPTR() more extensively.
14312 2005-11-09  Wim Taymans  <wim@fluendo.com>
14314         * gst/gstobject.c: (gst_object_class_init):
14315         * gst/gstobject.h:
14316         Documentation fixes.
14318 2005-11-09  Edward Hervey  <edward@fluendo.com>
14320         * gst/gsttypefindfactory.c:
14321         Fix docs.
14322         
14323 2005-11-09  Edward Hervey  <edward@fluendo.com>
14325         * gst/base/gsttypefindhelper.c:
14326         * gst/gsttypefind.c:
14327         * gst/gsttypefind.h:
14328         Fix docs.
14330 2005-11-09  Wim Taymans  <wim@fluendo.com>
14332         * gst/gstiterator.c:
14333         Fix revision data.
14335         * gst/gsttask.c:
14336         * gst/gsttask.h:
14337         Fix docs.
14339 2005-11-09  Wim Taymans  <wim@fluendo.com>
14341         * gst/gstevent.h:
14342         * gst/gsturi.h:
14343         Fix docs.
14345 2005-11-09  Wim Taymans  <wim@fluendo.com>
14347         * docs/gst/gstreamer-sections.txt:
14348         Moved the message async delivery private lock and cond
14349         to the private section.
14351         * gst/gstmessage.c:
14352         * gst/gstmessage.h:
14353         Fixed docs.
14355 2005-11-09  Edward Hervey  <edward@fluendo.com>
14357         * docs/gst/gstreamer-sections.txt:
14358         * gst/gsturi.c:
14359         * gst/gsturi.h:
14360         Document GstURIHandler
14362 2005-11-09  Wim Taymans  <wim@fluendo.com>
14364         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14365         (gst_iterator_find_custom):
14366         * gst/gstiterator.h:
14367         Fix iterator docs.
14369 2005-11-09  Wim Taymans  <wim@fluendo.com>
14371         * gst/gstbin.h:
14372         Document another field.
14374         * gst/gststructure.c:
14375         * gst/gststructure.h:
14376         Document.
14378 2005-11-09  Wim Taymans  <wim@fluendo.com>
14380         * gst/gstbin.h:
14381         Documented structs.
14383 2005-11-09  Wim Taymans  <wim@fluendo.com>
14385         * docs/gst/gstreamer-sections.txt:
14386         Added some new macros.
14388         * gst/gstclock.c:
14389         * gst/gstclock.h:
14390         * gst/gstobject.h:
14391         Docs updates.
14393 2005-11-09  Wim Taymans  <wim@fluendo.com>
14395         * docs/design/part-TODO.txt:
14396         Some more items for the TODO
14398         * gst/gstcaps.c:
14399         * gst/gstcaps.h:
14400         Document GstCaps.
14402 2005-11-09  Andy Wingo  <wingo@pobox.com>
14404         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14405         to work on something else now tho...
14407         * gst/base/gstadapter.c: More adapter docs.
14409         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14410         (gst_file_sink_stop): New functions, replace the state change
14411         handler.
14412         (gst_file_sink_class_init): Hook up the start and stop functions.
14413         (gst_file_sink_base_init): Don't set the state change handler any
14414         more. It was a bit ugly too, being set from here...
14415         (gst_file_sink_get_property, gst_file_sink_set_property):
14416         Cleanups...
14417         (gst_file_sink_set_location): More robust check that doesn't call
14418         GST_STATE. Ugggggg.
14420 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14422         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14423           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14425 2005-11-08  Wim Taymans  <wim@fluendo.com>
14427         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14428         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14429         (gst_base_sink_chain), (gst_base_sink_change_state):
14430         * gst/base/gstbasesink.h:
14431         * gst/base/gstbasesrc.h:
14432         * gst/gstelement.h:
14433         * gst/gstevent.h:
14434         Avoid excessive typechecking in macros.
14436         * gst/gstminiobject.c: (gst_mini_object_get_type),
14437         (gst_mini_object_init), (gst_mini_object_new),
14438         (gst_mini_object_free):
14439         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14440         (gst_object_finalize):
14441         Remove cruft code, optimize alloc_trace.
14443 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14445         * docs/faq/gst-uninstalled:
14446           fix up PS1 for systems that try to reset it
14448 2005-11-07  Wim Taymans  <wim@fluendo.com>
14450         * gst/base/gstbasesrc.c: (gst_base_src_init),
14451         (gst_base_src_get_range):
14452         Set the segment_end to -1 initially. Fixed typefind.
14454 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14456         * gst/base/gstadapter.c:
14457           Debug category should be 'adapter', not 'GstAdapter'.
14458           
14459         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14460         (gst_collectpads_class_init), (gst_collectpads_init),
14461         (gst_collectpads_peek), (gst_collectpads_pop),
14462         (gst_collectpads_event), (gst_collectpads_chain):
14463           Add debug category and some debugging output. Use boilerplate
14464           macros. Remove some extraneous words from docs.
14466 2005-11-05  Andy Wingo  <wingo@pobox.com>
14468         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14469         macro.
14471 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14473         * docs/gst/gstreamer-sections.txt:
14474         * gst/gstcaps.h:
14475         * gst/gstinfo.c:
14476         * gst/gstminiobject.h:
14477         * gst/gstobject.h:
14478         * gst/gstutils.h:
14479           more docs added
14481 2005-11-04  Wim Taymans  <wim@fluendo.com>
14483         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14484         Small update to stop at the configured segment_end
14485         position.
14487 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14489         * gst/gstregistry.c:
14490         * gst/gstregistry.h:
14491           added missing docs
14493 2005-11-04  Edward Hervey  <edward@fluendo.com>
14495         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14496         Check if we are doing a segment seek and have arrived at the
14497         end of that segment.
14499 2005-11-04  Wim Taymans  <wim@fluendo.com>
14501         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14502         Don't leak a mutex unlock in case of an error.
14504         * gst/gstbus.h:
14505         Doc fixes.
14507 2005-11-04  Wim Taymans  <wim@fluendo.com>
14509         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14510         (gst_bus_post):
14511         Get the context to wake up only once.
14513 2005-11-03  Wim Taymans  <wim@fluendo.com>
14515         * check/states/sinks.c: (GST_START_TEST):
14516         Uncomment fixed check.
14518         * docs/design/part-TODO.txt:
14519         Updated TODO.
14521         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14522         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14523         (gst_base_sink_get_position):
14524         If we are going to PLAYING, post the right pending state
14525         when we post the intermediate paused message.
14527         * gst/gstelement.c: (gst_element_continue_state),
14528         (gst_element_set_state_func), (gst_element_change_state):
14529         Don't post state changes that were between the same state
14530         and were not ASYNC.
14532 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14534         * docs/gst/gstreamer-sections.txt:
14535         * gst/gstcaps.h:
14536         * gst/gstinfo.c:
14537         * gst/gstminiobject.h:
14538         * gst/gstobject.h:
14539         * gst/gstutils.h:
14540           more docs and doc style fixes
14542 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14544         * docs/gst/gstreamer-sections.txt:
14545         * gst/gstelement.c:
14546         * gst/gstminiobject.c:
14547         doc fixes
14549 2005-11-03  Andy Wingo  <wingo@pobox.com>
14551         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14552         state-changed messages actually have the right order and the right
14553         values.
14555 2005-11-03  Wim Taymans  <wim@fluendo.com>
14557         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14558         Added some more checks. Specifically the case where NO_PREROLL
14559         elements are in the pipeline.
14561         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14562         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14563         (gst_base_sink_get_position):
14564         Post READY->PAUSED state change messages too.
14565         Fix bug where VOID was posted as pending state...
14567         * gst/gstbin.c: (gst_bin_recalc_state):
14568         use _element_continue_state() to continue the state change.
14570         * gst/gstelement.c: (gst_element_continue_state),
14571         (gst_element_commit_state), (gst_element_set_state_func),
14572         (gst_element_change_state), (gst_element_change_state_func):
14573         Lots of state change cleanups, assign the STATE_RETURN in
14574         a new continue_state() function that also propagates the
14575         last return value from a state change to the app.
14576         Update some debug statements with proper category.
14578 2005-11-03  Wim Taymans  <wim@fluendo.com>
14580         * docs/design/part-events.txt:
14581         * docs/design/part-gstpipeline.txt:
14582         * docs/design/part-messages.txt:
14583         * docs/design/part-overview.txt:
14584         * docs/design/part-seeking.txt:
14585         * docs/design/part-states.txt:
14586         * docs/design/part-trickmodes.txt:
14587         * docs/manual/advanced-position.xml:
14588         Small docs updates.
14590         * gst/gstobject.h:
14591         People think !! is ugly, this looks better.
14593         * gst/gstpad.c: (gst_pad_set_blocked_async):
14594         Remove !! since it's fixed elsewhere now.
14596 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14598         * gst/gstminiobject.h:
14599         * gst/gstobject.h:
14600           Add !! to _FLAG_IS_SET macros to make the result boolean.
14602 2005-11-03  Edward Hervey  <edward@fluendo.com>
14604         * gst/gstpad.c: (gst_pad_set_blocked_async):
14605         comparing a flag and a gboolean rarely returns coherent results...
14606         Added two characters (!!) to make that work correctly.
14607         
14608 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14610         * gst/gstbus.c: (gst_bus_class_init):
14611           Fix some typos.
14612           
14613         * gst/gstqueue.c: (gst_queue_loop):
14614           Don't assume a miniobject that isn't a buffer is an
14615           event (it could be that there is a refcounting
14616           problem somewhere and the pointer is stale and
14617           refers to an already destroyed miniobject).
14619 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14621         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14623 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14625         * docs/manual/advanced-position.xml:
14626           Update seek example and explanations to current 0.9 API.
14628         * gst/elements/gsttypefindelement.c:
14629         (gst_type_find_element_activate):
14630           Remove FIXME comment now that the found caps
14631           are unreffed.
14633 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14635         * gst/gstregistryxml.c: (load_feature):
14636           Add another GST_STR_NULL instance
14638 2005-11-02  Edward Hervey  <edward@fluendo.com>
14640         * gst/gstpad.c: (handle_pad_block):
14641         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14642         
14643 2005-11-02  Wim Taymans  <wim@fluendo.com>
14645         * gst/gstbin.c:
14646         Fix typo in docs.
14648         * gst/gstelement.c: (gst_element_commit_state):
14649         Remove unused value.
14651         * gst/gstiterator.c:
14652         Mention that the returned element is reffed in the docs.
14654 2005-11-02  Wim Taymans  <wim@fluendo.com>
14656         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14657         (gst_pad_push), (gst_pad_push_event):
14658         Unlock blocked pads when they are flushed.
14660 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14662         * docs/README:
14663         * docs/gst/gstreamer-sections.txt:
14664         * gst/gstbin.c:
14665           doc updates
14666         * gst/gstregistry.c: (gst_registry_scan_path_level):
14667           fix for a nasty little missed situation where an installed plug-in
14668           which was in the cache did not get overridden by an uninstalled one
14669           which was earlier in the plugin path because the newly created plugin
14670           for the uninstalled one (not in the registry) didn't get its
14671           ->registered set to TRUE
14673 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14675         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14676         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14677         (gst_collectpads_is_active), (gst_collectpads_collect),
14678         (gst_collectpads_collect_range), (gst_collectpads_start),
14679         (gst_collectpads_stop), (gst_collectpads_peek),
14680         (gst_collectpads_pop), (gst_collectpads_available),
14681         (gst_collectpads_read), (gst_collectpads_flush):
14682           Guard public API with assertions.
14683         
14684         * gst/gstpad.c:
14685           Fix docs for gst_pad_set_link_function().
14687 2005-11-02  Johan Dahlin  <johan@gnome.org>
14689         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14690         Unref found_caps after we used it.
14692 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14694         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14695           Don't try to ref NULL.
14697 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14699         * win32/common/config.h.in:
14700           provide a GST_FUNCTION that just gives a string for now
14702 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14704         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14705         (gst_object_flags_get_type), (register_gst_bin_flags),
14706         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14707         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14708         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14709         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14710         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14711         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14712         (gst_clock_flags_get_type), (register_gst_state),
14713         (gst_state_get_type), (register_gst_state_change_return),
14714         (gst_state_change_return_get_type), (register_gst_state_change),
14715         (gst_state_change_get_type), (register_gst_element_flags),
14716         (gst_element_flags_get_type), (register_gst_core_error),
14717         (gst_core_error_get_type), (register_gst_library_error),
14718         (gst_library_error_get_type), (register_gst_resource_error),
14719         (gst_resource_error_get_type), (register_gst_stream_error),
14720         (gst_stream_error_get_type), (register_gst_event_type),
14721         (gst_event_type_get_type), (register_gst_seek_type),
14722         (gst_seek_type_get_type), (register_gst_seek_flags),
14723         (gst_seek_flags_get_type), (register_gst_format),
14724         (gst_format_get_type), (register_gst_index_certainty),
14725         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14726         (gst_index_entry_type_get_type),
14727         (register_gst_index_lookup_method),
14728         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14729         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14730         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14731         (gst_index_flags_get_type), (register_gst_debug_level),
14732         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14733         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14734         (gst_iterator_result_get_type), (register_gst_iterator_item),
14735         (gst_iterator_item_get_type), (register_gst_message_type),
14736         (gst_message_type_get_type), (register_gst_mini_object_flags),
14737         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14738         (gst_pad_link_return_get_type), (register_gst_flow_return),
14739         (gst_flow_return_get_type), (register_gst_activate_mode),
14740         (gst_activate_mode_get_type), (register_gst_pad_direction),
14741         (gst_pad_direction_get_type), (register_gst_pad_flags),
14742         (gst_pad_flags_get_type), (register_gst_pad_presence),
14743         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14744         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14745         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14746         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14747         (gst_plugin_flags_get_type), (register_gst_rank),
14748         (gst_rank_get_type), (register_gst_query_type),
14749         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14750         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14751         (gst_tag_flag_get_type), (register_gst_task_state),
14752         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14753         (gst_alloc_trace_flags_get_type),
14754         (register_gst_type_find_probability),
14755         (gst_type_find_probability_get_type), (register_gst_uri_type),
14756         (gst_uri_type_get_type), (register_gst_parse_error),
14757         (gst_parse_error_get_type):
14758         * win32/common/gstversion.h:
14759           update win32 copies
14761 2005-11-01  Luca Ognibene  <luogni@tin.it>
14763         * gst/gst.c:
14764           fix docs. popt is dead, long live GOption.
14766 2005-10-31  Wim Taymans  <wim@fluendo.com>
14768         * gst/gstbuffer.h:
14769         Small doc fix.
14771 2005-10-31  Andy Wingo  <wingo@pobox.com>
14773         * Boo!
14775         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14777         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14778         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14779         the possibility of deadlocks here if code calling notify() or
14780         set() has a lock that can be taken in another notify handler (ABBA
14781         with class lock and e.g. python GIL state lock).
14783 2005-10-28  Julien MOUTTE  <julien@moutte.net>
14785         * gst/gstbus.c: Doc updates.
14787 2005-10-28  Wim Taymans  <wim@fluendo.com>
14789         * docs/design/part-TODO.txt:
14790         * gst/gstiterator.c:
14791         * gst/gstsystemclock.c:
14792         * gst/gstsystemclock.h:
14793         Doc updates.
14795 2005-10-28  Edward Hervey  <edward@fluendo.com>
14797         * docs/gst/gstreamer-docs.sgml:
14798         * docs/gst/gstreamer-sections.txt:
14799         the GstURIType documentation page is private, it only defines GstURIType
14800         which should be defined in the GstURIHandler page
14801         
14802 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14804         * gst/gstbin.c: (gst_bin_class_init):
14805         * gst/gstbin.h:
14806         * gst/gstutils.c:
14807         Documentation updates.
14809 2005-10-28  Wim Taymans  <wim@fluendo.com>
14811         * docs/gst/gstreamer-sections.txt:
14812         * gst/gstclock.c:
14813         * gst/gstclock.h:
14814         Documented the clocks.
14816 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
14818         * docs/gst/gstreamer-sections.txt:
14819           move some macros to private sections
14820         * gst/gstminiobject.c:
14821         * gst/gstminiobject.h:
14822           add descriptions provided by ds and some more
14823         * gst/gstpad.h:
14824           mark macro as to be removed
14826 2005-10-28  Wim Taymans  <wim@fluendo.com>
14828         * docs/design/part-TODO.txt:
14829         Add an item to TODO.
14831         * gst/gstiterator.c: (gst_iterator_fold),
14832         (gst_iterator_find_custom):
14833         * gst/gstiterator.h:
14834         Add iterator docs.
14836 2005-10-28  Wim Taymans  <wim@fluendo.com>
14838         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14839         (gst_base_transform_init):
14840         Don't leak class.
14842         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14843         An EOS event marks the queue as completely filled.
14845 2005-10-27  Wim Taymans  <wim@fluendo.com>
14847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14848         (gst_base_sink_do_sync), (gst_base_sink_get_position):
14849         Some more debugging.
14851         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14852         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14853         (gst_base_transform_event), (gst_base_transform_getrange),
14854         (gst_base_transform_chain):
14855         * gst/base/gstbasetransform.h:
14856         Fix debugging,
14857         Protect transform and concurrent buffer alloc with a new lock.
14858         Try not to break ABI/API.
14860 2005-10-27  Wim Taymans  <wim@fluendo.com>
14862         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14863         (gst_base_src_init), (gst_base_src_query),
14864         (gst_base_src_default_newsegment),
14865         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14866         (gst_base_src_send_event), (gst_base_src_event_handler),
14867         (gst_base_src_pad_get_range), (gst_base_src_loop),
14868         (gst_base_src_unlock), (gst_base_src_default_negotiate),
14869         (gst_base_src_start), (gst_base_src_deactivate),
14870         (gst_base_src_activate_push), (gst_base_src_change_state):
14871         Move some stuff around and cleanup things.
14873 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
14875         * gst/base/gstbasesrc.c: (gst_base_src_query):
14876           Add missing break statements.
14878 2005-10-27  Wim Taymans  <wim@fluendo.com>
14880         * check/gst/gstbin.c: (GST_START_TEST):
14881         An extra refcount is taken in basesrc.
14883         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14884         (gst_base_src_get_range), (gst_base_src_pad_get_range),
14885         (gst_base_src_loop):
14886         Small cleanups, check for flushing after being unlocked from the 
14887         LIVE_LOCK. take refcounts correctly (not yet everywhere).
14888         Don't send out EOS when going to READY.
14890 2005-10-27  Wim Taymans  <wim@fluendo.com>
14892         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14893         (gst_base_sink_get_position):
14894         Some more debug.
14896         * gst/gstbin.c: (message_check), (bin_replace_message),
14897         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14898         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14899         (bin_query_duration_init), (bin_query_duration_fold),
14900         (bin_query_duration_done), (bin_query_generic_fold),
14901         (gst_bin_query):
14902         * tools/gst-launch.c: (main):
14903         Remove old option.
14905 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
14907         * examples/controller/audio-example.c: (main):
14908         * examples/queue/queue.c: (event_loop):
14909         * gst/base/gstbasetransform.h:
14910         * gst/gstelement.c: (gst_element_send_event):
14911         * gst/gstevent.h:
14912         * gst/gstpad.c: (gst_pad_send_event):
14913           fixing examples
14914           fixing docs typos
14915           changing log priority in error situations
14917 2005-10-25  Wim Taymans  <wim@fluendo.com>
14919         * gst/gstbin.c: (message_check), (bin_replace_message),
14920         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14921         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14922         (bin_query_duration_init), (bin_query_duration_fold),
14923         (bin_query_duration_done), (bin_query_generic_fold),
14924         (gst_bin_query):
14925         Some doc and debug updates.
14926         Cache previously requested query DURATION for speed. invalidate
14927         cached duration if element posts a DURATION message.
14929 2005-10-25  Wim Taymans  <wim@fluendo.com>
14931         * docs/design/part-TODO.txt:
14932         Update TODO.
14934         * gst/gstbin.c: (message_check), (bin_replace_message),
14935         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14936         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14937         (bin_query_duration_init), (bin_query_duration_fold),
14938         (bin_query_duration_done), (bin_query_generic_fold),
14939         (gst_bin_query):
14940         Handle SEGMENT_START/DONE messages correctly.
14941         More evolved query algorithm that handles duration queries
14942         correctly.
14944         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14945         (gst_element_get_state_func), (gst_element_abort_state),
14946         (gst_element_commit_state), (gst_element_lost_state):
14947         Some more debugging.
14949         * gst/gstmessage.h:
14950         Added doc.
14952 2005-10-25  Wim Taymans  <wim@fluendo.com>
14954         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14955         Don't use invalid stream_time.
14957         * gst/gstevent.c: (gst_event_new_newsegment):
14958         stream_time in newsegment cannot be undefined.
14960 2005-10-24  Wim Taymans  <wim@fluendo.com>
14962         * gst/gstbus.c:
14963         Doc fix.
14965         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14966         (gst_queue_loop):
14967         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14969 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
14971         * docs/libs/tmpl/gstdparam.sgml:
14972         * docs/libs/tmpl/gstdplinint.sgml:
14973         * docs/libs/tmpl/gstdpman.sgml:
14974         * docs/libs/tmpl/gstdpsmooth.sgml:
14975         * docs/libs/tmpl/gstunitconvert.sgml:
14976           these are obsolete
14978 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14980         * configure.ac:
14981           back to HEAD
14983 === release 0.9.4 ===
14985 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14987         * configure.ac:
14988           releasing 0.9.4, "Tyrannosaurus Rex"
14990 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
14992         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14993         (gst_file_sink_get_current_offset):
14994           Use fseeko() and ftello() if available. When falling back on
14995           lseek() to get the current offset, fflush() first to make sure
14996           everything is up-to-date and we get the right offset.
14998 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15000         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15001         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15002         * gst/gsterror.c: (_gst_stream_errors_init):
15003         * gst/gsterror.h:
15004         * gst/gstqueue.c: (gst_queue_loop):
15005         * po/POTFILES.in:
15006           remove prematurely added error category and clean up the instances
15008 2005-10-21  Wim Taymans  <wim@fluendo.com>
15010         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15011         (gst_base_sink_get_position), (gst_base_sink_query),
15012         (gst_base_sink_change_state):
15013         Simply set the right flag when going to playing, that's all
15014         we need to do instead of calling a function inside the object
15015         lock (that could take the lock as well and deadlock)
15017 2005-10-21  Wim Taymans  <wim@fluendo.com>
15019         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15020         (gst_base_src_loop):
15021         Don't warn, the peer element knows what to do best when
15022         the seek failed, it might try something else.
15024 2005-10-21  Wim Taymans  <wim@fluendo.com>
15026         * gst/base/gstbasesrc.c: (gst_base_src_init),
15027         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15028         Fix seeking.
15030 2005-10-21  Wim Taymans  <wim@fluendo.com>
15032         * docs/design/part-segments.txt:
15033         More docs.
15035         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15036         Correctly set caps, even on the subbufer.
15038 2005-10-21  Wim Taymans  <wim@fluendo.com>
15040         * docs/gst/gstreamer-docs.sgml:
15041         * docs/gst/gstreamer-sections.txt:
15042         * gst/gstelement.h:
15043         * gst/gstevent.c:
15044         * gst/gstevent.h:
15045         * gst/gstmessage.h:
15046         * gst/gstpad.h:
15047         * gst/gstparse.h:
15048         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15049         * gst/gsttask.h:
15050         * gst/gstutils.c:
15051         * gst/gstutils.h:
15052         And 2% more doc coverage.
15054 2005-10-21  Andy Wingo  <wingo@pobox.com>
15056         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15057         position reporting.
15059 2005-10-20  Wim Taymans  <wim@fluendo.com>
15061         * gst/gsterror.c: (gst_error_get_message):
15062         * gst/gstparse.h:
15063         * gst/gstquery.h:
15064         * gst/gststructure.c:
15065         * gst/gsttrace.c:
15066         * gst/gstutils.c:
15067         More docs.
15069 2005-10-20  Wim Taymans  <wim@fluendo.com>
15071         * gst/gstbuffer.h:
15072         * gst/gstpad.c:
15073         * gst/gstparse.c:
15074         Another 1% more coverage.
15076 2005-10-20  Wim Taymans  <wim@fluendo.com>
15078         * docs/gst/gstreamer-sections.txt:
15079         * gst/gstelement.c: (gst_element_get_state_func),
15080         (gst_element_abort_state), (gst_element_commit_state),
15081         (gst_element_lost_state):
15082         * gst/gstevent.h:
15083         * gst/gstquery.c: (gst_query_set_position),
15084         (gst_query_parse_position), (gst_query_set_duration),
15085         (gst_query_parse_duration), (gst_query_new_convert):
15086         * gst/gstutils.c:
15087         Yay! 1% more docs coverage.
15089 2005-10-20  Wim Taymans  <wim@fluendo.com>
15091         * gst/gstpad.h:
15092         * gst/gstquery.c: (gst_query_set_position),
15093         (gst_query_parse_position), (gst_query_set_duration),
15094         (gst_query_parse_duration), (gst_query_new_convert):
15095         * gst/gstquery.h:
15096         * gst/gstutils.c: (gst_element_query_convert):
15097         * gst/gstutils.h:
15098         Docs and consistency fixes.
15100 2005-10-20  Wim Taymans  <wim@fluendo.com>
15102         * gst/gsttask.c:
15103         * gst/gsttask.h:
15104         More docs.
15106 2005-10-20  Wim Taymans  <wim@fluendo.com>
15108         * gst/gstbin.c: (message_check), (bin_replace_message),
15109         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15110         (update_degree), (gst_bin_sort_iterator_next),
15111         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15112         Reworked the message handling a bit, cache the messages instead of
15113         only the senders. alows us to do more in the future.
15115 2005-10-20  Wim Taymans  <wim@fluendo.com>
15117         * docs/design/part-TODO.txt:
15118         Update TODO
15120         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15121         (gst_base_sink_query):
15122         Don't use clock time to report position when in EOS.
15124 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15126         * tools/gst-inspect.c: (print_interfaces),
15127         (print_element_properties_info), (print_element_info):
15128           Fix interface output with gst-inspect -a; don't print
15129           newlines after double/float properties.
15131 2005-10-20  Wim Taymans  <wim@fluendo.com>
15133         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15134         (gst_base_sink_query):
15135         Speed up current position calculation.
15137         * gst/base/gstbasesrc.c: (gst_base_src_query),
15138         (gst_base_src_default_newsegment):
15139         Correctly set stream position in newsegment.
15141         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15142         (update_degree), (gst_bin_sort_iterator_next),
15143         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15144         * gst/gstmessage.c: (gst_message_new_custom):
15145         Clean up debugging info
15147         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15148         (gst_queue_loop), (gst_queue_handle_src_query):
15149         Pause task faster.
15151 2005-10-19  Wim Taymans  <wim@fluendo.com>
15153         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15154         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15155         Fix query handling again.
15157 2005-10-19  Wim Taymans  <wim@fluendo.com>
15159         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15160         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15161         * gst/base/gstbasesrc.c: (gst_base_src_query):
15162         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15163         * gst/elements/gsttypefindelement.c:
15164         (gst_type_find_handle_src_query), (find_element_get_length),
15165         (gst_type_find_element_activate):
15166         API change fix.
15168         * gst/gstquery.c: (gst_query_new_position),
15169         (gst_query_set_position), (gst_query_parse_position),
15170         (gst_query_new_duration), (gst_query_set_duration),
15171         (gst_query_parse_duration), (gst_query_set_segment),
15172         (gst_query_parse_segment):
15173         * gst/gstquery.h:
15174         Bundling query position/duration is not a good idea since duration
15175         does not change much and we don't want to recalculate it for every
15176         position query, so they are separated again..
15177         Base value in segment query is not needed.
15179         * gst/gstqueue.c: (gst_queue_handle_src_query):
15180         * gst/gstutils.c: (gst_element_query_position),
15181         (gst_element_query_duration), (gst_pad_query_position),
15182         (gst_pad_query_duration):
15183         * gst/gstutils.h:
15184         Updates for query API change.
15185         Added some docs here and there.
15187 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15189         * check/gst/gstbin.c: (GST_START_TEST):
15190         * check/gst/gstghostpad.c: (GST_START_TEST):
15191         * check/pipelines/cleanup.c: (GST_START_TEST):
15192           wait on thread to die so we can check refcount correctly
15194 2005-10-18  Wim Taymans  <wim@fluendo.com>
15196         * check/pipelines/stress.c: (GST_START_TEST):
15197         Make check a little more time consuming.
15199 2005-10-18  Wim Taymans  <wim@fluendo.com>
15201         * check/Makefile.am:
15202         * check/pipelines/stress.c: (GST_START_TEST),
15203         (simple_launch_lines_suite), (main):
15204         Small state change torture test.
15206         * docs/design/part-states.txt:
15207         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15208         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15209         (gst_base_sink_change_state):
15210         Never take state lock from streaming thread, clean up ugly
15211         hacks. Unfortunatly core does not yet support nice ways to
15212         async commit state.
15213         
15214         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15215         (bin_bus_handler):
15216         Start state recalc if a STATE_DIRTY message is posted, but only
15217         on the toplevel bin.
15219         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15220         (gst_element_get_state_func), (gst_element_abort_state),
15221         (gst_element_commit_state), (gst_element_lost_state),
15222         (gst_element_set_state_func), (gst_element_change_state):
15223         * gst/gstelement.h:
15224         State variables are now protected with the LOCK, the state
15225         lock is only used to serialize _set_state().
15227 2005-10-18  Wim Taymans  <wim@fluendo.com>
15229         * check/gst/gstbin.c: (GST_START_TEST):
15230         * check/gst/gstmessage.c: (GST_START_TEST):
15231         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15232         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15233         (bin_bus_handler):
15234         * gst/gstelement.c: (gst_element_abort_state),
15235         (gst_element_commit_state), (gst_element_lost_state):
15236         * gst/gstmessage.c: (gst_message_new_state_changed),
15237         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15238         (gst_message_new_segment_done), (gst_message_new_duration),
15239         (gst_message_parse_state_changed),
15240         (gst_message_parse_segment_start),
15241         (gst_message_parse_segment_done), (gst_message_parse_duration):
15242         * gst/gstmessage.h:
15243         * tools/gst-launch.c: (event_loop):
15244         Seriously, this is better than a previous commit as we only need
15245         to notify the fact that an element changed state in a streaming
15246         thread, marking the state of the parents dirty, hence the 
15247         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15248         message.
15250 2005-10-18  Wim Taymans  <wim@fluendo.com>
15252         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15253         (gst_bin_recalc_func):
15254         * gst/gstelement.c: (gst_element_set_clock),
15255         (gst_element_abort_state), (gst_element_lost_state):
15256         Cleanups, prepare for state change fixes.
15258 2005-10-18  Wim Taymans  <wim@fluendo.com>
15260         * gst/gstbin.h:
15261         * gst/gstelement.c: (gst_element_class_init),
15262         (gst_element_set_state), (gst_element_set_state_func):
15263         * gst/gstelement.h:
15264         Pending ABI changes.
15265         GThreadPool in GstBinClass to monitor async state changes.
15266         state_cookie in GstElement to detect concurrent gst/set state.
15267         set_state is now virtual too in case a very complicated element
15268         has to be constructed.
15270 2005-10-18  Wim Taymans  <wim@fluendo.com>
15272         * check/gst/gstbin.c: (GST_START_TEST):
15273         * check/gst/gstmessage.c: (GST_START_TEST):
15274         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15275         * gst/gstbin.c: (bin_bus_handler):
15276         * gst/gstelement.c: (gst_element_commit_state),
15277         (gst_element_lost_state):
15278         * gst/gstmessage.c: (gst_message_new_state_changed),
15279         (gst_message_new_segment_start), (gst_message_new_segment_done),
15280         (gst_message_new_duration), (gst_message_parse_state_changed),
15281         (gst_message_parse_segment_start),
15282         (gst_message_parse_segment_done), (gst_message_parse_duration):
15283         * gst/gstmessage.h:
15284         * tools/gst-launch.c: (event_loop):
15285         Make messages future proof.
15286         state-change gets a flag if it was a message comming from the
15287         streaming thread.
15288         segment-start/stop can also be specified in other formats.
15289         A message to notify an app that a pipeline changed playback 
15290         duration.
15291         Also fix a GstMessage leak in -launch
15293 2005-10-18  Andy Wingo  <wingo@pobox.com>
15295         * gst/gstelement.c (gst_element_dispose): More helpful message.
15297 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15299         reviewed by: <delete if not using a buddy>
15301         * common/gtk-doc.mak:
15303 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15305         * gst/gstregistry.c: (gst_registry_scan_path_level):
15306           unref a plug-in we get that was already initialized
15308 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15310         * docs/gst/gstreamer-sections.txt:
15311         * docs/libs/gstreamer-libs-sections.txt:
15312         * gst/gstelement.h:
15313           add new api entries
15314           hide internal macro
15316 2005-10-17  Andy Wingo  <wingo@pobox.com>
15318         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15319         cleanup.
15321         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15323         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15325         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15326         (gst_element_get_state_func): Better debug message.
15327         (gst_element_commit_state): s/INFO/DEBUG/.
15328         (gst_element_lost_state, gst_element_change_state): 
15330         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15331         (gst_message_new_custom): s/INFO/LOG/.
15333 2005-10-17  Michael Smith <msmith@fluendo.com>
15335         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15336           Check if end time is valid using end time, not start time.
15338 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15340         * check/gst-libs/controller.c: (GST_START_TEST),
15341         (gst_controller_suite):
15342         * libs/gst/controller/gstcontroller.c:
15343         (gst_controlled_property_set_interpolation_mode):
15344         * libs/gst/controller/gstcontroller.h:
15345         * libs/gst/controller/gstinterpolation.c:
15346         * testsuite/controller/.cvsignore:
15347         * testsuite/controller/Makefile.am:
15348         * testsuite/controller/interpolator.c:
15349           merge controller testsuites
15350           fix broken tests
15351           remove mem-chunk from docs
15353 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15355         * gst/gstmemchunk.c:
15356         * gst/gstmemchunk.h:
15357         * gst/gsttrashstack.c:
15358         * gst/gsttrashstack.h:
15359           out.  get out.  you're fired.  to the Attic !
15361 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15363         * gst/gstcaps.c: (gst_caps_intersect):
15364           fix signedness issues in a (hopefully) correct way
15365         * gst/gstelement.c: (gst_element_pads_activate):
15366           some debugging
15367         * gst/gstobject.c: (gst_object_set_parent):
15368           some debugging
15370 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15372         * gst/gstvalue.h: Fix prototypes.
15374 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15376         * docs/gst/gstreamer-sections.txt:
15377         * gst/gst.c: (gst_version_string):
15378         * gst/gst.h:
15379         * gst/gstversion.h.in:
15380         * win32/common/libgstreamer.def:
15381           add gst_version_string ()
15383 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15385         * configure.ac:
15386           clean up further
15387         * gst/gst.c: (init_post):
15388         * win32/common/config.h.in:
15389           it's PLUGINDIR now
15390         * gst/gstcaps.c: (gst_caps_intersect):
15391           use gint64, the range could be bigger than a guint
15393 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15395         * gst/gstclock.h:
15396           document potential problem in 2038
15398 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15400         * gst/gstcaps.c: (gst_caps_intersect):
15401           Fix guint j diving under 0
15403 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15405         * configure.ac:
15406         * win32/common/config.h:
15407         * win32/common/config.h.in:
15408           check for process.h, declares getpid() on Windows
15409         * gst/gstinfo.c:
15410           include process.h if we have it
15411         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15412         * gst/gstmemchunk.h:
15413           fix signedness issues
15414         * win32/common/libgstreamer.def:
15415           fix get_type's
15417 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15419         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15420         fix. Because of unsigned ints, caps intersection was going nuts and
15421         trying to access structures with G_MAXUINT index. That fixes
15422         videotestsrc ! ffmpegcolorspace ! fakesink
15423         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15424         consistency.
15426 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15428         * configure.ac:
15429           use the gettext macro
15430         * gst/elements/gstelements.c:
15431         * gst/gst.c:
15432         * gst/indexers/gstindexers.c:
15433           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15434         * win32/common/config.h:
15435           updated config.h
15436         * win32/common/config.h.in:
15437           add the template to generate config.h
15438         * win32/common/gstenumtypes.c:
15439         * win32/common/gstversion.h:
15440           updated copies
15442 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15444         * gst/gst.c: (gst_version):
15445         * gst/gstversion.h.in:
15446           add the nano
15448 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15450         * gst/gstevent.h:
15451           Oops, add missing closing bracket.
15453 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15455         * configure.ac:
15456           use common m4's for argument checking
15458 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15460         * docs/gst/gstreamer-sections.txt:
15461         * gst/gstevent.h:
15462           Add GST_EVENT_TYPE_NAME() macro.
15464 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15466         * gst/gstinfo.c:
15467         * gst/gstpluginfeature.c:
15468         * gst/gsttask.c:
15469           privatize more symbols
15471 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15473         * configure.ac:
15474           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15475           everything that uses GStreamer API should have the includes
15477 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15479         * docs/gst/gstreamer-sections.txt:
15480         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15481         * gst/gstvalue.h:
15482           give each value a _get_type, removes the DATA exports
15484 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15486         * gst/gst.c:
15487         * gst/gst.h:
15488           remove _gst_registry_auto_load, not used anymore
15489         * gst/gstbin.c: (gst_bin_get_type):
15490         * gst/gstbin.h:
15491         * gst/gstelement.c: (gst_element_get_type):
15492         * gst/gstelement.h:
15493         * gst/gstobject.c: (gst_object_get_type):
15494         * gst/gstobject.h:
15495         * gst/gstpad.c: (gst_pad_get_type):
15496         * gst/gstpad.h:
15497           make _get_type functions similar, fixes data export from library
15499 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15501         * configure.ac:
15502           correctly make conditionals
15503         * gst/elements/Makefile.am:
15504         * gst/elements/gstelements.c:
15505           fix typo causing fdsrc not to build
15507 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15509         * testsuite/Makefile.am:
15510         * testsuite/bytestream/.cvsignore:
15511         * testsuite/bytestream/Makefile.am:
15512         * testsuite/bytestream/filepadsink.c:
15513         * testsuite/bytestream/gstbstest.c:
15514         * testsuite/bytestream/test1.c:
15515         * testsuite/bytestream/testfile1:
15516         * testsuite/caps/normalisation.c:
15517         * testsuite/caps/random.c: (main):
15518         * testsuite/cleanup/.cvsignore:
15519         * testsuite/cleanup/Makefile.am:
15520         * testsuite/cleanup/cleanup1.c:
15521         * testsuite/cleanup/cleanup2.c:
15522         * testsuite/cleanup/cleanup3.c:
15523         * testsuite/cleanup/cleanup4.c:
15524         * testsuite/cleanup/cleanup5.c:
15525         * testsuite/controller/interpolator.c:
15526         * testsuite/debug/printf_extension.c: (main):
15527         * testsuite/elements/tee.c:
15528         * testsuite/negotiation/.cvsignore:
15529         * testsuite/negotiation/Makefile.am:
15530         * testsuite/negotiation/pad_link.c:
15531         * testsuite/pad/Makefile.am:
15532         * testsuite/pad/chainnopull.c:
15533         * testsuite/pad/getnopush.c:
15534         * testsuite/pad/link.c:
15535         * testsuite/refcounting/sched.c: (create_pipeline):
15536         * testsuite/registry/Makefile.am:
15537         * testsuite/registry/gst-print-formats.c:
15538         * testsuite/schedulers/.cvsignore:
15539         * testsuite/schedulers/142183-2.c:
15540         * testsuite/schedulers/142183.c:
15541         * testsuite/schedulers/143777-2.c:
15542         * testsuite/schedulers/143777.c:
15543         * testsuite/schedulers/147713.c:
15544         * testsuite/schedulers/147819.c:
15545         * testsuite/schedulers/147894-2.c:
15546         * testsuite/schedulers/147894.c:
15547         * testsuite/schedulers/Makefile.am:
15548         * testsuite/schedulers/group_link.c:
15549         * testsuite/schedulers/queue_link.c:
15550         * testsuite/schedulers/relink.c:
15551         * testsuite/schedulers/unlink.c:
15552         * testsuite/schedulers/unref.c:
15553         * testsuite/schedulers/useless_iteration.c:
15554         * testsuite/states/bin.c:
15555           clean out/remove some stuff from the testsuite directories
15557 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15559         * configure.ac:
15560           check for some headers
15561         * gst/elements/Makefile.am:
15562         * gst/elements/gstelements.c:
15563           don't compile fdsrc without sys/socket.h
15564         * gst/indexers/Makefile.am:
15565         * gst/indexers/gstindexers.c: (plugin_init):
15566           don't compile fileindex without mmap
15568 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15570         * configure.ac:
15571           reorganize
15572           clean up
15573           document more
15574           remove cruft
15575         * check/Makefile.am:
15576         * docs/gst/Makefile.am:
15577         * examples/helloworld/Makefile.am:
15578         * gst/Makefile.am:
15579         * gst/base/Makefile.am:
15580         * gst/check/Makefile.am:
15581         * gst/elements/Makefile.am:
15582         * gst/indexers/Makefile.am:
15583         * gst/parse/Makefile.am:
15584         * libs/gst/controller/Makefile.am:
15585         * libs/gst/dataprotocol/Makefile.am:
15586         * examples/helloworld/helloworld.c: (event_loop):
15587           compile fixes, though it's not being compiled currently
15589 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15591         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15592           Add some simple tests for the new taglist date API.
15594 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15596         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15597         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15598           Beautify 'last-message' output: print 'none' for buffer timestamps
15599           and durations if none is set; improve alignment with next messages.
15601 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15603         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15604         * gst/gstpluginfeature.h:
15605         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15606         * gst/gstregistry.h:
15607         * docs/gst/gstreamer-sections.txt:
15608           Add new API to check plugin feature version requirements.
15610         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15611           Some basic tests for the above.         
15613 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15615         * gst/gststructure.c: (gst_structure_to_string):
15616           guard against NULL printf - happens when for example
15617           a message structure with GstClock gets serialized
15619 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15621         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15622           Fix presumable copy'n'pasto.
15624 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15626         * gst/elements/gstfakesrc.h:
15627         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15628         * gst/elements/gsttypefindelement.c:
15629           fix some signedness
15630         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15631           I wonder if this could actually write +2GB files before
15633 2005-10-13  Andy Wingo  <wingo@pobox.com>
15635         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15636         Fix Timmeke Waymans bug.
15637         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15638         string of the proper length to gst_caps_from_string. There's a
15639         potential for, before this fix, that this could cause someone
15640         connecting over the network to cause a segfault if the payload is
15641         not NUL-terminated.
15643 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15645         * docs/design/draft-push-pull.txt:
15646         * docs/design/part-overview.txt:
15647         * docs/random/TODO-pre-0.9:
15648         * docs/random/old/ChangeLog.gstreamer:
15649         * gst/base/gstpushsrc.c:
15650         * gst/gstclock.c:
15651           fixed typos
15653 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15655         * gst/glib-compat.c: (gst_flags_get_first_value):
15656         * gst/glib-compat.h:
15657         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15658         (gst_value_compare_double), (gst_value_serialize_flags):
15659           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15660           infinite loop
15662 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15665         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15666           fix up debugging
15667         * tools/gst-launch.c: (event_loop):
15668           print out clock nicely
15670 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15672         * docs/gst/gstreamer-sections.txt:
15673         * gst/gsttaglist.h:
15674         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15675         (gst_tag_list_get_date_index):
15676           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15677           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15679 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15681         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15682         (gst_collectpads_chain):
15683         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15684         in CollectData.
15686 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15688         * docs/gst/gstreamer-sections.txt:
15689         * gst/gst.c:
15690         * gst/gsterror.h:
15691         * tools/gst-inspect.c: (main):
15692         * tools/gst-launch.c: (main):
15693         * tools/gst-run.c: (main):
15694         * tools/gst-xmlinspect.c: (main):
15695           fix GOption context leaks
15696           doc fixes
15698 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15700         * gst/gstbus.c:
15701           use HAVE_UNISTD_H
15702         * win32/common/config.h:
15703           update config
15704         * win32/vs6/grammar.dsp:
15705         * win32/vs6/libgstelements.dsp:
15706         * win32/vs6/libgstreamer.dsp:
15707           update vs6 files
15709 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15712         * gst/base/gstbasesrc.c: (gst_base_src_query):
15713           fix more guint64<->gdouble conversions
15715 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15717         * Makefile.am:
15718           add win32-update target
15719         * win32/common/gstconfig.h:
15720         * win32/common/gstenumtypes.c:
15721         * win32/common/gstenumtypes.h:
15722         * win32/common/gstversion.h:
15723           add files that visual studio can't generate
15725 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15727         * Makefile.am:
15728           add a win32-update target
15729         * configure.ac:
15731 2005-10-12  Wim Taymans  <wim@fluendo.com>
15733         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15734         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15735         * gst/gstelement.c: (gst_element_commit_state),
15736         (gst_element_set_state):
15737         Protect flags with proper lock.
15738         unref provided cached clock in dispose.
15740 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15742         * gst/gst.c:
15743         * gst/gstminiobject.h:
15744         * gst/gstpad.h:
15745         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15746           removed unused flags from miniobject
15747           doc fixes
15749 2005-10-12  Wim Taymans  <wim@fluendo.com>
15751         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15752         (gst_file_sink_event), (gst_file_sink_render):
15753         Flush before seeking.
15755 2005-10-12  Andy Wingo  <wingo@pobox.com>
15757         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15758         always been the case.
15760 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15762         * check/gst/gstbin.c: (GST_START_TEST):
15763         * docs/gst/gstreamer-sections.txt:
15764         * gst/base/gstbasesink.c: (gst_base_sink_init):
15765         * gst/base/gstbasesrc.c: (gst_base_src_init),
15766         (gst_base_src_get_range), (gst_base_src_check_get_range),
15767         (gst_base_src_start), (gst_base_src_stop):
15768         * gst/base/gstbasesrc.h:
15769         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15770         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15771         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15772         (bin_bus_handler):
15773         * gst/gstbin.h:
15774         * gst/gstbuffer.h:
15775         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15776         * gst/gstbus.h:
15777         * gst/gstelement.c: (gst_element_is_locked_state),
15778         (gst_element_set_locked_state), (gst_element_commit_state),
15779         (gst_element_set_state):
15780         * gst/gstelement.h:
15781         * gst/gstindex.c: (gst_index_init):
15782         * gst/gstindex.h:
15783         * gst/gstminiobject.h:
15784         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15785         (gst_object_set_parent):
15786         * gst/gstobject.h:
15787         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15788         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15789         * gst/gstpad.h:
15790         * gst/gstpadtemplate.h:
15791         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15792         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15793         * gst/gstpipeline.h:
15794         * gst/indexers/gstfileindex.c: (gst_file_index_load),
15795         (gst_file_index_commit):
15796         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15797         * testsuite/pad/link.c: (gst_test_src_init),
15798         (gst_test_filter_init), (gst_test_sink_init):
15799         * testsuite/states/locked.c: (main):
15800           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15801           moved bitshift from macro to enum definition
15803 2005-10-12  Wim Taymans  <wim@fluendo.com>
15805         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15806         * gst/elements/gstfilesink.c: (gst_file_sink_event),
15807         (gst_file_sink_render):
15808         Some more debugging info.
15810 2005-10-12  Wim Taymans  <wim@fluendo.com>
15812         * docs/design/part-states.txt:
15813         * tools/gst-launch.c: (main):
15814         Some doc updates.
15815         Revert non-intentional change.
15817 2005-10-12  Wim Taymans  <wim@fluendo.com>
15819         * check/gst/gstbin.c: (GST_START_TEST):
15820         * check/gst/gstelement.c: (GST_START_TEST):
15821         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15822         * check/gst/gstghostpad.c: (GST_START_TEST):
15823         * check/gst/gstpipeline.c: (GST_START_TEST):
15824         * check/pipelines/simple_launch_lines.c: (run_pipeline):
15825         * check/states/sinks.c: (GST_START_TEST):
15826         * gst/elements/gsttypefindelement.c: (stop_typefinding):
15827         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15828         (gst_bin_remove_func), (gst_bin_get_state_func),
15829         (gst_bin_recalc_state), (gst_bin_change_state_func),
15830         (bin_bus_handler):
15831         * gst/gstelement.c: (gst_element_get_state_func),
15832         (gst_element_get_state), (gst_element_abort_state),
15833         (gst_element_commit_state), (gst_element_set_state),
15834         (gst_element_change_state), (gst_element_change_state_func):
15835         * gst/gstelement.h:
15836         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15837         (gst_pipeline_provide_clock_func):
15838         * gst/gstutils.c: (gst_element_link_pads_filtered):
15839         * tools/gst-launch.c: (main):
15840         * tools/gst-typefind.c: (main):
15841         Use GstClockTime in _get_state() instead of GTimeVal.
15842         Remove old code in gstutils.c
15844 2005-10-12  Andy Wingo  <wingo@pobox.com>
15846         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15847         removed.
15849         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15850         there is no task. Shouldn't affect any code, as nothing in our
15851         plugins checks this return value.
15852         (gst_pad_stop_task): Also take the stream lock if the pad has no
15853         task. Docs updated.
15855 2005-10-12  Wim Taymans  <wim@fluendo.com>
15857         * gst/gstpad.c: (pre_activate), (post_activate),
15858         (gst_pad_activate_pull), (gst_pad_activate_push):
15859         Cleanup activation code. Reset old state if
15860         activation failed.
15862 2005-10-12  Wim Taymans  <wim@fluendo.com>
15864         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15865         (gst_base_sink_change_state):
15866         No need to prerol after receiving EOS.
15868         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15869         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15870         * gst/elements/gstidentity.c: (gst_identity_event):
15871         Print events more verbosely.
15873 2005-10-12  Wim Taymans  <wim@fluendo.com>
15875         * check/Makefile.am:
15876         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15877         * check/states/sinks2.c:
15878         Moved sinks2 testcode in sinks check.
15880         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15881         (gst_bin_remove_func), (gst_bin_recalc_state),
15882         (gst_bin_change_state_func), (bin_bus_handler):
15883         Fix potential race condition when _get_state() iterated over an
15884         ASYNC element right before it posted a state completion.
15886         * gst/gstclock.h:
15887         Do proper cast here.
15889         * gst/gstevent.c: (gst_event_new_newsegment),
15890         (gst_event_parse_newsegment):
15891         A playback rate of 0.0 is not allowed.
15893 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15895         * win32/common/config.h:
15896         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15897         (_trewinddir), (_ttelldir), (_tseekdir):
15898         * win32/common/dirent.h:
15899         * win32/common/gtchar.h:
15900         * win32/common/libgstbase.def:
15901         * win32/common/libgstreamer.def:
15902         * win32/vs6/grammar.dsp:
15903         * win32/vs6/gst_inspect.dsp:
15904         * win32/vs6/gst_launch.dsp:
15905         * win32/vs6/gstreamer.dsw:
15906         * win32/vs6/libgstbase.dsp:
15907         * win32/vs6/libgstelements.dsp:
15908         * win32/vs6/libgstreamer.dsp:
15909           Visual Studio 6 project files, and a new common directory.
15910           Phear.
15912 2005-10-11  Wim Taymans  <wim@fluendo.com>
15914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15915         (gst_base_sink_do_sync), (gst_base_sink_query),
15916         (gst_base_sink_change_state):
15917         * gst/base/gstbasesink.h:
15918         Correctly parse newsegment info.
15920 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15922         * gst/gst.c: (init_post):
15923           split plugin paths correctly
15925 2005-10-11  Wim Taymans  <wim@fluendo.com>
15927         * check/gst/gstevent.c: (GST_START_TEST):
15928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15929         (gst_base_sink_change_state):
15930         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15931         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15932         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15933         * gst/gstevent.c: (gst_event_new_newsegment),
15934         (gst_event_parse_newsegment):
15935         * gst/gstevent.h:
15936         Added extra flag to newsegment for future API freeze.
15937         Updated check and base elements.
15939 2005-10-11  Julien MOUTTE  <julien@moutte.net>
15941         * gst/base/gstcollectpads.c: (gst_collectpads_init),
15942         (gst_collectpads_add_pad), (gst_collectpads_pop),
15943         (gst_collectpads_event), (gst_collectpads_chain):
15944         * gst/base/gstcollectpads.h: Handle EOS correctly.
15946 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15948         * tools/gst-launch.c: (main):
15949           more null protecting
15951 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15953         * gst/gst-i18n-lib.h:
15954           check for ENABLE_NLS, not GETTEXT_PACKAGE
15955         * gst/gstregistry.c: (gst_registry_add_plugin),
15956         (gst_registry_scan_path_level),
15957         (_gst_registry_remove_cache_plugins):
15958           protect possibly NULL strings
15959         * gst/parse/types.h:
15960           config.h already included before
15961         * tools/gst-inspect.c: (main):
15962           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15963           check for ENABLE_NLS, not GETTEXT_PACKAGE
15964         * tools/gst-launch.c: (main):
15965           check for ENABLE_NLS, not GETTEXT_PACKAGE
15967 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15969         * configure.ac:
15970           if we don't have glib, fail before testing 2.8
15971         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15972           fix a leak, should fix plugins-base testsuite
15974 2005-10-11  Andy Wingo  <wingo@pobox.com>
15976         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15977         take the mode we're going to as an arg. Go head and set the mode
15978         and flushing flags now, so that if the activate function starts a
15979         thread all the flags will be in the right state.
15980         (post_activate): Renamed also. Just handle making sure streaming
15981         finishes for the deactivation case, and setting the deactivated
15982         mode.
15983         (gst_pad_set_active): Complain loudly if deactivation fails.
15984         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15985         (gst_pad_activate_push): Adapt to pre/post_activate changes,
15986         remove the terrible hack.
15988 2005-10-11  Wim Taymans  <wim@fluendo.com>
15990         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15991         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15992         (gst_bin_recalc_state), (gst_bin_change_state_func),
15993         (gst_bin_dispose), (bin_bus_handler):
15994         * gst/gstbin.h:
15995         Prepare to make current EOS message queue more generic.
15996         Fix some typos.
15998         * gst/gstevent.c: (gst_event_new_newsegment),
15999         (gst_event_parse_newsegment):
16000         * gst/gstevent.h:
16001         Rename base to stream_time.
16003         * gst/gstmessage.h:
16004         Fix typo in docs.
16006 2005-10-11  Wim Taymans  <wim@fluendo.com>
16008         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16009         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16010         (gst_bin_change_state_func), (bin_bus_handler):
16011         * gst/gstbin.h:
16012         Work on proper clock selection.
16014 2005-10-11  Edward Hervey  <edward@fluendo.com>
16016         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
16017         * libs/gst/controller/gstcontroller.h:
16018         Added GList* version of _remove_properties() in order to be able to wrap
16019         it in bindings.
16021 2005-10-11  Wim Taymans  <wim@fluendo.com>
16023         * docs/design/part-states.txt:
16024         Some more docs.
16026         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16027         (gst_bin_change_state_func), (bin_bus_handler):
16028         Doc updates. Don't distribute the same clock over and over again.
16030         * gst/gstclock.c:
16031         * gst/gstclock.h:
16032         Doc updates.
16034         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16035         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16036         (gst_pad_send_event):
16037         * gst/gstpad.h:
16038         Make probe emission threadsafe again.
16039         Register quarks and move _get_name() from utils.
16040         Doc updates.
16042         * gst/gstpipeline.c: (gst_pipeline_class_init),
16043         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16044         Only redistribute the clock of it changed.
16046         * gst/gstsystemclock.h:
16047         Doc updates. 
16049         * gst/gstutils.c:
16050         * gst/gstutils.h:
16051         Moved the _flow_get_name() to GstPad.
16053 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16055         * check/gst-libs/gdp.c: (GST_START_TEST):
16056         * check/gst/gstcaps.c: (GST_START_TEST):
16057         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16058         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16059         (gst_dp_packet_from_caps):
16060           fix more valgrind warnings before turning up the heat
16062 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16064         * gst/parse/grammar.y:
16065           some cleanup before the hacking
16067 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16069         * gst/base/gstbasesrc.c: (gst_base_src_query):
16070           use conversions
16071         * gst/gstutils.c: (gst_guint64_to_gdouble),
16072         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16073         * gst/gstutils.h:
16074           externalize, basesrc uses it
16075           obviously the implementation needs testing
16077 2005-10-10  Wim Taymans  <wim@fluendo.com>
16079         * tests/sched/Makefile.am:
16080         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16081         (make_pipeline3), (make_pipeline4), (print_elem), (main):
16083 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16085         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16086           apparently converting from guint64 to double is not implemented
16087           on MSVC
16089 2005-10-10  Wim Taymans  <wim@fluendo.com>
16091         * check/Makefile.am:
16092         * check/generic/states.c: (GST_START_TEST):
16093         * check/gst/gstbin.c: (GST_START_TEST):
16094         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16095         * check/states/sinks.c: (GST_START_TEST):
16096         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16097         (main):
16098         Check fixes, use API as stated in design docs, remove hacks.
16100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16101         (gst_base_sink_change_state):
16102         Catch stopping our task while we're shutting down.
16104         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16105         (gst_bin_remove_func), (gst_bin_get_state_func),
16106         (gst_bin_recalc_state), (gst_bin_change_state_func),
16107         (bin_bus_handler):
16108         * gst/gstbin.h:
16109         * gst/gstelement.c: (gst_element_init),
16110         (gst_element_get_state_func), (gst_element_abort_state),
16111         (gst_element_commit_state), (gst_element_lost_state),
16112         (gst_element_set_state), (gst_element_change_state),
16113         (gst_element_change_state_func):
16114         * gst/gstelement.h:
16115         New state change algorithm (see #318116)
16117         * gst/gstpipeline.c: (gst_pipeline_class_init),
16118         (gst_pipeline_init), (gst_pipeline_set_property),
16119         (gst_pipeline_get_property), (do_pipeline_seek),
16120         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16121         * gst/gstpipeline.h:
16122         Remove crude state change hacks.
16124         * gst/gstutils.h:
16125         Remove crude hacks.
16127         * tools/gst-launch.c: (main):
16128         Fixes for state change. Needs some more work to fully use the
16129         new stuff.
16131 2005-10-10  Andy Wingo  <wingo@pobox.com>
16133         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16135         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16136         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16137         issue.
16139 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16141         * gst/gstiterator.c: (gst_iterator_new):
16142           Fix my previous commit: GTypes passed to gst_iterator_new()
16143           can be fundamental types.
16145 2005-10-10  Wim Taymans  <wim@fluendo.com>
16147         * gst/gstelement.c: (gst_element_iterate_pad_list),
16148         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16149         (gst_element_iterate_sink_pads):
16150         Use src/sink pads lists for the respective iterators instead
16151         of filtering.
16153 2005-10-10  Andy Wingo  <wingo@pobox.com>
16155         Merged in popt removal + GOption addition patch from Ronald, bug
16156         #169772.
16158         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16159         GstElement macros around, remove popt-related symbols, add goption
16160         stuff.
16162         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16163         
16164         * docs/gst/Makefile.am:
16165         * docs/libs/Makefile.am: No POPT_CFLAGS.
16166         
16167         * examples/manual/Makefile.am:
16168         * docs/manual/basics-init.xml: Doc updates with an example.
16169         
16170         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16171         (gst_init), (parse_one_option), (parse_goption_arg):
16172         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16173         bit of hand merging and debugging to get the GOption stuff working
16174         tho.
16175         
16176         * tests/Makefile.am:
16177         * tools/Makefile.am:
16178         * tools/gst-inspect.c: (main):
16179         * tools/gst-launch.c: (main):
16180         * tools/gst-run.c: (main):
16181         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16183 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16185         * gst/gstiterator.c: (gst_iterator_new):
16186           Add assertions to make sure passed GType is likely to really
16187           be a GType (as the compiler won't catch it if the size and
16188           GType arguments get mixed up, see #318447).
16190 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16192         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16194         * gst/gstbin.c: (gst_bin_iterate_sorted):
16195           Pass GType and size arguments to gst_iterator_new() in the right
16196           order (maybe we should make _new() take the GType as first argument
16197           just like _new_list()?) (#318447).
16198           
16200 2005-10-10  Wim Taymans  <wim@fluendo.com>
16202         * gst/gstelement.c: (gst_element_finalize):
16203         And free the GStaticRecMutex too
16205 2005-10-10  Andy Wingo  <wingo@pobox.com>
16207         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16208         Allocate and free the mutex properly.
16210         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16211         New macros.
16212         (GstElement): The state_lock is now recursive. Rebuild your
16213         plugins, suckers. Old macros adapted.
16215         * docs/gst/gstreamer-sections.txt: Doc updates.
16217         * gst/gstutils.h:
16218         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16219         (g_static_rec_cond_wait): Ported from state changes patch, while
16220         we wait on bug #317802 to be solved in a well-distributed GLib.
16222         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16223         gst_element_change_state, variable name changes.
16224         (gst_element_change_state): Split out of gst_element_set_state in
16225         preparation for the state change merge. Doesn't pay attention to
16226         the 'transition' argument.
16227         (gst_element_set_state): Updates, hopefully purely cosmetic.
16228         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16229         state change patch.
16230         (gst_element_get_state_func): Renamed from get_state, cosmetic
16231         changes.
16233 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16235         * gst/elements/gstelements.c:
16236         * win32/GStreamer.vcproj:
16237         * win32/config.h:
16238         * win32/dirent.c: (_tseekdir):
16239         * win32/gst-inspect.vcproj:
16240         * win32/gst-launch.vcproj:
16241         * win32/gstconfig.h:
16242         * win32/gstelements.vcproj:
16243         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16244         * win32/gstreamer.def:
16245         * win32/msvc71.sln:
16246           updates for the win32 build (patch from Sebastien Moutte)
16248 2005-10-10  Andy Wingo  <wingo@pobox.com>
16250         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16251         gst_bin_get_state, cleaned up (but no logic changes).
16252         (bin_element_is_sink): Comment updates.
16253         (sink_iterator_filter): Remove needless cast.
16254         (gst_bin_iterate_sinks): Doc update.
16255         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16256         cleaned up (but no logic changes).
16258         * check/states/sinks.c (test_src_sink): Cleanups from the state
16259         change patch.
16260         (test_livesrc_sink): Sync on the state.
16262         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16263         the state change patch.
16265         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16266         change patch.
16268         * check/gst/gstbin.c: Merge in some style fixes and additional
16269         checks from Wim's state change patch.
16271 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16273         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16274         (gst_type_find_helper):
16275           Check whether we have the requested data already in our list of
16276           cached buffers before pulling a new buffer; also make the buffer
16277           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16279 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16281         * gst/gstcaps.c:
16282         * gst/gstevent.c:
16283           doc updates
16284         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16285           don't use long long, it's not portable.  Replacing with
16286           gint64 seems to work; let's hope no skeletons fall out of the closet.
16288 2005-10-10  Andy Wingo  <wingo@pobox.com>
16290         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16292 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16294         * docs/gst/gstreamer-sections.txt:
16295         * gst/gstevent.c:
16296         * gst/gstevent.h:
16297         * gst/gstinfo.c:
16298         * gst/gstinfo.h:
16299         * gst/gstmessage.c: (gst_message_parse_state_changed):
16300         * gst/gstpad.c:
16301         * gst/gstpad.h:
16302           more docs, fix compilation
16304 2005-10-09  Philippe Khalaf <burger@speedy.org>
16305         * gst/gstmessage.c:
16306           Fixed a few forgotten variables on previous commit
16308 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16310         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16311           Fix evil typefind crasher: getrange() might return a short
16312           buffer at the end of a file, but gst_type_find_peek() must
16313           either return the full data as requested or NULL, but
16314           never a short buffer.
16316 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16318         * gst/gstmessage.c: (gst_message_new_state_changed),
16319         (gst_message_parse_state_changed):
16320         * gst/gstmessage.h:
16321           don't use "new", it's a C++ keyword
16323 2005-10-08  Wim Taymans  <wim@fluendo.com>
16325         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16326         * gst/gstelement.c: (gst_element_post_message):
16327         * gst/gstpipeline.c: (gst_pipeline_change_state):
16328         Small docs and debug updates.
16330 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16332         * docs/gst/gstreamer-sections.txt:
16333         * gst/gstelementfactory.c:
16334         * gst/gstevent.c:
16335         * gst/gsttaglist.c:
16336           more docs
16338 2005-10-08  Wim Taymans  <wim@fluendo.com>
16340         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16341         (gst_bin_dispose), (bin_bus_handler):
16342         Fix typos, add comments.
16343         Clear EOS list when going to PAUSED from any direction and do it
16344         in a threadsafe way.
16345         Get base time in a threadsafe way too.
16346         Fix confusing debug in the change_state function.
16347         Various other small cleanups.
16348         
16349         * gst/gstelement.c: (gst_element_post_message):
16350         Fix very verbose bus posting code.
16352         * gst/gstpipeline.c: (gst_pipeline_class_init),
16353         (gst_pipeline_set_property), (gst_pipeline_get_property),
16354         (gst_pipeline_change_state):
16355         Small ARG_ -> PROP_ cleanup
16357 2005-10-08  Wim Taymans  <wim@fluendo.com>
16359         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16360         Do a less CPU demanding EOS check because we can.
16362 2005-10-08  Wim Taymans  <wim@fluendo.com>
16364         * libs/gst/dataprotocol/dataprotocol.c:
16365         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16366         (gst_dp_packet_from_event):
16367         * libs/gst/dataprotocol/dataprotocol.h:
16368         * libs/gst/dataprotocol/dp-private.h:
16369         It's about time we bump the version number.
16370         Since event types don't fit in the guint8 anymore describing
16371         the payload type, make payload type 16 bits wide.
16373 2005-10-08  Wim Taymans  <wim@fluendo.com>
16375         * docs/design/part-TODO.txt:
16376         * docs/design/part-clocks.txt:
16377         * docs/design/part-events.txt:
16378         * docs/design/part-gstbin.txt:
16379         * docs/design/part-gstelement.txt:
16380         * docs/design/part-gstpipeline.txt:
16381         * docs/design/part-live-source.txt:
16382         * docs/design/part-messages.txt:
16383         * docs/design/part-overview.txt:
16384         * docs/design/part-states.txt:
16385         Many doc updates.
16387 2005-10-08  Wim Taymans  <wim@fluendo.com>
16389         * gst/gstevent.c:
16390         * gst/gstevent.h:
16391         Fix event quark registration.
16392         Add some space between events so we can insert them in the
16393         right groups.
16395 2005-10-08  Wim Taymans  <wim@fluendo.com>
16397         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16398         (gst_base_sink_handle_buffer):
16399         Better log message.
16401         * gst/gstbus.h:
16402         * gst/gstelement.h:
16403         More docs.
16405         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16406         (gst_queue_set_property), (gst_queue_get_property):
16407         * gst/gstqueue.h:
16408         Remove old unused properties.
16410 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16411         * docs/gst/gstreamer-sections.txt:
16412         * gst/gstmessage.c:
16413         * gst/gstmessage.h:
16414         * gst/gstminiobject.c:
16415         * gst/gstminiobject.h:
16416         * gst/gstobject.h:
16417         * gst/gstpad.h:
16418         * gst/gstutils.h:
16419           lots of new docs and doc fixes
16421 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16423         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16424         * gst/gstplugin.h:
16425         * gst/gstregistry.c: (gst_registry_lookup_locked),
16426         (gst_registry_scan_path_level):
16427         * gst/gstregistryxml.c: (load_plugin):
16428           Only ever load one plugin for a given plugin basename.
16429           This ensures correct overriding of GST_PLUGIN_PATH over
16430           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16431           system installed plugins.
16433 2005-10-08  Wim Taymans  <wim@fluendo.com>
16435         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16436         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16437         Prepare for doing QOS.
16439 2005-10-08  Wim Taymans  <wim@fluendo.com>
16441         * check/gst/gstbin.c: (GST_START_TEST):
16442         * check/pipelines/cleanup.c: (GST_START_TEST):
16443         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16444         Allow new clock message too.
16446 2005-10-08  Wim Taymans  <wim@fluendo.com>
16448         * gst/gstmessage.c: (gst_message_new_error),
16449         (gst_message_new_warning), (gst_message_new_tag),
16450         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16451         (gst_message_new_clock_lost), (gst_message_new_new_clock),
16452         (gst_message_new_segment_start), (gst_message_new_segment_done),
16453         (gst_message_parse_state_changed),
16454         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16455         (gst_message_parse_new_clock):
16456         * gst/gstmessage.h:
16457         Also carry the clock in question.
16459 2005-10-08  Wim Taymans  <wim@fluendo.com>
16461         * gst/gstmessage.c: (gst_message_new_custom),
16462         (gst_message_new_eos), (gst_message_new_error),
16463         (gst_message_new_warning), (gst_message_new_tag),
16464         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16465         (gst_message_new_new_clock), (gst_message_new_segment_start),
16466         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16467         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16468         * gst/gstmessage.h:
16469         Clean up.
16470         Added clock related messages.
16472         * gst/gstpipeline.c: (gst_pipeline_change_state):
16473         Post message when the clock changed.
16475         * tools/gst-launch.c: (event_loop):
16476         Print new clock.
16478 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16480         * tools/gst-inspect.c: (print_element_properties_info):
16481           Can't pass NULL strings to g_print() on windows.
16483 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16485         * docs/Makefile.am:
16486         * docs/gst/Makefile.am:
16487         * docs/gst/gstreamer-docs.sgml:
16488         * docs/gst/running.xml:
16489         * docs/version.entities.in:
16490           add a chapter on running GStreamer.
16491           document GST_DEBUG and GST_PLUGIN* env vars
16493 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16495         * Makefile.am:
16496           remove include dir
16497         * configure.ac:
16498           remove PLUGINS_BUILDDIR stuff
16499         * gst/gst.c: (init_post):
16500           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16501         * idiottest.mak:
16502           remove, it was condescending and not needed
16504 2005-10-08  Wim Taymans  <wim@fluendo.com>
16506         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16507         (gst_base_sink_handle_object), (gst_base_sink_event),
16508         (gst_base_sink_wait), (gst_base_sink_handle_event),
16509         (gst_base_sink_change_state):
16510         * gst/base/gstbasesink.h:
16511         Repost EOS message while going to PLAYING if still EOS.
16512         Make sure that when receiving a FLUSH_START we don't attempt
16513         to sync on the clock anymore.
16515 2005-10-08  Wim Taymans  <wim@fluendo.com>
16517         * tools/gst-launch.c: (event_loop):
16518         Better message printout.
16520 2005-10-08  Wim Taymans  <wim@fluendo.com>
16522         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16523         (gst_bin_child_proxy_get_children_count):
16524         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16525         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16526         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16527         (gst_child_proxy_set_valist):
16528         * gst/parse/grammar.y:
16529         Make ChildProxy threadsafe and fix mem leaks.
16531 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16533         * gst/gst.c: (init_post):
16534           debug the GST_PLUGIN_ env vars
16536 2005-10-08  Wim Taymans  <wim@fluendo.com>
16538         * check/gst/gstbin.c: (GST_START_TEST):
16539         * check/gst/gstmessage.c: (GST_START_TEST):
16540         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16541         * gst/gstelement.c: (gst_element_commit_state),
16542         (gst_element_lost_state):
16543         * gst/gstmessage.c: (gst_message_new_state_changed),
16544         (gst_message_parse_state_changed):
16545         * gst/gstmessage.h:
16546         * tools/gst-launch.c: (event_loop):
16547         Added extra field to STATE_CHANGE message with the pending
16548         state, which will be different from the new state soon.
16550 2005-10-08  Wim Taymans  <wim@fluendo.com>
16552         * gst/gstbus.c: (gst_bus_pop):
16553         * gst/gstclock.c:
16554         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16555         Small cleanups and doc updates.
16557 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16559         * gst/gst.c: (init_pre):
16560         * gst/gstbin.c: (gst_bin_add_func):
16561           log distributing clocks and base time
16562         * gst/gstregistry.c: (gst_registry_add_plugin),
16563         (gst_registry_scan_path_level), (gst_registry_scan_path):
16564           clean up the debugging output a little
16565         * gst/gstutils.c: (gst_element_state_get_name):
16566           warn about a memleak (I've actually seen this be used, though
16567           it was probably a bug)
16569 2005-10-07  Wim Taymans  <wim@fluendo.com>
16571         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16572         (gst_base_src_init), (gst_base_src_default_newsegment),
16573         (gst_base_src_newsegment), (gst_base_src_do_seek),
16574         (gst_base_src_loop), (gst_base_src_start):
16575         * gst/base/gstbasesrc.h:
16576         Make the newsegment event customizable by subclasses.
16578 2005-10-07  Wim Taymans  <wim@fluendo.com>
16580         * gst/gstevent.c: (gst_event_new_buffersize),
16581         (gst_event_parse_buffersize):
16582         * gst/gstevent.h:
16583         New event for future idea.
16585 2005-10-07  Andy Wingo  <wingo@pobox.com>
16587         * gst/gstelement.c (gst_element_post_message): Doc update.
16589         * docs/gst/gstreamer-sections.txt: Update.
16591         * gst/gstmessage.c (gst_message_new_application): Made into a
16592         function like honest API calls.
16593         (gst_message_new_element): New message type.
16595         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16597         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16598         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16599         times.
16601         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16602         NO_PREROLL from gst_element_change_state to fall through.
16604 2005-10-07  Wim Taymans  <wim@fluendo.com>
16606         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16607         (gst_ghost_pad_do_activate_push):
16608         Activating a ghostpad with no internal pad in push mode
16609         is ok.
16611 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16613         * gst/gstobject.h:
16614           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16615           Fixes compilation on Windows.
16617 2005-10-07  Michael Smith <msmith@fluendo.com>
16619         * tools/gst-inspect.c:
16620           Print out feature and plugin count at the end when printing out
16621           all features.
16623 2005-10-04  Michael Smith <msmith@fluendo.com>
16625         * gst/gsterror.c: (_gst_stream_errors_init):
16626           Add another error string used in a few existing plugins.
16628         * gst/gstplugin.c:
16629         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16630         * tools/gst-inspect.c: (print_element_info):
16631           When a feature disappears from a plugin (and the feature exists in
16632           the cached registry file), things went horribly wrong. This isn't a
16633           complete fix, we should actually be removing the 'missing' features
16634           from the features list when we load the actual plugin. That's not
16635           yet implemented. 
16637 2005-10-04  Johan Dahlin  <johan@gnome.org>
16639         * check/gst/gstiterator.c: (GST_START_TEST):
16640         * gst/gstbin.c: (gst_bin_iterate_elements),
16641         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16642         * gst/gstelement.c: (gst_element_iterate_pads):
16643         * gst/gstformat.c: (gst_format_iterate_definitions):
16644         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16645         (gst_iterator_new_list), (gst_iterator_filter):
16646         * gst/gstiterator.h:
16647         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16648         Add a GType to GstIterator, update callsites and tests.
16650 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16652         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16653           give events a chance to be handled by event probes when the pad
16654           is not linked
16656 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16658         * gst/gstevent.c: (gst_event_type_get_name),
16659         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16660         * gst/gstevent.h:
16661           add string representations for event types
16663 2005-10-06  Wim Taymans  <wim@fluendo.com>
16665         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16666         Don't use NULL pointers.
16668 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16670         * gst/gst_private.h:
16671         * gst/gstbus.c:
16672         * gst/gstelement.c:
16673         * gst/gstinfo.c:
16674         * gst/gstpluginfeature.c:
16675           widen the debug category in output to fit the biggest one we have
16676           add a bus category and use it
16677           play with the colors
16678           fix up some categories
16680 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16682         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16683           add push activation of sink ghost pads.
16684           Andye, please verify
16686 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16688         * gst/gstutils.c: (gst_element_link_pads):
16689           fix a bug in the case where neither element has a pad
16690         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16691           add a test for that case
16693 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16695         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16696           emit have-data before checking for peers.  This allows
16697           for probe handlers to connect elements.  This helps autopluggers.
16698         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16699         (gst_pad_suite):
16700           add six checks, linked/unlinked with no/true/false probe
16702 2005-10-04  Wim Taymans  <wim@fluendo.com>
16704         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16705         (gst_fake_sink_event), (gst_fake_sink_preroll),
16706         (gst_fake_sink_render), (gst_fake_sink_change_state):
16707         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16708         (gst_fake_src_get_property), (gst_fake_src_create),
16709         (gst_fake_src_stop):
16710         * gst/elements/gstidentity.c: (gst_identity_stop):
16711         Protect last_message with lock.
16713 2005-10-04  Edward Hervey  <edward@fluendo.com>
16715         * gst/gstformat.h: 
16716         Added precision in the comments for GST_FORMAT_DEFAULT
16718 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16720         * tools/gst-launch.c: (main):
16721           Don't try to run erroneous pipelines.
16723 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16725         * gst/gstbus.c: We don't need this header.
16727 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16729         * configure.ac:
16730           back to development
16732 === release 0.9.3 ===
16734 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16736         * README:
16737         * configure.ac:
16738           Releasing 0.9.3, "Unregistered"
16740 2005-10-03  Andy Wingo  <wingo@pobox.com>
16742         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16743         whereby calling a pad's activatepush() function can start a thread
16744         that starts to push or pull before the pad gets the FLUSHING flag
16745         unset. Hack around it by holding the stream lock until the flag is
16746         set. Need to replace this with a proper solution. Together with
16747         the ghost pad fixes, this fixes mp3 playing/tagreading.
16749         * docs/design/part-gstghostpad.txt: Add a note about activation of
16750         proxy pads outside of ghost pads.
16752         * gst/gstghostpad.c: Implement the ghost pad activation design.
16754 2005-10-02  Andy Wingo  <wingo@pobox.com>
16756         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16757         It is volatile, after all.
16759         * docs/design/part-gstghostpad.txt: Flesh out activation with
16760         ghost pads.
16762         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16763         GST_DEBUG_FUNCPTR.
16765 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16767         * configure.ac:
16768           Fix (unused) AM_CONDITIONAL tests.
16770 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16772         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16774         * gst/gstutils.c: (gst_pad_query_convert):
16775           Add assertion that makes sure src_val is >=0, just like
16776           gst_query_new_convert() has. (#315895)
16778 2005-09-30  Edward Hervey  <edward@fluendo.com>
16780         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16781         Let's not iterate pads we're not interested in, it avoids getting 
16782         sky-high refcounts on sinkpad.
16784 2005-09-30  Wim Taymans  <wim@fluendo.com>
16786         * gst/gstelement.c: (gst_element_set_state),
16787         (gst_element_change_state):
16788         Small tweak, element in ASYNC remains ASYNC.
16790 2005-09-30  Wim Taymans  <wim@fluendo.com>
16792         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16793         Only error is an error.
16795         * gst/gstbin.c: (gst_bin_change_state):
16796         Better debugging.
16798         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16799         Also call pad_block in pad alloc.
16801         * gst/gstutils.c: (gst_flow_get_name):
16802         Better debugging.
16804 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16806         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16807         (gst_base_src_get_range):
16808           Fix documentation typos. Add some more debug info.
16810 2005-09-29  David Schleef  <ds@schleef.org>
16812         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16813           more end-user friendly.
16814         * tools/gst-inspect.c: (main): Check if command-line argument is
16815           a file and attempt to load that file as a plugin.
16817 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16819         * check/gst/gstbin.c:
16820         * check/states/sinks.c:
16821           fix tests for the new warning
16822         * check/gst/gstpipeline.c:
16823           add a test for pipeline and bus interaction
16824         * gst/gstelement.c:
16825           elements should be NULL if they get disposed; add a warning if not
16827 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16829         * gst/gstobject.c:
16830           for 2.6 refcounting, make debug log more correct by printing
16831           the actual refcounts at the time of swap (Wim)
16833 2005-09-29  Andy Wingo  <wingo@pobox.com>
16835         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16836         removes signal watches previously added via
16837         gst_bus_add_signal_watch.
16838         (gst_bus_add_signal_watch): Don't return the source id, just store
16839         it on the bus if there wasn't an id already.
16841         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16842         add_signal_watch and remove_signal_watch.
16844 2005-09-29  Edward Hervey  <edward@fluendo.com>
16846         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
16847         Better if we actually iterate the list :)
16849 2005-09-29  Wim Taymans  <wim@fluendo.com>
16851         * check/gst/gstbin.c: (GST_START_TEST):
16852         Change for new bus API.
16854         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16855         (send_messages), (GST_START_TEST), (gstbus_suite):
16856         Change for new bus signal API.
16858         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16859         (gst_bus_source_prepare), (gst_bus_source_check),
16860         (gst_bus_create_watch), (gst_bus_add_watch_full),
16861         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16862         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16863         * gst/gstbus.h:
16864         Remove support for multiple GSources operating on different
16865         message types as it is too complex and unneeded when using
16866         signals.
16867         Added support for receiving signals from the bus.
16869 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16871         * docs/libs/tmpl/gstdataprotocol.sgml:
16872         * docs/manual/advanced-dataaccess.xml:
16873         * gst/elements/gstcapsfilter.c:
16874         * gst/gstutils.c:
16875           rename filter-caps to caps property
16877 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16879         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16880           More robust fraction string parsing.
16882         * docs/pwg/appendix-porting.xml:
16883           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16885 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16887         * gst/gstcaps.c: (gst_caps_do_simplify):
16888           Thou shalt not free a structure and then continue using it
16889           in the next loop iteration.
16891         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16892         (gst_caps_suite):
16893           Add test case for caps simplification.
16895 2005-09-29  Wim Taymans  <wim@fluendo.com>
16897         * check/gst/gstbin.c: (GST_START_TEST):
16898         Oops.
16900 2005-09-29  Wim Taymans  <wim@fluendo.com>
16902         * check/gst/gstbin.c: (GST_START_TEST):
16903         Add bus to bin.
16905         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16906         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16907         (find_element), (gst_bin_sort_iterator_next),
16908         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16909         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16910         (gst_bin_change_state), (gst_bin_dispose):
16911         A bin does not have a bus, it gets the bus from the parent.
16913         * gst/gstelement.c: (gst_element_requires_clock),
16914         (gst_element_provides_clock), (gst_element_is_indexable),
16915         (gst_element_is_locked_state), (gst_element_change_state),
16916         (gst_element_set_bus_func):
16917         Small cleanups.
16919         * gst/gstpipeline.c: (gst_pipeline_class_init),
16920         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16921         The pipeline provides a bus.
16923 2005-09-28  Johan Dahlin  <johan@gnome.org>
16925         * gst/gstmessage.c (gst_message_parse_state_changed): Use
16926         gst_structure_get_enum instead of gst_structure_get_int
16928         * gst/gststructure.c (gst_structure_get_enum): Impl.
16930         * gst/gststructure.h (gst_structure_get_enum): Add
16932         * docs/gst/gstreamer-sections.txt: Ditto
16934         * gst/gstmessage.c (gst_message_new_state_changed): Use
16935         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16936         which does introspection.
16937         Reviewed by Christian Schaller
16939 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16941         * gst/gstinfo.c: (gst_debug_log_default):
16942           don't do dummy g_strdup()s
16943         * libs/gst/controller/gstcontroller.c:
16944         (on_object_controlled_property_changed),
16945         (gst_controlled_property_new), (gst_controller_new_valist),
16946         (gst_controller_new_list),
16947         (gst_controller_remove_properties_valist), (gst_controller_set),
16948         (gst_controller_get), (gst_controller_sync_values),
16949         (gst_controller_get_value_array), (_gst_controller_class_init),
16950         (gst_controller_get_type):
16951         * libs/gst/controller/gstcontroller.h:
16952         * libs/gst/controller/gstinterpolation.c:
16953         (gst_controlled_property_find_timed_value_node):
16954           convert // to /**/ comments
16956 2005-09-28  Wim Taymans  <wim@fluendo.com>
16958         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16959         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16960         (gst_bus_sync_signal_handler):
16961         * gst/gstbus.h:
16962         Added async-message and sync-message signals to the bus.
16963         Added helper BusFunc to emit signals for all posted messages.
16965         * gst/gstmessage.c: (gst_message_type_get_name),
16966         (gst_message_type_to_quark), (gst_message_get_type):
16967         * gst/gstmessage.h:
16968         Register quarks for message names.
16970 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16972         * docs/libs/gstreamer-libs-sections.txt:
16973         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16974         (gst_controller_new_list):
16975         * libs/gst/controller/gstcontroller.h:
16976           added another constructor for language bindings
16978 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16980         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16981           add another check
16982         * gst/gstbus.c:
16983           add some doc
16984         * gst/gstinfo.c: (_gst_debug_init):
16985           slightly more readable color for refcount debugging
16987 2005-09-28  Wim Taymans  <wim@fluendo.com>
16989         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16990         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16991         (find_element), (gst_bin_sort_iterator_next),
16992         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16993         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16994         (gst_bin_change_state), (gst_bin_dispose):
16995         Small doc fixes. get_clock -> provide_clock.
16997         * gst/gstelement.c: (gst_element_class_init),
16998         (gst_element_provides_clock), (gst_element_provide_clock),
16999         (gst_element_get_clock), (gst_element_commit_state),
17000         (gst_element_lost_state):
17001         * gst/gstelement.h:
17002         Make get/set_clock() symetric. Add provide_clock vmethod since
17003         that is actually what this function does.
17005         * gst/gstpipeline.c: (gst_pipeline_class_init),
17006         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17007         (gst_pipeline_get_clock):
17008         get_clock -> provide_clock.
17010 2005-09-28  Andy Wingo  <wingo@pobox.com>
17012         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17013         lieu of real docs...
17015         * gst/elements/gstfdsrc.c: Cleaned up a bit.
17017 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
17019         * gst/elements/gstcapsfilter.c:
17020         * gst/elements/gstfakesink.c:
17021         * gst/elements/gstfakesrc.c:
17022         * gst/elements/gstfdsink.c:
17023         * gst/elements/gstfdsrc.c:
17024         * gst/elements/gstfilesink.c:
17025         * gst/elements/gstfilesrc.c:
17026         * gst/elements/gstidentity.c:
17027         * gst/elements/gsttee.c:
17028         * gst/elements/gsttypefindelement.c:
17029           Make element details static.
17031 2005-09-28  Wim Taymans  <wim@fluendo.com>
17033         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17034         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17035         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17036         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17037         (gst_bin_change_state), (gst_bin_dispose):
17038         Some documentation updates.
17039         Clean up dispose handlers.
17041         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17042         * gst/gstpad.c: (gst_pad_dispose):
17043         Clean up dispose handler.
17045         * gst/gstpipeline.c: (gst_pipeline_change_state):
17046         Removed spurious UNLOCK.
17048 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
17050         * docs/gst/gstreamer-sections.txt:
17051         * gst/base/gstbasesrc.h:
17052         * gst/gstelement.h:
17053         * gst/gstevent.h:
17054         * gst/gstobject.h:
17055         * gst/gstpad.h:
17056         * gst/gstpipeline.c:
17057         * gst/gstpipeline.h:
17058         * gst/gstutils.h:
17059         * gst/gstxml.h:
17060           added two new functions to the docs
17061                 documents all undocumented GstXXXFlags
17062                 completed some incomplete docs 
17064 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17066         * gst/gstbin.c: (gst_bin_dispose):
17067         * gst/gstelement.c: (gst_element_dispose):
17068           remove now useless and leaky resurrection code in dispose
17069         * gst/base/gstbasesrc.c: (gst_base_src_init):
17070         * gst/gstelementfactory.c: (gst_element_factory_create):
17071         * gst/gstobject.c: (gst_object_set_parent):
17072           add some debugging
17074 2005-09-27  Wim Taymans  <wim@fluendo.com>
17076         * docs/design/part-TODO.txt:
17077         Update TODO.
17079         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17080         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17081         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17082         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17083         (gst_bin_change_state):
17084         * gst/gstelement.h:
17085         Remove element variable, we keep element info in the iterator now.
17087 2005-09-27  Andy Wingo  <wingo@pobox.com>
17089         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17090         values.
17092 2005-09-27  Wim Taymans  <wim@fluendo.com>
17094         * check/gst/gstbin.c: (GST_START_TEST):
17095         Enable check that works now.
17097         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17098         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17099         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17100         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17101         (gst_bin_change_state):
17102         * gst/gstbin.h:
17103         Redid the state change algorithm using a topological sort algo.
17104         Handles all cases correctly.
17105         Exposed iterator for state change order.
17107         * gst/gstelement.h:
17108         Temp storage for state changes. Need to get rid of this soon.
17110 2005-09-27  Wim Taymans  <wim@fluendo.com>
17112         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17113         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17114         (link_fold_func), (gst_pad_proxy_setcaps):
17115         Leak fixes, the fold functions need to unref the passed object and
17116         _get_parent_*() returns ref to parent.
17118 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17120         * check/gst/gstbuffer.c: (test_make_writable):
17121           Plug leak in test case and fix 'make check-valgrind'
17123 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17125         * gst/gstbuffer.c: (gst_subbuffer_init):
17126           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17127           works correctly in all circumstances (we could have just copied
17128           the parent buffer's readonly flag, but conceptually it seems
17129           cleaner to mark all subbuffers as read-only). (based on patch
17130           by Alessandro Decina, #314710).
17131         
17132         * check/gst/gstbuffer.c: (create_read_only_buffer),
17133         (test_make_writable), (test_subbuffer_make_writable),
17134         (gst_test_suite):
17135           Add some tests for gst_buffer_make_writable().
17137 2005-09-27  Wim Taymans  <wim@fluendo.com>
17139         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17140         use gst_object_has_ancestor().
17142         * gst/gstobject.c: (gst_object_has_ancestor):
17143         * gst/gstobject.h:
17144         gst_object_has_ancestor() copied from gstbin.c as it is a
17145         useful function.
17147         * tests/instantiate/create.c: (create_all_elements):
17148         * tests/lat.c: (handoff_src), (handoff_sink):
17149         * tests/sched/runxml.c: (main):
17150         * tests/seeking/seeking1.c: (main):
17151         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17152         (main):
17153         Fix compilation of some tests.
17155 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17157         * gst/gsterror.h:
17158           Remove comment. GST_TYPE_G_ERROR is here to stay,
17159           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17160           (#316961, #300610).
17162 2005-09-26  Wim Taymans  <wim@fluendo.com>
17164         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17165         Added check that shows error in state change order.
17167 2005-09-26  Wim Taymans  <wim@fluendo.com>
17169         * gst/gstbin.c: (gst_bin_change_state):
17170         Make state change function use 3 queues again, we were
17171         adding elements in the wrong order.
17173         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17174         Some debug info,
17176         * gst/gstpad.c: (gst_pad_dispose):
17177         Added some debug info first.
17179 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17181         * docs/design/draft-push-pull.txt:
17182         * docs/design/part-events.txt:
17183         * docs/design/part-overview.txt:
17184         * docs/design/part-scheduling.txt:
17185           Replace all _pull_region() with _pull_range()
17186           
17187 2005-09-26  Andy Wingo  <wingo@pobox.com>
17189         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17191         * check/gst-libs/controller.c: Update for controller api change.
17193         * configure.ac: 
17194         * tests/Makefile.am:
17195         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17196         over by GLib bug 118439.
17197         
17198         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17199         routines to a function.
17201         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17203         * libs/gst/controller/gsthelper.c:
17204         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17205         (gst_object_sync_values): Renamed from sink_values. Ugh.
17207         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17209         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17210         Renamed from controller_key, as it is exported.
17212         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17214 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17216         * gst/Makefile.am:
17217         * gst/gst.h:
17218         * gst/gstpad.h:
17219         * gst/gstpadtemplate.h:
17220         * gst/gstquery.c:
17221         * gst/gstquery.h:
17222         * gst/gstqueryutils.c:
17223         * gst/gstqueryutils.h:
17224           remove queryutils headers after moving the two used functions
17225           to gstquery.  also fixes build problem for gstsiddec
17227 2005-09-26  Michael Smith <msmith@fluendo.com>
17229         * tools/gst-launch.1.in:
17230         Correct documentation in manpage of debug syntax
17232 2005-09-26  Wim Taymans  <wim@fluendo.com>
17234         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17235         (gst_base_src_is_seekable), (gst_base_src_change_state):
17236         Some more debugging info.
17238 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17240         * docs/gst/gstreamer-sections.txt:
17241         * gst/base/gstbasetransform.h:
17242         * gst/gstindex.h:
17243           added more docs
17245 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17247         * docs/gst/.cvsignore:
17248         * docs/gst/tmpl/.cvsignore:
17249         * docs/gst/tmpl/gstpipeline.sgml:
17250         * docs/gst/tmpl/gstplugin.sgml:
17251         * gst/gstpipeline.c:
17252         * gst/gstplugin.c:
17253         * gst/gstplugin.h:
17254           inlined the last two docs files
17255           removed the tmpl directory from cvs (no more conflicts here!)
17257 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17259         * docs/gst/gstreamer-sections.txt:
17260         * docs/gst/tmpl/.cvsignore:
17261         * docs/gst/tmpl/gstpad.sgml:
17262         * docs/gst/tmpl/gstpadtemplate.sgml:
17263         * gst/Makefile.am:
17264         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17265         (gst_pad_finalize), (gst_pad_set_pad_template):
17266         * gst/gstpad.h:
17267         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17268         (gst_pad_template_class_init), (gst_pad_template_init),
17269         (gst_pad_template_dispose), (name_is_valid),
17270         (gst_static_pad_template_get), (gst_pad_template_new),
17271         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17272         (gst_pad_template_pad_created):
17273         * gst/gstpadtemplate.h:
17274           inlined two more docs
17275           factored gstpadtemplate out of gstpad
17277 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17279         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17280         (test_children_state_change_order_semi_sink):
17281           Fix test case: we can't rely on a fixed state change order when
17282           going from READY => PAUSED because the sink might commit its 
17283           new state first when the first buffer created by the source 
17284           reaches the sink before the source has finished its change state.
17285           (Test case still fails at times, see #316856, comment 5 onwards)
17287 2005-09-24  Wim Taymans  <wim@fluendo.com>
17289         * docs/design/part-events.txt:
17290         * docs/design/part-gstbus.txt:
17291         * docs/design/part-gstpipeline.txt:
17292         * docs/design/part-messages.txt:
17293         * docs/design/part-overview.txt:
17294         * docs/design/part-segments.txt:
17295         * gst/gstbin.c:
17296         * gst/gstbuffer.c:
17297         * gst/gstclock.c:
17298         * gst/gstelement.c:
17299         * gst/gstevent.c:
17300         * gst/gstfilter.c:
17301         * gst/gstiterator.c:
17302         Various documentation updates.
17304 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17306         * gst/gstclock.h:
17307           Well, that's embarassing.  Luckily we weren't using
17308           GST_CLOCK_DIFF anywhere.
17310 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17312         * common/gtk-doc.mak:
17313           don't fail on building XML, FC4 slave shows a bunch of doc
17314           missing bits that I don't get
17315         * gst/gstpad.c:
17316         * gst/gstpipeline.c:
17317         * gst/gststructure.c:
17318           some doc updates
17320 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17322         * docs/design/part-gstbin.txt:
17323         * docs/design/part-gstbus.txt:
17324         * gst/gstbus.c:
17325           Add blurb about how the bus goes into flushing mode and
17326           drops all messages when its bin goes from READY into NULL 
17327           state.
17329 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17331         * docs/gst/gstreamer-sections.txt:
17332         * gst/gststructure.c: (gst_structure_get_clock_time):
17333         * gst/gststructure.h:
17334           add a method to get a GstClockTime out of a structure
17336 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17338         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17339         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17340           Added test to check state change order in bins (can still be made
17341           to fail here under heavy disk load; bails out with 'Push on pad
17342           fakesink:sink0, but it was not activated in push mode').
17344         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17345           Fix state change order when there is only a semi sink (#316856)
17347         * gst/gstbus.c: (gst_bus_class_init):
17348           Use _class_peek_parent(), not _class_ref(); fix docs to say
17349           'default main context' instead of 'mainloop' where that is
17350           what's meant.
17352         * gst/gstelement.c: (gst_element_commit_state),
17353         (gst_element_set_state):
17354           Fix typos in debug messages
17356 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17358         * docs/README:
17359         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17360         * gst/gstpluginfeature.c:
17361         * gst/gstutils.c:
17362           various doc updates
17363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17364           change an assert into an error until it gets fixed properly
17366 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17368         * docs/gst/gstreamer-sections.txt:
17369         * docs/gst/tmpl/.cvsignore:
17370         * docs/gst/tmpl/gstelement.sgml:
17371         * docs/gst/tmpl/gstinfo.sgml:
17372         * docs/gst/tmpl/gstobject.sgml:
17373         * gst/gstelement.c:
17374         * gst/gstelement.h:
17375         * gst/gstinfo.c:
17376         * gst/gstinfo.h:
17377         * gst/gstobject.c: (gst_object_class_init):
17378         * gst/gstobject.h:
17379           inlined 3 more biiiig doc files and added some missing docs on the fly
17381 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17383         * check/gst/.cvsignore:
17384         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17385         * gst/gstregistryxml.c: (load_plugin),
17386         (gst_registry_xml_save_plugin):
17387           put back source in registry.  add checks for find_plugin.
17388         * testsuite/states/bin.c: (assert_state), (empty_bin),
17389         (test_adding_one_element), (main):
17390         * testsuite/states/locked.c: (main):
17391           some compile/run fixes
17393 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17395         * check/gst/gstvalue.c: (GST_START_TEST):
17396           fix leaks in the test itself
17398 2005-09-22  Wim Taymans  <wim@fluendo.com>
17400         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17401         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17402         (gst_base_sink_query):
17403         Prepare for more accurate position reporting and query
17404         handling.
17406         * gst/gstelement.c: (gst_element_send_event),
17407         (gst_element_set_state):
17408         Add some comment.
17410 2005-09-22  Wim Taymans  <wim@fluendo.com>
17412         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17413         (gst_query_parse_segment):
17414         * gst/gstquery.h:
17415         More documentation.
17416         Add segment query for future use.
17418 2005-09-22  Wim Taymans  <wim@fluendo.com>
17420         * gst/gstbin.c: (gst_bin_add_func):
17421         Some more debug info.
17423         * gst/gstelement.c: (gst_element_send_event):
17424         Simplify send_event
17426         * gst/gstelement.h:
17427         Don't know how flags got broken.
17429         * gst/gstquery.h:
17430         Added new query.
17432 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17434         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17435           Add simplistic test suite for GST_TYPE_DATE serialisation and
17436           deserialisation.
17438 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17440         * docs/gst/gstreamer-sections.txt:
17441         * gst/gststructure.c: (gst_structure_set_valist),
17442         (gst_structure_get_date):
17443         * gst/gststructure.h:
17444         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17445         (gst_date_copy), (gst_value_compare_date),
17446         (gst_value_serialize_date), (gst_value_deserialize_date),
17447         (gst_value_transform_date_string),
17448         (gst_value_transform_string_date), (_gst_value_initialize):
17449         * gst/gstvalue.h:
17450           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17451           bunch of utility functions along with a hack that checks that
17452           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17453           is required. Part of the grand scheme in #170777.
17455 2005-09-22  Andy Wingo  <wingo@pobox.com>
17457         * gst/gstconfig.h.in: Psych out gtk-doc.
17459         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17461         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17463         * tools/gst-inspect.c (print_element_list): Plug some
17464         inconsequential leaks.
17466         * gst/gstregistry.c (gst_registry_get_default): Doc.
17468         * check/gst/gstplugin.c: 
17469         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17470         * gst/gstelementfactory.c (gst_element_factory_create): 
17471         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17472         refcount changes.
17474         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17475         (gst_plugin_feature_load): Doc, don't eat refs.
17477         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17478         (gst_plugin_list_free): Doc.
17479         (gst_plugin_load_file): Doc updates.
17481         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17482         accessors returning refcounted objects, return a ref.
17484         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17485         accessor for caps. IDEMPOTENCE. Oh yes.
17487 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17489         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17491         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17492         (_gst_debug_register_funcptr):
17493           Add mutex to serialise access to the hash table with
17494           the function pointer => function name string mapping;
17495           make that hash table static scope (#316809).
17497         * gst/registries/.cvsignore:
17498           Remove left-over file.
17500 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17502         * docs/pwg/appendix-porting.xml:
17503           And something about newsegment events and caps-on-buffers to
17504           the porting guide (feel free to improve).
17506 2005-09-21  Andy Wingo  <wingo@pobox.com>
17508         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17509         data and event probes on the same pad.
17510         (test_buffer_probe_once): Test that removing probes from within
17511         the probe functions works.
17513 2005-09-21  Andy Wingo  <wingo@pobox.com>
17515         * check/gst/gstutils.c: New file.
17516         (test_buffer_probe_n_times): A simple buffer probe test. More to
17517         come, foolios.
17519         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17520         have-data::buffer, not have-data.
17521         (gst_pad_add_event_probe): Likewise for have-data::event.
17522         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17523         peer' isn't quite right yet though.
17524         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17525         (gst_pad_remove_data_probe): Change to take the guint handler_id
17526         as their arg, not the function+data, which is more glib-like.
17528         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17529         the signal emission to indicate if the data is a buffer or an
17530         event.
17531         (gst_pad_get_type): Initialize buffer and event quarks.
17532         (gst_pad_class_init): have-data is now a detailed signal, yes it
17533         is.
17535 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17537         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17538         * gst/gstutils.c: (gst_util_set_value_from_string),
17539         (gst_util_set_object_arg):
17540           Don't put functional code in g_return_if_fail() or
17541           g_return_val_if_fail() statements, otherwise things will 
17542           break when G_DISABLE_CHECKS is defined during compilation.
17544 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17546         * docs/gst/tmpl/.cvsignore:
17547         * docs/gst/tmpl/gstvalue.sgml:
17548         * gst/gstvalue.c:
17549         * gst/gstvalue.h:
17550           inlied another one and added  some obvious docs
17552 2005-09-21  Wim Taymans  <wim@fluendo.com>
17554         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17555         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17556         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17557         (gst_fdsrc_get_property), (gst_fdsrc_create):
17558         * gst/elements/gstfdsrc.h:
17559         Properly implement fdsrc. Removed signal and timeout,
17560         better implemented somewhere else.
17562 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17564         * docs/gst/tmpl/.cvsignore:
17565         * docs/gst/tmpl/gstimplementsinterface.sgml:
17566         * gst/gstinterface.c:
17567           inlined more docs
17569 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17571         * docs/gst/gstreamer-sections.txt:
17572         * docs/gst/tmpl/.cvsignore:
17573         * docs/gst/tmpl/gstenumtypes.sgml:
17574           remove obsolete doc file
17576 2005-09-21  David Schleef  <ds@schleef.org>
17578         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17579         little beer, fix a little leak.
17581 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17583         * docs/gst/gstreamer-docs.sgml:
17584         * docs/gst/gstreamer-sections.txt:
17585         * docs/gst/tmpl/.cvsignore:
17586         * gst/Makefile.am:
17587         * gst/gst.h:
17588         * gst/gstbin.c:
17589         * gst/gstelement.h:
17590         * gst/gstindex.c: (gst_index_class_init):
17591         * gst/gstindex.h:
17592         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17593         (gst_index_factory_class_init), (gst_index_factory_init),
17594         (gst_index_factory_finalize), (gst_index_factory_new),
17595         (gst_index_factory_destroy), (gst_index_factory_find),
17596         (gst_index_factory_create), (gst_index_factory_make):
17597         * gst/gstindexfactory.h:
17598         * gst/gstpluginfeature.c:
17599         * gst/gstpluginfeature.h:
17600         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17601           more docs inlined, splitted gstindex.{c,h}
17603 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17605         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17606           fix a leak
17608 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17610         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17611           Set sync to FALSE by default.
17613 2005-09-20  Wim Taymans  <wim@fluendo.com>
17615         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17616         (gst_base_sink_init):
17617         Make sync property settable from subclass.
17619         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17620         (gst_fake_sink_change_state):
17621         Set sync to FALSE by default.
17623 2005-09-20  Wim Taymans  <wim@fluendo.com>
17625         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17626         * tools/gst-launch.c: (main):
17627         The timeout handler should have lower priority than the source
17628         so we don't timeout before popping a message with 0 timeout.
17629         Dump error messages after failed state change.
17631 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17633         * tools/gst-inspect.c: (print_element_properties_info):
17634           Fix two typos.
17636 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17638         * check/gst/gstevent.c:
17639         * gst/elements/gstfakesink.c:
17640         * gst/elements/gstfakesink.h:
17641           remove the sync property from fakesink.
17642           has the side effect of setting sync TRUE
17643           for fakesink, which is a change.  Anyone who knows how
17644           to fix this nicely in a GObject-y way, feel free.
17646 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17648         * docs/gst/gstreamer-docs.sgml:
17649           remove probe refsection
17651 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17653         * check/Makefile.am:
17654           disable valgrinding the controller test again
17655         * docs/gst/gstreamer-sections.txt:
17656           update for api-changes
17658 2005-09-20  Wim Taymans  <wim@fluendo.com>
17660         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17661         (gst_base_sink_set_property), (gst_base_sink_get_property),
17662         (gst_base_sink_do_sync):
17663         * gst/base/gstbasesink.h:
17664         Added sync property to basesink to disable clock sync.
17666 2005-09-20  Andy Wingo  <wingo@pobox.com>
17668         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17669         eating the caller's refcount.
17671         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17672         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17673         refcount.
17675         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17676         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17677         of GLib 2.8 public, so we can know which refcount to check in
17678         tests.
17680         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17681         (gst_object_init): Only set the gst refcount if we're going ahead
17682         with the refcount hack.
17684 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17686         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17687         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17688           more leaks plumbed, added more debug-logging
17689         * gst/gstmacros.h:
17690           whitespace fix
17692 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17694         * gst/gstmessage.c:
17695           remove include of gstmemchunk.h
17697 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17699         * gst/gstclock.c: (_gst_clock_id_free):
17700           Commit from the Political Party For More Atomic CVS Commits,
17701           so that people don't waste too much of their day fishing
17702           out obvious leaks out of massive commits.
17703           Oh, and fix a pretty damn obvious leak in the memchunk
17704           removal code.
17706 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17708         * check/Makefile.am:
17709         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17710           plug mem-leak, re-add to valgrindable tests
17712 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17714         * gst/gstplugin.h:
17715           unbreak the build for those who have chronic arthritis
17716           and typing "make check" is just too taxing on the hands
17718 2005-09-20  Andy Wingo  <wingo@pobox.com>
17720         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17721         really want it out, you should fix plugins at the same time.
17723 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17725         * configure.ac:
17726         * docs/gst/gstreamer-sections.txt:
17727         * gst/gstobject.c:
17728           added missing symbols to api docs
17729           disable ref-count hack if we have glib >= 2.8
17731 2005-09-19  David Schleef  <ds@schleef.org>
17733         * docs/gst/Makefile.am: Ignore a few more internal headers
17734         * docs/gst/gstreamer-docs.sgml: Remove old sections
17735         * docs/gst/gstreamer-sections.txt: Remove old sections
17736         * docs/gst/tmpl/gstobject.sgml: update
17737         * docs/gst/tmpl/gstplugin.sgml: update
17738         * docs/gst/tmpl/gstpluginfeature.sgml: update
17739         * docs/random/ds/0.9-suggested-changes: update.
17740         * gst/Makefile.am: remove memchunk and trashstack, since they're
17741           not used.
17742         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17743         * gst/gst.h: don't include some headers
17744         * gst/gstchildproxy.c: add gstmarshal.h
17745         * gst/gstclock.c: Don't use memchunks
17746         * gst/gstminiobject.c: Add some docs
17747         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17748         * gst/gstobject.h: same
17749         * gst/gstplugin.c: include gstmacros.h
17750         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17751         * gst/gstquery.c: don't use memchunks
17752         * gst/gstregistry.c: rename gst_registry_deinit()
17753         * gst/gstregistry.h: same
17755 2005-09-19  David Schleef  <ds@schleef.org>
17757         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17758         * docs/libs/gstreamer-libs-sections.txt:
17759         * docs/libs/tmpl/gstgetbits.sgml:
17760         * docs/libs/tmpl/gstputbits.sgml:
17762 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17764         * win32/gstenumtypes.c:
17765         * win32/gstenumtypes.h:
17766           Update.
17768 2005-09-19  Wim Taymans  <wim@fluendo.com>
17770         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17771         Automatically PAUSE and RESUME a pipeline when a flushing seek
17772         is performed.
17774 2005-09-19  Andy Wingo  <wingo@pobox.com>
17776         * gst/gstregistry.h: Spacing fixen.
17778 2005-09-19  Wim Taymans  <wim@fluendo.com>
17780         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17781         Handle state change failure more correctly.
17783 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17785         * check/Makefile.am:
17786         * check/pipelines/cleanup.c: (run_pipeline):
17787         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17788         (GST_START_TEST):
17789           enable cleanup again after fixing the leak
17790         * docs/README:
17791           some more info on docs
17793 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17795         * check/Makefile.am:
17796           re-enable tests now that leaks are plugged
17797         * check/gst/gst.c:
17798         * check/gst/gstbin.c:
17799         * check/gst/gstpipeline.c:
17800           add some more tests while fixing leaks
17801         * common/check.mak:
17802           make sure binaries are uptodate when valgrinding/gdbing
17803         * gst/gst.c:
17804         * gst/gstelementfactory.c:
17805           remove a ref too many, and add a FIXME for when we get
17806           round to disposing of classes
17807         * gst/gstplugin.c:
17808           fix the refcounting when loading a plugin from a file and
17809           the code pretends that the pointer is the same even though
17810           of course it can change
17811         * gst/gstpluginfeature.c:
17812           unref plugins marked cached (a bit confusing as a name)
17813           as the docs state should be done
17814           various doc additions to explain refcounting
17815         * gst/gstregistry.c:
17816         * gst/gstregistryxml.c:
17817           debugging
17819 2005-09-19  Wim Taymans  <wim@fluendo.com>
17821         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17822         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17823         (send_messages), (GST_START_TEST), (gstbus_suite):
17824         * check/gst/gstpipeline.c: (GST_START_TEST):
17825         * check/pipelines/cleanup.c: (run_pipeline):
17826         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17827         (GST_START_TEST):
17828         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17829         (gst_bus_source_check), (gst_bus_source_dispatch),
17830         (gst_bus_create_watch), (gst_bus_add_watch_full),
17831         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17832         * gst/gstbus.h:
17833         * tools/gst-launch.c: (event_loop):
17834         * tools/gst-md5sum.c: (event_loop):
17835         GstBusHandler -> GstBusFunc, return value has the same meaning as
17836         any other GSource (FALSE == remove source).
17837         _add_watch() and _add_watch_full() now take a MessageType mask to
17838         only handle specific types of messages.
17839         _poll() returns the GstMessage instead of the message type to avoid
17840         race conditions.
17841         _have_pending() takes a MessageType mask now too.
17842         Added testsuite for multiple bus watches.
17843         Fix testsuites and applications for new bus API.
17845 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17847         * check/Makefile.am:
17848           mark a bunch of the tests as to fix until we fix them
17850 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17852         * common/check.mak:
17853           use GST_PLUGIN settings for valgrind tests as well, so we're
17854           valgrinding the correct thing
17855         * gst/gst.c: (init_post):
17856           plug another leak
17858 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17860         * gst/gst.c: (init_post), (gst_deinit):
17861         * gst/gstelementfactory.c: (gst_element_factory_class_init),
17862         (gst_element_factory_finalize), (gst_element_factory_cleanup):
17863         * gst/gstindex.c: (gst_index_factory_class_init),
17864         (gst_index_factory_finalize):
17865         * gst/gstobject.c: (gst_object_dispose):
17866         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17867         (gst_plugin_load_file), (gst_plugin_desc_free):
17868         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17869         (gst_plugin_feature_finalize):
17870         * gst/gstregistry.c: (gst_registry_class_init),
17871         (gst_registry_init), (gst_registry_finalize),
17872         (gst_registry_get_default), (gst_registry_deinit):
17873         * gst/gstregistry.h:
17874         * gst/gstregistryxml.c: (load_feature), (load_plugin):
17875           various cleanups and memleak plugging.  make valgrind is happy now.
17877 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17879         * common/check.mak:
17880           add a check-valgrind target
17882 2005-09-18  David Schleef  <ds@schleef.org>
17884         * tools/gst-inspect.c: Revert the GOption code.
17886 2005-09-17  David Schleef  <ds@schleef.org>
17888         * check/Makefile.am: Fix environment variables.
17889         * check/gst/gstplugin.c: Fix for API changes.
17890         * tools/gst-inspect.c: Fix for API changes.
17891         * tools/gst-xmlinspect.c: Fix for API changes.
17892         * gst/gstelementfactory.c:
17893         * gst/gstplugin.c:
17894         * gst/gstplugin.h:
17895         * gst/gstpluginfeature.c:
17896         * gst/gstpluginfeature.h:
17897         * gst/gstregistry.c:
17898         * gst/gstregistry.h:
17899         * gst/gstregistryxml.c:
17900         * gst/gsttypefind.c:
17901         * gst/gsttypefindfactory.c:
17902         * gst/indexers/gstfileindex.c:
17903         * gst/indexers/gstmemindex.c:
17904         * gst/schedulers/Makefile.am:
17905           Change registry to keep track of both plugins and features,
17906           removing the feature tracking from plugins themselves.
17908 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17910         * check/Makefile.am:
17911         * tools/gst-register.1.in:
17912           remove gst-register
17914 2005-09-15  David Schleef  <ds@schleef.org>
17916         * check/gst/gstplugin.c:
17917         * gst/gstelementfactory.c:
17918         * gst/gstplugin.c:
17919         * gst/gstpluginfeature.c:
17920         * gst/gstregistry.c:
17921           Getting tired of debugging.  Disabled all the unreffing of
17922           plugins and features, which fixes the segfaults, but of
17923           course leaks like crazy.  At least playbin works.
17925 2005-09-15  David Schleef  <ds@schleef.org>
17927         * check/gst/gstplugin.c: (register_check_elements),
17928         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17929         More testing
17930         * gst/elements/gsttypefindelement.c: Fix refcounting.
17931         * gst/gsttypefind.c:
17932         * gst/gsttypefindfactory.c:
17933         * gst/gsttypefindfactory.h:
17935 2005-09-15  David Schleef  <ds@schleef.org>
17937         * gst/gstindex.c: get refcounting correct.
17938         * gst/gstregistry.c: Handle the case where a feature/plugin is
17939           not found.
17941 2005-09-15  David Schleef  <ds@schleef.org>
17943         * check/Makefile.am:
17944         * check/gst/gstplugin.c: Add test
17945         * gst/gstplugin.c: Fix problems noticed by testsuite
17946         * gst/gstplugin.h:
17947         * gst/gstregistry.c: 
17948         * gst/gstregistry.h:
17950 2005-09-15  David Schleef  <ds@schleef.org>
17952         * gst/gstplugin.c: Implement semi-decent recounting and locking
17953           in plugins and plugin features.
17954         * gst/gstplugin.h:
17955         * gst/gstpluginfeature.c:
17956         * gst/gstpluginfeature.h:
17957         * gst/gstregistry.c:
17959 2005-09-15  Michael Smith <msmith@fluendo.com>
17961         * gst/gstregistry.c: (gst_registry_get_feature_list):
17962           Implement this. Makes oggdemux work; decodebin still broken.
17964 2005-09-14  David Schleef  <ds@schleef.org>
17966         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17967           #316076)
17968         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17969         * gst/check/Makefile.am:
17970         * libs/gst/controller/Makefile.am:
17971         * libs/gst/dataprotocol/Makefile.am:
17973 2005-09-14  David Schleef  <ds@schleef.org>
17975         * configure.ac: Remove getbits library.  Nothing uses it, and
17976           it should be in something like liboil if someone did want
17977           to use it.
17978         * libs/gst/Makefile.am:
17979         * libs/gst/getbits/Makefile.am:
17980         * libs/gst/getbits/gbtest.c:
17981         * libs/gst/getbits/getbits.c:
17982         * libs/gst/getbits/getbits.h:
17983         * libs/gst/getbits/gstgetbits_generic.c:
17984         * libs/gst/getbits/gstgetbits_i386.s:
17985         * libs/gst/getbits/gstgetbits_inl.h:
17987 2005-09-14  David Schleef  <ds@schleef.org>
17989         * gst/Makefile.am: Dist glib-compat.h
17991 2005-09-14  David Schleef  <ds@schleef.org>
17993         * configure.ac: Remove gst/registries, since it's no longer used.
17994         * gst/registries/Makefile.am:
17995         * gst/registries/gstlibxmlregistry.c:
17996         * gst/registries/gstlibxmlregistry.h:
17997         * gst/registries/gstxmlregistry.c:
17998         * gst/registries/gstxmlregistry.h:
17999         * gst/registries/registrytest.c:
18001 2005-09-14  David Schleef  <ds@schleef.org>
18003         * gst/glib-compat.h:
18004         * gst/gstregistryxml.c:
18005           Convergence is near.  Seriously.
18007 2005-09-14  David Schleef  <ds@schleef.org>
18009         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18010         * gst/glib-compat.h:
18011           Attempt #4 to appease the buildbots.
18013 2005-09-14  David Schleef  <ds@schleef.org>
18015         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18016           Attempt #3.
18018 2005-09-14  David Schleef  <ds@schleef.org>
18020         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18021         Attempt #2.
18023 2005-09-14  David Schleef  <ds@schleef.org>
18025         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18026           the new functions.
18028 2005-09-14  David Schleef  <ds@schleef.org>
18030         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18031         * gst/glib-compat.h: Add some functions that are in newer versions
18032           of glib than we care to require.
18033         * gst/gstregistryxml.c: Use them.
18035 2005-09-14  David Schleef  <ds@schleef.org>
18037         * po/POTFILES.in: remove gst-register.c
18039 2005-09-14  David Schleef  <ds@schleef.org>
18041         * docs/gst/gstreamer-docs.sgml:
18042         * docs/gst/gstreamer-sections.txt:
18043         * docs/gst/gstreamer.types:
18044         * docs/gst/tmpl/gstelement.sgml:
18045         * docs/gst/tmpl/gstplugin.sgml:
18046         * docs/gst/tmpl/gstpluginfeature.sgml:
18047           Documentation updates for registry changes.
18049 2005-09-14  David Schleef  <ds@schleef.org>
18051         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18052           because we don't require glib-2.8.
18054 2005-09-14  David Schleef  <ds@schleef.org>
18056         * gst/gstregistryxml.c: Added.  Essentially moved out of the
18057           registries directory.
18059 2005-09-14  David Schleef  <ds@schleef.org>
18061         * check/Makefile.am:
18062         * check/generic/states.c:
18063         * gst/Makefile.am:
18064         * gst/gst.c:
18065         * gst/gst.h:
18066         * gst/gst_private.h:
18067         * gst/gstelementfactory.c:
18068         * gst/gstindex.c:
18069         * gst/gstinfo.c:
18070         * gst/gstplugin.c:
18071         * gst/gstplugin.h:
18072         * gst/gstpluginfeature.c:
18073         * gst/gstpluginfeature.h:
18074         * gst/gstregistry.c:
18075         * gst/gstregistry.h:
18076         * gst/gstregistrypool.c: remove
18077         * gst/gstregistrypool.h: remove
18078         * gst/gsttypefind.c:
18079         * gst/gsttypefindfactory.c:
18080         * gst/gsturi.c:
18081         * tools/Makefile.am:
18082         * tools/gst-compprep.c:
18083         * tools/gst-inspect.c:
18084         * tools/gst-register.c: remove
18085         * tools/gst-xmlinspect.c:
18086           Registry rewrite.  Changes registry from being a file created
18087           by a tool into a simple cache file created automatically by 
18088           libgstreamer.  Removed gst-register (because it's no longer
18089           needed).  Remove registry pools, because we only have one
18090           registry implementation (XML).  Fix up other subsystems as
18091           necessary.
18093 2005-09-13  Michael Smith <msmith@fluendo.com>
18095         * gst/gstconfig.h.in:
18096           Don't Use windows linking attributes for MinGW. Fixes #316157
18098 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18100         * gst/gstutils.c: (set_state_async_thread_func),
18101         (gst_element_set_state_async):
18102           Apparently people think it's better if this function doesn't
18103           try to set the state to whatever state was asked for on the first
18104           call to this function for any object.  Seriously.
18106 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18108         * check/gst/gstpipeline.c: (GST_START_TEST):
18109         * docs/gst/gstreamer-sections.txt:
18110         * gst/gstutils.c: (set_state_async_thread_func),
18111         (gst_element_set_state_async):
18112         * gst/gstutils.h:
18113           add a "gst_element_set_state_async" method that
18114           sets the state and starts a thread to make sure the state
18115           change completes as best as it can
18117 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18119         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18120           codify design+behaviour in testsuite after discussion
18122 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18124         * docs/gst/tmpl/gstelement.sgml:
18125         * docs/manual/appendix-quotes.xml:
18126           add a quote
18127         * gst/gstelement.c: (gst_element_set_state):
18128           add some debug
18130 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18132         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18133         (gst_base_transform_prepare_output_buf),
18134         (gst_base_transform_handle_buffer):
18135         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18136         (gst_capsfilter_prepare_buf):
18137           Remove the requirement for sub-classes to call the parent
18138           implementation of prepare_output_buffer with a wrapper function.
18139           
18140         * gst/gsttaglist.h:
18141         * gst/gsttagsetter.h:
18142           Fix #define wrapper
18144 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18146         * docs/gst/gstreamer-sections.txt:
18147           more doc cleanups
18149 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18151         * docs/gst/gstreamer-sections.txt:
18152         * docs/gst/tmpl/gstelement.sgml:
18153         * docs/gst/tmpl/gstplugin.sgml:
18154         * gst/gstminiobject.c:
18155         * gst/gstvalue.h:
18156           docs now stop throwing warnings
18158 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18160         * docs/gst/gstreamer-sections.txt:
18161         * docs/gst/gstreamer.types:
18162         * docs/gst/tmpl/gstpad.sgml:
18163         * docs/gst/tmpl/gsttypes.sgml:
18164         * gst/base/gstadapter.h:
18165         * gst/base/gstbasesink.h:
18166         * gst/base/gstbasesrc.h:
18167         * gst/gstbin.h:
18168         * gst/gstbuffer.h:
18169         * gst/gstbus.h:
18170         * gst/gstcaps.h:
18171         * gst/gstclock.h:
18172         * gst/gstelement.h:
18173         * gst/gstevent.h:
18174         * gst/gstmessage.h:
18175         * gst/gstpad.h:
18176         * gst/gststructure.c:
18177         * gst/registries/gstlibxmlregistry.h:
18178           various documentation fixes
18180 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18182         * docs/gst/gstreamer-sections.txt:
18183         * docs/gst/tmpl/gstvalue.sgml:
18184           rearrange gstvalue section
18185         * gst/gstutils.c: (gst_element_state_get_name):
18186           NONE -> VOID
18187         * gst/gstvalue.c: (_gst_value_initialize):
18188         * gst/gstvalue.h:
18189           doc updates
18191 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18193         * check/gst-libs/controller.c:
18194           Header include fix.
18195         * gst/base/gstbasetransform.c:
18196         (gst_base_transform_default_prepare_buf),
18197         (gst_base_transform_handle_buffer):
18198         * gst/base/gstbasetransform.h:
18199           Some more basetransform changes and fixes to enable sub-classes
18200           that modify buffer metadata only.
18201         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18202         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18203         (gst_capsfilter_prepare_buf):
18204           If the output pad has fixed allowed caps and input buffers 
18205           don't have any, set the fixed caps on outgoing buffers.
18207 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18208         * check/elements/identity.c: (GST_START_TEST):
18209           Make the error a little clearer when the test fails because
18210           identity made a copy of the buffer.
18211         * docs/gst/gstreamer-sections.txt:
18212           New symbols in gstbasetransform.h
18213         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18214         (gst_base_transform_init), (gst_base_transform_transform_size),
18215         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18216         (gst_base_transform_default_prepare_buf),
18217         (gst_base_transform_get_unit_size),
18218         (gst_base_transform_buffer_alloc),
18219         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18220         (gst_base_transform_change_state),
18221         (gst_base_transform_set_passthrough),
18222         (gst_base_transform_set_in_place),
18223         (gst_base_transform_is_in_place):
18224         * gst/base/gstbasetransform.h:
18225           Change BaseTransform to separate in_place operate from same_caps
18226           output. in_place implies that the element can perform the transform
18227           on incoming buffers in-place, even if the caps on the output are
18228           different.
18229           Sub-class elements can now implement special buffer allocation
18230           methods for outgoing buffers if they wish to.
18231           Big documentation addition.
18232         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18233         * gst/elements/gstelements.c:
18234           Changes for basetransform modifications.
18235         * gst/elements/Makefile.am:
18236         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18237           Compile fix. Extra debug output.
18239 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18241         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18242         (gst_pad_suite):
18243           add tests for valid pad naming
18244         * gst/check/gstcheck.c: (gst_check_log_message_func),
18245         (gst_check_log_critical_func):
18246           add ASSERT_WARNING
18247           remove printing of code, it is fragile when the code contains
18248           % and the line number is enough info
18249         * gst/check/gstcheck.h:
18250         * gst/gstpad.c: (gst_pad_template_new):
18251           fix memleaks
18253 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18255         * configure.ac:
18256           say what CHECK flags we use
18257         * docs/libs/gstreamer-libs.types:
18258         * libs/gst/controller/Makefile.am:
18259         * libs/gst/controller/gst-controller.c:
18260         * libs/gst/controller/gst-controller.h:
18261         * libs/gst/controller/gst-helper.c:
18262         * libs/gst/controller/gst-interpolation.c:
18263         * libs/gst/controller/gstcontroller.c:
18264         * libs/gst/controller/gsthelper.c:
18265         * libs/gst/controller/gstinterpolation.c:
18266         * tools/gst-inspect.c: (print_plugin_info):
18267           we don't use dashes in header names
18269 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18271         * check/Makefile.am:
18272         * check/gst/.cvsignore:
18273         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18274         (gst_pipeline_suite), (main):
18275           adding a test for pipelines and state changes
18276         * gst/gstutils.c: (get_state_func):
18277           add some debugging
18278         * gstreamer.spec.in:
18279           fix up spec file
18281 2005-09-08  Michael Smith <msmith@fluendo.com>
18283         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18284         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18285         (gst_file_src_is_seekable), (gst_file_src_get_size),
18286         (gst_file_src_start):
18287         * gst/elements/gstfilesrc.h:
18288           Various fixes for unseekable, unmmapable, and non-normal files, so
18289           that fallback to read() rather than mmap() works.
18290         * gst/gstevent.c: (gst_event_new_newsegment):
18291           Allow newsegment events with segment_start == segment_end, as will
18292           correctly happen if you use filesrc on a zero-size file, for
18293           example.
18295 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18297         * gst/gstplugin.c: (gst_plugin_load_file):
18298           Call g_module_close when we don't load the module
18300         * gst/registries/gstlibxmlregistry.c:
18301         (gst_xml_registry_get_property):
18302           Port leak fix from 0.8
18304 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18306         * docs/gst/gstreamer-docs.sgml:
18307         * docs/gst/tmpl/.cvsignore:
18308         * docs/gst/tmpl/gsttrace.sgml:
18309         * docs/gst/tmpl/gsttrashstack.sgml:
18310         * gst/Makefile.am:
18311         * gst/gst.h:
18312         * gst/gstelement.h:
18313         * gst/gstevent.h:
18314         * gst/gstmessage.c:
18315         * gst/gstmessage.h:
18316         * gst/gsttag.c:
18317         * gst/gsttag.h:
18318         * gst/gsttaginterface.c:
18319         * gst/gsttaginterface.h:
18320         * gst/gsttaglist.c:
18321         * gst/gsttaglist.h:
18322         * gst/gsttagsetter.c:
18323         * gst/gsttagsetter.h:
18324         * gst/gsttrace.c:
18325         * gst/gsttrace.h:
18326         * gst/gsttrashstack.c:
18327           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18328           inlined docs for gsttrace, gsttrashstack
18330 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18332         * gst/Makefile.am:
18333         * gst/elements/gstbufferstore.h:
18334         * gst/elements/gsttypefindelement.c:
18335         * gst/elements/gsttypefindelement.h:
18336         * gst/gst.h:
18337         * gst/gsttypefind.c:
18338         * gst/gsttypefind.h:
18339         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18340         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18341         (gst_type_find_factory_dispose),
18342         (gst_type_find_factory_unload_thyself),
18343         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18344         (gst_type_find_factory_get_caps),
18345         (gst_type_find_factory_get_extensions),
18346         (gst_type_find_factory_call_function):
18347         * gst/gsttypefindfactory.h:
18348         * gst/registries/gstlibxmlregistry.c:
18349         * gst/registries/gstxmlregistry.c:
18350           splitted gsttypefind into gsttypefind, gsttypefindfactory
18352 2005-09-07  Andy Wingo  <wingo@pobox.com>
18354         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18355         condition whereby the pad's task function is entered before the
18356         pad_mode variable was set.
18358 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18360         * gst/gstpad.c: (gst_pad_alloc_buffer):
18361           Catch misbehaving pad_alloc functions that don't
18362           set up caps and do it for them.
18364 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18366         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18367           test for pipe!=NULL
18368         * docs/gst/tmpl/.cvsignore:
18369         * docs/gst/tmpl/gstmemchunk.sgml:
18370         * docs/gst/tmpl/gstparse.sgml:
18371         * docs/gst/tmpl/gsttaglist.sgml:
18372         * docs/gst/tmpl/gsttagsetter.sgml:
18373         * docs/gst/tmpl/gsttypefind.sgml:
18374         * docs/gst/tmpl/gsttypefindfactory.sgml:
18375         * gst/gstmemchunk.c:
18376         * gst/gstparse.c:
18377         * gst/gsttag.c:
18378         * gst/gsttaginterface.c:
18379         * gst/gsttypefind.c:
18380         * gst/gsttypefind.h:
18381           inlined more docs
18383 === release 0.9.2 ===
18385 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18387         * NEWS:
18388         * RELEASE:
18389         * configure.ac:
18390           releasing 0.9.2, "South"
18392 2005-09-05  Andy Wingo  <wingo@pobox.com>
18394         * gst/registries/gstxmlregistry.h:
18395         * gst/registries/gstxmlregistry.c: Um... resurrect...
18396         
18397         * gst/registries/gstxmlregistry.h:
18398         * gst/registries/gstxmlregistry.c: and update to newer API.
18399         Incidentally they should be a bit faster now that they don't have
18400         to parse the caps.
18401         
18402 2005-09-05  Andy Wingo  <wingo@pobox.com>
18404         * gst/registries/gstxmlregistry.h:
18405         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18406         replaced by the libxml registry a while back
18408 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18410         * docs/gst/tmpl/gstplugin.sgml:
18411         * gst/elements/gstelements.c:
18412         * gst/gst.c:
18413         * gst/gstplugin.c: (gst_plugin_register_func),
18414         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18415         (gst_plugin_get_source):
18416         * gst/gstplugin.h:
18417         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18418         (gst_xml_registry_save_plugin):
18419         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18420         (gst_xml_registry_save_plugin):
18421         * tools/gst-inspect.c: (print_plugin_info):
18422           add a "source" plugin description field, to represent the source
18423           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18424           will set it to PACKAGE, which is automake's idea of the name of
18425           the source project.
18427 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18429         * Makefile.am:
18430         * autogen.sh:
18431         * configure.ac:
18432         * docs/Makefile.am:
18433         * docs/faq/Makefile.am:
18434         * docs/gst/tmpl/gstelement.sgml:
18435         * docs/gst/tmpl/gsttypes.sgml:
18436         * docs/htmlinstall.mak:
18437         * docs/manual/Makefile.am:
18438         * docs/pwg/Makefile.am:
18439           reorganize doc build a little
18440           split out docbook and gtk-doc stuff
18441           have two separate --enable's and enable them through autogen
18442           but disable by default in configure (to be similar to other
18443           projects)
18444         * gstreamer.spec.in:
18445           clean up docs install
18446         * po/af.po:
18447         * po/az.po:
18448         * po/ca.po:
18449         * po/cs.po:
18450         * po/de.po:
18451         * po/en_GB.po:
18452         * po/fr.po:
18453         * po/it.po:
18454         * po/nb.po:
18455         * po/nl.po:
18456         * po/ru.po:
18457         * po/sq.po:
18458         * po/sr.po:
18459         * po/sv.po:
18460         * po/tr.po:
18461         * po/uk.po:
18462         * po/vi.po:
18463           translation updates
18465 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18467         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18468           Add comment.
18469           
18470         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18471         (gst_fake_sink_change_state):
18472           Make state change function thread-safe.
18473           
18474         * gst/gstpad.c: (gst_pad_alloc_buffer):
18475           Set offset on generic buffer allocated by fallback.
18477 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18479         * docs/gst/gstreamer-sections.txt:
18480         * docs/gst/tmpl/gstelement.sgml:
18481         * gst/gstpad.c:
18482         * libs/gst/controller/gst-controller.c:
18483         (gst_controlled_property_set_interpolation_mode),
18484         (gst_controlled_property_new),
18485         (gst_controller_find_controlled_property):
18486          run the wingo-magic script against the docs
18488 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18490         * docs/gst/gstreamer-docs.sgml:
18491         * docs/gst/gstreamer-sections.txt:
18492         * docs/gst/tmpl/.cvsignore:
18493         * docs/gst/tmpl/gstelementdetails.sgml:
18494         * docs/gst/tmpl/gstelementfactory.sgml:
18495         * gst/gst.c:
18496         * gst/gstbus.c:
18497         * gst/gstelementfactory.c:
18498         * gst/gstelementfactory.h:
18499           merged elementdetails docs into elementfactory docs
18500           inlined both
18502 2005-09-02  Andy Wingo  <wingo@pobox.com>
18504         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18505         consider this enum an enum and not a flags.
18507 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18509         * docs/gst/gstreamer-docs.sgml:
18510         * docs/gst/tmpl/.cvsignore:
18511         * docs/gst/tmpl/gstghostpad.sgml:
18512         * docs/gst/tmpl/gstiterator.sgml:
18513         * docs/gst/tmpl/gstmacros.sgml:
18514         * docs/gst/tmpl/gstrealpad.sgml:
18515         * docs/gst/tmpl/gstregistry.sgml:
18516         * docs/gst/tmpl/gstregistrypool.sgml:
18517         * docs/gst/tmpl/gststructure.sgml:
18518         * docs/gst/tmpl/gstsystemclock.sgml:
18519         * docs/gst/tmpl/gsttrace.sgml:
18520         * gst/gstghostpad.c:
18521         * gst/gstmacros.h:
18522         * gst/gstmemchunk.c:
18523         * gst/gstmemchunk.h:
18524         * gst/gstqueue.c:
18525         * gst/gstregistry.c:
18526         * gst/gstregistrypool.c:
18527         * gst/gststructure.c:
18528         * gst/gstsystemclock.c:
18529           more docs inlined
18531 2005-09-02  Andy Wingo  <wingo@pobox.com>
18533         * gst/gstelement.h (GstState): Renamed from GstElementState,
18534         changed to be a normal enum instead of flags.
18535         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18536         munged to be GST_STATE_CHANGE_*.
18537         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18538         work with the new state representation.
18539         (GstStateChange): New enumeration of possible state transitions.
18540         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18541         (GstElementClass::change_state): Pass the GstStateChange along as
18542         an argument. Helps language bindings, so they don't have to use
18543         tricky lock-needing macros like GST_STATE_CHANGE ().
18545         * scripts/update-states (file): New script. Run it on a file to
18546         update it for state naming and API changes. Updates files in
18547         place.
18549         * All files updated for the new API.
18551 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18553         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18554         * gst/gstutils.c: (gst_util_set_value_from_string),
18555         (gst_util_set_object_arg):
18556           fix a bunch of unchecked return values
18557         * tools/gst-complete.c: (main):
18558         * gstreamer.spec.in:
18559           clean up a little
18561 2005-09-01  Wim Taymans  <wim@fluendo.com>
18563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18564         (gst_base_sink_event), (gst_base_sink_do_sync),
18565         (gst_base_sink_handle_event):
18566         * gst/base/gstbasesink.h:
18567         Handle newsegments more correctly.
18569         * gst/gstbus.c:
18570         Fix docs.
18572         * gst/gstevent.c: (gst_event_new_newsegment):
18573         A newsegment cannot have a start_time of -1
18575 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18577         * win32/gstenumtypes.c:
18578         * win32/gstenumtypes.h:
18579           Update
18581 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18583         * libs/gst/controller/gst-controller.c:
18584         (gst_controlled_property_set_interpolation_mode),
18585         (gst_controlled_property_new):
18586          fixed boolean again
18588 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18590         * docs/faq/gst-uninstalled:
18591           add -good
18592         * gst/gstevent.c:
18593         * gst/gstevent.h:
18594           remove wrong docs
18595         * gst/gstutils.c: (gst_element_link_filtered):
18596         * gst/gstutils.h:
18597           add gst_element_link_filtered
18599 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18601         * docs/gst/gstreamer-docs.sgml:
18602         * docs/gst/gstreamer-sections.txt:
18603         * docs/gst/tmpl/.cvsignore:
18604         * docs/gst/tmpl/gsterror.sgml:
18605         * docs/gst/tmpl/gstfilter.sgml:
18606         * docs/gst/tmpl/gsturihandler.sgml:
18607         * docs/gst/tmpl/gsturitype.sgml:
18608         * docs/gst/tmpl/gstutils.sgml:
18609         * docs/gst/tmpl/gstxml.sgml:
18610         * gst/gsterror.c:
18611         * gst/gsterror.h:
18612         * gst/gstfilter.c:
18613         * gst/gsturi.c:
18614         * gst/gsturitype.c:
18615         * gst/gstutils.c:
18616         * gst/gstxml.c:
18617           inlined more docs, fixed double id-ref
18619 2005-08-31  Wim Taymans  <wim@fluendo.com>
18621         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18622         (gst_base_transform_handle_buffer):
18623         Passthrough elements don't need the caps as they don't care.
18625 2005-08-31  Wim Taymans  <wim@fluendo.com>
18627         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18628         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18629         Don't leak refcounts on buffers.
18631 2005-08-31  Wim Taymans  <wim@fluendo.com>
18633         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18634         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18635         (gst_base_transform_chain), (gst_base_transform_change_state):
18636         * gst/base/gstbasetransform.h:
18637         Handle the case where we are not negotiated more gracefully.
18639 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18641         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18642         (gst_file_src_map_region):
18643           Set READONLY flag on mmap'ed buffers, otherwise
18644           gst_buffer_make_writable() won't work properly (#314708).
18646 2005-08-31  Wim Taymans  <wim@fluendo.com>
18648         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18649         passthrough elements can even do inplace on non writable
18650         buffers (as they don't touch them).
18652 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18654         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18655         (gst_test_mono_source_set_property),
18656         (gst_test_mono_source_class_init), (GST_START_TEST),
18657         (gst_controller_suite):
18658           more tests (hehe I have the most)
18659         * gst/gstbus.c:
18660           describe popping messages whenusing mulltiple sources
18661         * libs/gst/controller/gst-controller.c:
18662         (gst_controlled_property_set_interpolation_mode),
18663         (gst_controlled_property_new):
18664         * libs/gst/controller/gst-controller.h:
18665         * libs/gst/controller/gst-interpolation.c:
18666           implement boolean properties
18668 2005-08-31  Wim Taymans  <wim@fluendo.com>
18670         * gst/gstminiobject.c: (gst_mini_object_ref):
18671         Cannot assert that the refcount has to be positive
18672         since a disposed object can be resurrected.
18674 2005-08-31  Wim Taymans  <wim@fluendo.com>
18676         * gst/gstpad.c: (gst_pad_init):
18677         Revert change, need to first fix badly behaving 
18678         apps.
18680 2005-08-30  Wim Taymans  <wim@fluendo.com>
18682         * check/elements/fakesrc.c: (setup_fakesrc):
18683         * check/elements/identity.c: (setup_identity):
18684         Activate pads before using them.
18686 2005-08-30  Wim Taymans  <wim@fluendo.com>
18688         * gst/base/gstadapter.c: (gst_adapter_flush):
18689         Flushing out 0 bytes is ok for this function.
18691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18692         no newsegment gives a warning and sets the start/stop to 
18693         invalid.
18695         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18696         (gst_base_transform_set_passthrough):
18697         Some debug info.
18699         * gst/gstminiobject.c: (gst_mini_object_ref):
18700         Check refcount here too.
18702         * gst/gstpad.c: (gst_pad_init):
18703         Pads are initially flushing and refusing data.
18705         * gst/gstutils.c: (gst_element_link_pads_filtered):
18706         When adding a capsfilter element make sure it has the
18707         same state as the parent bin.
18709 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18711         * docs/gst/tmpl/.cvsignore:
18712         * docs/gst/tmpl/gstformat.sgml:
18713         * docs/gst/tmpl/gstversion.sgml:
18714         * gst/gstbus.h:
18715         * gst/gstformat.c:
18716         * gst/gstformat.h:
18717         * gst/gstversion.h.in:
18718           more docs and two more inlined
18720 2005-08-30  Wim Taymans  <wim@fluendo.com>
18722         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18723         Don't sync to clock.
18725 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18727         * docs/gst/gstreamer-sections.txt:
18728           ultral33t func10ns deserve to appear in the docs actually
18729         * docs/gst/tmpl/.cvsignore:
18730         * docs/gst/tmpl/gstcompat.sgml:
18731         * docs/gst/tmpl/gstconfig.sgml:
18732         * gst/check/gstcheck.c:
18733         * gst/gstcompat.h:
18734         * gst/gstconfig.h.in:
18735           inlined more docs
18737 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18739         * docs/gst/tmpl/.cvsignore:
18740         * docs/gst/tmpl/gstquery.sgml:
18741         * docs/gst/tmpl/gstutils.sgml:
18742         * gst/gstquery.c:
18743         * gst/gstquery.h:
18744           inlined and extended docs
18746 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18748         * check/gst-libs/controller.c: (GST_START_TEST),
18749         (gst_controller_suite):
18750           more tests
18751         * docs/gst/tmpl/gstutils.sgml:
18752         * docs/libs/gstreamer-libs-sections.txt:
18753         * docs/libs/tmpl/gstdataprotocol.sgml:
18754           include path fixes
18755         * examples/controller/audio-example.c: (main):
18756           controller example works now
18757         * gst/gstclock.h:
18758           doc fixes
18759         * tools/gst-inspect.c: (print_element_properties_info):
18760           show param spec flags
18762 2005-08-29  Andy Wingo  <wingo@pobox.com>
18764         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18766 2005-08-28  Andy Wingo  <wingo@pobox.com>
18768         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18769         as having two arguments instead of just one. Allows superclasses
18770         to access information on subclasses -- see the terrible for() loop
18771         in gtype.c:g_type_create_instance for the reason why. All callers
18772         changed.
18774 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18776         * docs/design/part-messages.txt:
18777           update info
18778         * docs/gst/tmpl/.cvsignore:
18779         * docs/gst/tmpl/gstcaps.sgml:
18780         * docs/gst/tmpl/gstclock.sgml:
18781         * gst/gstbus.c:
18782         * gst/gstcaps.c:
18783         * gst/gstcaps.h:
18784         * gst/gstclock.c:
18785         * gst/gstclock.h:
18786         * gst/gstmessage.c:
18787           added descriptions for bus and message
18788           inline caps and clock docs
18790 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18792         * gst/gstmessage.c:
18793         * gst/gstmessage.h:
18794           doc fixes
18796 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18798         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18799           fix div-by-zero
18801 2005-08-26  Andy Wingo  <wingo@pobox.com>
18803         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18804         element_set_state's return val.
18805         (test_2_elements): Add test that's been disabled for months.
18807         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18808         can-activate-pull properties.
18810         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18811         can-activate-pull properties. Implement is_seekable so fakesrc can
18812         operate in pull mode.
18814         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18815         properties.
18816         (gst_base_sink_activate, gst_base_sink_activate_pull)
18817         (gst_base_sink_activate_push): Make activation mode choosing work.
18818         Cleanups.
18819         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18820         is right. Make pull mode work. Post an eos before pausing in pull
18821         mode.
18822         (gst_base_sink_change_state): Pay attention to the core's
18823         change_state() return val.
18824         
18825         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18826         has-getrange properties. Cleanups.
18827         
18828         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18829         has_getrange and replace with can_activate_pull and
18830         can_activate_push.
18832         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18833         locking comments. Remove has_loop, has_chain and replace with
18834         can_activate_pull and can_activate_push.
18836 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
18838         * configure.ac:
18839         * examples/Makefile.am:
18840         * examples/metadata/Makefile.am:
18841         * examples/metadata/read-metadata.c: (message_loop),
18842         (have_pad_handler), (make_pipeline), (print_tag), (main):
18843           Add metadata reading example that loops over a list of filenames,
18844           dumping any tags found.
18846         * gst/gstbus.c: (gst_bus_dispose):
18847         * gst/gstelement.c: (gst_element_dispose):
18848           Release a few potentially-held references in dispose.
18850 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18852         * docs/gst/tmpl/gstminiobject.sgml:
18853           do *not* add tmpl/*.sgml files to CVS!
18855 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18857         * libs/gst/bytestream/.cvsignore:
18858         * libs/gst/bytestream/Makefile.am:
18859         * libs/gst/bytestream/adapter.c:
18860         * libs/gst/bytestream/adapter.h:
18861         * libs/gst/bytestream/bytestream.c:
18862         * libs/gst/bytestream/bytestream.h:
18863         * libs/gst/bytestream/filepad.c:
18864         * libs/gst/bytestream/filepad.h:
18865           removing obsolete files
18867 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18869         * docs/gst/gstreamer-docs.sgml:
18870         * docs/libs/gstreamer-libs-docs.sgml:
18871           disabed additional index entries again, as this makes docs-gen just
18872           slow and they aren't useful yet
18873         * docs/libs/gstreamer-libs-sections.txt:
18874           little -section.txt cleanup for libs
18876 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18878         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18879         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18880           fix up some debugging
18881         (gst_base_transform_get_unit_size),
18882         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18883         (gst_base_transform_handle_buffer):
18884         * gst/base/gstbasetransform.h:
18885           handle and store timed NEWSEGMENT events so that subclasses that
18886           calculate time by counting samples have a segment_start time they
18887           need to add to their timestamps - see audioresample
18889 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18891         * gst/gstbin.h:
18892           removed ';' from the end of macro defs
18893         * docs/gst/gstreamer-docs.sgml:
18894         * docs/gst/gstreamer-sections.txt:
18895         * docs/gst/tmpl/.cvsignore:
18896         * gst/gstbus.h:
18897         * gst/gstelement.c: (gst_element_class_init),
18898         (gst_element_set_state), (activate_pads),
18899         (gst_element_save_thyself):
18900         * gst/gstevent.c: (gst_event_new_newsegment):
18901         * gst/gstevent.h:
18902         * gst/gstiterator.c:
18903         * gst/gstiterator.h:
18904         * gst/gstpad.c:
18905         * gst/gstprobe.h:
18906         * gst/gstutils.c: (gst_pad_query_convert):
18907         * gst/gstutils.h:
18908           fixed parameter name mismatches between source, header and docs
18909           added some more docs, resolved the last batch of unused elements in
18910           docs (now someone needs to doc them)
18912 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18914         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18915         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18916           don't walk through the plugins backwards.  Where is all this
18917           reversed logic coming from ?
18919 2005-08-25  Wim Taymans  <wim@fluendo.com>
18921         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18922         (gst_base_transform_transform_size),
18923         (gst_base_transform_configure_caps),
18924         (gst_base_transform_get_unit_size),
18925         (gst_base_transform_buffer_alloc),
18926         (gst_base_transform_change_state):
18927         * gst/base/gstbasetransform.h:
18928         Cache caps unit_size.
18929         Make sure we cannot negotiate up and downstream at the
18930         same time.
18932 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18934         * gst/gst.c: (init_pre), (init_post):
18935           register the installed plugin path after the env var
18936         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18937         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18938           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18939           directories, so the tests can prefer uninstalled over installed
18941 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18943         * gst/base/gstbasetransform.h:
18944           comment
18945         * gst/gstpad.c:
18946           add to docs
18948 2005-08-25  Wim Taymans  <wim@fluendo.com>
18950         * gst/gstbin.c: (bin_bus_handler):
18951         Be a bit more conservative about the posted message.
18952         
18953         * gst/gstbus.c: (gst_bus_post):
18954         Some cleanups, warn wrong return values.
18956 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
18958         * check/gst/gstbin.c: (GST_START_TEST):
18959         * gst/gstbin.c: (bin_bus_handler):
18960         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18961         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18962         (gst_message_new_warning), (gst_message_new_tag),
18963         (gst_message_new_state_changed), (gst_message_new_segment_start),
18964         (gst_message_new_segment_done), (gst_message_new_custom):
18965         * gst/gstmessage.h:
18966         * tools/gst-launch.c: (event_loop):
18967         * tools/gst-md5sum.c: (event_loop):
18968           Revert unpopular change for GST_MESSAGE_SRC to GObject.
18970 2005-08-25  Wim Taymans  <wim@fluendo.com>
18972         * check/generic/states.c: (GST_START_TEST):
18973         Cleanup can be done at the end.
18975         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18976         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18977         (gst_task_get_state), (gst_task_start), (gst_task_pause):
18978         Oh boy.. Thanks for finding this, Thomas. 
18980 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18982         * docs/gst/gstreamer.types:
18983           added missing types
18985 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18987         * docs/gst/gstreamer-docs.sgml:
18988         * docs/gst/gstreamer-sections.txt:
18989         * docs/gst/tmpl/.cvsignore:
18990         * gst/gstbin.c:
18991         * gst/gstiterator.c:
18992         * gst/gstutils.c:
18993         * gst/registries/gstxmlregistry.h:
18994           added missing classes and symbols (123 more to go)
18995           removed removed symbols from section file
18996           fixed many doc-comments
18998 2005-08-24  Wim Taymans  <wim@fluendo.com>
19000         * check/generic/states.c: (GST_START_TEST):
19001         Make sure all tasks are stopped.
19003         * check/gst/gstbin.c: (GST_START_TEST):
19004         Unref after usage for proper valgrinding.
19006         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19007         Really wait for the task to stop before destroying the
19008         mutex.
19010         * gst/gstqueue.c: (gst_queue_sink_activate_push),
19011         (gst_queue_src_activate_push):
19012         Small cleanups. Don't stop the task when we did not start
19013         it.
19015         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19016         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19017         (gst_task_get_state), (gst_task_start), (gst_task_pause),
19018         (gst_task_join):
19019         * gst/gsttask.h:
19020         Protect the stream lock with the object lock.
19021         Disallow setting the stream lock when running.
19022         Add cleanup_all to wait for the threadpool to finish.
19023         Remove code to autoallocate a mutex if none was provided.
19024         Add _join() to wait for a task to stop.
19025         Protect the thread pool with a global lock.
19027 2005-08-24  Wim Taymans  <wim@fluendo.com>
19029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19030         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19031         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19032         * gst/base/gstbasesink.h:
19033         Handle newsegment events correctly.
19034         Drop buffers out of the segment range.
19036 2005-08-22  Andy Wingo  <wingo@pobox.com>
19038         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19039         macro, implements an interface and gstimplementsinterface for a
19040         new type.
19042 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19044         * check/Makefile.am:
19045         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19046           add a test that does a bunch of state changes on elements
19047           needs some fixing for valgrind
19048         * check/states/sinks.c: (gst_object_suite):
19049           whitespace
19050         * gst/gstcaps.h:
19051           add prototype for gst_caps_is_equal_fixed
19052         * gst/gstplugin.c:
19053         * gst/gstregistrypool.c:
19054           doc fixes
19056 2005-08-24  Andy Wingo  <wingo@pobox.com>
19058         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19059         convert a negative value. Doesn't make much sense. Mostly this is
19060         here to force callers to ensure -1 maps to -1.
19062 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19064         * docs/pwg/advanced-types.xml:
19065           Well done to Michael for catching my deliberate introduction
19066           of this spelling mistake. 
19067         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19068         * gst/gstelement.h:
19069           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19070           unlink pads before removing the element from the bin.
19072 2005-08-24  Andy Wingo  <wingo@pobox.com>
19074         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19075         the same thing as GST_DEBUG=*:4.
19076         (parse_debug_level, parse_debug_category): New helper parsers.
19078 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19080         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19081         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19082         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19083         (gst_base_transform_buffer_alloc),
19084         (gst_base_transform_handle_buffer):
19085           use gboolean return values and pointers to size so we can use the
19086           full GST_BUFFER_SIZE range (guint) for buffer sizes
19087           use GstPadDirection for transform_caps
19088         * gst/base/gstbasetransform.h:
19089           rename get_size to get_unit_size since that's what it is
19090         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19091           use GstPadDirection for transform_caps
19092         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19093         * gst/gstutils.h:
19094           cleanup and debugging
19096 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19098         * gst/gstelement.c: (gst_element_class_init),
19099         (gst_element_set_state), (activate_pads),
19100         (gst_element_save_thyself):
19101         * tools/gst-compprep.c: (main):
19102         * tools/gst-inspect.c: (print_element_properties_info):
19103         * tools/gst-xmlinspect.c: (print_element_properties):
19104           Fixed long standing mem-leak
19106 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19108         * check/gst/gstbin.c: (GST_START_TEST):
19109         * gst/gstbin.c: (bin_bus_handler):
19110         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19111         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19112         (gst_message_new_warning), (gst_message_new_tag),
19113         (gst_message_new_state_changed), (gst_message_new_segment_start),
19114         (gst_message_new_segment_done), (gst_message_new_custom):
19115         * gst/gstmessage.h:
19116         * tools/gst-launch.c: (event_loop):
19117         * tools/gst-md5sum.c: (event_loop):
19118           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19119           that applications can sensibly post custom messages with references
19120           to their own objects.
19122 2005-08-24  Andy Wingo  <wingo@pobox.com>
19124         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19125         already.
19127 2005-08-24  Wim Taymans  <wim@fluendo.com>
19129         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19130         (gst_base_transform_transform_caps),
19131         (gst_base_transform_transform_size),
19132         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19133         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19134         (gst_base_transform_handle_buffer):
19135         * gst/base/gstbasetransform.h:
19136         Many fixes and new features added by Thomas. Can now also do
19137         transforms with variable sizes and a custom fixate_caps function.
19139 2005-08-24  Wim Taymans  <wim@fluendo.com>
19141         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19142         Some debugging.
19144         * gst/gstclock.h:
19145         Cast to ClockTime before formatting to time.
19147         * gst/gstutils.h:
19148         Cleanups.
19150 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19152         * check/gst-libs/controller.c: (GST_START_TEST),
19153         (gst_controller_suite):
19154         * docs/gst/tmpl/gstcaps.sgml:
19155         * docs/gst/tmpl/gstghostpad.sgml:
19156         * docs/gst/tmpl/gstquery.sgml:
19157         * docs/gst/tmpl/gstutils.sgml:
19158         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19159         (gst_object_sink_values), (gst_object_get_value_arrays),
19160         (gst_object_get_value_array):
19161           gracefully handle helper method calls to objects that are not beeing
19162           controlled, added test case for that          
19164 2005-08-23  Wim Taymans  <wim@fluendo.com>
19166         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19167         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19168         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19169         (gst_event_parse_qos), (gst_event_new_seek),
19170         (gst_event_parse_seek):
19171         * gst/gstevent.h:
19172         Some more debugging output and doc cleanups.
19174         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19175         Fix possible deadlock.
19177 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19179         * docs/gst/gstreamer-docs.sgml:
19180         * docs/gst/gstreamer-sections.txt:
19181         * docs/gst/gstreamer.types:
19182         * docs/gst/tmpl/.cvsignore:
19183         * gst/gstbin.h:
19184         * gst/gstbus.c:
19185         * gst/gstelement.c:
19186         * gst/gstevent.h:
19187           added 100 symbols from gstreamer-unused.txt to the right sections
19188           fixed more broken comments
19189           added GstBus to docs
19191 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19193         * docs/gst/gstreamer-sections.txt:
19194         * docs/gst/tmpl/.cvsignore:
19195         * docs/gst/tmpl/gstbin.sgml:
19196         * docs/gst/tmpl/gstbuffer.sgml:
19197         * gst/base/gstbasesrc.c:
19198         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19199         * gst/gstbuffer.c:
19200         * gst/gstbuffer.h:
19201         * tools/gst-launch.1.in:
19202           inlined more doc comments, added missing comments and fixed comments
19203           fixed typos
19205 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19207         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19208           some debugging
19209         * gst/gstcaps.h:
19210           whitespace fixes
19211         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19212           more debugging
19213         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19214         * gst/gststructure.h:
19215           add a fixate function for booleans; add a FIXME that these func
19216           names should probably be gst_structure_fixate_*
19218 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19220         * docs/gst/gstreamer-docs.sgml:
19221         * docs/gst/gstreamer-sections.txt:
19222         * gst/Makefile.am:
19223         * gst/gstbin.c: (gst_bin_get_type),
19224         (gst_bin_child_proxy_get_child_by_index),
19225         (gst_bin_child_proxy_get_children_count),
19226         (gst_bin_child_proxy_init):
19227         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19228         (gst_child_proxy_get_child_by_index),
19229         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19230         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19231         (gst_child_proxy_get), (gst_child_proxy_set_property),
19232         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19233         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19234         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19235         * gst/gstchildproxy.h:
19236         * gst/parse/grammar.y:
19237         * tools/gst-inspect.c: (print_interfaces),
19238         (print_element_properties_info), (print_element_info):
19239           ported gstchildproxy over from 0.8
19240           ported gst-inspect fixes and enhancements over from 0.8
19242 2005-08-22  Wim Taymans  <wim@fluendo.com>
19244         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19245         (gst_base_transform_handle_buffer):
19246         Also call the transform function if we have ANY caps.
19248         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19249         Fix debug info.
19251 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19253         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19254           Don't pretend to handle seek events if the source is not seekable
19256 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19258         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19259           Remove extra parameter to debug output
19261         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19262         (gst_base_src_do_seek), (gst_base_src_activate_push):
19263           Fix seek event handling.
19265         * gst/gstpipeline.c: (gst_pipeline_change_state):
19266         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19267         (gst_queue_src_activate_push):
19268           Don't start the src pad task on FLUSH_STOP if the pad
19269           isn't linked.
19270           Debug changes.
19272 2005-08-22  Wim Taymans  <wim@fluendo.com>
19274         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19275         Added check for gst_static_caps_get() refcounting.
19277 2005-08-22  Wim Taymans  <wim@fluendo.com>
19279         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19280         Make _static_caps_get() refcounting sane.
19281         
19282         * gst/gstelement.c: (gst_element_set_state):
19283         Add g_return_val_if_fail() to protect against segfaults.
19285 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19287         * docs/gst/tmpl/gstevent.sgml:
19288         * gst/gstevent.c:
19289         * gst/gstevent.h:
19290           inlined remaining docs, added missing doc comments
19292 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19294         * check/gst/gstbin.c: (GST_START_TEST):
19295           since we don't know when preroll is done, use refcount range
19296           check for the sink
19297         * gst/check/gstcheck.h:
19298           add macro for checking refcount range
19300 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19302         * check/Makefile.am:
19303           clean up environment for when registry gets built versus
19304           when actual tests are run; valgrind seems to not report
19305           leaks if GST_PLUGIN_PATH is set to some specific values
19306         * check/gst/gstbin.c: (GST_START_TEST):
19307           add more refcounting checks; maybe this exposes a
19308           preroll lock bug ?
19309         * common/check.mak:
19310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19311         * gst/check/gstcheck.h:
19312         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19313         (gst_bin_change_state):
19314         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19315           add/fix debugging/whitespace
19317 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19319         * check/gst/gstevent.c: (event_probe), (test_event),
19320         (GST_START_TEST):
19321          Er, don't call gst_bin_watch_for_state_change you idiot.
19323 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19325         * check/Makefile.am:
19326           Use CHECK_CFLAGS and CHECK_LIBS
19327         * check/gst/gstevent.c: (event_probe), (test_event),
19328         (GST_START_TEST):
19329           Don't leak events.
19330         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19331         (gst_base_src_start), (gst_base_src_stop),
19332         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19333         (gst_base_src_change_state):
19334           Sprinkle gst_base_src_stop liberally around error paths to fix
19335           problems reusing a source after failed state changes.
19336         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19337         (helper_find_suggest), (gst_type_find_helper):
19338           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19339         * gst/gstevent.h:
19340         * docs/gst/tmpl/gstevent.sgml:
19341           Migrate part of the docs from the SGML file. Wait for ensonic to
19342           tell me how I did it wrong ;)
19343         * tools/gst-typefind.c: (main):
19344           Extra robustness to state changes between files.
19346 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19348         * check/Makefile.am:
19349           don't valgrind the controller test - it's leaking - Stefan, HELP
19350         * gst/check/gstcheck.c: (gst_check_message_error),
19351         (gst_check_chain_func), (gst_check_setup_element),
19352         (gst_check_teardown_element), (gst_check_setup_src_pad),
19353         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19354         (gst_check_teardown_sink_pad):
19355         * gst/check/gstcheck.h:
19356           add a bunch of methods to set up elements, and src and sink pads
19357         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19358         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19359         (GST_START_TEST):
19360           use them
19361         * gst/gstmessage.c:
19362         * gst/gsttag.h:
19363           whitespace/doc fixes
19365 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19367         * gst/gstelement.h:
19368           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19369           be handled by the application and not always printed as well
19371 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19373         * check/Makefile.am:
19374           set GST_TOOLS_DIR
19375         * gst/check/gstcheck.c: (gst_check_message_error):
19376         * gst/check/gstcheck.h:
19377           add a fail_unless_equals_int
19378           add fail_unless for error messages
19380 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19382         * check/Makefile.am:
19383         * check/gst.supp:
19384         * common/Makefile.am:
19385         * common/check.mak:
19386         * common/gst.supp:
19387           factor out some of the common stuff so we can use it
19389 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19391         * check/Makefile.am:
19392         * check/gst/gstiterator.c: (GST_START_TEST):
19393         * check/gst/gstsystemclock.c: (GST_START_TEST),
19394         (gst_systemclock_suite):
19395         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19396         * gst/gstclock.c:
19397           valgrind more tests
19399 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19401         * check/elements/.cvsignore:
19402         * check/elements/gstfakesrc.c:
19403           rename to name of element
19404         * check/elements/identity.c: (chain_func), (event_func),
19405         (setup_identity), (cleanup_identity), (GST_START_TEST),
19406         (identity_suite), (main):
19407           add a test for identity
19408         * check/Makefile.am:
19409         * pkgconfig/Makefile.am:
19410         * pkgconfig/gstreamer-check.pc.in:
19411         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19412         * gst/check:
19413         * gst/Makefile.am:
19414         * configure.ac:
19415           move the check stuff to a library that gets installed
19416         * check/gst-libs/controller.c: (GST_START_TEST):
19417         * check/gst-libs/gdp.c:
19418         * check/gst/gst.c: (GST_START_TEST):
19419         * check/gst/gstbin.c:
19420         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19421         * check/gst/gstbus.c:
19422         * check/gst/gstcaps.c: (GST_START_TEST):
19423         * check/gst/gstelement.c:
19424         * check/gst/gstghostpad.c:
19425         * check/gst/gstiterator.c:
19426         * check/gst/gstmessage.c:
19427         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19428         * check/gst/gstobject.c:
19429         * check/gst/gstpad.c: (GST_START_TEST):
19430         * check/gst/gststructure.c: (GST_START_TEST):
19431         * check/gst/gstsystemclock.c: (GST_START_TEST),
19432         (gst_systemclock_suite):
19433         * check/gst/gsttag.c: (gst_tag_suite):
19434         * check/gst/gstvalue.c:
19435         * check/pipelines/cleanup.c:
19436         * check/pipelines/simple_launch_lines.c:
19437         * check/states/sinks.c:
19438           change include statement
19440         * docs/gst/gstreamer-sections.txt:
19441         * docs/gst/tmpl/gstpad.sgml:
19442           document more pad stuff
19443         * gst/gstminiobject.c: (gst_mini_object_ref),
19444         (gst_mini_object_unref):
19445           debug refcounting
19447 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19449         * docs/gst/tmpl/gst.sgml:
19450         * gst/gst.c:
19451           eliminate another tmpl file, fix spelling in the long-description
19453 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19455         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19456         (test_event), (timediff), (gstevents_suite):
19457           Should fix build on 64-bit arch's
19459 2005-08-18  Andy Wingo  <wingo@pobox.com>
19461         Make sure that when a pipeline goes to PLAYING, that data has
19462         actually hit the sink.
19464         * check/states/sinks.c (test_sink): A sink that doesn't get any
19465         data shouldn't return SUCCESS for going to either PLAYING or
19466         PAUSED. Test also the return values on the way back down.
19468         * gst/gstelement.c (gst_element_set_state): When changing the
19469         state of an element currently changing state asynchronously, go to
19470         lost-state after commiting the pending state. Makes future calls
19471         to get_state continue to return ASYNC.
19473         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19474         ASYNC when going to PLAYING if we still don't have preroll, as can
19475         happen with live sources.
19477 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19479         * docs/pwg/advanced-types.xml:
19480           Hack long paragraph into 2 chunks as a workaround for buggy
19481           jadetex version in sid and breezy that loops infinitely and
19482           eats all RAM.
19484 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19486         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19487         (test_event), (timediff), (gstevents_suite):
19488           Provide more error margin in clock measurements to allow for 
19489           g_get_current_time inaccuracies.
19491 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19493         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19494         (test_event), (timediff), (gstevents_suite):
19495            Fix error message output so I might be able to tell why the
19496            test works here but fails on the build farm.
19498 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19500         * check/Makefile.am:
19501         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19502         (test_event), (timediff), (gstevents_suite), (main):
19503           I wrote a test!
19505         * docs/design/part-seeking.txt:
19506           Spelling correction
19508         * docs/gst/tmpl/gstevent.sgml:
19509         * docs/gst/tmpl/gstfakesrc.sgml:
19510           Docs updates.
19512         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19513           Treat a buffer-without-newsegment the same as a receiving 
19514           a newsegment not in time format, and disable syncing to the clock
19515           with a warning.
19517         * gst/gstbus.c: (gst_bus_set_sync_handler):
19518           Assert if anyone tries to replace the existing sync_handler for bus, 
19519           as only the owner should be setting it.
19521         * gst/gstevent.h:
19522           Have a fixed set of custom event enums with events identified by
19523           their structure name (as in 0.8), rather than a free-for-all
19524           allowing collisions between enum values from different plugins.
19526         * gst/gstpad.c: (gst_pad_class_init):
19527           Docs change.
19528           
19529         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19530           Handle out-of-band downstream events from the sending thread.
19532 2005-08-17  Andy Wingo  <wingo@pobox.com>
19534         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19535         play-timeout==0 to mean no timeout at all. In that case, don't
19536         bother with a get_state or a warning, just return directly, even
19537         if it's ASYNC.
19539         * gst/base/gstbasetransform.c: Debug changes.
19541         * gst/gstutils.h:
19542         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19543         ensure bins post state change messages. A bit of a hack but I can't
19544         think of a way to avoid it.
19546         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19548 2005-08-16  Andy Wingo  <wingo@pobox.com>
19550         * gst/base/gstadapter.h:
19551         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19552         peek() but you own the data. Not terribly efficient atm.
19554 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19556         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19557         (gst_element_found_tags):
19558         * gst/gstutils.h:
19559           Add two utility functions for tag handling.
19561 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19563         * docs/manual/advanced-dataaccess.xml:
19564         * docs/manual/basics-helloworld.xml:
19565           Fix docs to use _bin_add() before _link(), which fixes the examples
19566           with recent core versions (reported by Madhan Raj M
19567           <raj_madan@rediffmail.com>, #313199).
19569 2005-08-16  Wim Taymans  <wim@fluendo.com>
19571         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19572         Added subtract checks.
19574         * docs/design/part-events.txt:
19575         Some more docs about newsegment
19577         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19578         Fix FIXME
19580         * gst/gstcaps.c: (gst_caps_to_string):
19581         Add comments, cleanups.
19582         
19583         * gst/gstelement.c: (gst_element_save_thyself):
19584         cleanups
19585         
19586         * gst/gstvalue.c: (gst_value_collect_int_range),
19587         (gst_string_unwrap), (gst_value_union_int_int_range),
19588         (gst_value_union_int_range_int_range),
19589         (gst_value_intersect_int_int_range),
19590         (gst_value_intersect_int_range_int_range),
19591         (gst_value_intersect_double_double_range),
19592         (gst_value_intersect_double_range_double_range),
19593         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19594         (gst_value_subtract_int_range_int),
19595         (gst_value_subtract_double_range_double),
19596         (gst_value_subtract_double_range_double_range),
19597         (gst_value_subtract_from_list), (gst_value_subtract_list),
19598         (gst_value_can_compare), (gst_value_compare_fraction):
19599         Cleanups, add comments, remove unneeded asserts.
19601 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19603         * tools/gst-launch.c: (event_loop):
19604           don't convert NULL structures to strings
19606 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19608         * docs/gst/gstreamer-sections.txt:
19609           made some defines private
19610         * docs/gst/tmpl/gstconfig.sgml:
19611         * docs/gst/tmpl/gstqueue.sgml:
19612         * docs/gst/tmpl/gsttaglist.sgml:
19613         * docs/gst/tmpl/gsttypes.sgml:
19614         * docs/gst/tmpl/gstutils.sgml:
19615         * docs/pwg/appendix-porting.xml:
19616         * gst/base/gstbasesink.h:
19617         * gst/base/gstbasesrc.c:
19618         * gst/base/gstbasesrc.h:
19619         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19620         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19621         * gst/gstelement.c: (gst_element_class_init):
19622         * gst/gstpad.c: (gst_pad_class_init):
19623         * gst/gstqueue.c: (gst_queue_class_init):
19624         * gst/gstxml.c: (gst_xml_class_init):
19625           documented all undocumented signal inline
19626         * libs/gst/controller/gst-controller.h:
19627           added padding
19629 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19631         * docs/pwg/appendix-porting.xml:
19632           Document _set_link_function -> _set_setcaps_function.
19634 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19636         * check/Makefile.am:
19637           add a .check target for running the check
19638         * check/gst-libs/controller.c: (GST_START_TEST):
19639           cosmetic fixups
19640         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19641           complete checks for gstbuffer; would be nice if I could get the
19642           gcov stuff to work so I can see if I actually completed gstbuffer.c
19643         * check/gstcheck.h:
19644           add ASSERT_BUFFER_REFCOUNT
19646 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19648         * docs/gst/gstreamer-sections.txt:
19649         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19650         * gst/gsttag.h:
19651           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19652           spew out a warning if a tag that is already registered
19653           is re-registered, unless it is re-registered with a 
19654           different type (#308438).
19656 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19658         * docs/pwg/appendix-porting.xml:
19659         * docs/pwg/building-state.xml:
19660           Add some paragraphs about state changes in 0.9 to the PWG
19661           and the porting guide, in particular about the new meaning
19662           of GST_STATE_PAUSED and how to write state change functions
19663           with concurrent access by multiple threads in mind.
19665 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19667         * docs/gst/gstreamer-docs.sgml:
19668         * docs/libs/gstreamer-libs-docs.sgml:
19669           added deprecation and since indexes
19670         * libs/gst/controller/gst-controller.c:
19671         * libs/gst/controller/gst-helper.c:
19672           added since tags
19675 2005-08-11  Wim Taymans  <wim@fluendo.com>
19677         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19678         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19679         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19680         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19681         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19682         (gst_ghost_pad_set_target):
19683         Actually implement (re)setting the target on a ghostpad
19684         as described in the docs.
19686 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19688         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19689           Check whether GST_DEBUG_NO_COLOR environment variable is
19690           set and disable coloured debug output if that is the case.
19692 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19694         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19695         (gst_type_find_helper):
19696           The memory returned by gst_type_find_peek() needs to
19697           stay valid until the end of a typefind function, and
19698           typefind functions may keep results from different 
19699           offsets around, so we can't just unref the buffer from
19700           the previous _peek(), but have to save all buffers 
19701           returned by _peek() until typefinding is done and only
19702           free them then.
19704 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19706         * docs/gst/gstreamer-sections.txt:
19707         * gst/gstutils.h:
19708           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19710 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19712         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19713           Fix a pretty good memleak.
19715 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19717         * gst/gstiterator.h:
19718           Fix wrong include and 'make distcheck'.
19720 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19722         * gst/gstbin.c: (bin_bus_handler):
19723           Use gst_element_post_message() instead.
19725 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19727         * gst/base/gstadapter.h:
19728         * gst/base/gstbasesink.h:
19729         * gst/base/gstbasesrc.h:
19730         * gst/base/gstbasetransform.h:
19731         * gst/base/gstcollectpads.h:
19732         * gst/base/gstpushsrc.h:
19733         * gst/gstiterator.h:
19734           Add padding to our base elements' class and instance structs and
19735           to GstIterator (you will need to rebuild all plugins and apps!)
19737 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19739         * gst/gstbin.c: (bin_bus_handler):
19740           Make default message forwarding from child->bus to bin->bus
19741           threadsafe and make it not emit warnings if the parent has no bus.
19743 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19745         * gst/gstelement.c: (activate_pads):
19746           On paused->ready, set pad->caps to NULL, as is the documented
19747           behaviour in this state change. Fixes playback of series of
19748           media files when visualization is enabled in Totem.
19750 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19752         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19753           Allow NULL as filter-caps (which means "any").
19755 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19757         * docs/libs/gstreamer-libs-sections.txt:
19758         * libs/gst/controller/gst-controller.c:
19759         * libs/gst/controller/gst-controller.h:
19760         * libs/gst/controller/gst-helper.c:
19761           adding more entries to the docs and fix small doc-bugs
19763 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19765         * docs/gst/gstreamer-docs.sgml:
19766         * docs/gst/gstreamer-sections.txt:
19767         * docs/gst/gstreamer.types:
19768         * docs/gst/tmpl/gstbasesink.sgml:
19769         * docs/gst/tmpl/gstbasesrc.sgml:
19770         * docs/gst/tmpl/gstbasetransform.sgml:
19771         * docs/gst/tmpl/gstfakesrc.sgml:
19772         * gst/base/gstcollectpads.c:
19773         * gst/base/gstcollectpads.h:
19774         * libs/gst/controller/gst-controller.c:
19775         * libs/gst/controller/gst-controller.h:
19776         * libs/gst/controller/gst-helper.c:
19777         * libs/gst/controller/gst-interpolation.c:
19778         * libs/gst/controller/lib.c:
19779           added long/short desc for controller docs
19780           added collectpads base class docs
19781           added correct includes to base-class docs
19783 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19785         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19786         (gst_test_mono_source_set_property),
19787         (gst_test_mono_source_class_init), (GST_START_TEST),
19788         (gst_controller_suite):
19789         * docs/gst/gstreamer-docs.sgml:
19790         * docs/gst/gstreamer-sections.txt:
19791         * docs/gst/gstreamer.types:
19792         * docs/libs/gstreamer-libs-docs.sgml:
19793         * docs/libs/gstreamer-libs-sections.txt:
19794         * gst/base/gstadapter.c:
19795         * libs/gst/controller/gst-controller.c:
19796         (gst_controlled_property_new), (gst_controlled_property_free),
19797         (gst_controller_new_valist),
19798         (gst_controller_remove_properties_valist),
19799         (gst_controller_sink_values), (_gst_controller_finalize):
19800         * libs/gst/controller/gst-controller.h:
19801         * libs/gst/controller/gst-helper.c:
19802         (gst_object_control_properties), (gst_object_uncontrol_properties),
19803         (gst_object_get_controller), (gst_object_set_controller),
19804         (gst_object_sink_values), (gst_object_get_value_arrays),
19805         (gst_object_get_value_array):
19806           more tests (and fixes) for the controller
19807           more docs for the controller
19808           integrated companies docs for the adapter 
19810 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19812         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19813         (GST_START_TEST), (fakesrc_suite):
19814           add tests for sizetype
19816 2005-08-04  Andy Wingo  <wingo@pobox.com>
19818         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19819         fixes buffer_alloc proxying among other things.
19821         * gst/base/gstbasetransform.c:
19822         * gst/base/gstbasetransform.h:
19823         Revert patch to gstbasetransform from 7-28 removing
19824         delay_configure.
19826         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19827         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19828         Semantics changed, should return not the size of the output buffer
19829         but the byte size of a buffer with a given caps.
19831         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19832         debug object.
19833         (gst_base_transform_configure_caps): Don't set out_size here: (in,
19834         out) are not the pad caps until setcaps finishes.
19835         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19836         not-in-place case as well. Deal with changing from in-place to
19837         not-in-place within calling pad_alloc_buffer. Still a bit
19838         concerned about the overhead here...
19840 2005-08-03  Andy Wingo  <wingo@pobox.com>
19842         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19843         fixating is an error.
19845 2005-08-04  Edward Hervey  <edward@fluendo.com>
19847         * gst/base/gstadapter.h: 
19848         Added gst_adapter_get_type() to the header
19850 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19852         * check/Makefile.am:
19853         * check/gst-libs/controller.c:
19854         * libs/gst/controller/gst-controller.c:
19855         (gst_controller_new_valist):
19856           added check test suite for the controller
19857         * gst/base/gstpushsrc.c:
19858           fixed a doc typo
19860 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19862         * docs/gst/Makefile.am:
19863         * docs/gst/gstreamer-docs.sgml:
19864         * docs/gst/gstreamer-sections.txt:
19865         * docs/gst/gstreamer.types:
19866         * docs/gst/tmpl/gstfakesrc.sgml:
19867         * gst/base/README:
19868         * gst/base/gstbasesink.c:
19869         * gst/base/gstbasesink.h:
19870         * gst/base/gstbasesrc.c:
19871         * gst/base/gstbasesrc.h:
19872         * gst/base/gstbasetransform.c:
19873         * gst/base/gstpushsrc.c:
19874         * gst/base/gstpushsrc.h:
19875           add short/long description docs to base classes
19876           add pushsrc to the docs
19877           remove consolidated doc fragments
19879 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19881         * configure.ac:
19882         * docs/libs/Makefile.am:
19883         * docs/libs/gstreamer-libs-docs.sgml:
19884         * docs/libs/gstreamer-libs-sections.txt:
19885         * docs/libs/gstreamer-libs.types:
19886         * examples/Makefile.am:
19887         * examples/controller/.cvsignore:
19888         * examples/controller/Makefile.am:
19889         * examples/controller/audio-example.c: (main):
19890         * libs/gst/Makefile.am:
19891         * libs/gst/controller/.cvsignore:
19892         * libs/gst/controller/Makefile.am:
19893         * libs/gst/controller/gst-controller.c:
19894         (on_object_controlled_property_changed), (gst_timed_value_compare),
19895         (gst_timed_value_find),
19896         (gst_controlled_property_set_interpolation_mode),
19897         (gst_controlled_property_new), (gst_controlled_property_free),
19898         (gst_controller_find_controlled_property),
19899         (gst_controller_new_valist), (gst_controller_new),
19900         (gst_controller_remove_properties_valist),
19901         (gst_controller_remove_properties), (gst_controller_set),
19902         (gst_controller_set_from_list), (gst_controller_unset),
19903         (gst_controller_get), (gst_controller_get_all),
19904         (gst_controller_sink_values), (gst_controller_get_value_arrays),
19905         (gst_controller_get_value_array),
19906         (gst_controller_set_interpolation_mode),
19907         (_gst_controller_finalize), (_gst_controller_init),
19908         (_gst_controller_class_init), (gst_controller_get_type):
19909         * libs/gst/controller/gst-controller.h:
19910         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19911         (g_object_uncontrol_properties), (g_object_get_controller),
19912         (g_object_set_controller), (g_object_sink_values),
19913         (g_object_get_value_arrays), (g_object_get_value_array):
19914         * libs/gst/controller/gst-interpolation.c:
19915         (gst_controlled_property_find_timed_value_node),
19916         (interpolate_none_get), (interpolate_trigger_get),
19917         (interpolate_trigger_get_value_array):
19918         * libs/gst/controller/lib.c: (gst_controller_init):
19919         * pkgconfig/Makefile.am:
19920         * pkgconfig/gstreamer-control-uninstalled.pc.in:
19921         * pkgconfig/gstreamer-control.pc.in:
19922         * testsuite/Makefile.am:
19923         * testsuite/controller/.cvsignore:
19924         * testsuite/controller/Makefile.am:
19925         * testsuite/controller/interpolator.c: (main):
19926           added controller code
19927           removed dparam pc files
19929 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19930         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19931         (gst_collectpads_stop):
19932           Broadcast the condition when shutting down, to make sure we wake all
19933           threads up. Shut down pads on finalize, for safety.
19935 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19936         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19937         (gst_base_transform_handle_buffer),
19938         (gst_base_transform_change_state):
19939           Handle PAUSED->READY->PAUSED transition after negotiation
19940           occurred already.
19941         * gst/gstmessage.c: (gst_message_init):
19942           Extra piece of debug for new messages.
19944 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
19946         * configure.ac:
19947         * docs/gst/tmpl/gstbasesrc.sgml:
19948         * docs/gst/tmpl/gstelement.sgml:
19949         * docs/gst/tmpl/gstevent.sgml:
19950         * docs/gst/tmpl/gstfakesrc.sgml:
19951         * docs/gst/tmpl/gstformat.sgml:
19952         * docs/gst/tmpl/gstghostpad.sgml:
19953         * docs/gst/tmpl/gstpad.sgml:
19954         * docs/gst/tmpl/gstquery.sgml:
19955         * docs/gst/tmpl/gststructure.sgml:
19956         * docs/gst/tmpl/gsttaglist.sgml:
19957         * docs/gst/tmpl/gstvalue.sgml:
19958         * docs/libs/gstreamer-libs-docs.sgml:
19959         * docs/libs/gstreamer-libs-sections.txt:
19960         * docs/libs/gstreamer-libs.types:
19961         * libs/gst/Makefile.am:
19962         * libs/gst/control/.cvsignore:
19963         * libs/gst/control/Makefile.am:
19964         * libs/gst/control/control.c:
19965         * libs/gst/control/control.h:
19966         * libs/gst/control/dparam.c:
19967         * libs/gst/control/dparam.h:
19968         * libs/gst/control/dparam_smooth.c:
19969         * libs/gst/control/dparam_smooth.h:
19970         * libs/gst/control/dparamcommon.h:
19971         * libs/gst/control/dparammanager.c:
19972         * libs/gst/control/dparammanager.h:
19973         * libs/gst/control/dplinearinterp.c:
19974         * libs/gst/control/dplinearinterp.h:
19975         * libs/gst/control/unitconvert.c:
19976         * libs/gst/control/unitconvert.h:
19977         * testsuite/Makefile.am:
19978         * testsuite/dynparams/.cvsignore:
19979         * testsuite/dynparams/Makefile.am:
19980         * testsuite/dynparams/dparamstest.c:
19981         * tools/Makefile.am:
19982         * tools/gst-inspect.c: (print_element_info), (main):
19983         * tools/gst-xmlinspect.c: (print_element_info), (main):
19984           deactivate and remove dparams (libgstcontrol)
19986 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19988         * gst/elements/gsttypefindelement.c:
19989         (gst_type_find_element_have_type), (gst_type_find_element_init),
19990         (stop_typefinding), (gst_type_find_element_handle_event),
19991         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19992         * gst/elements/gsttypefindelement.h:
19993           Set caps on all outgoing buffers, not just the first one.
19995 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19997         * gst/elements/gsttypefindelement.c:
19998         (gst_type_find_element_have_type),
19999         (gst_type_find_element_check_set_buffer_caps),
20000         (gst_type_find_element_init), (stop_typefinding),
20001         (gst_type_find_element_handle_event),
20002         (gst_type_find_element_chain), (gst_type_find_element_getrange):
20003         * gst/elements/gsttypefindelement.h:
20004           Set caps on first outgoing buffer when we've found the type.
20006 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
20008         * docs/gst/gstreamer-docs.sgml:
20009         * docs/gst/gstreamer-sections.txt:
20010         * docs/gst/tmpl/gstscheduler.sgml:
20011         * docs/gst/tmpl/gstschedulerfactory.sgml:
20012           Remove some old cruft from docs.
20014 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
20016         * gst/gstpad.h:
20017           Fix inline docs for GstPadLinkReturn.
20018           
20019         * gst/gststructure.c: (gst_structure_has_name):
20020         * gst/gststructure.h:
20021         * docs/gst/gstreamer-sections.txt:
20022           New API: gst_structure_has_name().
20024 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
20026         * configure.ac:
20027           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20028           and _LARGEFILE_SOURCE in config.h as required. Do not 
20029           export those flags in our .pc files any longer (#142209).
20031           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20033         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20034         (gst_file_sink_do_seek), (gst_file_sink_event),
20035         (gst_file_sink_get_current_offset), (gst_file_sink_render):
20036           Redo seek/tell calls with large file support in mind; add some
20037           debugging messages; add log message that tells us when large
20038           file support is unavailable or not enabled for some reason.
20040         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20041           Add log message that tells us when large file support 
20042           is unavailable or not enabled for some reason.
20044 2005-07-29  Wim Taymans  <wim@fluendo.com>
20046         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20047         Added test for removing an element with ghostpad from a bin.
20048         Fixed test as current implementation does the right thing.
20050         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20051         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20052         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20053         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20054         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20055         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20056         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20057         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20058         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20059         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20060         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20061         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20062         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20063         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20064         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20065         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20066         * gst/gstghostpad.h:
20067         Clean up ghostpads, remove properties for internal stuff.
20068         Make threadsafe.
20069         Fix refcounting.
20070         Prepare for switching targets, not all use cases work yet.
20072 2005-07-29  Wim Taymans  <wim@fluendo.com>
20074         * docs/design/part-gstghostpad.txt:
20075         Small update.
20077         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20078         (gst_bin_remove_func):
20079         Unlinking pads while holding the bin LOCK is not a good
20080         idea.
20082         * gst/gstpad.c: (gst_pad_class_init),
20083         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20084         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20085         No prob setting template after creating the pad.
20087 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
20089         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20090         (gst_bus_peek), (gst_bus_source_dispatch),
20091         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20092         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20093           gst_bus_poll may be called from other threads. Handle
20094           this nicely by not making poll_data disappear off the
20095           stack once gst_bus_poll returns.
20096           gst_bus_peek now increments the refcount on the returned
20097           message.
20099 2005-07-29  Wim Taymans  <wim@fluendo.com>
20101         * docs/design/part-gstghostpad.txt:
20102         Overview of current GhostPad datastructures and use
20103         cases for changing the target.
20105 2005-07-28  Wim Taymans  <wim@fluendo.com>
20107         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20108         Added checks for hierarchy consistency whan adding linked
20109         elements to bins.
20111         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20112         Added check to test element scheduling without bin/pipeline.
20114         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20115         First add elements to bin, then link.
20116         
20117         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20118         (gst_bin_remove_func):
20119         Unlink pads from elements added/removed from bin to maintain
20120         hierarchy consistency.
20122 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20125         (gst_base_transform_handle_buffer):
20126         * gst/base/gstbasetransform.h:
20127           Remove broken delay_configure (fixes renegotiation of software
20128           scaling pipelines); remove some leftover printf()s.
20130 2005-07-28  Wim Taymans  <wim@fluendo.com>
20132         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20133         Added some more tests for wrong hierarchy
20135         * docs/design/part-overview.txt:
20136         Some updates.
20138         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20139         Cleanups.
20141         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20142         (gst_element_dispose):
20143         Some more cleanups.
20145         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20146         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20147         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20148         (gst_pad_set_caps), (gst_pad_send_event):
20149         Check for correct hierarchy when linking pads. Moving to
20150         strict requirement for ghostpads when linking elements in
20151         different bins.
20153         * gst/gstpad.h:
20154         Clean ups. Added WRONG_HIERARCHY return value.
20156 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20158         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20159           Better debug if no transform is possible.
20161 2005-07-27  Wim Taymans  <wim@fluendo.com>
20163         * docs/random/wtay/network-transp:
20164         Some old doc I had.
20166 2005-07-27  Wim Taymans  <wim@fluendo.com>
20168         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20169         (gst_dp_event_from_packet):
20170         Fix serialization of seek events.
20172 2005-07-27  Wim Taymans  <wim@fluendo.com>
20174         * check/gst-libs/gdp.c: (GST_START_TEST):
20175         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20176         Fix compilation and fix event serialization.
20178 2005-07-27  Wim Taymans  <wim@fluendo.com>
20180         * CHANGES-0.9:
20181         * docs/design/part-TODO.txt:
20182         * docs/design/part-events.txt:
20183         Some docs updates
20185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20186         (gst_base_sink_event), (gst_base_sink_do_sync),
20187         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20188         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20189         (gst_base_src_do_seek), (gst_base_src_event_handler),
20190         (gst_base_src_loop):
20191         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20192         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20193         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20194         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20195         (gst_base_transform_set_passthrough),
20196         (gst_base_transform_is_passthrough):
20197         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20198         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20199         Event updates.
20201         * gst/gstbuffer.h:
20202         Use faster casts.
20204         * gst/gstelement.c: (gst_element_seek):
20205         * gst/gstelement.h:
20206         Update gst_element_seek.
20208         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20209         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20210         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20211         (gst_event_new_eos), (gst_event_new_newsegment),
20212         (gst_event_parse_newsegment), (gst_event_new_tag),
20213         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20214         (gst_event_parse_qos), (gst_event_new_seek),
20215         (gst_event_parse_seek), (gst_event_new_navigation):
20216         * gst/gstevent.h:
20217         Make GstEvent use GstStructure. Add parsing code, make sure the
20218         API is sufficiently generic.
20219         Mark possible directions of events and serialization.
20221         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20222         (_gst_message_copy), (gst_message_new_segment_start),
20223         (gst_message_new_segment_done), (gst_message_new_custom),
20224         (gst_message_parse_segment_start),
20225         (gst_message_parse_segment_done):
20226         Small cleanups.
20228         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20229         (gst_pad_set_caps), (gst_pad_send_event):
20230         Update for new events. 
20231         Catch events sent in wrong directions.
20233         * gst/gstqueue.c: (gst_queue_link_src),
20234         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20235         (gst_queue_handle_src_query):
20236         Event updates.
20238         * gst/gsttag.c:
20239         * gst/gsttag.h:
20240         Remove event code from this file.
20242         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20243         (gst_dp_event_from_packet):
20244         Event updates.
20246 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20248         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20249         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20250         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20251           Make debugging actually useful.
20253 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20255         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20256         (gst_pad_fixate_caps):
20257           Implement default fixation once again, so that gst_pad_fixate()
20258           actually does anything at all. This probably needs to be some
20259           sort of a last resort, and use profile-based fixation first, but
20260           since that doesn't exist yet, this is the best we have. Fixes
20261           visualization in Totem.
20263 2005-07-22  Wim Taymans  <wim@fluendo.com>
20265         * docs/design/part-events.txt:
20266         Small update.
20268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20269         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20270         (gst_base_sink_activate_pull):
20271         Some more comments.
20273         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20274         (gst_fake_src_create):
20275         Fix handoff marshall.
20277         * gst/elements/gstidentity.c: (gst_identity_class_init),
20278         (gst_identity_transform_ip):
20279         We're a real inplace element.
20281         * gst/gstbus.c: (gst_bus_post):
20282         Added some comments.
20284         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20285         * tests/muxing/case1.c: (main):
20286         * tests/sched/dynamic-pipeline.c: (main):
20287         * tests/sched/interrupt1.c: (main):
20288         * tests/sched/interrupt2.c: (main):
20289         * tests/sched/interrupt3.c: (main):
20290         * tests/sched/runxml.c: (main):
20291         * tests/sched/sched-stress.c: (main):
20292         * tests/seeking/seeking1.c: (event_received), (main):
20293         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20294         (main):
20295         * tests/threadstate/threadstate3.c: (main):
20296         * tests/threadstate/threadstate4.c: (main):
20297         * tests/threadstate/threadstate5.c: (main):
20298         Fix the tests.
20300 2005-07-21  Wim Taymans  <wim@fluendo.com>
20302         * docs/design/part-seeking.txt:
20303         Some small additions.
20305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20306         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20307         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20308         * gst/base/gstbasesink.h:
20309         discont values are gint64, handle the math correctly.
20311         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20312         Make the basesrc report error if the source pad is not linked.
20314         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20315         (gst_queue_loop), (gst_queue_handle_src_query),
20316         (gst_queue_src_activate_push):
20317         Make queue collect data even if the srcpad is not linked.
20318         Start pushing out data as soon as it is linked.
20320         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20321         * gst/gstutils.h:
20322         Added gst_flow_get_name() to ease error reporting.
20324 2005-07-20  Wim Taymans  <wim@fluendo.com>
20326         * gst/gstmessage.c: (gst_message_new_segment_start),
20327         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20328         (gst_message_parse_segment_done):
20329         * gst/gstmessage.h:
20330         Added a bunch of messages for advanced seeking.
20332         * gst/parse/grammar.y:
20333         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20334         (gst_dpman_state_changed):
20335         Fix some new-pad -> pad-added signals
20337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20339         * docs/manual/appendix-porting.xml:
20340         * docs/pwg/appendix-porting.xml:
20341           Document new-pad/state-change signal renames and the FixedList
20342           type rename.
20344 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20346         * docs/manual/advanced-autoplugging.xml:
20347         * docs/manual/basics-helloworld.xml:
20348         * docs/manual/basics-pads.xml:
20349         * docs/random/ds/0.9-suggested-changes:
20350         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20351         * gst/gstelement.h:
20352         * gst/gstevent.h:
20353         * gst/gstformat.h:
20354         * gst/gstquery.h:
20355         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20356         (gst_structure_parse_array), (gst_structure_parse_value):
20357         * gst/gstvalue.c: (gst_type_is_fixed),
20358         (gst_value_list_prepend_value), (gst_value_list_append_value),
20359         (gst_value_list_get_size), (gst_value_list_get_value),
20360         (gst_value_transform_array_string), (gst_value_serialize_array),
20361         (gst_value_deserialize_array), (gst_value_intersect_array),
20362         (gst_value_is_fixed), (_gst_value_initialize):
20363         * gst/gstvalue.h:
20364           GstElement::new-pad -> pad-added, GstElement::state-change ->
20365           state-changed, GstValueFixedList -> GstValueArray, add format and
20366           flags as their own arguments in gst_element_seek() (should improve
20367           "bindeability"), remove function generators since they don't work
20368           under a whole bunch of compilers (they were deprecated already
20369           anyway).
20371 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20373         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20374         (_gst_debug_register_funcptr):
20375         * gst/gstinfo.h:
20376           Fix illegal cast on some platforms (#309253).
20378 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20380         * gst/gstmessage.c: (gst_message_new_custom):
20381         * gst/gstmessage.h:
20382           Add _new_custom, make _new_application a macro to _new_custom.
20384 2005-07-20  Wim Taymans  <wim@fluendo.com>
20386         * gst/base/gstbasesrc.c: (gst_base_src_init),
20387         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20388         * gst/base/gstbasesrc.h:
20389         Add a gboolean to decide when to push out a discont.
20391         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20392         (gst_queue_loop), (gst_queue_handle_src_query),
20393         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20394         (gst_queue_set_property), (gst_queue_get_property):
20395         Some cleanups.
20397         * tests/threadstate/threadstate1.c: (main):
20398         Make a thread test compile and run... very silly..
20401 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20403         * docs/manual/appendix-porting.xml:
20404           Mention removal of libgstgconf-0.9.la and existence of gconf
20405           elements.
20407 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20409         * docs/pwg/advanced-clock.xml:
20410         * docs/pwg/appendix-porting.xml:
20411         * docs/pwg/intro-preface.xml:
20412         * docs/pwg/other-base.xml:
20413         * docs/pwg/other-manager.xml:
20414         * docs/pwg/other-nton.xml:
20415         * docs/pwg/other-ntoone.xml:
20416         * docs/pwg/other-oneton.xml:
20417         * docs/pwg/pwg.xml:
20418           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20419           demuxer), remove n-to-n (was never written), fix some code examples
20420           and links and update the porting section to include all this.
20422 2005-07-19  Wim Taymans  <wim@fluendo.com>
20424         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20425         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20426         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20427         (gst_queue_src_activate_push), (gst_queue_change_state),
20428         (gst_queue_get_property):
20429         * gst/gstqueue.h:
20430         Propagate GstFlowReturn more intelligently upstream and output
20431         an ERROR/EOS when streaming stopped due to fatal error.
20433 2005-07-19  Wim Taymans  <wim@fluendo.com>
20435         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20436         Don't block forever for the state change to complete, the
20437         pipeline already did with a sensible timeout.
20439 2005-07-19  Wim Taymans  <wim@fluendo.com>
20441         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20442         Make sure we never call the create function is we
20443         got deactivated.
20445 2005-07-19  Andy Wingo  <wingo@pobox.com>
20447         * gst/parse/parse.l: Attempt to solve bug #172815.
20449 2005-07-19  Wim Taymans  <wim@fluendo.com>
20451         * docs/design/part-clocks.txt:
20452         * docs/design/part-events.txt:
20453         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20454         Small docs updates.
20455         Only update the seeking values when we are not
20456         busy streaming.
20458 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20460         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20461           Oops, ignore the result of gst_pad_push_event here.
20463 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20465         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20466         (gst_base_src_activate_push):
20467           Send discont event from the loop function, as pads
20468           aren't activated yet in the activate_push handler.
20470         * gst/gstbin.c: (bin_bus_handler):
20471           Don't leak element name.
20473 2005-07-18  Andy Wingo  <wingo@pobox.com>
20475         * configure.ac: Use AS_LIBTOOL_TAGS.
20477 2005-07-18  Wim Taymans  <wim@fluendo.com>
20479         * docs/gst/gstreamer.types:
20480         Remove deleted types.
20482 2005-07-18  Wim Taymans  <wim@fluendo.com>
20484         * check/elements/gstfakesrc.c: (GST_START_TEST):
20485         * configure.ac:
20486         * gst/Makefile.am:
20487         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20488         (init_popt_callback):
20489         * gst/gst.h:
20490         * gst/gst_private.h:
20491         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20492         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20493         * gst/gstbin.h:
20494         * gst/gstbus.h:
20495         * gst/gstconfig.h.in:
20496         * gst/gstelement.c: (gst_element_class_init),
20497         (gst_element_set_base_time), (gst_element_get_base_time),
20498         (iterator_fold_with_resync), (gst_element_change_state),
20499         (gst_element_dispose), (gst_element_get_bus):
20500         * gst/gstelement.h:
20501         * gst/gstelementfactory.h:
20502         * gst/gsterror.c: (_gst_core_errors_init):
20503         * gst/gsterror.h:
20504         * gst/gstevent.h:
20505         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20506         * gst/gstindex.c:
20507         * gst/gstinfo.c: (_gst_debug_init):
20508         * gst/gstmessage.c: (_gst_message_copy):
20509         * gst/gstmessage.h:
20510         * gst/gstminiobject.h:
20511         * gst/gstobject.c:
20512         * gst/gstobject.h:
20513         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20514         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20515         * gst/gstpad.h:
20516         * gst/gstparse.h:
20517         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20518         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20519         (gst_pipeline_get_last_stream_time):
20520         * gst/gstpipeline.h:
20521         * gst/gstpluginfeature.h:
20522         * gst/gstquery.h:
20523         * gst/gstscheduler.c:
20524         * gst/gstscheduler.h:
20525         * gst/gststructure.h:
20526         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20527         (gst_task_finalize), (gst_task_func), (gst_task_create),
20528         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20529         (gst_task_stop), (gst_task_pause):
20530         * gst/gsttask.h:
20531         * gst/gsttypefind.h:
20532         * gst/gsttypes.h:
20533         * gst/registries/gstlibxmlregistry.c: (load_feature),
20534         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20535         * gst/registries/gstxmlregistry.c:
20536         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20537         * gst/schedulers/threadscheduler.c:
20538         * libs/gst/control/dparammanager.h:
20539         * tools/gst-inspect.c: (print_element_list),
20540         (print_plugin_features), (print_element_features):
20541         * tools/gst-xmlinspect.c: (print_element_list),
20542         (print_plugin_info), (main):
20543         Removed plugable schedulers.
20544         Removed Scheduler/Manager from elements.
20545         Removed gsttypes.h, rearranged includes.
20546         Removed dependency pad<->element, element<>pipeline, and
20547         various others,  fix includes.
20548         implement gst_pad_get_parent() with gst_object_get_parent()
20549         Make GstTask sefcontained.
20550         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20551         timeout.
20552         Fix endless loop in iterator_fold_with_resync.
20555 2005-07-18  Wim Taymans  <wim@fluendo.com>
20557         * gst/Makefile.am:
20558         * gst/gstarch.h:
20559         Remove old file.
20561 2005-07-18  Wim Taymans  <wim@fluendo.com>
20563         * gst/Makefile.am:
20564         No more cothreads.h
20566 2005-07-18  Wim Taymans  <wim@fluendo.com>
20568         * gst/cothreads.c:
20569         * gst/cothreads.h:
20570         Let's remove these.
20572 2005-07-18  Wim Taymans  <wim@fluendo.com>
20574         * docs/design/part-dynamic.txt:
20575         * docs/design/part-events.txt:
20576         * docs/design/part-seeking.txt:
20577         Some more docs in the works.
20579         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20580         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20581         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20582         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20583         (gst_base_transform_handle_buffer),
20584         (gst_base_transform_sink_activate_push),
20585         (gst_base_transform_src_activate_pull),
20586         (gst_base_transform_set_passthrough),
20587         (gst_base_transform_is_passthrough):
20588         Refcounting fixes.
20590         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20591         Cleanups.
20593         * gst/gstevent.c: (gst_event_finalize):
20594         Set SRC to NULL.
20596         * gst/gstutils.c: (gst_element_unlink),
20597         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20598         (gst_pad_proxy_setcaps):
20599         * gst/gstutils.h:
20600         Add _get_parent_element() to get a pads parent as an element.
20602 2005-07-18  Wim Taymans  <wim@fluendo.com>
20604         * check/gst/gstbin.c: (GST_START_TEST):
20605         Remove bogus test.
20607 2005-07-18  Wim Taymans  <wim@fluendo.com>
20609         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20610         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20611         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20612         (gst_base_sink_event), (gst_base_sink_do_sync),
20613         (gst_base_sink_chain), (gst_base_sink_loop),
20614         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20615         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20616         Refcounting fixes.
20617         Fix logic for returning ASYNC when not prerolled.
20619 2005-07-18  Wim Taymans  <wim@fluendo.com>
20621         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20622         Fix nasty refcount bug.
20624 2005-07-16 Philippe Khalaf <burger@speedy.org>
20626         * gst/elements/gstfdsrc.c:
20627         * gst/elements/gstfdsrc.h:
20628         * gst/elements/gstelements.c:
20629         * gst/elements/Makefile.am:
20630         Ported fdsrc to 0.9.
20632 2005-07-16  Wim Taymans  <wim@fluendo.com>
20634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20635         (gst_base_sink_do_sync):
20636         Fix compile error.
20638 2005-07-16  Wim Taymans  <wim@fluendo.com>
20640         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20641         (gst_base_sink_event), (gst_base_sink_get_times),
20642         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20643         * gst/base/gstbasesink.h:
20644         Store and use discont values when syncing buffers as described
20645         in design docs.
20646         
20647         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20648         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20649         (gst_base_src_activate_push):
20650         Push discont event when starting.
20652         * gst/elements/gstidentity.c: (gst_identity_transform):
20653         Small cleanups.
20655         * gst/gstbin.c: (gst_bin_change_state):
20656         Small cleanups in base_time  distribution.
20658         * gst/gstelement.c: (gst_element_set_base_time),
20659         (gst_element_get_base_time), (gst_element_change_state):
20660         * gst/gstelement.h:
20661         Added methods for the base_time of the element.
20662         Some MT fixes.
20664         * gst/gstpipeline.c: (gst_pipeline_send_event),
20665         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20666         (gst_pipeline_get_last_stream_time):
20667         * gst/gstpipeline.h:
20668         MT fixes.
20669         Handle seeking as described in design doc, remove stream_time
20670         hack.
20671         Cleanups clock and stream_time selection code. Added accessors
20672         for the stream_time.
20673         
20675 2005-07-16  Andy Wingo  <wingo@pobox.com>
20677         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20678         (#305291).
20680 2005-07-16  Wim Taymans  <wim@fluendo.com>
20682         * check/gst/gstbin.c: (GST_START_TEST):
20683         Make elements silent as the deep_notify refs the
20684         parent, which might make the test fail.
20686         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20687         Don't hold the lock for too long.
20689 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20691         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20692           Don't unref the caps we passed to gst_caps_make_writable() after
20693           passing them. gst_caps_make_writable() will do that for us.
20695 2005-07-15  Andy Wingo  <wingo@pobox.com>
20697         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20698         (#157311).
20700         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20701         own marshalling function for the handoff signal. Properly type the
20702         buffer as a buffer. Fixes some warnings. Should do a more general
20703         solution.
20704         (gst_identity_class_init): Plug into the right marshaller.
20706 2005-07-15  Wim Taymans  <wim@fluendo.com>
20708         * docs/design/part-TODO.txt:
20709         * docs/design/part-clocks.txt:
20710         * docs/design/part-element-sink.txt:
20711         * docs/design/part-events.txt:
20712         * docs/design/part-gstpipeline.txt:
20713         Updated docs, mostly DISCONT related.
20715 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20717         * docs/pwg/building-pads.xml:
20718           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20720 2005-07-15  Andy Wingo  <wingo@pobox.com>
20722         * tools/gst-typefind.c: Update, add copyright block.
20724         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20725         Normalize and truncate caps before fixation.
20727         * gst/gstcaps.h:
20728         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20729         discards all but the first structure from its argument.
20731 2005-07-15  Wim Taymans  <wim@fluendo.com>
20733         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20734         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20735         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20736         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20737         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20738         (gst_base_transform_chain), (gst_base_transform_change_state),
20739         (gst_base_transform_set_passthrough),
20740         (gst_base_transform_is_passthrough):
20741         * gst/base/gstbasetransform.h:
20742         Make passthrough work using the bufferpools.
20743         Changed API a bit, subclasses have to write into a buffer
20744         provided by the base class.
20745         More debug info in nego functions.
20746         
20747         * gst/elements/gstidentity.c: (gst_identity_init),
20748         (gst_identity_transform):
20749         Port to new base class.
20751 2005-07-15  Wim Taymans  <wim@fluendo.com>
20753         * gst/gstmessage.c: (gst_message_new_state_changed):
20754         * tools/gst-launch.c: (event_loop), (main):
20755         Totally dump messages in -launch with the -m option.
20756         Fix message name for State messages,
20758 2005-07-14  Wim Taymans  <wim@fluendo.com>
20760         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20761         Post error messages on errors.
20763 2005-07-14  Wim Taymans  <wim@fluendo.com>
20765         * gst/gstcaps.c: (gst_caps_do_simplify):
20766         Remove debug info.
20768         * gst/gsterror.h:
20769         Define error for stream stopped.
20771         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20772         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20773         Do proper return values.
20775         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20776         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20777         (gst_pad_get_range):
20778         Better return values.
20780         * gst/gstpad.h:
20781         Reorganise return values, add macro to check for fatal errors.
20783         * gst/gstqueue.c: (gst_queue_chain):
20784         Return proper GstFlowReturn values,
20786 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20788         * docs/gst/gstreamer-sections.txt:
20789         * docs/gst/gstreamer.types:
20790         * docs/gst/tmpl/gst.sgml:
20791         * docs/gst/tmpl/gstbasesink.sgml:
20792         * docs/gst/tmpl/gstbasesrc.sgml:
20793         * docs/gst/tmpl/gstbasetransform.sgml:
20794         * docs/gst/tmpl/gstbin.sgml:
20795         * docs/gst/tmpl/gstbuffer.sgml:
20796         * docs/gst/tmpl/gstcaps.sgml:
20797         * docs/gst/tmpl/gstclock.sgml:
20798         * docs/gst/tmpl/gstcompat.sgml:
20799         * docs/gst/tmpl/gstconfig.sgml:
20800         * docs/gst/tmpl/gstelement.sgml:
20801         * docs/gst/tmpl/gstelementdetails.sgml:
20802         * docs/gst/tmpl/gstelementfactory.sgml:
20803         * docs/gst/tmpl/gstenumtypes.sgml:
20804         * docs/gst/tmpl/gsterror.sgml:
20805         * docs/gst/tmpl/gstevent.sgml:
20806         * docs/gst/tmpl/gstfakesink.sgml:
20807         * docs/gst/tmpl/gstfakesrc.sgml:
20808         * docs/gst/tmpl/gstfilesink.sgml:
20809         * docs/gst/tmpl/gstfilesrc.sgml:
20810         * docs/gst/tmpl/gstfilter.sgml:
20811         * docs/gst/tmpl/gstformat.sgml:
20812         * docs/gst/tmpl/gstghostpad.sgml:
20813         * docs/gst/tmpl/gstimplementsinterface.sgml:
20814         * docs/gst/tmpl/gstindex.sgml:
20815         * docs/gst/tmpl/gstindexfactory.sgml:
20816         * docs/gst/tmpl/gstinfo.sgml:
20817         * docs/gst/tmpl/gstiterator.sgml:
20818         * docs/gst/tmpl/gstmacros.sgml:
20819         * docs/gst/tmpl/gstmemchunk.sgml:
20820         * docs/gst/tmpl/gstminiobject.sgml:
20821         * docs/gst/tmpl/gstobject.sgml:
20822         * docs/gst/tmpl/gstpad.sgml:
20823         * docs/gst/tmpl/gstpadtemplate.sgml:
20824         * docs/gst/tmpl/gstparse.sgml:
20825         * docs/gst/tmpl/gstpipeline.sgml:
20826         * docs/gst/tmpl/gstplugin.sgml:
20827         * docs/gst/tmpl/gstpluginfeature.sgml:
20828         * docs/gst/tmpl/gstquery.sgml:
20829         * docs/gst/tmpl/gstqueue.sgml:
20830         * docs/gst/tmpl/gstregistry.sgml:
20831         * docs/gst/tmpl/gstregistrypool.sgml:
20832         * docs/gst/tmpl/gstscheduler.sgml:
20833         * docs/gst/tmpl/gstschedulerfactory.sgml:
20834         * docs/gst/tmpl/gststructure.sgml:
20835         * docs/gst/tmpl/gstsystemclock.sgml:
20836         * docs/gst/tmpl/gsttaglist.sgml:
20837         * docs/gst/tmpl/gsttagsetter.sgml:
20838         * docs/gst/tmpl/gsttrace.sgml:
20839         * docs/gst/tmpl/gsttrashstack.sgml:
20840         * docs/gst/tmpl/gsttypefind.sgml:
20841         * docs/gst/tmpl/gsttypefindfactory.sgml:
20842         * docs/gst/tmpl/gsttypes.sgml:
20843         * docs/gst/tmpl/gsturihandler.sgml:
20844         * docs/gst/tmpl/gsturitype.sgml:
20845         * docs/gst/tmpl/gstutils.sgml:
20846         * docs/gst/tmpl/gstvalue.sgml:
20847         * docs/gst/tmpl/gstversion.sgml:
20848         * docs/gst/tmpl/gstxml.sgml:
20849         * docs/libs/tmpl/gstcontrol.sgml:
20850         * docs/libs/tmpl/gstdataprotocol.sgml:
20851         * docs/libs/tmpl/gstdparam.sgml:
20852         * docs/libs/tmpl/gstdplinint.sgml:
20853         * docs/libs/tmpl/gstdpman.sgml:
20854         * docs/libs/tmpl/gstdpsmooth.sgml:
20855         * docs/libs/tmpl/gstgetbits.sgml:
20856         * docs/libs/tmpl/gstunitconvert.sgml:
20857         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20858         (gst_push_src_base_init), (gst_push_src_class_init),
20859         (gst_push_src_init), (gst_push_src_create):
20860         * gst/base/gstpushsrc.h:
20861         * gst/elements/gstelements.c:
20862         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20863         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20864         (gst_fake_sink_init), (gst_fake_sink_set_property),
20865         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20866         (gst_fake_sink_event), (gst_fake_sink_preroll),
20867         (gst_fake_sink_render), (gst_fake_sink_change_state):
20868         * gst/elements/gstfakesink.h:
20869         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20870         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20871         (gst_fake_src_base_init), (gst_fake_src_class_init),
20872         (gst_fake_src_init), (gst_fake_src_event_handler),
20873         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20874         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20875         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20876         (gst_fake_src_create_buffer), (gst_fake_src_create),
20877         (gst_fake_src_start), (gst_fake_src_stop):
20878         * gst/elements/gstfakesrc.h:
20879         * gst/elements/gstfilesink.c: (_do_init),
20880         (gst_file_sink_base_init), (gst_file_sink_class_init),
20881         (gst_file_sink_init), (gst_file_sink_dispose),
20882         (gst_file_sink_set_location), (gst_file_sink_set_property),
20883         (gst_file_sink_get_property), (gst_file_sink_open_file),
20884         (gst_file_sink_close_file), (gst_file_sink_query),
20885         (gst_file_sink_event), (gst_file_sink_render),
20886         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20887         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20888         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20889         * gst/elements/gstfilesink.h:
20890         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20891         (gst_file_src_class_init), (gst_file_src_init),
20892         (gst_file_src_finalize), (gst_file_src_set_location),
20893         (gst_file_src_set_property), (gst_file_src_get_property),
20894         (gst_file_src_map_region), (gst_file_src_map_small_region),
20895         (gst_file_src_create_mmap), (gst_file_src_create_read),
20896         (gst_file_src_create), (gst_file_src_is_seekable),
20897         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20898         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20899         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20900         (gst_file_src_uri_handler_init):
20901         * gst/elements/gstfilesrc.h:
20902           more autistic cleanliness in functions/names/defines
20904 2005-07-13  Andy Wingo  <wingo@pobox.com>
20906         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20907         source couldn't negotiate.
20909         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20910         connections again.
20912         * gst/gstutils.h:
20913         * gst/gstutils.c (gst_element_link_pads_filtered): New old
20914         function. I am channeling Hades. Put your boots on suckers!!!
20916 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20918         * testsuite/caps/Makefile.am:
20919         * testsuite/caps/value_compare.c:
20920         * testsuite/caps/value_intersect.c:
20921         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20922           move two testsuite apps over to the check dir
20924 2005-07-12  Wim Taymans  <wim@fluendo.com>
20926         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20927         Added more debug info in the negotiate process.
20929         * gst/gstmessage.h:
20930         Prepare for segment playback.
20932         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20933         Better debugging.
20935         * gst/gstutils.c:
20936         Some more docs.
20938         * tools/gst-launch.c: (main):
20939         NULL pipeline on errors.
20941 2005-07-12  Andy Wingo  <wingo@pobox.com>
20943         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20944         not it comes from a malloc region. Make sure our copy gets freed.
20946 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20948         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20949         * check/gst/gstmessage.c: (GST_START_TEST):
20950         * check/gst/gststructure.c: (GST_START_TEST),
20951         (gst_structure_suite), (main):
20952           more testing
20953         * gst/gstelement.c: (gst_element_message_full):
20954           clean up GError and debug string now that they get copied
20955         * gst/gstmessage.c: (gst_message_new_error),
20956         (gst_message_new_warning), (gst_message_parse_error),
20957         (gst_message_parse_warning):
20958           use GST_TYPE_G_ERROR for structure_new, and take copies of
20959           arguments, so that we don't mess up refcounting
20961 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20963         * check/Makefile.am:
20964           add per-test valgrind targets
20965         * check/gst-libs/gdp.c: (GST_START_TEST),
20966         (gst_data_protocol_suite), (main):
20967           clean up
20969 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20971         * check/Makefile.am:
20972           instate more valgrindable tests
20973         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20974         (GST_START_TEST), (fakesrc_suite):
20975         * check/gst/gstpad.c: (GST_START_TEST):
20976         * check/gst/gststructure.c: (GST_START_TEST):
20977           fix test leaks
20978         * docs/gst/tmpl/gstminiobject.sgml:
20979         * gst/gstpad.c: (gst_pad_finalize):
20980           fix the static mutex leak
20982 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20984         * check/Makefile.am:
20985           add two more tests for valgrinding
20986         * check/gst/gstvalue.c: (GST_START_TEST):
20987           test refcount of deserialized buffer, found a leak
20988         * docs/gst/gstreamer-docs.sgml:
20989         * docs/gst/gstreamer-sections.txt:
20990         * docs/gst/gstreamer.types:
20991         * docs/gst/tmpl/gstminiobject.sgml:
20992           add miniobject to docs
20993         * gst/gstminiobject.c:
20994           add some docs
20995         * gst/gstvalue.c: (gst_value_deserialize_buffer),
20996         (gst_string_unwrap):
20997           fix a hard-to-find invalid write for one of the tests
20998           fix a leak for deserialized buffers
21000 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21002         * docs/pwg/advanced-events.xml:
21003         * docs/pwg/advanced-request.xml:
21004         * docs/pwg/advanced-scheduling.xml:
21005         * docs/pwg/appendix-porting.xml:
21006         * docs/pwg/building-boiler.xml:
21007         * docs/pwg/intro-preface.xml:
21008         * docs/pwg/other-ntoone.xml:
21009           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21010           of example code and explanation for pad activation, loop() and
21011           getrange() functions and a bit more. Remove old comments pointing
21012           to loop-functions.
21013         * examples/pwg/Makefile.am:
21014           Add loop/getrange examples.
21016 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21018         * configure.ac:
21019           check for valgrind binary + some fixes
21020         * check/gst.supp:
21021           valgrind suppressions for the tests
21022         * check/Makefile.am:
21023           add a valgrind: target that valgrinds the unit tests
21024         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21025         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21026         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21027         * check/gst/gstghostpad.c:
21028           added some cleanup
21029         * check/gst/gstdata.c:
21030           removed
21031         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21032         (thread_unref), (gst_mini_object_suite), (main):
21033           added
21034         * gst/gst.c: (gst_deinit):
21035         * gst/gst.h:
21036           add a method to clean up.
21037         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21038         (gst_system_clock_obtain):
21039           allow for disposing the system clock.
21040         * tools/gst-launch.c: (main):
21041           deinit
21043 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21045         * docs/gst/tmpl/gstbasesrc.sgml:
21046         * docs/gst/tmpl/gstfakesrc.sgml:
21047         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21048         (gst_base_src_init), (gst_base_src_set_property),
21049         (gst_base_src_get_property), (gst_base_src_get_range),
21050         (gst_base_src_start):
21051         * gst/base/gstbasesrc.h:
21052           add num-buffers property
21053         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21054         (gst_fakesrc_init), (gst_fakesrc_set_property),
21055         (gst_fakesrc_get_property), (gst_fakesrc_create),
21056         (gst_fakesrc_start):
21057           remove num-buffers property
21059 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21061         * docs/gst/gstreamer-sections.txt:
21062         * docs/gst/tmpl/gstbasesink.sgml:
21063         * docs/gst/tmpl/gstbasesrc.sgml:
21064         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21065         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21066         (gst_base_sink_finalize), (gst_base_sink_set_clock),
21067         (gst_base_sink_set_property), (gst_base_sink_get_property),
21068         (gst_base_sink_handle_object), (gst_base_sink_event),
21069         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21070         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21071         (gst_base_sink_loop), (gst_base_sink_deactivate),
21072         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21073         (gst_base_sink_change_state):
21074         * gst/base/gstbasesink.h:
21075         * gst/base/gstbasesrc.h:
21076         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21077         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21078         (gst_filesink_init):
21079           more macro splitting
21081 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21083         * gst/gstelement.c: (gst_element_get_bus):
21084           add debug
21085         * tools/gst-launch.c: (check_intr), (event_loop):
21086           fix bus leaks
21088 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21090         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21091           fix a caps leak
21093 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21095         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21096         (gst_base_src_finalize):
21097           add finalize method and clean up properly
21098         * gst/gstpipeline.c: (gst_pipeline_dispose):
21099           add debug
21101 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21103         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21104         (gst_bin_suite):
21105           add more things to check
21106         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21107         * gst/gstelement.c:
21108           more debug
21110 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21112         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21113         (GST_START_TEST), (fakesrc_suite):
21114         * check/gst-libs/gdp.c: (GST_START_TEST):
21115         * check/gst/gst.c: (GST_START_TEST):
21116         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21117         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21118         * check/gst/gstbus.c: (GST_START_TEST):
21119         * check/gst/gstcaps.c: (GST_START_TEST):
21120         * check/gst/gstdata.c: (GST_START_TEST):
21121         * check/gst/gstelement.c: (GST_START_TEST):
21122         * check/gst/gstghostpad.c: (GST_START_TEST):
21123         * check/gst/gstiterator.c: (GST_START_TEST):
21124         * check/gst/gstmessage.c: (GST_START_TEST):
21125         * check/gst/gstobject.c: (GST_START_TEST):
21126         * check/gst/gstpad.c: (GST_START_TEST):
21127         * check/gst/gststructure.c: (GST_START_TEST):
21128         * check/gst/gstsystemclock.c: (GST_START_TEST),
21129         (gst_systemclock_suite):
21130         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21131         * check/gst/gstvalue.c: (GST_START_TEST):
21132         * check/pipelines/cleanup.c: (GST_START_TEST):
21133         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21134         * check/states/sinks.c: (GST_START_TEST):
21135         * check/gstcheck.c: (gst_check_init):
21136         * check/gstcheck.h:
21137           add debugging category
21138           use GST_START_TEST now, so we add a debug line
21140 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21142         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21143           add test for state change message on a bin
21144         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21145           add another test
21146         * gst/gstbin.c: (gst_bin_init):
21147         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21148         * gst/gstelement.c: (gst_element_post_message),
21149         (gst_element_set_state):
21150         * gst/gstelementfactory.c: (gst_element_factory_create):
21151         * gst/gstmessage.c: (gst_message_new):
21152         * gst/gstscheduler.c:
21153           various debugging additions and cleanups
21155 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21157         * check/Makefile.am:
21158         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21159         (main):
21160           adding tests for elements
21161         * gst/gstelement.c: (gst_element_dispose):
21163 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21165         * gst/registries/gstlibxmlregistry.c: (load_feature):
21166           plug more leaks.  A simple gst_init() now is leakfree, yay.
21168 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21170         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21171         (gst_xml_registry_load):
21172           plug another memleak
21174 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21176         * configure.ac:
21177           use GST_SET_ERROR_CFLAGS
21178         * docs/faq/cvs.xml:
21179           change to ERROR_CFLAGS
21181 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21183         * configure.ac:
21184           make GST_ERROR_CFLAGS overridable and re-enable Werror
21185         * docs/faq/cvs.xml:
21186           add a note about error CFLAGS
21187         * docs/gst/tmpl/gstfakesrc.sgml:
21188         * gst/elements/gstfakesrc.c:
21189           comment out some unused code
21190         * gst/gst.c: (split_and_iterate):
21191         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21192         (load_feature):
21193           plug some memleaks
21195 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21197         * common/Makefile.am:
21198         * common/gtk-doc.mak:
21199         * docs/gst/Makefile.am:
21200           factor out gtk-doc.mak
21202 2005-07-07  Wim Taymans  <wim@fluendo.com>
21204         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21205         (gst_thread_scheduler_dispose):
21206         Unlock the STREAM_LOCK completely.
21208 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21210         * check/Makefile.am:
21211         * check/elements/.cvsignore:
21212         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21213         (START_TEST), (fakesrc_suite), (main):
21214         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21215         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21216         (gst_fakesrc_create), (gst_fakesrc_start):
21217         * gst/elements/gstfakesrc.h:
21218           adding a first element test
21220 2005-07-07  Andy Wingo  <wingo@pobox.com>
21222         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21223         debug message.
21225 2005-07-07  Wim Taymans  <wim@fluendo.com>
21227         * gst/gstquery.c:
21228         * gst/gstquery.h:
21229         Remove old types
21231 2005-07-07  Wim Taymans  <wim@fluendo.com>
21233         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21234         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21235         Allow subclasses to implement their own negotiation.
21237 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21239         * docs/design/part-gstbin.txt:
21240         * docs/design/part-gstpipeline.txt:
21241           Update design notes to reflect the movement of
21242           responsibility for bus handling from GstPipeline to
21243           GstBin
21245 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21247         * configure.ac:
21248           Remove unnecessary queue2/3/4 examples.
21250 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21252         * examples/Makefile.am:
21253         * examples/helloworld/helloworld.c: (event_loop), (main):
21254         * examples/queue/queue.c: (event_loop), (main):
21255         * examples/queue2/queue2.c: (main):
21256           Update a couple of the examples to work again.
21258         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21259         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21260          Spelling corrections and extra debug.
21261         
21262         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21263         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21264         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21265         * gst/gstbin.h:
21266         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21267         (gst_pipeline_change_state):
21268         * gst/gstpipeline.h:
21269           Move the bus handler for children to the GstBin, and create a
21270           separate bus for receiving messages from children to the one the
21271           bus sends 'upwards' on.
21273 2005-07-06  Wim Taymans  <wim@fluendo.com>
21275         * gst/base/README:
21276         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21277         (gst_base_sink_handle_object), (gst_base_sink_loop),
21278         (gst_base_sink_change_state):
21279         * gst/base/gstbasesink.h:
21280         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21281         (gst_base_src_init), (gst_base_src_setcaps),
21282         (gst_base_src_getcaps), (gst_base_src_loop),
21283         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21284         (gst_base_src_start), (gst_base_src_change_state):
21285         * gst/base/gstbasesrc.h:
21286         Make basesrc negotiate.
21287         Handle the case where preroll fails in basesink.
21288         Update README.
21290 2005-07-06  Wim Taymans  <wim@fluendo.com>
21292         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21293         Implement the fixate function.
21294         Clean up acceptcaps.
21296 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21298         * docs/pwg/building-filterfactory.xml:
21299         * docs/pwg/pwg.xml:
21300           Remove never-written filter-factory chapter; I'll add the various
21301           base classes to part 4 ("other element types") later on.
21303 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21305         * docs/pwg/advanced-negotiation.xml:
21306         * docs/pwg/building-boiler.xml:
21307         * docs/pwg/building-pads.xml:
21308         * docs/pwg/pwg.xml:
21309         * examples/pwg/Makefile.am:
21310           Add a chapter on caps negotiation, simplify the original code
21311           samples a bit w.r.t. caps negotiation, add link to the advanced
21312           section. Add a bunch of examples showing different use cases of
21313           different types of caps negotiation. Upstream renegotiation isn't
21314           fully documented yet since nobody knows how that works.
21316 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21318         * check/gst/gstpad.c:
21319         * check/gstcheck.c:
21320         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21321           if pad has no parent, return NULL as list of internal links
21323 2005-07-05  Andy Wingo  <wingo@pobox.com>
21325         * gst/elements/gstfilesrc.c:
21326         * gst/elements/gstfakesrc.c: 
21327         * gst/base/gstpushsrc.c:
21328         * gst/base/gstbasesrc.h: 
21329         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21330         
21331 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21333         * Makefile.am:
21334           better report generation target (lcov needs a patch)
21336 2005-07-05  Andy Wingo  <wingo@pobox.com>
21338         * gst/elements, testsuite: Null if we got it...
21340 2005-07-05  Wim Taymans  <wim@fluendo.com>
21342         * configure.ac:
21343         * libs/gst/dataprotocol/Makefile.am:
21344         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21345         * libs/gst/dataprotocol/dataprotocol.h:
21346         * pkgconfig/Makefile.am:
21347         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21348         * pkgconfig/gstreamer-dataprotocol.pc.in:
21349         Ported dataprotol to 0.9. 
21350         Added pkgconfig files.
21352 2005-07-05  Andy Wingo  <wingo@pobox.com>
21354         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21355         Default to returning TRUE for the case when tranform_caps returns
21356         a fixed caps, like for identity or volume.
21358         * check/gst/gstbus.c (pound_bus_with_messages): 
21359         * check/gst/gstmessage.c (START_TEST): 
21360         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21361         message API change.
21363         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21364         logic weaks here: always run transform_caps, trying passthrough
21365         operation only if the original caps intersects with the transform.
21367         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21368         source and sink caps.
21370         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21371         Intersect the peer caps with the pad template before going into
21372         transform_caps.
21373         (gst_base_transform_transform_caps): More debugging.
21375         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21376         src argument.
21378 2005-07-04  Edward Hervey  <edward@fluendo.com>
21380         * gst/gstutils.c:
21381         * gst/gstutils.h:
21382         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21383         in bindings.
21385 2005-07-04  Andy Wingo  <wingo@pobox.com>
21387         * check/gst/gstpad.c: Only set explicit caps on pads.
21389 2005-07-01  Andy Wingo  <wingo@pobox.com>
21391         * tests/network-clock.scm: Commentary update.
21393         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21394         Didn't really make sense, not implementable with basetransform,
21395         etc.
21396         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21397         attempt at implementing the sync property, needs an unlock method.
21399         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21400         New func, by default returns the same caps (the identity
21401         transformation).
21402         (gst_base_transform_getcaps): Uses transform_caps to return
21403         something sensible.
21404         (gst_base_transform_setcaps): Complicated logic to get caps on
21405         both pads, even if they are different, and to call set_caps once
21406         for every time both pads get their caps set.
21407         (gst_base_transform_handle_buffer): Give the ref to the transform
21408         function. Allows in-place modification of the buffer.
21410         * gst/base/gstbasetransform.h (transform_caps): New class method.
21411         Given caps on one side, what can I do on the other.
21412         (set_caps): Take two caps, one for each side of the element.
21414         * gst/gstpad.h:
21415         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21416         caps in place. This is safe because we can check the mutability of
21417         the caps, and a good idea because fixate functions are just called
21418         as a matter of last resort. (Not actually implemented.)
21419         (gst_pad_set_caps): If the caps we're setting is actually the same
21420         as the existing pad caps, just update the pointer without calling
21421         setcaps. Assert that caps is either NULL or fixed, as per the
21422         docs.
21424         * gst/gstghostpad.c: Update for fixate changes.
21426 2005-07-02  Andy Wingo  <wingo@pobox.com>
21428         * gst/gstcaps.c:
21429         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21430         two refcounts makes it immutable, which is enough. Doc more.
21432 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21434         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21435           Put the mini_object into GValue as a mini_object,
21436           not a gpointer, since that's how we declared
21437           the signal.
21439 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21441         * examples/pwg/Makefile.am:
21442           Fix buildbot again.
21444 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21446         * docs/pwg/building-testapp.xml:
21447           Add extra check.
21448         * examples/pwg/Makefile.am:
21449           Fix buildbot.
21451 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21453         * configure.ac:
21454         * examples/Makefile.am:
21455         * examples/pwg/Makefile.am:
21456         * examples/pwg/extract.pl:
21457           Enable building the PWG examples.
21458         * docs/pwg/advanced-interfaces.xml:
21459           Add URI interface stub.
21460         * docs/pwg/advanced-types.xml:
21461         * docs/pwg/other-autoplugger.xml:
21462         * docs/pwg/appendix-porting.xml:
21463         * docs/pwg/pwg.xml:
21464           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21465         * docs/pwg/building-boiler.xml:
21466         * docs/pwg/building-chainfn.xml:
21467         * docs/pwg/building-pads.xml:
21468         * docs/pwg/building-props.xml:
21469         * docs/pwg/building-state.xml:
21470         * docs/pwg/building-testapp.xml:
21471           Update the building-*.xml parts for 0.9 changes. All examples
21472           code blocks compile in examples/pwg/*.
21474 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21476         * docs/manual/advanced-autoplugging.xml:
21477         * docs/manual/appendix-checklist.xml:
21478         * docs/manual/appendix-integration.xml:
21479         * docs/manual/highlevel-components.xml:
21480           Fix playbin/decodebin examples, update docs a bit, mention bus
21481           instead of signals in various places, mention kmplayer and
21482           kaffeine since they have a working GStreamer backend in the KDE
21483           section.
21485 2005-06-30  Wim Taymans  <wim@fluendo.com>
21487         * CHANGES-0.9:
21488         * docs/design/draft-ghostpads.txt:
21489         * docs/design/draft-push-pull.txt:
21490         * docs/design/draft-query.txt:
21491         * docs/design/part-TODO.txt:
21492         * docs/design/part-query.txt:
21493         Added CHANGES-0.9 doc, updated status of other docs.
21494         
21495         * gst/gstquery.h:
21496         Remove "hmm" macro
21498 2005-06-30  Wim Taymans  <wim@fluendo.com>
21500         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21501         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21502         (gst_base_sink_change_state):
21503         * gst/base/gstbasesink.h:
21504         Some tweaks, only EOS and a buffer complete a preroll.
21506 2005-06-30  Andy Wingo  <wingo@pobox.com>
21508         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21509         activate_push down to the internal pad as well.
21511 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21513         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21515         * gst/gsttaginterface.c:
21516           Some documentation fixes (#307394 and #307397).
21518 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21520         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21522         * gst/gstvalue.c: (gst_value_intersect_list):
21523           Fix memleak (#309125).
21525 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21527         * docs/manual/advanced-dataaccess.xml:
21528           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21529         * docs/manual/basics-pads.xml:
21530           Add reference for filtered caps to above chapter.
21532 2005-06-30  Wim Taymans  <wim@fluendo.com>
21534         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21535         (gst_bin_change_state):
21536         Probes are gone.
21537         Lame attempt at making the state change function a bit
21538         more readable.
21540 2005-06-30  Wim Taymans  <wim@fluendo.com>
21542         * docs/design/part-clocks.txt:
21543         * docs/design/part-element-sink.txt:
21544         * docs/design/part-events.txt:
21545         * docs/design/part-preroll.txt:
21546         * docs/design/part-states.txt:
21547         Some more tweeks and additions to the docs.
21549 2005-06-30  Wim Taymans  <wim@fluendo.com>
21551         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21552         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21553         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21554         (gst_pad_check_pull_range), (gst_pad_get_range),
21555         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21556         * gst/gstpad.h:
21557         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21558         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21559         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21560         (gst_pad_remove_buffer_probe):
21561         Removed atomic operations, use existing LOCK.
21562         Move exception handling out of main code path.
21564 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21566         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21567         (silly_return_true_function), (gst_pad_class_init),
21568         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21569         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21570         (gst_pad_send_event):
21571           Fix accumulator, add default value by using _emitv() instead
21572           of _emit() for signal emission.
21574 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21576         * docs/manual/advanced-dataaccess.xml:
21577         * examples/manual/Makefile.am:
21578           Add probe example.
21579         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21580           Make work (??).
21582 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21584         * gst/elements/gstfilesink.c: (gst_filesink_render):
21585           Simplify code so that we don't have to handle short
21586           writes and return GST_FLOW_ERROR if an error occured.
21588 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21590         * docs/gst/gstreamer-docs.sgml:
21591           Remove probes more.
21593 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21595         * docs/gst/gstreamer-sections.txt:
21596         * docs/gst/tmpl/gstpad.sgml:
21597         * docs/gst/tmpl/gstprobe.sgml:
21598         * gst/Makefile.am:
21599         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21600         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21601         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21602         (gst_pad_push_event), (gst_pad_send_event):
21603         * gst/gstpad.h:
21604         * gst/gstutils.c: (gst_pad_add_data_probe),
21605         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21606         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21607         (gst_pad_remove_buffer_probe):
21608         * gst/gstutils.h:
21609           Remove old probes, add new g-signal-based probes and some utility
21610           functions.
21612 2005-06-29  Edward Hervey  <edward@fluendo.com>
21614         * gst/gstelementfactory.c:
21615         * gst/gstutils.h:
21616         * gst/gstutils.c:
21617         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21618         the definition to the header file.
21620 2005-06-29  Andy Wingo  <wingo@pobox.com>
21622         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21623         plugins from the source directory.
21625 2005-06-29  Wim Taymans  <wim@fluendo.com>
21627         * docs/gst/tmpl/gstbuffer.sgml:
21628         * docs/gst/tmpl/gstclock.sgml:
21629         Some fixings for blantently wrong text.
21631 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21633         * check/Makefile.am:
21634         * gst/gst.c: (add_path_func), (init_pre):
21635         * gst/gstregistry.c: (gst_registry_add_path):
21636           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21637           only scan the GST_PLUGIN_PATH locations, and not add
21638           system locations
21640 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21642         * docs/gst/gstreamer-sections.txt:
21643         * docs/gst/tmpl/gstbasesrc.sgml:
21644         * gst/gstelement.c:
21645         * gst/gstelement.h:
21646         * gst/gstevent.c:
21647         * gst/gstutils.c:
21648           doc fixes
21650 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21652         * docs/manual/advanced-autoplugging.xml:
21653           Fix autoplugging example.
21655 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21657         * docs/manual/advanced-autoplugging.xml:
21658         * docs/manual/mime-world.fig:
21659           Try to get autoplugging working, fix type detection. Fix text
21660           in hello-world image.
21662 2005-06-29  Wim Taymans  <wim@fluendo.com>
21664         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21665         (gst_base_sink_change_state):
21666         Small debug line.
21668         * gst/gstclock.h:
21669         map SIGNAL and BROADCAST to the right function.
21671         * gst/gstobject.h:
21672         Remove redundant braces.
21674         * gst/gstpad.c: (gst_pad_set_caps):
21675         Don't call setcaps function when reseting caps to NULL.
21677         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21678         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21679         (gst_system_clock_id_unschedule):
21680         Use BROADCAST as this is what we do.
21682 2005-06-29  Wim Taymans  <wim@fluendo.com>
21684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21685         We are actually prerolling before commiting the state
21686         change. 
21688 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21690         * docs/manual/advanced-clocks.xml:
21691         * docs/manual/advanced-interfaces.xml:
21692         * docs/manual/advanced-metadata.xml:
21693         * docs/manual/advanced-position.xml:
21694         * docs/manual/advanced-schedulers.xml:
21695         * docs/manual/advanced-threads.xml:
21696         * docs/manual/appendix-porting.xml:
21697         * docs/manual/basics-bins.xml:
21698         * docs/manual/basics-bus.xml:
21699         * docs/manual/basics-elements.xml:
21700         * docs/manual/basics-helloworld.xml:
21701         * docs/manual/basics-pads.xml:
21702         * docs/manual/highlevel-components.xml:
21703         * docs/manual/manual.xml:
21704         * docs/manual/thread.fig:
21705           Update (until threads/scheduling) Application Development Manual;
21706           remove GstThread, add GstBus, add simple porting checklist, add
21707           documentation for tag writing, clocks, make all examples until this
21708           part compile and run.
21709         * examples/manual/Makefile.am:
21710           Update from changes to Application Development Manual; add bus
21711           example, remove thread example.
21713 2005-06-28  Wim Taymans  <wim@fluendo.com>
21715         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21716         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21717         (gst_bus_source_dispatch):
21718         Add debugging messages.
21719         Make internal methods static.
21720         Handle the case where the bus is flushed in the handler.
21721         
21722         * gst/gstelement.c: (gst_element_get_bus):
21723         Fix refcount in _get_bus();
21725         * gst/gstpipeline.c: (gst_pipeline_change_state),
21726         (gst_pipeline_get_clock_func):
21727         Clock refcounting fixes.
21728         Handle the case where preroll timed out more gracefully.
21729         
21730         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21731         Clean up the internal thread in dispose. This is needed
21732         for subclasses that actually get disposed.
21733         
21734         * gst/schedulers/threadscheduler.c:
21735         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21736         (gst_thread_scheduler_dispose):
21737         Free thread pool in dispose.
21739 2005-06-28  Andy Wingo  <wingo@pobox.com>
21741         * tests/network-clock-utils.scm (debug, print-event): New utils.
21743         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21744         (*packet-loss*): Unified loss probability.
21745         (network-time): Report out-of-band events.
21747         * tests/plot-data: Add support for out-of-band events. Hack it
21748         into this script instead of passing it down the pipe; should fix
21749         this later.
21751 2005-06-28  Wim Taymans  <wim@fluendo.com>
21753         * docs/gst/gstreamer.types:
21754         * docs/gst/tmpl/gstbasesrc.sgml:
21755         * docs/gst/tmpl/gstpad.sgml:
21756         Docs fixes.
21758 2005-06-28  Wim Taymans  <wim@fluendo.com>
21760         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21761         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21762         (gst_proxy_pad_do_fixatecaps):
21763         Correctly proxy the check_pull_range function.
21765 2005-06-28  Andy Wingo  <wingo@pobox.com>
21767         * tests/network-clock.scm: Removed need for slib.
21768         
21769 2005-06-28  Wim Taymans  <wim@fluendo.com>
21771         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21772         (gst_basesink_preroll_queue_flush):
21773         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21774         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21775         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21776         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21777         (gst_proxy_pad_set_property):
21778         * gst/gstpad.c:
21779         * gst/gstpad.h:
21780         * gst/gstqueue.c: (gst_queue_init):
21781         The deprecated pad loop function is removed now.
21783 2005-06-28  Andy Wingo  <wingo@pobox.com>
21785         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21786         New parameters, simulate network packet loss.
21788         * tests/network-clock-utils.scm: Initialize the RNG.
21790 2005-06-28  Wim Taymans  <wim@fluendo.com>
21792         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21793         (gst_basesink_event), (gst_basesink_deactivate):
21794         Flushing the preroll queue always needs to unlock the waiters.
21796 2005-06-28  Edward Hervey  <edward@fluendo.com>
21798         * gst/gstpipeline.c: (gst_pipeline_send_event): 
21799         Wheen a seek was successful on a pipeline, set the stream_time to the
21800         seek offset in order to have a synchronized stream_time.
21802 2005-06-28  Wim Taymans  <wim@fluendo.com>
21804         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21805         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21806         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21807         (gst_proxy_pad_do_fixatecaps):
21808         Call wrapper function instead of just calling the function
21809         pointers. This takes care of any locking and whatmore.
21811 2005-06-28  Wim Taymans  <wim@fluendo.com>
21813         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21814         (gst_pad_pull_range):
21815         * gst/gstpad.h:
21816         CONNECTED -> LINKED.
21818 2005-06-28  Andy Wingo  <wingo@pobox.com>
21820         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21821         source-munging commit!!!
21823         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
21824         (gst_object_sink): Take gpointer arguments, not GstObject --
21825         avoids casts. Like GLib.
21827         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21828         activate.
21830 2005-06-27  Andy Wingo  <wingo@pobox.com>
21832         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21833         remaining buffer.
21835         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21836         returns a sorted copy of the trace list.
21837         (gst_alloc_trace_print_live): New API, only prints traces with
21838         live objects. Sort the list.
21839         (gst_alloc_trace_print_all): Sort the list.
21840         (gst_alloc_trace_print): Align columns.
21842         * gst/elements/gstttypefindelement.c:
21843         * gst/elements/gsttee.c:
21844         * gst/base/gstbasesrc.c:
21845         * gst/base/gstbasesink.c:
21846         * gst/base/gstbasetransform.c:
21847         * gst/gstqueue.c: Adapt for pad activation changes.
21849         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21850         sched.
21851         (gst_pipeline_dispose): Drop ref on sched.
21853         * gst/gstpad.c (gst_pad_init): Set the default activate func.
21854         (gst_pad_activate_default): Push mode by default.
21855         (pre_activate_switch, post_activate_switch): New stubs, things to
21856         do before and after switching activation modes on pads.
21857         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21858         the pad's activate function to choose which mode to activate.
21859         Shortcut on deactivation and call the right function directly.
21860         (gst_pad_activate_pull): New API, (de)activates a pad in pull
21861         mode.
21862         (gst_pad_activate_push): New API, same for push mode.
21863         (gst_pad_set_activate_function) 
21864         (gst_pad_set_activatepull_function) 
21865         (gst_pad_set_activatepush_function): Setters for new API.
21867         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21868         Trace all miniobjects.
21869         (gst_mini_object_make_writable): Unref the arg if we copy, like
21870         gst_caps_make_writable.
21872         * gst/gstmessage.c (_gst_message_initialize): No trace init.
21874         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
21875         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21876         Adapt for new pad API.
21878         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21880         * gst/gstelement.h:
21881         * gst/gstelement.c (gst_element_iterate_src_pads) 
21882         (gst_element_iterate_sink_pads): New API functions.
21883         
21884         * gst/gstelement.c (iterator_fold_with_resync): New utility,
21885         should fold into gstiterator.c in some form.
21886         (gst_element_pads_activate): Simplified via use of fold and
21887         delegation of decisions to gstpad->activate.
21889         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21890         help in debugging.
21892         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21893         class once in init, like gstmessage. Didn't run into this issue
21894         but it seems correct. Don't initialize a trace, gstminiobject does
21895         that.
21897         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21898         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21899         to the bus.
21900         (assert_live_count): New util function, uses alloc traces to check
21901         cleanup.
21903         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21904         To be modified when unlink drops the internal pad.
21906 2005-06-27  Wim Taymans  <wim@fluendo.com>
21908         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21909         (gst_bin_change_state):
21910         Cleanup the get_state() function a little, make sure it
21911         iterates the same set of elements.
21912         Added stub iterate_state_order().
21914 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21916         * docs/gst/gstreamer-docs.sgml:
21917         * docs/gst/gstreamer-sections.txt:
21918         * docs/gst/gstreamer.types:
21919         * docs/gst/tmpl/gstbasesink.sgml:
21920         * docs/gst/tmpl/gstbasesrc.sgml:
21921         * docs/gst/tmpl/gstbasetransform.sgml:
21922         * docs/gst/tmpl/gstelement.sgml:
21923         * docs/gst/tmpl/gstiterator.sgml:
21924         * gst/base/gstbasesrc.c:
21925         * gst/base/gstbasesrc.h:
21926         * gst/base/gstbasetransform.h:
21927         * gst/gstelement.c:
21928         * gst/gstiterator.h:
21929           adding basetransform and iterator docs
21931 2005-06-27  Andy Wingo  <wingo@pobox.com>
21933         * docs/design/part-activation.txt: Notes on how activation should
21934         work -- not quite implemented yet.
21936 2005-06-25  Wim Taymans  <wim@fluendo.com>
21938         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21939         At least get the chain function correct, needs more
21940         fixing.
21942 2005-06-25  Wim Taymans  <wim@fluendo.com>
21944         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21945         (gst_basesink_handle_object), (gst_basesink_event),
21946         (gst_basesink_do_sync), (gst_basesink_handle_event),
21947         (gst_basesink_change_state):
21948         * gst/gsttask.h:
21949         Right, two problems here: ghostpads don't take locks and
21950         glib _rec_mutex_lock_full() with depth==0 still locks.
21951         Catch illegal locking and g_warn them.
21953 2005-06-25  Wim Taymans  <wim@fluendo.com>
21955         * check/states/sinks.c: (START_TEST), (gst_object_suite):
21956         Have to check for completion now...
21958 2005-06-25  Wim Taymans  <wim@fluendo.com>
21960         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21961         (gst_basesink_handle_object), (gst_basesink_event),
21962         (gst_basesink_do_sync), (gst_basesink_handle_event),
21963         (gst_basesink_change_state):
21964         * gst/gstpad.h:
21965         Unlock STREAM_LOCK whatever the recursion was.
21967 2005-06-25  Wim Taymans  <wim@fluendo.com>
21969         * gst/base/gstbasesink.c: (gst_basesink_set_property),
21970         (gst_basesink_preroll_queue_empty),
21971         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21972         (gst_basesink_event), (gst_basesink_do_sync),
21973         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21974         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21975         (gst_basesink_change_state):
21976         Reworked the base sink, handle event and buffer serialisation
21977         correctly and removed possible deadlock.
21978         Handle EOS correctly.
21980 2005-06-25  Wim Taymans  <wim@fluendo.com>
21982         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21983         (gst_pipeline_change_state):
21984         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21985         Allow elements to post EOS in the state change function.
21986         Fix up -launch, make it exit the poll loop when the
21987         pipeline actually changed state.
21988         Fix up warning parsing in -launch.
21990 2005-06-25  Wim Taymans  <wim@fluendo.com>
21992         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21993         (gst_tee_sink_activate):
21994         Core takes STREAM_LOCK for us now.
21996 2005-06-25  Wim Taymans  <wim@fluendo.com>
21998         * gst/gstelement.c: (gst_element_get_state_func),
21999         (gst_element_set_state):
22000         * gst/gstelement.h:
22001         * gst/gstmessage.c: (gst_message_parse_error),
22002         (gst_message_parse_warning):
22003         Keep track of current target state while performing a state
22004         change so that subclasses can do something interesting.
22005         Fix parsing of warning/error messages when GError is NULL.
22007 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22009         * docs/gst/Makefile.am:
22010         * docs/gst/gstreamer-docs.sgml:
22011         * docs/gst/gstreamer-sections.txt:
22012         * docs/gst/gstreamer.types:
22013         * docs/gst/tmpl/gstbasesink.sgml:
22014         * docs/gst/tmpl/gstbasesrc.sgml:
22015         * docs/gst/tmpl/gstbin.sgml:
22016         * docs/gst/tmpl/gstcompat.sgml:
22017         * docs/gst/tmpl/gstfakesink.sgml:
22018         * docs/gst/tmpl/gstfakesrc.sgml:
22019         * docs/gst/tmpl/gstfilesink.sgml:
22020         * docs/gst/tmpl/gstfilesrc.sgml:
22021         * docs/gst/tmpl/gstindex.sgml:
22022         * docs/manual/appendix-quotes.xml:
22023         * gst/base/gstbasesrc.h:
22024         * gst/elements/gstfakesrc.h:
22025         * gst/gstmessage.h:
22026           start pulling in base classes and elements in our docs
22028 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
22030         * docs/gst/Makefile.am:
22031         * docs/libs/Makefile.am:
22032           fixed make distcheck with gtk-doc 1.3
22034 2005-06-23  Wim Taymans  <wim@fluendo.com>
22036         * gst/gstelement.c: (gst_element_get_state_func),
22037         (gst_element_set_state), (gst_element_change_state):
22038         When the state did not change, also report NO_PREROLL
22039         when it matters.
22041 2005-06-23  Wim Taymans  <wim@fluendo.com>
22043         * gst/gstpad.c: (gst_pad_event_default):
22044         * gst/gstqueue.c: (gst_queue_loop):
22045         No unsafe task pausing please.
22047 2005-06-23  Wim Taymans  <wim@fluendo.com>
22049         * gst/schedulers/threadscheduler.c:
22050         (gst_thread_scheduler_task_start),
22051         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22052         Ref the task before pushing it on the threadpool. This
22053         makes sure that we have a ref when the threadfunction is
22054         actually called.
22056 2005-06-23  Andy Wingo  <wingo@pobox.com>
22058         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22059         offset is greater than the file's size.
22061         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
22062         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22063         * gst/gstobject.c (gst_object_class_init): Make the class lock
22064         recursive. Wim won't let me drop deep_notify. Decodebin works
22065         again, whoopdy doo.
22067         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22068         internal pad, and hacks accordingly. Doesn't do it on the target
22069         pad because we change its caps. Probably catches all cases of
22070         interest tho.
22071         (gst_ghost_pad_set_property): Connect to notify::caps as
22072         appropritate.
22074         * tests/network-clock.scm (plot-simulation): Pipe data to the
22075         elite python skript.
22077         * tests/network-clock-utils.scm (define-parameter): New macro,
22078         defines a parameter that can be set via the command line.
22079         (set-parameter!, parse-parameter-arguments): Command line args
22080         parser.
22082         * tests/plot-data: Simple matplotlib-based plotter, takes input on
22083         stdin.
22085 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
22087         * gst/elements/gsttypefindelement.c:
22088         (gst_type_find_element_handle_event):
22089           Don't restart typefinding on a discont.
22090         * gst/gstelement.c: (gst_element_set_state):
22091           Debug spelling fix.
22092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22093           Allow changing mode of an active pad.
22094           Debug output fixes.
22095         * gst/registries/gstlibxmlregistry.c: (load_feature):
22096           Don't cast a static pad template to a normal pad template.
22098 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22100         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22101         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22102           remove gst_strtoll completely, since it didn't actually do
22103           anything more than what g_ascii_strtoull already does.
22104           check for range errors when deserializing
22105           do a cast for the unsigned cases; but further fixing needs
22106           a decision on what the interpretation of "(int)" and
22107           deserialization should be for values that fall outside the
22108           type's boundaries (ie, refuse, or interpret as casting)
22110 2005-06-23  Wim Taymans  <wim@fluendo.com>
22112         * check/Makefile.am:
22113         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22114         * docs/design/part-live-source.txt:
22115         * docs/design/part-states.txt:
22116         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22117         (gst_basesrc_set_live), (gst_basesrc_is_live),
22118         (gst_basesrc_get_range), (gst_basesrc_activate),
22119         (gst_basesrc_change_state):
22120         * gst/base/gstbasesrc.h:
22121         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22122         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22123         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22124         * gst/gstelement.c: (gst_element_get_state_func),
22125         (gst_element_set_state):
22126         * gst/gstelement.h:
22127         * gst/gsttypes.h:
22128         * tools/gst-launch.c: (event_loop), (main):
22129         Added support for live sources and other elements that
22130         cannot do preroll.
22131         Updated design docs, added live-source design doc.
22132         Implemented live source functionality in basesrc
22133         Fix error condition in _bin_get_state()
22134         Implement live source handling in -launch.
22135         Added check for live sources.
22136         Fixed case in GstBin where elements were changed state
22137         multiple times.
22140 2005-06-23  Andy Wingo  <wingo@pobox.com>
22142         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22143         borken refcounting.
22145         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22146         gst_caps_replace takes care of this for us.
22148         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22149         gst_pad_set_caps on the target, not just its setcaps() function.
22151         * tests/network-clock.scm: 
22152         * tests/network-clock-utils.scm: A network clock simulator.
22153         Something of an algorithmic testbed before doing something in C.
22155 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22157         * check/Makefile.am:
22158         * check/gst/capslist.h:
22159           copy over from 0.8, and add two with bitmasks specified with
22160           (int) 0xFF...
22161         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22162           add test to parse everything from capslist.h
22163         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22164         (main):
22165           add test for structure deserialization
22166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22167           add tests for deserialization of strings to int types
22168         * gst/gststructure.c: (gst_structure_nth_field_name):
22169         * gst/gststructure.h:
22170           add a way to get the name of a field referenced by index
22171         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22172           instead of checking if the resulting long long lies between
22173           min and max, we check if the long long would fit into
22174           a number of bytes for the final type.
22175           This fixes cases where a string represents 2^32 - 1, which
22176           when cast to int would be the (valid) -1, but is bigger than
22177           G_MAXINT
22179 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22181         * gst/parse/grammar.y:
22182           add a log line for type deserialization
22184 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22186         * check/gst/gstvalue.c: (START_TEST):
22187         * gst/gstvalue.c: (gst_value_deserialize):
22188           return long long, not int, so gint64 deserialization actually
22189           works.  Is there any flag that makes the compiler check this ?
22190           Fixes #308559
22192 2005-06-22  Wim Taymans  <wim@fluendo.com>
22194         * gst/gstbuffer.h:
22195         Added convenience macros for setting buffers in GValue.
22197 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22199         * check/gst/.cvsignore:
22200         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22201           add a test deserializing int64, and comment part out because
22202           it fails, yay !
22204 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22206         * check/Makefile.am:
22207         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22208         * testsuite/Makefile.am:
22209         * testsuite/caps/Makefile.am:
22210         * testsuite/caps/value_serialize.c:
22211         * testsuite/test_gst_init.c:
22212           move a value_serialize test over
22214 2005-06-20  Wim Taymans  <wim@fluendo.com>
22216         * gst/gstpad.c:
22217         Small doc updates.
22218         
22219         * gst/gstvalue.c: (gst_value_compare_buffer),
22220         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22221         (gst_value_compare_flags), (gst_value_serialize_flags),
22222         (gst_value_deserialize_flags), (_gst_value_initialize):
22223         Fix serialisation of buffers, they are not boxed types anymore
22225 2005-06-20  Wim Taymans  <wim@fluendo.com>
22227         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22228         Testcase to show error in buffer-on-caps serialisation.
22230 2005-06-20  Andy Wingo  <wingo@pobox.com>
22232         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22233         will be adding to later.
22235         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22236         if its socks fill with rocks.
22237         (gst_system_clock_obtain): Set the name on object construction.
22238         Avoid double-checked locking.
22240 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22242         * gst/gsturi.c: (gst_element_make_from_uri):
22243           Fix potential endless loop.
22245 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22247         * check/Makefile.am:
22248           add gsttag
22249         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22250         (main):
22251           move over from testsuite dir and clean up
22252         * configure.ac:
22253         * gst/gsttag.c:
22254         * testsuite/Makefile.am:
22255         * testsuite/tags/.cvsignore:
22256         * testsuite/tags/Makefile.am:
22257         * testsuite/tags/merge.c:
22258           remove testsuite/tags
22260 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22262         * docs/gst/gstreamer-sections.txt:
22263         * docs/gst/tmpl/gstenumtypes.sgml:
22264         * win32/gstenumtypes.c:
22265           clean up documentation build a little
22267 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22269         * check/gstcheck.h:
22270           add macros for checking refcounts on objects and caps
22271         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22272           add some more unit tests
22273         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22274         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22275           fix leaked refcounts (I hope :)) so unittest works
22276         * gst/gstpad.h:
22277           whitespace removal
22279 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22281         * configure.ac: back to HEAD
22283 === release 0.9.1 ===
22285 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22287         * NEWS:
22288         * RELEASE:
22289           updated
22291 2005-06-17  Andy Wingo  <wingo@pobox.com>
22293         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22294         assert; it's always possible that the pad gets deactivated in
22295         between the checks in gstpad.c and the implementation. Rely on
22296         finish_preroll() to return a FLUSHING or similar instead of on the
22297         assert.
22298         
22299         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22300         clock and post an EOS message if we come out of finish_preroll in
22301         the playing state.
22303 2005-06-16  David Schleef  <ds@schleef.org>
22305         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22306         (gst_capsfilter_set_property): Allow NULL as possible value
22307         for filter_caps property, indicating GST_CAPS_ANY.
22309 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22311         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22312           fix debug output
22313         * gst/schedulers/Makefile.am:
22314           use libgst prefix
22315         * gstreamer.spec.in:
22316           fix spec for it
22318 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22320         * gstreamer.spec.in:
22321           clean up
22323 2005-06-08  Andy Wingo  <wingo@pobox.com>
22325         * gst/gstutils.c: RPAD fixes all around.
22326         (gst_element_link_pads): Refcounting fixes.
22328         * tools/gst-inspect.c:
22329         * tools/gst-xmlinspect.c:
22330         * parse/grammar.y:
22331         * gst/base/gsttypefindhelper.c:
22332         * gst/base/gstbasesink.c:
22333         * gst/gstqueue.c: RPAD fixes.
22335         * gst/gstghostpad.h:
22336         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22337         pads. The tricky thing is they provide both source and sink
22338         interfaces, since they proxy the internal pad for the external
22339         pad, and vice versa. Implement with lower-level ProxyPad objects,
22340         with the interior proxy pad as a child of the exterior ghost pad.
22341         Should write a doc on this.
22342         
22343         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22344         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22345         gst_object API.
22346         
22347         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22348         pads are real pads. No ghost pads in this file. Not documenting
22349         the myriad s/RPAD/PAD/ and REALIZE fixes.
22350         (gst_pad_class_init): Add properties for "direction" and
22351         "template". Both are construct-only, so they can't change during
22352         the life of the pad. Fixes properly deriving from GstPad.
22353         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22354         derived objects, just set properties when creating the objects via
22355         g_object_new.
22356         (gst_pad_get_parent): Implement as a function, return NULL if the
22357         parent is not an element.
22358         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22359         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22360         
22361         * gst/gstobject.c (gst_object_class_init): Make name a construct
22362         property. Don't set it in the object init.
22364         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22365         with UNKNOWN direction.
22366         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22367         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22368         (gst_element_remove_pad): Remove ghost-pad special cases.
22369         (gst_element_pads_activate): Remove rpad cruft.
22371         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22372         catch the pad's-parent-not-an-element case.
22374         * gst/gst.h: Include gstghostpad.h.
22376         * gst/gst.c (init_post): No more real, ghost pads.
22378         * gst/Makefile.am: Add gstghostpad.[ch].
22380         * check/Makefile.am:
22381         * check/gst/gstbin.c:
22382         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22383         into a bin creates ghost pads, and that the refcounts are right.
22384         Partly moved from gstbin.c.
22386 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22388         * check/gst-libs/.cvsignore:
22389         * check/gst/.cvsignore:
22390         * check/pipelines/.cvsignore:
22391           ignore more
22392         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22393         (START_TEST), (cleanup_suite), (main):
22394           add some tests related to cleanup after running pipelines
22396 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22398         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22399           add a testsuite for GstBuffer
22401 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22403         * gst/gstminiobject.h:
22404           add defines for accessing the refcount
22406 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22408         * Makefile.am: added support for html unit test coverage reports
22410 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22412         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22413           Free existing caps if the capsfilter changes. Add a FIXME about
22414           setting those caps on the pads.
22416         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22417           Before adding a ghost pad to a parent bin, check that there isn't
22418           already one for the element on the bin. Prevents infinite recursion
22419           when using decodebin in parse pipelines. Andy says he'll rewrite the
22420           way this works anyway, so ignore the hack.
22422 2005-06-02  Andy Wingo  <wingo@pobox.com>
22424         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22425         file size, pass it on to the type find helper.
22427         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22428         segment_start and segment_end properly according to the seek
22429         method. Segment_end is still a bit flaky because offset can be
22430         negative for CUR and END cases, but it takes -1 as an "unset"
22431         value.
22433 2005-06-02  Wim Taymans  <wim@fluendo.com>
22435         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22436         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22437         (gst_basesink_activate):
22438         * gst/base/gstbasesink.h:
22439         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22440         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22441         (gst_pad_query), (gst_pad_start_task):
22442         * gst/gstpad.h:
22443         * gst/gstqueue.c: (gst_queue_bufferalloc),
22444         (gst_queue_handle_sink_event), (gst_queue_chain):
22445         Bufferalloc: return GstFlowReturn to more accuratly report
22446         why allocation failed.
22448 2005-06-02  Wim Taymans  <wim@fluendo.com>
22450         * gst/gstpipeline.c: (gst_pipeline_send_event):
22451         Take snapshot of state without blocking.
22453 2005-06-02  Wim Taymans  <wim@fluendo.com>
22455         * docs/design/part-TODO.txt:
22456         * docs/design/part-caps.txt:
22457         * docs/design/part-clocks.txt:
22458         * docs/design/part-negotiation.txt:
22459         * docs/design/part-preroll.txt:
22460         Small doc updates 
22462 2005-05-30  Wim Taymans  <wim@fluendo.com>
22464         * gst/elements/gstidentity.c: (gst_identity_event),
22465         (gst_identity_transform), (gst_identity_get_property):
22466         Protect last_message property as it is accessed from
22467         multiple threads.
22469 2005-05-30  Wim Taymans  <wim@fluendo.com>
22471         * gst/gstelement.c: (gst_element_init),
22472         (gst_element_pads_activate), (gst_element_change_state):
22473         Slicker pad activation code.
22475 2005-05-30  Wim Taymans  <wim@fluendo.com>
22477         * gst/Makefile.am:
22478         * gst/gstelement.h:
22479         * gst/gstelementfactory.h:
22480         * gst/gsttypes.h:
22481         Move elementfactory methods to separate .h file.
22483 2005-05-30  Wim Taymans  <wim@fluendo.com>
22485         * docs/design/part-overview.txt:
22486         * gst/gstsystemclock.h:
22487         Small typo fixes, doc updates.
22489 2005-05-30  Wim Taymans  <wim@fluendo.com>
22491         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22492         (init_popt_callback):
22493         Remove cpu-opt flag.
22495 2005-05-30  Wim Taymans  <wim@fluendo.com>
22497         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22498         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22499         * gst/gstbuffer.h:
22500         Avoid typechecking in places where not needed.
22501         Added accessor for malloc_data.
22503 2005-05-30  Wim Taymans  <wim@fluendo.com>
22505         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22506         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22507         (gst_pad_configure_sink), (gst_pad_configure_src),
22508         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22509         (gst_pad_start_task):
22510         Propagate errors from _set_caps() in configure_src/sink
22511         functions instead of returning TRUE.
22512         FLUSH events can travel up and downstream
22515 2005-05-30  Wim Taymans  <wim@fluendo.com>
22517         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22518         (gst_basesink_activate):
22519         Handle EOS in preroll.
22521 2005-05-30  Wim Taymans  <wim@fluendo.com>
22523         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22524         (gst_queue_loop), (gst_queue_handle_src_event):
22525         Remove old pieces of code
22526         Flushing the queue in an upstream event is a very bad idea.
22528 2005-05-26  Andy Wingo  <wingo@pobox.com>
22530         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22531         gst_value_set_mini_object so as to add a ref on the object (which
22532         will be removed when the value is unset).
22534         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22535         arg type in ::handoff.
22537         * gst/gstelement.c (gst_element_change_state): Also deactivate
22538         pads in READY->NULL, just in case the element didn't make it to
22539         PAUSED. Wingo tested, Wim approved.
22541 2005-05-26  Wim Taymans  <wim@fluendo.com>
22543         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22544         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22545         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22546         A flushing pad cannot be used to alloc_buffer from.
22548 2005-05-26  Wim Taymans  <wim@fluendo.com>
22550         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22551         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22552         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22553         (gst_bus_create_watch), (gst_bus_add_watch_full):
22554         * gst/gstbus.h:
22555         Implement a real GSource and use g_main_context_wakeup() to
22556         signal new messages instead of the socketpair.
22558 2005-05-25  Wim Taymans  <wim@fluendo.com>
22560         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22561         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22562         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22563         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22564         (gst_pad_send_event), (gst_pad_start_task):
22565         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22566         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22567         (gst_queue_sink_activate), (gst_queue_src_activate),
22568         (gst_queue_change_state):
22569         * gst/gstqueue.h:
22570         Fix state changes for non sinks. We now change sinks, then elements
22571         with unconnected srcpads, then the rest.
22572         More efficient queue unlocking in flush and state changes.
22573         Set the pad activate mode even if it does not have an activate
22574         function.
22576 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22578         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22579           Don't go in pull mode for non-seekable sources.
22580         * gst/elements/gsttypefindelement.h:
22581         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22582         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22583         (free_entry), (stop_typefinding),
22584         (gst_type_find_element_handle_event), (find_peek),
22585         (gst_type_find_element_chain), (do_pull_typefind),
22586         (gst_type_find_element_change_state):
22587           Allow typefinding (w/o seeking) in push-mode, simplified version
22588           of what was in 0.8.
22589         * gst/gstutils.c: (gst_buffer_join):
22590         * gst/gstutils.h:
22591           gst_buffer_join() from 0.8.
22593 2005-05-25  Wim Taymans  <wim@fluendo.com>
22595         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22596         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22597         (gst_pad_send_event), (gst_pad_start_task):
22598         Disable attempt at mode switching until it is figured out.
22600 2005-05-25  Wim Taymans  <wim@fluendo.com>
22602         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22603         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22604         (gst_basesink_finish_preroll), (gst_basesink_chain),
22605         (gst_basesink_loop), (gst_basesink_activate),
22606         (gst_basesink_change_state):
22607         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22608         (gst_basesrc_get_range), (gst_basesrc_loop),
22609         (gst_basesrc_activate):
22610         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22611         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22612         (gst_real_pad_init), (gst_real_pad_set_property),
22613         (gst_real_pad_get_property), (gst_pad_set_active),
22614         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22615         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22616         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22617         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22618         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22619         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22620         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22621         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22622         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22623         (gst_pad_stop_task):
22624         * gst/gstpad.h:
22625         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22626         (gst_queue_loop), (gst_queue_src_activate):
22627         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22628         (gst_task_get_state):
22629         * gst/gsttask.h:
22630         * gst/schedulers/threadscheduler.c:
22631         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22632         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22633         in task function.
22634         Remove ACTIVE pad flag, use FLUSHING everywhere
22635         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22636         functions.
22637         Add locks around IS_FLUSHING when reading.
22638         Take STREAM lock in chain(), get_range() functions so plugins
22639         don't need to take it anymore.
22640         
22643 2005-05-25  Wim Taymans  <wim@fluendo.com>
22645         * tools/gst-launch.c: (event_loop):
22646         Unref message after using its contents instead of
22647         before.
22649 2005-05-24  Wim Taymans  <wim@fluendo.com>
22651         * docs/design/draft-ghostpads.txt:
22652         * docs/design/draft-push-pull.txt:
22653         * docs/design/draft-query.txt:
22654         * docs/design/part-overview.txt:
22655         Docs updates, added general overview doc.
22657 2005-05-21  David Schleef  <ds@schleef.org>
22659         * docs/gst/tmpl/old/GstBin.sgml:
22660         * docs/gst/tmpl/old/GstBuffer.sgml:
22661         * docs/gst/tmpl/old/GstCaps.sgml:
22662         * docs/gst/tmpl/old/GstClock.sgml:
22663         * docs/gst/tmpl/old/GstCompat.sgml:
22664         * docs/gst/tmpl/old/GstData.sgml:
22665         * docs/gst/tmpl/old/GstElement.sgml:
22666         * docs/gst/tmpl/old/GstEvent.sgml:
22667         * docs/gst/tmpl/old/GstIndex.sgml:
22668         * docs/gst/tmpl/old/GstStructure.sgml:
22669         * docs/gst/tmpl/old/GstTag.sgml:
22670         * docs/gst/tmpl/old/cothreads.sgml:
22671         * docs/gst/tmpl/old/cothreads_compat.sgml:
22672         * docs/gst/tmpl/old/gettext.sgml:
22673         * docs/gst/tmpl/old/gobject2gtk.sgml:
22674         * docs/gst/tmpl/old/grammar.tab.sgml:
22675         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22676         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22677         * docs/gst/tmpl/old/gst_private.sgml:
22678         * docs/gst/tmpl/old/gstaggregator.sgml:
22679         * docs/gst/tmpl/old/gstarch.sgml:
22680         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22681         * docs/gst/tmpl/old/gstbufferstore.sgml:
22682         * docs/gst/tmpl/old/gstdata_private.sgml:
22683         * docs/gst/tmpl/old/gstdisksink.sgml:
22684         * docs/gst/tmpl/old/gstdisksrc.sgml:
22685         * docs/gst/tmpl/old/gstelementfactory.sgml:
22686         * docs/gst/tmpl/old/gstextratypes.sgml:
22687         * docs/gst/tmpl/old/gstfakesink.sgml:
22688         * docs/gst/tmpl/old/gstfakesrc.sgml:
22689         * docs/gst/tmpl/old/gstfdsink.sgml:
22690         * docs/gst/tmpl/old/gstfdsrc.sgml:
22691         * docs/gst/tmpl/old/gstfilesink.sgml:
22692         * docs/gst/tmpl/old/gstfilesrc.sgml:
22693         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22694         * docs/gst/tmpl/old/gstidentity.sgml:
22695         * docs/gst/tmpl/old/gstindexfactory.sgml:
22696         * docs/gst/tmpl/old/gstmarshal.sgml:
22697         * docs/gst/tmpl/old/gstmd5sink.sgml:
22698         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22699         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22700         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22701         * docs/gst/tmpl/old/gstpipefilter.sgml:
22702         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22703         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22704         * docs/gst/tmpl/old/gstshaper.sgml:
22705         * docs/gst/tmpl/old/gstspider.sgml:
22706         * docs/gst/tmpl/old/gstspideridentity.sgml:
22707         * docs/gst/tmpl/old/gststatistics.sgml:
22708         * docs/gst/tmpl/old/gsttee.sgml:
22709         * docs/gst/tmpl/old/gsttimecache.sgml:
22710         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22711         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22712         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22713         * docs/gst/tmpl/old/types.sgml:
22714           I didn't intend to add these or check them in.
22716 2005-05-19  David Schleef  <ds@schleef.org>
22718         * configure.ac: Use -no-common everywhere.  In a sane world, it
22719           would be the default in libtool, because without it, you can't
22720           build DLLs on Windows.
22721         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22722         * docs/gst/gstreamer-sections.txt:
22723         * docs/gst/tmpl/gstcpu.sgml:
22724         * docs/gst/tmpl/gstdata.sgml:
22725         * docs/gst/tmpl/gstthread.sgml:
22727 2005-05-19  David Schleef  <ds@schleef.org>
22729         * gst/gstminiobject.c: (gst_value_set_mini_object),
22730         (gst_value_take_mini_object), (gst_value_get_mini_object):
22731         * gst/gstminiobject.h: Add GValue set/get functions.
22733 2005-05-19  Wim Taymans  <wim@fluendo.com>
22735         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22736         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22737         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22738         * gst/gstbuffer.h:
22739         * gst/gstbus.c: (gst_bus_post):
22740         * gst/gstelement.c: (gst_element_get_random_pad):
22741         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22742         Make subbufer unref the parent in finalize.
22743         some more debugging info.
22746 2005-05-19  Wim Taymans  <wim@fluendo.com>
22748         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22749         (gst_basesink_init), (gst_basesink_finalize),
22750         (gst_basesink_activate), (gst_basesink_change_state):
22751         Don't free preroll queue too early.
22753 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22755         * gst/Makefile.am:
22756         * gst/ROADMAP:
22757           Hi, I'm outdated. Please shoot me.
22759 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22761         * gst/gstpipeline.c: (gst_pipeline_send_event):
22762           Do not access variables after they have been deleted.
22764 2005-05-19  Wim Taymans  <wim@fluendo.com>
22766         * tools/gst-inspect.c: (print_plugin_features):
22767         A plugin feature does unfortunatly not use the
22768         object name yet...
22770 2005-05-18  Wim Taymans  <wim@fluendo.com>
22772         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22773         Port _span() functions to new subbuffers.
22775 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22777         * gst/gstbin.c: (gst_bin_add_func):
22778           Fix clock settery in bins when adding kids after the clock has
22779           been selected.
22781 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22783         * gst/elements/gstidentity.c: (gst_identity_class_init):
22784           Workaround until signals support GstMiniObject.
22786 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
22788         * gst/gstbuffer.c:
22789         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22791 2005-05-18  Wim Taymans  <wim@fluendo.com>
22793         * gst/base/Makefile.am:
22794         * gst/base/gstadapter.c: (gst_adapter_base_init),
22795         (gst_adapter_class_init), (gst_adapter_init),
22796         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22797         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22798         (gst_adapter_flush), (gst_adapter_available),
22799         (gst_adapter_available_fast):
22800         * gst/base/gstadapter.h:
22801         Ported and added adapter to the base classes.
22803 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22805         * gst/gst.c:
22806         * gst/gstmessage.c:
22807           Make sure the class is reffed/unreffed once before threads can be
22808           used.  Fixes #304551.
22810 2005-05-17  Wim Taymans  <wim@fluendo.com>
22812         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22813         (gst_basesink_chain_unlocked), (gst_basesink_activate):
22814         * gst/gstminiobject.c: (gst_mini_object_get_type),
22815         (gst_mini_object_free):
22816         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22817         (gst_pad_push), (gst_pad_push_event):
22818         * gst/gstqueue.c: (gst_queue_change_state):
22819         Don't queue buffers in basesink when we are flushing.
22820         Unref buffer when flushing in basesink.
22821         Flush queue when going to READY
22822         Unref buffer when _push() returns an error.
22823         Don't free MiniObject instance when refcount is incremented
22824         in _finalize() so that we can recover objects.
22826 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22828         * docs/manual/advanced-schedulers.xml:
22829         * docs/manual/appendix-checklist.xml:
22830         * docs/pwg/advanced-clock.xml:
22831         * docs/pwg/advanced-interfaces.xml:
22832         * docs/pwg/advanced-request.xml:
22833         * docs/pwg/advanced-types.xml:
22834         * docs/pwg/intro-preface.xml:
22835         * examples/plugins/example.c: (gst_example_get_type),
22836         (gst_example_class_init), (gst_example_chain),
22837         (gst_example_set_property), (gst_example_get_property),
22838         (gst_example_change_state), (plugin_init):
22839         * examples/plugins/example.h:
22840           small doc fixes
22842 2005-05-17  Wim Taymans  <wim@fluendo.com>
22844         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22845         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22846         * gst/gstqueue.c: (gst_queue_change_state):
22847         Clear queue when going to READY.
22848         Remove IN_SETCAPS flag too.
22850 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
22852         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22853           Remove implicit cast from gboolean to GstElementStateReturn;
22854           make sure we still return failure in paused => ready case if
22855           the parent class fails to change state and our own stop 
22856           vfunc succeeds.
22858 2005-05-17  Wim Taymans  <wim@fluendo.com>
22860         * tools/gst-launch.c: (event_loop):
22861         Message was unreffed too soon.
22863 2005-05-16  Andy Wingo  <wingo@pobox.com>
22865         * gst/gstbin.c (sink_iterator_filter): Err... um...
22867         * check/gst/gstbin.c (test_ghost_pads): New test for the
22868         ghosting-if-elements-not-in-same-bin behavior.
22870 2005-05-16  David Schleef  <ds@schleef.org>
22872         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22873         accessing refcount directly.
22875 2005-05-15  David Schleef  <ds@schleef.org>
22877         * check/Makefile.am: remove GstData checks
22878         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22879         * gst/Makefile.am: add miniobject, remove data
22880         * gst/gst.h: add miniobject, remove data
22881         * gst/gstdata.c: remove
22882         * gst/gstdata.h: remove
22883         * gst/gstdata_private.h: remove
22884         * gst/gsttypes.h: remove GstEvent and GstMessage
22885         * gst/gstelement.c: (gst_element_post_message): fix for API changes
22886         * gst/gstmarshal.list: change BOXED -> OBJECT
22888         Implement GstMiniObject.
22889         * gst/gstminiobject.c:
22890         * gst/gstminiobject.h:
22892         Modify to be subclasses of GstMiniObject.
22893         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22894         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22895         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22896         (gst_subbuffer_get_type), (gst_subbuffer_init),
22897         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22898         (gst_buffer_span):
22899         * gst/gstbuffer.h:
22900         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22901         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22902         (_gst_event_copy), (gst_event_new):
22903         * gst/gstevent.h:
22904         * gst/gstmessage.c: (_gst_message_initialize),
22905         (gst_message_get_type), (gst_message_class_init),
22906         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22907         (gst_message_new), (gst_message_new_error),
22908         (gst_message_new_warning), (gst_message_new_tag),
22909         (gst_message_new_state_changed), (gst_message_new_application):
22910         * gst/gstmessage.h:
22911         * gst/gstprobe.c: (gst_probe_perform),
22912         (gst_probe_dispatcher_dispatch):
22913         * gst/gstprobe.h:
22914         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22915         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22916         (_gst_query_copy), (gst_query_new):
22918         Update elements for GstData -> GstMiniObject changes
22919         * gst/gstquery.h:
22920         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22921         (gst_queue_chain), (gst_queue_loop):
22922         * gst/elements/gstbufferstore.c:
22923         (gst_buffer_store_add_buffer_func),
22924         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22925         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22926         (gst_fakesink_render):
22927         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22928         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22929         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22930         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22931         (gst_filesrc_create_read):
22932         * gst/elements/gstidentity.c: (gst_identity_class_init):
22933         * gst/elements/gsttypefindelement.c:
22934         (gst_type_find_element_src_event), (free_entry_buffers),
22935         (gst_type_find_element_handle_event):
22936         * libs/gst/dataprotocol/dataprotocol.c:
22937         (gst_dp_header_from_buffer):
22938         * libs/gst/dataprotocol/dataprotocol.h:
22939         * libs/gst/dataprotocol/dp-private.h:
22941 2005-05-15  David Schleef  <ds@schleef.org>
22943         * gst/elements/gstelements.c: Don't include headers that were
22944         just removed.
22946 2005-05-15  David Schleef  <ds@schleef.org>
22948         * gst/elements/Makefile.am: Remove some elements that don't
22949         need to be in the core (or even exist at all).
22950         * gst/elements/gstaggregator.c:
22951         * gst/elements/gstaggregator.h:
22952         * gst/elements/gstmd5sink.c:
22953         * gst/elements/gstmd5sink.h:
22954         * gst/elements/gstmultifilesrc.c:
22955         * gst/elements/gstmultifilesrc.h:
22956         * gst/elements/gstpipefilter.c:
22957         * gst/elements/gstpipefilter.h:
22958         * gst/elements/gstshaper.c:
22959         * gst/elements/gstshaper.h:
22960         * gst/elements/gststatistics.c:
22961         * gst/elements/gststatistics.h:
22962         * po/POTFILES.in: Remove above files.
22964 2005-05-14  Andy Wingo  <wingo@pobox.com>
22966         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22967         so as to get the refs right.
22968         (sink_iterator_filter): New function, wraps bin_element_is_sink,
22969         unreffing objects that don't pass the filter.
22971         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22972         gst_element_set_bus.
22973         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22974         normal cases, this will destroy the bus.
22976         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22977         object.
22979         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22980         has no sinks.
22982 2005-05-13  Andy Wingo  <wingo@pobox.com>
22984         * gst/gstutils.c (gst_element_link_pads): Instead of calling
22985         gst_pad_link, call pad_link_maybe_ghosting,
22986         (pad_link_maybe_ghosting): Links pads, making sure that the
22987         elements being linked are in the same bin.
22988         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22989         Helpers for pad_link_maybe_ghosting.
22991 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22993         * configure.ac:
22994           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22996 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22998         * docs/design/part-element-source.txt:
22999           Mention GstPushSrc
23001 2005-05-12  Wim Taymans  <wim@fluendo.com>
23003         * gst/base/gstbasesink.c: (gst_basesink_init),
23004         (gst_basesink_activate):
23005         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23006         (gst_basesrc_is_seekable):
23007         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23008         (bin_element_is_sink), (gst_bin_change_state):
23009         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23010         * gst/gstelement.h:
23011         Identify sinks by their flag to avoid overly complicated
23012         checks (fow now).
23013         Do state changes even for elements not reachable from the
23014         sinks.
23015         BaseSink is a sink now :)
23016         Some more debugging info in the basesrc.
23019 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23021         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23022           Implement _query on a bin, similar to _send_event.
23024 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
23026         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23027           Discont event offset format should be GST_FORMAT_BYTES,
23028           not GST_FORMAT_TIME.
23030 2005-05-12  Wim Taymans  <wim@fluendo.com>
23032         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23033         Same fix as Ronald's but without the signal. 
23035 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23037         * gst/gstutils.c: (gst_element_query_position):
23038           No, an element is not a pad.
23040 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23042         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23043         (gst_bin_get_state):
23044           If a child is removed from a bin while we remove the child from
23045           the bin and while we're retrieving its state, signal this to the
23046           get_state function so we abort the wait (instead of waiting for
23047           a timeout) and can immediately re-iterate over all other elements.
23049 2005-05-12  Wim Taymans  <wim@fluendo.com>
23051         * gst/base/Makefile.am:
23052         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23053         (gst_basesrc_start):
23054         * gst/base/gstbasesrc.h:
23055         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23056         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23057         (gst_pushsrc_init), (gst_pushsrc_create):
23058         * gst/base/gstpushsrc.h:
23059         Added is_seekable to BaseSrc
23060         Added simple PushSrc.
23062 2005-05-11  Wim Taymans  <wim@fluendo.com>
23064         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23065         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23066         (gst_element_link_pads), (gst_element_query_position),
23067         (gst_element_query_convert), (intersect_caps_func),
23068         (gst_pad_query_position), (gst_pad_query_convert):
23069         Fix refcounting in utils function.
23070         No point in trying to activate a pad when it's added, it could
23071         be added from the state change function and then we deadlock, the
23072         element has to decide what to do.
23074 2005-05-10  Andy Wingo  <wingo@pobox.com>
23076         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23077         *all* the arguments.
23079         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23080         stream lock if it's a FLUSH_DONE; normal flushes don't get the
23081         lock (according to the docs -- if this is wrong change the docs).
23083         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23084         flush messages in the NULL state.
23086         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23087         message immediately and return.
23088         (gst_bus_set_flushing): New function. If a bus is flushing, it
23089         flushes out any queued messages and immediately unrefs new
23090         messages. This is so when an element goes to NULL, all of the
23091         unhandled messages coming from it can be freed, and their
23092         references to the element dropped. In other words: message source
23093         ref considered harmful :P
23095         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23096         we're finished with it.
23098         * gst/gstmessage.c (gst_message_new_state_changed): 
23100 2005-05-10  Wim Taymans  <wim@fluendo.com>
23102         * gst/gstvalue.c: (gst_value_compare_flags),
23103         (gst_value_serialize_flags), (gst_value_deserialize_flags),
23104         (_gst_value_initialize):
23105         Added flags serialize/deserialize/compare code.
23107 2005-05-09  Andy Wingo  <wingo@pobox.com>
23109         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23110         Intersect the peer's caps with our caps.
23112 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23114         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23115         * gst/elements/gsttypefindelement.c: (find_peek):
23116           Handle negative offsets better. Fixes decodebin.
23118 2005-05-09  Wim Taymans  <wim@fluendo.com>
23120         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23121         (gst_base_transform_event):
23122         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23123         Implement accept_caps.
23124         Fix silly lock/unlock mismatch in base class.
23126 2005-05-09  Wim Taymans  <wim@fluendo.com>
23128         * docs/design/draft-push-pull.txt:
23129         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23130         * gst/elements/gstfilesink.c: (gst_filesink_init),
23131         (gst_filesink_query):
23132         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23133         (gst_type_find_handle_src_query), (find_element_get_length):
23134         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23135         * gst/gstelement.h:
23136         * gst/gstmessage.c:
23137         * gst/gstmessage.h:
23138         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23139         (gst_real_pad_get_caps_unlocked),
23140         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23141         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23142         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23143         (gst_real_pad_dispose), (gst_real_pad_finalize),
23144         (gst_pad_load_and_link), (gst_pad_save_thyself),
23145         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23146         (gst_pad_check_pull_range), (gst_pad_pull_range),
23147         (gst_pad_template_get_type), (gst_pad_template_class_init),
23148         (gst_pad_template_init), (gst_pad_template_dispose),
23149         (name_is_valid), (gst_static_pad_template_get),
23150         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23151         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23152         (gst_pad_get_element_private), (gst_pad_start_task),
23153         (gst_pad_pause_task), (gst_pad_stop_task),
23154         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23155         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23156         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23157         (gst_ghost_pad_new):
23158         * gst/gstpad.h:
23159         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23160         (gst_query_new_position), (gst_query_set_position),
23161         (gst_query_parse_position), (gst_query_new_convert),
23162         (gst_query_set_convert), (gst_query_parse_convert):
23163         * gst/gstquery.h:
23164         * gst/gstqueryutils.c:
23165         * gst/gstqueryutils.h:
23166         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23167         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23168         (gst_queue_handle_src_query):
23169         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23170         (gst_element_query_position), (gst_element_query_convert),
23171         (intersect_caps_func), (gst_pad_query_position),
23172         (gst_pad_query_convert):
23173         * gst/gstutils.h:
23174         * tools/gst-inspect.c: (print_pad_info):
23175         * tools/gst-xmlinspect.c: (print_element_info):
23176         Remove old query functions. Ported old code.
23177         Added position/convert helper functions to gstutils.
23178         Reordered gstpad.c code, grouping relevant things.
23179         Remove gst_message_new(), always need to speficy a specific
23180         message.
23183 2005-05-09  Andy Wingo  <wingo@pobox.com>
23185         * gst/gstiterator.h: Add some includes.
23187         * gst/gstqueryutils.h: Include more headers.
23189         * gst/gstpad.h:
23190         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23191         some uses of gst_pad_query.
23193         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23194         NULL out parameters.
23195         (gst_query_new_position): New proc, allocates a new position
23196         query.
23198         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23199         gstqueryutils.c to the build.
23201         * gst/gststructure.c (gst_structure_set_valist): Implement with
23202         the generic G_VALUE_COLLECT.
23203         
23204 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23206         * gst/Makefile.am: (gst_headers):
23207         Added gstqueryutils.h to the list of headers to install, that was
23208         a 'nachty' move wingo :)
23210 2005-05-06  Andy Wingo  <wingo@pobox.com>
23212         * gst/gstquery.h
23213         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23214         GstData, init a memchunk.
23215         (standard_definitions): Add a few query types, deprecate a few.
23216         (gst_query_get_type): New proc.
23217         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23218         implementation.
23219         (gst_query_new_application, gst_query_get_structure): New public
23220         procs.
23222         * docs/design/draft-query.txt: Removed LINKS from the query types,
23223         because all the rest can be dispatched to other pads -- seemed
23224         ugly to have a query that couldn't be dispatched. internal_links
23225         is fine as a pad method.
23227         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23228         in gstpad.c, but maintain binary compatibility for the moment.
23229         Will fix before 0.9 is out.
23231         * gst/gstqueryutils.c: 
23232         * gst/gstqueryutils.h: New files, implement 3 methods for each
23233         query type: parse_query, parse_response, and set. Probably need an
23234         allocator as well.
23236         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23238         * gst/elements/gstfilesink.c (gst_filesink_query2):
23239         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23240         query_types, and formats methods.
23242         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23243         (gst_pad_set_query2_function): New functions.
23244         (gst_real_pad_init): Set query2_default as the default query2
23245         function. Basically just dispatches to internally linked pads.
23247         Needs review!
23248         
23249         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23250         without using the atomic operations. Only one thread can possibly
23251         be accessing the data at this point. Changed so as to avoid
23252         gst_atomic operations.
23254 2005-05-06  Wim Taymans  <wim@fluendo.com>
23256         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23257         Also set caps if we use the fallback buffer alloc.
23259 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23261         * docs/gst/Makefile.am:
23262         * docs/gst/gstreamer-docs.sgml:
23263         * docs/gst/gstreamer-sections.txt:
23264         * docs/gst/tmpl/gstatomic.sgml:
23265         * docs/gst/tmpl/gstmemchunk.sgml:
23266         * testsuite/elements/struct_i386.h:
23267         * win32/GStreamer.vcproj:
23268         * win32/Makefile:
23269           Purge GstAtomic stuff from docs and win32 makefiles as well
23271 2005-05-06  Wim Taymans  <wim@fluendo.com>
23273         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23274         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23275         * gst/gstpad.c: (gst_pad_peer_get_caps):
23276         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23277         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23278         (gst_queue_src_activate), (gst_queue_change_state):
23279         * gst/gstqueue.h:
23280         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23281         (intersect_caps_func):
23282         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23283         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23284         Some fixes for the peer_get_caps() change.
23286 2005-05-06  Wim Taymans  <wim@fluendo.com>
23288         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23289         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23290         (gst_basesink_activate):
23291         Actually do something with error codes returned from the push
23292         functions.
23294 2005-05-06  Wim Taymans  <wim@fluendo.com>
23296         * docs/design/part-element-sink.txt:
23297         * docs/design/part-element-source.txt:
23298         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23299         (gst_basesink_event), (gst_basesink_activate):
23300         * gst/base/gstbasesink.h:
23301         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23302         (gst_basesrc_activate):
23303         * gst/base/gstbasesrc.h:
23304         * gst/gstelement.c: (gst_element_pads_activate):
23305         Some more documentation.
23306         Fixed scheduling decision in _pads_activate().
23308 2005-05-05  Andy Wingo  <wingo@pobox.com>
23310         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23311         the test suite.
23313 2005-05-05  Wim Taymans  <wim@fluendo.com>
23315         * gst/base/Makefile.am:
23316         * gst/base/gstbasesink.h:
23317         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23318         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23319         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23320         (gst_collectpads_class_init), (gst_collectpads_init),
23321         (gst_collectpads_finalize), (gst_collectpads_new),
23322         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23323         (find_pad), (gst_collectpads_remove_pad),
23324         (gst_collectpads_is_active), (gst_collectpads_collect),
23325         (gst_collectpads_collect_range), (gst_collectpads_start),
23326         (gst_collectpads_stop), (gst_collectpads_peek),
23327         (gst_collectpads_pop), (gst_collectpads_available),
23328         (gst_collectpads_read), (gst_collectpads_flush),
23329         (gst_collectpads_chain):
23330         * gst/base/gstcollectpads.h:
23331         * gst/elements/Makefile.am:
23332         * gst/elements/gstelements.c:
23333         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23334         (gst_fakesink_get_times), (gst_fakesink_event),
23335         (gst_fakesink_preroll), (gst_fakesink_render):
23336         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23337         (gst_filesink_init), (gst_filesink_set_location),
23338         (gst_filesink_open_file), (gst_filesink_close_file),
23339         (gst_filesink_pad_query), (gst_filesink_event),
23340         (gst_filesink_render), (gst_filesink_change_state):
23341         * gst/elements/gstfilesink.h:
23342         Added object to help in making collect pad based elements.
23343         Ported filesink.
23344         Make event function in sink baseclass return gboolean.
23346 2005-05-05  Wim Taymans  <wim@fluendo.com>
23348         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23349         (gst_bin_get_by_name):
23350         * gst/gstbuffer.h:
23351         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23352         (gst_clock_finalize):
23353         * gst/gstdata.c: (gst_data_replace):
23354         * gst/gstdata.h:
23355         * gst/gstelement.c: (gst_element_request_pad),
23356         (gst_element_pads_activate):
23357         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23358         (gst_object_unref):
23359         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23360         (gst_pad_set_checkgetrange_function),
23361         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23362         (gst_pad_check_pull_range), (gst_pad_pull_range),
23363         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23364         (gst_pad_pause_task), (gst_pad_stop_task):
23365         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23366         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23367         Fix name lookup in GstBin.
23368         Added _data_replace() function and _buffer_replace()
23369         Use finalize method to clean up clock.
23370         Fix refcounting on request pads.
23371         Fix pad schedule mode error.
23372         Some more object refcounting debug info,
23375 2005-05-04  Andy Wingo <wingo@pobox.com>
23377         * check/Makefile.am:
23378         * docs/gst/tmpl/gstatomic.sgml:
23379         * docs/gst/tmpl/gstplugin.sgml:
23380         * gst/base/gstbasesink.c: (gst_basesink_activate):
23381         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23382         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23383         (gst_basesrc_query), (gst_basesrc_set_property),
23384         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23385         (gst_basesrc_activate):
23386         * gst/base/gstbasesrc.h:
23387         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23388         (gst_base_transform_src_activate):
23389         * gst/elements/gstelements.c:
23390         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23391         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23392         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23393         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23394         (gst_type_find_element_checkgetrange),
23395         (gst_type_find_element_activate):
23396         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23397         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23398         (gst_caps_load_thyself):
23399         * gst/gstelement.c: (gst_element_pads_activate),
23400         (gst_element_save_thyself), (gst_element_restore_thyself):
23401         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23402         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23403         * gst/gstpad.h:
23404         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23405         (gst_xml_parse_file), (gst_xml_parse_memory),
23406         (gst_xml_get_element), (gst_xml_make_element):
23407         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23408         (_file_index_id_save_xml), (gst_file_index_commit):
23409         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23410         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23411         (load_paths):
23412         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23413         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23414         * tools/gst-complete.c: (main):
23415         * tools/gst-compprep.c: (main):
23416         * tools/gst-inspect.c: (print_element_properties_info):
23417         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23418         * tools/gst-xmlinspect.c: (print_element_properties):
23419         GCC 4 fixen.
23420         
23421 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23423         * gst/gstplugin.c: (gst_plugin_check_module),
23424         (gst_plugin_check_file), (gst_plugin_load_file):
23425             apply patch from #172526 to make register work on MacOSX
23427 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23429         * docs/gst/tmpl/gstconfig.sgml:
23430         * gst/gstconfig.h.in:
23431           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23432         * testsuite/debug/printf_extension.c: (main):
23433           Do not use GST_PTR_FORMAT on pointers to types with
23434           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23435         * testsuite/elements/property.h:
23436           use correct printf format
23438 2005-05-02  Wim Taymans  <wim@fluendo.com>
23440         * docs/design/draft-push-pull.txt:
23441         * docs/design/draft-query.txt:
23442         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23443         (gst_basesrc_start):
23444         Added draft for new query API.
23445         Added draft for better selecting scheduling methods.
23446         Make basesrc ignore length if the subclass does not support
23447         it.
23449 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23451         * gst/Makefile.am:
23452           possible fixes for automake-1.5 - _LIBADD is reserved
23454 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23456         * docs/faq/Makefile.am:
23457         * docs/manual/Makefile.am:
23458         * docs/manuals.mak:
23459         * docs/pwg/Makefile.am:
23460         * gst/Makefile.am:
23461           possible fixes for automake-1.5
23463 2005-04-28  Wim Taymans  <wim@fluendo.com>
23465         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23466         (gst_basesink_pad_getcaps), (gst_basesink_init),
23467         (gst_basesink_do_sync):
23468         * gst/gstclock.c: (gst_clock_entry_new):
23469         * gst/gstevent.c: (gst_event_discont_get_value):
23470         * gst/gstpipeline.c: (pipeline_bus_handler),
23471         (gst_pipeline_change_state):
23472         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23473         Better debugging of clocking info.
23474         Allow NULL values when getting discont values.
23476 2005-04-27  Wim Taymans  <wim@fluendo.com>
23478         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23479         * check/gst/gstpad.c: (gst_pad_suite):
23480         Increase timeout for checks.
23482 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23484         * check/Makefile.am:
23485           fix the broken rule for cleanup.  Apparently this rule is
23486           only needed on FC2, so maybe this warrants further autotool
23487           inspection.
23489 2005-04-26  Wim Taymans  <wim@fluendo.com>
23491         * gst/gsttrashstack.h:
23492         Ooohh. a nasty one! After having a failed pop() from the stack,
23493         it's possible that the stack is empty. In that case, don't
23494         follow the NULL pointer.
23496 2005-04-25  Wim Taymans  <wim@fluendo.com>
23498         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23499         (gst_pad_set_checkgetrange_function),
23500         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23501         (gst_pad_check_pull_range), (gst_pad_pull_range),
23502         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23503         (gst_pad_pause_task), (gst_pad_stop_task):
23504         * gst/gstplugin.c: (gst_plugin_load):
23505         * gst/gstplugin.h:
23506         Remove gst_library_load as it does more harm than good with
23507         the new g_module flags.
23508         Revert bogus caps template check in pad linking, pad caps
23509         are important when linking not the template, which is more
23510         general than the current caps.
23512 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23514         * gst/autoplug/.cvsignore:
23515         * gst/autoplug/Makefile.am:
23516         * gst/autoplug/gstsearchfuncs.c:
23517         * gst/autoplug/gstsearchfuncs.h:
23518         * gst/autoplug/gstspider.c:
23519         * gst/autoplug/gstspider.h:
23520         * gst/autoplug/gstspideridentity.c:
23521         * gst/autoplug/gstspideridentity.h:
23522         * gst/autoplug/spidertest.c:
23523           Die, spider, die.
23525 2005-04-25  Wim Taymans  <wim@fluendo.com>
23527         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23528         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23529         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23530         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23531         * gst/gstpad.h:
23532         Added stubs for unimplemented functions. 
23534 2005-04-24  David Schleef  <ds@schleef.org>
23536         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23537         please fix.
23539 2005-04-24  David Schleef  <ds@schleef.org>
23541         Convert everything from GstAtomicInt to g_atomic_int_*, and
23542         remove gstatomic.
23543         * gst/Makefile.am:
23544         * gst/gstatomic.c:
23545         * gst/gstatomic.h:
23546         * gst/gstatomic_impl.h:
23547         * gst/gstbuffer.c:
23548         * gst/gstcaps.c:
23549         * gst/gstcaps.h:
23550         * gst/gstclock.c:
23551         * gst/gstclock.h:
23552         * gst/gstdata.c:
23553         * gst/gstdata.h:
23554         * gst/gstdata_private.h:
23555         * gst/gstevent.c:
23556         * gst/gstinfo.c:
23557         * gst/gstinfo.h:
23558         * gst/gstmessage.c:
23559         * gst/gstobject.c:
23560         * gst/gstobject.h:
23561         * gst/gststructure.c:
23562         * gst/gststructure.h:
23563         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23564         * gst/gstutils.h:
23566 2005-04-24  David Schleef  <ds@schleef.org>
23568         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23569         make the regressions tests work.  Remove some code that is no
23570         longer true.
23571         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23572         Disable warning for pads without templates.
23574 2005-04-24  David Schleef  <ds@schleef.org>
23576         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23577         functions that handle filtered links.
23578         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23579         removed functions.
23580         * gst/gstutils.c: Fix/remove utility functions that handle
23581         filtered caps.
23582         * gst/gstutils.h:
23583         * gst/gstvalue.c: Add serialization/deserialization of caps
23584         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23585         requires fixing so that the filter caps notation creates
23586         a capsfilter element and sets the filter_caps property.  I
23587         think everyone probably wants to keep the shorthand notation.
23588         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23589         * docs/gst/tmpl/gstpad.sgml:
23591         * gst/elements/gstelements.c: Register capsfilter element.
23592         * gst/Makefile.am: fix spacing
23593         * docs/random/ds/0.9-suggested-changes: random
23595 2005-04-23  David Schleef  <ds@schleef.org>
23597         * gst/elements/Makefile.am:
23598         * gst/elements/gstcapsfilter.c: New element that acts like an
23599         identity, but filters caps.  Will eventually replace filtered
23600         caps in pad linking.
23601         * gst/gstutils.c: (gst_element_create_all_pads): New function
23602         to create all the ALWAYS pads that are registered with an
23603         element class.  This functionality should eventually be
23604         merged in with GstElement initialization.
23605         * gst/gstutils.h:
23606         * testsuite/trigger/README: part of trigger test code that should
23607         have been checked in a long time ago.
23609 2005-04-23  David Schleef  <ds@schleef.org>
23611         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23612         needed with new versions of libtool (nobody will confirm this),
23613         and hard to carry around.
23614         * gst/autoplug/Makefile.am:
23615         * gst/base/Makefile.am:
23616         * gst/elements/Makefile.am:
23617         * gst/indexers/Makefile.am:
23618         * gst/schedulers/Makefile.am:
23619         * libs/gst/bytestream/Makefile.am:
23620         * libs/gst/control/Makefile.am:
23621         * libs/gst/dataprotocol/Makefile.am:
23622         * libs/gst/getbits/Makefile.am:
23624 2005-04-21  Wim Taymans  <wim@fluendo.com>
23626         * docs/design/draft-push-pull.txt:
23627         * docs/design/part-MT-refcounting.txt:
23628         * docs/design/part-TODO.txt:
23629         * docs/design/part-caps.txt:
23630         * docs/design/part-events.txt:
23631         * docs/design/part-gstbus.txt:
23632         * docs/design/part-gstpipeline.txt:
23633         * docs/design/part-messages.txt:
23634         * docs/design/part-push-pull.txt:
23635         * docs/design/part-query.txt:
23636         Some more docs.
23638 2005-04-21  Wim Taymans  <wim@fluendo.com>
23640         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23641         (gst_message_new), (gst_message_new_error),
23642         (gst_message_new_warning), (gst_message_new_tag),
23643         (gst_message_new_state_changed), (gst_message_new_application),
23644         (gst_message_get_structure):
23645         * gst/gstmessage.h:
23646         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23647         (gst_structure_copy_conditional):
23648         Use parent refcount in GstMessage to ensure GstStructure
23649         consistency.
23650         Cleaned up headers a bit.
23651         
23653 2005-04-20  Wim Taymans  <wim@fluendo.com>
23655         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23656         (gst_basesink_pad_getcaps), (gst_basesink_init),
23657         (gst_basesink_chain_unlocked):
23658         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23659         (gst_type_find_helper):
23660         * gst/elements/gsttypefindelement.c:
23661         (gst_type_find_element_have_type), (gst_type_find_element_init),
23662         (stop_typefinding), (gst_type_find_element_handle_event),
23663         (find_suggest), (gst_type_find_element_chain),
23664         (gst_type_find_element_checkgetrange),
23665         (gst_type_find_element_getrange), (do_typefind),
23666         (gst_type_find_element_activate):
23667         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23668         (gst_buffer_default_free), (gst_buffer_default_copy),
23669         (gst_buffer_set_caps):
23670         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23671         (gst_caps_replace):
23672         * gst/gstmessage.c: (gst_message_new),
23673         (gst_message_new_state_changed):
23674         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23675         (gst_pad_set_checkgetrange_function),
23676         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23677         (gst_pad_set_caps), (gst_pad_check_pull_range),
23678         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23679         * gst/gstpad.h:
23680         * gst/gsttypefind.c: (gst_type_find_register):
23681         Make gst_caps_replace() work like other _replace() functions.
23682         Use _caps_replace() where possible.
23683         Make sure _message_new() initialises its field.
23684         Add gst_static_pad_template_get_caps()
23687 2005-04-18  Andy Wingo  <wingo@pobox.com>
23689         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23690         on the peer, not the pad. I think that was a typo. Pass an extra
23691         arg to see if random access is possible. Activate the pads as
23692         PULL_RANGE if possible.
23694         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23696         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23697         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23698         to PROP_....
23700 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23702         * docs/faq/using.xml:
23703           Add note on gstreamer-properties (#154996).
23705 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23707         * docs/random/bbb/optional-properties:
23708           Some analysis on optional properties.
23710 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23712         * docs/gst/tmpl/gstelementfactory.sgml:
23713         * gst/gstelement.h:
23714         * gst/gstelementfactory.c: (gst_element_factory_init),
23715         (gst_element_factory_cleanup), (gst_element_register),
23716         (__gst_element_factory_add_static_pad_template),
23717         (gst_element_factory_get_static_pad_templates),
23718         (gst_element_factory_can_src_caps),
23719         (gst_element_factory_can_sink_caps):
23720         * gst/registries/Makefile.am:
23721         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23722         (gst_xml_registry_class_init), (gst_xml_registry_init),
23723         (gst_xml_registry_new), (gst_xml_registry_set_property),
23724         (gst_xml_registry_get_property), (get_time), (make_dir),
23725         (gst_xml_registry_get_perms_func),
23726         (plugin_times_older_than_recurse), (plugin_times_older_than),
23727         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23728         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23729         (add_to_char_array), (read_string), (read_uint), (read_enum),
23730         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23731         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23732         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23733         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23734         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23735         (gst_xml_registry_rebuild):
23736         * gst/registries/gstlibxmlregistry.h:
23737         * tools/gst-compprep.c: (main):
23738         * tools/gst-inspect.c: (print_pad_templates_info):
23739         * tools/gst-xmlinspect.c: (print_element_info):
23740           Use libxml2 for registry parsing, use staticpadtemplates in
23741           elementfactories. Makes gst_init() +/- 10x faster.
23743 2005-04-12  Wim Taymans  <wim@fluendo.com>
23745         * gst/base/Makefile.am:
23746         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23747         (gst_basesink_pad_getcaps), (gst_basesink_init),
23748         (gst_basesink_event), (gst_basesink_change_state):
23749         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23750         (gst_basesrc_init), (gst_basesrc_query),
23751         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23752         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23753         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23754         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23755         (gst_basesrc_stop), (gst_basesrc_activate),
23756         (gst_basesrc_change_state):
23757         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23758         (helper_find_suggest), (gst_type_find_helper):
23759         * gst/base/gsttypefindhelper.h:
23760         * gst/elements/Makefile.am:
23761         * gst/elements/gstelements.c:
23762         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23763         (gst_fakesink_get_times), (gst_fakesink_event),
23764         (gst_fakesink_preroll), (gst_fakesink_render):
23765         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23766         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23767         (gst_fakesrc_get_property), (gst_fakesrc_create),
23768         (gst_fakesrc_start), (gst_fakesrc_stop):
23769         * gst/elements/gstfakesrc.h:
23770         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23771         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23772         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23773         (gst_filesrc_create_read), (gst_filesrc_create),
23774         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23775         (gst_filesrc_start):
23776         * gst/elements/gsttypefindelement.c:
23777         (gst_type_find_element_have_type), (gst_type_find_element_init),
23778         (start_typefinding), (stop_typefinding), (push_buffer_store),
23779         (gst_type_find_element_handle_event),
23780         (gst_type_find_element_chain),
23781         (gst_type_find_element_checkgetrange),
23782         (gst_type_find_element_getrange), (do_typefind),
23783         (gst_type_find_element_activate),
23784         (gst_type_find_element_change_state):
23785         * gst/elements/gsttypefindelement.h:
23786         * gst/gstpipeline.c: (pipeline_bus_handler):
23787         Added typefind helper.
23788         Small preroll fix in the base sink.
23789         Disable typefind code in basesrc.
23790         Crude port of typefindelement.
23791         Fakesrc cleanups.
23794 2005-04-11  Wim Taymans  <wim@fluendo.com>
23796         * check/gst/gstbus.c: (gstbus_suite):
23797         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23798         * check/gstcheck.h:
23799           Fix up the timeout so that the test does not fail.
23801 2005-04-06  Wim Taymans  <wim@fluendo.com>
23803         * gst/base/README:
23804         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23805         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23806         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23807         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23808         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23809         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23810         (gst_basesrc_stop), (gst_basesrc_activate),
23811         (gst_basesrc_change_state), (basesrc_find_peek),
23812         (basesrc_find_suggest), (gst_basesrc_type_find):
23813         * gst/base/gstbasesrc.h:
23814         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23815         (gst_filesrc_class_init), (gst_filesrc_init),
23816         (gst_filesrc_finalize), (gst_filesrc_set_location),
23817         (gst_filesrc_set_property), (gst_filesrc_get_property),
23818         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23819         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23820         (gst_filesrc_create_read), (gst_filesrc_create),
23821         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23822         * gst/elements/gstfilesrc.h:
23823         * gst/gstelement.c: (gst_element_get_state_func),
23824         (gst_element_lost_state), (gst_element_pads_activate):
23825         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23826         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23827         (gst_pad_pull_range):
23828         * gst/gstpad.h:
23829         More work on the generic source base class, implement seeking,
23830         query.
23831         Make filesrc extend the base source class.
23832         Added gst_pad_set_checkgetrange_function to GstPad.
23834 2005-04-06  Andy Wingo  <wingo@pobox.com>
23836         * pkgconfig/gstreamer-base.pc.in:
23837         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23839         * pkgconfig/Makefile.am:
23840         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23842 2005-04-04  Wim Taymans  <wim@fluendo.com>
23844         * gst/base/Makefile.am:
23845         * gst/base/README:
23846         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23847         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23848         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23849         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23850         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23851         (gst_basesrc_base_init), (gst_basesrc_class_init),
23852         (gst_basesrc_init), (gst_basesrc_get_formats),
23853         (gst_basesrc_get_query_types), (gst_basesrc_query),
23854         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23855         (gst_basesrc_set_property), (gst_basesrc_get_property),
23856         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23857         (gst_basesrc_loop), (gst_basesrc_activate),
23858         (gst_basesrc_change_state):
23859         * gst/base/gstbasesrc.h:
23860         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23861         (gst_fakesrc_class_init), (gst_fakesrc_init),
23862         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23863         (gst_fakesrc_get_property), (gst_fakesrc_create):
23864         * gst/elements/gstfakesrc.h:
23865         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23866         (gst_filesrc_open_file), (gst_filesrc_loop),
23867         (gst_filesrc_activate), (filesrc_find_peek),
23868         (gst_filesrc_type_find):
23869         Made base source class, make fakesrc extend it.
23870         Add comments to basesink class.
23871         Some filesrc cleanup.
23873 2005-03-31  David Schleef  <ds@schleef.org>
23875         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23876         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23877         expected to link against libgstreamer.
23878         * gst/base/Makefile.am: link against libgstreamer
23879         * gst/elements/Makefile.am: same
23881 2005-03-31  Andy Wingo  <wingo@pobox.com>
23883         * tests/instantiate/Makefile.am:
23884         * tests/instantiate/caps.c: Add test to test speed of caps copy
23885         and free.
23887         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23888         GMemChunk to be fair.
23890         * gst/gsttrashstack.h: Remove warning about using the fallback
23891         trash stack implementation, it's still faster than malloc.
23893 2005-03-30  Andy Wingo  <wingo@pobox.com>
23895         * tests/complexity.c: Add a copyright.
23897 2005-03-31  Wim Taymans  <wim@fluendo.com>
23899         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23900         (gst_base_transform_class_init), (gst_base_transform_init),
23901         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23902         (gst_base_transform_get_property),
23903         (gst_base_transform_sink_activate),
23904         (gst_base_transform_src_activate),
23905         (gst_base_transform_change_state):
23906         * gst/base/gstbasetransform.h:
23907         * gst/elements/gstidentity.c: (gst_identity_class_init),
23908         (gst_identity_event), (gst_identity_check_perfect),
23909         (gst_identity_transform), (gst_identity_start),
23910         (gst_identity_stop):
23911         Added start/stop methods to transform base class so subclasses 
23912         don't need to deal with state changes even.
23914 2005-03-31  Wim Taymans  <wim@fluendo.com>
23916         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23917         (gst_event_new_discontinuous), (gst_event_discont_get_value):
23918         * gst/gstevent.h:
23919         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23920         (gst_pad_pull_range):
23921         Added rate to the discont event to prepare for variable speed
23922         and reverse playback.
23924 2005-03-29  David Schleef  <ds@schleef.org>
23926         * configure.ac:
23927         * testsuite/trigger/Makefile.am:
23928         * testsuite/trigger/trigger.c: A little example program to show
23929         how trigger-based elements can work.
23931 2005-03-29  Wim Taymans  <wim@fluendo.com>
23933         * gst/base/Makefile.am:
23934         * gst/base/README:
23935         * gst/base/gstbasesink.c: (gst_basesink_get_type),
23936         (gst_basesink_base_init), (gst_basesink_class_init),
23937         (gst_basesink_pad_getcaps), (gst_basesink_init),
23938         (gst_basesink_activate), (gst_basesink_change_state):
23939         * gst/base/gstbasesink.h:
23940         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23941         (gst_base_transform_base_init), (gst_base_transform_finalize),
23942         (gst_base_transform_class_init), (gst_base_transform_init),
23943         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23944         (gst_base_transform_event), (gst_base_transform_getrange),
23945         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23946         (gst_base_transform_set_property),
23947         (gst_base_transform_get_property),
23948         (gst_base_transform_sink_activate),
23949         (gst_base_transform_src_activate),
23950         (gst_base_transform_change_state):
23951         * gst/base/gstbasetransform.h:
23952         * gst/elements/gstidentity.c: (gst_identity_finalize),
23953         (gst_identity_class_init), (gst_identity_init),
23954         (gst_identity_event), (gst_identity_check_perfect),
23955         (gst_identity_transform), (gst_identity_set_property),
23956         (gst_identity_get_property), (gst_identity_change_state):
23957         * gst/elements/gstidentity.h:
23958         * gst/gstelement.c: (gst_element_get_state_func),
23959         (gst_element_lost_state), (gst_element_pads_activate):
23960         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23961         (gst_pad_check_pull_range), (gst_pad_pull_range):
23962         * gst/gstpad.h:
23963         Simplify pad activation.
23964         Added function to check if pull_range can be performed.
23965         Error out when pulling inactive or flushing pads.
23966         Removed const from refcounted types as it does not make sense.
23967         Simplify pad templates in basesink
23968         Added base class for simple 1-to-1 transforms.
23969         Make identity subclass the base transform.
23971 2005-03-29  Andy Wingo  <wingo@pobox.com>
23973         * docs/libs/gstreamer-libs-overrides.txt: 
23974         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23975         really don't understand what's going on, but like whatever. I want
23976         green buildbot!
23978         * docs/gst/Makefile.am:
23979         * docs/libs/Makefile.am: Dist the overrides files.
23981         * check/Makefile.am (clean-local): Remove .libs directories.
23983         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23984         elements to EXTRA_DIST, so po/ files are happy.
23986         * po/POTFILES.in: Er, remove it here.
23988         * po/POTFILES: Remove gstspider.c.
23990         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23992         * docs/libs/gstreamer-libs-docs.sgml: 
23993         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23994         bytestream.
23996         * tests/complexity.c (main): Set the length of the preroll queue
23997         on the sinks to prevent a lockup.
23999         * libs/gst/dataprotocol/Makefile.am: 
24000         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24001         the same as the one in check/gst-libs/gdp.c.
24003         * po/, docs/gst/: Commit automatic changes to docs and po files.
24005         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24006         the versioned libgstbase.
24008         * check/Makefile.am: Depend on an unversioned gst-register, seems
24009         to make autoconf happier.
24011         * gst/base/Makefile.am: Make libgstbase a versioned lib.
24013 2005-03-28  Wim Taymans  <wim@fluendo.com>
24015         * configure.ac:
24016         * docs/design/part-gstelement.txt:
24017         * docs/design/part-negotiation.txt:
24018         * docs/design/part-preroll.txt:
24019         * docs/design/part-scheduling.txt:
24020         * docs/design/part-states.txt:
24021         * gst/Makefile.am:
24022         * gst/base/Makefile.am:
24023         * gst/base/README:
24024         * gst/base/gstbasesink.c: (gst_basesink_get_template),
24025         (gst_basesink_base_init), (gst_basesink_class_init),
24026         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24027         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24028         (gst_basesink_set_pad_functions),
24029         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24030         (gst_basesink_set_property), (gst_basesink_get_property),
24031         (gst_base_sink_get_template), (gst_base_sink_get_caps),
24032         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24033         (gst_basesink_preroll_queue_push),
24034         (gst_basesink_preroll_queue_empty),
24035         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24036         (gst_basesink_event), (gst_basesink_get_times),
24037         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24038         (gst_basesink_chain_unlocked), (gst_basesink_chain),
24039         (gst_basesink_loop), (gst_basesink_activate),
24040         (gst_basesink_change_state):
24041         * gst/base/gstbasesink.h:
24042         * gst/elements/Makefile.am:
24043         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24044         (gst_fakesink_class_init), (gst_fakesink_init),
24045         (gst_fakesink_set_property), (gst_fakesink_get_property),
24046         (gst_fakesink_get_times), (gst_fakesink_event),
24047         (gst_fakesink_preroll), (gst_fakesink_render),
24048         (gst_fakesink_change_state):
24049         * gst/elements/gstfakesink.h:
24050         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24051         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24052         * gst/gstelement.c: (gst_element_add_pad),
24053         (gst_element_get_state_func), (gst_element_abort_state),
24054         (gst_element_commit_state), (gst_element_lost_state),
24055         (gst_element_set_state), (gst_element_pads_activate):
24056         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24057         * gst/gstpipeline.c: (gst_pipeline_send_event),
24058         (gst_pipeline_change_state):
24059         Added state change code.
24060         Added/updated docs.
24061         Added sink base class, make fakesink extend the base class.
24062         Small cleanups in GstPipeline.
24064 2005-03-26  David Schleef  <ds@schleef.org>
24066         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
24067         is broken and should be implemented in a different library.
24068         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24069         * gst/gst.h: remove gstcpu.h
24070         * gst/gstcpu.c: remove
24071         * gst/gstcpu.h: remove
24072         * gst/Makefile.am.future: Remove this file.  It's ancient.
24074 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24076         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24077         (gst_bin_send_event):
24078           Add default event/set_manager handlers. The set_manager handler
24079           takes care that the manager is distributed over kids that were
24080           already in the bin before the manager was set. The event handler
24081           is a utility virtual function that sends the event over all sinks,
24082           so that gst_element_send_event (bin, event); has the expected
24083           behaviour.
24084         * gst/gstpad.c: (gst_pad_event_default):
24085           Re-install default event handling for discontinuities, so that
24086           seeking works without requiring hacks in applications or extra
24087           code in sinks.
24088         * gst/gstpipeline.c: (gst_pipeline_class_init),
24089         (gst_pipeline_send_event):
24090           Half hack, half utility: set a pipeline to PAUSED for seek events,
24091           since that is the only way we can guarantee a/v sync. Means that
24092           you can do gst_element_seek (pipeline, method, pos); on a pipeline
24093           and it "just works".
24095 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24097         * gst/gstpipeline.c: (gst_pipeline_use_clock):
24098           Lock/unlock mismatch.
24100 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24102         * docs/faq/gst-uninstalled:
24103           add gst-plugins-base
24104         * docs/gst/Makefile.am:
24105           don't error out until docs are fixed
24106         * docs/gst/gstreamer.types:
24107           remove thread
24109 2005-03-22  Wim Taymans  <wim@fluendo.com>
24111         * check/Makefile.am:
24112         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24113         * gst/gststructure.c: (gst_structure_set_valist),
24114         (gst_structure_copy_conditional):
24115         Activated more tests.
24116         Added message test.
24117         Added G_TYPE_POINTER to GstStructure.
24118         
24120 2005-03-22  Wim Taymans  <wim@fluendo.com>
24122         * docs/design/part-TODO.txt:
24123         * docs/design/part-events.txt:
24124         * docs/design/part-gstbin.txt:
24125         * docs/design/part-gstbus.txt:
24126         * docs/design/part-gstpipeline.txt:
24127         * docs/design/part-messages.txt:
24128         * gst/gstbus.c:
24129         * gst/gstmessage.c:
24130         Docs updates
24132 2005-03-21  Wim Taymans  <wim@fluendo.com>
24134         * gst/gstbus.c: (gst_bus_post):
24135         Fix copy-and-paste error.
24137 2005-03-21  Wim Taymans  <wim@fluendo.com>
24139         * check/Makefile.am:
24140         * gst/Makefile.am:
24141         * gst/elements/Makefile.am:
24142         * gst/elements/gstelements.c:
24143         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24144         (gst_fakesink_event), (gst_fakesink_chain):
24145         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24146         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24147         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24148         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24149         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24150         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24151         (gst_fakesrc_loop), (gst_fakesrc_activate),
24152         (gst_fakesrc_change_state):
24153         * gst/elements/gstfakesrc.h:
24154         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24155         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24156         (gst_filesrc_open_file), (gst_filesrc_loop),
24157         (gst_filesrc_activate), (gst_filesrc_change_state),
24158         (filesrc_find_peek), (filesrc_find_suggest),
24159         (gst_filesrc_type_find):
24160         * gst/elements/gstidentity.c: (gst_identity_finalize),
24161         (gst_identity_class_init), (gst_identity_init),
24162         (gst_identity_proxy_getcaps), (identity_queue_push),
24163         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24164         (gst_identity_getrange), (gst_identity_chain),
24165         (gst_identity_sink_loop), (gst_identity_src_loop),
24166         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24167         (gst_identity_set_property), (gst_identity_get_property),
24168         (gst_identity_change_state):
24169         * gst/elements/gstidentity.h:
24170         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24171         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24172         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24173         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24174         (gst_tee_sink_activate):
24175         * gst/elements/gsttee.h:
24176         * gst/gst.c: (gst_register_core_elements), (init_post):
24177         * gst/gst.h:
24178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24179         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24180         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24181         (gst_bin_change_state):
24182         * gst/gstbin.h:
24183         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24184         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24185         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24186         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24187         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24188         (bus_watch_callback), (bus_watch_destroy),
24189         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24190         (poll_timeout), (gst_bus_poll):
24191         * gst/gstbus.h:
24192         * gst/gstcaps.h:
24193         * gst/gstdata.h:
24194         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24195         (gst_element_post_message), (gst_element_message_full),
24196         (gst_element_get_state_func), (gst_element_get_state),
24197         (gst_element_abort_state), (gst_element_commit_state),
24198         (gst_element_lost_state), (gst_element_set_state),
24199         (gst_element_pads_activate), (gst_element_change_state),
24200         (gst_element_dispose), (gst_element_set_manager_func),
24201         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24202         (gst_element_set_manager), (gst_element_get_manager),
24203         (gst_element_set_bus), (gst_element_get_bus),
24204         (gst_element_set_scheduler), (gst_element_get_scheduler):
24205         * gst/gstelement.h:
24206         * gst/gstevent.c: (gst_event_new_segment_seek),
24207         (gst_event_new_flush):
24208         * gst/gstevent.h:
24209         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24210         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24211         (gst_message_new_eos), (gst_message_new_error),
24212         (gst_message_new_warning), (gst_message_new_tag),
24213         (gst_message_new_state_changed), (gst_message_new_application),
24214         (gst_message_get_structure), (gst_message_parse_tag),
24215         (gst_message_parse_state_changed), (gst_message_parse_error),
24216         (gst_message_parse_warning):
24217         * gst/gstmessage.h:
24218         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24219         (gst_real_pad_set_property), (gst_pad_set_active),
24220         (gst_pad_is_active), (gst_pad_set_blocked_async),
24221         (gst_pad_set_blocked), (gst_pad_is_blocked),
24222         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24223         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24224         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24225         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24226         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24227         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24228         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24229         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24230         (gst_pad_set_caps), (gst_pad_configure_sink),
24231         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24232         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24233         (gst_real_pad_dispose), (gst_real_pad_finalize),
24234         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24235         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24236         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24237         * gst/gstpad.h:
24238         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24239         (pipeline_bus_handler), (gst_pipeline_change_state),
24240         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24241         * gst/gstpipeline.h:
24242         * gst/gstprobe.h:
24243         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24244         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24245         (gst_queue_link_src), (gst_queue_bufferalloc),
24246         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24247         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24248         (gst_queue_loop), (gst_queue_handle_src_event),
24249         (gst_queue_handle_src_query), (gst_queue_src_activate),
24250         (gst_queue_change_state):
24251         * gst/gstqueue.h:
24252         * gst/gstscheduler.c: (gst_scheduler_init),
24253         (gst_scheduler_dispose), (gst_scheduler_create_task),
24254         (gst_scheduler_factory_create):
24255         * gst/gstscheduler.h:
24256         * gst/gststructure.c: (gst_structure_get_type),
24257         (gst_structure_copy_conditional):
24258         * gst/gststructure.h:
24259         * gst/gsttaginterface.h:
24260         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24261         (gst_task_init), (gst_task_dispose), (gst_task_create),
24262         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24263         (gst_task_pause):
24264         * gst/gsttask.h:
24265         * gst/gstthread.c:
24266         * gst/gstthread.h:
24267         * gst/gsttypes.h:
24268         * gst/schedulers/Makefile.am:
24269         * gst/schedulers/cothreads_compat.h:
24270         * gst/schedulers/entryscheduler.c:
24271         * gst/schedulers/faircothreads.c:
24272         * gst/schedulers/faircothreads.h:
24273         * gst/schedulers/fairscheduler.c:
24274         * gst/schedulers/gstbasicscheduler.c:
24275         * gst/schedulers/gstoptimalscheduler.c:
24276         * gst/schedulers/gthread-cothreads.h:
24277         * gst/schedulers/threadscheduler.c:
24278         (gst_thread_scheduler_task_get_type),
24279         (gst_thread_scheduler_task_class_init),
24280         (gst_thread_scheduler_task_init),
24281         (gst_thread_scheduler_task_start),
24282         (gst_thread_scheduler_task_stop),
24283         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24284         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24285         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24286         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24287         (plugin_init):
24288         * libs/gst/Makefile.am:
24289         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24290         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24291         (gst_file_pad_parent_set):
24292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24293         (gst_dp_event_from_packet):
24294         * tests/complexity.c: (main):
24295         * tests/mass_elements.c: (main):
24296         * testsuite/states/locked.c: (message_received), (main):
24297         * testsuite/states/parent.c: (main):
24298         * tools/gst-inspect.c: (print_element_flag_info),
24299         (print_implementation_info), (print_pad_info):
24300         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24301         (main):
24302         * tools/gst-md5sum.c: (event_loop), (main):
24303         * tools/gst-typefind.c: (main):
24304         * tools/gst-xmlinspect.c: (print_element_info):
24305         Next big merge.
24306         Added GstBus for mainloop integration.
24307         Added GstMessage for sending notifications on the bus.
24308         Added GstTask as an abstraction for pipeline entry points.
24309         Removed GstThread.
24310         Removed Schedulers.
24311         Simplified GstQueue for multithreaded core.
24312         Made _link threadsafe, removed old capsnego.
24313         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24314         Added pad blocking functions.
24315         Reworked scheduling functions in GstPad to prepare for
24316         scheduling updates soon.
24317         Moved events out of data stream.
24318         Simplified GstEvent types.
24319         Added return values to push/pull.
24320         Removed clocking from GstElement.
24321         Added prototypes for state change function for next merge.
24322         Removed iterate from bins and state change management.
24323         Fixed some elements, disabled others for now.
24324         Fixed -inspect and -launch.
24325         Added check for GstBus.
24327 2005-03-10  Wim Taymans  <wim@fluendo.com>
24329         * docs/design/part-MT-refcounting.txt:
24330         * docs/design/part-clocks.txt:
24331         * docs/design/part-gstelement.txt:
24332         * docs/design/part-gstobject.txt:
24333         * docs/design/part-standards.txt:
24334         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24335         (gst_bin_remove_func), (gst_bin_remove):
24336         * gst/gstbin.h:
24337         * gst/gstbuffer.c:
24338         * gst/gstcaps.h:
24339         * testsuite/clock/clock1.c: (main):
24340         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24341         (main):
24342         * testsuite/dlopen/loadgst.c: (do_test):
24343         * testsuite/refcounting/bin.c: (add_remove_test1),
24344         (add_remove_test2), (main):
24345         * testsuite/refcounting/element.c: (main):
24346         * testsuite/refcounting/element_pad.c: (main):
24347         * testsuite/refcounting/pad.c: (main):
24348         * tools/gst-launch.c: (sigint_handler_sighandler):
24349         * tools/gst-typefind.c: (main):
24350         Doc updates.
24351         Added doc about clock.
24352         removed gst_bin_iterate_recurse_up(), marked methods
24353         for removal.
24354         Fix more testsuites.
24356 2005-03-09  Wim Taymans  <wim@fluendo.com>
24358         * gst/gstpad.c: (gst_pad_get_direction),
24359         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24360         (gst_pad_collect_valist):
24361         * testsuite/bins/interface.c: (main):
24362         * testsuite/caps/audioscale.c: (test_caps):
24363         * testsuite/caps/caps.c: (test1), (test2), (test3):
24364         * testsuite/caps/deserialize.c: (main):
24365         * testsuite/caps/enumcaps.c: (main):
24366         * testsuite/caps/filtercaps.c: (main):
24367         * testsuite/caps/intersect2.c: (main):
24368         * testsuite/caps/random.c: (main):
24369         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24370         * testsuite/caps/sets.c: (check_caps):
24371         * testsuite/caps/simplify.c: (check_caps), (main):
24372         * testsuite/caps/subtract.c: (check_caps):
24373         Fix _pad_get_direction wrt ghostpads.
24374         Fix caps testsuite.
24376 2005-03-09  Wim Taymans  <wim@fluendo.com>
24378         * check/Makefile.am:
24379         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24380         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24381         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24382         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24383         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24384         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24385         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24386         (bin_element_is_sink), (gst_bin_iterate_sinks),
24387         (gst_bin_iterate_all_by_interface):
24388         * gst/gstbin.h:
24389         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24390         (gst_element_change_state), (gst_element_dispose),
24391         (gst_element_finalize), (gst_element_set_loop_function):
24392         * gst/gstelement.h:
24393         * gst/gstiterator.c: (find_custom_fold_func):
24394         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24395         (gst_pad_collectv), (gst_pad_collect_valist),
24396         (gst_pad_template_new):
24397         * gst/gstpipeline.c: (gst_pipeline_class_init),
24398         (gst_pipeline_dispose), (gst_pipeline_set_property),
24399         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24400         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24401         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24402         * gst/gstutils.h:
24403         * gst/schedulers/entryscheduler.c:
24404         * gst/schedulers/gstbasicscheduler.c:
24405         (gst_basic_scheduler_cothreaded_chain),
24406         (gst_basic_scheduler_chain_add_element):
24407         * testsuite/bins/interface.c: (main):
24408         Added GstBin test.
24409         Added GstSystemClock test.
24410         Implemented clock distribution code in GstBin.
24411         Implemented iterate sinks method for future use.
24412         Rearranged gstelement.h
24413         Fix GstIterator comparison bug.
24414         Moved some code to GstPipeline, mostly clocking related.
24416 2005-03-09  Wim Taymans  <wim@fluendo.com>
24418         * configure.ac:
24419         * gst/gst_private.h:
24420         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24421         (gst_bin_remove_func), (gst_bin_remove),
24422         (gst_bin_get_by_name_recurse_up):
24423         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24424         (gst_clock_id_compare_func), (gst_clock_id_wait),
24425         (gst_clock_id_wait_async), (gst_clock_init),
24426         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24427         * gst/gstelement.h:
24428         * gst/gstinfo.c: (_gst_debug_init):
24429         * gst/gstobject.h:
24430         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24431         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24432         * gst/gstpad.h:
24433         Bump version number, we're now 0.9.0
24434         Add future debugging category.
24435         Fix NULL _unref() in _get_by_name_recurse_up
24436         Rearrange gstpad.h.
24437         Update some docs.
24439 2005-03-08  Wim Taymans  <wim@fluendo.com>
24441         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24442         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24443         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24444         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24445         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24446         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24447         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24448         * gst/elements/gstidentity.c: (gst_identity_class_init):
24449         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24450         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24451         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24452         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24453         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24454         (gst_tee_link):
24455         * gst/gstelement.c: (gst_element_class_init),
24456         (gst_element_base_class_init), (gst_element_init),
24457         (gst_element_get_random_pad), (gst_element_wait_state_change),
24458         (gst_element_change_state), (gst_element_dispose),
24459         (gst_element_finalize), (gst_element_set_loop_function):
24460         * gst/gstelement.h:
24461         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24462         * gst/gstthread.c: (gst_thread_class_init),
24463         (gst_thread_release_children_locks), (gst_thread_change_state):
24464         * gst/schedulers/gstbasicscheduler.c:
24465         (gst_basic_scheduler_loopfunc_wrapper),
24466         (gst_basic_scheduler_chain_wrapper),
24467         (gst_basic_scheduler_src_wrapper),
24468         (gst_basic_scheduler_remove_element):
24469         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24470         Remove threadsafe properties. Fix elements because GObject
24471         complains when installing a property before declaring a
24472         set/get_property handler.
24473         Rearrange gstelement.h file, use STATE macros for state locks.
24474         Free mutexes in the finalize method instead of dispose.
24476 2005-03-08  Wim Taymans  <wim@fluendo.com>
24478         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24479         * gst/gstthread.c: (gst_thread_release_children_locks):
24480         Added parentage check.
24481         Fix build og GstThread again.
24483 2005-03-08  Wim Taymans  <wim@fluendo.com>
24485         * docs/design/part-MT-refcounting.txt:
24486         * docs/design/part-conventions.txt:
24487         * docs/design/part-gstobject.txt:
24488         * docs/design/part-relations.txt:
24489         * docs/design/part-standards.txt:
24490         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24491         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24492         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24493         (gst_bin_iterate_all_by_interface):
24494         * gst/gstbuffer.h:
24495         * gst/gstclock.h:
24496         * gst/gstelement.c: (gst_element_class_init),
24497         (gst_element_change_state), (gst_element_set_loop_function):
24498         * gst/gstelement.h:
24499         * gst/gstiterator.c:
24500         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24501         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24502         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24503         (gst_object_set_parent), (gst_object_unparent),
24504         (gst_object_check_uniqueness):
24505         * gst/gstobject.h:
24506         Docs updates, clean up some headers.
24508 2005-03-07  Wim Taymans  <wim@fluendo.com>
24510         * check/.cvsignore:
24511         * check/Makefile.am:
24512         * check/gst-libs/.cvsignore:
24513         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24514         * check/gst/.cvsignore:
24515         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24516         (START_TEST), (gstbus_suite), (main):
24517         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24518         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24519         (gst_data_suite), (main):
24520         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24521         (add_fold_func), (gstiterator_suite), (main):
24522         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24523         (thread_name_object), (thread_name_object_default),
24524         (gst_object_name_compare), (gst_object_suite), (main):
24525         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24526         (gst_pad_suite), (main):
24527         * check/gstcheck.c: (gst_check_log_message_func),
24528         (gst_check_log_critical_func), (gst_check_init):
24529         * check/gstcheck.h:
24530         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24531         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24532         Added checks.
24534 2005-03-07  Wim Taymans  <wim@fluendo.com>
24536         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24537         (gst_list_iterator_next), (gst_list_iterator_resync),
24538         (gst_list_iterator_free), (gst_iterator_new_list),
24539         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24540         (gst_iterator_free), (gst_iterator_push), (filter_next),
24541         (filter_resync), (filter_uninit), (filter_free),
24542         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24543         (gst_iterator_foreach), (find_custom_fold_func),
24544         (gst_iterator_find_custom):
24545         * gst/gstiterator.h:
24546         Added missing files.
24548 2005-03-07  Wim Taymans  <wim@fluendo.com>
24550         * Makefile.am:
24551         * configure.ac:
24552         * docs/design/part-MT-refcounting.txt:
24553         * docs/design/part-conventions.txt:
24554         * docs/design/part-gstobject.txt:
24555         * docs/design/part-relations.txt:
24556         * examples/mixer/mixer.c: (main):
24557         * examples/thread/thread.c: (eos), (main):
24558         * gst/Makefile.am:
24559         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24560         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24561         (gst_spider_plug_from_srcpad):
24562         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24563         (gst_spider_identity_change_state),
24564         (gst_spider_identity_sink_loop_type_finding):
24565         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24566         * gst/elements/gstidentity.c: (gst_identity_init):
24567         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24568         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24569         * gst/elements/gsttypefindelement.c: (free_entry):
24570         * gst/gst.c:
24571         * gst/gst.h:
24572         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24573         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24574         (gst_bin_set_index), (gst_bin_set_element_sched),
24575         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24576         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24577         (gst_bin_iterate_elements), (iterate_child_recurse),
24578         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24579         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24580         (compare_interface), (gst_bin_get_by_interface),
24581         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24582         * gst/gstbin.h:
24583         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24584         (gst_buffer_default_free), (gst_buffer_default_copy),
24585         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24586         (gst_buffer_create_sub):
24587         * gst/gstbuffer.h:
24588         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24589         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24590         (gst_caps_unref), (gst_static_caps_get),
24591         (gst_caps_remove_and_get_structure), (gst_caps_append),
24592         (gst_caps_append_structure), (gst_caps_remove_structure),
24593         (gst_caps_copy_nth), (gst_caps_set_simple),
24594         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24595         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24596         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24597         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24598         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24599         (gst_caps_structure_figure_out_union),
24600         (gst_caps_switch_structures), (gst_caps_do_simplify),
24601         (gst_caps_replace), (gst_caps_from_string),
24602         (gst_caps_copy_conditional):
24603         * gst/gstcaps.h:
24604         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24605         (_gst_clock_id_free), (gst_clock_id_unref),
24606         (gst_clock_id_compare_func), (gst_clock_id_wait),
24607         (gst_clock_id_wait_async), (gst_clock_class_init),
24608         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24609         (gst_clock_get_time), (gst_clock_set_time_adjust),
24610         (gst_clock_set_property), (gst_clock_get_property):
24611         * gst/gstclock.h:
24612         * gst/gstcompat.h:
24613         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24614         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24615         * gst/gstdata.h:
24616         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24617         (gst_element_requires_clock), (gst_element_provides_clock),
24618         (gst_element_set_clock), (gst_element_clock_wait),
24619         (gst_element_wait), (gst_element_set_time_delay),
24620         (gst_element_is_indexable), (gst_element_add_pad),
24621         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24622         (pad_compare_name), (gst_element_get_static_pad),
24623         (gst_element_request_pad), (gst_element_get_request_pad),
24624         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24625         (gst_element_class_get_pad_template_list),
24626         (gst_element_class_get_pad_template), (gst_element_error_func),
24627         (gst_element_get_random_pad), (gst_element_get_event_masks),
24628         (gst_element_send_event), (gst_element_seek),
24629         (gst_element_get_query_types), (gst_element_query),
24630         (gst_element_get_formats), (gst_element_convert),
24631         (gst_element_is_locked_state), (gst_element_set_locked_state),
24632         (gst_element_sync_state_with_parent), (gst_element_change_state),
24633         (gst_element_finalize), (gst_element_yield),
24634         (gst_element_interrupt), (gst_element_set_scheduler),
24635         (gst_element_get_scheduler), (gst_element_set_loop_function):
24636         * gst/gstelement.h:
24637         * gst/gstevent.h:
24638         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24639         (gst_format_get_by_nick), (gst_format_get_details),
24640         (gst_format_iterate_definitions):
24641         * gst/gstformat.h:
24642         * gst/gstindex.c: (gst_index_gtype_resolver):
24643         * gst/gstinfo.c:
24644         * gst/gstinfo.h:
24645         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24646         (gst_mem_chunk_free):
24647         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24648         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24649         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24650         (gst_object_dispatch_properties_changed),
24651         (gst_object_set_name_default), (gst_object_set_name),
24652         (gst_object_get_name), (gst_object_set_name_prefix),
24653         (gst_object_get_name_prefix), (gst_object_set_parent),
24654         (gst_object_get_parent), (gst_object_unparent),
24655         (gst_object_check_uniqueness), (gst_object_save_thyself),
24656         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24657         (gst_object_set_property), (gst_object_get_property),
24658         (gst_object_get_path_string):
24659         * gst/gstobject.h:
24660         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24661         (gst_real_pad_init), (gst_real_pad_get_property),
24662         (gst_pad_custom_new), (gst_pad_get_direction),
24663         (gst_pad_set_active), (gst_pad_is_active),
24664         (gst_pad_set_event_function), (gst_pad_is_linked),
24665         (gst_pad_link_free), (gst_pad_link_intersect),
24666         (gst_pad_link_fixate), (gst_pad_set_caps),
24667         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24668         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24669         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24670         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24671         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24672         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24673         (gst_pad_realize), (gst_pad_get_allowed_caps),
24674         (gst_real_pad_dispose), (gst_real_pad_finalize),
24675         (gst_pad_collectv), (gst_pad_collect_valist),
24676         (gst_pad_template_dispose), (gst_pad_template_new),
24677         (gst_pad_get_internal_links):
24678         * gst/gstpad.h:
24679         * gst/gstpipeline.c: (gst_pipeline_dispose),
24680         (gst_pipeline_change_state):
24681         * gst/gstpipeline.h:
24682         * gst/gstplugin.c:
24683         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24684         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24685         * gst/gstpluginfeature.h:
24686         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24687         * gst/gstquery.c: (_gst_query_type_initialize),
24688         (gst_query_type_register), (gst_query_type_get_by_nick),
24689         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24690         * gst/gstquery.h:
24691         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24692         * gst/gstscheduler.c: (gst_scheduler_add_element),
24693         (gst_scheduler_factory_create):
24694         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24695         (gst_structure_free), (gst_structure_set_name),
24696         (gst_structure_id_set_value), (gst_structure_set_value),
24697         (gst_structure_set_valist), (gst_structure_remove_field),
24698         (gst_structure_remove_fields),
24699         (gst_structure_remove_fields_valist),
24700         (gst_structure_remove_all_fields), (gst_structure_foreach),
24701         (gst_structure_map_in_place),
24702         (gst_caps_structure_fixate_field_nearest_int),
24703         (gst_caps_structure_fixate_field_nearest_double):
24704         * gst/gststructure.h:
24705         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24706         (gst_system_clock_init), (gst_system_clock_dispose),
24707         (gst_system_clock_async_thread),
24708         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24709         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24710         * gst/gstsystemclock.h:
24711         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24712         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24713         * gst/gsttaginterface.c:
24714         * gst/gstthread.c: (gst_thread_dispose),
24715         (gst_thread_release_children_locks), (gst_thread_change_state),
24716         (gst_thread_main_loop):
24717         * gst/gsttrashstack.h:
24718         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24719         * gst/gsttypes.h:
24720         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24721         (gst_element_request_pad), (gst_element_get_pad_from_template),
24722         (gst_element_request_compatible_pad),
24723         (gst_element_get_compatible_pad_filtered),
24724         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24725         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24726         (gst_element_link_many), (gst_element_link),
24727         (gst_element_link_pads), (gst_element_unlink_pads),
24728         (gst_element_unlink_many), (gst_element_unlink),
24729         (gst_pad_can_link_filtered), (gst_pad_can_link),
24730         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24731         (gst_object_default_error), (gst_bin_add_many),
24732         (gst_bin_remove_many), (gst_element_populate_std_props),
24733         (gst_element_class_install_std_props), (gst_buffer_merge),
24734         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24735         (link_fold_func), (gst_pad_proxy_setcaps):
24736         * gst/gstutils.h:
24737         * gst/gstvalue.c: (gst_value_deserialize_string):
24738         * gst/parse/grammar.y:
24739         * gst/schedulers/gstbasicscheduler.c:
24740         (gst_basic_scheduler_cothreaded_chain),
24741         (gst_basic_scheduler_chain_recursive_add),
24742         (gst_basic_scheduler_pad_link):
24743         * gst/schedulers/gstoptimalscheduler.c:
24744         (get_group_schedule_function),
24745         (gst_opt_scheduler_state_transition),
24746         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24747         * libs/gst/bytestream/bytestream.c:
24748         * libs/gst/dataprotocol/dataprotocol.c:
24749         (gst_dp_header_from_buffer):
24750         * po/nb.po:
24751         * po/ru.po:
24752         * tests/threadstate/threadstate2.c: (eos):
24753         * tools/gst-compprep.c: (main):
24754         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24755         (print_pad_info), (print_children_info):
24756         * tools/gst-launch.c: (idle_func), (main):
24757         * tools/gst-md5sum.c: (idle_func), (main):
24758         * tools/gst-xmlinspect.c: (print_element_info):
24759         First THREADED backport attempt, focusing on adding locks and
24760         making sure the API is threadsafe. Needs more work. More docs
24761         follow this week.
24763 2005-02-24  Andy Wingo  <wingo@pobox.com>
24765         * tests/bench-complexity.scm:
24766         * tests/complexity.gnuplot: New files, good for running complexity
24767         benchmarks.
24769         * tests/Makefile.am:
24770         * tests/complexity.c: New test, sets up N elements, at each level
24771         teeing into M streams per element. Eeeenteresting.
24773         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24774         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24775         running bench-mass_elements.scm.
24777         * tests/bench-mass_elements.scm: New script, runs mass_elements
24778         for various numbers of identities, outputting the results to a
24779         file. Requires guile 1.6. Just for testing.
24781 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24783         * gst/schedulers/fairscheduler.c:
24784           compile with debug disabled
24786 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24788         * configure.ac:
24789           hunting season on 0.9 is now OPEN