po/POTFILES.*: Update POTFILES. Fixes #461599.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2
3         * po/POTFILES.in:
4         * po/POTFILES.skip:
5           Update POTFILES. Fixes #461599.
6
7 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
8
9         * gst/gst.c:
10         Fix confusing typo in debug output.
11
12 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
13
14         reviewed by: Stefan Kost <ensonic@users.sf.net>
15
16         * libs/gst/controller/Makefile.am:
17         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
18         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
19         (gst_lfo_control_source_new),
20         (gst_lfo_control_source_set_waveform),
21         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
22         (gst_lfo_control_source_finalize),
23         (gst_lfo_control_source_dispose),
24         (gst_lfo_control_source_set_property),
25         (gst_lfo_control_source_get_property),
26         (gst_lfo_control_source_class_init):
27         * libs/gst/controller/gstlfocontrolsource.h:
28         * libs/gst/controller/gstlfocontrolsourceprivate.h:
29         API: Add GstLFOControlSource, a control source that gives values
30         for specific timestamps based on several periodic waveforms.
31         Fixes #459717.
32
33         * tests/check/libs/controller.c: (GST_START_TEST),
34         (gst_controller_suite):
35         * docs/libs/gstreamer-libs-docs.sgml:
36         * docs/libs/gstreamer-libs-sections.txt:
37         * docs/libs/gstreamer-libs.types:
38         Add documentation and unit tests for GstLFOControlSource.
39
40 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
41
42         * configure.ac:
43         Back to CVS
44
45 === release 0.10.14 ===
46
47 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
48
49         * configure.ac:
50           releasing 0.10.14, "Breathing Vacuum"
51
52 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
53
54         * gst/gstelement.c: (gst_element_class_set_details_simple):
55         * gst/gstelement.h:
56           Make strings passed to gst_element_class_set_details_simple()
57           constant, as they should be (#462752).
58
59 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
60
61         * gst/gstbin.c: (gst_bin_change_state_func),
62         (bin_handle_async_done), (gst_bin_handle_message_func):
63         Don't forget about the fact that some element went ASYNC even after a
64         resync. This makes us post the ASYNC_DONE message correctly.
65         Fixes #462558.
66
67 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
68
69         * gst/gstregistry.c: (gst_registry_add_feature):
70         When replacing an existing feature in the registry, make sure to
71         continue holding a reference until we've replaced the name string
72         within our feature hash table. Make sure to use g_hash_table_replace
73         instead of g_hash_table_insert to ensure the new name string is used
74         as a key instead of the old one that we're about to free.
75         Fixes: #462085
76
77 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
78
79         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
80         (gst_plugin_feature_set_name):
81         Revert patch from #459466 until after the release and we can work
82         out exactly what the problem is (if any).
83
84 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * docs/gst/gstreamer-sections.txt:
87         * gst/gsttaglist.c:
88         * gst/gsttaglist.h:
89           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
90
91 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
92
93         * docs/libs/Makefile.am:
94         Include our build-prefix libs and includes before the generic ones to
95         avoid linking against the installed libs when we want the build-tree
96         ones.
97
98 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
99
100         Patch by: Steve Fink  <sphink gmail com>
101
102         * docs/pwg/building-testapp.xml:
103           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
104           if people try to build or install the example from the plugin
105           template against a GStreamer from package using the configure
106           defaults.
107
108 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
109
110         Patch by: Steve Fink  <sphink gmail com>
111
112         * tools/gst-inspect.1.in:
113           Document --print-all and --print-plugin-auto-install-info command
114           line options in man page.
115
116 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
117
118         * docs/gst/gstreamer-sections.txt:
119         Add docs for new api function.
120
121 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
122
123         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
124         * gst/gstelementfactory.h:
125         API: gst_element_factory_has_interface()
126         Added method to check if an element factory implements a named
127         interface.
128
129 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
130
131         * configure.ac:
132         * docs/gst/gstreamer.types.in:
133           Another conditional doc check.
134
135         * gst/gstmessage.c:
136         * gst/gstparamspecs.h:
137         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
138         * gst/gstvalue.c:
139         * gst/gstxml.h:
140           API-doc fixes.
141
142 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
143
144         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
145         (gst_registry_binary_load_feature),
146         (gst_registry_binary_load_plugin),
147         (gst_registry_binary_read_cache):
148           Print error just once and with additional info.
149
150 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
151
152         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
153         (helper_find_suggest), (helper_find_get_length),
154         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
155         (gst_type_find_helper_for_buffer):
156           Cleanup the typefindhelper code and add private doc comments.
157
158 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
159
160         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
161         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
162         Fix capsfilter for cases where the caps set on capsfilter will provide
163         additional information.
164         Fixes #449197
165
166 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
167
168         * gst/gsttypefindfactory.c:
169           Fix docs that recommened wrong function to use.
170
171 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
172
173         * tools/gst-inspect.c: (print_plugin_features):
174           Also give media-type for typefinders in element output.
175
176 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
177
178         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
179         (gst_registry_remove_features_for_plugin_unlocked),
180         (gst_registry_add_feature), (gst_registry_remove_feature),
181         (gst_registry_lookup_feature_locked):
182         * gst/gstregistry.h:
183           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
184           Fixes #459501.
185
186 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
187
188         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
189         (gst_plugin_feature_set_name):
190           Avoid double memory usage for pluginfeature names. Fixes #459466.
191
192 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
193
194         * gst/gstpad.h:
195           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
196           driving the pipeline may need to explicitly check for NOT_LINKED as
197           well, since IS_FATAL doesn't cover that.
198
199 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
200
201         * docs/pwg/advanced-types.xml:
202           Fix typo and duplicate entry in video formats list.
203
204 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
205
206         * libs/gst/controller/gstinterpolation.c:
207         Also round to the nearest int when using cubic interpolation.
208
209 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
210
211         * libs/gst/controller/gstinterpolation.c:
212         When linearly interpolating integer types, round to the nearest int
213         by adding 0.5. Don't do it for float/double types.
214         Fixes the failing controller test on my machine, which is somehow
215         rounding differently than on the buildbots.
216
217 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
218
219         * tools/gst-plot-timeline.py:
220           Better log parsing (categories can have -). Adjust text vs. lines, so
221           that they span the same y-range.        
222
223 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
224
225         * docs/random/ensonic/audiobaseclasses.txt:
226         * docs/random/ensonic/dynlink.txt:
227         * docs/random/ensonic/profiling.txt:
228           Save my thoughts.
229
230         * docs/random/moving-plugins:
231           Add note to use g_assert type macros.
232
233 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
234
235         * configure.ac:
236         * libs/gst/check/Makefile.am:
237           Add libm check as we use in for plugins.
238
239 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
240
241         * gst/gstbin.c: (gst_bin_continue_func):
242         Check that the state_cookie hasn't changed since the continue_func
243         was scheduled. Avoids problems where the state changes back to
244         something it shouldn't be because it was changed in the meantime.
245
246 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
247
248         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
249         (gst_registry_binary_save_string),
250         (gst_registry_binary_save_pad_template),
251         (gst_registry_binary_save_feature),
252         (gst_registry_binary_save_plugin),
253         (gst_registry_binary_load_feature),
254         (gst_registry_binary_load_plugin),
255         (gst_registry_binary_read_cache):
256           Fix memory leak. Be less verbose in the log.
257
258 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
259
260         * tests/check/elements/.cvsignore:
261         Add file to cvsignore as commanded.
262
263 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
264
265         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
266         (mq_dummypad_event), (run_output_order_test):
267         Use a GStaticMutex to protect all cases where libcheck
268         fail_if/fail_unless macros might be called from multiple threads
269         simultaneously to avoid errors like:
270           "check_pack.c:107: :-1081725400:Bad message type arg"
271
272 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
273
274         * tests/check/pipelines/stress.c: (GST_START_TEST):
275         Make sure we set the pipeline back to the NULL state before
276         dropping our final reference.
277
278 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
279
280         * tests/check/elements/tee.c: (GST_START_TEST):
281         Make the tee stress-test a little less stressful so it doesn't just
282         time out on slow-machines, and remove a small race when it's starting 
283         up by adding a get_state() call.
284
285 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
286
287         * gst/gst.c:
288           Avoid reading registry twice on startup. Fixes #457322.
289
290 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
291
292         * pkgconfig/gstreamer-check-uninstalled.pc.in:
293         * pkgconfig/gstreamer-check.pc.in:
294         Substitute the CFLAGS for libcheck into our .pc file too so that
295         dependent modules will pick it up properly if libcheck is installed
296         into some other prefix.
297
298 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
299
300         * configure.ac:
301         Revert the pkg-config check for libcheck, since it pulls in the
302         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
303         a proper solution, either from the check project, or something else.
304
305 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
306
307         * configure.ac:
308           Use pkg-config to locate check.
309
310 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
311
312         * gst/gsttaglist.c:
313           Fix doc syntax.
314
315         * gst/gstutils.c:
316         * gst/gstutils.h:
317           Add deprecation guards.
318
319         * libs/gst/base/gstcollectpads.h:
320           Don't document object (this is implicitly private).
321
322 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
323
324         * gst/gststructure.c: (gst_structure_parse_value):
325           When deserialising foo=bar without a type cast, check if it's a
326           boolean before falling back to a string type, otherwise things like
327           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
328           because the filtercaps end up having a signed=(string)true field,
329           which causes problems later when intersection caps.
330
331         * tests/check/gst/gststructure.c: (GST_START_TEST):
332           Add a unit test for this.
333
334 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
335
336         Reviewed by: Stefan Kost <ensonic@users.sf.net>
337
338         * libs/gst/controller/Makefile.am:
339         * libs/gst/controller/gstcontroller.c:
340         (gst_controlled_property_add_interpolation_control_source),
341         (gst_controlled_property_new), (gst_controlled_property_free),
342         (gst_controller_find_controlled_property),
343         (gst_controller_new_valist), (gst_controller_new_list),
344         (gst_controller_new), (gst_controller_remove_properties_valist),
345         (gst_controller_remove_properties_list),
346         (gst_controller_remove_properties),
347         (gst_controller_set_property_disabled),
348         (gst_controller_set_disabled), (gst_controller_set_control_source),
349         (gst_controller_get_control_source), (gst_controller_get),
350         (gst_controller_sync_values), (gst_controller_get_value_array),
351         (_gst_controller_dispose), (gst_controller_get_type),
352         (gst_controlled_property_set_interpolation_mode),
353         (gst_controller_set), (gst_controller_set_from_list),
354         (gst_controller_unset), (gst_controller_unset_all),
355         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
356         * libs/gst/controller/gstcontroller.h:
357         * libs/gst/controller/gstcontrollerprivate.h:
358         * libs/gst/controller/gstcontrolsource.c:
359         (gst_control_source_class_init), (gst_control_source_init),
360         (gst_control_source_get_value),
361         (gst_control_source_get_value_array), (gst_control_source_bind):
362         * libs/gst/controller/gstcontrolsource.h:
363         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
364         (gst_object_get_control_source):
365         * libs/gst/controller/gstinterpolation.c:
366         (gst_interpolation_control_source_find_control_point_node),
367         (gst_interpolation_control_source_get_first_value),
368         (_interpolate_none_get), (interpolate_none_get),
369         (interpolate_none_get_boolean_value_array),
370         (interpolate_none_get_enum_value_array),
371         (interpolate_none_get_string_value_array),
372         (_interpolate_trigger_get), (interpolate_trigger_get),
373         (interpolate_trigger_get_boolean_value_array),
374         (interpolate_trigger_get_enum_value_array),
375         (interpolate_trigger_get_string_value_array):
376         * libs/gst/controller/gstinterpolationcontrolsource.c:
377         (gst_control_point_free), (gst_interpolation_control_source_reset),
378         (gst_interpolation_control_source_new),
379         (gst_interpolation_control_source_set_interpolation_mode),
380         (gst_interpolation_control_source_bind),
381         (gst_control_point_compare), (gst_control_point_find),
382         (gst_interpolation_control_source_set_internal),
383         (gst_interpolation_control_source_set),
384         (gst_interpolation_control_source_set_from_list),
385         (gst_interpolation_control_source_unset),
386         (gst_interpolation_control_source_unset_all),
387         (gst_interpolation_control_source_get_all),
388         (gst_interpolation_control_source_get_count),
389         (gst_interpolation_control_source_init),
390         (gst_interpolation_control_source_finalize),
391         (gst_interpolation_control_source_dispose),
392         (gst_interpolation_control_source_class_init):
393         * libs/gst/controller/gstinterpolationcontrolsource.h:
394         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
395         API: Refactor GstController into the core controller which can take
396         a GstControlSource for providing actual values for timestamps.
397         Implement a interpolation control source and use this for backward
398         compatibility, deprecate a bunch of functions that are now handled
399         by GstControlSource or GstInterpolationControlSource.
400         Make it possible to disable the controller completely or only for
401         specific properties. Fixes #450711.
402         * docs/libs/gstreamer-libs-docs.sgml:
403         * docs/libs/gstreamer-libs-sections.txt:
404         * docs/libs/gstreamer-libs.types:
405         Add new functions and classes to the docs.
406         * tests/check/libs/controller.c: (GST_START_TEST),
407         (gst_controller_suite):
408         * tests/examples/controller/audio-example.c: (main):
409         Port unit test and example to the new API and add some new
410         unit tests.
411
412 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
413
414         Patch by: Mark Nauwelaerts <manauw at skynet be>
415
416         * plugins/elements/gstmultiqueue.c:
417         (gst_multi_queue_get_internal_links), (apply_buffer),
418         (single_queue_overrun_cb), (gst_single_queue_new):
419         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
420         the pipeline layout can be tracked correctly. Fixes #453732.
421
422 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
423
424         * docs/gst/Makefile.am:
425         * docs/libs/Makefile.am:
426         * docs/plugins/Makefile.am:
427           Simplify --extra-dir as gtkdoc scans recursively.
428
429 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
430
431         * tools/gst-launch.c: (main):
432         When we got an error, there is no point in waiting for preroll when
433         shutting down.
434
435 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
436
437         * plugins/elements/gsttee.c: (gst_tee_base_init),
438         (gst_tee_request_new_pad), (gst_tee_release_pad),
439         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
440         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
441         (gst_tee_chain):
442         Be a lot smarter when deciding what srcpad to use for proxying
443         the buffer_alloc. Also handle pad added/removed when doing so.
444         Fixes #357959.
445         Keep track of what pads we already pushed on in case we have pads
446         added/removed while pushing. Fixes #374639 
447
448         * tests/check/Makefile.am:
449         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
450         (tee_suite):
451         Added unit test for pad resync.
452
453 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
454
455         * po/nl.po:
456         * po/sv.po:
457           Updated translations.
458
459 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
460
461         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
462
463         * po/LINGUAS:
464         * po/fi.po:
465           Added new Finnish translation.
466
467 2007-06-28  Wim Taymans  <wim@fluendo.com>
468
469         * plugins/elements/gstmultiqueue.c: (apply_buffer),
470         (single_queue_overrun_cb):
471         When figuring out when a queue is filled, use our internal time estimate
472         based on segments, just like check_full does.
473
474 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
475
476         * gst/gstminiobject.c: (gst_mini_object_get_type):
477           Remove 3 do-nothing methods.
478
479 2007-06-27  Wim Taymans  <wim@fluendo.com>
480
481         Patch by: Tim Angus <tim at ngus dot net>
482
483         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
484         (gst_capsfilter_set_property):
485         Take a reference instead of a copy when setting "caps".
486         Fix documentation to clarify this behaviour. Fixes #449414.
487
488 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
489
490         * gst/gstindexfactory.c: (gst_index_factory_get_type):
491         * gst/gstplugin.c: (gst_plugin_init):
492         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
493         * gst/gstquery.c: (gst_query_get_type):
494         * gst/gstregistry.c: (gst_registry_init):
495         * gst/gsturi.c: (gst_uri_handler_base_init):
496           Remove empty instance_init() functions to save relocs and lessen the
497           noise. Remove some of the function prototypes that are doubled by
498           G_DEFINE_TYPE.
499           
500 2007-06-27  Wim Taymans  <wim@fluendo.com>
501
502         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
503
504         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
505         Add peer and direction in the XML serialisation of ghostpads.
506         Fixes #449226.
507
508 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
509
510         * configure.ac:
511           Preserve useful information, thanks Tim.
512
513 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
514
515         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
516         (gst_single_queue_flush), (apply_segment), (apply_buffer),
517         (gst_single_queue_push_one), (gst_multi_queue_loop),
518         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
519         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
520         (compute_high_id), (gst_single_queue_new):
521         * plugins/elements/gstmultiqueue.h:
522         Take the multiqueue lock when updating the fill level so we don't get
523         confused. 
524
525         After applying a buffer or event on the src pad segment, make sure to
526         call gst_data_queue_limits_changed() to get the data queue to unblock
527         and check the filled state again.
528         
529         Rework the not-linked pad handling so the logic is that not-linked 
530         pads can push as fast as they like, but only so they never get 
531         ahead of any linked pads.
532
533         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
534         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
535         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
536
537         Add a test to check that not-linked pads always stay behind
538         linked pads.
539
540         Fixes: #430682
541
542 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
543
544         * docs/random/release:
545           Some updates to the release procedure.
546
547 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
548
549         * gst/gstelementfactory.c: (__gst_element_details_clear):
550           Microoptimization that saves stunning 80 bytes.
551
552 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
553
554         * docs/plugins/gstreamer-plugins.args:
555         * docs/plugins/inspect/plugin-coreelements.xml:
556         * docs/plugins/inspect/plugin-coreindexers.xml:
557           Update docs with caps info.
558
559 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
560
561         * po/it.po:
562           Updated Italian translation.
563
564 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
565
566         * ChangeLog:
567         * po/vi.po:
568           Update Vietnamese translations.
569
570 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
571
572         * libs/gst/base/gstbasesink.c:
573           Remove unused signal enum.
574
575 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
576
577         * docs/gst/gstreamer-sections.txt:
578         * gst/gstelement.c:
579         * gst/gstutils.c: (gst_type_register_static_full):
580         Beef up and include the docs for gst_type_register_static_full and
581         gst_element_class_set_details_simple and add the API keyword
582         in the ChangeLog.
583
584 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
585
586         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
587         (update_time_level), (gst_single_queue_push_one),
588         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
589         (single_queue_overrun_cb), (single_queue_underrun_cb),
590         (single_queue_check_full):
591         Fix setting max-* properties after adding queues.
592         Use IS_FILLED for checking visible items.
593         Signal overrun if multiple queues overrun.
594         Add extra debug output.
595         Patch by: Wim Taymans <wim@fluendo.com>
596
597 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
598
599         * gst/gstelement.c: (gst_element_class_set_details_simple):
600         * gst/gstelement.h:
601         * gst/gstutils.c: (gst_type_register_static_full):
602         * gst/gstutils.h:
603         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
604         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
605         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
606         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
607         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
608         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
609         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
610         * plugins/elements/gstidentity.c: (gst_identity_base_init):
611         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
612         * plugins/elements/gstqueue.c: (gst_queue_base_init),
613         (apply_buffer), (gst_queue_chain):
614         * plugins/elements/gsttee.c: (gst_tee_base_init):
615         * plugins/elements/gsttypefindelement.c:
616         (gst_type_find_element_base_init),
617         (gst_type_find_element_class_init):
618           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
619           API: add gst_type_register_static_full
620           API: add gst_element_class_set_details_simple
621
622 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * docs/pwg/advanced-types.xml:
625           Fix typo in iana.org URI.
626
627 2007-06-19  Andy Wingo  <wingo@pobox.com>
628
629         * tests/check/pipelines/simple-launch-lines.c
630         (test_state_change_returns): Enable pull-mode tests now that
631         basesink has been fixed.
632
633         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
634         Changed from gst_base_sink_is_prerolled, reversing the sense of
635         the return value. Returns FALSE also if the sink is in pull mode,
636         in which case it needs no preroll.
637         (gst_base_sink_query, gst_base_sink_change_state): Update for
638         needs_preroll change.
639         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
640         chaining up, in which we return SUCCESS directly if we activated
641         in pull mode instead of ASYNC. Involves countering an async_start
642         message sent before chaining up; not sure if this is correct, in
643         an ideal world we only send async-start when activating in push
644         mode.
645
646         * tests/check/pipelines/simple-launch-lines.c
647         (test_state_change_returns): New test, partially disabled until
648         basesink is fixed.
649
650 2007-06-19  Wim Taymans  <wim@fluendo.com>
651
652         * plugins/elements/gstmultiqueue.c: (apply_buffer),
653         (gst_multi_queue_sink_event):
654         Fix event leak.
655
656 2007-06-19  Wim Taymans  <wim@fluendo.com>
657
658         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
659         (gst_bin_change_state_func), (bin_push_state_continue),
660         (bin_handle_async_start), (bin_handle_async_done),
661         (gst_bin_handle_message_func):
662         Move the common code for posting state-change messages into
663         one function.
664         Broadcast the state signal after we posted the messages.
665         Mark the bin as busy when it's doing a state-change.
666         Make sure async-start/done messages don't interfere with the bin's
667         state when it's busy.
668         After the state change, let the bin check which elements completed the
669         state change while it was busy so that it can update its state.
670
671 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
672
673         * docs/random/release:
674         Add a note about updating the doap file to the release checklist
675
676 2007-06-18  Wim Taymans  <wim@fluendo.com>
677
678         * plugins/elements/gstmultiqueue.c: (apply_buffer),
679         (gst_single_queue_push_one), (gst_multi_queue_chain),
680         (gst_multi_queue_sink_event):
681         Make sure we don't reference the buffer/event after we have given away
682         ownership in the queue.
683
684 2007-06-18  Wim Taymans  <wim@fluendo.com>
685
686         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
687         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
688         Update queue state _after_ adding the item in the queue because else we
689         could end up being full without the element added yet.
690
691 2007-06-18  Wim Taymans  <wim@fluendo.com>
692
693         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
694         (gst_bin_remove_func), (gst_bin_get_state_func),
695         (gst_bin_element_set_state), (gst_bin_continue_func),
696         (bin_push_state_continue), (bin_handle_async_start),
697         (bin_handle_async_done), (gst_bin_handle_message_func):
698         * gst/gstbin.h:
699         Immediatly commit the toplevel bin state when receiving an async-done
700         message. This enables us to avoid spawning a thread to commit the state
701         in some common cases and it also avoids some races.
702         Avoid spawning a state thread when adding/removing async elements to a
703         toplevel bin. Instead we immediatly update the bin state.
704         Get rid of iterating all the children when getting the state in the bin
705         because it is now always up-to-date.
706         Fix bug where locked elements would always return _SUCCESS even it they
707         returned NO_PREROLL before being locked.
708         Fix the order of the state_change, async-start/done messages that was
709         sometimes incorrect.
710         Mark the state_dirty field as deprecated, we don't need it anymore as we
711         are always up-to-date.
712
713         * gst/gstelement.c: (gst_element_get_state_func),
714         (gst_element_continue_state):
715         Small debug inprovements.
716         Return the previous element state return when nothing is pending instead
717         of blindly returning SUCCESS.
718
719         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
720         (gst_sinks_suite):
721         Add a whole bunch of new testcases.
722
723 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
724
725         * po/uk.po:
726         * po/vi.po:
727           Update translations.
728
729 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
730
731         * gst/gstpad.c:
732         Fix typo in the docs.
733
734 2007-06-15  Wim Taymans  <wim@fluendo.com>
735
736         * docs/libs/gstreamer-libs-sections.txt:
737         Add docs for new methods.
738
739 2007-06-15  Wim Taymans  <wim@fluendo.com>
740
741         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
742         (gst_multi_queue_item_new):
743         Don't use GSlice because we don't depend on >= 2.10 yet.
744
745 2007-06-15  Wim Taymans  <wim@fluendo.com>
746
747         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
748         (update_time_level), (apply_segment), (apply_buffer),
749         (gst_single_queue_push_one), (gst_multi_queue_item_new),
750         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
751         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
752         (single_queue_underrun_cb), (single_queue_check_full):
753         Remove debug printf.
754
755 2007-06-15  Wim Taymans  <wim@fluendo.com>
756
757         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
758         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
759         (gst_data_queue_set_flushing), (gst_data_queue_push),
760         (gst_data_queue_pop), (gst_data_queue_drop_head),
761         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
762         * libs/gst/base/gstdataqueue.h:
763         Various cleanups.
764         Added methods to get the current levels and to inform the queue that the
765         'full' limits changed.
766
767         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
768         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
769         (gst_single_queue_flush), (update_time_level), (apply_segment),
770         (apply_buffer), (gst_single_queue_push_one),
771         (gst_multi_queue_item_steal_object),
772         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
773         (gst_multi_queue_loop), (gst_multi_queue_chain),
774         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
775         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
776         (gst_multi_queue_src_query), (single_queue_overrun_cb),
777         (single_queue_underrun_cb), (single_queue_check_full),
778         (gst_single_queue_new):
779         Keep track of time in the queue by measuring the difference between
780         running_time on input and output. This gives more accurate results and
781         can compensate for segments correctly.
782         Make a queue by default only 5 buffers deep. We will now increase the
783         buffer size depending on the filledness of the other queues.
784         Factor out commong flush code.
785         Make sure we don't add additional refcounts to buffers when we can avoid
786         it.
787         Propagate GstFlowReturn differently.
788         Use GSlice for intermediate GstMultiQueueItems.
789         Keep track of EOS.
790         Resize queues on over and underruns based on filled level of other
791         queues.
792         When checking if the queue is filled, prefer to measure in time if we
793         can and fall back to bytes when no time is known.
794
795         * plugins/elements/gstqueue.c:
796         Fix return value.
797
798 2007-06-15  Wim Taymans  <wim@fluendo.com>
799
800         * libs/gst/base/gstbasetransform.c:
801         (gst_base_transform_sink_event):
802         Work around the brokenness of the event vmethod in basetransform. Prefer
803         to return TRUE when the subclass returned FALSE (meaning don't forward
804         the event). 
805
806         * libs/gst/base/gstbasetransform.h:
807         Clarify the docs.
808
809 2007-06-15  Wim Taymans  <wim@fluendo.com>
810
811         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
812         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
813         (gst_base_src_default_query), (gst_base_src_get_range),
814         (gst_base_src_start):
815         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
816         Improve debugging.
817
818 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
819
820         * docs/pwg/advanced-types.xml:
821           Added more formats to caps table.
822
823 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
824
825         * tools/gst-launch.c: (main):
826           Remove crufy code. GOption does not need this workaround.
827
828 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
829
830         * libs/gst/controller/gstcontroller.c:
831         (gst_controlled_property_set_interpolation_mode):
832           Fix wrong getter for enums in controller.
833
834 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * libs/gst/check/gstcheck.c: (gst_check_init):
837           Intercept criticals and warnings in the Gst-Phonon log domain, so
838           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
839           well.
840         
841 2007-06-14  Edward Hervey  <edward@fluendo.com>
842
843         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
844         Since this file doesn't include "gst.h" it will not go through the
845         macros that disable GST_LOG if debugging was disabled.
846
847 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
848
849         * libs/gst/check/Makefile.am:
850         * libs/gst/check/gstcheck.h:
851         * pkgconfig/gstreamer-check-uninstalled.pc.in:
852         * pkgconfig/gstreamer-check.pc.in:
853           Ugly 'fix' for the controller unit test on the p5 bot: in
854           fail_unless_equals_float() check whether the values are 'almost
855           equal' by allowing a small absolute error, which should be good
856           enough for our use cases (normal numbers and values close to 0).
857           Proper fixage left to floating point arithmetic aficionados.
858
859 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
860
861         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
862         (gst_base_sink_render_object), (gst_base_sink_get_position):
863           Add two breaks thats where missing.
864
865 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
866
867         * docs/libs/gstreamer-libs-sections.txt:
868         * libs/gst/check/gstcheck.h:
869           API: add fail_unless_equals_float() and assert_equals_float().
870           Add documentation for some of the macros.
871
872         * tests/check/libs/controller.c: (GST_START_TEST):
873           Use newly-added asserts.
874
875 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
876
877         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
878           Show the caps change in the log to help spotting the case of not
879           exactly matching caps.
880
881 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
882
883         * docs/pwg/building-boiler.xml:
884           Fix typos, spotted by Thijs Vermeir (#447190).
885
886 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
887
888         * docs/plugins/tmpl/.cvsignore:
889         Ignore file to keep the buildbots happy
890
891 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
892
893         * docs/plugins/Makefile.am:
894         * docs/plugins/gstreamer-plugins-docs.sgml:
895         * docs/plugins/gstreamer-plugins-sections.txt:
896         Pull fdsink into the docs too.
897
898 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
899
900         * libs/gst/controller/gstinterpolation.c:
901         Actually use the new functions with min/max checks for the trigger and
902         none interpolation modes for get() and get_value_array() instead of
903         just the latter.
904
905 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
906
907         * libs/gst/controller/gstcontroller.c:
908         (gst_controlled_property_free):
909         Unset the minimum and maximum GValues when freeing the corresponding
910         GstControllerProperty struct.
911
912 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
913
914         * libs/gst/controller/gstcontroller.c:
915         (gst_controlled_property_new):
916         * libs/gst/controller/gstcontrollerprivate.h:
917         * libs/gst/controller/gstinterpolation.c:
918         (gst_controlled_property_find_control_point_node),
919         (interpolate_none_get), (interpolate_none_get_enum_value_array),
920         (interpolate_none_get_string_value_array),
921         (interpolate_trigger_get),
922         (interpolate_trigger_get_enum_value_array),
923         (interpolate_trigger_get_string_value_array):
924         Protect against values larger or smaller than the minimum or maximum
925         allowed value for the property when using values that can be compared.
926
927         Optimize trigger interpolator a bit by taking the last requested value
928         into account instead of always looping through the complete list.
929
930         Fix coding style a bit, everywhere else we use "return foo" instead
931         of "return (foo)".
932         
933         * tests/check/libs/controller.c: (GST_START_TEST),
934         (gst_controller_suite):
935         Add unit test for the protection against too large or too small
936         values.
937
938 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
939
940         * docs/random/slomo/controller.txt:
941         Add some thoughts about the future of the controller.
942
943 2007-06-08  Wim Taymans  <wim@fluendo.com>
944
945         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
946         Don't overflow in retimestamping code.
947
948 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
949
950         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
951         Use gst_util_guint64_to_gdouble for conversions.
952         * win32/common/libgstreamer.def:
953         Add new exported functions.
954
955 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
956
957         * gst/gstutils.c:
958           Small docs addition.
959
960 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
961
962         * README:
963           Remove that test line again.
964
965 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
966
967         * README:
968           Test commit mail sending.
969
970 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
971
972         * configure.ac:
973           Fix typo and test commit mail sending.
974
975 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
976
977         * tests/examples/controller/audio-example.c:
978           Improve comment and test commit mail sending.
979
980 2007-06-07  Wim Taymans  <wim@fluendo.com>
981
982         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
983         (gst_bin_remove_func), (gst_bin_element_set_state),
984         (bin_handle_async_start), (bin_handle_async_done),
985         (gst_bin_handle_message_func):
986         Add helper function to find messages.
987         Generate the async-done messages together with the state change
988         messages.
989         Small cleanups in handling toplevel bins.
990
991 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
992
993         * libs/gst/base/gstdataqueue.c:
994         * libs/gst/base/gstdataqueue.h:
995         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
996         (gst_multi_queue_item_new), (gst_multi_queue_chain),
997         (gst_multi_queue_sink_event):
998         * tests/check/elements/multiqueue.c: (multiqueue_suite):
999           Fix multiqueue leaking buffers and events when downstream or the
1000           queue are flushing. Make refcounting assumptions explicit and
1001           document them (shouldn't break existing code that uses it other than
1002           maybe leak miniobjects, but that already happens anyway). Add unit
1003           test for the most common flushing case. Fixes #423700.
1004           
1005 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1006
1007         * libs/gst/controller/gstcontroller.c:
1008         Clarify docs: The get_all, get_value_array(s) functions
1009         don't modify the GObject properties.
1010
1011 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
1012
1013         * libs/gst/controller/gstcontroller.c:
1014         (gst_controlled_property_set_interpolation_mode),
1015         (gst_controlled_property_prepend_default),
1016         (gst_controlled_property_new), (gst_controller_set_unlocked),
1017         (gst_controller_set), (gst_controller_set_from_list),
1018         (gst_controller_unset), (gst_controller_unset_all):
1019         * libs/gst/controller/gstcontrollerprivate.h:
1020         * libs/gst/controller/gstinterpolation.c:
1021         Factor out the 'set' logic into gst_controller_set_unlocked for the
1022         gst_controller_set and gst_controller_set_from_list functions.
1023
1024         To make life of the interpolators easier always add a control point
1025         at timestamp zero with the default value.
1026
1027         In the linear interpolator make things more obvious by better variable
1028         naming (slope).
1029
1030         Implement cubic interpolation mode (by using a natural cubic spline)
1031         and map the quadratic interpolation mode to this too (as quadratic
1032         doesn't make much sense, see discussion on the list).
1033
1034         * tests/check/libs/controller.c: (GST_START_TEST),
1035         (gst_controller_suite):
1036         Add unit test for the cubic interpolation mode and check everywhere
1037         if the interpolation mode could be set as expected.
1038
1039 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1040
1041         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1042           Don't use GLib-2.10 functions, we still depend on
1043           GLib-how-old-is-it-again-2.8.
1044
1045 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
1046
1047         * docs/gst/gstreamer-sections.txt:
1048         * gst/Makefile.am:
1049         * gst/gst.c:
1050         * gst/gst.h:
1051         * gst/gstparamspecs.c: (_gst_param_fraction_init),
1052         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1053         (_gst_param_fraction_values_cmp),
1054         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1055         * gst/gstparamspecs.h:
1056         * gst/gstvalue.c:
1057         * tests/check/Makefile.am:
1058         * tests/check/gst/.cvsignore:
1059         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1060         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1061         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1062         (GST_START_TEST), (gst_param_spec_suite):
1063           API: add GstParamSpecFraction, so elements can have fraction
1064           properties without lots of painful string parsing (#444648).
1065
1066 2007-06-05  Wim Taymans  <wim@fluendo.com>
1067
1068         * gst/gstobject.c: (gst_object_class_init):
1069         Fix signal signature.
1070
1071         * gst/gstsegment.c:
1072         Add small clarification in the api docs.
1073
1074         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1075         States are protected with object lock.
1076
1077 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1078
1079         * AUTHORS:
1080         I should probably be listed as an author by now.
1081
1082         * docs/random/release:
1083         Update the release doc
1084
1085 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1086
1087         * gst/gstvalue.c:
1088           Make docs for gst_value_compare() mention return enums that
1089           actually exist.
1090
1091 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1092
1093         * configure.ac:
1094           Back to CVS
1095
1096 === release 0.10.13 ===
1097
1098 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1099
1100         * configure.ac:
1101           releasing 0.10.13, "With or without you"
1102
1103 2007-05-25  Wim Taymans  <wim@fluendo.com>
1104
1105         * gst/gstbin.c: (bin_handle_async_done):
1106         Make sure that the child bin stops after completing the async state
1107         change so that the parent can continue the state change to PLAYING.
1108         Fixes #441159.
1109
1110 2007-05-25  Wim Taymans  <wim@fluendo.com>
1111
1112         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1113         (unref_data), (gst_collect_pads_remove_pad),
1114         (gst_collect_pads_check_pads):
1115         Use additional refcounting to avoid crashes when dynamically adding and
1116         removing pads. Fixes #420206.
1117
1118 2007-05-24  Wim Taymans  <wim@fluendo.com>
1119
1120         * tools/gst-launch.c: (event_loop):
1121         When buffering goes from a two digit to a single digit number, make sure
1122         to remove the old second digit by writing a blank over it.
1123
1124 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1125
1126         * libs/gst/base/gstdataqueue.c:
1127           Eliminate tabs and trailing comma in enum list; fix some typos.
1128
1129 2007-05-24  Wim Taymans  <wim@fluendo.com>
1130
1131         * tests/check/gst/gstbin.c: (GST_START_TEST):
1132         Allow refcount of 3 and 4 because some state thread might still be busy
1133         with it.
1134
1135 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1136
1137         * plugins/elements/Makefile.am:
1138         * plugins/elements/gstmultiqueue.h:
1139         * plugins/elements/gstqueue.h:
1140           These are not installed headers, no need for padding.
1141
1142 2007-05-24  Wim Taymans  <wim@fluendo.com>
1143
1144         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1145         (gst_bin_continue_func):
1146         Enable latency for next release.
1147         Restore STATE_LOCK around recalc_state that was left out during the
1148         rewrite and could result in racy behaviour when _get_state and
1149         recalc_state are run concurrently. See #440463.
1150
1151 2007-05-23  Wim Taymans  <wim@fluendo.com>
1152
1153         * tests/check/gst/gstsystemclock.c: (store_callback),
1154         (GST_START_TEST):
1155         Improve test_async_order to also work when both timers are already
1156         expired when we get scheduled to check it.
1157
1158 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1159
1160         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1161         (gst_bin_set_property), (gst_bin_get_property),
1162         (gst_bin_remove_func), (gst_bin_handle_message_func):
1163         * gst/gstbin.h:
1164           'private' is a c++ keyword, let's not use that in header files,
1165           otherwise c++ compilers will throw a tantrum.
1166
1167 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1168
1169         * plugins/elements/gstelements.c:
1170         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1171         (gst_file_sink_get_current_offset):
1172         * plugins/indexers/gstindexers.c: (plugin_init):
1173           Use #ifdef for HAVE_XYZ for consistency.
1174
1175         * tests/check/Makefile.am:
1176         * tests/check/elements/.cvsignore:
1177         * tests/check/elements/filesink.c: (setup_filesink),
1178         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1179           Add some unit tests for filesink.
1180
1181 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         Patch by: Mark Nauwelaerts <manauw at skynet be>
1184
1185         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1186         (gst_file_sink_query), (gst_file_sink_do_seek),
1187         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1188         * plugins/elements/gstfilesink.h:
1189           Fix position reporting; rename data_written member to current_pos to
1190           reflect its real meaning (fixes #412648).
1191
1192 2007-05-22  Edward Hervey  <edward@fluendo.com>
1193
1194         * docs/gst/gstreamer-sections.txt:
1195         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1196         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1197         (gst_bin_remove_func), (gst_bin_handle_message_func):
1198         * gst/gstbin.h:
1199         Add a property for bins that handle the state change of their childs.
1200         Fixes #435880
1201
1202 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1203
1204         * libs/gst/controller/gstinterpolation.c:
1205         Use an array of the correct type when using _get_value_array with
1206         linear interpolation.
1207
1208 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1209
1210         * gst/gstelement.c (gst_element_requires_clock,
1211           gst_element_provides_clock, gst_element_request_pad,
1212           gst_element_class_set_details, gst_element_class_set_details_simple,
1213           gst_element_default_send_event, gst_element_abort_state,
1214           gst_element_continue_state, gst_element_set_state,
1215           gst_element_set_state_func, iterator_activate_fold_with_resync):
1216         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1217           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1218           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1219           gst_pad_get_range, gst_pad_pull_range):
1220         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1221           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1222           GstPadActivateModeFunction, GstPadChainFunction,
1223           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1224           GstPadFixateCapsFunction, GstPadTemplate):
1225         * gst/gstpipeline.c (gst_pipeline_change_state,
1226           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1227           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1228           gst_pipeline_get_delay):
1229           Whitespace and docs fixes.
1230
1231 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1232
1233         * libs/gst/controller/gstinterpolation.c:
1234         (interpolate_trigger_get_enum_value_array),
1235         (interpolate_trigger_get_string_value_array):
1236         Add support for retrieving value arrays when using the trigger
1237         interpolation mode. 
1238
1239 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1240
1241         * libs/gst/controller/gstcontroller.c:
1242         (gst_controller_get_value_array):
1243         * libs/gst/controller/gstcontroller.h:
1244         Clarify the docs of gst_controller_get_value_array(): The array where
1245         the values should be written to must be allocated as there seems to be
1246         no way to get the size of a random GType. This doesn't change any
1247         behaviour. Also fix some typos all over the place and remove an unused,
1248         commented function that is not necessary as g_object_set() could be
1249         used instead.
1250         * tests/check/libs/controller.c: (GST_START_TEST),
1251         (gst_controller_suite):
1252         Add unit test for gst_controller_get_value_array().
1253
1254 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1255
1256         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1257
1258         Disable part of the gst_buffer_try_new_and_alloc test, because
1259         it can happily succeed on 64-bit systems where there's more address
1260         space available.
1261
1262 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1263
1264         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1265         Add unit test for the improved caps checking from bug #421543.
1266
1267 2007-05-21  Wim Taymans  <wim@fluendo.com>
1268
1269         * docs/design/part-synchronisation.txt:
1270         Small addition.
1271
1272         * gst/gstbin.c: (gst_bin_query):
1273         * plugins/elements/gstqueue.c: (apply_segment):
1274         Improve debugging.
1275
1276         * gst/gstmessage.h:
1277         Improve docs.
1278
1279 2007-05-21  Wim Taymans  <wim@fluendo.com>
1280
1281         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1282         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1283         (gst_pad_configure_src):
1284         Added simple version of improved caps checking. It was previously
1285         assumed that a setcaps function would check the validity of the caps but
1286         people prefer us to check caps against the template automatically. 
1287         Fixes #421543.
1288
1289 2007-05-21  Wim Taymans  <wim@fluendo.com>
1290
1291         * libs/gst/base/gstbasetransform.h:
1292         Fix macro for locking/unlocking the transform lock.
1293
1294 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1295
1296         * docs/plugins/tmpl/.cvsignore:
1297           Ignore more.
1298
1299 2007-05-18  Edward Hervey  <edward@fluendo.com>
1300
1301         * plugins/elements/gstqueue.c: (gst_queue_loop):
1302         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1303         for the subtle art of warning a potentially blocking thread that it
1304         should check the source pad return value, and relay the information
1305         upstream.
1306
1307 2007-05-18  Edward Hervey  <edward@fluendo.com>
1308
1309         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1310         Release the queue lock !
1311
1312 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1313
1314         * docs/libs/gstreamer-libs-sections.txt:
1315         Add the two new controller functions to the appropiate places.
1316
1317 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1318
1319         reviewed by: Stefan Kost <ensonic@users.sf.net>
1320
1321         * libs/gst/controller/gstcontroller.c:
1322         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1323         (_gst_controller_get_property), (_gst_controller_set_property),
1324         (_gst_controller_init), (_gst_controller_class_init):
1325         * libs/gst/controller/gstcontroller.h:
1326         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1327         (gst_object_get_control_rate), (gst_object_set_control_rate):
1328         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1329         Add API that provides sync suggestion timestamps for elements that
1330         call gst_object_sync_values() from which those elements can subdivide
1331         their processing loop to get the best results for the controlled
1332         properties. For now it just suggests last_sync + control_rate as
1333         new timestamp but this will be improved in the future.
1334
1335         While doing that change the control-rate property to a GstClockTime
1336         from guint and change it's meaning from samples to nanoseconds as
1337         the GstController doesn't know anything about sampling rate. Strictly
1338         speaking this breaks ABI but as the control-rate property didn't do
1339         anything in the past and as such couldn't be used this should be no
1340         problem.        
1341
1342 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1343
1344         reviewed by: Stefan Kost <ensonic@users.sf.net>
1345
1346         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1347         (gst_controller_unset_all):
1348         * libs/gst/controller/gstcontrollerprivate.h:
1349         * libs/gst/controller/gstinterpolation.c:
1350         (gst_controlled_property_find_control_point_node):
1351         Save last synced value from the list to continue searching from there
1352         in future syncs. This speeds everything up a bit.
1353         
1354 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1355
1356         reviewed by: Stefan Kost <ensonic@users.sf.net>
1357
1358         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1359         (gst_control_point_find), (gst_controlled_property_new),
1360         (gst_control_point_free), (gst_controlled_property_free),
1361         (gst_controller_set), (gst_controller_set_from_list),
1362         (gst_controller_unset), (gst_controller_unset_all),
1363         (gst_controller_sync_values):
1364         * libs/gst/controller/gstcontroller.h:
1365         * libs/gst/controller/gstcontrollerprivate.h:
1366         * libs/gst/controller/gstinterpolation.c:
1367         (gst_controlled_property_find_control_point_node),
1368         (interpolate_none_get), (interpolate_trigger_get):
1369         Add a new private GstControlPoint struct which "inherits" from
1370         GstTimedValue to allow different interpolators to store internal
1371         values next to each control point. From the outside everything is
1372         still a GstControlPoint so we don't loose binary compatibility.
1373         Also fixup all the GValue handling to not leak GValues or list nodes.
1374         * tests/check/libs/controller.c: (GST_START_TEST):
1375         Free the list nodes and GValues in the controller_misc test.
1376
1377 2007-05-17  Edward Hervey  <edward@fluendo.com>
1378
1379         * gst/gstsegment.c:
1380         Small doc fix.
1381
1382 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1383
1384         * gst/gstplugin.c: (gst_plugin_load_file):
1385           If we fail to load a plugin because of unresolved symbols or missing
1386           libraries and spew a warning to stderr, we may just as well mention
1387           which plugin it was that failed to load.
1388
1389 2007-05-13  David Schleef  <ds@schleef.org>
1390
1391         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1392           handles the case when ENABLE_GTK_DOC is false, and installs
1393           the prebuilt documentation.  So gtk-doc subdirs are 
1394           unconditionally enabled.  Fixes: #349099.
1395
1396 2007-05-13  David Schleef  <ds@schleef.org>
1397
1398         * gst/gstutils.h: Reword some documentation.
1399
1400 2007-05-12  David Schleef  <ds@schleef.org>
1401
1402         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1403           do anything with the passed "module" parameter, so remove it.
1404           Allows removal of additional vestigal code.
1405
1406 2007-05-12  David Schleef  <ds@schleef.org>
1407
1408         * gst/gstplugin.c:
1409           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1410           Switch to using g_stat() because it's more portable.
1411
1412 2007-05-12  David Schleef  <ds@schleef.org>
1413
1414         * gst/gst.c:
1415           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1416           parsing for embedded systems.
1417         * gst/gstelementfactory.c:
1418           Allow gst_element_register() to be called with plugin==NULL.
1419           Did nobody notice that static elements were broken?
1420
1421 2007-05-12  Wim Taymans  <wim@fluendo.com>
1422
1423         * tools/gst-launch.c: (event_loop):
1424         Give more interesting info when buffering starts and stops.
1425         Fix case where buffering starts but we fail to update the buffering flag
1426         because the target state is not PLAYING.
1427
1428 2007-05-12  Wim Taymans  <wim@fluendo.com>
1429
1430         * plugins/elements/gstqueue.c: (gst_queue_init),
1431         (gst_queue_finalize), (update_time_level), (apply_segment),
1432         (apply_buffer), (gst_queue_locked_flush),
1433         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1434         (gst_queue_handle_sink_event), (gst_queue_chain),
1435         (gst_queue_push_one), (gst_queue_loop):
1436         * plugins/elements/gstqueue.h:
1437         Refactor an cleanup queue a bit.
1438         Do better time level calculations that also work when the srcpad is not
1439         yet running.
1440         Remove some unneeded debug lines.
1441
1442         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1443         Added testcase for time level measurement.
1444         Try to make some stuff more racefree.
1445
1446 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1447
1448         * gst/gsturi.c: (gst_element_make_from_uri):
1449           Don't leak plugin feature.
1450
1451         * tests/check/Makefile.am:
1452         * tests/check/gst/.cvsignore:
1453         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1454           Add brain-dead unit test.
1455
1456 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1457
1458         Patch by: Jeroen Wouters <woutersj at gmail com>
1459
1460         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1461           Treat protocol strings in a case-insensitive way (#437563).
1462
1463 2007-05-11  Michael Smith <msmith@fluendo.com>
1464
1465         * gst/gstplugin.c: (gst_plugin_load_file):
1466         * gst/gstregistry.c: (gst_registry_scan_path_level):
1467           Don't print a g_warning for any failure to load a shared object.
1468           Instead, push this down into gstplugin.c, and warn _only_ if we
1469           failed to open the module (i.e. failure to link).
1470           Avoids warnings on normal, working, non-plugin .so files.
1471
1472 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1473
1474         * gst/gstplugin.c (gst_plugin_load_file):
1475         * gst/gstregistry.c (GST_CAT_DEFAULT,
1476           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1477           Print a g_warning if there was an error when loading a plugins during
1478           registry scan. The shuld help beginners starting with gst-plugin
1479           template.
1480
1481 2007-05-10  Wim Taymans  <wim@fluendo.com>
1482
1483         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1484         (update_time_level), (gst_queue_locked_flush),
1485         (gst_queue_handle_sink_event), (gst_queue_chain),
1486         (gst_queue_push_one), (gst_queue_loop):
1487         * plugins/elements/gstqueue.h:
1488         Be smarter when calculating the current amount of data in the queue by
1489         measuring the difference between start and end timestamps (in running
1490         time) inside the queue. Fixes #432876.
1491         API: GstQueue::pushing to notify elements that we are pushing data again
1492         since the running signal is rather broken for this purpose.
1493
1494 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1495
1496         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1497           gst_queue_base_init, gst_queue_init):
1498           use GST_BOILERPLATE
1499
1500 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1501
1502         * win32/common/libgstreamer.def:
1503         Add new exported functions.
1504         * win32/vs6/grammar.dsp:
1505         Use grammar pre-generated files.
1506
1507 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1508
1509         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1510
1511         * gst/Makefile.am:
1512         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1513         * gst/gstparse.h:
1514         * gst/gstutils.c: (gst_parse_bin_from_description):
1515         * gst/gstutils.h:
1516           Maintain API and ABI when --disable-parse is used. Now that
1517           we have an appropriate error code, we can just return NULL and the
1518           appropriate error when gst_parse_launch() is used despite it having
1519           been disabled (#342564).
1520
1521         * tests/check/Makefile.am:
1522         * tests/check/pipelines/.cvsignore:
1523         * tests/check/pipelines/parse-disabled.c:
1524           Make sure these functions exist and return NULL plus a GError when
1525           --disable-parse is used.
1526
1527 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1528
1529         * tests/benchmarks/complexity.c: (main):
1530         * tests/benchmarks/mass-elements.c: (main):
1531           Set a good example and don't leak messages.
1532
1533 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1534
1535         * docs/gst/Makefile.am:
1536         * docs/libs/Makefile.am:
1537           Correct fixxrefs options.
1538
1539         * docs/plugins/Makefile.am:
1540         * docs/plugins/gstreamer-plugins-docs.sgml:
1541         * docs/plugins/gstreamer-plugins-sections.txt:
1542         * plugins/elements/Makefile.am:
1543         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1544         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1545           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1546           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1547           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1548           _GstCapsFilterClass, trans_class):
1549         * plugins/elements/gstelements.c (name, rank, type, _elements):
1550         * plugins/elements/gstidentity.c
1551           (gst_identity_check_imperfect_timestamp,
1552           gst_identity_check_imperfect_offset):
1553           Document capsfilter and add doc-blurb to identity.
1554
1555 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1556
1557         * libs/gst/controller/gstcontroller.c:
1558         (gst_controlled_property_set_interpolation_mode):
1559         * libs/gst/controller/gstinterpolation.c:
1560           Don't crash if someone tries to set an interpolation mode that
1561           is invalid or that isn't supported yet. Fixes #422295.
1562
1563         * tests/check/libs/controller.c: (GST_START_TEST),
1564         (gst_controller_suite):
1565           Add a test case for the above.
1566
1567 2007-05-03  Edward Hervey  <edward@fluendo.com>
1568
1569         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1570         Properly set the last_stop position on GstSegment. This will only happen
1571         if there is a buffer to push out.
1572
1573 2007-05-03  Wim Taymans  <wim@fluendo.com>
1574
1575         * libs/gst/base/gstbasetransform.c:
1576         (gst_base_transform_buffer_alloc):
1577         always_in_place does not mean that the sink and source caps are the
1578         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1579
1580 2007-05-03  Wim Taymans  <wim@fluendo.com>
1581
1582         * docs/libs/gstreamer-libs-sections.txt:
1583         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1584         (gst_base_src_default_query), (gst_base_src_get_range):
1585         * libs/gst/base/gstbasesrc.h:
1586         API: gst_base_src_query_latency(). Added method so that subclasses can
1587         easily get the latency values of the base source class.
1588
1589 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1590
1591         * tools/gst-inspect.c (print_implementation_info):
1592         Remove 0.8 cruft.
1593
1594 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1595
1596         * tools/Makefile.am:
1597         * tools/gst-launch.1.in:
1598           Don't create a customised man page based on the host architecture,
1599           describe the default registry path generically. That way the man
1600           page is the same for all architectures and packagers have one
1601           multilib issue less to deal with. Fixes #434926.
1602
1603 2007-05-02  Wim Taymans  <wim@fluendo.com>
1604
1605         * gst/gstpad.c:
1606         Fix documentation as spotted by rg on IRC. 
1607
1608 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1609
1610         * gst/gstutils.c:
1611           Improve docs for gst_element_{link,unlink}.
1612
1613 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1614
1615         * docs/design/part-events.txt:
1616         * docs/design/part-overview.txt:
1617         * gst/gstevent.c:
1618         * gst/gsturi.c:
1619         * gst/gsturi.h:
1620         * libs/gst/base/gstbasesink.c:
1621           Typo fixes; minor docs addition.
1622
1623 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1624
1625         * docs/gst/gstreamer-sections.txt:
1626         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1627         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1628         * gst/gsturi.h:
1629         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1630         or src that supports a given URI protocol exists.
1631
1632 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1633
1634         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1635         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1636         Set the location to NULL if "file://" is set as URI. Otherwise
1637         some random previous URI would still be set if "file://" is
1638         set on an already used filesink/filesrc.
1639
1640 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1641
1642         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1643         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1644         Special case the "file://" URI as as this is used by some
1645         applications to test with gst_element_make_from_uri if there's
1646         an element that supports the URI protocol.
1647         Also move the g_path_is_absolute() check for the location part
1648         of the URI to also check this for "file://localhost/bla" URIs.
1649
1650 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1651
1652         * docs/gst/gstreamer-sections.txt:
1653         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1654         * gst/gstbuffer.h:
1655         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1656         (gst_buffer_suite):
1657           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1658
1659 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1662         (gst_registry_binary_load_pad_template),
1663         (gst_registry_binary_load_plugin),
1664         (gst_registry_binary_read_cache):
1665         * gst/gstregistrybinary.h:
1666           Implement no-mmap alternative for registry reading. Do code cleanups.
1667           Add more comments about avoiding strdups for all text data. Comments
1668           welcome.
1669
1670 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1671
1672         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1673           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1674           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1675           Comment structs and reformat to fix the build (that stuff should go
1676           into a priv. header).
1677
1678 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1679
1680         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1681         (gst_registry_binary_load_feature):
1682         * gst/gstregistrybinary.h:
1683           Refactor so that we can implement multiple features. Add support for
1684           TypeFindFactory features.
1685
1686 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1687
1688         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1689
1690         * configure.ac:
1691           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1692
1693 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1694
1695         * gst/gstbin.c: (gst_bin_element_set_state),
1696         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1697         (bin_handle_async_done), (gst_bin_handle_message_func):
1698           Fix build with --gst-disable-gst-debug
1699
1700 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1701
1702         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1703           Make sure streaming has finished before calling the ::stop() vfunc,
1704           since that vfunc might clear state which is being used in the
1705           streaming thread. This fixes a race that caused crashes in
1706           audioresample when shutting down a pipeline (#420106).
1707
1708 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1709
1710         * docs/gst/gstreamer-sections.txt:
1711           That was one byte missing.
1712
1713 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1714
1715         * configure.ac:
1716         * docs/gst/gstreamer-sections.txt:
1717         * gst/Makefile.am:
1718         * gst/gstconfig.h.in:
1719         * gst/gstobject.c: (gst_object_class_init),
1720         (gst_signal_object_class_init):
1721         * gst/gstobject.h:
1722           2nd attempt to have a xml-less build as a joined effort of #413123
1723           and #421480.
1724
1725 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1726
1727         * docs/design/draft-tagreading.txt:
1728           Added open issues/thoughts to draft.
1729
1730 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1731
1732         * gst/parse/grammar.tab.pre.c:
1733         * gst/parse/grammar.tab.pre.h:
1734         * gst/parse/lex._gst_parse_yy.pre.c:
1735         Update the prebuild parser sources.
1736
1737 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1738
1739         * gst/parse/Makefile.am:
1740         And now fix the building of the flex sources. Now everything should
1741         work as expected.
1742
1743 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1744
1745         * gst/parse/Makefile.am:
1746         Now hopefully fix the build failures by setting proper rule
1747         dependencies and moving instead of copying.
1748
1749 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1750
1751         * tests/benchmarks/complexity.gnuplot:
1752         * tests/benchmarks/complexity.scm:
1753         * tests/benchmarks/mass-elements.gnuplot:
1754         * tests/benchmarks/mass-elements.scm:
1755           Total licensification.
1756
1757 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * gst/parse/Makefile.am:
1760           Fix the build by correcting the rule that gave wrong files to flex.
1761
1762 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1763
1764         * tests/benchmarks/complexity.c:
1765         * tests/benchmarks/mass-elements.c:
1766           Change licence to LGPL as granted by Benjamin and Andy.
1767
1768 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1769
1770         * gst/parse/Makefile.am:
1771         Add correct grammar.tab.h dependency if compiling without new enough
1772         flex. Fixes #431150.
1773
1774 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1775
1776         * gst/parse/Makefile.am:
1777         Fix typo and use outdated sources if the flex/bison sources are newer
1778         than the pregenerated ones but flex is too old. Print a warning in
1779         that case. This should fix the build on the build bot.
1780
1781 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1782
1783         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1784         * gst/parse/Makefile.am:
1785         * gst/parse/grammar.y:
1786         * gst/parse/parse.l:
1787         Make the parser reentrant and recursively callable. This requires flex
1788         >= 2.5.31, for older versions pregenerated sources are used as we
1789         can't bump the build dependency. Finally fixes #349180.
1790
1791         * gst/gstparse.c: (gst_parse_launch):
1792         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1793         now anyway.
1794
1795         * docs/gst/Makefile.am:
1796         * docs/gst/Makefile.am:
1797         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1798         (__gst_parse_strfree), (__gst_parse_link_new),
1799         (__gst_parse_link_free), (__gst_parse_chain_new),
1800         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1801         (gst_parse_element_set), (gst_parse_free_link),
1802         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1803         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1804         (_gst_parse_launch):
1805         * gst/parse/grammar.tab.pre.h:
1806         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1807         (yy_get_previous_state), (yy_try_NUL_trans), (input),
1808         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1809         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1810         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1811         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1812         (_gst_parse_yypop_buffer_state),
1813         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1814         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1815         (yy_fatal_error), (_gst_parse_yyget_extra),
1816         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1817         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1818         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1819         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1820         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1821         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1822         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1823         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1824         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1825         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1826         (_gst_parse_yyfree):
1827         If the installed flex version is too old use pre-generated parser
1828         sources. These pre-generated parser sources are always updated when
1829         the actual flex/bison sources change but require everybody who wants
1830         to change something in the parser to have flex >= 2.5.31 installed.
1831
1832 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
1833
1834         * common/m4/gst-gettext.m4:
1835         * gst/gst-i18n-lib.h:
1836           Make --disable-nls to work
1837
1838 2007-04-17  Wim Taymans  <wim@fluendo.com>
1839
1840         * gst/gstconfig.h.in:
1841         Revert previous change that broke the build.
1842
1843 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
1844
1845         * configure.ac:
1846         * gst/Makefile.am:
1847         * gst/gstconfig.h.in:
1848           Drop libxml2 dependency when building with 
1849           --enable-binary-registry --disable-loadsave
1850
1851 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1854         (gst_registry_binary_read_cache):
1855         * gst/gstregistrybinary.h:
1856           Remove unnecessary <sys/mman.h> include which broke the win32 build
1857           with MingW; move includes from header file to .c file, even if the
1858           header file isn't installed; use g_strerror() where UTF-8 strings
1859           are expected, such as in GST_DEBUG messages.
1860
1861 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1862
1863         * docs/libs/gstreamer-libs-sections.txt:
1864         Remove bogus addition for API I didn't end up keeping.
1865
1866         * libs/gst/base/gstbasesrc.h:
1867         Mention Since: 0.10.13 in the documentation.
1868
1869         Add the API keyword to the previous ChangeLog entry.
1870
1871 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1872
1873         * docs/libs/gstreamer-libs-sections.txt:
1874         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1875         (gst_base_src_default_prepare_seek_segment),
1876         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1877         * libs/gst/base/gstbasesrc.h:
1878         Allow basesrc derived classes to execute seeks in other formats
1879         by providing a prepare_seek_segment vmethod. Sub-classes can choose
1880         to prepare the GstSegment in any format that their perform_seek method
1881         will be able to understand. The default implementation provides the
1882         old behaviour of attempting to convert the seek offsets to the 
1883         configured native format.
1884
1885         API: basesrc::prepare_seek_segment vmethod.
1886
1887 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1888
1889         * gst/gstelement.c: (gst_element_get_state_func):
1890         Don't output the same debug statement twice.
1891
1892         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1893         (gst_adapter_peek), (gst_adapter_take_buffer):
1894         Optimise the case where we have buffers at the head of the queue that
1895         can be joined quickly (because they're contiguous sub-buffers) by
1896         merging them together rather than copying data out into new memory.
1897
1898         * gst/parse/grammar.y:
1899         * tests/check/pipelines/parse-launch.c:
1900         Fix a leak in an error path for parse_launch, and add a check 
1901         for it to the testsuite.
1902
1903 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1904
1905         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1906           Don't deadlock when releasing a pad - gst_pad_set_active may try
1907           and take the multiqueue lock too.
1908
1909 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1910
1911         * gst/gsterror.c: (_gst_core_errors_init):
1912         * gst/gsterror.h:
1913           API: add GST_CORE_ERROR_DISABLED (#392804).
1914
1915 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1916
1917         * docs/faq/gst-uninstalled:
1918           don't get empty paths on the PATH variables
1919         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1920           Don't format for the uncommon terminal width of 84 characters.
1921
1922 2007-04-06  Wim Taymans  <wim@fluendo.com>
1923
1924         * gst/gstpipeline.c: (reset_stream_time),
1925         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1926         Only try to select a different pipeline clock when we went back to
1927         PAUSED and not when we merely got flushed.
1928
1929 2007-04-05  Michael Smith  <msmith@fluendo.com>
1930
1931         * tools/gst-launch.1.in:
1932           fractions are better supported in gstreamer than ractions, so
1933           suggest using those.
1934
1935 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1936
1937         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1938
1939         * po/LINGUAS:
1940         * po/da.po:
1941           Added Danish translation.
1942
1943 2007-04-05  Wim Taymans  <wim@fluendo.com>
1944
1945         * libs/gst/base/gstbasesink.c:
1946         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1947         Fix leak caused when refusing newsegment after EOS.
1948
1949         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1950         (gst_fake_sink_init), (gst_fake_sink_set_property),
1951         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1952         (gst_fake_sink_render), (gst_fake_sink_change_state):
1953         * plugins/elements/gstfakesink.h:
1954         Add num-buffers property to make the element generate EOS after a
1955         configurable amount of buffers.
1956         API: fakesink::num-buffers property.
1957
1958         * tests/check/elements/fakesink.c: (GST_START_TEST),
1959         (fakesink_suite):
1960         Fix GstBus leak in test.
1961         Test for fakesink num-buffers.
1962
1963 2007-04-05  Wim Taymans  <wim@fluendo.com>
1964
1965         * libs/gst/base/gstbasesink.c:
1966         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1967         (gst_base_sink_change_state):
1968         Don't accept anything after an EOS, return UNEXPECTED instead.
1969
1970         * tests/check/elements/fakesink.c: (GST_START_TEST),
1971         (fakesink_suite):
1972         Unit test for new EOS behaviour.
1973
1974 2007-04-05  Wim Taymans  <wim@fluendo.com>
1975
1976         * gst/gstelement.c: (gst_element_get_request_pad):
1977         Make padtemplates also work when they don't contain %s or %d.
1978
1979 2007-04-05  Wim Taymans  <wim@fluendo.com>
1980
1981         * docs/gst/gstreamer-sections.txt:
1982         * gst/gstclock.c: (gst_clock_adjust_unlocked),
1983         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1984         * gst/gstclock.h:
1985         Improve _adjust_unlocked() so that it overflows less.
1986         Add gst_clock_unadjust_unlocked to convert from external time to
1987         internal time based on calibration.
1988         Add some more debug.
1989         API: GstClock::gst_clock_unadjust_unlocked()
1990
1991 2007-04-03  Wim Taymans  <wim@fluendo.com>
1992
1993         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1994
1995         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1996         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1997         when releasing sink pad. Fixes #425400.
1998
1999 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
2000
2001         * docs/random/ensonic/dynlink.txt:
2002           More work on proposal for new core api.
2003
2004         * docs/libs/gstreamer-libs-sections.txt:
2005         * libs/gst/base/gstbasetransform.h:
2006           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2007           
2008         * libs/gst/controller/gstcontroller.c:
2009         (on_object_controlled_property_changed),
2010         (gst_controller_sync_values),
2011         (gst_controller_set_interpolation_mode):
2012         * libs/gst/controller/gstcontroller.h:
2013           Less verbose logging add docs for unimplemented parts and correctly
2014           return when using unavailable parts.
2015
2016 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2017
2018         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2019         Move all the debug to the CLOCK category, and associate it with
2020         the clock object.
2021
2022 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
2023
2024         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2025         Make take_buffer a bit quicker by removing redundant checks
2026         caused by calling gst_adapter_take.
2027
2028 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2029
2030         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2031           Don't leak GCond.
2032
2033         * tests/check/Makefile.am:
2034         * tests/check/elements/.cvsignore:
2035         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2036         (GST_START_TEST), (multiqueue_suite):
2037           Add some dead simple unit tests for the 'multiqueue' element
2038           (some bits don't work yet and are disabled for now).
2039
2040 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
2041
2042         * gst/gstelement.c: (gst_element_get_request_pad),
2043         (gst_element_class_get_request_pad_template):
2044           Make gst_element_get_request_pad() create request pads only for
2045           request pad templates and not for, say, sometimes pad templates.
2046
2047 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
2048
2049         * docs/design/draft-klass.txt:
2050           Add example that needs more thinking.
2051         
2052         * docs/design/draft-missing-plugins.txt:
2053           More thoughts about wrapper plugins.
2054         
2055         * docs/random/ensonic/embedded.txt:
2056         * docs/random/ensonic/profiling.txt:
2057           More design work.
2058
2059 2007-03-25  Wim Taymans  <wim@fluendo.com>
2060
2061         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2062         (gst_base_src_loop):
2063         Only push the segment events in the PLAYING state for live sources.
2064
2065 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
2066
2067         * gst/gstpipeline.c: (gst_pipeline_change_state):
2068         Modify the clock distribution path in PAUSED->PLAYING so that we 
2069         never attempt to choose a new clock unless we're actually leaving
2070         the PAUSED state for the first time. This prevents choosing a
2071         different clock when the state_change gets called for a 2nd time due
2072         to some element doing an async state change.
2073
2074 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2075
2076         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2077         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2078         (gst_pad_chain_unchecked), (gst_pad_push):
2079         Revert last commit. This needs some more thoughts.
2080
2081 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2082
2083         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2084         (gst_pad_chain_unchecked), (gst_pad_push):
2085         Check in set_caps if the caps are compatible with the pad and remove
2086         two functions that are redundant now. Fixes #421543.
2087
2088 2007-03-22  Wim Taymans  <wim@fluendo.com>
2089
2090         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2091         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2092         Unref some more to make valgrind happy.
2093
2094 2007-03-22  Wim Taymans  <wim@fluendo.com>
2095
2096         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2097         (gst_system_clock_id_wait_jitter),
2098         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2099         Fix anoying regression that survived a few releases. When adding an
2100         async entry while blocking on a sync entry, the sync entry will unblock
2101         but still be busy, so it should continue to wait instead of returning
2102         _BUSY to the app.
2103         Add some comments here and there.
2104
2105         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2106         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2107         Add testcase for this.
2108
2109 2007-03-22  Wim Taymans  <wim@fluendo.com>
2110
2111         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2112         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2113         WRONG_STATE and can silently pause the task. All other cases should
2114         error out.
2115
2116 2007-03-22  Wim Taymans  <wim@fluendo.com>
2117
2118         Patch by: Ville Syrjala <syrjala at sci dot fi>
2119
2120         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2121         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2122         Improve debugging.
2123
2124 2007-03-21  Michael Smith  <msmith@fluendo.com>
2125
2126         * docs/pwg/advanced-types.xml:
2127           Fix some errors in the typefinding docs pointed out on irc.
2128
2129 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2130
2131         * libs/gst/base/gstbasesrc.c:
2132         Clarify FIXME comment in the face of having added unlock_stop()
2133
2134 2007-03-21  Wim Taymans  <wim@fluendo.com>
2135
2136         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2137         Prepare for release where we warn against possible app breakage in the
2138         case of live pipelines along with an env var to enable/disable live
2139         preroll mode (GST_COMPAT=[no-]live-preroll).
2140
2141 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2142
2143         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2144         So we should use correct constants for checking for None offset.
2145
2146 2007-03-20  Wim Taymans  <wim@fluendo.com>
2147
2148         * docs/design/part-block.txt:
2149         Mention the fact that the newly switched element should be set to at
2150         least PAUSED.
2151
2152 2007-03-20  Wim Taymans  <wim@fluendo.com>
2153
2154         * gst/gst.c:
2155         Fix compilation with registry disabled as spotted by Saur.
2156
2157 2007-03-20  Wim Taymans  <wim@fluendo.com>
2158
2159         Patch by: Olivier Crete <tester at tester dot ca>
2160
2161         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2162         Look at the pending state too when syncing the element state to the
2163         parent. Fixes #420133.
2164
2165 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2166
2167         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2168         (gst_base_sink_change_state):
2169         * libs/gst/base/gstbasesink.h:
2170         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2171         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2172         (gst_base_src_deactivate):
2173         * libs/gst/base/gstbasesrc.h:
2174         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2175         for sub-classes to correctly clear any state they set trying to
2176         unlock, such as clearing out unlock commands from a command fd.
2177         API: basesrc::unlock_stop
2178         API: basesink::unlock_stop
2179
2180         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2181         (gst_fd_sink_render), (gst_fd_sink_unlock),
2182         (gst_fd_sink_unlock_stop):
2183         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2184         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2185         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2186
2187         Implement unlock_stop in fdsrc and fdsink.
2188         Implement seeking in fdsrc when a seekable fd is passed, as in
2189         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2190
2191 2007-03-19  Wim Taymans  <wim@fluendo.com>
2192
2193         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2194
2195         * gst/gstelement.c: (gst_element_class_init):
2196         Fix pad-added and pad-removed signal signatures so that the pad type is
2197         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2198
2199 2007-03-19  Wim Taymans  <wim@fluendo.com>
2200
2201         * docs/gst/gstreamer-sections.txt:
2202         Add new element field and method.
2203
2204         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2205         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2206         (gst_bin_recalc_state), (gst_bin_get_state_func),
2207         (gst_bin_element_set_state), (gst_bin_change_state_func),
2208         (gst_bin_continue_func), (bin_bus_handler),
2209         (bin_push_state_continue), (bin_handle_async_start),
2210         (bin_handle_async_done), (gst_bin_handle_message_func):
2211         Make async state changes a bit smarter by using new ASYNC_START and
2212         ASYNC_DONE messages. This reduces the number of times we run the state
2213         recalculation thread.
2214         Don't change state of element with a pending ASYNC_START message.
2215         Deprecate STATE_DIRTY messages.
2216         
2217         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2218         (gst_element_get_state_func), (gst_element_continue_state),
2219         (gst_element_lost_state), (gst_element_set_state_func),
2220         (gst_element_change_state):
2221         * gst/gstelement.h:
2222         Keep the state that was last set by the app in a new element field.
2223         Don't allow state changes when handling an element event.
2224         Post ASYNC_START and ASYNC_DONE messages.
2225         Change lost_state so that we go to PAUSED and wait for the parent to set
2226         us to PLAYING again (so latency calculation can be performed)
2227         Export gst_element_change_state() method so that subclasses can use it.
2228         API: gst_element_change_state()
2229         API: GST_STATE_TARGET
2230
2231         * gst/gstpipeline.c: (gst_pipeline_class_init),
2232         (reset_stream_time), (gst_pipeline_change_state),
2233         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2234         Using the new ASYNC_START message we can reset the base_time when
2235         needed. This can then be used to implement base_time redistribution in
2236         flushing seeks so that we can remove the explicit seek handling.
2237         Perform latency query and configuration when going to PLAYING.
2238
2239         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2240         (gst_base_sink_query), (gst_base_sink_change_state):
2241         Post new ASYNC_START/ASYNC_DONE messages.
2242
2243         * tests/check/generic/sinks.c: (GST_START_TEST):
2244         Fix test because the bin will not set the async element to PLAYING right
2245         away.
2246
2247         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2248         Make the message check a little stronger.
2249         Handle ASYNC messages.
2250
2251         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2252         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2253         Expect ASYNC_DONE messages.
2254
2255 2007-03-19  Wim Taymans  <wim@fluendo.com>
2256
2257         * docs/gst/gstreamer-sections.txt:
2258         * gst/gstmessage.c: (gst_message_new_async_start),
2259         (gst_message_new_async_done), (gst_message_parse_info),
2260         (gst_message_parse_async_start):
2261         * gst/gstmessage.h:
2262         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2263         support.
2264
2265 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2266
2267         * tools/gst-inspect.c:
2268         (print_plugin_automatic_install_info_codecs):
2269           Now that we don't check for the 'Codec' keyword any longer in the
2270           klass, we shouldn't spew a warning if the klass isn't a decoder or
2271           encoder (since it might be a Source/Network, for example).
2272
2273 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2274
2275         * tools/gst-inspect.c:
2276         (print_plugin_automatic_install_info_codecs):
2277           Don't require decoder/demuxer/depayloader elements or
2278           encoder/muxer/paylader elements to have 'Codec' as part of their
2279           factory class string when introspecting a plugin's capabilities.
2280           draft-klass.txt mentions that it might be removed in future, and
2281           flump3dec doesn't have it as part of its class string, so chances
2282           are others might also not have it.
2283
2284 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2285
2286         * po/af.po:
2287         * po/az.po:
2288         * po/bg.po:
2289         * po/ca.po:
2290         * po/cs.po:
2291         * po/de.po:
2292         * po/en_GB.po:
2293         * po/fr.po:
2294         * po/it.po:
2295         * po/nb.po:
2296         * po/nl.po:
2297         * po/ru.po:
2298         * po/sq.po:
2299         * po/sr.po:
2300         * po/sv.po:
2301         * po/tr.po:
2302         * po/uk.po:
2303         * po/vi.po:
2304         * po/zh_CN.po:
2305         * po/zh_TW.po:
2306           Update translations from translation project
2307
2308 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2309
2310         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2311         (gst_child_proxy_set_property):
2312           Invert precondition check to be alike the ones in the mimiced gobject
2313           api.
2314
2315 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2316
2317         * docs/design/draft-tagreading.txt:
2318         * docs/random/ensonic/audiobaseclasses.txt:
2319           Do some Architect work.
2320
2321         * gst/gstobject.c: (gst_object_set_name):
2322           Add a WARNING.
2323
2324         * gst/gstpad.c:
2325           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2326
2327 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2328
2329         * gst/gstsystemclock.c: (gst_system_clock_init),
2330         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2331         Defer starting the async system clock thread until the first async
2332         wait is scheduled. Fixes #414986.
2333
2334 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2335
2336         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2337         (gst_single_queue_free):
2338           Fix small leak (free GstSingleQueue structure too, not only contents).
2339
2340 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2341
2342         * gst/gstbin.c:(gst_bin_add):
2343         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2344         * win32/common/libgstbase.def:
2345         * win32/common/libgstreamer.def:
2346         Add new exported functions.
2347
2348 2007-03-09  Wim Taymans  <wim@fluendo.com>
2349
2350         * docs/plugins/gstreamer-plugins-sections.txt:
2351         Fix GstTee docs.
2352
2353 2007-03-09  Wim Taymans  <wim@fluendo.com>
2354
2355         * docs/gst/gstreamer-sections.txt:
2356         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2357         * gst/gstbuffer.h:
2358         Add metadata copy functions. Fixes #393099.
2359         API: gst_buffer_copy_metadata()
2360
2361         * gst/gstutils.c: (gst_buffer_stamp):
2362         * libs/gst/base/gstbasetransform.c:
2363         (gst_base_transform_prepare_output_buffer):
2364         Use new metadata copy functions.
2365
2366 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2367
2368         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2369         (gst_identity_init), (gst_identity_check_perfect),
2370         (gst_identity_check_imperfect_timestamp),
2371         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2372         (gst_identity_set_property), (gst_identity_get_property):
2373         * plugins/elements/gstidentity.h:
2374         Separate out check-imperfect-timestamp and check-imperfect-offset.
2375         Put back check-perfect as it was to keep compatibility.
2376
2377 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2378
2379         * gst/gstelement.c: (gst_element_dispose):
2380         There's no need to warn if VOID_PENDING is not NONE here, as
2381         long as the state is NULL it's ok, and that's checked immediately
2382         above.
2383
2384 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2385
2386         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2387         Fix check for perfect stream to ignore buffers with -1 
2388         offsets/offset ends when checking data contiguity.
2389
2390 2007-03-08  Wim Taymans  <wim@fluendo.com>
2391
2392         * tools/gst-launch.c: (event_loop):
2393         Print INFO messages.
2394
2395 2007-03-08  Wim Taymans  <wim@fluendo.com>
2396
2397         * libs/gst/base/gstbasetransform.c:
2398         (gst_base_transform_sink_eventfunc),
2399         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2400         (gst_base_transform_activate):
2401         * libs/gst/base/gstbasetransform.h:
2402         Add support for dropping buffers with custom GstFlowReturn.
2403         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2404         buffers or dropped buffers.
2405
2406         * docs/libs/gstreamer-libs-sections.txt:
2407         docs for new custom return code.
2408
2409         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2410         Use drop support in base class to implement drop-probability.
2411
2412 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2413
2414         * gst/gst.c: (load_plugin_func):
2415         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2416         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2417         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2418           Remove newlines at end of debug log strings.
2419
2420 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2421
2422         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2423         Only post bus message at max, once per buffer received.
2424
2425 2007-03-07  Wim Taymans  <wim@fluendo.com>
2426
2427         * docs/design/Makefile.am:
2428         * docs/design/part-synchronisation.txt:
2429         Add doc about synchronisation
2430
2431         * docs/design/draft-latency.txt:
2432         * docs/design/part-TODO.txt:
2433         * docs/design/part-clocks.txt:
2434         * docs/design/part-events.txt:
2435         * docs/design/part-gstbus.txt:
2436         * docs/design/part-gstpipeline.txt:
2437         * docs/design/part-live-source.txt:
2438         * docs/design/part-messages.txt:
2439         * docs/design/part-overview.txt:
2440         * docs/design/part-streams.txt:
2441         * docs/design/part-trickmodes.txt:
2442         Documentation updates.
2443
2444 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2445
2446         * gstreamer.doap:
2447         Update the doap file.
2448
2449 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2450
2451         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2452         Rename non-perfect to imperfect for Mike and for the sanctity of the
2453         language.
2454         Also make sure bus message gets emitted for data-incontiguities.
2455
2456 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2457
2458         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2459         (gst_identity_start):
2460         * plugins/elements/gstidentity.h:
2461         Emit bus message if check-perfect is true and we encounter a
2462         non-perfect stream between 2 consecutive buffers.
2463         Fixes #415394.
2464
2465 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2466
2467         * configure.ac:
2468         Back to CVS
2469
2470 === release 0.10.12 ===
2471
2472 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2473
2474         * configure.ac:
2475           releasing 0.10.12, "Inevitable Demise"
2476
2477 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2478
2479         * configure.ac:
2480          Version 0.10.11.2 (0.10.12 pre-release)
2481          Bump libtool versioning.
2482
2483 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2484
2485         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2486           Log flow-names and not numbers.
2487
2488 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2489
2490         * configure.ac:
2491           Convert to new AG_GST style.
2492
2493 2007-02-28  Wim Taymans  <wim@fluendo.com>
2494
2495         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2496         Don't unref query twice.
2497
2498 2007-02-28  Wim Taymans  <wim@fluendo.com>
2499
2500         * gst/gstvalue.c: (gst_value_transform_object_string),
2501         (_gst_value_initialize):
2502         Implement GstObject -> string transform so we print object names
2503         when serializing GValues containing GstObjects.
2504
2505 2007-02-28  Wim Taymans  <wim@fluendo.com>
2506
2507         * docs/gst/gstreamer-sections.txt:
2508         Add new stuff to docs.
2509
2510 2007-02-28  Wim Taymans  <wim@fluendo.com>
2511
2512         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2513         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2514         (gst_base_sink_change_state):
2515         Improve latency query code.
2516         Don't leak latency events.
2517
2518         * tests/check/gst/gstbin.c: (GST_START_TEST):
2519         Improve debugging.
2520
2521 2007-02-28  Wim Taymans  <wim@fluendo.com>
2522
2523         * gst/gstelement.c: (gst_element_message_full),
2524         (gst_element_get_state_func):
2525         * gst/gstelement.h:
2526         Improve docs a little. Added Since: for new macro.
2527
2528         * gst/gstobject.c: (gst_object_sink):
2529         * gst/gstpipeline.c: (gst_pipeline_change_state),
2530         (gst_pipeline_set_new_stream_time):
2531         * gst/gstpipeline.h:
2532         Improve debugging and docs.
2533
2534         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2535         Improve debugging.
2536
2537 2007-02-28  Wim Taymans  <wim@fluendo.com>
2538
2539         * gst/gstelement.c: (gst_element_message_full),
2540         (gst_element_set_locked_state), (gst_element_get_state_func),
2541         (gst_element_change_state):
2542         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2543         Documentation updates.
2544         Small code cleanups.
2545
2546         * gst/gstmessage.c: (gst_message_new_info),
2547         (gst_message_parse_info):
2548         * gst/gstmessage.h:
2549         API: gst_message_new_info()
2550         API: gst_message_parse_info()
2551         Add INFO message create and parse code.
2552
2553 2007-02-28  Wim Taymans  <wim@fluendo.com>
2554
2555         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2556         (bin_query_latency_done):
2557         Also report the live parameter of a latency query.
2558
2559 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2560
2561         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2562           Copy the current generic/states example from -base and adapt so
2563           we can use the exact same code everywhere.
2564           Check a STATES_IGNORE_ELEMENTS env var which can be used
2565           to ignore certain element factories for this test, which is
2566           what is being done in -base
2567         * tests/check/Makefile.am:
2568           Mention this environment variable.
2569
2570 2007-02-27  Wim Taymans  <wim@fluendo.com>
2571
2572         * docs/gst/gstreamer-sections.txt:
2573         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2574         (gst_bus_timed_pop), (gst_bus_pop):
2575         * gst/gstbus.h:
2576         API: gst_bus_timed_pop()
2577         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2578         message to arrive on the bus.
2579
2580         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2581         (gst_bus_suite):
2582         Two unit tests for new _timed_pop() function.
2583
2584 2007-02-23  Wim Taymans  <wim@fluendo.com>
2585
2586         * gst/gstpipeline.c: (gst_pipeline_change_state),
2587         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2588         Don't ref a NULL clock in _provide_clock_func().
2589         Don't allow an INVALID delay.
2590         Don't try to calculate base_time with an invalid start_time.
2591         Also distribute and notify a NULL clock when it was selected.
2592
2593         * tools/gst-launch.c: (event_loop):
2594         Don't crash when a NULL clock was selected in the pipeline.
2595
2596 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2597
2598         * docs/design/Makefile.am:
2599         * docs/design/draft-missing-plugins.txt:
2600         * docs/random/draft-missing-plugins.txt:
2601           Some small updates: update plugin system identifier prefix
2602           ('gstreamer.net' to 'gstreamer'), mention our new install
2603           API in libgstbaseutils rather than libgimme-codec, add
2604           reference to the online docs.
2605
2606 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2607
2608         * win32/common/config.h:
2609           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2610           use moap cl ci to only check in what is mentioned in the ChangeLog.
2611
2612 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2613
2614         * docs/gst/gstreamer-sections.txt:
2615         * gst/gstelement.h:
2616           Fix up documentation to link to the correct GstGError section.
2617           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2618
2619 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2620
2621         * tools/gst-launch.c: (event_loop):
2622           Make sure that we actually show the important message part of a
2623           warning message.
2624           No need to check if the gerror is not NULL to free; first of all
2625           g_free accepts NULL; and second the default error handler would
2626           segfault if gerror was NULL.
2627
2628 2007-02-21  Wim Taymans  <wim@fluendo.com>
2629
2630         * docs/gst/gstreamer-sections.txt:
2631         Removed docs as well.
2632
2633 2007-02-21  Wim Taymans  <wim@fluendo.com>
2634
2635         * gst/gstmessage.c: (gst_message_parse_duration):
2636         * gst/gstmessage.h:
2637         Remove new messages for release.
2638
2639 2007-02-20  Wim Taymans  <wim@fluendo.com>
2640
2641         * docs/design/part-gstghostpad.txt:
2642         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2643         (gst_ghost_pad_new_full):
2644         Make the ghostpad a parent of the internal pad again for better backward
2645         compatibility. Don't write code that relies on this however.
2646
2647         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2648         (gst_pad_link_check_hierarchy):
2649         Require that parents should be GstElements in the hierarchy check.
2650
2651 2007-02-20  Wim Taymans  <wim@fluendo.com>
2652
2653         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2654         (gst_bin_change_state_func), (bin_query_min_max_init),
2655         (bin_query_latency_fold), (bin_query_latency_done),
2656         (gst_bin_query):
2657         Improve debug info.
2658         Implement latency query.
2659
2660 2007-02-20  Wim Taymans  <wim@fluendo.com>
2661
2662         * docs/design/part-gstghostpad.txt:
2663         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2664         (gst_ghost_pad_internal_do_activate_push),
2665         (gst_ghost_pad_internal_do_activate_pull),
2666         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2667         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2668         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2669         Do not set the internal pad as a parent anymore so we can avoid
2670         hierarchy linking errors when the ghostpad has no parent yet. This also
2671         fixes failed activation because of unlinked internal pads, which in
2672         turn fixes the impossible case where you have to activate a pad before
2673         you can add it to a running element.
2674         Also fix the docs.
2675
2676         * gst/gstpad.c: (pre_activate), (post_activate),
2677         (gst_pad_set_active), (gst_pad_activate_pull),
2678         (gst_pad_activate_push), (gst_pad_check_pull_range):
2679         Add some more debug info.
2680         Mark activation mode in pre_activate so that we don't try to activate in
2681         endless loops. Fixes #385084.
2682
2683 2007-02-19  Wim Taymans  <wim@fluendo.com>
2684
2685         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2686         (gst_base_transform_check_get_range):
2687         Implement a checkgetrange function instead of relying on the default
2688         core behaviour that assumes we can operate in pull mode if we have a
2689         getrange function. First step at fixing #385084.
2690
2691 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2692
2693         * gst/gstchildproxy.h:
2694         * libs/gst/base/gstbasesink.h:
2695         * libs/gst/base/gstbasesrc.h:
2696         * libs/gst/base/gstbasetransform.h:
2697         More docs coverage and some ChangeLog surgery (add missing names)
2698
2699 2007-02-15  Wim Taymans  <wim@fluendo.com>
2700
2701         * docs/design/part-TODO.txt:
2702         * docs/design/part-activation.txt:
2703         * docs/design/part-block.txt:
2704         * docs/design/part-buffering.txt:
2705         * docs/design/part-clocks.txt:
2706         * docs/design/part-element-source.txt:
2707         * docs/design/part-events.txt:
2708         * docs/design/part-gstbin.txt:
2709         * docs/design/part-gstbus.txt:
2710         * docs/design/part-gstpipeline.txt:
2711         * docs/design/part-live-source.txt:
2712         * docs/design/part-messages.txt:
2713         * docs/design/part-overview.txt:
2714         * docs/design/part-qos.txt:
2715         * docs/design/part-query.txt:
2716         * docs/design/part-states.txt:
2717         * docs/design/part-trickmodes.txt:
2718         Some doc updates. Start renaming from stream_time to running_time where
2719         it was used wrongly.
2720
2721 2007-02-15  Wim Taymans  <wim@fluendo.com>
2722
2723         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2724         Answer LATENCY query.
2725
2726 2007-02-15  Wim Taymans  <wim@fluendo.com>
2727
2728         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2729         (GST_START_TEST):
2730         Improve debugging.
2731
2732 2007-02-15  Wim Taymans  <wim@fluendo.com>
2733
2734         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2735         (gst_pad_dispatcher):
2736         Improve debugging of default pad dispatcher and query functions.
2737
2738 2007-02-15  Wim Taymans  <wim@fluendo.com>
2739
2740         * docs/gst/gstreamer-sections.txt:
2741         Remove old unused method.
2742
2743 2007-02-13  Wim Taymans  <wim@fluendo.com>
2744
2745         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2746         Fix check
2747
2748 2007-02-13  Wim Taymans  <wim@fluendo.com>
2749
2750         * docs/design/part-seeking.txt:
2751         Some small update.
2752
2753         * gst/gstsegment.c: (gst_segment_set_seek):
2754         Revert old bogus change that should make seeking work again.
2755
2756 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2757
2758         * docs/random/ensonic/dynlink.txt:
2759         * docs/random/ensonic/interfaces.txt:
2760         * docs/random/ensonic/receipies.txt:
2761           Possible dynamic reconnection api, plus some type fixes the other two
2762           docs.
2763
2764 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
2765
2766         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2767         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2768         Also check for an absolute path following file:// in the filesrc
2769         element. Remove redundant check and call g_path_is_absolute() on the
2770         unescaped location.
2771
2772 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2773
2774         * docs/design/draft-klass.txt:
2775           Add existing category analysis.
2776           
2777         * gst/gstcaps.c:
2778           Fix doc example, framerate is a fraction.
2779
2780 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2781
2782         * configure.ac:
2783         * docs/gst/Makefile.am:
2784         * docs/gst/gstreamer-sections.txt:
2785         * docs/libs/Makefile.am:
2786           Erm, forgot a bunch of --extra-dir.
2787
2788 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2789
2790         * configure.ac:
2791         * docs/gst/Makefile.am:
2792         * docs/libs/Makefile.am:
2793         * docs/plugins/Makefile.am:
2794           Add crossreferences to glib/gobject docs.
2795
2796 2007-02-12  Wim Taymans  <wim@fluendo.com>
2797
2798         * docs/design/draft-latency.txt:
2799         Small update.
2800
2801         * docs/libs/gstreamer-libs-sections.txt:
2802         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2803         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2804         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2805         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2806         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2807         (gst_base_sink_get_position), (gst_base_sink_query),
2808         (gst_base_sink_change_state):
2809         * libs/gst/base/gstbasesink.h:
2810         API: gst_base_sink_query_latency() to let subclasses query the upstream
2811         latency.
2812         API: gst_base_sink_get_latency() to let subclasses query the configured
2813         latency in the sink.
2814         Implement query and set latency.
2815         Update some docs.
2816         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2817         don't continue preroll when we are flushing. Fixes #405284.
2818
2819         * tests/check/pipelines/stress.c: (change_state_timeout),
2820         (quit_timeout), (GST_START_TEST), (stress_suite):
2821         Test for #405284.
2822
2823 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2824
2825         Patch by: René Stadler <mail at renestadler de>
2826
2827         * docs/gst/gstreamer-sections.txt:
2828         * gst/gsttaglist.c: (_gst_tag_initialize):
2829         * gst/gsttaglist.h:
2830           API: add GST_TAG_REFERENCE_LEVEL (#403597).
2831
2832 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
2833
2834         * docs/libs/Makefile.am:
2835           Fix path to core docs.
2836
2837         * gst/gstbin.c: (gst_bin_get_by_interface),
2838         (gst_bin_iterate_all_by_interface):
2839           Refix docs by also renaming 'interface' to 'iface' in implementation.
2840
2841         * docs/gst/gstreamer-sections.txt:
2842         * gst/gstcaps.c:
2843         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2844         * gst/gstchildproxy.h:
2845         * gst/gstelementfactory.c:
2846         * gst/gstpadtemplate.h:
2847         * libs/gst/controller/gstcontroller.c:
2848         (gst_controlled_property_new):
2849           Document more.
2850
2851 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
2852
2853         * gst/gstbin.h:(gst_bin_get_by_interface),
2854         (gst_bin_iterate_all_by_interface):
2855         Replace interface parameter name by iface as interface is 
2856         a reserved keyword in Visual Studio for C++ projects so it removes
2857         a build error for application developpers using VS.
2858         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2859         Fix a bug on Windows in uri format check. Now the prefix checked
2860         is file:// and next we check if the path after file:// is absolute.
2861         * win32/common/libgstbase.def:
2862         * win32/common/libgstdataprotocol.def:
2863         * win32/common/libgstgstreamer.def:
2864         Add new exported functions.
2865
2866 2007-02-09  Andy Wingo  <wingo@pobox.com>
2867
2868         * tests/check/pipelines/simple-launch-lines.c
2869         (simple_launch_lines_suite, test_tee): Disable tee test until I
2870         have time to fix it :-(
2871
2872         * tests/check/Makefile.am (noinst_HEADERS): 
2873         * tests/check/libs/libsabi.c: 
2874         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2875         * tests/check/gst/gstabi.c: 
2876         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2877
2878         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2879         tests for push and pull tee behavior.
2880
2881         * plugins/elements/gsttee.h: 
2882         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2883         mark as deprecated as well as unimplemented. It was a crack idea.
2884         Add support for tee operating in pull mode, off by default.
2885
2886         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2887         normal-case logs down to LOG, raise errors to WARNING.
2888         (gst_registry_xml_read_cache): Don't log before calling a function
2889         that logs.
2890
2891         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2892         exit (registry finalize).
2893         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2894         DEBUG log when we emit signals that people don't even have the
2895         chance to connect to.
2896         (gst_registry_scan_path_level): Less logging in the normal case.
2897
2898 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2899
2900         Patch by: Michal Benes <michal dot benes at itonis dot tv>
2901
2902         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2903         Correctly generate EOS for non-seekable files. We don't have a total
2904         length for them and would get an unexpected end of file if we only
2905         special-cased for regular files. (Fixes: #404569)
2906
2907 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2908
2909         * tests/check/elements/filesrc.c: (GST_START_TEST),
2910         (filesrc_suite):
2911         Add unit test for the GstURIHandler interface in filesrc. This also
2912         tests the newly added file://localhost/foo/bar support.
2913
2914 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * gst/gstelementfactory.h:
2917           The klass string is not a hierarchy. Add reference to the design doc
2918           for more information and common types.
2919
2920 2007-02-02  Wim Taymans  <wim@fluendo.com>
2921
2922         * gst/gstquery.c: (gst_query_new_latency):
2923         Remove old structure field.
2924
2925 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
2926
2927         * tools/gst-launch.1.in:
2928           Give example for network streaming (#351998)
2929
2930 2007-02-02  Wim Taymans  <wim@fluendo.com>
2931
2932         * docs/gst/gstreamer-sections.txt:
2933         Add docs for new methods.
2934
2935         * gst/gstevent.c: (gst_event_new_latency),
2936         (gst_event_parse_latency):
2937         * gst/gstevent.h:
2938         Add new LATENCY event to configure latency in a pipeline.
2939         API: gst_event_new_latency
2940         API: gst_event_parse_latency
2941
2942         * gst/gstmessage.c: (gst_message_new_buffering),
2943         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2944         (gst_message_new_latency), (gst_message_parse_buffering),
2945         (gst_message_parse_lost_preroll):
2946         * gst/gstmessage.h:
2947         Added messages used in draft-latency.
2948         API: gst_message_new_lost_preroll
2949         API: gst_message_parse_lost_preroll
2950         API: gst_message_new_prerolled
2951         API: gst_message_new_latency
2952
2953         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2954         (gst_query_parse_latency):
2955         * gst/gstquery.h:
2956         Implemented new latency query as in design doc.
2957         API: gst_query_new_latency
2958         API: gst_query_set_latency
2959         API: gst_query_parse_latency
2960
2961 2007-02-02  Wim Taymans  <wim@fluendo.com>
2962
2963         * docs/design/draft-latency.txt:
2964         Slight redesign to allow for dynamic latency adjustments.
2965
2966         * docs/design/part-negotiation.txt:
2967         Fix some typos.
2968
2969 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2970
2971         reviewed by: Wim Taymans <wim@fluendo.com>
2972
2973         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2974         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2975         Allow file://localhost/foo/bar URLs and correctly fail for every other
2976         hostname that one sets. This was gnomevfssrc is linked for those if
2977         installed as it can handle it (#403172)
2978
2979 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2980
2981         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2982
2983         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2984         (unref_data), (gst_collect_pads_add_pad_full):
2985         * libs/gst/base/gstcollectpads.h:
2986         Don't put the previously added destroy notify in the GstCollectData
2987         struct as all it's padding is already used and we don't want to break
2988         ABI. Instead put in the pad's GObject data for now. This should be
2989         cleaned up for 0.11 (#402393).
2990
2991 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2992
2993         reviewed by: Wim Taymans <wim@fluendo.com>
2994
2995         * docs/libs/gstreamer-libs-sections.txt:
2996         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2997         (unref_data), (gst_collect_pads_add_pad),
2998         (gst_collect_pads_add_pad_full):
2999         * libs/gst/base/gstcollectpads.h:
3000         API: Add function to specify a destroy notification for custom
3001         GstCollectData when adding new pads in GstCollectPads (#402393).
3002
3003 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
3004
3005         * po/sv.po:
3006           Update Swedish translation (#378255).
3007
3008 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3009
3010         * docs/design/draft-klass.txt:
3011           Fix the previous change, this is a list of categories and not a hierarchy.
3012
3013 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
3014
3015         * docs/design/draft-klass.txt:
3016           Add info about how to get a list of used classes.
3017
3018 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
3019
3020         * plugins/elements/gsttypefindelement.c:
3021         (gst_type_find_element_chain_do_typefinding),
3022         (gst_type_find_element_change_state):
3023           Don't leak found caps in chain function (no idea why that never
3024           showed up as a leak anywhere).
3025
3026 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
3027
3028         * gst/gstplugin.h:
3029           Fix and expand GstPluginDesc API docs.
3030
3031 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3032
3033         * gst/gstcaps.c:
3034         * gst/gstelementfactory.c:
3035         * gst/gstpadtemplate.h:
3036           api doc fixes
3037
3038         * libs/gst/controller/gstcontroller.c:
3039         (gst_controlled_property_new):
3040         * tests/examples/controller/audio-example.c:
3041           comment fixes
3042
3043 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
3044
3045         * configure.ac:
3046           comment about refining the xml deps
3047
3048         * docs/manuals.mak:
3049           comments about moving away from jade for docs
3050         
3051         * gst/gst.c:
3052           recommit the ifdefs to use the binary registry
3053         
3054         * gst/gstbin.c: (gst_bin_change_state_func):
3055           this break is obsolete
3056
3057         * gst/gstelementfactory.h:
3058           better GST_ELEMENT_DETAILS docs, add comment about translation
3059
3060         * gst/gstinfo.h:
3061           remove eol slash
3062
3063         * gst/gstobject.c: (gst_signal_object_get_type):
3064           add G_UNLIKELY as usual
3065
3066         * gst/gstpad.c: (gst_pad_event_default):
3067           add fall trhu comment
3068
3069         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3070         (gst_registry_binary_initialize_magic),
3071         (gst_registry_binary_save_string),
3072         (gst_registry_binary_save_pad_template),
3073         (gst_registry_binary_save_feature),
3074         (gst_registry_binary_save_plugin),
3075         (gst_registry_binary_write_cache),
3076         (gst_registry_binary_check_magic),
3077         (gst_registry_binary_load_pad_template),
3078         (gst_registry_binary_load_feature),
3079         (gst_registry_binary_load_plugin),
3080         (gst_registry_binary_read_cache):
3081           comment typo and formatting
3082
3083         * gst/gstutils.c: (gst_element_state_get_name),
3084         (gst_element_state_change_return_get_name):
3085           remove obsolete breaks
3086
3087         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3088           add FIXME 0.11 and remove cpp comment
3089
3090 2007-01-29  Edward Hervey  <edward@fluendo.com>
3091
3092         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3093         Fix print statement in an even more portable way.
3094
3095 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3096
3097         * docs/gst/gstreamer-sections.txt:
3098         * gst/gstutils.h:
3099           API: add GST_ROUND_DOWN_* macros (#401781).
3100
3101 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3102
3103         * docs/gst/gstreamer.types.in:
3104         * gst/gstregistry.c: (gst_registry_class_init):
3105           Document registry signals and make gtk-doc pick them up (#401381).
3106
3107 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * docs/pwg/building-testapp.xml:
3110           Add some audioconverts and audioresample to the pipeline, and some
3111           more comments and error handling.
3112
3113 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3114
3115         * docs/manual/manual.xml:
3116         * docs/pwg/pwg.xml:
3117           Fix typo (#400987).
3118
3119 2007-01-26  Wim Taymans  <wim@fluendo.com>
3120
3121         * gst/gstcaps.c: (gst_static_caps_get):
3122         Init caps flags too.
3123
3124 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3125
3126         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3127
3128         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3129         If not using mmap'ed files try to seek to the end instead of the
3130         start to determine whether we can seek at all. This fixes the case
3131         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3132         seeks for everything afterwards fail. Fixes #400656
3133
3134 2007-01-25  Wim Taymans  <wim@fluendo.com>
3135
3136         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3137         Add some refcount debugging.
3138         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3139         in multiple streaming threads.
3140
3141 2007-01-25  Wim Taymans  <wim@fluendo.com>
3142
3143         Patch by: David Schleef <ds at schleef dot org>
3144
3145         * docs/libs/gstreamer-libs-sections.txt:
3146         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3147         * libs/gst/base/gstadapter.h:
3148         API: gst_adapter_copy() that can reduce the amount of memcpy when
3149         getting data from the adapter. Fixes #388201.
3150
3151 2007-01-25  Edward Hervey  <edward@fluendo.com>
3152
3153         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3154         In print statements, "%x" is for guint. Fixes build on macosx.
3155
3156 2007-01-24  Edward Hervey  <edward@fluendo.com>
3157
3158         * plugins/elements/gstmultiqueue.c:
3159         (gst_multi_queue_loop):
3160         Small fix.
3161         (single_queue_overrun_cb), (single_queue_underrun_cb),
3162         (single_queue_check_full), (gst_single_queue_new):
3163         Implement single queue growth system.
3164         This uses the extra-size properties, and will grow single queues by
3165         that much if one goes full whereas there are others empty. This is
3166         called extra-mode in the code.
3167         When a single queue's levels go back below the initial max-size
3168         limits, it is no longer in extra-mode. This is to ensure we don't
3169         consume too much memory.
3170         Fixes #399875
3171
3172 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3173
3174         * gst/gst.c: (gst_init_get_option_group):
3175           Make warning about late g_thread_init() calls a bit more explicit,
3176           so that it's more obvious to application developers what they need
3177           to do if a user files a bug against their application.
3178
3179 2007-01-22  Edward Hervey  <edward@fluendo.com>
3180
3181         * plugins/elements/gstmultiqueue.c:
3182         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3183         Remove previous hack of unsetting the flushing flag for the source pad
3184         instead of activating it. Instead, fix the source pad activate function
3185         so that it no longer depends on having a parent set or not.
3186
3187 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3188
3189         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3190
3191         * docs/manual/basics-bus.xml:
3192           Fix example code, gst_element_unref() doesn't exist any longer.
3193
3194 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3195
3196         Patch by: Mark Nauwelaerts <manauw at skynet be>
3197
3198         * gst/gstpad.c:
3199           Fix two docs typoes (#399094).
3200
3201 2007-01-19  Edward Hervey  <edward@fluendo.com>
3202
3203         * docs/faq/gst-uninstalled:
3204         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3205         depending on libgstbaseutils can work in uninstalled environment.
3206
3207 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3208
3209         * gst/gsttaglist.h:
3210         * gst/gsttagsetter.c:
3211         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3212         statement for new tag.
3213
3214 2007-01-17  Edward Hervey  <edward@fluendo.com>
3215
3216         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3217         When dynamically creating single queues, activate sinkpad before adding
3218         it.
3219         We should be doing the same thing for the source pad, but we can't
3220         since it would call a method which needs the parent to be set in order
3221         to work propertly. Instead of activating the source pad, we just unset
3222         the flushing flag, which is the minimal requirement for adding a pad
3223         to an element in a state greater than READY.
3224
3225 2007-01-17  Edward Hervey  <edward@fluendo.com>
3226
3227         * docs/faq/gst-uninstalled:
3228         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3229         Mac OS X.
3230
3231 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3232
3233         * tests/check/gst/gstabi.c:
3234         * tests/check/gst/struct_hppa.h:
3235         * tests/check/libs/libsabi.c:
3236         * tests/check/libs/struct_hppa.h:
3237           Add ABI structs for HPPA (see #393796).
3238
3239 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3240
3241         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3242           Actually write ABI structs to the file specified in the GST_ABI
3243           environment variable, as the message we print claims we would.
3244
3245 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3246
3247         * tests/check/gst/gsttask.c:
3248           Fix header comment.
3249
3250 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3251
3252         * gst/gsttaglist.c: (_gst_tag_initialize):
3253           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3254           previous two entries.
3255
3256 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3257
3258         * docs/gst/gstreamer-sections.txt:
3259         * gst/gsttaglist.c: (_gst_tag_initialize):
3260         * gst/gsttaglist.h:
3261           Add tag support for beat-per-minute.
3262
3263 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3266         (gst_registry_binary_initialize_magic),
3267         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3268         (gst_registry_binary_save_pad_template),
3269         (gst_registry_binary_save_feature),
3270         (gst_registry_binary_save_plugin),
3271         (gst_registry_binary_write_cache),
3272         (gst_registry_binary_check_magic),
3273         (gst_registry_binary_load_pad_template),
3274         (gst_registry_binary_load_feature),
3275         (gst_registry_binary_load_plugin),
3276         (gst_registry_binary_read_cache):
3277         * gst/gstregistrybinary.h:
3278           Use glib types, cleanup comments, impement interfaces and uri-types.
3279
3280 2007-01-13  Andy Wingo  <wingo@pobox.com>
3281
3282         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3283         getrange() to return buffers with other caps, while we fix
3284         demuxers and typefind, or otherwise change part-negotiation.txt.
3285
3286 2007-01-12  Andy Wingo  <wingo@pobox.com>
3287
3288         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3289         Factor start/stop into this private function instead of partially
3290         in activate functions and partially in the change_state function.
3291         Fixes setup before the element has changed from READY->PAUSED, as
3292         is the case in pull-mode pipelines.
3293         (gst_base_transform_sink_activate_push)
3294         (gst_base_transform_src_activate_pull): Refactor to use
3295         gst_base_transform_activate().
3296         (gst_base_transform_change_state): Removed, not needed any more.
3297
3298         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3299         Truncate before fixating.
3300         
3301         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3302         Don't set_caps() if the result of fixating is ANY, as it's not
3303         supported, and not necessary in the case of a link with no
3304         template caps on either side. Fixes tests/check/libs/basesrc in
3305         some pull-mode tests.
3306
3307         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3308         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3309         (gst_base_transform_src_activate_pull): 
3310         Track the activation mode.
3311         (gst_base_transform_setcaps): In pull mode, when activating the
3312         src pad, after activating the sink pad, activate the sink pad's
3313         peer, as discussed in part-negotiation.txt.
3314
3315         * libs/gst/base/gstbasesrc.h: 
3316         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3317         vmethod, as in basesink.
3318
3319         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3320
3321         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3322         mode, first proxy the setcaps to the peer pad.
3323         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3324         new fixate vmethod.
3325         (gst_base_sink_default_activate_pull): Rename from
3326         gst_base_sink_activate_pull.
3327         (gst_base_sink_negotiate_pull): New function, performs negotiation
3328         in pull mode before calling ::activate_pull().
3329         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3330         vmethod instead of the default implementation. I have no idea how
3331         this worked before. Negotiate before calling activate_pull.
3332
3333         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3334         sink pads in pull mode. In addition to being correct, fixes
3335         filesrc ! decodebin ! identity ! fakesink.
3336         (gst_pad_get_range, gst_pad_pull_range): Don't call
3337         gst_pad_set_caps() if the caps changes; instead error out with
3338         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3339
3340 2007-01-12  Andy Wingo  <wingo@pobox.com>
3341
3342         * docs/design/part-negotiation.txt: Update with more policy.
3343
3344 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3345
3346         * libs/gst/check/gstbufferstraw.h:
3347         * libs/gst/check/gstcheck.h:
3348           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3349           belongs.
3350
3351 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3352
3353         * tests/check/Makefile.am:
3354         * tests/check/gst/.cvsignore:
3355         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3356         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3357         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3358         (GST_START_TEST), (gst_tag_setter_suite):
3359           Add minimal unit test for beforementioned GstTagSetter bug.
3360
3361 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3362
3363         Patch by: René Stadler <mail at renestadler dot de>
3364
3365         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3366           gst_tag_list_merge() returns a new list, so it's not the best idea
3367           to ingore its return value. Effectively meant that tags could only
3368           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3369           Also add function guard to require a non-NULL taglist as input (has
3370           always been so due to gst_tag_list_copy(), just making it explicit).
3371
3372 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3373
3374         * docs/random/draft-missing-plugins.txt:
3375           Some additions: mention new API that is supposed to be used at the
3376           various stages; short blob about new gst-inspect introspection
3377           option; mention potential future problem with plugins that have
3378           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3379
3380 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3381
3382         * tools/gst-inspect.c:
3383         (print_plugin_automatic_install_info_codecs),
3384         (print_plugin_automatic_install_info_protocols),
3385         (print_plugin_automatic_install_info), (main):
3386         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3387         introspect plugin files and get machine-parsable output that corresponds
3388         to the last bit of the missing-plugin installer string (small gotcha:
3389         doesn't take into account ranks).
3390
3391 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3392
3393         * configure.ac:
3394         * docs/gst/gstreamer-sections.txt:
3395         * gst/Makefile.am:
3396         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3397         (gst_registry_lookup_locked):
3398         * gst/gstregistry.h:
3399         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3400         (gst_registry_binary_initialize_magic),
3401         (gst_registry_binary_save_string),
3402         (gst_registry_binary_save_pad_template),
3403         (gst_registry_binary_save_feature),
3404         (gst_registry_binary_save_plugin),
3405         (gst_registry_binary_write_cache),
3406         (gst_registry_binary_check_magic),
3407         (gst_registry_binary_load_pad_template),
3408         (gst_registry_binary_load_feature),
3409         (gst_registry_binary_load_plugin),
3410         (gst_registry_binary_read_cache):
3411         * gst/gstregistrybinary.h:
3412         * gst/gstregistryxml.c: (load_feature),
3413         (gst_registry_xml_read_cache):
3414           commit binary registry (disabled by default, see #359653)
3415
3416 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3417
3418         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3419           Fix 'make check' too.
3420
3421 2007-01-10  Andy Wingo  <wingo@pobox.com>
3422
3423         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3424         notes.
3425         
3426         * docs/design/part-negotiation.txt: Update with, um, one way that
3427         pull-mode negotiation might work?
3428
3429         * gst/gstpad.h: 
3430         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3431         that the pad must be a src pad; makes sense to call it the other
3432         way in pull mode, and the logic is symmetric anyway.
3433
3434 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3435
3436         * plugins/elements/gstfilesink.c:
3437           Include <stdio.h> for fseeko().
3438
3439 2007-01-10  Wim Taymans  <wim@fluendo.com>
3440
3441         * gst/gstevent.c:
3442         * gst/gstevent.h:
3443         Reserve LATENCY event.
3444
3445 2007-01-09  Wim Taymans  <wim@fluendo.com>
3446
3447         * docs/design/draft-latency.txt:
3448         Updates.
3449
3450 2007-01-09  Wim Taymans  <wim@fluendo.com>
3451
3452         * docs/design/draft-latency.txt:
3453         Updates.
3454
3455         * gst/gstelement.h:
3456         * gst/gststructure.c:
3457         * gst/gsttrace.c:
3458         Small typo fixes.
3459
3460 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3461
3462         * tests/check/.cvsignore:
3463           Ignore test-registry.xml as well.
3464
3465 2007-01-09  Wim Taymans  <wim@fluendo.com>
3466
3467         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3468         unref data at the end when we are done with the pad.
3469
3470 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3471
3472         * docs/gst/gstreamer-sections.txt:
3473         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3474         (init_post), (gst_deinit), (gst_update_registry):
3475         * gst/gst.h:
3476           API: add gst_update_registry() (#391296).
3477
3478         * tests/check/Makefile.am:
3479         * tests/check/gst/gstregistry.c:
3480         * tests/check/gst/.cvsignore:
3481           Simple unit test for the above.
3482
3483 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3484
3485         * gst/gstregistry.c: (gst_registry_scan_path_level):
3486           Plugin extension on HP-UX is .sl, add that to the list of approved
3487           plugin extensions (see #393796).
3488
3489         * tests/check/gst/gstpad.c: (GST_START_TEST):
3490           ulong => gulong. Fixes compilation with HP-UX compiler.
3491
3492         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3493           Fix compilation if valgrind headers are not available.
3494
3495 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3496
3497         * win32/common/libgstreamer.def: 
3498           Add new exported function.
3499         * win32/vs6/libgstbase.dsp: 
3500           Add gstdataqueue.c to the build.
3501         * win32/vs6/libgstcoreelements.dsp:
3502           Add gstmultiqueue.c to the build.
3503         
3504 2007-01-06  Andy Wingo  <wingo@pobox.com>
3505
3506         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3507         activate_pull(), providing for a way to specialize the process of
3508         spawning a thread to pull on the sink pad. There is a default
3509         implementation.
3510
3511         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3512         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3513         (gst_base_sink_init): Renamed pad activation functions (inserting
3514         "_pad" in their names). Refactor to use the new activate_pull
3515         vmethod, as appropriate.
3516         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3517         default activate_pull function to start a task pulling from the
3518         sink pad, as before.
3519
3520         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3521         on the pads if necessary, as in push()/chain(). Update docs.
3522         Shouldn't affect existing pull() usage as it is currently only
3523         being used on buffers without caps.
3524
3525 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3528         (init_pre):
3529           Call g_thread_init() first thing in gst_init() / gst_check_init().
3530           When initialisation is done via gst_init_get_option_group() and
3531           GOption parsing, issue a warning if the GLib thread system has not
3532           been initialised yet by the time gst_init_get_option_group() is
3533           called, as it's quite likely other GLib functions such as
3534           g_option_context_new() have been called already then, and
3535           g_thread_init() must be called before any other GLib function. The
3536           application in question must be fixed in that case, since memory
3537           corruption might happen otherwise.
3538           We issue the warning because even if the GLib folks decide to work
3539           around the problem on their end in future, this is still an issue
3540           with all GLib versions >= 2.10.0, so we should warn until we depend
3541           on a GLib version we know to be safe.
3542           Update documentation as well.
3543           Closes bug #391278.
3544
3545 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         * tools/gst-inspect.c: (main):
3548         * tools/gst-launch.c: (main):
3549         * tools/gst-typefind.c: (main):
3550         * tools/gst-xmlinspect.c: (main):
3551           Call g_thread_init() really really early, before any other GLib
3552           function (see #342564 and recent discussion on gtk-devel-list).
3553
3554 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3557
3558         * gst/gst_private.h:
3559         * gst/gstconfig.h.in:
3560         * gst/gstinfo.h:
3561           On win32, all the __declspec stuff for symbol exporting is
3562           apparently only needed with MSVC, but doesn't work with MingW.
3563           Fixes compilation with MingW and #391909.
3564
3565 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3566
3567         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3568           Change some GST_ERROR_OBJECT that aren't really errors to
3569           GST_WARNING_OBJECT in order to reduce terminal spam.
3570
3571 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3572
3573         * tests/check/Makefile.am:
3574           disable test again, as there seem to be still race problems
3575
3576 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3577
3578         * tests/check/Makefile.am:
3579         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3580         (GST_START_TEST), (queue_suite):
3581           enable queue test again, add tests for the leaky behaviour
3582
3583 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         * configure.ac:
3586         * tests/examples/Makefile.am:
3587           Compile adapter test/example only if the required headers are
3588           available (fixes #391915).
3589
3590 2007-01-01  David Schleef  <ds@schleef.org>
3591
3592         * gst/gstplugin.c:
3593           Restore the previous signal handler for SIGSEGV instead of
3594           setting to default, since we may have stolen it away from
3595           someone.  (i.e., Mono)
3596
3597 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3598
3599         * docs/random/draft-missing-plugins.txt:
3600           Some small additions and clarifications.
3601
3602 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3603
3604         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3605           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3606           since that can lead to random memory corruptions and crashes
3607           (may or may not be related to #383244, #386711, and #386711).
3608
3609 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3610
3611         * tests/check/.cvsignore:
3612         * tests/check/Makefile.am:
3613           sync .cvsignome and CLEANFILES
3614
3615 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3616
3617         * tests/check/Makefile.am:
3618           fix distcheck
3619
3620 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * docs/design/part-states.txt:
3623           two tiny additional comments
3624         
3625         * gst/gststructure.c:
3626           doc fixing
3627
3628         * tests/check/Makefile.am:
3629         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3630         (GST_START_TEST):
3631           disable test for now, unless it gets fixed
3632
3633 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3634
3635         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3636         (GST_START_TEST):
3637           fix race in underrun test
3638
3639 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3640
3641         * tests/check/elements/.cvsignore:
3642           ignore more
3643
3644         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3645         (GST_START_TEST):
3646           try to narrow test failure
3647
3648 2006-12-21  David Schleef  <ds@schleef.org>
3649
3650         * plugins/elements/gstfakesrc.c:
3651           Use g_random_int_range(), since it produces better random
3652           numbers in a range than almost-correct floating point code.
3653
3654 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3655
3656         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3657         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3658         (gst_check_teardown_sink_pad):
3659           do not automatically (de)activate pads
3660
3661         * tests/check/Makefile.am:
3662         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3663         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3664           add new, yet simple tests for queue
3665
3666         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3667         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3668         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3669         (GST_START_TEST):
3670         * tests/check/elements/identity.c: (cleanup_identity):
3671           consistent pad (de)activation
3672
3673 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3674
3675         Patch by: Sebastian Dröge  <slomo ubuntu com>
3676
3677         * libs/gst/base/gstcollectpads.c:
3678           Fix two doc typos (#387866).
3679
3680 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3681
3682         * docs/manual/advanced-dparams.xml:
3683           Fix typo (g_object_control_properties() doesn't exist).
3684
3685 2006-12-19  Edward Hervey  <edward@fluendo.com>
3686
3687         * gst/gstsegment.c: (gst_segment_set_seek):
3688         Fine tune the cases where the segment start/stop values are really
3689         updated.
3690         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3691         Add tests for the return values of gst_segment_set_seek().
3692
3693 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * gst/gst.c:
3696           Docs typo fix.
3697
3698         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3699         (gst_queue_init):
3700           Fix incorrect documentation and flesh it out a bit more.
3701           Set default values for the max properties on the GParamSpec as well,
3702           so it shows up correctly in gst-inspect.
3703
3704 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3705
3706         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3707           Correct docs of queue, add more detail and crosslink it more.
3708
3709 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3712           Print additional debug info when the stream isn't perfectly
3713           timestamped; don't try to use invalid durations.
3714
3715 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3716
3717         * docs/design/Makefile.am:
3718           Dist new design docs.
3719
3720 2006-12-16  Wim Taymans  <wim@fluendo.com>
3721
3722         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3723
3724         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3725         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3726         (gst_collect_pads_stop), (gst_collect_pads_event),
3727         (gst_collect_pads_chain):
3728         * libs/gst/base/gstcollectpads.h:
3729         Add refcounting to the collectpads data so we can track when it's safe
3730         to free the data. Fixes #383382.
3731
3732 2006-12-15  Wim Taymans  <wim@fluendo.com>
3733
3734         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3735         (gst_collect_pads_remove_pad):
3736         Automatically activate/deactivate pads when they are added to a
3737         started/stoped collectpads.
3738
3739 2006-12-15  Wim Taymans  <wim@fluendo.com>
3740
3741         * gst/gstelement.c: (gst_element_add_pad):
3742         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3743         * gst/gstpad.c: (gst_pad_init):
3744         Set pads to FLUSHING when they are created. Check, warn and fix when a
3745         demuxer adds an inactive pad to itself when running. Fixes #339326.
3746
3747 2006-12-15  Wim Taymans  <wim@fluendo.com>
3748
3749         * gst/gstelement.c: (gst_element_class_init),
3750         (gst_element_default_send_event), (gst_element_send_event),
3751         (gst_element_default_query), (gst_element_query):
3752         Expose default element send_event and query handling as vmethods that
3753         subclasses can chain up to.
3754
3755 2006-12-15  Wim Taymans  <wim@fluendo.com>
3756
3757         * gst/gstelement.c: (gst_element_set_state_func):
3758         Small documentation fixes.
3759
3760 2006-12-15  Wim Taymans  <wim@fluendo.com>
3761
3762         * docs/design/draft-latency.txt:
3763         Checked in draft for handling latency in pipelines.
3764
3765 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3766
3767         * Makefile.am:
3768         * gstreamer.doap:
3769         * gstreamer.spec.in:
3770           adding .doap file
3771
3772 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
3773
3774         * gst/gst.c: (init_pre), (init_post):
3775           init_pre() and init_post() might be called via our GOptionGroup or
3776           from gst_init(), and we should skip both of them if we've already
3777           been initialised, otherwise we will init some things twice or add
3778           two default log functions.
3779
3780 2006-12-13  Edward Hervey  <edward@fluendo.com>
3781
3782         * docs/manual/basics-bus.xml:
3783         No, gst_main_loop does not exist. Its g_main_loop.
3784         Discovered by somebody who abused the copy-paste technique of coding :)
3785
3786 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3787
3788         * gst/gstghostpad.c:
3789           Log ghostpad debug stuff to the GST_PADS category as well rather
3790           than just to the default category.
3791
3792 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3793
3794         * configure.ac:
3795         * gst/gst.c: (init_pre):
3796           Add some basic system details such as OS and architecture
3797           to the debug output if possible, courtesy of uname().
3798
3799 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
3800
3801         * docs/gst/running.xml:
3802           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3803           environment variables.
3804
3805 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3806
3807         * tests/check/gst/gstbin.c: (GST_START_TEST):
3808         It is acceptable to have a refcount of 2 or 3 at this point in the
3809         test, because the pipeline might be just posting its state_change
3810         message. The next line then waits for that message to appear using
3811         bus_poll, so that should be fine too.
3812
3813 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3814
3815         * gst/gst.c: (ensure_current_registry_forking):
3816         Ignore EINTR when reading from the child registry pipe.
3817         Explicitly ignore the return value from close, since it makes no
3818         difference.
3819
3820         * gst/gstminiobject.c: (gst_mini_object_ref),
3821         (gst_mini_object_unref):
3822         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3823
3824         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3825         When removing cached plugins, remove their features too, so they're
3826         not visible after they've disappeared.
3827
3828         * gst/gstutils.c: (prepare_link_maybe_ghosting):
3829         In the unlikely case that we are linking pads with no parents, don't
3830         crash trying to get the non-existent parent bin.
3831
3832         * gst/parse/grammar.y:
3833         Output debug in the PIPELINE category
3834
3835 2005-03-08  Wim Taymans  <wim@fluendo.com>
3836
3837         Patch by: René Stadler <mail at renestadler dot de>
3838
3839         * gst/gstclock.c: (gst_clock_new_periodic_id):
3840         Reject invalid clock times for interval of periodic ids.
3841         Fixes ##383506.
3842
3843 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3844
3845         * gst/gstelementfactory.c: (gst_element_factory_create):
3846         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3847         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3848         * tools/gst-inspect.c: (print_element_info):
3849         Fix refcounting of gst_plugin_feature_load to match the docs. 
3850         Fixes: #380129
3851
3852 2006-12-07  Wim Taymans  <wim@fluendo.com>
3853
3854         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3855         (gst_base_sink_get_position):
3856         Improve debugging of events.
3857
3858 2006-12-07  Wim Taymans  <wim@fluendo.com>
3859
3860         Patch by: René Stadler <mail at renestadler dot de>
3861
3862         * gst/gstclock.c: (gst_clock_id_wait):
3863         Make period ids add the interval to the origial requested time instead
3864         of the possibly updated time which can be wrong when there are multiple
3865         waiters for the same id. Fixes #382592.
3866
3867         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3868         (gst_system_clock_id_wait_jitter_unlocked),
3869         (gst_system_clock_id_wait_jitter):
3870         Fix restart in the async notify thread when an async entry is added to
3871         the front of the list. Fixes #381492. 
3872
3873         * tests/check/gst/gstsystemclock.c: (store_callback),
3874         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3875         Added test for multiple async waits.
3876         Added test for async wait order.
3877
3878 2006-12-07  Wim Taymans  <wim@fluendo.com>
3879
3880         * gst/gstbin.c: (gst_bin_query):
3881         Add some more docs about the POSITION query.
3882
3883 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3884
3885         * configure.ac:
3886         Bump version nano - back to CVS.
3887
3888 === release 0.10.11 ===
3889
3890 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
3891
3892         * configure.ac:
3893           releasing 0.10.11, "Love never runs on time"
3894
3895 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
3896
3897         * win32/common/libgstbase.def:
3898         * win32/common/libgstreamer.def:
3899         * win32/vs8/libgstbase.vcproj:
3900         * win32/vs8/libgstcoreelements.vcproj:
3901         * win32/vs8/libgstreamer.vcproj:
3902         Fix compilation on win32 under VS8
3903         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3904         Partially fixes #381175
3905
3906 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
3907
3908         * gst/gstvalue.c: (gst_value_compare_fraction):
3909         If someone is foolish enough to compare 2 fractions with denominator =
3910         0, return UNORDERED rather than aborting.
3911
3912 2006-11-28  Edward Hervey  <edward@fluendo.com>
3913
3914         * libs/gst/base/Makefile.am:
3915         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3916         (gst_data_queue_base_init), (gst_data_queue_class_init),
3917         (gst_data_queue_init), (gst_data_queue_new),
3918         (gst_data_queue_cleanup), (gst_data_queue_finalize),
3919         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3920         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3921         (gst_data_queue_is_empty), (gst_data_queue_is_full),
3922         (gst_data_queue_set_flushing), (gst_data_queue_push),
3923         (gst_data_queue_pop), (gst_data_queue_drop_head),
3924         (gst_data_queue_set_property), (gst_data_queue_get_property):
3925         * libs/gst/base/gstdataqueue.h:
3926         New GstDataQueue object for threadsafe queueing. Most useful for
3927         elements that need some queueing functionnality.
3928         * docs/libs/gstreamer-libs-docs.sgml:
3929         * docs/libs/gstreamer-libs-sections.txt:
3930         Insert documentation for GstDataQueue
3931         * plugins/elements/Makefile.am:
3932         * plugins/elements/gstelements.c:
3933         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3934         (gst_multi_queue_class_init), (gst_multi_queue_init),
3935         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3936         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3937         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3938         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3939         (gst_multi_queue_loop), (gst_multi_queue_chain),
3940         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3941         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3942         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3943         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3944         (wake_up_next_non_linked), (compute_next_non_linked),
3945         (single_queue_overrun_cb), (single_queue_underrun_cb),
3946         (single_queue_check_full), (gst_single_queue_new):
3947         * plugins/elements/gstmultiqueue.h:
3948         New multiqueue element, using GstDataQueue. Used for queuing multiple
3949         streams.
3950         Closes #344639 and #347785
3951
3952 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
3953
3954         * docs/pwg/advanced-types.xml:
3955           add more missing type details
3956
3957         * tools/gst-run.c: (main):
3958           remove unused variable
3959
3960 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
3961
3962         * docs/libs/Makefile.am:
3963         * docs/libs/gstreamer-libs.types:
3964           add types of base classes to enable gobject specific stuff in the docs
3965
3966         * docs/random/ensonic/embedded.txt:
3967           more ideas about isolating platform specific things
3968
3969 2006-11-20  Wim Taymans  <wim@fluendo.com>
3970
3971         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3972
3973         * libs/gst/check/gstcheck.h:
3974         Fix compilation and running against 0.9.4. Fixes #377332.
3975
3976 2006-11-20  Wim Taymans  <wim@fluendo.com>
3977
3978         * gst/gstsegment.c: (gst_segment_set_seek),
3979         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3980         (gst_segment_to_running_time):
3981         Fix boundary checking in to_running_time() and to_stream_time().
3982         Fixes #377183.
3983
3984         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3985         stream and running time can now be calculated for the complete
3986         clipped segment.
3987
3988 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * gst/gstpad.c: (gst_pad_push_event):
3991           Can't access event structure after giving away ownership of
3992           the event.
3993
3994 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
3995
3996         * docs/random/ensonic/embedded.txt:
3997         * docs/random/ensonic/profiling.txt:
3998         * docs/random/ensonic/receipies.txt:
3999           more thinking
4000
4001 2006-11-13  Wim Taymans  <wim@fluendo.com>
4002
4003         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4004
4005         * gst/gstpad.c:
4006         Fix documentation for gst_pad_dispatcher. Fixes #374475.
4007
4008 2006-11-13  Wim Taymans  <wim@fluendo.com>
4009
4010         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4011
4012         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4013         Store new length in segment duration so we don't keep on calling the
4014         potentially expensize get_size() call. Fixes #370865.
4015
4016 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
4017
4018         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
4019
4020         * win32/common/libgstreamer.def:
4021           Add two missing symbols (#366492).
4022
4023 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
4024
4025         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4026         (gst_adapter_take_buffer):
4027         Fix format string to use all its arguments.
4028         Remove useless >= check on a guint
4029
4030 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4031
4032         * tests/examples/adapter/.cvsignore:
4033         Ignore build file as commanded by the build-bot
4034
4035 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4036
4037         * tests/examples/adapter/Makefile.am:
4038         * tests/examples/adapter/adapter_test.c: (run_test_take),
4039         (run_test_take_buffer), (run_tests), (main):
4040
4041         Add new files from the previous commit
4042
4043 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
4044
4045         * Makefile.am:
4046         * configure.ac:
4047         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4048         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4049         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4050         * libs/gst/base/gstadapter.h:
4051         * tests/check/libs/adapter.c: (create_and_fill_adapter),
4052         (GST_START_TEST), (gst_adapter_suite):
4053         * tests/examples/Makefile.am:
4054         Do some optimisation work in GstAdapter to avoid copies in more cases.
4055         It could still do slightly better by merging buffers when
4056         gst_buffer_is_span_fast is true, but is already faster. 
4057
4058         Also, avoid traversing a single-linked list to append each incoming 
4059         buffer inside the adapter.
4060
4061         Add simple test app that times the adapter behaviour in different
4062         situations, and extend the unit test to check that bytes enter and
4063         exit the adapter in their original order.
4064
4065 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
4066
4067         * docs/random/draft-missing-plugins.txt:
4068           Update: use element message instead of adding a new message
4069           type to the core; don't provide GStreamer API to initiate the
4070           plugin download, just provide API to compose the strings needed
4071           and let an external libgimmestuff handle the rest.
4072
4073 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
4074
4075         * tools/gst-inspect.c: (print_element_properties_info):
4076         Print a string instead of 'unknown type' for GValueArray properties
4077
4078 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4079
4080         * docs/random/draft-missing-plugins.txt:
4081         More small fixes.
4082
4083 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4084
4085         * tests/examples/typefind/typefind.c: (type_found), (main):
4086           Make typefind element example work again (#371894); add a
4087           license header.
4088
4089 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4090
4091         * docs/random/draft-missing-plugins.txt:
4092           Commit initial draft about how to deal with missing plugins,
4093           needs work (API too).
4094
4095 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4096
4097         * docs/pwg/advanced-types.xml:
4098           documents the new caps elements (see #363118)
4099
4100 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * gst/gstplugin.c: (gst_plugin_load_file):
4103         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4104         (gst_file_src_map_region), (gst_file_src_start):
4105         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4106         (gst_file_index_commit):
4107           Use g_strerror() instead of strerror() - we want UTF-8.
4108
4109 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4110
4111         Patch by: Peter Kjellerstedt <pkj at axis com>
4112
4113         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4114           Another printf fix (#371493).
4115
4116 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4117
4118         * tests/check/gst/gsttag.c:
4119           relicence (okay with author=company)
4120
4121 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4122
4123         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4124         (gst_pad_push_event):
4125           Enhance debug and improve docs
4126         
4127         * gst/gsturi.c:
4128           Fix docs
4129
4130 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4131
4132         * docs/random/ensonic/distributed.txt:
4133         * docs/random/ensonic/profiling.txt:
4134           more ideas
4135
4136 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4137
4138         * docs/gst/gstreamer-sections.txt:
4139           add new API and fix the build
4140           
4141         * gst/gstbin.c: (gst_bin_recalc_state):
4142         * gst/gstelement.c: (gst_element_message_full),
4143         (gst_element_get_state_func), (gst_element_set_state_func):
4144           use new API and improve logging
4145         
4146         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4147         * gst/gstutils.h:
4148           API: add function to get StateChangereturn names to improve logs 
4149
4150 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4151
4152         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4153           I'm considering shooting the next person to put strerror stuff
4154           in the translateable part of the message.
4155
4156 2006-11-03  Wim Taymans  <wim@fluendo.com>
4157
4158         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4159         Get the type and printf conversion specifiers right.
4160
4161 2006-11-03  Wim Taymans  <wim@fluendo.com>
4162
4163         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4164
4165         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4166         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4167         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4168         Some small cleanups. Improve debugging.
4169         * gst/gstpad.h:
4170         Signal all waiting threads with a broadcast instead of just one.
4171         Fixes #369942.
4172
4173 2006-11-03  Wim Taymans  <wim@fluendo.com>
4174
4175         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4176         (gst_fd_src_create):
4177         Add some debugging. 
4178         Only update fd when it's different from the old.
4179
4180 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4181
4182         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4183           Printf fixes for PPC/OSX, take two (#369366).
4184
4185 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4186
4187         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4188
4189         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4190         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4191         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4192           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4193           don't cast to long long for portability reasons, but use
4194           GLib's types instead.
4195
4196 2006-10-30  Michael Smith  <msmith@fluendo.com>
4197
4198         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4199           Get the arguments to lseek() the right way around.
4200           Fixes 367677.
4201
4202 2006-10-30  Wim Taymans  <wim@fluendo.com>
4203
4204         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4205
4206         * gst/gstinfo.h:
4207         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4208
4209 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4212
4213         * docs/design/part-MT-refcounting.txt:
4214         * docs/random/wtay/capsnego2-docs:
4215         * gst/gstclock.c:
4216         * gst/gstxml.c:
4217           Typo fixes (#366212).
4218
4219 2006-10-28  Wim Taymans  <wim@fluendo.com>
4220
4221         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4222
4223         * gst/gst.c:
4224         * win32/common/libgstbase.def:
4225         * win32/common/libgstreamer.def:
4226         * win32/vs8/libgstbase.vcproj:
4227         * win32/vs8/libgstcontroller.vcproj:
4228         Add needed entries in .def files.
4229         Use HAVE_UNISTD_H.
4230         Rearrange def files in vs8 solutions. Fixes #366286.
4231
4232 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4233
4234         * win32/common/gstconfig.h:
4235           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4236           hand-made win32 gstconfig.h. Fixes #366321.
4237
4238 2006-10-27  Wim Taymans  <wim@fluendo.com>
4239
4240         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4241         (gst_ghost_pad_new_full):
4242         Make acceptcaps return TRUE when we don't have a target, just like
4243         setcaps does.
4244
4245 2006-10-27  Wim Taymans  <wim@fluendo.com>
4246
4247         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4248         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4249
4250 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4251
4252         * gst/gststructure.c: (gst_structure_id_set_value):
4253           If someone tries to set a non-UTF8 string field on a structure,
4254           don't just print a warning, but also ignore the request and do
4255           not change/add that field to the structure.
4256
4257         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4258           Test for the above.
4259
4260 2006-10-25  David Schleef  <ds@schleef.org>
4261
4262         * gst/gstinfo.c:
4263           g_hash_table_insert() needs a cast to a non-const pointer duh.
4264
4265 2006-10-25  David Schleef  <ds@schleef.org>
4266
4267         * gst/gstinfo.c:
4268         * gst/gstinfo.h:
4269           Change name parameter of _gst_debug_register_funcptr to const
4270           to reflect the constness of its use in the function as well
4271           as to quiet a gcc warning.
4272
4273 2006-10-25  Edward Hervey  <edward@fluendo.com>
4274
4275         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4276         Don't push the buffer if it's empty.
4277         Closes #363095
4278
4279 2006-10-24  Wim Taymans  <wim@fluendo.com>
4280
4281         * gst/gstevent.h:
4282         Add small comment.
4283
4284         * libs/gst/base/gstbasetransform.c:
4285         (gst_base_transform_sink_eventfunc):
4286         Debug segment values *after* updating them as this is more
4287         interesting.
4288
4289 2006-10-23  Wim Taymans  <wim@fluendo.com>
4290
4291         * docs/design/part-events.txt:
4292         Update some docs.
4293
4294         * docs/design/part-block.txt:
4295         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4296         (gst_pad_push_event):
4297         Revert BLOCKING patch, it tries to be smart without really having a
4298         clear idea what or how. So, now we discard all FLUSHING events again on
4299         a blocking pad. Should fix gnonlin again.
4300
4301 2006-10-23  Wim Taymans  <wim@fluendo.com>
4302
4303         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4304
4305         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4306         (gst_base_src_start), (gst_base_src_activate_push):
4307         Make sure size is always initialized. Fixes #364388.
4308
4309 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4310
4311         * docs/random/ensonic/distributed.txt:
4312           add some ideas about doing distributed processing
4313
4314         * docs/random/ensonic/profiling.txt:
4315           get_rusage look promising
4316
4317 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4318
4319         * docs/manual/basics-helloworld.xml:
4320           Add a cast in example to fix compile warning
4321
4322 2006-10-18  Wim Taymans  <wim@fluendo.com>
4323
4324         * gst/gstsegment.c: (gst_segment_set_last_stop),
4325         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4326         Relax arg checking again, -1 is allowed.
4327
4328 2006-10-18  Wim Taymans  <wim@fluendo.com>
4329
4330         * gst/gstsegment.c: (gst_segment_set_last_stop),
4331         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4332         _set_last_stop() must be with a value != -1
4333         A _TYPE_SET to -1 means seek to 0.
4334         Calc last_stop correctly for negative rates.
4335         Make sure we work with positive durations when updating a segment.
4336
4337 2006-10-18  Wim Taymans  <wim@fluendo.com>
4338
4339         * docs/design/part-live-source.txt:
4340         * gst/gstclock.h:
4341         Small docs fixes.
4342
4343 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4344
4345         * gst/gstbuffer.h:
4346           Add an explicit cast to GstBuffer** to keep old code that added an
4347           explicit cast to GstMiniObject** for gst_mini_object_replace()
4348           compiling without warning.
4349
4350 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4351
4352         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4353           check for validity of dates
4354
4355 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         * docs/gst/gstreamer-sections.txt:
4358           Forgot this one, makes gtk-doc shut up.
4359
4360 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4361
4362         Patch by: Peter Kjellerstedt <pkj at axis com>
4363
4364         * gst/gstobject.h:
4365           Don't define xmlNodePtr to gpointer if the core was built with
4366           --disable-loadsave and --disable-registry, this will break
4367           applications that want to use libxml2 but are buildling against a
4368           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4369           instead so we don't have to mess with the libxml2 namespace
4370           (#361675).
4371
4372 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4373
4374         * gst/gstbuffer.h:
4375           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4376           type-punned pointer warnings.
4377
4378 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4379
4380         * gst/gstelement.h:
4381           Add casts to the correct return type to state <=> state transition
4382           macros.
4383
4384 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4385
4386         * docs/design/part-live-source.txt:
4387           describe howto handle latency
4388         
4389         * docs/random/ensonic/profiling.txt:
4390           more ideas
4391
4392         * tools/gst-plot-timeline.py:
4393           fix log parsing for solaris, remove unused function
4394
4395 2006-10-16  Wim Taymans  <wim@fluendo.com>
4396
4397         * docs/design/part-trickmodes.txt:
4398         * gst/gstevent.c:
4399         Update some docs regarding reverse playback.
4400
4401 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4402
4403         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4404
4405         * win32/vs8/grammar.vcproj:
4406           Error out with a warning if glib-genmarshal.exe is not in path,
4407           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4408
4409 2006-10-13  Wim Taymans  <wim@fluendo.com>
4410
4411         * gst/gstsegment.c: (gst_segment_set_seek):
4412         When seeking to stop -1, set last_stop (current position) to the
4413         duration of the segment.
4414
4415 2006-10-13  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstelement.h:
4418         Clarify _NO_PREROLL a bit more.
4419
4420         * gst/gstevent.c:
4421         Fix docs.
4422
4423         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4424         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4425         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4426         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4427         due to wrong locking order. Fixes #361769.
4428         Remove some redundant/misplaced checks in pad_block.
4429
4430         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4431         For negative rates, count backwards from the duration.
4432
4433 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4434
4435         * gst/gsterror.c: (_gst_library_errors_init):
4436           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4437           up with something better).
4438
4439 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * win32/vs6/libgstreamer.dsp:
4442         * win32/vs7/libgstreamer.vcproj:
4443         * win32/vs8/libgstreamer.vcproj:
4444           Don't reference glib-compat.c which is currently not used and not
4445           disted; add gstquark.c which was recently added. Fixes #361730.
4446
4447 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4448
4449         * win32/common/libgstbase.def:
4450         * win32/common/libgstcontroller.def:
4451         * win32/common/libgstreamer.def:
4452           Add gst_caps_merge() and a bunch of other recently-added functions.
4453           Fixes #361732.
4454
4455 2006-10-11  Wim Taymans  <wim@fluendo.com>
4456
4457         * docs/plugins/gstreamer-plugins.args:
4458         * docs/plugins/inspect/plugin-coreelements.xml:
4459         * docs/plugins/inspect/plugin-coreindexers.xml:
4460         Update element args.
4461
4462         * gst/gstsystemclock.c:
4463         Small comment update.
4464
4465         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4466         (gst_tee_request_new_pad), (gst_tee_release_pad),
4467         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4468         (gst_tee_sink_activate_pull):
4469         * plugins/elements/gsttee.h:
4470         Some tee loving:
4471         Add default property defines.
4472         Implement release pad function.
4473         Give properties better blubs etc.
4474         Activate pads before adding them to a running tee.
4475         Do simple buffer_alloc on the first requested pad.
4476         Post error when activation fails.
4477
4478 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4479
4480         * gst/gst.c: (ensure_current_registry_forking):
4481           Check return value of write() to make compiler happy.
4482
4483 2006-10-11  Wim Taymans  <wim@fluendo.com>
4484
4485         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4486
4487         * plugins/elements/gstqueue.c: (gst_queue_chain):
4488         Recheck queue filledness after signalling the overrun when we're about
4489         to leak downstream because we released the lock when emitting the signal
4490         and the queue could be empty again. Fixes #352345.
4491
4492 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4493
4494         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4495           Fix refcounting here too, just like we did for _new_valist() a few
4496           days ago (#357180) (thanks to René Stadler). Also remove all those
4497           'Since: 0.9' from the gtk-doc blobs.
4498
4499         * tests/check/libs/controller.c: (controller_refcount_new_list),
4500         (gst_controller_suite):
4501           Unit test for the above.
4502
4503 2006-10-10  Wim Taymans  <wim@fluendo.com>
4504
4505         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4506
4507         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4508         (gst_pad_save_thyself):
4509         Update some docs.
4510         Write pad direction in XML output. Fixes #345496.
4511
4512 2006-10-10  Wim Taymans  <wim@fluendo.com>
4513
4514         Patch by: René Stadler <mail at renestadler dot de>
4515
4516         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4517         (gst_controller_new_list), (_gst_controller_dispose),
4518         (_gst_controller_finalize), (_gst_controller_class_init):
4519         Take ref to controlled object so that it cannot disappear. 
4520         Fixes #357432.
4521
4522 2006-10-10  Wim Taymans  <wim@fluendo.com>
4523
4524         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4525         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4526         (gst_check_teardown_sink_pad):
4527         Activate/deactivate pads in setup/teardown respectively.
4528
4529 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4530
4531         Patch by: Josep Torre Valles <josep@fluendo.com>
4532
4533         * gst/Makefile.am:
4534         Cast values when making gstenumtypes.h.  This pacifies Forte
4535         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4536         in the enumeration.
4537
4538 2006-10-09  Wim Taymans  <wim@fluendo.com>
4539
4540         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4541         Rename some more @cur to @start to fix docs. 
4542
4543         * gst/gstsegment.c: (gst_segment_set_seek):
4544         Fix typo.
4545         time and start must always stay in sync as defined in design doc.
4546
4547         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4548         Rename param to fix docs.
4549
4550         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4551         Check that start and time are in sync.
4552
4553         * tests/check/pipelines/parse-launch.c:
4554         (gst_parse_test_element_change_state):
4555         Activate pad before adding to the element.
4556
4557 2006-10-09  Wim Taymans  <wim@fluendo.com>
4558
4559         * docs/design/part-qos.txt:
4560         Fix typo.
4561
4562         * gst/gstevent.c:
4563         * gst/gstevent.h:
4564         Update seek event docs regarding negative rates.
4565         Rename @cur to @start. 
4566
4567         * gst/gstsegment.c: (gst_segment_set_seek):
4568         * gst/gstsegment.h:
4569         Update set_seek docs regarding negative rates.
4570         Correctly update last_stop to @stop when dealing with negative
4571         rates.
4572         Rename @cur to @start. 
4573
4574         * tests/check/gst/gstpad.c: (GST_START_TEST):
4575         Activate pads before trying to use them.
4576
4577         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4578         (gst_segment_suite):
4579         Add simple check for segments and negative rates.
4580
4581 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4584         * gst/gsttaglist.h:
4585         * docs/gst/gstreamer-sections.txt:
4586           API: add gst_tag_list_is_empty() (#360467).
4587
4588         * tests/check/gst/gsttag.c: (GST_START_TEST):
4589           And a test case.
4590
4591 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4592
4593         * gst/gstmessage.h:
4594         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4595         a value that doesn't fit on enumeration.
4596
4597 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4598
4599         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4600         Remove local debugging system and use Gstreamer's instead.
4601
4602 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4603
4604         Patch by: Josep Torre Valles <josep@fluendo.com>
4605
4606         * common/m4/gst-error.m4:
4607         Disable warning of statement not reached on Forte.
4608         * gst/gstmessage.h:
4609         Fix warning on Forte (value doesn't fit on enumeration).
4610         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4611         Fix warning on Forte (value doesn't fit on enumeration).
4612         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4613         DEBUG macro says it takes minimum of 2 args and so Forte
4614         complains about the use with just 1 arg.
4615         * plugins/elements/gstfdsink.c:
4616         * plugins/elements/gstfdsrc.c:
4617         * plugins/elements/gstfilesink.c:
4618         * plugins/elements/gstfilesrc.c:
4619         Use correct return type for the uri handler implementations.
4620
4621         All these fix warnings in Forte.  Fixes bug #360860.
4622
4623 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4624
4625         * gst/gstelement.h:
4626           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4627           format string, so don't use G_GNUC_PRINTF for those versions.
4628
4629 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4630
4631         * gst/gsttaglist.c: (gst_is_tag_list):
4632         * gst/gsttaglist.h:
4633           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4634
4635         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4636           Small test for the above.
4637
4638 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4639
4640         * gst/gsttaglist.h:
4641           Less tabs, more spaces.
4642
4643 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4644
4645         * gst/gstinfo.h:
4646           Those two function declarations do actually belong there, revert
4647           commit from yesterday that turned them intro macros.
4648
4649 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4650
4651         Patch by: Josep Torre Valles <josep@fluendo.com>
4652
4653         * gst/gst.c: (gst_init_get_option_group):
4654         Fix empty declaration and type mismatch.
4655         * gst/gstbin.c: (gst_bin_change_state_func):
4656         Fix type mismatch.
4657         * gst/gstelement.c: (gst_element_continue_state),
4658         (gst_element_set_state_func), (gst_element_change_state),
4659         (gst_element_change_state_func):
4660         Fix type mismatches.
4661         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4662         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4663         Cast as appropriate.
4664         * gst/gstobject.c: (gst_class_signal_connect):
4665         Cast as appropriate.  The function pointer parameter really
4666         has the wrong type but would break API if we change it.
4667         * gst/gstquery.c:
4668         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4669         order of including string.h.
4670         * gst/gstutils.c: (gst_element_state_get_name):
4671         Remove unreachable line.
4672         * gst/gstxml.c: (gst_xml_parse_doc):
4673         Fix type mismatch.
4674         All these caught by Forte.
4675
4676 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4677
4678         Patch by: Josep Torre Valles <josep@fluendo.com>
4679
4680         * common/m4/gst-error.m4:
4681         Fixed bug #360151.
4682         We need to disable warnings on Forte for empty declarations
4683         due to gst-indent adding ;s to lines that just use macros
4684         where the macro actually doesn't need a ; at end to end
4685         statement.
4686
4687 2006-10-06  Wim Taymans  <wim@fluendo.com>
4688
4689         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4690         (gst_file_sink_close_file), (gst_file_sink_event),
4691         (gst_file_sink_render):
4692         Add some FIXME for the NEWSEGMENT handling.
4693
4694 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4695
4696         * gst/parse/grammar.y:
4697         Remove static function gst_parse_element_lock as all it does
4698         is return.  Looks like cruft from 0.8.
4699
4700 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4701
4702         Patch by: Josep Torre Valles <josep@fluendo.com>
4703
4704         * common/m4/gst-error.m4:
4705         * configure.ac:
4706         * libs/gst/net/Makefile.am:
4707         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4708         libresolv.
4709
4710 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4711
4712         * gst/gstpad.c: (pre_activate):
4713         * gst/gstregistry.c: (gst_registry_scan_path_level):
4714         * gst/gstregistryxml.c: (load_plugin):
4715         * libs/gst/controller/gstcontroller.c:
4716         (gst_controlled_property_set_interpolation_mode):
4717         * libs/gst/dataprotocol/dataprotocol.c:
4718         (gst_dp_packet_from_event_1_0):
4719         * libs/gst/net/gstnetclientclock.c:
4720         (gst_net_client_clock_observe_times):
4721         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4722           Printf fixes.
4723
4724 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4725
4726         * configure.ac:
4727         * docs/gst/gstreamer-sections.txt:
4728         * gst/gstconfig.h.in:
4729         * gst/gstelement.h:
4730         * gst/gstinfo.h:
4731           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4732           whether we can use G_GNUC_PRINTF in other header files and at
4733           least check the printf format/arguments of debug messages and
4734           GST_ELEMENT_ERROR messages when the printf extension is not
4735           being used.
4736           Replace more tabs with spaces in gstinfo.h and remove two spurious
4737           function declarations in GST_DISABLE_DEBUG part with macros.
4738
4739 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4740
4741         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4742           More docs for the sync-message signal (mention that it is not
4743           emitted by default); log message structures of messages posted on
4744           the bus as well.
4745
4746 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4747
4748         * gst/gst.c: (ensure_current_registry_forking):
4749         Use a pipe pair to receive status results from the forked child, and
4750         ignore the result from waitpid. Fixes #355499
4751
4752 2006-10-02  Wim Taymans  <wim@fluendo.com>
4753
4754         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4755         (gst_ghost_pad_suite):
4756         Fix leak in check.
4757
4758 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4759
4760         * gst/gstpad.c:
4761           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4762
4763 2006-10-02  Edward Hervey  <edward@fluendo.com>
4764
4765         * docs/design/part-block.txt:
4766         Further explain the use of flushing on blocked pads.
4767         * docs/gst/gstreamer-sections.txt:
4768         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4769         (gst_pad_push_event):
4770         * gst/gstpad.h:
4771         Added new GstPadFlag : GST_PAD_BLOCKING.
4772         Adds the notion of pads really blocking, which enables to properly
4773         handle FLUSH_START/FLUSH_STOP events on blocked pads.
4774         Fixes #358999
4775         API: gst_pad_is_blocking()
4776         API: GST_PAD_IS_BLOCKING() macro
4777         API: GST_PAD_BLOCKING GstPadFlag
4778         
4779 2006-10-02  Wim Taymans  <wim@fluendo.com>
4780
4781         Patch by: mrcgran <mrc.gran at gmail dot com>
4782
4783         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4784         Filter the proxied caps against the padtemplate if we have one.
4785
4786         * gst/gstquery.c: (gst_query_new_segment):
4787         Add include for gstinfo.h so that compilation with
4788         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4789
4790 2006-10-02  Wim Taymans  <wim@fluendo.com>
4791
4792         Patch by: Alessandro Decina  <alessandro at nnva org>
4793
4794         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4795         (gst_file_sink_set_location), (gst_file_sink_open_file),
4796         (gst_file_sink_close_file), (gst_file_sink_event),
4797         (gst_file_sink_render):
4798         Set file to NULL when closing filesink so that we can set a new filename
4799         in READY. Fixes #358613.
4800
4801 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4802
4803         Patch by: Alessandro Decina  <alessandro at nnva org>
4804
4805         * gst/gstevent.c: (_gst_event_copy):
4806           Fix gst_mini_object_make_writable() and gst_event_copy() for events
4807           with event structures by setting the parent refcount address of the
4808           copied structure to the address of the refcount member of the newly
4809           copied event rather than the address of the refcount member of the
4810           original event. Fixes #358737.
4811
4812         * tests/check/gst/gstevent.c: (GST_START_TEST):
4813           Unit test for the above.
4814
4815 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
4816
4817         * docs/design/Makefile.am:
4818           Dist some more files.
4819
4820 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4821
4822         * tests/check/libs/controller.c: (GST_START_TEST),
4823         (gst_controller_suite):
4824           Add test for the previous fix; add some more tests
4825           for correct refcounting behaviour; fix a few leaks
4826           in test cases; call gst_controller_init() at start
4827           of all tests.
4828
4829 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4830
4831         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4832         (gst_controller_set_from_list):
4833           Don't g_return_val_if_fail() on timed values with invalid timestamps
4834           inside a critical section without unlocking the mutex. Spotted by
4835           René Stadler. (#357617)
4836           Also, fix up refcounting properly: when returning an existing
4837           controller, we should increase the reference only once and not
4838           once per property and when trying to control a property again
4839           we should also increase the refcount.
4840
4841 2006-09-29  Wim Taymans  <wim@fluendo.com>
4842
4843         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4844         * libs/gst/net/gstnettimeprovider.c:
4845         (gst_net_time_provider_thread):
4846         Stop reading commands when EOF as well.
4847
4848         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4849         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4850         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4851         Unify description of the dump property.
4852
4853 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4854
4855         * tests/examples/manual/.cvsignore:
4856         OK, so it's actually cvsignore that needs changing. Stop laughing.
4857
4858 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4859
4860         * tests/examples/manual/Makefile.am:
4861         Gah, declare vars *before* using them
4862
4863 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4864
4865         * gst/gst.c: (init_pre), (scan_and_update_registry),
4866         (ensure_current_registry_nonforking),
4867         (ensure_current_registry_forking), (ensure_current_registry),
4868         (init_post), (gst_debug_help), (gst_deinit):
4869         * gst/gst_private.h:
4870         * gst/gstregistry.c: (gst_registry_finalize),
4871         (gst_registry_remove_features_for_plugin_unlocked),
4872         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4873         (gst_registry_scan_path),
4874         (_priv_gst_registry_remove_cache_plugins),
4875         (_priv_gst_registry_cleanup):
4876         * gst/gstregistry.h:
4877         Re-commit the registry changes, along with an extra fix:
4878           When a cached plugin is encountered at a different file path,
4879           update the stored path in the registry cache so that the parent
4880           process knows where it actually is now when it re-reads the registry
4881           cache. Fixes the thing that broke distcheck with the previous commit.
4882
4883         * tests/check/Makefile.am:
4884         Clean up files named 'core' too when running make clean.
4885
4886         * tests/examples/manual/Makefile.am:
4887         Set up a registry path for running these tests, and clean it properly
4888         for distcheck.
4889
4890 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4891
4892         * configure.ac:
4893         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4894         want gmodule-no-export-2.0.pc instead so that we don't drag in
4895         --export-dynamic on every project that links to GStreamer.
4896
4897         Also, make our export regex only match the start of symbols, rather 
4898         than any symbol that contains '_gst' somewhere.
4899
4900         * libs/gst/check/Makefile.am:
4901         The libgstcheck we build does however need export-dynamic, as it
4902         produces some symbols that don't match our _gst... style regex.
4903         Fixes: #318031
4904
4905 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4906
4907         * gst/gst.c: (init_pre), (scan_and_update_registry),
4908         (ensure_current_registry_nonforking),
4909         (ensure_current_registry_forking), (ensure_current_registry),
4910         (init_post), (gst_debug_help), (gst_deinit):
4911         * gst/gst_private.h:
4912         * gst/gstregistry.c: (gst_registry_finalize),
4913         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4914         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4915         (_gst_registry_cleanup):
4916         * gst/gstregistry.h:
4917           Revert previous change until I figure out why it breaks distcheck.
4918
4919 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4920
4921         * gst/gst.c: (init_pre), (scan_and_update_registry),
4922         (ensure_current_registry_nonforking),
4923         (ensure_current_registry_forking), (ensure_current_registry),
4924         (init_post), (gst_debug_help), (gst_deinit):
4925
4926           Make init_pre and init_post take the full complement of GOptionFunc
4927           args so they can return useful GErrors. Make the registry updating
4928           functions do so.
4929
4930           Call _priv_gst_registry_remove_cache_plugins after scanning files to
4931           ensure that the registry we're about to write out doesn't contain
4932           stale information about old-deleted plugin files.
4933
4934           Make _priv_gst_registry_remove_cache_plugins return a boolean so
4935           that deletion of plugin files is considered a registry change.
4936
4937         * gst/gst_private.h:
4938         * gst/gstregistry.c: (gst_registry_finalize),
4939         (gst_registry_remove_features_for_plugin_unlocked),
4940         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4941         (gst_registry_scan_path),
4942         (_priv_gst_registry_remove_cache_plugins),
4943         (_priv_gst_registry_cleanup):
4944         * gst/gstregistry.h:
4945         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4946         by adding _priv prefix, so that they won't appear in the global
4947         symbol table. They still do atm though because of #318031. Move the
4948         prototypes to gst_private.h
4949
4950         When removing a plugin, remove all features for that plugin too. 
4951         Fixes #340878.
4952
4953 2006-09-27  Wim Taymans  <wim@fluendo.com>
4954
4955         * docs/random/moving-plugins:
4956         Make it clear that the "compiled-in descriptions" really mean
4957         the element details.
4958
4959         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4960         (gst_base_sink_wait_preroll):
4961         Update docs.
4962
4963         * docs/libs/gstreamer-libs-sections.txt:
4964         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4965         (gst_base_src_get_range), (gst_base_src_activate_push):
4966         * libs/gst/base/gstbasesrc.h:
4967         Added function to block while waiting for PLAYING, this function
4968         is used by live sources that block on the clock.
4969         API: gst_base_src_wait_playing()
4970
4971 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4972
4973         Patch by: Peter Kjellerstedt <pkj at axis com>
4974
4975         * Makefile.am:
4976           gst-element-check.m4 is generated and should therefore be
4977           copied from the build dir rather than the source dir (#357593).
4978           'make distcheck' hasn't noticed this because we were disting
4979           the file as well, so stop doing that.
4980
4981 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4982
4983         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4984           Add some tests for gst_caps_intersect().
4985
4986         * tools/gst-launch.c: (event_loop):
4987           Print all buffering percentages we get, even the 100% one.
4988
4989 2006-09-26  Wim Taymans  <wim@fluendo.com>
4990
4991         * tools/gst-inspect.c: (print_element_properties_info),
4992         (print_signal_info):
4993         Fix printing of flags to match the look of enums.
4994
4995 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4996
4997         * gst/gstelementfactory.c:
4998           Fix typo in docs blurb.
4999
5000 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5001
5002         * gst/gsturi.c: (search_by_entry):
5003           Don't assert/crash here if a uri handler doesn't return any
5004           supported protocols. The list of protocols could be generated
5005           dynamically at runtime or at plugin registration, and an error
5006           in the underlying library shouldn't be fatal (#353301).
5007
5008 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5009
5010         * gst/gstinfo.c:
5011           Fix warning if HAVE_PRINTF_EXTENSION is undefined
5012           (spotted by Peter Kjellerstedt).
5013
5014 2006-09-23  Wim Taymans  <wim@fluendo.com>
5015
5016         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5017
5018         * libs/gst/base/gstbasesrc.c:
5019         (gst_base_src_default_check_get_range), (gst_base_src_start),
5020         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5021         (gst_base_src_change_state):
5022         Match _start/_stop calls in the activate functions. Remove redundant
5023         _stop call from the state change function. Fixes #356910.
5024         Turn failure DEBUG into ERROR. 
5025
5026 2006-09-22  Wim Taymans  <wim@fluendo.com>
5027
5028         * docs/design/part-buffering.txt:
5029         * gst/gstmessage.c: (gst_message_new_buffering),
5030         (gst_message_parse_buffering):
5031         Update docs about buffering.
5032
5033         * docs/design/part-trickmodes.txt:
5034         Fix typo.
5035
5036 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
5037
5038         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5039         (gst_controller_new_list):
5040           Ref instances when returning them again (fixes #357180)
5041
5042 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
5043
5044         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5045           Don't forget to release proxy lock when there's an error.
5046
5047 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
5048
5049         * gst/gstcaps.h:
5050           Add extra initialisers for Caps things, to fix some plugin warnings
5051           when using -Wextra
5052
5053 2006-09-18  Wim Taymans  <wim@fluendo.com>
5054
5055         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5056           Also set template on the internal pad so that a getcaps from the 
5057           target pad returns the template caps.
5058
5059 2006-09-18  Wim Taymans  <wim@fluendo.com>
5060
5061         * gst/gstelement.c: (gst_element_post_message),
5062         (gst_element_dispose):
5063         Use _DEBUG_OBJECT some more.
5064
5065         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5066         Avoid typechecks.
5067
5068         * tools/gst-launch.c: (main):
5069         If the toplevel element is not a GstPipeline, it must be put in a
5070         pipeline so that a bus and clock is selected.
5071
5072 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5075           JITTER, RATE, and LATENCY query should be handled by the
5076           default case and not by the CONVERT query code.
5077
5078 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * gst/gstformat.c: (gst_format_register):
5081           Fix locking order (must take lock before using n_values).
5082
5083         * gst/gstvalue.c: (gst_value_serialize_enum),
5084         (gst_value_deserialize_enum_iter_cmp),
5085         (gst_value_deserialize_enum):
5086           Fix serialisation/deserialisation of custom registered GstFormats.
5087
5088         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5089           Unit test for custom format serialisation/deserialisation.
5090
5091 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5092
5093         * docs/pwg/building-boiler.xml:
5094         * plugins/elements/gstcapsfilter.c:
5095         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5096         section.
5097
5098 2006-09-16  Edward Hervey  <edward@fluendo.com>
5099
5100         * libs/gst/base/gstbasetransform.c:
5101         (gst_base_transform_buffer_alloc):
5102         Check if requested caps are the same as the sinks caps IF
5103         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5104         is FALSE.
5105         This fixes the renegotiation issues stated in #352827.
5106
5107 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5108
5109         * configure.ac:
5110         * docs/manual/advanced-autoplugging.xml:
5111         * tests/examples/Makefile.am:
5112         * tests/examples/manual/.cvsignore:
5113         * tests/examples/manual/Makefile.am:
5114         * tests/examples/manual/extract.pl:
5115           Extract the manual examples again like we used to do.
5116           Fix one of them.
5117
5118 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5119
5120         * win32/common/config.h:
5121           update for version
5122
5123 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5124
5125         * gst/gsterror.c:
5126           Documents how to receive errors.
5127
5128 2006-09-15  Wim Taymans  <wim@fluendo.com>
5129
5130         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5131         (event_loop), (main):
5132         Added some comments here and there.
5133         Post an application message when an interrupt is caught instead of doing
5134         an uncontrolled state change.
5135         Clean up the event loop.
5136         Handle buffering messages, pause/resume the pipeline.
5137         Make shutdown because of an interrupt more reliable.
5138
5139 2006-09-15  Wim Taymans  <wim@fluendo.com>
5140
5141         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5142         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5143         (gst_base_sink_preroll_object):
5144         Make sure that our internal state is correct when we commit our state
5145         asynchronously. This solves a race where a state change to PLAYING
5146         could cause the sink to remain blocked in preroll in some situations.
5147
5148 2006-09-15  Wim Taymans  <wim@fluendo.com>
5149
5150         * tools/gst-inspect.c: (print_element_properties_info),
5151         (print_signal_info):
5152         List flags as hex so it's easier to deal with.
5153
5154 2006-09-15  Wim Taymans  <wim@fluendo.com>
5155
5156         * docs/libs/gstreamer-libs-sections.txt:
5157         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5158         (gst_base_sink_do_sync):
5159         * libs/gst/base/gstbasesink.h:
5160         Expose logic to wait for preroll so that subclasses such as audiosink
5161         can also use this method.
5162         API: gst_base_sink_wait_preroll()
5163
5164 2006-09-15  Wim Taymans  <wim@fluendo.com>
5165
5166         * gst/gstobject.c: (gst_object_set_parent):
5167         * gst/gstpipeline.c: (do_pipeline_seek):
5168         Small cleanups in docs and code.
5169
5170         * gst/gstsegment.c: (gst_segment_clip):
5171         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5172         if stop == start and start is in the segment, no clipping should be
5173         done. Also add a test for this.
5174
5175 2006-09-15  Wim Taymans  <wim@fluendo.com>
5176
5177         * docs/design/part-buffering.txt:
5178         * docs/gst/gstreamer-sections.txt:
5179         * gst/gstmessage.c: (gst_message_new_buffering),
5180         (gst_message_parse_buffering):
5181         * gst/gstmessage.h:
5182         Added methods to create and parse BUFFERING messages.
5183         Added preliminary docs about buffering.
5184         API: gst_message_new_buffering
5185         API: gst_message_parse_buffering
5186
5187 2006-09-06  Wim Taymans  <wim@fluendo.com>
5188
5189         * gst/gstbin.c:
5190         Update documentation.
5191
5192         * gst/gstelement.c: (gst_element_class_init),
5193         (gst_element_release_request_pad), (gst_element_set_clock),
5194         (gst_element_get_index), (gst_element_add_pad),
5195         (gst_element_remove_pad), (gst_element_get_random_pad),
5196         (gst_element_send_event), (gst_element_get_query_types),
5197         (gst_element_query), (gst_element_post_message),
5198         (gst_element_message_full), (gst_element_continue_state),
5199         (gst_element_lost_state), (gst_element_save_thyself),
5200         (gst_element_restore_thyself):
5201         Documentation updates.
5202         Rename last bit of the new-pad -> pad-added signal rename.
5203         Fix the case where an element query would only work if the source
5204         pad was linked.
5205         Avoid some useless type checking in message handling.
5206
5207         * gst/gstevent.c:
5208         * gst/gstevent.h:
5209         * gst/gstutils.c:
5210         Documentation updates.
5211
5212 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5213
5214         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5215           add an INFO line for when we actually update the fd
5216
5217 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5218
5219         * configure.ac:
5220           back to TRUNK
5221
5222 === release 0.10.10 ===
5223
5224 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5225
5226         * configure.ac:
5227           releasing 0.10.10, "Pais"
5228
5229 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5230
5231         * docs/manual/advanced-position.xml:
5232           Fix typo in sample code.
5233
5234 2006-09-05  Wim Taymans  <wim@fluendo.com>
5235
5236         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5237         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5238         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5239         * libs/gst/net/gstnetclientclock.h:
5240         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5241         * libs/gst/net/gstnettimepacket.h:
5242         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5243         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5244         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5245         * libs/gst/net/gstnettimeprovider.h:
5246         Make stuff compile on windows. Fixes #345295.
5247
5248 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5249
5250         * gst/gst.c: (ensure_current_registry_forking):
5251           Print better details when child was terminated by signal.
5252
5253 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5254
5255         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5256           Print a warning rather than g_assert() if a plugin feature
5257           is a URI handler but returns no protocols (#353976).
5258
5259 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5260
5261         * docs/random/moving-plugins:
5262         Fix two typos.         
5263
5264 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5265
5266         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5267           Fix locking order, handle NULL function values properly.
5268
5269         * gst/gstinfo.h:
5270           Fix docs.
5271
5272         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5273           Initialise variable before using it and fix debug statement to
5274           print the address of the function rather than the address of the
5275           variable on the stack holding the address of the function.
5276
5277 2006-09-01  Wim Taymans  <wim@fluendo.com>
5278
5279         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5280         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5281         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5282         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5283         (gst_ghost_pad_parent_unset),
5284         (gst_ghost_pad_internal_do_activate_push),
5285         (gst_ghost_pad_internal_do_activate_pull),
5286         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5287         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5288         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5289         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5290         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5291         (gst_ghost_pad_new_no_target_from_template),
5292         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5293         More cleanups.
5294         Avoid needless typechecking in macros.
5295         Since the internal pad is always present and never changes, there is
5296         no need to locking or ref when retrieving it.
5297         Improve debugging a bit.
5298         Handle link errors when setting the target. Fixes #341029.
5299
5300 2006-09-01  Wim Taymans  <wim@fluendo.com>
5301
5302         * docs/libs/gstreamer-libs-sections.txt:
5303         * docs/plugins/gstreamer-plugins-sections.txt:
5304         Fix docs some more.
5305
5306         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5307         (gst_collect_pads_event):
5308         * libs/gst/base/gstcollectpads.h:
5309         Documentation updates.
5310         Free queued buffer when removing a pad.
5311
5312 2006-08-31  Michael Smith  <msmith@fluendo.com>
5313
5314         * gst/gstutils.c: (gst_element_link_pads),
5315         (gst_element_link_pads_filtered):
5316           Ensure that we set a capsfilter to NULL if we failed to link it
5317           when doing filtered linking, to avoid criticals.
5318
5319           No need to check for unreffing srcpad, which is explicly NULLed
5320           above (a trivial code cleanup).
5321
5322 2006-08-31  Wim Taymans  <wim@fluendo.com>
5323
5324         * docs/design/part-gstghostpad.txt:
5325         Update ascii art in documentation.
5326
5327         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5328         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5329         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5330         (gst_ghost_pad_internal_do_activate_push),
5331         (gst_ghost_pad_internal_do_activate_pull),
5332         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5333         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5334         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5335         (gst_ghost_pad_set_target):
5336         Small cleanups and leak fixes.
5337         Remove some checks now that the internal pad is never NULL.
5338         Fix the case where linking pads without a target would create nasty
5339         criticals. Fixes #341029.
5340         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5341         value of _set_target().
5342
5343         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5344         (gst_ghost_pad_suite):
5345         Some more tests for creating and linking untargeted ghostpads.
5346
5347 2006-08-31  Edward Hervey  <edward@fluendo.com>
5348
5349         * docs/gst/gstreamer-sections.txt:
5350         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5351         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5352         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5353         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5354         (gst_ghost_pad_new_from_template),
5355         (gst_ghost_pad_new_no_target_from_template):
5356         * gst/gstghostpad.h:
5357         Refactored *_new() functions.
5358         Templates are now used as a g_object_new() parameter.
5359         Use template in _do_getcaps() if we don't have a target.
5360         Small documentation cleanups.
5361         Added two new constructors:
5362         gst_ghost_pad_new_from_template()
5363         gst_ghost_pad_new_no_target_from_template()
5364         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5365         (gst_ghost_pad_suite):
5366         Added tests for new ghostpad instanciation functions.
5367
5368         API additions: gst_ghost_pad_new_from_template,
5369         gst_ghost_pad_new_no_target_from_template
5370
5371 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5372
5373         * docs/random/ensonic/profiling.txt:
5374           Ideas about qos profiling.
5375
5376 2006-08-29  Wim Taymans  <wim@fluendo.com>
5377
5378         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5379         Code cleanups.
5380         Fix memleak.
5381
5382 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5383
5384         * gst/gstxml.c:
5385           Improve and detypofy docs.
5386
5387         * tests/check/Makefile.am:
5388         * tests/check/gst/.cvsignore:
5389         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5390           Add a basic test suite for GstXML.
5391
5392 2006-08-29  Wim Taymans  <wim@fluendo.com>
5393
5394         * gst/gstelement.c: (activate_pads), (clear_caps),
5395         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5396         Clear the pad caps when the element shut down all of the pads and
5397         is not streaming data that could modify the caps. 
5398         Fixes #352958.
5399
5400 2006-08-28  Michael Smith  <msmith@fluendo.com>
5401
5402         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5403           Revert previous change; I misunderstood single-segment mode.
5404
5405 2006-08-28  Michael Smith  <msmith@fluendo.com>
5406
5407         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5408           Unset DISCONT on buffers when using single-segment mode.
5409
5410 2006-08-28  Wim Taymans  <wim@fluendo.com>
5411
5412         * gst/gstcaps.c: (gst_caps_merge_structure):
5413         * gst/gstcaps.h:
5414         Fix docs and indentation again.
5415
5416         * tests/check/gst/gstquery.c: (GST_START_TEST):
5417         Fix leak in tests and add some more tests.
5418
5419 2006-08-28  Edward Hervey  <edward@fluendo.com>
5420
5421         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5422         Inform GstSegment of the last stop position in order for the current
5423         segment to have a proper duration if it doesn't have a specific stop
5424         position from which a duration could be calculated.
5425         This bug was noticeable when a non-flushing, non-update new segment was
5426         followed by another segment (all buffers from the new segment were being
5427         dropped).
5428
5429 2006-08-28  Wim Taymans  <wim@fluendo.com>
5430
5431         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5432         Small comment update.
5433
5434         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5435         (gst_identity_transform_ip):
5436         Drop-probability is broken, mention this in the code with a 
5437         FIXME and also in the property description.
5438         Make silent also be silent about the drop messages.
5439
5440 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5441
5442         * docs/manual/appendix-win32.xml:
5443           Remove mention of popt, we don't depend on that any
5444           longer (#353136). Add some comments pointing out that
5445           this section is slightly outdated.
5446
5447 2006-08-28  Wim Taymans  <wim@fluendo.com>
5448
5449         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5450
5451         * gst/gstquery.c: (gst_query_new_segment):
5452         * tests/check/gst/gstquery.c: (GST_START_TEST):
5453         Initialize variables when creating a new segment query.
5454         Fixes #353121.
5455
5456 2006-08-28  Wim Taymans  <wim@fluendo.com>
5457
5458         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5459
5460         * gst/gstelement.c: (gst_element_get_bus):
5461         * tests/check/gst/gstelement.c: (GST_START_TEST):
5462         Check for NULL before _reffing the bus. Fixes #353122.
5463
5464 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5465
5466         * docs/manual/basics-bus.xml:
5467           Docs update: fix wrong callback return value explanation; add
5468           some lines about the implicit relationship between main loop
5469           and main context; remove duplicate main loop variable declaration.
5470
5471 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5472
5473         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5474           Don't leak caps in unit test; add a few more simple
5475           checks. 
5476
5477 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5478
5479         * docs/gst/gstreamer-sections.txt:
5480         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5481         (gst_caps_structure_is_subset), (gst_caps_merge),
5482         (gst_caps_merge_structure):
5483         * gst/gstcaps.h:
5484         * libs/gst/base/gstbasetransform.c:
5485         (gst_base_transform_transform_caps):
5486         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5487           implement caps merging (fixes #352580)
5488
5489 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * tools/Makefile.am:
5492         * tools/gst-plot-timeline.py:
5493           add debug-log plotting developer tool (#340674)
5494
5495 2006-08-23  Wim Taymans  <wim@fluendo.com>
5496
5497         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5498         (gst_pad_stop_task):
5499         Improve debugging for task functions.
5500
5501         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5502         (gst_task_start), (gst_task_pause), (gst_task_join):
5503         Make sure that the task function started and finished after a 
5504         join(). 
5505         Don't try to push the task function on the threadpool multiple
5506         times.
5507         Improve the g_warning message with some useful suggestions
5508         about how to fix the problem. 
5509
5510 2006-08-23  Wim Taymans  <wim@fluendo.com>
5511
5512         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5513         Handle RESYNC correctly in _proxy_getcaps.
5514
5515 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5516
5517         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5518         (gst_xml_parse_memory), (gst_xml_get_element):
5519           Chain up to parent class in dispose function and also
5520           unref the elements in the toplevel_elements GList.
5521           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5522           Always return a reference in gst_xml_get_element() rather
5523           than only sometimes.
5524
5525         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5526           Don't leak GstXml object.
5527
5528 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5529
5530         * docs/gst/gstreamer-sections.txt:
5531         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5532         (gst_caps_merge):
5533         * gst/gstcaps.h:
5534         * libs/gst/base/gstbasetransform.c:
5535         (gst_base_transform_transform_caps):
5536           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5537           in a better way
5538
5539 2006-08-21  Edward Hervey  <edward@fluendo.com>
5540
5541         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5542         Implement GObject::dispose virtual method in GstXML so we can free the
5543         top_elements GList.
5544
5545 2006-08-21  Wim Taymans  <wim@fluendo.com>
5546
5547         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5548         (gst_buffer_create_sub):
5549         Copy duration/offset_end/caps when creating a subbuffer of the
5550         complete parent.
5551         Make the subbuffer read-only when we make the metadata writable for
5552         now. Fixes #351768.
5553
5554         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5555         Added check for metadata copy when creating subbuffers.
5556
5557 2006-08-21  Edward Hervey  <edward@fluendo.com>
5558
5559         * libs/gst/base/gstbasetransform.c:
5560         (gst_base_transform_buffer_alloc):
5561         Only call downstream buffer_alloc if transform element is passthrough
5562         or always_in_place. Closes #350449.
5563
5564 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5565
5566         * ChangeLog:
5567           ChangeLog surgery to add comments to previous changes
5568
5569 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5570
5571         * gst/gst.c:
5572           Add comments
5573
5574         * gst/gstpad.c: (gst_pad_set_active):
5575           Be more verbose in the log
5576
5577         * libs/gst/base/gstbasetransform.c:
5578         (gst_base_transform_transform_caps):
5579           Simplify caps to get rid of duplicates, fixes #345444
5580
5581 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5582
5583         * gst/gstvalue.c:
5584         * gst/gstvalue.h:
5585           Use these optimizations only internally.
5586
5587 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5588
5589         * gst/gstvalue.c: (gst_value_compare_list),
5590         (gst_value_compare_fraction_range),
5591         (gst_value_intersect_fraction_fraction_range),
5592         (gst_value_intersect_fraction_range_fraction_range),
5593         (gst_value_subtract_fraction_fraction_range),
5594         (gst_value_subtract_fraction_range_fraction_range),
5595         (gst_value_get_compare_func), (gst_value_compare),
5596         (gst_value_compare_with_func):
5597         * gst/gstvalue.h:
5598           Saves the expensive lookup of the compare function in many cases
5599          (#345444)
5600
5601 2006-08-18  Edward Hervey  <edward@fluendo.com>
5602
5603         * tests/check/gst/gstinfo.c: (gst_info_suite):
5604         Disable test that require gstdebug if it wasn't built in core.
5605
5606 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5607
5608         * docs/random/ensonic/logging.txt:
5609           update ideas
5610           
5611         * gst/gstinfo.c: (gst_debug_log_default):
5612           reorder fields, save some columns, add optional color codes for log
5613           levels
5614
5615 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5616
5617         * docs/random/ensonic/logging.txt:
5618           add ideas about making the logs a bit more useful
5619
5620 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5621
5622         * docs/pwg/advanced-events.xml:
5623         * docs/pwg/titlepage.xml:
5624           Update for 0.10 API (#340627). Add myself
5625           to authors list.
5626
5627 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5628
5629         * docs/libs/gstreamer-libs-docs.sgml:
5630         * docs/libs/gstreamer-libs-sections.txt:
5631         * libs/gst/check/gstbufferstraw.c:
5632           Make gstcheck stuff show up in docs (still needs to
5633           be documented properly though).
5634
5635 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5636
5637         * docs/gst/gstreamer-sections.txt:
5638         * gst/Makefile.am:
5639         * gst/gst.c: (init_post):
5640         * gst/gst_private.h:
5641         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5642         * gst/gstquark.h:
5643         * gst/gstquery.c: (gst_query_new_position),
5644         (gst_query_set_position), (gst_query_parse_position),
5645         (gst_query_new_duration), (gst_query_set_duration),
5646         (gst_query_parse_duration), (gst_query_new_convert),
5647         (gst_query_set_convert), (gst_query_parse_convert),
5648         (gst_query_new_segment), (gst_query_set_segment),
5649         (gst_query_parse_segment), (gst_query_new_seeking),
5650         (gst_query_set_seeking), (gst_query_parse_seeking):
5651         Add internal helpers for pre-registering quarks from static strings
5652         and using the quark values directly instead of looking them up when
5653         creating and parsing queries. Can be used for event construction too.
5654         Closes #350432.
5655
5656 2006-08-16  Wim Taymans  <wim@fluendo.com>
5657
5658         * gst/gstbin.c:
5659         Fix bogus docs.
5660
5661 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5662
5663         * gst/gstutils.c: (gst_util_set_value_from_string):
5664           Fix memleak (#351502).
5665
5666         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5667           Add unit test for most of gst_util_set_value_from_string()
5668           (not that one would want to encourage use of this function).
5669
5670 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5671
5672         * libs/gst/check/gstcheck.h:
5673           Use const gchar * variables in fail_unless_equals_string
5674           macro to avoid compiler warnings (and don't use tabs for
5675           indenting).
5676
5677 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5678
5679         * tools/gst-launch.c: (print_tag):
5680           More space on the left for the tag names, to cater
5681           for the 'extended comment' tag (not touching the
5682           string for the first line since it's translated).
5683
5684 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5685
5686         * libs/gst/check/gstcheck.h:
5687           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5688           print something when they fail.
5689
5690 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5691
5692         * docs/gst/gstreamer-sections.txt:
5693         * gst/gsttaglist.c: (_gst_tag_initialize):
5694         * gst/gsttaglist.h:
5695           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5696           Also change merge function for GST_TAG_COMMENT to
5697           use_first.
5698
5699 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5700
5701         * gst/gstinfo.c: (gst_debug_print_object):
5702           Make GST_PTR_FORMAT print messages as well.
5703
5704         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5705         (GST_START_TEST), (gst_info_suite):
5706           More tests.
5707
5708 2006-08-14  Edward Hervey  <edward@fluendo.com>
5709
5710         * gst/gstelementfactory.c: (gst_element_register):
5711         If the GstElementClass doesn't have a GstElementDetails with all fields
5712         filled up correctly (longname, description AND author), then error out
5713         nicely instead of crashing.
5714
5715 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * gst/gststructure.c:
5718           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5719
5720         * gst/gstvalue.h:
5721           Expand on the difference between arrays and lists as we use them.
5722           
5723 2006-08-14  Wim Taymans  <wim@fluendo.com>
5724
5725         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5726         If the parent state change function failed, don't assume we can safely
5727         stop the source, this will be done when the pads are deactivated.
5728
5729 2006-08-14  Wim Taymans  <wim@fluendo.com>
5730
5731         * gst/gstbuffer.c:
5732         * gst/gsttask.c: (gst_task_join):
5733         Small doc updates.
5734
5735         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5736         (gst_pad_stop_task):
5737         When pad (de)activation failed for some reason, restore the old
5738         activation mode and set the pad to flushing instead of assuming the
5739         pad is deactivated.
5740         If the _task_join() failed, reinstall the task on the pad so that it can
5741         be stopped later and return an error.
5742
5743 2006-08-11  Andy Wingo  <wingo@pobox.com>
5744
5745         * configure.ac:
5746         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5747         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5748         is only for users of API that don't want to see deprecated
5749         functions in the headers; people that want to compile out
5750         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5751         CFLAGS. Fixes the build of multifdsink, or will soon..
5752
5753 2006-08-11  Wim Taymans  <wim@fluendo.com>
5754
5755         * docs/gst/gstreamer-sections.txt:
5756         Add GstClockClass vmethod docs.
5757
5758         * gst/gstcaps.h:
5759         Mark #endif with comment for associated #if
5760
5761         * gst/gstclock.c: (gst_clock_id_wait):
5762         * gst/gstclock.h:
5763         Add vmethod wait_jitter to avoid an unneeded _get_time() for
5764         most clock implementations.
5765         Document vmethods.
5766         Flesh out docs about resolution methods.
5767         API: GstClockClass::wait_jitter
5768
5769         * gst/gstsystemclock.c: (gst_system_clock_class_init),
5770         (gst_system_clock_async_thread),
5771         (gst_system_clock_id_wait_jitter_unlocked),
5772         (gst_system_clock_id_wait_jitter):
5773         Use base class wait_jitter variant for improved performance
5774         due to less clock polling.
5775
5776 2006-08-11  Edward Hervey  <edward@fluendo.com>
5777
5778         * gst/gst.c: (gst_init_check), (init_post):
5779         Set gst as being initialized before scanning/updating the registry,
5780         since there might be my python plugin loader that calls gst_init() and
5781         we don't want to loop back in.
5782         Closes #350879
5783
5784 2006-08-11  Wim Taymans  <wim@fluendo.com>
5785
5786         * docs/design/part-qos.txt:
5787         Bring docs in line with the code. Mostly the sign of the jitter was
5788         wrong in the docs. Fixes #349943.
5789
5790         * gst/gstclock.c:
5791         Fix the docs for the jitter.
5792
5793         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5794         (gst_event_parse_tag), (gst_event_new_buffer_size),
5795         (gst_event_parse_buffer_size), (gst_event_parse_qos),
5796         (gst_event_new_seek), (gst_event_parse_seek),
5797         (gst_event_new_navigation):
5798         Make sure the GstStructure has no parent when creating custom
5799         events.
5800         Add some more argument checking so that we avoid 0.0 rates.
5801         Flesh out the docs for the QoS event some more.
5802
5803 2006-08-11  Wim Taymans  <wim@fluendo.com>
5804
5805         * docs/gst/gstreamer-sections.txt:
5806         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5807         (ensure_current_registry_forking), (ensure_current_registry),
5808         (parse_one_option), (parse_goption_arg), (gst_deinit),
5809         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5810         * gst/gst.h:
5811         Doc updates.
5812         Added API and command line option to disable registry forking in
5813         addition to the environment variable.
5814         Constify some static arrays.
5815         Added some more debug.
5816         Don't deinit twice.
5817         API: gst_registry_fork_is_enabled()
5818         API: gst_registry_fork_set_enabled()
5819         API: --gst-disable-registry-fork command line option
5820         Fixes #348918.
5821
5822 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
5823
5824         * gst/gst.c: (gst_init):
5825           Fix typo in error message.
5826
5827 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * libs/gst/controller/gstcontroller.h:
5830           fix ABI size-correction
5831
5832         * tests/check/libs/gdp.c: (gst_dp_suite):
5833           make tests that use deprecated API conditional
5834
5835 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * docs/libs/gstreamer-libs-sections.txt:
5838         * libs/gst/controller/gstcontroller.c:
5839         (_gst_controller_get_property), (_gst_controller_set_property),
5840         (_gst_controller_init), (_gst_controller_class_init):
5841         * libs/gst/controller/gstcontroller.h:
5842         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5843         (gst_object_set_control_rate):
5844           API: add gst_object_{s,g}et_control_rate(), add private data section,
5845           fix docs
5846
5847         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5848         * libs/gst/dataprotocol/dataprotocol.h:
5849           add deprecation guards to make gtk-doc happy and allow disabling cruft
5850
5851 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * tests/check/Makefile.am:
5854         * tests/check/gst/.cvsignore:
5855           Let's enable the new unit test as well.
5856
5857 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5858
5859         * configure.ac:
5860         * docs/gst/gstreamer-sections.txt:
5861         * gst/gstconfig.h.in:
5862         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5863         (_gst_info_printf_extension_ptr),
5864         (_gst_info_printf_extension_segment):
5865           API: add GST_SEGMENT_FORMAT, which is a printf extension we
5866           register that lets us easily dump GstSegments into debug
5867           logs (#350419).
5868
5869         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5870         (info_segment_format_printf_extension), (gst_info_suite):
5871           Add simple unit test that logs a bunch of different segments (not
5872           valgrinded at the moment because of leaks in
5873           gst_debug_add_log_function).
5874
5875 2006-08-09  Edward Hervey  <edward@fluendo.com>
5876
5877         * libs/gst/base/gstbasetransform.c:
5878         (gst_base_transform_buffer_alloc):
5879         Even if we can't figure out the proper format to request downstream,
5880         call buffer_alloc() downstream with the input parameters without setting
5881         the caps on the srcpad. This will force negotiation in the chain
5882         function.
5883         Closes #350449
5884
5885 2006-08-08  Edward Hervey  <edward@fluendo.com>
5886
5887         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5888         Unlinking from a pad without a target is now a perfectly valid case
5889         which should NOT raise an assertion.
5890         This case would happen if a linked ghostpad its target set to NULL after
5891         it was previously linked.
5892
5893 2006-08-08  Edward Hervey  <edward@fluendo.com>
5894
5895         * tests/check/libs/gdp.c:
5896         Also comment out the test (see below).
5897
5898 2006-08-08  Edward Hervey  <edward@fluendo.com>
5899
5900         * tests/check/libs/gdp.c: (gst_dp_suite):
5901         Use the architecture information from config.h and not gcc macros
5902         in order to properly disable a test that fails on PPC64.
5903
5904 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
5905
5906         * gst/gstelement.c: (gst_element_remove_pad):
5907           Don't crash printing the warning if the pad has no parent.
5908
5909 2006-08-02  Wim Taymans  <wim@fluendo.com>
5910
5911         * libs/gst/dataprotocol/dataprotocol.c:
5912         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5913         (gst_dp_crc), (gst_dp_header_payload_length),
5914         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5915         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5916         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5917         (gst_dp_event_from_packet), (gst_dp_validate_header),
5918         (gst_dp_validate_payload):
5919         Make debug category static
5920         Constify the crc table.
5921         Do some more arg checking in public functions.
5922         Fix some docs and do some small cleanups.
5923
5924         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5925         Add some more checks to see if GDP deals with bogus input.
5926
5927 2006-07-31  Wim Taymans  <wim@fluendo.com>
5928
5929         * gst/gstvalue.c: (gst_value_compare_list):
5930         Fix GstValueList comparison code. Fixes #347293.
5931
5932         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5933         Check to test GstValueList comparison.
5934
5935 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5936
5937         * gst/gstelementfactory.c: (gst_element_factory_create):
5938         Remove unnecessary ref/unref pair
5939
5940         * gst/parse/grammar.y:
5941         Make sure to free the parse buffer on all code paths.
5942         Move a g_free up to the error handler where it's easier to see.
5943
5944         * tests/check/gst/gstevent.c: (test_event):
5945         Extending timeout for downstream travelling events to 10 seconds to
5946         hopefully avoid intermittent failure on the buildbots.
5947
5948         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5949         Don't manually set the state of the src element - it will happen as a
5950         natural consequence of the pipeline changing state, and that way it
5951         will do it in the right order too.
5952
5953 2006-07-31  Wim Taymans  <wim@fluendo.com>
5954
5955         * libs/gst/base/gstbasetransform.c:
5956         (gst_base_transform_buffer_alloc):
5957         Use OBJECT_LOCK and refcounting to get the pad caps in the
5958         buffer_alloc function because the caps could change while we are
5959         busy with them. Fixes #349105
5960
5961 2006-07-31  Wim Taymans  <wim@fluendo.com>
5962
5963         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5964         Protect _PAD_CAPS with OBJECT_LOCK.
5965
5966 2006-07-31  Wim Taymans  <wim@fluendo.com>
5967
5968         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5969         (gst_pad_get_property), (gst_pad_activate_pull),
5970         (gst_pad_activate_push), (gst_pad_set_blocked_async),
5971         (gst_pad_set_activate_function),
5972         (gst_pad_set_activatepull_function),
5973         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5974         (gst_pad_set_getrange_function),
5975         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5976         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5977         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5978         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5979         (gst_pad_set_acceptcaps_function),
5980         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5981         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5982         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5983         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5984         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5985         (gst_pad_configure_sink), (gst_pad_configure_src),
5986         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5987         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5988         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5989         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5990         (gst_pad_send_event):
5991         Use _DEBUG_OBJECT when it makes sense.
5992         Protect GST_PAD_CAPS with the OBJECT_LOCK.
5993         Small cleanups and code reflows.
5994         Avoid caps refcounting in _accept_caps.
5995         Refactor alloc_buffer so that the code performed on the peer is in a
5996         separate function. Also if the pad does not implement a buffer alloc
5997         function, we should still check if the pad is flushing before falling
5998         back to the default allocator.
5999
6000 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6001
6002         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6003         Make all uses of identity and fakesink have silent=true to avoid
6004         serialising every passing data structure, which is breaking tests
6005         on FC4 for some unknown reason.
6006
6007 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6008
6009         * gst/parse/Makefile.am:
6010         * gst/parse/grammar.y:
6011         * gst/parse/parse.l:
6012           Reverted previous patch as it required to bump the flex dependency to
6013           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6014
6015 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
6016
6017         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6018
6019         * gst/parse/Makefile.am:
6020         * gst/parse/grammar.y:
6021         * gst/parse/parse.l:
6022           push & pop the state of the lexer for reentrant use case
6023           Fixes #349180
6024
6025 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
6026
6027         * libs/gst/base/gstbasesrc.h:
6028           Note in the docs that the ::newsegment vfunc is not actually used by
6029           GstBaseSrc.
6030
6031 2006-07-28  Wim Taymans  <wim@fluendo.com>
6032
6033         * libs/gst/base/gstcollectpads.c:
6034         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6035         (gst_collect_pads_clear), (gst_collect_pads_flush),
6036         (gst_collect_pads_event), (gst_collect_pads_chain):
6037         When flushing a pad, also clear the queued buffer so that we don't
6038         accidentally use it when we shouldn't.
6039         Fix leaks by inreffing incomming buffer.
6040         Flush out queued buffers in case of errors.
6041         Fixes #347452.
6042
6043 2006-07-28  Wim Taymans  <wim@fluendo.com>
6044
6045         * docs/random/phonon-gst:
6046         Random notes about a Phonon backend.
6047
6048 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6049
6050         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6051         Extra debug output
6052         * tests/check/libs/gdp.c: (gst_dp_suite):
6053         Take a whack at fixing the ppc compile using a different define to
6054         disable the broken test.
6055
6056         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6057         Remove excess g_print()
6058
6059 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6060
6061         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6062         Oops, meant to uncomment this line too to dampen the noise a bit.
6063
6064 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
6065
6066         * gst/parse/grammar.y:
6067         * gst/parse/parse.l:
6068         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6069         (GST_START_TEST), (parse_suite):
6070         Fix some of the leaks exposed by extending the parse-launch testsuite,
6071         and move the 3 I can't figure out into a separate test that won't run
6072         the pipelines unless the appropriate line is uncommented.
6073
6074 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6075
6076         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6077           Requesting 0 bytes before the end of the file should result in
6078           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6079           unit test.
6080
6081 2006-07-27  Wim Taymans  <wim@fluendo.com>
6082
6083         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6084         Fix useless assert, a uint is always positive.
6085
6086         * gst/gststructure.c: (gst_structure_nth_field_name),
6087         (gst_structure_foreach), (gst_structure_map_in_place):
6088         Check input arguments for public functions to avoid obvious crashes.
6089
6090         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6091         * plugins/elements/gstfakesink.h:
6092         Do less useless typechecking.
6093
6094 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6095
6096         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6097           Do not use mmap() by default since there are a number of error
6098           conditions that we would like to handle in a non-fatal way that
6099           will result in a SIGBUS if we use mmap(). Examples: external
6100           devices (USB harddrive, portable music player) being unplugged
6101           while in use; file on mounted CD/DVD that can't be read because
6102           the medium is partly damaged. Fixes #348455 and #348475.
6103
6104 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6105
6106         * gst/gstquery.h:
6107         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6108         rates are a gdouble
6109
6110 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6111
6112         * gst/gstregistry.c:
6113           Move big documentation comment into class section header, so that it
6114           appears in the API docs.
6115
6116 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6117
6118         * docs/gst/gstreamer-sections.txt:
6119         Oops. Commit the docs additions too for new API.
6120         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6121
6122 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6123
6124         * gst/gststructure.c: (gst_structure_id_set),
6125         (gst_structure_id_set_valist):
6126         * gst/gststructure.h:
6127         Add API for setting values into structures without performing
6128         a quark lookup, if the appropriate quark is already known.
6129
6130         API: gst_structure_id_set
6131         API: gst_structure_id_set_valist
6132
6133         * gst/parse/grammar.y:
6134         * gst/parse/parse.l:
6135         Remove some dead code shown by the coverage information.
6136         Don't throw a critical g_warning when encountering a syntax error,
6137         just warn and let the normal error path handle it.
6138
6139         * plugins/elements/gstelements.c:
6140         Bump the rank of filesink up to PRIMARY so that it is preferred over
6141         gnomevfssink for file:// sink uri's
6142
6143         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6144         (GST_START_TEST), (run_delayed_test),
6145         (gst_parse_test_element_base_init),
6146         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6147         (gst_parse_test_element_change_state),
6148         (gst_register_parse_element), (parse_suite):
6149         Beef up the tests for parse syntax to check that more error cases
6150         fail as they are supposed to. Increases the test coverage a bit.
6151
6152 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6153
6154         * docs/manual/basics-elements.xml:
6155           Fix gst_element_link() example.
6156
6157         * gst/gstutils.c:
6158           Mention in API docs that one should usually gst_bin_add()
6159           elements to a bin or pipeline before doing the linking.
6160           
6161 2006-07-26  Wim Taymans  <wim@fluendo.com>
6162
6163         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6164         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6165         Avoid function call for known types by keeping the buffer and
6166         subbuffer GType global.
6167
6168         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6169         Random silly optimisations in read() path.
6170
6171 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6172
6173         * tools/gst-launch.c: (main):
6174           If the top-level of the parse is a normal bin, it doesn't do the
6175           right logic to run as a top-level element, so place it inside a
6176           pipeline.
6177
6178 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6179
6180         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6181           Remove superfluous g_object_notify() calls, GObject does
6182           that for us automatically.
6183
6184 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6185
6186         * gst/gstinfo.h:
6187           on Win32, use dllspec to export the debug category symbols
6188
6189 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6190
6191         * gst/gsttaglist.c: (_gst_tag_initialize):
6192           Allow more than one GST_TAG_IMAGE per taglist.
6193
6194 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6195
6196         * gst/gstminiobject.c:
6197           update docs
6198         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6199         (gst_fd_src_create):
6200           log recurring events at LOG level
6201           add more debug for when the fd gets set
6202
6203 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6204
6205         * gst/gstparse.c: (gst_parse_launch):
6206           Also remove reentrance checks if flex is MT safe (#348179)
6207          Fix my empty ChangeLog entry below
6208
6209 2006-07-21  Andy Wingo  <wingo@pobox.com>
6210
6211         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6212
6213         * libs/gst/check/Makefile.am
6214         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6215         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6216         * libs/gst/check/gstbufferstraw.h:
6217         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6218         functions, thus proving I am still a GStreamer haxor. OK I wrote
6219         them a long time ago, but anyways.
6220
6221 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6222
6223         * configure.ac:
6224         * gst/gstparse.c: (gst_parse_launch):
6225           Check for flex version and omit mutex if we have a MT save flex
6226           (fixes #348179)
6227
6228 2006-07-21  Wim Taymans  <wim@fluendo.com>
6229
6230         * gst/gstparse.c: (gst_parse_launch):
6231         Protect recursive calls to _parse with a recursive mutex
6232         and busy flag.
6233
6234 2006-07-21  Wim Taymans  <wim@fluendo.com>
6235
6236         * tests/check/gst/gstpad.c: (GST_START_TEST):
6237         Fix leak in test.
6238
6239 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6240
6241         * gst/gstparse.c: (gst_parse_launch):
6242           Do not hang on recursive usage of gst_parse_launch()
6243
6244 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6245
6246         * gst/gsttaglist.c:
6247           Add some more docs, comments and FIXME 0.11s here and there
6248           and also fix some typos.
6249
6250 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * gst/gstsegment.h:
6253           Convert tabs to spaces for better readability. 
6254
6255 2006-07-20  Edward Hervey  <edward@fluendo.com>
6256
6257         * tests/check/libs/gdp.c: (gst_dp_suite):
6258         the test_buffer test fails at line 140 on ppc64 at the following
6259         check:
6260         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6261                 GST_BUFFER_FLAG_IN_CAPS),
6262                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6263         See bug #348114 for more details.
6264
6265 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6266
6267         * docs/pwg/advanced-scheduling.xml:
6268         * gst/gstpad.c:
6269           Fix typos (#348000).
6270
6271 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6272
6273         * docs/pwg/intro-basics.xml:
6274           Fix wrong links (#347927).
6275
6276 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6277
6278         * gst/gstregistry.h:
6279         * gst/gstregistryxml.c: (load_feature),
6280         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6281         * win32/common/config.h:
6282           make --disable-index work (#342564)
6283
6284 2006-07-18  Wim Taymans  <wim@fluendo.com>
6285
6286         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6287
6288         * gst/Makefile.am:
6289         * gst/gsttrace.h:
6290         The attached patch adds two missing defines to gsttrace.h when tracing
6291         is disabled.  It also corrects one existing define.
6292         Fixes #347756.
6293
6294 2006-07-17  Wim Taymans  <wim@fluendo.com>
6295
6296         * docs/gst/gstreamer-sections.txt:
6297         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6298         * gst/gst.h:
6299         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6300         Add two functions to check and change the SIGSEGV behaviour
6301         when loading plugins.
6302         Don't mess with the SIGSEGV handler when we were told not to.
6303         Fixes #347794.
6304         API: gst_segtrap_is_enabled
6305         API: gst_segtrap_set_enabled
6306
6307 2006-07-14  Wim Taymans  <wim@fluendo.com>
6308
6309         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6310         * tests/check/elements/filesrc.c: (GST_START_TEST):
6311         Revert fix for regression in #347408 after release.
6312
6313 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6314
6315         Patch by: Antoine Tremblay <hexa00 at gmail com>
6316
6317         * gst/gstutils.c: (gst_element_unlink):
6318           Free iterator when done (#347311).
6319
6320         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6321           And add a test case for this.
6322
6323 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6324
6325         * configure.ac:
6326         Bump nano back to CVS
6327
6328 === release 0.10.9 ===
6329
6330 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6331
6332         * configure.ac:
6333           releasing 0.10.9, "On the road again"
6334
6335 2006-07-13  Wim Taymans  <wim@fluendo.com>
6336
6337         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6338         * tests/check/elements/filesrc.c: (GST_START_TEST):
6339         Revert pull-0 fix for release. Disable check. Fixes #347408.
6340
6341 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6342
6343         * libs/gst/dataprotocol/dataprotocol.c:
6344         (gst_dp_event_from_packet_1_0):
6345           Fixes #347337: failure to deserialize event packets with
6346           empty payload (only event type)
6347
6348 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6349
6350         * gst/Makefile.am:
6351           do not install a .c file in the header directory
6352
6353 2006-07-13  Edward Hervey  <edward@fluendo.com>
6354
6355         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6356         GhostPad no longer implicitely use the padtemplates of the targets.
6357         Fixes #347384
6358
6359 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6360
6361         * gst/gstvalue.c: (gst_value_compare_list),
6362         (gst_value_compare_array), (_gst_value_initialize):
6363         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6364         Make GstValueArray comparison be order dependent as designed.
6365         Add checks for value lists and value array comparisons.
6366         Fixes #347221
6367
6368 2006-07-11  Edward Hervey  <edward@fluendo.com>
6369
6370         * gst/gstbin.c: (activate_pads),
6371         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6372         (gst_bin_change_state_func):
6373         (de)activate src pads before calling state_change on the childs.
6374         This is to avoid the case where a src ghostpad is blocked (holding the
6375         stream lock), which would block the deactivation of the ghostpad's
6376         target pad.
6377         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6378         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6379         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6380         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6381         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6382         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6383         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6384         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6385         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6386         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6387         (gst_ghost_pad_class_init),
6388         (gst_ghost_pad_internal_do_activate_push),
6389         (gst_ghost_pad_internal_do_activate_pull),
6390         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6391         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6392         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6393         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6394         GhostPads now create their internal GstProxyPad at creation (and not
6395         when they're linked, as it was being done previously).
6396         The internal and target pads are linked straight away.
6397         The data will also travel through the other pad in order to make
6398         pad blocking and probes non-hackish (the probe/block now really happens
6399         on the GhostPad and not on the target).
6400         * gst/gstpad.c: (gst_pad_set_blocked_async),
6401         (gst_pad_link_prepare), (gst_pad_push_event):
6402         Remove previous ghostpad cruft.
6403         * gst/gstutils.c: (gst_pad_add_data_probe),
6404         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6405         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6406         (gst_pad_remove_buffer_probe):
6407         Remove previous ghost pad cruft.
6408         Added more detailed debug statements.
6409         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6410         Fix the testsuite for refcounting changes.
6411         The comments about who has references were correct, but the refcount
6412         being checked wasn't the same (!?!).
6413
6414         Fixes #341029
6415
6416 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * docs/gst/gstreamer-sections.txt:
6419         * gst/gstconfig.h.in:
6420         More docs for configuration options, add docs to gtk-doc.
6421
6422 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6423
6424         * gst/Makefile.am:
6425         * gst/gstconfig.h.in:
6426         * win32/common/config.h:
6427         Fix build when disabling tracing (fixes #344016). Also start to document
6428         the defines that disable the sub-systems.
6429
6430 2006-07-10  Edward Hervey  <edward@fluendo.com>
6431
6432         * gst/gst.c: (ensure_current_registry_forking):
6433         let's make valgrind happy...
6434
6435 2006-07-09  Wim Taymans  <wim@fluendo.com>
6436
6437         * gst/gstelement.c: (activate_pads),
6438         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6439         Better pad activation code: Reset the collect value too on resync.
6440         Add some comments.
6441
6442 2006-07-09  Wim Taymans  <wim@fluendo.com>
6443
6444         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6445         (gst_pad_activate_push):
6446         Use some more macros where it makes sense.
6447         Allow pad mode switching instead of asserting. When a pad
6448         is activated in one mode and we activate it in another, 
6449         deactivate it first before activating it in a different mode.
6450         Fixes #329198.
6451
6452 2006-07-08  Andy Wingo  <wingo@pobox.com>
6453
6454         * tools/gst-launch.c (main): Handle err == NULL.
6455
6456         * gst/gst.c (init_post, ensure_current_registry)
6457         (ensure_current_registry_forking)
6458         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6459         factoring out the registry scanning into separate functions. Don't
6460         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6461         Better environment var name/interface suggestions accepted.
6462
6463 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6464
6465         * gst/gstobject.c: (gst_object_set_name_default),
6466         (gst_object_set_name):
6467           Random micro-optimisation: don't use a hash table
6468           with strings as keys and the usual strdup/strcmp
6469           involved, but rather just use the GQuark of the
6470           type name as key, since it needs to be looked up
6471           anyway to get the type name string.
6472
6473         * tests/check/gst/gstobject.c: (GST_START_TEST):
6474           Fix various leaks.
6475
6476 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6479         (gst_bin_iterate_all_by_interface):
6480           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6481           GTypes are gulongs and thus the top 4 bytes might be cut
6482           off on some platforms when doing GPOINTER_TO_INT, leading
6483           to invalid GTypes and bad things happening (see RH bug #179654).
6484           Also add a check to make sure the type passed in is really
6485           an interface type.
6486
6487 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6488
6489         * .cvsignore:
6490           Ignore more.
6491
6492 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * Makefile.am:
6495         * configure.ac:
6496         * gst-element-check.m4:
6497         * gst-element-check.m4.in:
6498           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6499           instead of the unversioned gst-inspect (#324176, #168659).
6500
6501 2006-07-06  Wim Taymans  <wim@fluendo.com>
6502
6503         * gst/gstmessage.h:
6504         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6505         warnings.
6506
6507 2006-07-06  Wim Taymans  <wim@fluendo.com>
6508
6509         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6510         (gst_base_src_wait), (gst_base_src_update_length),
6511         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6512         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6513         (gst_base_src_loop), (gst_base_src_start),
6514         (gst_base_src_activate_pull):
6515         Update docs.
6516         blocksize == 0 now means the default blocksize when working in push
6517         based mode.
6518         Remove some pointless asserts in _wait function.
6519         Fix offset/length calculations and EOS handling. We can now pull 0
6520         bytes as well, which is allowed.
6521         use _check_get_range() to decide if we can operate in _pull based
6522         mode.
6523         Fix refcounting leak when check_get_range function was not 
6524         implemented.
6525         API GstBaseSrc::blocksize range can be 0 too now (default)
6526
6527         * tests/check/elements/filesrc.c: (GST_START_TEST),
6528         (filesrc_suite):
6529         Added check to test _get_range() behaviour.
6530
6531 2006-07-06  Wim Taymans  <wim@fluendo.com>
6532
6533         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6534         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6535         (gst_pad_pull_range):
6536         * gst/gstpad.h:
6537         Lots of comments and docs added to the pad functions.
6538         Flesh out the expected behaviour of the get_range() functions.
6539
6540 2006-07-06  Wim Taymans  <wim@fluendo.com>
6541
6542         * gst/gstbus.h:
6543         * gst/gstclock.h:
6544         * gst/gstevent.h:
6545         * gst/gstiterator.h:
6546         * gst/gstpad.h:
6547         * gst/gstplugin.h:
6548         * gst/gsttask.h:
6549         Remove comma at end of enumerator list. 
6550
6551 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6552
6553         * win32/common/libgstbase.def:
6554         * win32/common/libgstdataprotocol.def:
6555         * win32/common/libsgtreamer.def:
6556         Add new exported functions.
6557
6558 2006-07-05  Wim Taymans  <wim@fluendo.com>
6559
6560         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6561         Add some more docs here and there.
6562
6563 2006-07-05  Wim Taymans  <wim@fluendo.com>
6564
6565         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6566         (gst_base_sink_loop), (gst_base_sink_get_position):
6567         When operating in pull mode update the offset so that we
6568         read sequentially.
6569
6570 2006-07-05  Wim Taymans  <wim@fluendo.com>
6571
6572         * gst/gstregistryxml.c: (read_string):
6573         Avoid strdup. (will happen in libxml, but hey!)
6574
6575         * gst/gsturi.c:
6576         Add some more docs.
6577
6578 2006-07-05  Wim Taymans  <wim@fluendo.com>
6579
6580         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6581         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6582         (gst_buffer_suite):
6583         No point in checking if the size of the subbuffer > 0, the
6584         code handles it correclty as demonstrated by unit test.
6585         Also add a unit test for the zero sized _new_and_alloc and
6586         _copy. Fixes #346663.
6587
6588 2006-07-05  Wim Taymans  <wim@fluendo.com>
6589
6590         * libs/gst/base/gstbasetransform.c:
6591         (gst_base_transform_prepare_output_buffer),
6592         (gst_base_transform_buffer_alloc),
6593         (gst_base_transform_handle_buffer):
6594         Make sure the buffer we pass to transform_ip has a refcount of
6595         1 and thus is writable. Fixes #343196
6596
6597 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6598
6599         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6600         (gst_file_src_init), (gst_file_src_set_property),
6601         (gst_file_src_get_property), (gst_file_src_map_region):
6602         * plugins/elements/gstfilesrc.h:
6603         Add "sequential" property, off by default, to use madvise and hint
6604         to the kernel that sequential access is desired.
6605         Touch all retrieved pages by default to ensure they are pulled
6606         into memory. (Closes #345720)
6607
6608 2006-07-03  Wim Taymans  <wim@fluendo.com>
6609
6610         * docs/design/part-block.txt:
6611         * docs/design/part-dynamic.txt:
6612         Small docs updates.
6613
6614 2006-07-03  Wim Taymans  <wim@fluendo.com>
6615
6616         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6617         (gst_caps_unref), (gst_static_caps_get),
6618         (gst_caps_append_structure):
6619         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6620         Use GSlice when the glib we build against is >= 2.10
6621
6622 2006-07-03  Wim Taymans  <wim@fluendo.com>
6623
6624         * gst/gstelement.c: (gst_element_pads_activate):
6625         Small cleanup in pad activation code.
6626
6627 2006-07-03  Wim Taymans  <wim@fluendo.com>
6628
6629         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6630
6631         * gst/gst-i18n-app.h:
6632         * gst/gst-i18n-lib.h:
6633         * tools/gst-inspect.c: (print_signal_info):
6634         The attached patch will make the inclusion of gettext.h unconditional in
6635         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6636         libintl.h in tools/gst-inspect.c.
6637         This allows use of --disable-nls again and fixes #344642.
6638
6639 2006-07-03  Edward Hervey  <edward@fluendo.com>
6640
6641         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6642         Implement pad blocking on events according to part-block.txt.
6643         More comments on behaviour.
6644         * tests/check/gst/gstevent.c: (test_event):
6645         Send event to peer pad of blocked pad (else it will block).
6646
6647 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6648
6649         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6650         (gst_check_run_suite):
6651           if we get the wrong message, give us the types as string
6652         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6653           Fix a translatable
6654         * tests/check/elements/filesrc.c: (GST_START_TEST):
6655           add a test for trying to open a non-existing file
6656
6657 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6658
6659         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6660           add a test for adding self
6661
6662 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6663
6664         * libs/gst/check/gstcheck.h:
6665           add some assert_ as alias for fail_unless_*
6666         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6667           increase test coverage
6668
6669 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6670
6671         * Makefile.am:
6672           include lcov.mak for lcov coverage generation
6673         * tools/Makefile.am:
6674           add to CLEANFILES
6675
6676 2006-07-02  Edward Hervey  <edward@fluendo.com>
6677
6678         * tests/check/elements/.cvsignore:
6679         moaping
6680
6681 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6682
6683         * configure.ac:
6684           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6685         * tests/check/Makefile.am:
6686           clean up gcov files
6687
6688 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6689
6690         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6691           remove gst_caps_simplify; it was not declared and not used
6692           and deprecated in 0.8
6693
6694 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6695
6696         * docs/faq/gst-uninstalled:
6697           don't put empty paths on PYTHONPATH
6698         * docs/gst/gstreamer-sections.txt:
6699           remove some symbols that are not there
6700
6701 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6702
6703         * gst/gstcaps.c: (gst_caps_compare_structures):
6704           whitespace fixes
6705         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6706         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6707           add more tests
6708
6709 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6710
6711         * libs/gst/dataprotocol/Makefile.am:
6712           build dataprotocol test by linking to the lib, instead of
6713           compiling the source, so we get coverage
6714         * tests/check/Makefile.am:
6715         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6716         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6717           add a test for filesrc
6718
6719 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6720
6721         * tests/check/gst/gststructure.c: (GST_START_TEST),
6722         (gst_structure_suite):
6723           Push coverage from 59.04% to 70.00%
6724
6725 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6726
6727         * tests/check/Makefile.am:
6728           gst-inspect every element; this makes sure that we also get
6729           coverage on element's get/set functions
6730
6731 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6732
6733         * configure.ac:
6734           set CFLAGS and friends to -O0 if gcov is being used
6735           add GCOV LIBS
6736         * gst/Makefile.am:
6737         * libs/gst/base/Makefile.am:
6738         * libs/gst/check/Makefile.am:
6739         * libs/gst/controller/Makefile.am:
6740         * libs/gst/dataprotocol/Makefile.am:
6741         * libs/gst/net/Makefile.am:
6742         * plugins/elements/Makefile.am:
6743         * plugins/indexers/Makefile.am:
6744           add makefile rules to generate gcov data and clean up
6745         * tests/check/Makefile.am:
6746           add a coverage target that generates an html overview
6747           of coverage data
6748
6749 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6750
6751         * tests/check/elements/fakesink.c:
6752         * tests/check/elements/fakesrc.c:
6753         * tests/check/elements/fdsrc.c:
6754         * tests/check/elements/identity.c:
6755         * tests/check/generic/sinks.c: (gst_sinks_suite):
6756         * tests/check/generic/states.c:
6757         * tests/check/gst/gst.c:
6758         * tests/check/gst/gstabi.c:
6759         * tests/check/gst/gstbin.c:
6760         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6761         * tests/check/gst/gstbus.c: (gst_bus_suite):
6762         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6763         * tests/check/gst/gstelement.c:
6764         * tests/check/gst/gstevent.c: (gst_event_suite):
6765         * tests/check/gst/gstghostpad.c:
6766         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6767         * tests/check/gst/gstmessage.c: (gst_message_suite):
6768         * tests/check/gst/gstminiobject.c:
6769         * tests/check/gst/gstobject.c:
6770         * tests/check/gst/gstpad.c:
6771         * tests/check/gst/gstpipeline.c:
6772         * tests/check/gst/gstplugin.c:
6773         * tests/check/gst/gstquery.c: (gst_query_suite):
6774         * tests/check/gst/gstsegment.c: (gst_segment_suite):
6775         * tests/check/gst/gststructure.c:
6776         * tests/check/gst/gstsystemclock.c:
6777         * tests/check/gst/gsttag.c:
6778         * tests/check/gst/gsttask.c: (gst_task_suite):
6779         * tests/check/gst/gstutils.c:
6780         * tests/check/gst/gstvalue.c:
6781         * tests/check/libs/adapter.c:
6782         * tests/check/libs/basesrc.c:
6783         * tests/check/libs/collectpads.c:
6784         * tests/check/libs/controller.c:
6785         * tests/check/libs/gdp.c: (gst_dp_suite):
6786         * tests/check/libs/gstnetclientclock.c:
6787         * tests/check/libs/gstnettimeprovider.c:
6788         * tests/check/libs/libsabi.c: (libsabi_suite):
6789         * tests/check/libs/typefindhelper.c:
6790         * tests/check/pipelines/cleanup.c:
6791         * tests/check/pipelines/parse-launch.c:
6792         * tests/check/pipelines/simple-launch-lines.c:
6793         * tests/check/pipelines/stress.c: (stress_suite):
6794           use the new macro
6795
6796 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6797
6798         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6799         * libs/gst/check/gstcheck.h:
6800           create a macro and function so that the simple unit test
6801           case can be just one macro to create main()
6802
6803 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * gst/gstbin.c: (gst_bin_restore_thyself):
6806         * gst/gstxml.c: (gst_xml_make_element):
6807           Fix deserialisation from XML. Set parent manually
6808           instead of using gst_bin_add(), since gst_bin_add()
6809           will unlink all pads of the element being added.
6810           Fixes #341667.
6811
6812 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
6813
6814         Patch by: Peter Kjellerstedt <pkj at axis com>
6815
6816         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6817           Fix missing g_strdup() and double free when using the
6818           --gst-plugin-load command line option (#346097).
6819
6820 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6821
6822         * gst/gstinfo.c:
6823           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6824
6825         * libs/gst/net/gstnetclientclock.c:
6826         * libs/gst/net/gstnettimeprovider.c:
6827           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6828
6829 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6830
6831         * docs/manual/advanced-dataaccess.xml:
6832           Fix buffer probe example compilation in
6833           ADM (#345708).
6834         
6835 2006-06-22  Edward Hervey  <edward@fluendo.com>
6836
6837         * gst/gstelement.c: (gst_element_pads_activate):
6838         We need to deactivate src pads first and then sink pads.
6839         The reason is the src pads might be blocking while holding the streaming
6840         lock, so we need to deactivate them first so that deactivating the sink
6841         pads doesn't block (since it will require the streaming lock).
6842
6843 2006-06-22  Wim Taymans  <wim@fluendo.com>
6844
6845         * libs/gst/base/gstbasetransform.c:
6846         (gst_base_transform_buffer_alloc):
6847         Forgot to remove two unneeded unrefs.
6848         Simplify a check _is_equal allready checks the obvious case.
6849
6850 2006-06-22  Wim Taymans  <wim@fluendo.com>
6851
6852         * docs/design/part-block.txt:
6853         Some docs about what pad_block should do.
6854
6855 2006-06-22  Wim Taymans  <wim@fluendo.com>
6856
6857         * gst/gstcaps.c: (gst_caps_replace):
6858         Fix crasher when passed NULL. Doc clarification.
6859         Optimize for the trivial case.
6860
6861         * gst/gstpipeline.c: (gst_pipeline_change_state):
6862         Small cleanups.
6863
6864         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6865         Small documentation cleanup.
6866
6867         * libs/gst/base/gstbasetransform.c:
6868         (gst_base_transform_buffer_alloc):
6869         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6870         is what we need and it avoids a whole lot of redundant 
6871         refcount operations.
6872
6873 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
6874
6875         Patch by: Philip Jägenstedt  <philip at lysator liu se>
6876
6877         * docs/manual/advanced-dataaccess.xml:
6878           Fix 'Embedding static elements' section to use
6879           GST_PLUGIN_DEFINE_STATIC (#345607).
6880
6881 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6882
6883         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6884           Attempt to 'fix' spuriously failing test case: it seems like the
6885           timeout of half a second is simply too small when the system is under
6886           load otherwise, and the timeout doesn't really seem to serve any
6887           particular purpose here. Give the pipeline a few seconds to preroll
6888           first, and then give it another half a second to go from PAUSED to
6889           PLAYING and marshal the message into the main thread.
6890
6891 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6892
6893         * tools/gst-feedback-m.m:
6894           Don't only use unversioned tools, try versioned tools as well
6895           (#345086).
6896
6897 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6898
6899         * gst/gstbus.c: (gst_bus_class_init):
6900           Fix some typos, make docs more explicit.
6901
6902 2006-06-20  Wim Taymans  <wim@fluendo.com>
6903
6904         * tests/check/gst/gstghostpad.c: (block_callback),
6905         (GST_START_TEST), (gst_ghost_pad_suite):
6906         Added some more ghostpad tests, mainly blocking
6907         and probes.
6908
6909 2006-06-16  Wim Taymans  <wim@fluendo.com>
6910
6911         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6912         (gst_file_sink_close_file), (gst_file_sink_do_seek),
6913         (gst_file_sink_event), (gst_file_sink_render):
6914         * plugins/elements/gstfilesink.h:
6915         Check if we can seek in the file instead of assuming
6916         we always can. Post an error when we are asked to seek in a
6917         non-seekable file (like a fifo). Fixes #343312.
6918         Some cleanups.
6919
6920 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6921
6922         * tools/gst-launch.1.in:
6923           Un-garble (fourcc) bit in filtered caps section.
6924
6925 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6926
6927         * docs/manual/advanced-autoplugging.xml:
6928         * docs/manual/basics-helloworld.xml:
6929         * docs/manual/highlevel-components.xml:
6930           Don't leak bus reference in sample code.
6931
6932 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
6933
6934         * autogen.sh:
6935           Add default for new --enable-plugin-docs switch.
6936
6937         * configure.ac:
6938           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6939           Fixes #344039.
6940
6941         * docs/Makefile.am:
6942           Use new ENABLE_PLUGIN_DOCS conditional.
6943
6944 2006-06-14  Wim Taymans  <wim@fluendo.com>
6945
6946         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6947         Make it clear with a FIXME and a real define what the #if 0
6948         previously disabled.
6949
6950 2006-06-14  Wim Taymans  <wim@fluendo.com>
6951
6952         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6953         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6954         * libs/gst/base/gstbasetransform.c:
6955         (gst_base_transform_sink_eventfunc):
6956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6957         Don't randomly and silently reset a segment when the format 
6958         changes as this is a bug somewhere upstream. Fixes #330379.
6959
6960 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6961
6962         Patch by: Wouter Paesen  <wouter at kangaroot net>
6963
6964         * libs/gst/controller/gstcontroller.c:
6965         (gst_controlled_property_new):
6966           Fix controlling of float properties (#344849).
6967
6968         * tests/check/libs/controller.c:
6969         (gst_test_mono_source_get_property),
6970         (gst_test_mono_source_set_property),
6971         (gst_test_mono_source_class_init), (GST_START_TEST):
6972           While we're at it, add some float stuff to unit test.
6973
6974 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6975
6976         * docs/README:
6977         * docs/images/gdp-header.svg:
6978           add a gdp image
6979         * docs/libs/Makefile.am:
6980         * docs/libs/gdp-header.png:
6981         * libs/gst/dataprotocol/dataprotocol.c:
6982           add it to the API docs
6983         * docs/manual/intro-motivation.xml:
6984           fix typo
6985
6986 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6987
6988         * gst/gst.c: (scan_and_update_registry), (init_post):
6989           If the fork()'ed child process can't write the updated registry cache
6990           file to disk for some reason, make it exit with a failure exit code,
6991           so that the parent can then re-scan the plugins itself and update the
6992           registry structures in memory and work with that (rather than failing
6993           when creating elements because seemingly no plugins are available).
6994           Refactor registry scanning code into separate function for this and
6995           also separate fork() and non-fork() code paths. Fixes #344748.
6996
6997 2006-06-13  Wim Taymans  <wim@fluendo.com>
6998
6999         * docs/manual/advanced-dataaccess.xml:
7000         Fix wrong PluginDesc. Fixes #344755.
7001
7002 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
7003
7004         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7005           Fix silly bug that prevented us from creating
7006           ~/.gstreamer-0.10 and writing the registry in one
7007           go (the first call to g_mkstemp() would overwrite the
7008           placeholder in the template string, so the second call
7009           to g_mkstemp() after creating the missing directory
7010           would then error out with 'invalid argument').
7011
7012 2006-06-13  Edward Hervey  <edward@fluendo.com>
7013
7014         * gst/gst.c: (init_post):
7015         Free string.
7016
7017 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7018
7019         * gst/glib-compat-private.h:
7020         * gst/glib-compat.c:
7021         * gst/glib-compat.h:
7022         * gst/gstvalue.c: (gst_value_serialize_flags):
7023           remove GLib 2.6 compatibility code
7024
7025 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
7026
7027         * gst/parse/Makefile.am:
7028           Fix build with 'make -j N' even more (#340016).
7029
7030 2006-06-12  Wim Taymans  <wim@fluendo.com>
7031
7032         * docs/gst/gstreamer-sections.txt:
7033         Fix docs.
7034
7035 2006-06-12  Wim Taymans  <wim@fluendo.com>
7036
7037         * gst/gstsegment.c: (gst_segment_set_duration),
7038         (gst_segment_set_last_stop), (gst_segment_set_seek),
7039         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7040         (gst_segment_to_running_time), (gst_segment_clip):
7041         Use G_UNLIKELY to help the compiler a bit.
7042
7043 2006-06-12  Wim Taymans  <wim@fluendo.com>
7044
7045         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7046
7047         * gst/gstevent.c: (gst_event_get_type):
7048         * gst/gstmessage.c:
7049         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7050         (gst_pad_push):
7051         constify quark registration strings. Fixes #344115
7052         Avoid unneeded type checking is _pad_push() by internally
7053         calling gst_pad_chain_unchecked().
7054
7055 2006-06-12  Wim Taymans  <wim@fluendo.com>
7056
7057         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7058         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7059         (gst_subbuffer_finalize), (gst_buffer_create_sub),
7060         (gst_buffer_is_span_fast), (gst_buffer_span):
7061         Init _type for consistency.
7062         Use _FLAGS macro to avoid type check.
7063         Avoid unneeded type checks in subbufer code.
7064
7065 2006-06-12  Wim Taymans  <wim@fluendo.com>
7066
7067         * gst/gst.c: (gst_debug_help):
7068         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7069         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7070         (gst_plugin_feature_list_free):
7071         * gst/gstregistry.c: (gst_registry_add_plugin),
7072         (gst_registry_add_feature), (gst_registry_plugin_filter),
7073         (gst_registry_feature_filter), (gst_registry_find_plugin),
7074         (gst_registry_find_feature), (gst_registry_get_plugin_list),
7075         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7076         * gst/gstregistryxml.c: (load_feature),
7077         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7078         * gst/gstminiobject.c: (gst_mini_object_unref),
7079         (gst_mini_object_replace), (gst_value_mini_object_free),
7080         (gst_value_mini_object_copy):
7081         Use _CAST macros to avoid unneeded type checking.
7082         Added some more G_UNLIKELY.
7083
7084 2006-06-12  Wim Taymans  <wim@fluendo.com>
7085
7086         * gst/gstbuffer.h:
7087         Avoid unneeded type checking.
7088         API: GST_BUFFER_IS_DISCONT
7089
7090         * gst/gstminiobject.h:
7091         Avoid type check in flag accessor.
7092
7093         * gst/gstelementfactory.h:
7094         * gst/gstplugin.h:
7095         * gst/gstpluginfeature.h:
7096         Add _CAST macros.
7097         API: GST_ELEMENT_FACTORY_CAST
7098         API: GST_PLUGIN_CAST
7099         API: GST_PLUGIN_FEATURE_CAST
7100
7101 2006-06-12  Wim Taymans  <wim@fluendo.com>
7102
7103         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7104         (gst_object_unref):
7105         Add G_UNLIKELY in type registration.
7106         Avoid type check in _ref/_unref since that is also
7107         done in glib.
7108
7109 2006-06-12  Wim Taymans  <wim@fluendo.com>
7110
7111         * gst/gsterror.c: (gst_g_error_get_type):
7112         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7113         (gst_static_pad_template_get_type):
7114         * gst/gsttaglist.c: (gst_tag_list_get_type):
7115         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7116         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7117         * gst/gsturi.c: (gst_uri_handler_get_type):
7118         * gst/gstvalue.c: (gst_date_get_type):
7119         * gst/gstxml.c: (gst_xml_get_type):
7120         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7121         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7122         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7123         Add G_UNLIKELY in type registration.
7124
7125 2006-06-12  Wim Taymans  <wim@fluendo.com>
7126
7127         * tools/gst-inspect.c: (print_signal_info):
7128         Properly print enum values.
7129
7130 2006-06-12  Wim Taymans  <wim@fluendo.com>
7131
7132         * gst/gstinfo.c: (gst_debug_set_active),
7133         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7134         * gst/gstinfo.h:
7135         Add some G_[UN]LIKELY.
7136         Maintain __gst_debug_min to avoid formatting the arguments of
7137         debug messages that will be dropped anyway to avoid a lot of 
7138         overhead from the debugging system.
7139
7140 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * po/POTFILES.in:
7143         * po/POTFILES.skip:
7144           add missing files containing translatable strings, tell intltool about
7145           one exception
7146
7147 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7148
7149         * tests/check/libs/.cvsignore:
7150         add test-binary to ignore list
7151
7152 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7153
7154         * docs/libs/gstreamer-libs-docs.sgml:
7155         reorder (put dp into a chapter) and indent
7156
7157 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7158
7159         * configure.ac:
7160           back to HEAD
7161
7162 === release 0.10.8 ===
7163
7164 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7165
7166         * configure.ac:
7167           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7168
7169 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7170
7171         * gst/gst.c: (init_post):
7172           move pid declaration to declaration block
7173
7174 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7175
7176         * gst/gst.c: (init_post):
7177           use _exit() instead of exit() in our forked child; this ensures
7178           that none of the registered exit handlers from whatever is using
7179           GStreamer get executed.  This fixes gnome-mixer-applet failing
7180           to load, because ORBit would shut down.
7181           Spotted by: Edward Hervey  <edward@fluendo.com>
7182           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7183           Fixes #344474
7184
7185 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7186
7187         * configure.ac:
7188           back to TRUNK
7189
7190 === release 0.10.7 ===
7191
7192 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7193
7194         * configure.ac:
7195           releasing 0.10.7, "Soepeke, ik zie ou"
7196
7197 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7198
7199         * configure.ac:
7200         * po/af.po:
7201         * po/az.po:
7202         * po/bg.po:
7203         * po/ca.po:
7204         * po/cs.po:
7205         * po/de.po:
7206         * po/en_GB.po:
7207         * po/fr.po:
7208         * po/it.po:
7209         * po/nb.po:
7210         * po/nl.po:
7211         * po/ru.po:
7212         * po/sq.po:
7213         * po/sr.po:
7214         * po/sv.po:
7215         * po/tr.po:
7216         * po/uk.po:
7217         * po/vi.po:
7218         * po/zh_CN.po:
7219         * po/zh_TW.po:
7220         * win32/common/config.h:
7221           0.10.6.2 prerelease
7222
7223 2006-06-07  Wim Taymans  <wim@fluendo.com>
7224
7225         * gst/gstindex.c: (gst_index_gtype_resolver):
7226         * tools/gst-xmlinspect.c: (print_plugin_info):
7227         Fix leak spotted by coverity checker. Fixes #343827
7228         Fix another other leak found by paolo borelli.
7229
7230 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7231
7232         * libs/gst/dataprotocol/dataprotocol.c:
7233         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7234         (gst_dp_version_get_type), (gst_dp_init),
7235         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7236         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7237         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7238         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7239         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7240         (gst_dp_packetizer_free):
7241         * libs/gst/dataprotocol/dataprotocol.h:
7242           API: add a GstDPPacketizer object, and create/free functions
7243           API: add GstDPVersion enum
7244           Add 1.0 event function that uses the string serialization
7245           Serialize more useful buffer flags
7246           Fixes #343988
7247
7248 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7249
7250         * tests/check/Makefile.am:
7251         * tests/check/gst/gstabi.c:
7252         * tests/check/gst/struct_ppc64.h:
7253         * tests/check/libs/libsabi.c:
7254         * tests/check/libs/struct_ppc64.h:
7255           add ppc64 structure sizes
7256
7257 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7258
7259         * tests/check/Makefile.am:
7260         * tests/check/gst/gstabi.c:
7261         * tests/check/gst/struct_x86_64.h:
7262         * tests/check/libs/libsabi.c:
7263         * tests/check/libs/struct_x86_64.h:
7264           generate and add structure size lists for x86_64
7265
7266 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7267
7268         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7269         * libs/gst/check/gstcheck.h:
7270           factor out the method from tests that checks size of structures,
7271           and add code to generate the header containing these sizes
7272         * tests/check/gst/gstabi.c: (GST_START_TEST):
7273         * tests/check/gst/struct_i386.h:
7274         * tests/check/libs/libsabi.c: (GST_START_TEST):
7275         * tests/check/libs/struct_i386.h:
7276           use it
7277
7278 2006-06-06  Michael Smith  <msmith@fluendo.com>
7279
7280         * gst/gstsegment.h:
7281           Don't use c++-style comments, fixes #343929
7282
7283 2006-06-05  Edward Hervey  <edward@fluendo.com>
7284
7285         * gst/gst.c:
7286         plugin_paths is not used if we build without registry support.
7287
7288         * gst/gstsegment.c: (gst_segment_copy): 
7289         _copy() was always returning NULL...
7290
7291 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7292
7293         * libs/gst/dataprotocol/dataprotocol.c:
7294         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7295         (gst_dp_packet_from_event):
7296           factor out CRC code
7297
7298 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7299
7300         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7301           make sure we unset caps
7302
7303 2006-06-02  Michael Smith  <msmith@fluendo.com>
7304
7305         * libs/gst/check/gstcheck.c: (gst_check_init),
7306         (gst_check_chain_func):
7307         * libs/gst/check/gstcheck.h:
7308           Add a cond/mutex to the check support lib, signal this whenever we
7309           add to the buffers list. This will allow tests to not busy-wait on
7310           the buffer-list.
7311
7312 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7313
7314         * libs/gst/dataprotocol/dataprotocol.c:
7315         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7316         (gst_dp_packet_from_event):
7317           factor out some common header init code
7318
7319 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7320
7321         * docs/libs/gstreamer-libs-sections.txt:
7322         * docs/libs/tmpl/gstdataprotocol.sgml:
7323         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7324         * libs/gst/dataprotocol/dataprotocol.h:
7325           API: make gst_dp_crc() public
7326
7327 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7328
7329         * plugins/indexers/gstindexers.c: (plugin_init):
7330         conditionally register fileindexer (fixes #343598)
7331
7332 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * gst/gsttagsetter.h:
7335         Can't cast ifaces to a class
7336
7337         * libs/gst/net/gstnetclientclock.h:
7338         * libs/gst/net/gstnettimeprovider.h:
7339         * plugins/elements/gstfakesink.h:
7340         * plugins/elements/gstfakesrc.h:
7341         * plugins/elements/gstfdsink.h:
7342         * plugins/elements/gstfdsrc.h:
7343         * plugins/elements/gstfilesink.h:
7344         * plugins/elements/gstfilesrc.h:
7345         * plugins/elements/gstidentity.h:
7346         * plugins/elements/gstqueue.h:
7347         * plugins/elements/gsttee.h:
7348         * plugins/indexers/gstfileindex.c:
7349         * plugins/indexers/gstmemindex.c:
7350         * tests/old/examples/plugins/example.h:
7351         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7352
7353 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7354
7355         * libs/gst/dataprotocol/dataprotocol.c:
7356         (gst_dp_header_from_buffer):
7357           make sure we zero the whole ABI-compatible area
7358
7359 2006-06-01  Wim Taymans  <wim@fluendo.com>
7360
7361         Patch by: Alessandro Decina <alessandro at nnva dot org>
7362
7363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7364         Make sure the EOS flag is cleared from pads after a flush
7365         or stop. Fixes #343538.
7366
7367         * tests/check/libs/collectpads.c: (GST_START_TEST),
7368         (gst_collect_pads_suite):
7369         Added test for collectpads reusage after EOS.
7370
7371 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7372
7373         * gst/gst.c:
7374          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7375         * win32/common/libgstbase.def:
7376          export gst_collect_pads_set_flushing
7377         * win32/common/libgstreamer.def:
7378          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7379          gst_value_fraction_multiply
7380         * win32/vs6/gst_inspect.dsp:
7381          add a link to intl.lib
7382
7383 2006-05-30  Wim Taymans  <wim@fluendo.com>
7384
7385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7386         (gst_collect_pads_chain):
7387         Handle the case where a pad is removed from the collection
7388         that could cause the other pads to become collectable.
7389
7390 2006-05-30  Wim Taymans  <wim@fluendo.com>
7391
7392         * gst/gstelement.c:
7393         Clarify the use of _release_request_pad() and
7394         _get_request_pad() a bit better.
7395
7396         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7397         (gst_adapter_take_buffer):
7398         Fix some doc and comment typos.
7399
7400 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7401
7402         * docs/gst/gstreamer-sections.txt:
7403         * docs/libs/gstreamer-libs-sections.txt:
7404           add declared symbols
7405
7406 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7407
7408         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7409         Add debug that can be enabled using a #define at the top of the file,
7410         for dumping stats about how late/early we were when waking up from
7411         waiting on the clock.
7412
7413 2006-05-30  Wim Taymans  <wim@fluendo.com>
7414
7415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7416         When rebuilding the pad list, don't leak the previous list.
7417
7418 2006-05-30  Wim Taymans  <wim@fluendo.com>
7419
7420         Patch by: Lutz Mueller <lutz at topfrose dot de>
7421
7422         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7423         (gst_base_src_get_query_types), (gst_base_src_update_length):
7424         Publish supported query types.
7425         Update last_stop field in get_range mode so the position
7426         query works. Fixes #342321.
7427
7428 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7429
7430         * docs/gst/gstreamer-sections.txt:
7431         * gst/gsttaglist.c: (_gst_tag_initialize):
7432         * gst/gsttaglist.h:
7433           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7434
7435 2006-05-30  Wim Taymans  <wim@fluendo.com>
7436
7437         Patch by: Alessandro Decina <alessandro at nnva dot org>
7438
7439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7440         Unlock mutex when removing an unknown pad.
7441         Fixes #343334.
7442
7443         * tests/check/Makefile.am:
7444         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7445         (push_event), (setup), (teardown), (GST_START_TEST),
7446         (gst_collect_pads_suite), (main):
7447         Added collecpads check, disabled for now as check crashes for
7448         some reason.
7449
7450 2006-05-29  Wim Taymans  <wim@fluendo.com>
7451
7452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7453         Don't leak pads lists.
7454
7455 2006-05-29  Wim Taymans  <wim@fluendo.com>
7456
7457         * docs/libs/gstreamer-libs-sections.txt:
7458         * libs/gst/base/gstcollectpads.c:
7459         (gst_collect_pads_set_flushing_unlocked),
7460         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7461         (gst_collect_pads_stop):
7462         * libs/gst/base/gstcollectpads.h:
7463         API: gst_collect_pads_set_flushing()
7464         Added api to set the pads to flushing, useful for seeking
7465         code in elements using collectpads.
7466         Clear segment when receiving a flush.
7467
7468 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7469
7470         * gst/gst.c: (add_path_func), (init_post):
7471           Don't scan registry paths passed via --gst-plugin-path immediately
7472           (will crash, because absolutely nothing is set up and no types are
7473           registered etc.); do this later in init_post(). Fixes #343057.
7474
7475 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7476
7477         * gst/gst.c: (init_post):
7478           if we have fork, fork while reading/rebuilding the registry
7479           so the parent doesn't take the hit of having all plugins loaded
7480           in memory.  Fixes #342777.
7481         * configure.ac:
7482           Check if we have fork()
7483         * win32/common/config.h.in:
7484           no fork() on win32
7485
7486 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7487
7488         * plugins/elements/gstelements.c:
7489         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7490         (gst_file_src_init), (gst_file_src_set_property),
7491         (gst_file_src_get_property), (gst_file_src_start):
7492         * plugins/elements/gstfilesrc.h:
7493           API: GstFileSrc::use-mmap
7494
7495         Add a use-mmap property to enable easier testing of all code paths.
7496         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7497         in the absence of gnomevfssrc. (Closes #340501)
7498
7499 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7500
7501         * tools/gst-inspect.c:
7502         Add missing include, removes warning of ngettext not being defined on
7503         some arches.
7504
7505 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7506
7507         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7508         Handle NULL input and output pointers silently as a failed conversion,
7509         rather than g_warnings.
7510
7511 2006-05-25  Wim Taymans  <wim@fluendo.com>
7512
7513         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7514         Initialize variable before using. Fixes #342820.
7515
7516 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7517
7518         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7519           Fix off-by-one bug that would only allow peeks of N-1 bytes
7520           from the start even if the buffer to typefind on contains
7521           in fact N bytes of data (makes vorbis typefinding from a
7522           vorbis identification header buffer work).
7523
7524         * tests/check/Makefile.am:
7525         * tests/check/libs/.cvsignore:
7526         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7527         (gst_typefindhelper_suite), (main), (foobar_typefind),
7528         (plugin_init):
7529           Add very basic unit test for gst_type_find_helper_for_buffer()
7530           that checks for the problem fixed above.
7531
7532 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7533
7534         * tools/gst-inspect.c: (print_interfaces),
7535         (print_element_properties_info), (print_element_list), (main):
7536           add more translatable strings
7537
7538 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7539
7540         Patch by: Julien Moutte  <julien at moutte net>
7541
7542         * docs/gst/gstreamer-sections.txt:
7543           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7544           
7545         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7546         (gst_fake_sink_preroll):
7547         * plugins/elements/gstfakesink.h:
7548           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7549
7550 2006-05-23  Wim Taymans  <wim@fluendo.com>
7551
7552         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7553         * gst/gstpad.h:
7554         Added _CUSTOM error and success GstFlowReturn that can be
7555         used be elements internally. 
7556         Added macro to check for SUCCESS flowreturns.
7557         API: GST_FLOW_CUSTOM_SUCCESS
7558         API: GST_FLOW_CUSTOM_ERROR
7559         API: GST_FLOW_IS_SUCCESS
7560
7561         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7562         Added check for GstFlowReturn sanity.
7563
7564 2006-05-23  Wim Taymans  <wim@fluendo.com>
7565
7566         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7567
7568         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7569         (gst_collect_pads_event):
7570         clear/reset segment info in FLUSH_STOP.
7571         Fixes #336929.
7572
7573 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7574
7575         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7576         (gst_collect_pads_check_collected):
7577         Flush queued buffer on _stop(), fixes playing again (#342454)
7578
7579 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * tests/check/gst/gststructure.c: (GST_START_TEST),
7582         (gst_structure_suite):
7583           add a test for a complete structure
7584
7585 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7586
7587         * docs/faq/developing.xml:
7588         * docs/faq/faq.xml:
7589         * docs/faq/troubleshooting.xml:
7590         * docs/faq/using.xml:
7591           Some minor FAQ updates that won't change the fact that
7592           our FAQ is badly structured, full of information hardly
7593           anyone new to GStreamer needs to know and lacking lots
7594           of information people constantly ask for.
7595           
7596 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7597
7598         * gst/gstpad.c: (gst_pad_set_caps):
7599           Short-circuit gst_pad_set_caps if setting the existing
7600           caps pointer again, and avoid printing debug and 
7601           reffing/unreffing the caps.
7602
7603         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7604           There's actually no need to set the caps before pushing -
7605           the acceptcaps method will handle it anyway.
7606
7607 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7608
7609         * docs/gst/gstreamer-sections.txt:
7610         * win32/common/libgstreamer.def:
7611         * gst/gstutils.c: (gst_element_seek_simple):
7612         * gst/gstutils.h:
7613           API: add gst_element_seek_simple() (#342238).
7614
7615 2006-05-18  Edward Hervey  <edward@fluendo.com>
7616
7617         * gst/gsttypefind.c: (gst_type_find_get_type):
7618         * gst/gsttypefind.h:
7619         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7620         registered for GstTypeFind pointers. This allows wrapping the structure
7621         in bindings (i.e. gst-python).
7622
7623 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7624
7625         * gst/gsttagsetter.c:
7626           Docs additions and fixes (see #339918).
7627
7628 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7629
7630         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7631         The caps intersection algorithm can produce multiple copies of the
7632         caps. Until that is fixed, we need to simplify the result to be
7633         sure whether the allowed caps are fixed or not.
7634
7635         * plugins/elements/gstqueue.c: (gst_queue_init),
7636         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7637         (gst_queue_push_one):
7638         Proxied buffer alloc should not set the caps on the source pad.
7639         When pushing buffers, we always accept the caps change that triggers.
7640         This prevents negotiation errors caused by caps changing mid-stream 
7641         and then being refused on our source pad (because upstream is now
7642         refusing those caps).
7643
7644 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7645
7646         * tests/examples/helloworld/helloworld.c: (main):
7647           Must plug audioconvert and audioresample between decoder
7648           and audio sink.
7649
7650 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7651
7652         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7653         (load_feature), (load_plugin):
7654         Allow empty strings for some of the plugin fields so we don't 
7655         drop valid plugin entries that were written out correctly
7656         (Fixes #341479)
7657
7658 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7659         
7660         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7661           Use g_remove and g_rename instead of remove and rename that don't 
7662           handle utf8 characters. rename was failing for users who had specific
7663           characters in their name then the registry was built at each 
7664           gstreamer init.
7665         * win32/vs6/gst_inspect.dsp:
7666         * win32/vs6/gst_launch.dsp:
7667         * win32/vs6/libgstbase.dsp:
7668         * win32/vs6/libgstcoreelements.dsp:
7669         * win32/vs6/libgstreamer.dsp:
7670           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7671           build of libgstreamer and clean unused libraries in projects link 
7672           settings.
7673
7674 2006-05-17  Edward Hervey  <edward@fluendo.com>
7675
7676         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7677         The queue is not responsible for pushing an EOS when receiving a fatal
7678         flow error. It's up to the real element driving the pipeline to do that.
7679
7680 2006-05-16  Edward Hervey  <edward@fluendo.com>
7681
7682         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7683         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7684         buffer returned a fatal error. It should just send an EOS and stop
7685         its task.
7686         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7687         when pushing buffers on the queue and will be able to handle the event.
7688
7689 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7690
7691         * docs/manual/basics-bins.xml:
7692         * docs/manual/basics-init.xml:
7693           Fix typos and minor errors in sample code (#341856).
7694
7695 2006-05-16  Wim Taymans  <wim@fluendo.com>
7696
7697         * docs/design/part-qos.txt:
7698         Fix indexes in formulas to make more sense.
7699
7700 2006-05-15  Wim Taymans  <wim@fluendo.com>
7701
7702         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7703         Don't report POSITION based on clock time if sync is
7704         disabled in a sink.
7705
7706 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7707
7708         * gst/gstobject.h:
7709           Add cast to make compiler happy - refcount variable was a gint
7710           in GstObject but is a guint in GObject and g_atomic_int_get()
7711           wants a gint *.
7712
7713 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7714
7715         * gst/parse/Makefile.am:
7716           chain commands using &&, which also makes parallel make work
7717
7718 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7719
7720         * docs/gst/gstreamer-sections.txt:
7721         * gst/gstevent.c:
7722         * gst/gstevent.h:
7723         * gst/gstmessage.h:
7724           Minor docs fixes.
7725
7726 === release 0.10.6 ===
7727
7728 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7729
7730         * configure.ac:
7731           releasing 0.10.6, "Take the cannoli"
7732
7733 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7734
7735         * tools/gst-launch.c: (print_tag):
7736           Fix use of uninitialized variable in the hypothetical
7737           case that some broken plugin creates a GST_TAG_IMAGE
7738           tag containing a NULL buffer (#341667).
7739
7740 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7741
7742         * tools/gst-launch.c: (print_tag):
7743           Print something more intelligible for image tags when
7744           using the -t switch (#341556).
7745
7746 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7747
7748         * Makefile.am:
7749           updates for win32
7750         * configure.ac:
7751           define GST_MAJORMINOR so we have it available in win32/common/config.h
7752           Possibly remove it from our Makefile.am files later
7753         * win32/common/config.h:
7754         * win32/common/config.h.in:
7755           added GST_MAJORMINOR
7756         * win32/common/gstenumtypes.c: (register_gst_resource_error):
7757         * win32/common/gstversion.h:
7758           updated
7759
7760 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
7761
7762         * win32/MANIFEST:
7763           Update win32 files listing.
7764         * win32/common/gstversion.h:
7765           Add GST_MAJORMINOR definition.
7766         * win32/common/libgstreamer.def:
7767           Add new exported functions.
7768           
7769 2006-05-12  Michael Smith  <msmith@fluendo.com>
7770
7771         * gst/gstplugin.c: (gst_plugin_load_file):
7772           If an so file has no plugin entry point, unload the module.
7773
7774 2006-05-11  Wim Taymans  <wim@fluendo.com>
7775
7776         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7777         (gst_queue_set_property):
7778         Don't forget to signal the _chain or _loop function 
7779         when the queue size or thresholds change since that might
7780         cause them to make progres again.
7781
7782 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
7783
7784         * gst/gstclock.c: (gst_clock_class_init):
7785         * gst/gstindex.c: (gst_index_class_init):
7786         * gst/gstobject.c: (gst_object_class_init):
7787         * gst/gstpad.c: (gst_pad_class_init):
7788         * gst/gstpipeline.c: (gst_pipeline_class_init):
7789         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7790         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7791         * libs/gst/base/gstbasetransform.c:
7792         (gst_base_transform_class_init):
7793         * libs/gst/net/gstnetclientclock.c:
7794         (gst_net_client_clock_class_init):
7795         * libs/gst/net/gstnettimeprovider.c:
7796         (gst_net_time_provider_class_init):
7797         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7798         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7799         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7800         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7801         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7802         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7803         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7804         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7805         * plugins/elements/gsttee.c: (gst_tee_class_init):
7806         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7807         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7808           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7809
7810 2006-05-11  Wim Taymans  <wim@fluendo.com>
7811
7812         * gst/gstbuffer.c: (_gst_buffer_initialize):
7813         Register subbufer along with the buffer type so that
7814         it does not accidentally gets registered from N
7815         different streaming threads in a non threadsafe way.
7816
7817 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7818
7819         * gst/gstbuffer.h:
7820         * gst/gstevent.h:
7821         * gst/gstmessage.h:
7822           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7823           gst_event_ref() and gst_message_ref() functions again
7824           (ugly hack, please do fix if there's a better way besides
7825           overrides.txt, which doesn't seem to work).
7826
7827 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7828
7829         * libs/gst/check/gstcheck.h:
7830           add an assert for setting state to avoid lots of repetitive code
7831           in the future
7832
7833 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7834
7835         * gst/gstvalue.c: (gst_value_serialize_flags):
7836           fix a leak if no flags are set
7837         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7838           fix leak in tests
7839
7840 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         * docs/manual/basics-pads.xml:
7843           Expand a bit on caps and filtered links and update
7844           examples that were still using the no longer existing
7845           gst_pad_link_filtered() (#338206).
7846
7847 2006-05-10  Wim Taymans  <wim@fluendo.com>
7848
7849         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7850         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7851         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7852         (gst_collect_pads_stop):
7853         * libs/gst/base/gstcollectpads.h:
7854         No need to call _stop in _finalize.
7855         Iterate the main pad list in _finalize.
7856         Added some more debug.
7857         Free lists and data in the right order.
7858         Also free data whem doing _remove_pad when stopped for
7859         backward compatibility protect ::started with PAD_LOCK as
7860         well.
7861
7862 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7865         (gst_structure_parse_value):
7866           add some comments
7867           rename a method so that it actually says what it does better
7868
7869 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7870
7871         * gst/gstevent.c: (_gst_event_initialize):
7872         * gst/gstformat.c: (_gst_format_initialize):
7873           make sure some essential types used by events are registered
7874           as part of gst_init()
7875         * gst/gstvalue.c: (gst_value_serialize_flags):
7876           if no flags are set, serialize them to a value that represents NONE
7877           so that deserializing them works
7878         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7879           add tests for serialization and deserialization of flags
7880
7881 2006-05-10  Wim Taymans  <wim@fluendo.com>
7882
7883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7884         (gst_collect_pads_collect_range), (gst_collect_pads_available),
7885         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7886         (gst_collect_pads_event), (gst_collect_pads_chain):
7887         Update docs.
7888         Better debug info.
7889         Catch and return errors from the collect function
7890         Refuse data on eos pads.
7891
7892 2006-05-10  Edward Hervey  <edward@fluendo.com>
7893
7894         * gst/gstinterface.h:
7895         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7896         GInterface type checking.
7897         They were previously using non-defined macros.
7898
7899 2006-05-09  Wim Taymans  <wim@fluendo.com>
7900
7901         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7902         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7903         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7904         (gst_collect_pads_start), (gst_collect_pads_stop),
7905         (gst_collect_pads_peek), (gst_collect_pads_pop),
7906         (gst_collect_pads_available), (gst_collect_pads_read),
7907         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7908         (gst_collect_pads_is_collected), (gst_collect_pads_event),
7909         (gst_collect_pads_chain):
7910         * libs/gst/base/gstcollectpads.h:
7911         Clean up the mess that is collectpads, add comments and
7912         FIXMEs where needed.
7913         Maintain a separate pad list so we can add pads while
7914         collecting the other ones. For this we need a new separate 
7915         lock (see comics).
7916         Fix memory leak in finalize.
7917         Refactor some weird code to set/unset pad flushing flags, mark
7918         with comments.
7919         Don't crash in _available, _read, _flush when we're EOS.
7920
7921         * tests/check/libs/.cvsignore:
7922         Ignore adapter check binary.
7923
7924 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7925
7926         * gst/gstindex.c: (gst_index_resolver_get_type):
7927         * plugins/elements/gstfakesink.c:
7928         (gst_fake_sink_state_error_get_type):
7929         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7930         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7931         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7932           Const-ify GEnumValue arrays.
7933
7934 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7935
7936         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7937           Add test case for flags + gst_buffer_make_metadata_writable().
7938
7939 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7940
7941         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7942           gst_buffer_make_metadata_writable() should maintain the
7943           buffer flags (those that make sense at least) (see #340859).
7944
7945 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7946
7947         * tools/gst-inspect.c:
7948         * tools/gst-launch.c:
7949         * tools/gst-typefind.c:
7950         * tools/gst-xmlinspect.c:
7951         * tools/tools.h:
7952           Fix up includes: need to include stdlib.h in tools.h for exit().
7953
7954 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7955
7956         * gst/gsttaglist.c: (_gst_tag_initialize):
7957         * gst/gsttaglist.h:
7958           API: add GST_TAG_IMAGE tag (#340721).
7959
7960 2006-05-08  Wim Taymans  <wim@fluendo.com>
7961
7962         * gst/gstquery.c:
7963         Added some docs for the segment query.
7964
7965 2006-05-08  Wim Taymans  <wim@fluendo.com>
7966
7967         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7968         (gst_base_src_loop), (gst_base_src_change_state):
7969         Always push non-flushing serialized events in the streaming 
7970         thread.
7971
7972 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7973
7974         * gst/gsterror.c: (_gst_stream_errors_init):
7975           Add a missing error string.
7976
7977 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
7978
7979         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7980         Add applied_rate to the debug
7981
7982         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7983         Copy applied_rate into the outgoing NEWSEGMENT event
7984
7985 2006-05-08  Wim Taymans  <wim@fluendo.com>
7986
7987         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7988
7989         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7990         (gst_base_sink_change_state):
7991         call ::unlock before taking the PREROLL_LOCK so we can safely
7992         handle elements that lock in ::render.
7993         Fixes #340174.
7994
7995 2006-05-08  Edward Hervey  <edward@fluendo.com>
7996
7997         * autogen.sh: (CONFIGURE_DEF_OPT): 
7998         Darwin's libtoolize is in fact called glibtoolize.
7999         Adding glibtoolize to the list of accepted names for libtoolize.
8000
8001 2006-05-08  Wim Taymans  <wim@fluendo.com>
8002
8003         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8004         Unify error handling, don't post an error message
8005         when a push() returns EOS but perform our normal EOS
8006         handling code. Fixes #340772.
8007
8008 2006-05-08  Wim Taymans  <wim@fluendo.com>
8009
8010         * docs/design/part-overview.txt:
8011         Make upsteam/downstream concepts more clear.
8012         Give an example of serialized/non-serialized events.
8013
8014         * docs/design/part-events.txt:
8015         * docs/design/part-streams.txt:
8016         Mention applied_rate.
8017
8018         * docs/design/part-trickmodes.txt:
8019         Mention applied rate, flesh out some more use cases.
8020
8021         * gst/gstevent.c: (gst_event_new_new_segment),
8022         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8023         (gst_event_parse_new_segment_full), (gst_event_new_tag),
8024         (gst_event_parse_tag), (gst_event_new_buffer_size),
8025         (gst_event_parse_buffer_size), (gst_event_new_qos),
8026         (gst_event_parse_qos), (gst_event_parse_seek),
8027         (gst_event_new_navigation):
8028         * gst/gstevent.h:
8029         Add applied_rate field to NEWSEGMENT event.
8030         API: gst_event_new_new_segment_full()
8031         API: gst_event_parse_new_segment_full()
8032
8033         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8034         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8035         (gst_segment_to_stream_time), (gst_segment_to_running_time):
8036         * gst/gstsegment.h:
8037         Add applied_rate to GstSegment structure.
8038         Make calculation of stream_time and running_time more correct
8039         wrt rate/applied_rate.
8040         Add some more docs.
8041         API: GstSegment::applied_rate field
8042         API: gst_segment_set_newsegment_full();
8043
8044         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8045         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8046         * libs/gst/base/gstbasetransform.c:
8047         (gst_base_transform_sink_eventfunc),
8048         (gst_base_transform_handle_buffer):
8049         Parse and use applied_rate in the GstSegment field.
8050
8051         * tests/check/gst/gstevent.c: (GST_START_TEST):
8052         Add check for applied_rate field.
8053
8054         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8055         (gstsegments_suite):
8056         Add more checks for various GstSegment operations.
8057
8058 2006-05-08  Wim Taymans  <wim@fluendo.com>
8059
8060         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8061         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8062         (gst_base_sink_get_position), (gst_base_sink_change_state):
8063         Store the sync time of the buffer end position separatly in a
8064         new variable eos_rtime so we can properly sync the EOS event.
8065         Fixes #340697.
8066         Fix the docs for gst_base_sink_set_qos_enabled().
8067         Don't set segment start to invalid value when we receive a 
8068         non TIME newsegment.
8069         get closer to handling position reporting for negative rates 
8070         correctly.
8071
8072 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8073
8074         * gst/gstcaps.c:
8075         Docs about how to print caps for debug purposes.
8076
8077         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8078         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8079
8080 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8081
8082         * gst/gstelement.c:
8083           use full enum names and preprend a '%' in docs strings to make recent 
8084           gtk-doc turn that into a link
8085
8086 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8087
8088         * docs/manual/basics-bins.xml:
8089         * docs/manual/basics-bus.xml:
8090         * docs/manual/basics-pads.xml:
8091           Some typo fixes, some additions, some clarifications. 
8092
8093 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8094
8095         * tools/gst-inspect.c: (main):
8096         * tools/gst-launch.c: (main):
8097         * tools/gst-run.c: (main):
8098         * tools/gst-typefind.c: (main):
8099         * tools/gst-xmlinspect.c: (main):
8100           Use the string passed to g_option_context_new() for
8101           what it's intended for - the program name is already
8102           printed elsewhere.
8103
8104 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8105
8106         * tools/Makefile.am:
8107         * tools/gst-inspect.c: (main):
8108         * tools/gst-launch.c: (main):
8109         * tools/gst-xmlinspect.c: (main):
8110         * tools/tools.h:
8111           Add back --version command line option (#340460).
8112
8113         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8114           Add --version option and use GOption for argument parsing; refactor a
8115           bit; accept directories as arguments and recurse into them; lastly,
8116           print a decent error message when things go wrong.
8117
8118 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8119
8120         * docs/manual/basics-bins.xml:
8121         Don't mention GstThread (#340611)
8122         * docs/manual/basics-elements.xml:
8123         Update link to GObject tutorial (#340607)
8124         
8125 2006-05-05  Wim Taymans  <wim@fluendo.com>
8126
8127         * gst/gstbuffer.h:
8128         * gst/gstminiobject.c:
8129         Add note about refcounting and miniobject/buffer writeability
8130         to docs. Fixes #340604
8131
8132         * gst/gstelementfactory.h:
8133         Added some explanation about @klass.
8134
8135 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8136
8137         * docs/manual/intro-motivation.xml:
8138         * docs/manual/manual.xml:
8139         Avoid CORBA & Bonobo references (#340598)
8140
8141 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8142
8143         * docs/manual/basics-bus.xml:
8144         * docs/manual/basics-pads.xml:
8145         Fix up some inaccuracies and omissions (#340609)
8146         
8147 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8148
8149         * gst/gstghostpad.c:
8150           Small typo in docs (#340625)
8151
8152 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8153
8154         * gst/parse/Makefile.am:
8155           Make 'make -j' proof (see #340698).
8156
8157 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8158
8159         * configure.ac:
8160           Require GLib-2.8 here as well.
8161
8162 2006-05-05  Wim Taymans  <wim@fluendo.com>
8163
8164         * gst/glib-compat.c:
8165         * gst/gst.c: (init_pre):
8166         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8167         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8168         (gst_object_dispatch_properties_changed):
8169         * gst/gstobject.h:
8170         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8171         * gst/gststructure.c: (gst_structure_set_valist):
8172         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8173         Remove pre glib2.8 compatibility, fixes #340508
8174
8175 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8176
8177         * gst/gsttaglist.h:
8178           Mention type of tags in doc blurbs.
8179
8180 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8181
8182         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8183         (gst_pad_configure_src), (gst_pad_push):
8184         Restore acceptcaps checking behaviour now that good plugins have
8185         been released.
8186
8187 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8188
8189         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8190
8191         * gst/gst.c:
8192         * gst/gstbus.c:
8193         * gst/gstclock.c:
8194         * gst/gstevent.c:
8195         * gst/gstformat.c:
8196         * gst/gstmessage.c:
8197         * gst/gstparse.c:
8198         * gst/gstquery.c:
8199         * gst/gstutils.c:
8200         * gst/parse/Makefile.am:
8201         * libs/gst/base/gstadapter.c:
8202         * libs/gst/base/gstbasesrc.c:
8203         * libs/gst/base/gstpushsrc.c:
8204         * libs/gst/base/gsttypefindhelper.c:
8205         * plugins/elements/gstfakesrc.c:
8206         * plugins/elements/gstidentity.c:
8207           Make sure gstprivate.h and/or config.h are
8208           always included first, otherwise some of our
8209           defines (like _FILE_OFFSET_BITS) might be
8210           redefined in the system headers. Fixes build
8211           on opensolaris (#340016).
8212
8213 2006-05-04  Wim Taymans  <wim@fluendo.com>
8214
8215         * docs/libs/gstreamer-libs-sections.txt:
8216         API: addition: gst_adapter_take_buffer()
8217         
8218         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8219         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8220         (gst_adapter_available_fast):
8221         * libs/gst/base/gstadapter.h:
8222         Prepare for optimizing the hell out of this hugely inefficient
8223         piece of code. 
8224         Added gst_adapter_take_buffer() so we can at least start thinking
8225         about subbuffering and merging.
8226         Added some comments.
8227
8228         * tests/check/Makefile.am:
8229         * tests/check/libs/adapter.c: (GST_START_TEST),
8230         (gst_adapter_suite), (main):
8231         Added GstAdapter check.
8232
8233 2006-05-04  Wim Taymans  <wim@fluendo.com>
8234
8235         * docs/design/part-overview.txt:
8236         Fix some typos, add blurb about buffer flags.
8237
8238 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8239
8240         * docs/libs/gstreamer-libs-sections.txt:
8241           make sure GstBaseTransformClass shows up in the docs
8242         * libs/gst/base/gstbasetransform.c:
8243         * libs/gst/base/gstbasetransform.h:
8244           move docs so gtk-doc picks it up now
8245
8246 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8247
8248         * docs/libs/gstreamer-libs-sections.txt:
8249           add missing symbols to docs
8250
8251 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8252
8253         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8254           back out the newsegment handling change, see #340060 for ongoing
8255           discussion
8256
8257 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8258
8259         * tools/gst-run.c: (get_candidates), (main):
8260           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8261           work); fix typo in error message. Fixes #340079.
8262
8263 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8264
8265         * common/Makefile.am:
8266         * docs/Makefile.am:
8267         * docs/faq/Makefile.am:
8268         * docs/gst/Makefile.am:
8269         * docs/libs/Makefile.am:
8270         * docs/manual/Makefile.am:
8271         * docs/plugins/Makefile.am:
8272         * docs/pwg/Makefile.am:
8273         * docs/slides/Makefile.am:
8274         * docs/upload.mak:
8275         * common/upload.mak:
8276           move upload.mak to common
8277
8278 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8279
8280         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8281           add more asserts on refcounts
8282           do more cleanup at end of tests
8283           fix test leaks showing in FC5
8284
8285 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8286
8287         * plugins/elements/gsttypefindelement.c:
8288         (gst_type_find_element_handle_event):
8289         reverted wrong change and reflowed code to avoid others falling into
8290         this trap
8291
8292 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8293
8294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8295           fix changelog entry about last collectpads change,
8296           add notes about proper fix
8297
8298 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8299
8300         * gst/gst.c:
8301         * gst/gstregistry.c: (gst_registry_scan_path_level),
8302         (gst_registry_scan_path):
8303         * gst/gstregistry.h:
8304           only write out registry if it has changed, fixes #338339
8305
8306 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8307
8308         * gst/gstbin.c:
8309         * gst/gstpipeline.c:
8310         * plugins/elements/gstcapsfilter.c:
8311         * plugins/elements/gstfakesink.c:
8312         * plugins/elements/gstfakesrc.c:
8313         * plugins/elements/gstfdsink.c:
8314         * plugins/elements/gstfdsrc.c:
8315         * plugins/elements/gstfilesink.c:
8316         * plugins/elements/gstfilesrc.c:
8317         * plugins/elements/gstidentity.c:
8318         * plugins/elements/gstqueue.c:
8319         * plugins/elements/gsttee.c:
8320         * plugins/elements/gsttypefindelement.c:
8321         (gst_type_find_element_handle_event):
8322           make GstElementDetails const
8323
8324 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8325
8326         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8327         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8328         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8329           more detailed debug and formatting cleanup,
8330           forward newsegments to src-pad (so that e.g. adder not eats them)
8331
8332 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8333
8334         * gst/gstutils.c: (gst_element_link_pads):
8335           cleanup double code
8336
8337 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8338
8339         * libs/gst/controller/gstcontroller.c:
8340         (gst_controller_sync_values):
8341           some little tuning
8342         * tests/check/libs/controller.c: (GST_START_TEST),
8343         (gst_controller_suite):
8344           a new test for live value handling
8345
8346 2006-04-28  Wim Taymans  <wim@fluendo.com>
8347
8348         * gst/gstutils.c: (push_and_ref):
8349         Added some more docs.
8350         Fix refcount issue whith gst_element_found_tags() helper 
8351         function. Fixes #338335
8352
8353         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8354         Added testsuite for gst_element_found_tags().
8355
8356 2006-04-28  Michael Smith  <msmith@fluendo.com>
8357
8358         * gst/gstvalue.c: (gst_value_serialize_flags):
8359           Avoid NULL dereference when trying to serialize flags containing
8360           invalid values.
8361
8362 2006-04-28  Michael Smith  <msmith@fluendo.com>
8363
8364         * plugins/elements/gsttypefindelement.c:
8365         (gst_type_find_element_handle_event):
8366           If we get EOS before any data is accumulated, don't use
8367           uninitialised local variables.
8368
8369 2006-04-28  Michael Smith  <msmith@fluendo.com>
8370
8371         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8372         (gst_dp_event_from_packet):
8373           Fixes in reading/writing events over GDP (not currently used?) - 
8374           dereferencing NULL events for unknown/invalid event types, memory
8375           leak, and change g_warning to GST_WARNING.
8376
8377 2006-04-28  Wim Taymans  <wim@fluendo.com>
8378
8379         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8380         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8381         (gst_base_sink_get_position), (gst_base_sink_change_state):
8382         When frame dropping is enabled, we should not ignore frames
8383         without a duration.
8384         Update some documentation.
8385
8386 2006-04-28  Wim Taymans  <wim@fluendo.com>
8387
8388         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8389         (gst_base_src_send_event), (gst_base_src_change_state):
8390         Documentation updates.
8391
8392 2006-04-28  Wim Taymans  <wim@fluendo.com>
8393
8394         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8395         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8396         handle EAGAIN, EINTR and short writes correctly. Also clean
8397         up some error cases, avoid a deadlock on bad file descriptors and
8398         use GST_DEBUG_OBJECT.
8399         Fixes #339843
8400
8401 2006-04-28  Wim Taymans  <wim@fluendo.com>
8402
8403         * gst/gstvalue.c: (gst_value_serialize_buffer),
8404         (gst_value_deserialize_buffer):
8405         Don't try to serialize a GValue with a NULL buffer. 
8406         Fixes #339821.
8407
8408         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8409         Added check for serialisation of NULL buffers.
8410
8411 2006-04-28  Wim Taymans  <wim@fluendo.com>
8412
8413         * gst/gstminiobject.c: (gst_value_take_mini_object):
8414         Taking a NULL miniobject is valid, fix the case where
8415         we try to unref the NULL miniobject.
8416
8417 2006-04-28  Wim Taymans  <wim@fluendo.com>
8418
8419         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8420
8421         * gst/gstbin.c: (gst_bin_handle_message_func):
8422         Update docs.
8423         Don't leak bin refcount when a state recalc is
8424         in progress and we delay another one #339808.
8425
8426 2006-04-28  Wim Taymans  <wim@fluendo.com>
8427
8428         * docs/design/part-TODO.txt:
8429         Mention QoS as an ongoing work item.
8430
8431         * docs/design/part-buffering.txt:
8432         New doc about buffering that needs to be fleshed out
8433         at some point.
8434
8435         * docs/design/part-qos.txt:
8436         More QoS policy for decoders/demuxers/transforms
8437
8438         * docs/design/part-trickmodes.txt:
8439         Small update.
8440
8441 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8442
8443         * configure.ac:
8444           back to HEAD
8445
8446 === release 0.10.5 ===
8447
8448 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8449
8450         * configure.ac:
8451           releasing 0.10.5, "Fogo"
8452
8453 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8454
8455         patch by: Wim Taymans
8456
8457         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8458         (gst_pad_configure_src), (gst_pad_push):
8459         * gst/gstpipeline.c: (gst_pipeline_init):
8460           Fix internal data flow errors.  Fixes #338711.
8461
8462 2006-04-12  Wim Taymans  <wim@fluendo.com>
8463
8464         * tests/check/gst/gstelement.c: (GST_START_TEST):
8465         Don't leak the factory.
8466
8467 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8468
8469         * configure.ac:
8470         * win32/common/config.h:
8471           prerelease
8472
8473 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8474
8475         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8476         (gst_controller_unset_all):
8477           Free allocated GstTimedValues when freeing list nodes.
8478           Should fix leaks 'make check-valgrind' complains about.
8479
8480         * win32/common/libgstcontroller.def:
8481           Add gst_controller_unset_all.
8482
8483 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8484
8485         * docs/libs/gstreamer-libs-sections.txt:
8486         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8487         (gst_controller_unset_all):
8488         * libs/gst/controller/gstcontroller.h:
8489         API: Added new method gst_controller_unset_all()
8490         fixed gst_controller_unset()
8491         * tests/check/libs/controller.c: (GST_START_TEST),
8492         (gst_controller_suite):
8493         Added two testcases for new and fixed method
8494
8495 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8496
8497         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8498           MSG_DONTWAIT is not defined on Cygwin, so work
8499           around that (fixes #317048).
8500           
8501 2006-04-11  Wim Taymans  <wim@fluendo.com>
8502
8503         * gst/gstelementfactory.c: (gst_element_register),
8504         (gst_element_factory_create), (gst_element_factory_make):
8505         Some cleanups.
8506         Fixed a FIXME.
8507         Updated docs (Fixes #131079)
8508
8509         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8510         Small cleanups.
8511
8512         * tests/check/gst/gstelement.c: (GST_START_TEST),
8513         (gst_element_suite):
8514         Added testcase for elementfactory class field.
8515
8516 2006-04-10  Wim Taymans  <wim@fluendo.com>
8517
8518         * gst/gstsegment.c:
8519         Added some more docs.
8520
8521         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8522         (gst_base_sink_reset_qos):
8523         Calculate more accurate rate values.
8524
8525 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8526
8527         * gst/gst_private.h:
8528           add a new #ifdef to use __declspec(dllimport) only for
8529           other modules and not for gstreamer core
8530         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8531           use gst_guint64_to_gdouble for conversion
8532         * win32/common/libgstreamer.def:
8533           add new exported functions
8534         * win32/vs6/gst_inspect.dsp:
8535         * win32/vs6/gst_launch.dsp:
8536         * win32/vs6/libgstbase.dsp:
8537         * win32/vs6/libgstcontroller.dsp:
8538         * win32/vs6/libgstcoreelements.dsp:
8539         * win32/vs6/libgstdataprotocol.dsp:
8540         * win32/vs6/libgstnet.dsp:
8541           update project files
8542
8543 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8544
8545         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8546         * gst/gstclock.c: (gst_clock_class_init):
8547         * gst/gstelement.c: (gst_element_class_init):
8548         * gst/gstindex.c: (gst_index_class_init):
8549         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8550         * gst/gstobject.c: (gst_object_class_init),
8551         (gst_signal_object_class_init):
8552         * gst/gstpad.c: (gst_pad_class_init):
8553         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8554         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8555         * gst/gstregistry.c: (gst_registry_class_init):
8556         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8557         * gst/gsttask.c: (gst_task_class_init):
8558         * gst/gstxml.c: (gst_xml_class_init):
8559         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8560         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8561         (gst_base_src_loop):
8562         * libs/gst/controller/gstcontroller.c:/
8563         (_gst_controller_class_init):
8564         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8565         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8566         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8567         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8568         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8569         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8570
8571 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         * gst/gstpad.c: (gst_pad_link):
8574           Must set peer pads before calling the link function, otherwise
8575           a task started from a link function might get a flow-not-linked
8576           result when trying to push because the other thread where the
8577           linking happens hasn't had a chance to set the peers yet. This
8578           might happen for example when a queue gets linked to a downstream
8579           element, as queue starts a streaming task when its source pad
8580           gets linked. Happens in real life when playing back flac/musepack
8581           files in playbin (#332390).
8582           
8583 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8584
8585         * gst/gstindex.h:
8586         * gst/gstxml.h:
8587         * libs/gst/base/gstadapter.h:
8588         * libs/gst/base/gstbasesink.h:
8589         * libs/gst/base/gstbasesrc.h:
8590         * libs/gst/base/gstbasetransform.h:
8591         * libs/gst/base/gstcollectpads.h:
8592         * libs/gst/base/gstpushsrc.h:
8593         Fix broken GObject macros
8594
8595 2006-04-07  Wim Taymans  <wim@fluendo.com>
8596
8597         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8598         Initialize start and stop times, thanks valgrind.
8599
8600 2006-04-07  Wim Taymans  <wim@fluendo.com>
8601
8602         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8603         Be a bit nicer to badly behaving upstream elements that expect
8604         us to deal with non TIME segments and timestamps (such as fakesrc
8605         in the testsuite).
8606
8607 2006-04-07  Wim Taymans  <wim@fluendo.com>
8608
8609         * gst/gstbus.c:
8610         Small documentation clarification about the signal watch.
8611
8612         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8613         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8614         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8615         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8616         (gst_base_sink_get_position_last),
8617         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8618         Convert and store timestamps in stream time and running time, the
8619         raw timestamps are not useful, also document this better.
8620         Use different window sizes for good and bad QoS observations so
8621         we react to badness a little quicker.
8622         Keep track of the amount of rendered and dropped buffers.
8623         Send QoS timestamps in running time.
8624
8625         * libs/gst/base/gstbasetransform.c:
8626         (gst_base_transform_sink_eventfunc),
8627         (gst_base_transform_handle_buffer):
8628         Compare QoS timestamps against running time.
8629
8630 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8631
8632         * gst/gstpad.c:
8633           Typo fixes in docs.
8634
8635 2006-04-06  Michael Smith  <msmith@fluendo.com>
8636
8637         * gst/gstpad.c: (gst_pad_set_property):
8638           Use g_value_get_object() instead of g_value_dup_gst_object(),
8639           to avoid double-reffing the pad template (which we then sink,
8640           so this worked previously if (and only if) the pad template
8641           was floating.
8642
8643         * gst/gstpadtemplate.c: (gst_pad_template_init),
8644         (gst_pad_template_pad_created):
8645           Never return floating references to pad templates, create
8646           them as initially-sunken.
8647
8648           Document an extra function (and make this stop sinking our
8649           pad template, since that is now guaranteed to do nothing,
8650           since we created it sunken).
8651
8652         * gst/gstghostpad.c:
8653           Fix docs typo.
8654
8655 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8656
8657         * gst/gstinfo.c: (__gst_in_valgrind):
8658           Add some newlines.
8659
8660         * plugins/elements/gsttypefindelement.c:
8661         (gst_type_find_element_chain):
8662           Don't leak buffer caps.
8663
8664 2006-04-06  Michael Smith  <msmith@fluendo.com>
8665
8666         * gst/parse/grammar.y:
8667           Fix a leak in parse-launch for any source-or-sink named element 
8668           references used.
8669
8670         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8671           Unref the pipeline if it exists after we've failed parsing.
8672
8673 2006-04-05  Michael Smith  <msmith@fluendo.com>
8674
8675         * gst/gstpipeline.c: (gst_pipeline_init):
8676           When we create a pipeline bus, initially create it in flushing mode.
8677           Fixes leaks in at least one test, and makes a new pipeline work the
8678           same as one that has gone to READY and then back to NULL.
8679
8680         * gst/gstelement.c:
8681           Typo fix in docs.
8682
8683 2006-04-05  Michael Smith  <msmith@fluendo.com>
8684
8685         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8686           Unref a pad we reffed.
8687         * tests/check/gst/gstutils.c: (GST_START_TEST):
8688           Unref bins
8689
8690 2006-04-05  Michael Smith  <msmith@fluendo.com>
8691
8692         * gst/gstquery.c: (gst_query_set_formats),
8693         (gst_query_set_formatsv):
8694           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8695
8696 2006-04-05  Michael Smith  <msmith@fluendo.com>
8697
8698         * tests/check/generic/sinks.c: (GST_START_TEST):
8699           Fix a variety of memleaks in sinks check, which are only sometimes 
8700           shown by running the tests under valgrind (weird?).
8701
8702 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8703
8704         * docs/version.entities.in:
8705           Fix the substituted entity name after thomas' changes on the
8706           weekend.
8707
8708 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8709
8710         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8711         VALGRIND_PRINTF
8712         
8713 2006-04-05  Andy Wingo  <wingo@pobox.com>
8714
8715         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8716
8717         * libs/gst/base/gstbasetransform.c
8718         (gst_base_transform_sink_eventfunc): When resetting our segment on
8719         FLUSH_STOP, also update the flag saying we haven't seen a
8720         newsegment.
8721
8722 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8723
8724         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8725
8726         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8727         (gst_plugin_check_license):
8728           minor clean-ups: G_DEFINE_TYPE already takes care of the
8729           parent_class stuff, no need to do it twice. Mark array of
8730           license strings as constant. (#337103)
8731           
8732 2006-04-04  Michael Smith  <msmith@fluendo.com>
8733
8734         * tools/gst-inspect.c: (print_element_list):
8735           Free the right plugin list; fixes a memory leak.
8736
8737 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8738
8739         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8740
8741         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8742           Don't error out on empty buffers (#336945).
8743           
8744 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8745
8746         * docs/libs/gstreamer-libs-sections.txt:
8747         * gst/gsttaglist.c:
8748         * libs/gst/base/gstbasesink.c:
8749         * libs/gst/base/gstbasesink.h:
8750         * libs/gst/base/gstbasesrc.c:
8751         * libs/gst/base/gstbasesrc.h:
8752           Documentation updates. Make BaseSink and BaseSrc docs contain the
8753           class structure so that people can actually see the prototypes for
8754           virtual functions they're supposed to be overriding.
8755
8756 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8757
8758         * plugins/elements/gsttypefindelement.c:
8759         (gst_type_find_element_chain):
8760           More debug info; when skipping typefinding, send cached
8761           events in all cases.
8762
8763 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8764
8765         * configure.ac:
8766           use new AS_VERSION and AS_NANO macros
8767         * gst/gst-i18n-lib.h:
8768         * gst/gst.c:
8769         * gst/gsterror.c:
8770         * gst/gstversion.h.in:
8771         * win32/common/config.h:
8772         * win32/common/config.h.in:
8773           update accordingly
8774
8775 2006-03-31  Michael Smith  <msmith@fluendo.com>
8776
8777         * plugins/elements/gsttypefindelement.c:
8778         (gst_type_find_element_chain):
8779           Do not typefind content if the buffers already have caps.
8780           Neccesary for icydemux (#333657), and the right thing to do anyway.
8781
8782 2006-03-30  Wim Taymans  <wim@fluendo.com>
8783
8784         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8785         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8786         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8787         (gst_base_sink_record_qos_observation),
8788         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8789         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8790         (gst_base_sink_change_state):
8791         More QoS measurements as described in the design doc.
8792         Get rid of ringbuffer with observations, running average is
8793         more simple and equally good.
8794         Calculates valid proportion now.
8795         Added beginning of flood measurement.
8796
8797 2006-03-29  Wim Taymans  <wim@fluendo.com>
8798
8799         * docs/design/part-qos.txt:
8800         * gst/gstclock.c:
8801         Small documentation updates and additions.
8802
8803 2006-03-29  Wim Taymans  <wim@fluendo.com>
8804
8805         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8806         (gst_base_src_send_event), (gst_base_src_loop),
8807         (gst_base_src_change_state):
8808         Perform the EOS logic when we reach the segment stop position.
8809         Fix compilation on gcc4.1
8810
8811 2006-03-29  Wim Taymans  <wim@fluendo.com>
8812
8813         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8814
8815         * plugins/elements/gstqueue.c: (gst_queue_init),
8816         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8817         (gst_queue_set_property):
8818         * plugins/elements/gstqueue.h:
8819         In queue, when EOS is received, if minimum threshold > max_size -
8820         current_level, there is chance that queue blocks forever in conditional
8821         item del wait. This is because the queue is not emptied completely due
8822         to minimum threshold.  Here is another approach. Instead of setting
8823         cur_levels to max in EOS, just zero all minimum threshold levels. This
8824         should make sure that queue gives out all data. When going to READY
8825         (stop) state, just reset the original minimum threshold levels.
8826         Fixes #336336.
8827
8828 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
8829
8830         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8831         (gst_type_find_element_handle_event),
8832         (gst_type_find_element_send_cached_events),
8833         (gst_type_find_element_change_state):
8834         * plugins/elements/gsttypefindelement.h:
8835           When typefinding is done in push mode, we should cache
8836           events we receive during typefinding instead of just
8837           dropping them (e.g. newsegment, custom events from
8838           dvdreadsrc etc.) and then send them out once we've
8839           determined the type of the stream (and decodebin
8840           has had a chance to plug in a decoder/demuxer).
8841           
8842 2006-03-27  Wim Taymans  <wim@fluendo.com>
8843
8844         * docs/design/part-qos.txt:
8845         First QoS ideas.
8846
8847 2006-03-27  Wim Taymans  <wim@fluendo.com>
8848
8849         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8850
8851         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8852         (gst_base_src_send_event), (gst_base_src_change_state):
8853         Handle element seek correctly when we are streaming.
8854         Fixes #326998.
8855
8856 2006-03-24  Michael Smith  <msmith@fluendo.com>
8857
8858         * docs/faq/gst-uninstalled:
8859           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8860           allow you to correctly run intalled applications built against old 
8861           core, using plugins that require updated core (e.g. running
8862           installed totem against a full uninstalled gstreamer stack)
8863
8864 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8865
8866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8867         more debug details
8868
8869 2006-03-24  Wim Taymans  <wim@fluendo.com>
8870
8871         * docs/gst/gstreamer-sections.txt:
8872         Rearrange the order of the methods so that related methods
8873         are grouped together in sections.
8874
8875 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8876
8877         * gst/gstelement.c:
8878           Little clarification in the docs
8879
8880 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8881
8882         * docs/README:
8883         formatting fix
8884         * plugins/elements/gstidentity.c:
8885         * plugins/elements/gstqueue.c:
8886         * plugins/elements/gsttee.c:
8887         * plugins/elements/gsttypefindelement.c:
8888         GST_ELEMENT_DETAILS formatting
8889
8890 2006-03-24  Wim Taymans  <wim@fluendo.com>
8891
8892         * libs/gst/base/gstbasesink.h:
8893         Only add fields, not insert or we break ABI.
8894
8895 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8896
8897         * win32/common/libgstbase.def:
8898         * win32/common/libgstreamer.def:
8899           Update, add recently added functions.
8900
8901 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8902
8903         * docs/gst/gstreamer-sections.txt:
8904         * gst/gstutils.c: (gst_pad_query_peer_position),
8905         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8906         * gst/gstutils.h:
8907           API: add some new utility functions:
8908            - gst_pad_query_peer_position()
8909            - gst_pad_query_peer_duration()
8910            - gst_pad_query_peer_convert()
8911           
8912 2006-03-23  Wim Taymans  <wim@fluendo.com>
8913
8914         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8915         (gst_base_sink_init), (gst_base_sink_finalize),
8916         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8917         (gst_base_sink_set_property), (gst_base_sink_get_property),
8918         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8919         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8920         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8921         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8922         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8923         (gst_base_sink_preroll_object), (gst_base_sink_event),
8924         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8925         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8926         (gst_base_sink_query), (gst_base_sink_change_state):
8927         Decouple max-lateness and the fact that QoS messages are generated
8928         with a new property (qos).
8929         added API: GstBaseSink::async_play()
8930         Add vmethod so subclasses can be notified of ASYNC playing
8931         state changes.
8932         Collect timestamp start and stop to report better current
8933         position in EOS/PLAYING/PAUSED/READY/NULL.
8934         Refactor QoS/frame dropping and other measurements.
8935         API: GstBaseSrc::qos
8936         Fixes #326311
8937
8938         * libs/gst/base/gstbasesink.h:
8939         Added Private struct.
8940         API: gst_base_sink_set_qos_enabled()
8941         API: gst_base_sink_is_qos_enabled()
8942
8943 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8944
8945         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8946           If compiling against GLib-2.8 or newer, try to read the
8947           registry file using GMappedFile first before falling back
8948           to fopen() + fread() (#332151).
8949
8950 2006-03-22  Wim Taymans  <wim@fluendo.com>
8951
8952         * gst/gstinfo.c: (gst_debug_set_active),
8953         (gst_debug_category_set_threshold):
8954         Disable debugging unless explicitly activated.
8955         Fixes #335480.
8956
8957 2006-03-22  Wim Taymans  <wim@fluendo.com>
8958
8959         * gst/gstelement.c: (gst_element_set_locked_state),
8960         (gst_element_dispose):
8961         Cleanup the error case.
8962
8963         * gst/gstobject.c: (gst_object_dispose):
8964         print a critical when some object was disposed with
8965         a parent, also revive the object since it might
8966         crash the parent.
8967
8968 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
8969
8970         * tools/gst-launch.1.in:
8971           Fix another typo.
8972
8973 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8974
8975         * configure.ac:
8976         * tests/check/Makefile.am:
8977           disable some tests when we don't have a registry
8978         * tests/check/gst/gstutils.c: (gst_utils_suite):
8979           don't build the part that needs parsing
8980
8981 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8982
8983         * gst/Makefile.am
8984         * tests/examples/Makefile.am:
8985           fix --disable-parse build
8986
8987 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8988
8989         * tools/gst-feedback.1.in:
8990           Fix typo: s/feeback/feedback/ (#133494).
8991
8992 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8993
8994         * tools/Makefile.am:
8995         * tools/gst-launch.1.in:
8996           Add FILES section and correct entry about GST_REGISTRY_PATH
8997           environment variable (#133495; #133494).
8998
8999 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9000
9001         * tools/Makefile.am:
9002         * tools/gst-md5sum.1.in:
9003         * tools/gst-md5sum.c:
9004           Remove gst-md5sum and man page (the md5sink element
9005           required was removed ages ago)
9006
9007 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9008
9009         * gst/gststructure.c: (gst_structure_id_set_value):
9010           Make sure that string fields in structures/taglists
9011           contain valid UTF-8 - we don't want to pass rubbish to
9012           applications because of a buggy plugin (cp. #334167).
9013
9014 2006-03-21  Edward Hervey  <edward@fluendo.com>
9015
9016         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9017         (gst_bin_handle_message_func):
9018         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9019         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9020         (gst_element_set_bus_func):
9021         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9022         * gst/gstminiobject.c: (gst_value_set_mini_object),
9023         (gst_value_take_mini_object):
9024         * gst/gstpad.c: (gst_pad_set_pad_template):
9025         * gst/gstpipeline.c: (gst_pipeline_dispose),
9026         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9027         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9028         (gst_collect_pads_chain):
9029         * libs/gst/net/gstnettimeprovider.c:
9030         (gst_net_time_provider_set_property):
9031         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9032         It's in fact all issues with gst_*object_replace().
9033
9034 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
9037         
9038         * pkgconfig/gstreamer-check-uninstalled.pc.in:
9039         * pkgconfig/gstreamer-check.pc.in:
9040           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9041
9042 2006-03-21  Edward Hervey  <edward@fluendo.com>
9043
9044         * gst/gstbuffer.h:
9045         * gst/gstevent.h:
9046         * gst/gstmessage.h:
9047         gst_[buffer|event|message]_ref() macros are replaced by a static
9048         inline functions because gcc-4.1 will about if the return value
9049         isn't used.
9050         * tests/check/gst/gstevent.c: (event_probe):
9051         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9052
9053 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
9054
9055         * gst/gstutils.h:
9056         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9057         the type' case. (Closes: #335195 for now). In the future, when we
9058         depend on GLib 2.10, we could also intern the type name using
9059         g_intern_static_string()
9060
9061 2006-03-20  Wim Taymans  <wim@fluendo.com>
9062
9063         * gst/gstbin.c: (gst_bin_handle_message_func),
9064         (bin_query_max_init), (bin_query_position_fold),
9065         (bin_query_position_done), (gst_bin_query):
9066         Position query should also take max of all streams.
9067
9068 2006-03-20  Wim Taymans  <wim@fluendo.com>
9069
9070         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9071         (gst_fake_src_finalize):
9072         Fix leaks in fakesrc.
9073
9074         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9075         Fix leaks in the testcase.
9076
9077 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9078
9079         * gst/gst_private.h:
9080           add win32 specific import decoration(__declspec(dllimport)) 
9081           for all extern GstDebugCategory * variables
9082         * win32/common/libgstbase.def:
9083         * win32/common/libgstcontroller.def:
9084         * win32/common/libgstreamer.def:
9085           Add some exports, remove empty lines
9086         * win32/common/libgstdataprotocol.def:
9087         * win32/common/libgstdataprotocol.dsp:
9088         * win32/common/libgstnet.def:
9089         * win32/common/libgstnet.dsp:
9090           new project files and exportation files added
9091         
9092 2006-03-19  Wim Taymans  <wim@fluendo.com>
9093
9094         * tests/check/libs/basesrc.c: (eos_event_counter):
9095         Use proper return value for probe.
9096
9097 2006-03-17  Wim Taymans  <wim@fluendo.com>
9098
9099         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9100         (gst_pad_push):
9101         Don't leak buffers, caps and pads on negotiation errors.
9102
9103 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * docs/faq/cvs.xml:
9106         * docs/faq/dependencies.xml:
9107         * docs/faq/developing.xml:
9108         * docs/faq/faq.xml:
9109         * docs/faq/general.xml:
9110         * docs/faq/getting.xml:
9111         * docs/faq/legal.xml:
9112         * docs/faq/troubleshooting.xml:
9113         * docs/faq/using.xml:
9114         Faq review and update.
9115
9116 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9117
9118         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9119         (gst_pad_push):
9120         Don't pound the cpu to pieces by checking get_caps when accept_caps
9121         is called with the same caps as the pad already has.
9122         Use GST_DEBUG_OBJECT when outputting caps change information.
9123
9124 2006-03-15  Wim Taymans  <wim@fluendo.com>
9125
9126         * gst/gstclock.c: (gst_clock_class_init):
9127         Fix docs.
9128
9129 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9130
9131         * gst/gstbuffer.h:
9132         Documentation fix.
9133
9134         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9135         (gst_pad_accept_caps), (gst_pad_configure_sink),
9136         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9137         Make the default acceptcaps behaviour be to check the requested 
9138         caps against the gst_pad_get_caps output. 
9139
9140         Ensure that gst_pad_accept_caps is used to check caps when a pad
9141         doesn't have a setcaps function, so that pads automatically refuse 
9142         caps that they don't allow in their pad template. (Fixes #332986)
9143
9144         When a buffer with attached caps is pushed, ensure that the source 
9145         pad receives those caps even if the element didn't call
9146         gst_pad_set_caps first.
9147
9148 2006-03-15  Wim Taymans  <wim@fluendo.com>
9149
9150         * libs/gst/base/gstadapter.c:
9151         Add some docs.
9152
9153 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9154
9155         * win32/common/libgstbase.def:
9156         * win32/common/libgstcontroller.def:
9157         * win32/common/libgstreamer.def:
9158           Add a whole bunch of missing functions (#334434).
9159
9160 2006-03-14  Wim Taymans  <wim@fluendo.com>
9161
9162         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9163         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9164         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9165         Better debug info when we receive a segment event.
9166         Reorganize a bit so we can pass the get_times() results around.
9167         Use the segment format when calculating the running time.
9168         Don't do QoS is sync is disabled or we have no clock or the
9169         element does not want us to sync to the clock.
9170         Don't drop buffers if QoS is disabled for now.
9171
9172 2006-03-14  Wim Taymans  <wim@fluendo.com>
9173
9174         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9175         Marked the stats property as unimplemented so people don't get
9176         wild ideas.
9177         Add debug message when regression goes wrong.
9178         Added some more docs.
9179
9180 2006-03-14  Wim Taymans  <wim@fluendo.com>
9181
9182         * gst/gstsegment.c: (gst_segment_to_stream_time):
9183         Return correct return type in case of errors.
9184
9185 2006-03-14  Wim Taymans  <wim@fluendo.com>
9186
9187         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9188           Don't segfault on invalid formats.
9189
9190 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9191
9192         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9193           Can't use gst_segment_to_running_time() when the segment
9194           is not in GST_TIME_FORMAT (like with filesink, for example).
9195           Stops flac encoding pipelines from spewing critical warnings
9196           at EOS (#331248).
9197           
9198 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9199
9200         * gst/gstpipeline.c: (gst_pipeline_class_init):
9201           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9202
9203         * plugins/elements/gsttypefindelement.c:
9204         (gst_type_find_element_handle_event):
9205           Don't try to typefind empty streams.
9206
9207 2006-03-14  Wim Taymans  <wim@fluendo.com>
9208
9209         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9210         (gst_base_sink_do_qos):
9211         Separate QoS calculation.
9212         Only drop buffers when lateness is bigger than the 
9213         duration of the buffer.
9214
9215 2006-03-13  Wim Taymans  <wim@fluendo.com>
9216
9217         * gst/gstpipeline.c: (gst_pipeline_set_property),
9218         (gst_pipeline_get_property), (do_pipeline_seek),
9219         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9220         (gst_pipeline_get_delay):
9221         Don't deadlock when reading properties.
9222
9223 2006-03-13  Wim Taymans  <wim@fluendo.com>
9224
9225         * libs/gst/base/gstbasetransform.c:
9226         (gst_base_transform_class_init), (gst_base_transform_init),
9227         (gst_base_transform_sink_event),
9228         (gst_base_transform_sink_eventfunc),
9229         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9230         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9231         (gst_base_transform_set_property),
9232         (gst_base_transform_get_property),
9233         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9234         (gst_base_transform_set_qos_enabled),
9235         (gst_base_transform_is_qos_enabled):
9236         * libs/gst/base/gstbasetransform.h:
9237         Make basetransform virtual method for src events too.
9238         Handle QOS in basetransform.
9239         API: gst_base_transform_update_qos()
9240         API: gst_base_transform_set_qos_enabled()
9241         API: gst_base_transform_is_qos_enabled()
9242
9243 2006-03-13  Wim Taymans  <wim@fluendo.com>
9244
9245         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9246         (gst_base_sink_do_sync):
9247         Small cleanups.
9248         Use QOS debug category.
9249
9250 2006-03-13  Wim Taymans  <wim@fluendo.com>
9251
9252         * plugins/elements/gstqueue.c:
9253         Very small doc update.
9254
9255 2006-03-13  Wim Taymans  <wim@fluendo.com>
9256
9257         * gst/gst_private.h:
9258         * gst/gstinfo.c: (_gst_debug_init):
9259         Added QOS debug category
9260
9261 2006-03-13  Wim Taymans  <wim@fluendo.com>
9262
9263         * docs/gst/gstreamer-sections.txt:
9264         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9265         * gst/gstbin.h:
9266         * gst/gstbus.c: (gst_bus_class_init):
9267         * gst/gstbus.h:
9268         * gst/gstclock.c:
9269         * gst/gstelement.c: (gst_element_set_locked_state):
9270         * gst/gstsegment.c:
9271         Documentation updates.
9272
9273         * gst/gstpipeline.c: (gst_pipeline_get_type),
9274         (gst_pipeline_class_init), (gst_pipeline_init),
9275         (gst_pipeline_dispose), (gst_pipeline_set_property),
9276         (gst_pipeline_get_property), (do_pipeline_seek),
9277         (gst_pipeline_send_event), (gst_pipeline_change_state),
9278         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9279         (gst_pipeline_get_delay):
9280         * gst/gstpipeline.h:
9281         Added methods for setting the delay.
9282         API: gst_pipeline_set_delay()
9283         API: gst_pipeline_get_delay()
9284         Add pipeline debug category
9285         Various cleanups.
9286         Updated docs.
9287         Don't reset stream time when seek failed.
9288
9289 2006-03-13  Wim Taymans  <wim@fluendo.com>
9290
9291         * docs/design/draft-klass.txt:
9292         * docs/design/part-clocks.txt:
9293         * docs/design/part-events.txt:
9294         * docs/design/part-gstbin.txt:
9295         * docs/design/part-gstpipeline.txt:
9296         * docs/design/part-messages.txt:
9297         * docs/design/part-negotiation.txt:
9298         * docs/design/part-overview.txt:
9299         * docs/design/part-preroll.txt:
9300         * docs/design/part-seeking.txt:
9301         * docs/design/part-states.txt:
9302         * docs/design/part-streams.txt:
9303         Documentation updates.
9304
9305 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9306
9307         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9308         us to leak strings...
9309
9310 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9311
9312         * libs/gst/net/gstnettimeprovider.c:
9313           fix docs
9314         * win32/common/config.h:
9315           update
9316
9317 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9318
9319         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9320
9321         * configure.ac:
9322           Don't check for libgnomeui (leftover from old examples
9323           that aren't built or disted any longer) (#334303).
9324           
9325 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9326
9327         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9328         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9329           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9330           there's no space left on the device.
9331
9332 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9333
9334         * gst/gstclock.h:
9335           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9336           to cast the input to GstClockTime before comparing with
9337           another GstClockTime value.
9338
9339 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9340
9341         * configure.ac:
9342           back to trunk
9343
9344 === release 0.10.4 ===
9345
9346 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9347
9348         * configure.ac:
9349           releasing 0.10.4, "Light"
9350
9351 2006-03-10  Michael Smith  <msmith@fluendo.com>
9352
9353         * libs/gst/dataprotocol/dataprotocol.c:
9354           Fix docs for dataprocotol to not get the return types completely
9355           wrong for a few functions.
9356
9357 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         * docs/gst/gstreamer-sections.txt:
9360         * gst/gstpipeline.c: (gst_pipeline_class_init),
9361         (gst_pipeline_init), (gst_pipeline_set_property),
9362         (gst_pipeline_get_property), (gst_pipeline_change_state),
9363         (gst_pipeline_set_auto_flush_bus),
9364         (gst_pipeline_get_auto_flush_bus):
9365         * gst/gstpipeline.h:
9366           Add new API: gst_pipeline_set_auto_flush_bus() and
9367           gst_pipeline_get_auto_flush_bus() to disable automatic
9368           flushing of the pipeline's GstBus when going from READY
9369           to NULL state (#332045).
9370
9371 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9372
9373         * docs/gst/gstreamer-sections.txt:
9374         * gst/gsturi.c: (gst_uri_has_protocol):
9375         * gst/gsturi.h:
9376            Add new API: gst_uri_has_protocol() (#333779).
9377
9378 2006-03-09  Wim Taymans  <wim@fluendo.com>
9379
9380         * gst/gstclock.c: (gst_clock_entry_new),
9381         (gst_clock_id_compare_func), (gst_clock_id_wait),
9382         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9383         (gst_clock_init), (gst_clock_get_internal_time),
9384         (gst_clock_set_master), (do_linear_regression),
9385         (gst_clock_add_observation), (gst_clock_set_property):
9386         * gst/gstclock.h:
9387         Review docs.
9388         Small cleanups.
9389         Fix a possible segfault when the window-size is made smaller.
9390         Calculate jitter before performing the clock wait. Ideally
9391         the clock implementation should calculate jitter but we need
9392         API breakage for that.
9393
9394         * gst/gstsystemclock.c: (gst_system_clock_init):
9395         Docs review.
9396         
9397         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9398         Remove leftover else
9399
9400         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9401         (gst_systemclock_suite):
9402         Added check to test GST_CLOCK_DIFF.
9403
9404 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9405
9406         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9407         (gst_type_find_helper_get_range):
9408           If we are provided with the size, we should implement
9409           GstTypeFind::get_length, so that typefind functions who
9410           want to can actually peek at the middle of a file.
9411
9412 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9413
9414         * docs/manual/advanced-dataaccess.xml:
9415           Add some very very basic error checking.
9416
9417         * docs/pwg/appendix-checklist.xml:
9418           Some updates to the list of things to check when writing an element.
9419
9420 2006-03-08  Wim Taymans  <wim@fluendo.com>
9421
9422         * docs/design/part-element-transform.txt:
9423         Added some docs about the design of tranform elements.
9424
9425         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9426         (gst_base_src_loop), (gst_base_src_change_state):
9427         Mark buffers with the DISCONT flag.
9428
9429 2006-03-08  Michael Smith  <msmith@fluendo.com>
9430
9431         * gst/gstregistry.h:
9432         * gst/gstregistryxml.c: (gst_registry_save),
9433         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9434         (gst_registry_xml_save_pad_template),
9435         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9436         (gst_registry_xml_write_cache):
9437           Rewrite registry-saving to avoid race conditions and check for
9438           failed writes.
9439
9440 2006-03-08  Wim Taymans  <wim@fluendo.com>
9441
9442         * libs/gst/base/gstbasetransform.c:
9443         (gst_base_transform_transform_caps),
9444         (gst_base_transform_transform_size),
9445         (gst_base_transform_prepare_output_buffer),
9446         (gst_base_transform_get_unit_size),
9447         (gst_base_transform_buffer_alloc),
9448         (gst_base_transform_handle_buffer),
9449         (gst_base_transform_change_state):
9450         Cleanups, separate normal flow from errors, add sensible
9451         DEBUG lines.
9452         Don't try to renegotiate when allocating an output buffer.
9453         Also copy DISCONT buffer flag when copying a buffer.
9454         Reset the transform after we finish streaming, not during.
9455
9456 2006-03-08  Wim Taymans  <wim@fluendo.com>
9457
9458         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9459         Use last buffer timestamp in qos message.
9460
9461 2006-03-07  Wim Taymans  <wim@fluendo.com>
9462
9463         Patch by: Christophe Fergeau
9464
9465         * docs/pwg/advanced-tagging.xml:
9466         * docs/pwg/building-pads.xml:
9467           fixes #333416
9468
9469 2006-03-07  Wim Taymans  <wim@fluendo.com>
9470
9471         * docs/libs/gstreamer-libs-sections.txt:
9472         Added basesink new methods.
9473
9474         * gst/gstevent.c:
9475         * gst/gstevent.h:
9476         Docs updates. Flesh out the QoS docs.
9477
9478         * libs/gst/base/gstadapter.c:
9479         Small doc clarification about ownership and flushing.
9480
9481         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9482         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9483         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9484         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9485         * libs/gst/base/gstbasesink.h:
9486         API additions: 
9487         Added new methods to allow subclass to control max-lateness 
9488         and sync.
9489         Generate very basic QoS events based on last sync observation.
9490         Updated docs, fix typo, added some QoS blurb.
9491
9492         * libs/gst/base/gstbasesrc.c:
9493         Remove obsolete _get_state() calls from docs.
9494
9495 2006-03-07  Wim Taymans  <wim@fluendo.com>
9496
9497         * docs/libs/gstreamer-libs-sections.txt:
9498         * libs/gst/base/gstbasetransform.h:
9499         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9500         Fix docs for GstBaseSrc.
9501
9502 2006-03-07  Wim Taymans  <wim@fluendo.com>
9503
9504         * docs/gst/gstreamer-sections.txt:
9505         * gst/gstbuffer.h:
9506         * gst/gstvalue.c:
9507         * libs/gst/base/gstbasetransform.h:
9508         Small documentation fixes.
9509
9510 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9511
9512         * gst/gstvalue.c:
9513           Document thread-unsafety of gst_value_register_foo_func()
9514           when used at the same time as gst_value_foo() (#322628).
9515
9516 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9517
9518         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9519         (gst_push_src_check_get_range):
9520           Push sources don't support pull mode by default.
9521
9522 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9523
9524         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9525         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9526         (gst_base_src_default_check_get_range):
9527         * libs/gst/base/gstbasesrc.h:
9528           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9529           provide default implementation, and rename
9530           gst_base_src_check_get_range() to
9531           gst_base_src_pad_check_get_range() for clarity.
9532
9533 2006-03-06  Wim Taymans  <wim@fluendo.com>
9534
9535         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9536         Make property overridable.
9537
9538 2006-03-06  Wim Taymans  <wim@fluendo.com>
9539
9540         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9541         (gst_base_sink_init), (gst_base_sink_set_property),
9542         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9543         * libs/gst/base/gstbasesink.h:
9544         API addition: Make max-lateness a property.
9545
9546 2006-03-06  Wim Taymans  <wim@fluendo.com>
9547
9548         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9549         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9550         Don't ever draw a frame that is >10ms late.
9551
9552 2006-03-06  Michael Smith  <msmith@fluendo.com>
9553
9554         * gst/gstmessage.c: (_gst_message_copy):
9555           When copying a message, set the parent_refcount of the enclosed
9556           structure to point at the copy, not the original message.
9557
9558 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9559
9560         Patch by: Christophe Fergeau
9561
9562         * gst/gstutils.h:
9563           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9564           usable in c++ code (#333417)
9565
9566 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9567
9568         * gst/gstclock.h:
9569           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9570
9571 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9572
9573         * libs/gst/base/gstbasetransform.c:
9574         (gst_base_transform_transform_caps):
9575           Make sure caps are writable before passing them to
9576           gst_caps_append().
9577
9578 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9579
9580         * gst/gsterror.h:
9581           Fix some minor docs errors.
9582
9583 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9584
9585           Patch by: Ross Burton <ross at burtonini dot com>
9586
9587         * gst/gsterror.c: (_gst_resource_errors_init):
9588         * gst/gsterror.h:
9589           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9590
9591 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9592
9593         * gst/gst.c:
9594         Add a check and output a g_warning when GStreamer is built
9595         against GLib 2.6 but running against 2.8 or higher, and vice 
9596         versa. (Closes: #323542)
9597
9598 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9599
9600         * gst/parse/parse.l:
9601           Commit patch for parse_launch syntax from #331255. Removes 
9602           support for quoted strings and mimetypes when writing filtered 
9603           caps. See the bug report for more details - I'm pretty sure this
9604           obscure feature is not in use by _anyone_ anywhere.
9605
9606           With this simple change, the size of the gstreamer.so here 
9607           drops from 2193KB to 1565KB.
9608
9609 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9610
9611         * plugins/elements/gsttypefindelement.h:
9612         * plugins/elements/gsttypefindelement.c:
9613         (gst_type_find_element_src_event), (start_typefinding),
9614         (stop_typefinding), (gst_type_find_element_handle_event),
9615         (gst_type_find_element_chain),
9616         (gst_type_find_element_chain_do_typefinding):
9617           Use gst_type_find_helper_for_buffer() for chain-based
9618           typefinding.
9619
9620 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9621
9622         * plugins/elements/gsttypefindelement.c:
9623         (gst_type_find_element_class_init),
9624         (gst_type_find_element_set_property),
9625         (gst_type_find_element_get_property):
9626           Deprecate "maximum" property (not only was it only taken into
9627           account for typefinding in push-mode anyway, it also was never
9628           actually possible to set it in the first place because the
9629           property was registered with the numeric property ID for the
9630           "minimum" property). Register "maximum" property correctly,
9631           for the sake of future copy'n'pasters. Remove some cruft
9632           from property get/set functions.
9633
9634 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * plugins/elements/gsttypefindelement.c:
9637         (gst_type_find_element_activate):
9638           Use gst_type_find_helper_get_range() here, so we
9639           can honour the "minimum" property and also emit
9640           the signal with the correct probability of the found caps.
9641
9642 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9643
9644         * docs/libs/gstreamer-libs-sections.txt:
9645         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9646         (helper_find_suggest), (gst_type_find_helper_get_range),
9647         (gst_type_find_helper):
9648         * libs/gst/base/gsttypefindhelper.h:
9649           New API: gst_type_find_helper_get_range() (#333042).
9650
9651 2006-03-02  Michael Smith  <msmith@fluendo.com>
9652
9653         * gst/gstregistryxml.c: (load_feature):
9654           Asserting on a failure to read part of the registry is Not Cool.
9655           Just log a warning and return NULL (which is already handled)
9656
9657 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9658
9659         * win32/common/libgstbase.def:
9660           added export of gst_type_find_helper_for_buffer
9661         * win32/common/libgstbase.def:
9662           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9663           gst_ghost_pad_get_target
9664
9665 2006-02-28  Wim Taymans  <wim@fluendo.com>
9666
9667         * docs/design/draft-klass.txt:
9668         We use Filter now.
9669         Added Connector to mark elements that are only used to
9670         allow pipeline connections.
9671         Moved Debug to extra feature since most of them are 
9672         functionally something else.
9673
9674 2006-02-28  Wim Taymans  <wim@fluendo.com>
9675
9676         * docs/design/draft-klass.txt:
9677         Some updates and clarifications.
9678
9679 2006-02-28  Wim Taymans  <wim@fluendo.com>
9680
9681         * docs/design/draft-klass.txt:
9682         Proposal for klass field values.
9683
9684         * docs/design/part-streams.txt:
9685         Start of a doc describing stream anatomy.
9686
9687 2006-02-28  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9690         Help the compiler a bit with type registration.
9691         Use existing forward cod path instead of duplicating it when 
9692         handling a message.
9693         
9694         * gst/gstbus.c: (gst_bus_get_type):
9695         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9696         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9697         * gst/gstclock.c: (gst_clock_get_type):
9698         * gst/gstelement.c: (gst_element_get_type),
9699         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9700         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9701         * gst/gstminiobject.c: (gst_mini_object_get_type):
9702         * gst/gstpad.c: (gst_pad_get_type):
9703         * gst/gstsegment.c: (gst_segment_get_type):
9704         * gst/gststructure.c: (gst_structure_get_type):
9705         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9706         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9707         * gst/gstvalue.c:
9708         Help compiler with type registration.
9709
9710         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9711         Small doc update.
9712
9713 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9714
9715         * plugins/elements/gsttypefindelement.c:
9716         (gst_type_find_element_handle_event):
9717           When we get an EOS event and have not found a type yet
9718           (most likely because we had not yet accumulated
9719           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9720           type given the data we have so far. Fixes typefinding
9721           for very short streams again, most notably quicktime
9722           redirections as used on Apple's trailer site (#331701).
9723
9724 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9727         (gst_type_find_helper):
9728           Try typefinding factories with the highest rank first.
9729
9730 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9731
9732         * docs/libs/gstreamer-libs-docs.sgml:
9733         * docs/libs/gstreamer-libs-sections.txt:
9734         * libs/gst/base/gsttypefindhelper.c:
9735           Add section for typefind helper and add documentation
9736           for the old and the new function.
9737
9738 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9741         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9742         (gst_type_find_helper_for_buffer):
9743         * libs/gst/base/gsttypefindhelper.h:
9744           New API: gst_type_find_helper_for_buffer() (#332723).
9745           
9746 2006-02-27  Michael Smith  <msmith@fluendo.com>
9747
9748         Patch by: Loïc Minier
9749
9750         * configure.ac:
9751         * docs/Makefile.am:
9752         * docs/slides/Makefile.am:
9753           prevent CVS directories getting disted.
9754
9755 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9756
9757         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9758           Use the REFCOUNTING category for caps refcounting.
9759           
9760 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9761
9762         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9763           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9764
9765 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9766
9767         * plugins/elements/gsttypefindelement.c:
9768         (gst_type_find_element_activate):
9769           Use gst_pad_check_pull_range() before _activate_pull()
9770           to avoid unnecessary open/close (see #331690).
9771
9772 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9773
9774         * gst/gstutils.c:
9775           Docs enhancement: make it crystal clear what the
9776           gst_pad_add_*_probe() callbacks should look like.
9777
9778 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9779
9780         * libs/gst/base/gstbasesrc.c:
9781           Document how applications can stop recording from
9782           live sources (see #330996).
9783
9784 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9785
9786         * tests/check/Makefile.am:
9787         * tests/check/libs/basesrc.c: (eos_event_counter),
9788         (basesrc_eos_events_pull), (basesrc_eos_events_push),
9789         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9790         (gst_basesrc_suite), (main):
9791           ... and add some tests for the base source EOS stuff.
9792
9793 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9794
9795         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9796           Test case originally showed the problem fixed below,
9797           but was then amended. Add checks back at the place
9798           where they used to be.
9799
9800 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9803         (gst_base_src_init), (gst_base_src_loop),
9804         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9805         (gst_base_src_change_state):
9806         * libs/gst/base/gstbasesrc.h:
9807           Don't unconditionally send EOS when going from PAUSED to
9808           READY state, esp. make sure we don't send two EOS events
9809           in some cases (e.g. one when reaching EOS and one when
9810           going from PAUSED to READY). Also, we don't want to send
9811           EOS events when operating in pull mode. However, we do
9812           want to send an EOS event when shutting down a live
9813           source explicitly, for example (fixes #330996).
9814           
9815 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9816
9817         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9818           Update src->read_position after a seek when not using mmap.
9819           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9820
9821 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
9822
9823         * gst/Makefile.am:
9824         * gst/gstparse.h:
9825         * gst/gstutils.c:
9826         * gst/gstutils.h:
9827         Make things work with --disable-parse as they do with 
9828         --disable-load-save - the symbols involved disappear, but the
9829         header is still installed and GST_DISABLE_PARSE is included via
9830         gstconfig.h
9831
9832 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9833
9834         * libs/gst/base/gstbasetransform.c:
9835         (gst_base_transform_change_state): Fix a stupid bug. I was 
9836         sure I compiled that.
9837
9838 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9839
9840         * gst/gstpad.c: (gst_pad_set_blocked_async):
9841         * gst/gstutils.c: (gst_pad_add_data_probe),
9842         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9843         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9844         (gst_pad_remove_buffer_probe): Make those function act on the
9845         ghostpad target when it's a ghostpad. (Closes #331727)
9846
9847 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9848
9849         * libs/gst/base/gstbasetransform.c:
9850         (gst_base_transform_change_state): Make basetransform reusable.
9851         (Closes #331898)
9852
9853 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
9854
9855         * docs/random/release:
9856         Move the current documentation of how to do a release to the top
9857         of the file.
9858
9859         * gst/gstbin.c: (gst_bin_class_init),
9860         (gst_bin_handle_message_func):
9861         Allow multiple state-recalculation threads. (Closes #328873)
9862
9863 2006-02-19  Julien MOUTTE  <julien@moutte.net>
9864
9865         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9866         * gst/gstpad.c: (gst_pad_set_event_function),
9867         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9868         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9869         2 strings. You can't use the STR_NULL macro on that.
9870
9871 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
9872
9873         * gst/gstpad.c: (gst_pad_set_event_function),
9874         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9875         (gst_pad_set_getcaps_function)
9876         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9877           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9878           So now, we can use --gst-debug-level=5 on Windows
9879         * win32/common/libgstcontroller.def:
9880           Added export of gst_controller_init
9881         * win32/vs6/libgstcontroller.dsp:
9882           Fixed Release post build configuration
9883
9884 2006-02-17  Wim Taymans  <wim@fluendo.com>
9885
9886         * tests/check/gst/gstquery.c: (GST_START_TEST):
9887         Added another check.
9888
9889 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
9890
9891         * plugins/elements/gsttypefindelement.c: (find_peek):
9892           We can do peeks at non-zero offsets, as long as they
9893           fall within the buffer we have.
9894
9895 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
9896
9897         * tests/check/Makefile.am:
9898         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9899         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9900         (parse_suite), (main):
9901           Add testsuite for parse launch syntax
9902
9903 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
9904
9905         * plugins/elements/gsttypefindelement.c:
9906         (gst_type_find_element_chain):
9907           When typefinding is unsuccessful in the chain function, don't
9908           error out immediately. Only error out with NO_CAPS_FOUND if
9909           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9910           otherwise simply wait for more data so we can try typefinding
9911           again with more data later. Also, don't attempt to typefind
9912           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9913           this should improve typefinding from network sources where the
9914           size of the first buffer can be somewhat random.
9915
9916 2006-02-14  Wim Taymans  <wim@fluendo.com>
9917
9918         * docs/gst/gstreamer-sections.txt:
9919         * gst/gstpadtemplate.c:
9920         * gst/gstpadtemplate.h:
9921         Fix padtemplate docs, fixes #328805.
9922
9923 2006-02-14  Wim Taymans  <wim@fluendo.com>
9924
9925         * tools/gst-launch.c: (main):
9926         NO_PREROLL is not an ERROR so don't send confusing messages
9927         to the user.
9928
9929 2006-02-14  Wim Taymans  <wim@fluendo.com>
9930
9931         Patch by: Torsten Schoenfeld
9932
9933         * gst/gstregistry.c: (gst_registry_get_default),
9934         (_gst_registry_cleanup):
9935         Protect default registry with lock and ref/sink it.
9936         Fixes #324818
9937
9938 2006-02-14  Wim Taymans  <wim@fluendo.com>
9939
9940         * gst/gstbuffer.c:
9941         * gst/gstquery.c: (gst_query_list_add_format),
9942         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9943         (gst_query_parse_formats_nth):
9944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9945         Docs fixes.
9946
9947 2006-02-14  Wim Taymans  <wim@fluendo.com>
9948
9949         * docs/gst/gstreamer-sections.txt:
9950         Reworked query docs.
9951
9952         * gst/gstquery.c: (gst_query_new_formats),
9953         (gst_query_list_add_format), (gst_query_set_formats),
9954         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9955         (gst_query_parse_formats_nth):
9956         * gst/gstquery.h:
9957         Flesh out formats query, added some new methods.
9958         Fix part of #324398.
9959
9960         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9961         Added query creation tests.
9962
9963 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
9964
9965         * gst/gstpad.c: (fixate_value):
9966         Add a default fixation for fraction lists.
9967
9968 2006-02-13  Wim Taymans  <wim@fluendo.com>
9969
9970         * gst/gsttask.c: (gst_task_init), (gst_task_func),
9971         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9972         (gst_task_join):
9973         * gst/gsttask.h:
9974         Detect and warn for obvious deadlocks. fixes #320340
9975         Fix error case where lock was not released.
9976
9977         * tests/check/Makefile.am:
9978         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9979         (task_func), (gst_element_suite), (main):
9980         Add task check.
9981
9982 2006-02-13  Wim Taymans  <wim@fluendo.com>
9983
9984         * docs/gst/gstreamer-sections.txt:
9985         * gst/gstbus.c:
9986         Add new functions to docs.
9987
9988 2006-02-13  Wim Taymans  <wim@fluendo.com>
9989
9990         * docs/design/part-TODO.txt:
9991         Updated TODO list, basesrc supports seeking to non-bytes
9992         formats.
9993
9994         * docs/design/part-element-sink.txt:
9995         Update docs.
9996
9997         * gst/gstbin.c: (bin_replace_message),
9998         (gst_bin_handle_message_func):
9999         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10000         * gst/gstevent.c: (gst_event_finalize):
10001         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10002         (gst_pad_send_event):
10003         Use shiny new _TYPE_NAME macros.
10004
10005         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10006         Move debug statement up.
10007
10008         * gst/gstelement.c: (gst_element_set_locked_state):
10009         Add some debugging.
10010
10011 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
10012
10013         * docs/gst/gstreamer-sections.txt:
10014         * gst/gstmessage.h:
10015         * gst/gstquery.h:
10016           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10017           macros (#330906). Also, document the already existing
10018           GST_QUERY_TYPE macro.
10019
10020 2006-02-13  Wim Taymans  <wim@fluendo.com>
10021
10022         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10023         (event_probe), (GST_START_TEST):
10024         Only events up to the pipeline EOS are counted, there are
10025         some more when going to NULL currently which we don't care
10026         about for now.
10027
10028 2006-02-13  Wim Taymans  <wim@fluendo.com>
10029
10030         * gst/gstpad.c: (gst_pad_send_event):
10031         Correctly check flushing and emit probes. fixes #330125
10032
10033 2006-02-10  Andy Wingo  <wingo@pobox.com>
10034
10035         * gst/gstbus.c (gst_bus_class_init): Declare our private data
10036         structure.
10037         (gst_bus_init): Cache the location of the private data in the
10038         instance structure.
10039         (gst_bus_enable_sync_message_emission) 
10040         (gst_bus_disable_sync_message_emission): Implement new public
10041         functions.
10042         (gst_bus_post): Emit the sync-message signal if the user asked for
10043         it. Fixes #330684.
10044
10045         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10046         location of the bus-private structure.
10047         (gst_bus_enable_sync_message_emission)
10048         (gst_bus_disable_sync_message_emission): API addition
10049
10050 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
10051
10052         Patch by: Vincent Torri
10053
10054         * docs/pwg/building-boiler.xml:
10055         PWG patch from #326800
10056
10057 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10058
10059         * configure.ac:
10060         * docs/Makefile.am:
10061         * docs/design/Makefile.am:
10062           Dist design docs.
10063
10064 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10065
10066         * configure.ac:
10067           back to CVS
10068
10069 === release 0.10.3 ===
10070
10071 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
10072
10073         * configure.ac:
10074           releasing 0.10.3, "Like a virgin"
10075
10076 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10077
10078         * configure.ac:
10079           2nd prerelease of 0.10.3
10080           Bump libtool versioning.
10081
10082 2006-02-07  Andy Wingo  <wingo@pobox.com>
10083
10084         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10085         update last_stop if we're in TIME format and the timestamp is
10086         valid.
10087
10088         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10089         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10090         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10091         If we get a new newsegment with a different format, adapt
10092         accordingly.
10093
10094         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10095         of 0. Not a problem, really.
10096
10097         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10098         warn if sync=true.
10099
10100 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10101
10102         * configure.ac:
10103           Prelease of 0.10.3
10104
10105 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10106
10107         * win32/vs7:
10108           project files updated to the default vs7 configuration
10109         * win32/common/libgstbase.def:
10110         * win32/common/libgstreamer.def:
10111           added new symbols,
10112           removed empty lines,
10113           sorted all exported symbols alphabetically
10114         * win32/common/dirent.c:
10115         * win32/common/dirent.h:
10116         * win32/common/gchar.h:
10117           use windows line end.
10118           
10119 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10120
10121         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10122           Send EOS event when stopping.
10123
10124 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * docs/README:
10127           Tell folks what to do if the plugin-foobar.xml file
10128           hasn't been generated for a newly-added plugin.
10129
10130 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10131
10132         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10133         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10134         (gst_collect_pads_start), (gst_collect_pads_stop),
10135         (gst_collect_pads_event): Collectpads now holds a reference
10136         to the GstPad that was added. Indeed we don't want to look
10137         at pads that might just go away with no warning...
10138
10139 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10140
10141         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10142         (gst_collect_pads_start), (gst_collect_pads_stop),
10143         (gst_collect_pads_event), (gst_collect_pads_chain):
10144         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10145         Mark Nauwelaerts's patch on bug #328491.
10146
10147 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10148
10149         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10150         (gst_utils_suite):
10151           Add some simple tests for gst_parse_bin_from_description() and
10152           gst_bin_find_unconnected_pad() (#329069).
10153
10154 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10155
10156         * tools/gst-launch.c: (event_loop), (main):
10157           Catch errors during preroll (#320084).
10158
10159 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10160
10161         * plugins/elements/gsttypefindelement.c:
10162         (gst_type_find_element_activate):
10163           Post TYPE_NOT_FOUND error message when typefinding
10164           is unsuccessful in the activate function as well.
10165
10166 2006-02-02  Wim Taymans  <wim@fluendo.com>
10167
10168         * docs/design/part-element-sink.txt:
10169         Updated doc.
10170
10171 2006-02-02  Wim Taymans  <wim@fluendo.com>
10172
10173         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10174         (gst_base_sink_render_object),
10175         (gst_base_sink_queue_object_unlocked):
10176         Only keep track of prerollable items when we are 
10177         prerolling.
10178         Before rendering after preroll, always check if we
10179         have queued items.
10180         Added some more debugging.
10181
10182 2006-02-02  Wim Taymans  <wim@fluendo.com>
10183
10184         * gst/gstelement.c: (gst_element_continue_state),
10185         (gst_element_set_state_func), (gst_element_change_state):
10186         Fixed #326576, been running this for quite some time with
10187         no regressions at all.
10188
10189 2006-02-02  Wim Taymans  <wim@fluendo.com>
10190
10191         * common/gst.supp:
10192         Added more suppressions
10193
10194 2006-02-02  Wim Taymans  <wim@fluendo.com>
10195
10196         * docs/design/part-element-sink.txt:
10197         Updated document.
10198
10199         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10200         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10201         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10202         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10203         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10204         (gst_base_sink_preroll_object),
10205         (gst_base_sink_queue_object_unlocked),
10206         (gst_base_sink_queue_object), (gst_base_sink_event),
10207         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10208         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10209         (gst_base_sink_get_position), (gst_base_sink_change_state):
10210         * libs/gst/base/gstbasesink.h:
10211         Totally refactored matching the design doc.
10212         Use two segments, one to clip incomming buffers and another to
10213         perform sync.
10214         Handle queueing correctly, bypass the queue when playing.
10215         Make EOS cancelable.
10216         Handle errors correctly when operating in pull based mode.
10217
10218         * tests/check/elements/fakesink.c: (GST_START_TEST),
10219         (fakesink_suite):
10220         Added new check for sinks.
10221
10222 2006-02-02  Wim Taymans  <wim@fluendo.com>
10223
10224         * gst/gstsegment.c: (gst_segment_clip):
10225         No reason to refuse to clip when start == -1
10226
10227 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10228
10229         * docs/README:
10230         * docs/manual/intro-basics.xml:
10231         * docs/manual/intro-preface.xml:
10232         * docs/manual/manual.xml:
10233         * docs/pwg/advanced-dparams.xml:
10234         * docs/pwg/intro-basics.xml:
10235         * docs/pwg/intro-preface.xml:
10236         * docs/pwg/pwg.xml:
10237           describe dparams (controller) for plugins
10238           unify docs a little more
10239
10240 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10241
10242         * docs/gst/gstreamer-sections.txt:
10243         * gst/gstutils.c: (element_find_unconnected_pad),
10244         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10245         * gst/gstutils.h:
10246           Add new API: gst_parse_bin_from_description() and
10247           gst_bin_find_unconnected_pad() (#329069).
10248
10249 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10250
10251         * docs/manual/README:
10252           uncover a nasty detail of the docs build
10253
10254 2006-01-31  Wim Taymans  <wim@fluendo.com>
10255
10256         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10257         Don't cache duration messages if we're not going to use or
10258         free them.
10259
10260 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10261
10262         * docs/manual/advanced-dparams.xml:
10263         * docs/pwg/advanced-dparams.xml:
10264           more dparam docs
10265         * gst/gstindex.c:
10266           fix docs
10267         * libs/gst/controller/lib.c: (gst_controller_init):
10268           init just once
10269
10270 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10271
10272         * gst/gstelement.c: (gst_element_message_full):
10273           also show file/line/func if no additional debug was given
10274
10275 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10276         
10277         * win32/vs7/grammar.vcproj:
10278           activate copy of autogenerated files for Release mode
10279
10280 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10281         
10282         * win32/common/libgstreamer.def:
10283           export gst_value_compare
10284
10285 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10286
10287         * plugins/elements/Makefile.am:
10288         * plugins/elements/gstelements.c:
10289         * plugins/elements/gstfdsink.c: (_do_init),
10290         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10291         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10292         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10293         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10294         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10295         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10296         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10297         * plugins/elements/gstfdsink.h:
10298         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10299
10300 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10301
10302         * docs/manual/advanced-dparams.xml:
10303           describe controller
10304         * docs/manual/advanced-position.xml:
10305         * docs/manual/basics-init.xml:
10306         * docs/manual/manual.xml:
10307         * docs/manual/titlepage.xml:
10308         * docs/pwg/pwg.xml:
10309         * docs/pwg/titlepage.xml:
10310           cleanup xml (more to come)
10311         * libs/gst/controller/gstcontroller.c:
10312           fix typo
10313
10314 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10315         
10316         * win32/vs6/grammar.dsp:
10317           add autogen of gstmarshal.c,h for Release mode
10318                 
10319 2006-01-30  Wim Taymans  <wim@fluendo.com>
10320
10321         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10322         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10323         (gst_base_sink_handle_object), (gst_base_sink_event),
10324         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10325         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10326         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10327         (gst_base_sink_deactivate), (gst_base_sink_activate),
10328         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10329         (gst_base_sink_query), (gst_base_sink_change_state):
10330         Basesink cleanups, remove some old code.
10331         Handle the case where a subclass can preroll in the render
10332         method (mostly audiosinks).
10333         Handle more events.
10334         Remove some locks around variables that are now protected
10335         with the PREROLL_LOCK (clock_id, flushing, ..).
10336         Optimize position query some more, do correct locking.
10337         Remove old code to push queue in state change, this is not
10338         needed anymore since preroll blocks on all prerollable items 
10339         now.
10340         Almost implemented as described in design doc.
10341
10342 2006-01-30  Wim Taymans  <wim@fluendo.com>
10343
10344         * tests/check/gst/gstbin.c: (GST_START_TEST):
10345         Wait for refcount to settle down before checking.
10346
10347 2006-01-30  Wim Taymans  <wim@fluendo.com>
10348
10349         * docs/design/part-element-sink.txt:
10350         Pseudo code overview of desired sink behaviour regarding
10351         preroll.
10352
10353 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10354         * win32/vs6/grammar.dsp:
10355           fix some bugs in Release mode for autogenerated files
10356                 
10357 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10358         * win32/common/libgstbase.def:
10359         * win32/common/libgstreamer.def:
10360           export some new symbols: gst_base_src_set_format,
10361           gst_iterator_next, gst_structure_set_valist
10362
10363 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10364
10365         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10366         Set pad functions unconditionally. Fixes #329105.
10367
10368 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10369         * win32/vs8:
10370           add vs8 project files created by Sergey Scobich
10371
10372 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10373
10374         * gst/gstutils.c: (gst_element_unlink_pads):
10375         Don't leak pad references.
10376
10377         * tests/check/elements/fakesink.c: (GST_START_TEST):
10378         * tests/check/generic/sinks.c: (GST_START_TEST):
10379         * tests/check/generic/states.c: (GST_START_TEST):
10380         * tests/check/gst/gstbin.c: (GST_START_TEST):
10381         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10382         * tests/check/gst/gstelement.c: (GST_START_TEST):
10383         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10384         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10385         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10386         Fix a bunch of leaks. Make generic/sinks.c
10387         use a bit less cpu by slowing the buffer rate
10388         between fakesrc and fakesink.
10389         
10390 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10391         * gst/gstcaps.c:
10392         * gst/gstelement.c: (gst_element_send_event):
10393         * gst/gstevent.c:
10394         * gst/gstinfo.c:
10395         * gst/gstiterator.c:
10396         * gst/gstiterator.h:
10397         * gst/gstpad.c: (gst_pad_send_event):
10398         * gst/gststructure.c:
10399         * gst/gsturi.c:
10400         * gst/gstutils.c:
10401         * gst/gstvalue.c:
10402         * libs/gst/base/gstadapter.c:
10403           doc fixes, to link to function, just write gst_cool_function(), don't
10404           prefix with '#'
10405
10406 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10407
10408         * plugins/elements/gsttee.c: (gst_tee_do_push),
10409         (gst_tee_handle_buffer):
10410         Always prefer an actual return value from a src
10411         pad in place of NOT_LINKED. This means we return
10412         WRONG_STATE when all src pads are WRONG_STATE
10413         instead of NOT_LINKED.
10414
10415         Lock when replacing the last message to prevent
10416         racing with the get_property method.
10417
10418         Add debug output
10419
10420 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10421
10422         * tests/check/Makefile.am:
10423         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10424         (main):
10425         Add a very simple check that should have caught the memleak I fixed
10426         last night (if not for the slice allocator hiding it)
10427
10428 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10429
10430         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10431         (gst_bin_remove_func), (gst_bin_handle_message_func),
10432         (bin_query_duration_fold), (bin_query_generic_fold):
10433         Clean up references to the clock provider when disposed or when
10434         handling a clock-lost message from it.
10435
10436         Unref sinks when performing a query via gst_iterator_fold, as the
10437         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10438
10439         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10440         (gst_clock_set_master):
10441         Drop our reference to the master clock, if any, when we are disposed.
10442
10443         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10444         Chain up in dispose. 
10445
10446 2006-01-26  Wim Taymans  <wim@fluendo.com>
10447
10448         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10449         Add some debugging.
10450
10451 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10452
10453         * plugins/elements/gsttee.c: (gst_tee_do_push),
10454         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10455         handles pad being NOT_LINKED or in WRONG_STATE.
10456
10457 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10458
10459         * win32/MANIFEST:
10460           more updating
10461
10462 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10463
10464         * win32/MANIFEST:
10465           remove obsolete entry
10466
10467 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10468
10469         * docs/gst/gstreamer-sections.txt:
10470         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10471         (gst_bin_iterate_sources), (gst_bin_send_event):
10472         * gst/gstbin.h:
10473         * gst/gstelement.c: (gst_element_send_event):
10474         * gst/gstevent.c:
10475         * gst/gstpad.c: (gst_pad_send_event):
10476           added code for downstream events, reviewed docs in gstevent.c
10477
10478 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10479
10480         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10481         We only query position using the clock in the playing state.
10482         Query peer in the other cases.
10483         * win32/common/config.h: Updates.
10484
10485 2006-01-24  Wim Taymans  <wim@fluendo.com>
10486
10487         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10488         A clock entry that is scheduled for the exact time of the
10489         clock is still in time.
10490
10491         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10492         (gst_base_sink_do_sync):
10493         Add some more debug info.
10494
10495 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10496
10497         * win32/vs7:
10498           Add new vs7 project files and solution.
10499
10500 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10501
10502         * win32/vs7:
10503           all files removed as they were out-dated.
10504
10505 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10506
10507         * docs/random/release:
10508           update notes
10509         * gst/gstbin.c: (gst_bin_init):
10510         * gst/gstbus.c: (gst_bus_new):
10511         * gst/gstbus.h:
10512         * gst/gstpipeline.c: (gst_pipeline_init):
10513           use gst_bus_new(), improve logging, fix docs
10514         * win32/common/config.h:
10515           update for cvs build
10516
10517 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10518
10519         * autogen.sh:
10520           up required version of automake to 1.7
10521
10522 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10523
10524         * win32/common/libgstreamer.def:
10525           export gst_buffer_is_metadata_writable
10526
10527 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10528
10529         * docs/gst/gstreamer-sections.txt:
10530         * gst/gstevent.h:
10531           Add gst_event_replace() (#327001)
10532
10533 2006-01-20  Wim Taymans  <wim@fluendo.com>
10534
10535         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10536         Make it actually compile too..
10537
10538 2006-01-20  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstcaps.c:
10541         Clarify behaviour of _is_equal() when passing NULL parameters.
10542
10543         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10544         (gst_pad_set_caps):
10545         Cleanups. Don't unref NULL caps.
10546         When setting the same caps, protect caps of the pad with
10547         proper lock.
10548         Use full functionality of _is_equal() when comparing caps.
10549
10550 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10551
10552         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10553         Don't loop infinitely if there are no buffers to present. Partially
10554         fixes #327197, but collectpads is just broken for reusing elements
10555         to do multiple encodes atm.
10556
10557 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10558
10559         * tools/gst-inspect.c: (print_element_features):
10560         * tools/gst-xmlinspect.c: (main):
10561         URL_HANDLER is not a plugin feature we can search for in
10562         the registry.
10563
10564 2006-01-19  Edward Hervey  <edward@fluendo.com>
10565
10566         * gst/gstelement.c: (gst_element_pads_activate): 
10567         When activating, do src pads first, then sink pads.
10568         When de-activating, do sink pads first, then src pads.
10569
10570 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10571
10572         * docs/gst/gstreamer-sections.txt:
10573         Add gst_index_add_associationv to the docs
10574
10575 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10576
10577         * gst/gstevent.c:
10578           Fix docs typo
10579
10580         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10581         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10582           Do some refactoring. Doesn't actually change functionality,
10583           but makes landing the DRAIN event easier later.
10584
10585 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10586
10587         * docs/pwg/advanced-scheduling.xml:
10588           Update from 0.9.x to 0.10 API and make example a bit
10589           clearer.
10590
10591 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10592
10593         * docs/gst/gstreamer-sections.txt:
10594         Add gst_buffer_(is|make)_metadata_writable methods.
10595
10596 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10597
10598         * docs/design/part-sparsestreams.txt:
10599         Update sparse streams doc, hopefully for greater clarity
10600
10601 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10602
10603         * docs/design/part-events.txt:
10604         Remove mention of FILLER events.
10605         Add DRAIN event.
10606
10607         * docs/design/part-sparsestreams.txt:
10608         Write some things about using NEWSEGMENT to keep sparse streams
10609         flowing.
10610
10611 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10612
10613         * gst/gstbin.c: (gst_bin_dispose):
10614           Guard gst_object_unref call against a NULL object (dispose
10615           can theoretically be called multiple times).
10616           
10617 2006-01-18  Wim Taymans  <wim@fluendo.com>
10618
10619         * gst/gstbin.c: (gst_bin_element_set_state):
10620         * gst/gstclock.c: (gst_clock_id_wait):
10621         Added some more debug info.
10622
10623         * libs/gst/base/gstadapter.c:
10624         Added more docs.
10625
10626         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10627         (gst_base_sink_do_sync), (gst_base_sink_chain):
10628         Added some comments.
10629
10630 2006-01-18  Wim Taymans  <wim@fluendo.com>
10631
10632         * tests/check/Makefile.am:
10633         * tests/check/elements/fakesink.c: (chain_async_buffer),
10634         (chain_async), (chain_async_return), (GST_START_TEST),
10635         (fakesink_suite), (main):
10636         Added fakesink test that checks prerolling and clipping
10637         behaviour.
10638
10639         * tests/check/gst/gstutils.c: (GST_START_TEST):
10640         Make check run faster so that buildbots don't timeout.
10641
10642 2006-01-18  Wim Taymans  <wim@fluendo.com>
10643
10644         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10645         (gst_base_sink_do_sync):
10646         Some cleanups.
10647         When the sink finishes blocking on the preroll buffer, it can
10648         immediatly render it instead of rendering when the next buffer
10649         arrives.
10650
10651 2006-01-18  Wim Taymans  <wim@fluendo.com>
10652
10653         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10654         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10655         (gst_base_sink_chain):
10656         Small cleanups.
10657         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10658         Don't store _last_stop if the buffer is dropped.
10659
10660 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10661
10662         * plugins/elements/gsttypefindelement.c:
10663         (gst_type_find_element_class_init):
10664           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10665           object method handler that sets the caps on the pad and we want
10666           that to happen before we emit the signal (fixes e.g. feeding a
10667           plain text file to decodebin).
10668
10669 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10670
10671         * gst/gstplugin.c: Add MPL and Proprietary as license options
10672
10673 2006-01-18  Andy Wingo  <wingo@pobox.com>
10674
10675         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10676         symbol was exported before, it appears this was just an oversight.
10677         Fixes #168703.
10678         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10679
10680         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10681         prototype to gint. OK since this prototype was not in the header.
10682
10683 2006-01-17  Andy Wingo  <wingo@pobox.com>
10684
10685         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10686         registry while we remove plugins.
10687
10688         * tools/gst-inspect.c (print_element_info): Don't unref the
10689         factory arg, that should be the responsibility of whatever code
10690         received the ref. Fixes a double-free when called from
10691         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10692         (main): Unref the factory if we have one.
10693         (print_element_list): No change -- relies on the
10694         plugin_feature_list_free to free the list of features.
10695
10696 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10697
10698         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10699         (gst_buffer_make_metadata_writable):
10700         * gst/gstbuffer.h:
10701         * libs/gst/base/gstbasetransform.c:
10702         (gst_base_transform_prepare_output_buf):
10703         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10704         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10705           Replace gst_buffer_(make|is)_metadata_writable patch now
10706           that the release is out.
10707
10708 2006-01-17  Andy Wingo  <wingo@pobox.com>
10709
10710         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10711         in the present tense without reference to versions.
10712
10713         * gst/gstregistry.c (gst_registry_add_plugin)
10714         (gst_registry_remove_plugin, gst_registry_remove_feature)
10715         (gst_registry_find_feature, gst_registry_get_feature_list)
10716         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10717         (gst_registry_lookup, gst_registry_scan_path)
10718         (_gst_registry_remove_cache_plugins)
10719         (gst_registry_get_feature_list_by_plugin): Add argument
10720         validation.
10721
10722 === release 0.10.2 ===
10723
10724 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10725
10726         * configure.ac:
10727           releasing 0.10.2, "If man is five"
10728
10729 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10730
10731         * gst/gstbuffer.c:
10732         * gst/gstbuffer.h:
10733         * libs/gst/base/gstbasetransform.c:
10734         (gst_base_transform_prepare_output_buf):
10735         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10736         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10737           Back out patch until after the release.
10738
10739 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10740
10741         * gst/gstminiobject.c:
10742           Spelling fix in docs.
10743         * ChangeLog - remove conflict indicator
10744
10745 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10746
10747         Reviewed By: Andy Wingo
10748
10749         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10750         (gst_buffer_make_metadata_writable):
10751         * gst/gstbuffer.h:
10752           Add gst_buffer_(is|make)_metadata_writable as analogues of
10753           gst_buffer_(is|make)_writable.
10754
10755         * libs/gst/base/gstbasetransform.c:
10756         (gst_base_transform_prepare_output_buf):
10757         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10758           Use name gst_buffer_(is|make)_metadata_writable functions.
10759
10760         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10761           Test gst_buffer_(is|make)_metadata_writable
10762         
10763           (Closes: #324162)
10764
10765 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10766
10767         * docs/manual/Makefile.am:
10768           don't do parallel make
10769         * configure.ac:
10770           AC_SUBST HOST_CPU
10771         * win32/common/config.h.in:
10772           add generations for HOST_CPU and GST_MAJORMINOR
10773         * win32/common/config.h:
10774           commit generated result
10775
10776 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * docs/manual/appendix-integration.xml:
10779           Update GNOME integration section to use gst_init_get_option_group()
10780           instead of the old popt stuff (#322911). Also, GNOME applications
10781           should  now use gconf*sink and gconf*src instead of the old gconf
10782           helper lib we had.
10783
10784 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
10785
10786
10787         * docs/gst/gstreamer-docs.sgml:
10788         * docs/gst/gstreamer-sections.txt:
10789         * docs/libs/gstreamer-libs-sections.txt:
10790           add new API entries to the docs
10791         * libs/gst/controller/Makefile.am:
10792         * libs/gst/controller/gstcontroller.c:
10793         * libs/gst/controller/gstcontroller.h:
10794         * libs/gst/controller/gstcontrollerprivate.h:
10795         * libs/gst/controller/gsthelper.c:
10796         * libs/gst/controller/gstinterpolation.c:
10797           move private structs to private header
10798         * po/README:
10799           gstreamer-0.7 -> gstreamer-0.10
10800         * tests/check/libs/struct_i386.h:
10801           remove private structs
10802
10803 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10804
10805         * plugins/indexers/Makefile.am:
10806           Fixes as part of #317048
10807
10808 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10809
10810         * plugins/indexers/Makefile.am:
10811           fix #316086 - compilation when mmap is missing
10812
10813 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
10814
10815         * libs/gst/base/gstbasesink.c:
10816           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
10817           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10818         * win32/common/config.h:
10819           added some defines GST_MAJORMINOR and HOST_CPU
10820         * win32/common/libgstbase.def:
10821         * win32/common/libgstreamer.def:
10822           added some exported functions.
10823
10824 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10825
10826         * libs/gst/controller/gstcontroller.c:
10827         (gst_controlled_property_set_interpolation_mode),
10828         (gst_controlled_property_new):
10829         * libs/gst/controller/gstcontroller.h:
10830         * libs/gst/controller/gstinterpolation.c:
10831         (interpolate_none_get_string_value_array):
10832           make G_TYPE_STRING controlable
10833
10834 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10835
10836         * tools/README:
10837         * tools/gst-feedback.1.in:
10838         * tools/gst-inspect.1.in:
10839         * tools/gst-launch.1.in:
10840         * tools/gst-md5sum.1.in:
10841         * tools/gst-typefind.1.in:
10842         * tools/gst-xmlinspect.1.in:
10843         * tools/gst-xmllaunch.1.in:
10844           cleanup man-pages, remove reference to gst-register, document env-vars
10845
10846 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
10847
10848         * gst/gstbuffer.c: (gst_buffer_span):
10849           gst_buffer_span should copy the timestamp of the first buffer
10850           if they were both originally overlapping subbuffers of the 
10851           same parent, using the same logic as the 'slow copy' case.
10852
10853 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
10854
10855         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10856           Need to awaken ALL the pads when we pop a buffer, otherwise
10857           collectpads only works when there is 2 input streams.
10858
10859 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
10860
10861         * docs/random/ensonic/media-device-daemon.txt:
10862           more ideas (dbus)
10863         * gst/gstbuffer.c:
10864           fix doc example, add clarification
10865         * tools/gst-launch.1.in:
10866           add initial info about GST_PLUGIN_PATH, needs more work
10867
10868 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10869
10870         * docs/manual/basics-bins.xml:
10871         * docs/manual/basics-elements.xml:
10872         * docs/manual/intro-basics.xml:
10873           Some more minor docs additions and updates.
10874
10875 2006-01-11  Wim Taymans  <wim@fluendo.com>
10876
10877         * docs/manual/basics-bins.xml:
10878         * docs/manual/basics-elements.xml:
10879         Some small fixes as pointed out by Ser-ver on IRC.
10880
10881 2006-01-10  Edward Hervey  <edward@fluendo.com>
10882
10883         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10884         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10885         the single-segment mode.
10886
10887 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
10888
10889         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10890
10891         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10892         (gst_base_src_perform_seek), (gst_base_src_send_event),
10893         (gst_base_src_set_property), (gst_base_src_get_property),
10894         (gst_base_src_loop), (gst_base_src_start),
10895         (gst_base_src_activate_push):
10896         * libs/gst/base/gstbasesrc.h:
10897           Name (private) union; makes Sun's Forte compiler happy (#324900).
10898
10899 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10900
10901         * README:
10902           gst-register is gone.
10903
10904 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10905
10906         * gst/gstvalue.c: (_gst_value_initialize):
10907           make the G_TYPE_DATE instantiation work if debug is disabled
10908
10909 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
10910
10911         * gst/gstmessage.c: (gst_message_parse_tag),
10912         (gst_message_parse_error), (gst_message_parse_warning):
10913           Don't crash when return location for error/warning debug
10914           string is NULL; add fact that return locations can be
10915           NULL to docs where appropriate.
10916
10917 2006-01-05  Wim Taymans  <wim@fluendo.com>
10918
10919         * gst/gstplugin.c: (gst_plugin_load_file):
10920         Replace strdup by g_strdup.
10921
10922 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10923
10924         * docs/pwg/advanced-types.xml:
10925           fix doc borkage
10926
10927 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10928
10929         submitted by: Abel Cheung
10930
10931         * po/LINGUAS:
10932         * po/zh_TW.po:
10933           Added Chinese (traditional) translation
10934
10935 2006-01-04  Wim Taymans  <wim@fluendo.com>
10936
10937         * docs/manual/basics-pads.xml:
10938         * docs/plugins/Makefile.am:
10939         * docs/plugins/gstreamer-plugins-docs.sgml:
10940         * docs/plugins/gstreamer-plugins-sections.txt:
10941         * docs/pwg/advanced-clock.xml:
10942         * docs/pwg/advanced-scheduling.xml:
10943         * docs/pwg/advanced-types.xml:
10944         * plugins/elements/gstfdsink.c:
10945         * plugins/elements/gstfdsrc.c:
10946         * plugins/elements/gstfdsrc.h:
10947         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10948         * plugins/elements/gstidentity.h:
10949         * plugins/elements/gstqueue.h:
10950         * plugins/elements/gsttee.c:
10951         * plugins/elements/gsttee.h:
10952         * plugins/elements/gsttypefindelement.c:
10953         (gst_type_find_element_class_init):
10954         * plugins/elements/gsttypefindelement.h:
10955         Small updates to various docs.
10956         Added core plugins to docs.
10957
10958 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10959
10960         * common/gst.supp:
10961           add a suppression for liboil's uninitialized variable
10962
10963 2006-01-02  James Livingston  <jrl at ids dot org dot au>
10964
10965         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * gst/gstutils.h:
10968           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10969           macro, so that gcc doesn't complain if the -Wmissing-prototypes
10970           compiler switch is being used (#325429).
10971
10972 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
10973
10974         * gst/gstbin.c: (gst_bin_query):
10975           Disable duration query caching in bins until it gets
10976           fixed (see #324807).
10977
10978 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10979
10980         * tools/gst-inspect.c: (print_element_properties_info):
10981           Handle properties of POINTER and BOXED type.
10982
10983 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10984
10985         * gst/gst.c: (init_post):
10986           Init tags stuff and some other things before loading
10987           any static plugins (there may be other static plugins
10988           than just the GStreamer ones, and they may want to
10989           register their own tags or formats or whatever, and
10990           preferably without segfaulting).
10991
10992         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10993           Print at least a warning in the debug logs if we drop a
10994           query just because we don't know how to adjust the value
10995           in the particular format.
10996
10997 2005-12-24  David Schleef  <ds@schleef.org>
10998
10999         * tools/gstreamer-completion:
11000           Replacement for gst-complete written in sh and sed.  Only
11001           completes names of features, but that's 90% of what I want
11002           it for.  Properties are not available in registry.xml.  (Maybe
11003           they should be...)
11004
11005 === release 0.10.1 ===
11006
11007 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
11008
11009         * configure.ac:
11010           releasing 0.10.1, "Nollaig chridheil"
11011
11012 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
11013
11014         * docs/faq/cvs.xml:
11015           Add missing quote, should be make ERROR_CFLAGS="".
11016
11017 2005-12-20  Wim Taymans  <wim@fluendo.com>
11018
11019         * docs/design/part-trickmodes.txt:
11020         More documentation on trickmodes.
11021
11022 2005-12-20  Edward Hervey  <edward@fluendo.com>
11023
11024         * gst/gstcaps.c: (gst_static_caps_get_type):
11025         * gst/gstcaps.h:
11026           API addition: GST_TYPE_STATIC_CAPS
11027         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11028         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11029         * gst/gstpadtemplate.h:
11030           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11031         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11032         bindings.
11033
11034 2005-12-18  Wim Taymans  <wim@fluendo.com>
11035
11036         * libs/gst/base/gstadapter.c:
11037         * libs/gst/base/gstadapter.h:
11038         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11039         (gst_base_sink_get_position):
11040         * libs/gst/base/gstbasesink.h:
11041         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11042         (gst_base_src_default_query), (gst_base_src_default_do_seek),
11043         (gst_base_src_do_seek), (gst_base_src_perform_seek),
11044         (gst_base_src_send_event), (gst_base_src_update_length),
11045         (gst_base_src_get_range), (gst_base_src_loop),
11046         (gst_base_src_start):
11047         * libs/gst/base/gstbasesrc.h:
11048         * libs/gst/base/gstbasetransform.h:
11049         * libs/gst/base/gstcollectpads.h:
11050         * libs/gst/base/gstpushsrc.c:
11051         * libs/gst/base/gstpushsrc.h:
11052         * libs/gst/dataprotocol/dataprotocol.c:
11053         * libs/gst/dataprotocol/dataprotocol.h:
11054         * libs/gst/net/gstnetclientclock.h:
11055         * libs/gst/net/gstnettimeprovider.h:
11056         Documentation updates.
11057
11058 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
11059
11060         * docs/manual/basics-helloworld.xml:
11061           Remove superfluous closing bracket in helloworld example.
11062
11063 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * tools/gst-launch.1.in:
11066           Update gst-launch man page; add a section with useful
11067           environment variables. Fixes #323882.
11068
11069 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
11070
11071         * gst/gst.c:
11072         * gst/gst_private.h:
11073           change some char* into char[]
11074
11075 2005-12-16  Wim Taymans  <wim@fluendo.com>
11076
11077         * gst/gstregistryxml.c: (load_feature):
11078         Cleanups.
11079         Don't use g_object_unref on GstObjects so that we avoid
11080         leaks on unsafe glibs.
11081
11082 2005-12-16  Wim Taymans  <wim@fluendo.com>
11083
11084         * gst/gstbin.c: (gst_bin_recalc_state):
11085         Small doc updates.
11086
11087 2005-12-16  Wim Taymans  <wim@fluendo.com>
11088
11089         * common/check.mak:
11090         Added make forever target for check.
11091
11092 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11093
11094         * gst/gst.c: (init_post):
11095           make the registry cache file HOST_CPU-dependent
11096
11097 2005-12-16  Andy Wingo  <wingo@pobox.com>
11098
11099         * plugins/elements/gstbufferstore.c
11100         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11101         return value.
11102
11103         * tests/check/gst/gstobject.c
11104         (test_fake_object_name_threaded_unique): Pay attention to
11105         g_list_sort return value.
11106
11107 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11108
11109         * tools/gst-feedback-m.m:
11110           Update for 0.9/0.10 (fixes #323870).
11111
11112 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11113
11114         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11115           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11116           
11117         * tests/check/gst/gstminiobject.c: (my_foo_init),
11118         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11119         (test_value_collection), (gst_mini_object_suite):
11120           Add test to ensure refcounts end up as expected when passing
11121           GstMiniObjects through g_object_get() and g_object_set().
11122
11123 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11124
11125         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11126         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11127         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11128         of collectpads. This version removes a lot of races without
11129         touching API/ABI. Yay !
11130
11131 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11132
11133         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11134           Don't allow activation of a srcpad in pull_range if it has no
11135           getrange function.
11136           Change some debug statements to be a little clearer
11137
11138         * plugins/elements/gsttypefindelement.c:
11139         (gst_type_find_handle_src_query):
11140           Check that we have a peer before executing queries thereupon.
11141
11142         * tests/examples/metadata/read-metadata.c: (message_loop):
11143           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11144           immediately return us any available message with 0 timeout.
11145
11146 2005-12-12  Michael Smith  <msmith@fluendo.com>
11147
11148         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11149           Don't unref factories after calling them.
11150         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11151         * plugins/elements/gsttypefindelement.c:
11152         (gst_type_find_element_chain):
11153           Free lists of factories after using them. Fixing typefinding memory
11154           leaks.
11155
11156 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11157
11158         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11159         (gst_plugin_feature_load):
11160           more meaningful debug output
11161         * configure.ac:
11162         * tests/Makefile.am:
11163         * tests/old/examples/Makefile.am:
11164           make make distcheck happy again
11165
11166 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11167
11168         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11169           Catch the special case where we are operating chain-based,
11170           but the downstream peer pad has no chain function. Emit a
11171           custom error message in this case instead of letting the
11172           core generate one implying that this is some sort of core
11173           bug. It's not, it just means that whatever got plugged
11174           into the pipeline downstream when we announced the type
11175           can only operate pull-based, while our source can only
11176           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11177           Error string has not been marked for translation yet, as
11178           it probably needs some more work first.
11179
11180         (gst_type_find_element_get_best_possibility):
11181           Add helper function to find the best of all available
11182           found possibilities that qualify given the min. threshold.
11183
11184         (gst_type_find_element_handle_event):
11185           Fix the case where we get an EOS while still in TYPEFIND
11186           mode (we want to chose the best of all possible types,
11187           not just the first type that happens to be in our unsorted
11188           list of possible types).
11189
11190         (gst_type_find_element_chain):
11191           Make sure we return GST_FLOW_ERROR when we errored out
11192           in stop_typefinding(); also, don't just find the best of
11193           all found type entries and then use the last examined
11194           type entry, but actually use the best entry.
11195
11196 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * tests/examples/typefind/typefind.c: (type_found):
11199         * tests/examples/xml/runxml.c: (xml_loaded):
11200           More gcc4 fixes and a mem leak fix.
11201
11202 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11203
11204         * tests/examples/xml/createxml.c: (object_saved):
11205           gcc 4 fixes
11206
11207 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11208
11209         * tests/Makefile.am:
11210           enable the examples even more
11211
11212 2005-12-12  Andy Wingo  <wingo@pobox.com>
11213
11214         * libs/gst/net/gstnettimeprovider.c
11215         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11216         (gst_net_time_provider_set_property)
11217         (gst_net_time_provider_get_property):
11218         API addition: Export "active" as a GObject property.
11219         (gst_net_time_provider_thread): Only respond to time queries if
11220         the time provider is active.
11221
11222         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11223         NetTimeProvider, preserving binary compat.
11224
11225 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11226
11227         * tests/examples/controller/audio-example.c: (main):
11228         * tests/examples/launch/Makefile.am:
11229           convert comments again
11230
11231 2005-12-12  Wim Taymans  <wim@fluendo.com>
11232
11233         * libs/gst/base/gstpushsrc.c:
11234         Fix typo.
11235
11236 2005-12-12  Wim Taymans  <wim@fluendo.com>
11237
11238         * docs/libs/gstreamer-libs-sections.txt:
11239         Added new symbol to docs.
11240
11241         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11242         (gst_base_src_init), (gst_base_src_set_format),
11243         (gst_base_src_default_query), (gst_base_src_query),
11244         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11245         (gst_base_src_perform_seek), (gst_base_src_send_event),
11246         (gst_base_src_default_event), (gst_base_src_event_handler),
11247         (gst_base_src_set_property), (gst_base_src_get_property),
11248         (gst_base_src_wait), (gst_base_src_do_sync),
11249         (gst_base_src_update_length), (gst_base_src_get_range),
11250         (gst_base_src_check_get_range), (gst_base_src_loop),
11251         (gst_base_src_default_negotiate), (gst_base_src_start),
11252         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11253         (gst_base_src_change_state):
11254         * libs/gst/base/gstbasesrc.h:
11255         Implement seeking to other formats than _BYTES.
11256         Implement more seeking methods correctly.
11257         Doc updates.
11258         Added query vmethod.
11259         Added do_seek vmethod to make life easier for subclasses
11260         when seeking.
11261         API addition: gst_base_src_set_format()
11262
11263 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11264
11265         * tests/examples/Makefile.am:
11266           added that too
11267
11268 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11269
11270         * configure.ac:
11271         * docs/random/ensonic/media-device-daemon.txt:
11272         * tests/examples/controller/.cvsignore:
11273         * tests/examples/controller/Makefile.am:
11274         * tests/examples/controller/audio-example.c: (main):
11275         * tests/examples/helloworld/.cvsignore:
11276         * tests/examples/helloworld/Makefile.am:
11277         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11278         * tests/examples/launch/.cvsignore:
11279         * tests/examples/launch/Makefile.am:
11280         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11281         * tests/examples/metadata/.cvsignore:
11282         * tests/examples/metadata/Makefile.am:
11283         * tests/examples/metadata/read-metadata.c: (message_loop),
11284         (make_pipeline), (print_tag), (main):
11285         * tests/examples/queue/.cvsignore:
11286         * tests/examples/queue/Makefile.am:
11287         * tests/examples/queue/queue.c: (event_loop), (main):
11288         * tests/examples/typefind/.cvsignore:
11289         * tests/examples/typefind/Makefile.am:
11290         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11291         (main):
11292         * tests/examples/xml/.cvsignore:
11293         * tests/examples/xml/Makefile.am:
11294         * tests/examples/xml/createxml.c: (object_saved), (main):
11295         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11296         * tests/old/examples/Makefile.am:
11297         * tests/old/examples/TODO:
11298         * tests/old/examples/controller/.cvsignore:
11299         * tests/old/examples/controller/Makefile.am:
11300         * tests/old/examples/controller/audio-example.c:
11301         * tests/old/examples/helloworld/.cvsignore:
11302         * tests/old/examples/helloworld/Makefile.am:
11303         * tests/old/examples/helloworld/helloworld.c:
11304         * tests/old/examples/launch/.cvsignore:
11305         * tests/old/examples/launch/Makefile.am:
11306         * tests/old/examples/launch/mp3parselaunch.c:
11307         * tests/old/examples/launch/mp3play:
11308         * tests/old/examples/manual/Makefile.am:
11309         * tests/old/examples/metadata/Makefile.am:
11310         * tests/old/examples/metadata/read-metadata.c:
11311         * tests/old/examples/queue/.cvsignore:
11312         * tests/old/examples/queue/Makefile.am:
11313         * tests/old/examples/queue/queue.c:
11314         * tests/old/examples/typefind/.cvsignore:
11315         * tests/old/examples/typefind/Makefile.am:
11316         * tests/old/examples/typefind/typefind.c:
11317         * tests/old/examples/xml/.cvsignore:
11318         * tests/old/examples/xml/Makefile.am:
11319         * tests/old/examples/xml/createxml.c:
11320         * tests/old/examples/xml/runxml.c:
11321           applied some simple fixing to some examples
11322           re-enabled the working examples
11323
11324 2005-12-12  Wim Taymans  <wim@fluendo.com>
11325
11326         * gst/gstsegment.c: (gst_segment_init),
11327         (gst_segment_set_last_stop), (gst_segment_set_seek),
11328         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11329         (gst_segment_to_running_time):
11330         Added more documentation.
11331         Make sure the last_pos value is updated properly.
11332         Make sure to_stream_time and to_running_time don't
11333         operate on wrong values.
11334
11335         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11336         Update check.
11337
11338 2005-12-12  Michael Smith  <msmith@fluendo.com>
11339
11340         * plugins/elements/gsttypefindelement.c: (free_entry),
11341         (gst_type_find_element_chain):
11342           Now that we're not leaking factories, make sure we keep references
11343           to them while we need them.
11344
11345 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11346
11347         * tests/check/gst/struct_i386.h:
11348           ifdef out the XML structs
11349
11350 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11351
11352         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11353           floor is not needed, F is always positive; this obviates the
11354           need for adding -lm when building without libxml
11355
11356 2005-12-12  Wim Taymans  <wim@fluendo.com>
11357
11358         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11359         Take current playback rate into account when reporting
11360         the position.
11361
11362 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11363
11364         * docs/manual/mime-world.fig:
11365           Let's try this again, this time with a file that is
11366           actually in XFig format.
11367
11368 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11369
11370         * docs/manual/mime-world.fig:
11371           Add audioconvert element to diagram so that it
11372           matches the text and the code (fixes #319526).
11373
11374 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11375
11376         * docs/pwg/building-chainfn.xml:
11377         * docs/pwg/building-pads.xml:
11378         * docs/pwg/building-state.xml:
11379         * docs/pwg/other-source.xml:
11380           Update state change stuff for 0.10 (fixes #322969).
11381
11382 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11383
11384         * docs/manual/advanced-dataaccess.xml:
11385         * docs/manual/appendix-checklist.xml:
11386         * docs/manual/appendix-programs.xml:
11387         * docs/manual/basics-pads.xml:
11388         * docs/manual/highlevel-components.xml:
11389         * docs/manual/manual.xml:
11390           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11391           add converters in front of pipelines; remove curly
11392           brackets for threads stuff, they no longer exist; use
11393           GST_TYPE_FRACTION for framerates; update some pieces of
11394           code to 0.10, but there's plenty more to do.
11395
11396         * docs/manual/appendix-porting.xml:
11397           Expand on asynchroneous state changes; s/0.9/0.10/;
11398           mention disappearance of gst_init_get_popt_table()
11399           (fixes #322916).
11400
11401 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * docs/faq/using.xml:
11404           Spider no longer exists, and neither does gst-launch-ext.
11405           Update examples to use decodebin and playbin and put
11406           converters in front of sinks (fixes #323726).
11407
11408 2005-12-09  Michael Smith  <msmith@fluendo.com>
11409
11410         * plugins/elements/gsttypefindelement.c: (find_peek),
11411         (gst_type_find_element_chain):
11412           Fix leaking element factories in typefinding.
11413           Fix problem where we forgot about a probable type on non-seekable
11414           files, and thus later mis-typefound it.
11415
11416 2005-12-09  Michael Smith  <msmith@fluendo.com>
11417
11418         * common/m4/gst-makecontext.m4:
11419         * common/m4/gst-mcsc.m4:
11420         * configure.ac:
11421         * win32/common/config.h:
11422         * win32/common/config.h.in:
11423           Remove makecontext stuff; not used in 0.10 and causes problems on
11424           HPUX according to bug #322441
11425
11426 2005-12-07  Wim Taymans  <wim@fluendo.com>
11427
11428         * tests/check/Makefile.am:
11429         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11430         (main):
11431         * tests/check/libs/struct_i386.h:
11432         Added ABI check for libs
11433
11434 2005-12-07  Wim Taymans  <wim@fluendo.com>
11435
11436         * tests/check/Makefile.am:
11437         And add the struct_i386.h to dist.
11438
11439 2005-12-07  Wim Taymans  <wim@fluendo.com>
11440
11441         * tests/check/Makefile.am:
11442         * tests/check/gst/.cvsignore:
11443         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11444         (main):
11445         * tests/check/gst/struct_i386.h:
11446         Added check for ABI compatibility.
11447
11448 2005-12-07  Wim Taymans  <wim@fluendo.com>
11449
11450         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11451         (gst_fake_src_get_times), (gst_fake_src_create):
11452         Fix broken sync option, fixes #323259
11453
11454 2005-12-07  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstbuffer.c:
11457         Small docs update.
11458
11459         * gst/gstcaps.c: (gst_caps_is_equal):
11460         Don't assert on NULL <--> X. Fixes #323260
11461
11462         * gst/gstminiobject.c: (gst_mini_object_replace):
11463         If we're doing atomic operations, we might just as well use
11464         the proper way to get an atomic pointer.
11465
11466         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11467         Clean up debugging.
11468
11469 2005-12-07  Michael Smith  <msmith@fluendo.com>
11470
11471         * gst/parse/grammar.y:
11472           Remove handling of { } for threads.
11473
11474 2005-12-06  David Schleef  <ds@schleef.org>
11475
11476         * libs/gst/base/gstbasetransform.c: speling fix.
11477
11478 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11479
11480         * docs/libs/tmpl/gstdataprotocol.sgml:
11481         * docs/random/omega/testing/gstobject.c:
11482         * gst/gst.c:
11483         * gst/gstclock.c:
11484         * gst/gstelement.c:
11485         * gst/gstelementfactory.c:
11486         * gst/gsterror.c:
11487         * gst/gstevent.c:
11488         * gst/gstghostpad.c:
11489         * gst/gstinfo.c:
11490         * gst/gstpadtemplate.c:
11491         * gst/gstregistryxml.c:
11492         * gst/gsttaglist.c:
11493         * gst/gsttagsetter.c:
11494         * gst/gsttypefind.c:
11495         * gst/gstvalue.c:
11496         * libs/gst/base/gstbasesrc.c:
11497         * libs/gst/net/gstnetclientclock.c:
11498         * libs/gst/net/gstnettimeprovider.c:
11499         * plugins/elements/gstfakesrc.c:
11500         * plugins/elements/gstfdsrc.c:
11501         * plugins/elements/gstfilesrc.c:
11502         * plugins/elements/gstidentity.c:
11503         * plugins/elements/gstqueue.c:
11504         * plugins/elements/gsttypefindelement.c:
11505         * plugins/indexers/gstfileindex.c:
11506         * plugins/indexers/gstmemindex.c:
11507         * tests/check/gst/gsttag.c:
11508         * tests/old/examples/cutter/cutter.c:
11509         * tests/old/examples/mixer/mixer.c:
11510         * tests/old/examples/xml/runxml.c: (main):
11511         * tests/old/testsuite/caps/normalisation.c:
11512         * tests/old/testsuite/debug/global.c:
11513         * tests/old/testsuite/parse/parse1.c:
11514         * tools/gst-xmlinspect.c:
11515         * win32/common/dirent.c:
11516           expand tabs
11517
11518 === release 0.10.0 ===
11519
11520 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11521
11522         * configure.ac:
11523           releasing 0.10.0, "Maroilles"
11524
11525 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11526
11527         submitted by: Funda Wang <fundawang@linux.net.cn>
11528
11529         * po/LINGUAS:
11530         * po/zh_CN.po:
11531           added Chinese (Traditional) translation
11532
11533 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11534
11535         * docs/gst/gstreamer-sections.txt:
11536         * docs/libs/tmpl/gstdataprotocol.sgml:
11537         * docs/random/thomasvs/TODO:
11538         * gst/gstutils.c:
11539         * gst/gstutils.h:
11540           fix docs
11541
11542 2005-12-05  Andy Wingo  <wingo@pobox.com>
11543
11544         patch by: Wim Taymans <wim@fluendo.com>
11545
11546         * libs/gst/base/gstbasetransform.c
11547         (gst_base_transform_prepare_output_buf)
11548         (gst_base_transform_buffer_alloc):
11549         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11550         alloc_buffer_and_set_caps.
11551
11552         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11553         set_caps on the source pad.
11554         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11555         alloc_buffer used to do. Fixes #322874.
11556
11557         * docs/gst/gstreamer-sections.txt: 
11558         * docs/design/part-negotiation.txt: 
11559         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11560         changes.
11561
11562 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11563
11564         patch by: Sebastien Moutte
11565
11566         * win32/MANIFEST:
11567         * win32/common/config.h.in:
11568         * win32/vs6/libgstcontroller.dsp:
11569           win32 build fixes
11570
11571 2005-12-05  Wim Taymans  <wim@fluendo.com>
11572
11573         * gst/gstcaps.c: (gst_caps_is_equal):
11574         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11575         (gst_fake_src_create):
11576         Back out previous code changes, leave doc updates, file bugs 
11577         instead. 
11578
11579 2005-12-05  Wim Taymans  <wim@fluendo.com>
11580
11581         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11582         (gst_fake_src_get_times), (gst_fake_src_create):
11583         * plugins/elements/gstfakesrc.h:
11584         Fix broken sync code.
11585
11586 2005-12-05  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/gstcaps.c: (gst_caps_is_equal):
11589         Comparing NULL against !NULL yields different caps, not a
11590         failure.
11591
11592 2005-12-05  Wim Taymans  <wim@fluendo.com>
11593
11594         * gst/gstpipeline.c:
11595         Fix small typo in docs.
11596
11597 2005-12-05  Andy Wingo  <wingo@pobox.com>
11598
11599         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11600
11601         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11602         registries/plugins with a MAJORMINOR one.
11603         (plugin_desc): Rename library from gstcoreleements to
11604         staticelements. Fixes #323222.
11605
11606 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11609           Change debug category to 'collectpads' from 'collect_pads'
11610           (fixes #323250).
11611
11612 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11613
11614         patch by: Sebastien Moutte
11615
11616         * libs/gst/controller/gstinterpolation.c:
11617           use convert function for uint64/double
11618         * win32/vs6/libgstcontroller.dsp:
11619           link to GLib
11620
11621 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11622
11623         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11624         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11625         * gst/gstutils.h:
11626         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11627           add tests that seem to show that the guint64/gdouble conversions
11628           are correct.
11629
11630 2005-12-02  Wim Taymans  <wim@fluendo.com>
11631
11632         * gst/gstregistry.c: (gst_registry_add_path):
11633         * gst/gstregistry.h:
11634         * gst/gstregistryxml.c:
11635         Fix docs again.
11636
11637 2005-12-02  Wim Taymans  <wim@fluendo.com>
11638
11639         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11640         (gst_util_uint64_scale_int):
11641         Small cleanup.
11642
11643         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11644         Add debug log line.
11645
11646         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11647         Add FIXME.
11648
11649 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11650
11651         * win32/MANIFEST:
11652         * win32/common/config.h:
11653         * win32/vs6/gstreamer.dsw:
11654         * win32/vs6/libgstcoreelements.dsp:
11655         * win32/vs6/libgstelements.dsp:
11656           renamed core elements plugin
11657
11658 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11659
11660         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11661         (get_candidates):
11662           do piece-wise major/minor comparison so 0.9 < 0.10
11663           also allow .exe extensions for tools
11664
11665 2005-12-02  Michael Smith  <msmith@fluendo.com>
11666
11667         * gst/gst.c:
11668           Escape a % to make gtkdoc happier; bug 322958.
11669
11670 === release 0.9.7 ===
11671
11672 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11673
11674         * configure.ac:
11675           releasing 0.9.7, "My Dog Has No Nose"
11676
11677 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11678
11679         * common/gst-xmlinspect.py:
11680         * configure.ac:
11681         * docs/libs/tmpl/gstdataprotocol.sgml:
11682         * docs/random/release:
11683         * po/af.po:
11684         * po/az.po:
11685         * po/bg.po:
11686         * po/ca.po:
11687         * po/cs.po:
11688         * po/de.po:
11689         * po/en_GB.po:
11690         * po/fr.po:
11691         * po/it.po:
11692         * po/nb.po:
11693         * po/nl.po:
11694         * po/ru.po:
11695         * po/sq.po:
11696         * po/sr.po:
11697         * po/sv.po:
11698         * po/tr.po:
11699         * po/uk.po:
11700         * po/vi.po:
11701         * win32/common/config.h:
11702         * win32/common/config.h.in:
11703         * win32/vs6/gst_inspect.dsp:
11704         * win32/vs6/gst_launch.dsp:
11705         * win32/vs6/libgstbase.dsp:
11706         * win32/vs6/libgstelements.dsp:
11707         * win32/vs6/libgstreamer.dsp:
11708         * win32/vs7/GStreamer.vcproj:
11709         * win32/vs7/gst-inspect.vcproj:
11710         * win32/vs7/gst-launch.vcproj:
11711         * win32/vs7/libgstbase.vcproj:
11712           bump GST_MAJORMINOR to 0.10
11713           reset libtool version
11714
11715 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11716
11717         * po/LINGUAS:
11718         * po/bg.po:
11719           Added Bulgarian translation by (Alexander Shopov)
11720
11721 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11722
11723         * tests/check/gst/gstplugin.c:
11724           fix test
11725
11726 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11727
11728         * common/gst-xmlinspect.py:
11729         * common/gtk-doc-plugins.mak:
11730         * configure.ac:
11731         * docs/Makefile.am:
11732         * docs/gst/Makefile.am:
11733         * docs/gst/gstreamer-docs.sgml:
11734         * docs/gst/gstreamer-sections.txt:
11735         * docs/gst/gstreamer.types:
11736         * docs/gst/gstreamer.types.in:
11737         * docs/plugins/Makefile.am:
11738         * docs/plugins/gstreamer-plugins-docs.sgml:
11739         * docs/plugins/gstreamer-plugins-sections.txt:
11740         * docs/plugins/gstreamer-plugins.types:
11741         * docs/plugins/inspect.stamp:
11742         * docs/plugins/inspect/plugin-coreelements.xml:
11743         * docs/plugins/inspect/plugin-coreindexers.xml:
11744         * docs/plugins/scanobj-build.stamp:
11745         * gstreamer.spec.in:
11746         * plugins/elements/Makefile.am:
11747         * plugins/elements/gstelements.c:
11748         * plugins/elements/gstfakesink.c:
11749         * plugins/elements/gstfakesrc.c:
11750         * plugins/elements/gstfilesink.c:
11751         * plugins/elements/gstfilesrc.c:
11752         * plugins/elements/gstqueue.c:
11753         * plugins/indexers/Makefile.am:
11754         * plugins/indexers/gstindexers.c:
11755           document core plugins in a separate document just like all the
11756           others
11757           rename these plugins to something starting with core
11758
11759 2005-12-01  Andy Wingo  <wingo@pobox.com>
11760
11761         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11762         padding here before, but it missed the commit.
11763
11764 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11765
11766         * libs/gst/controller/gstinterpolation.c:
11767           whitespace prices have crashed, we should feel free to use some now
11768           use gst_guint64_to_gdouble
11769
11770 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11771
11772         * libs/gst/controller/gstcontroller.c:
11773         * libs/gst/controller/gsthelper.c:
11774         * libs/gst/controller/gstinterpolation.c:
11775         * libs/gst/controller/lib.c:
11776           wrap config.h include
11777
11778 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11779
11780         * docs/gst/gstreamer-sections.txt:
11781           update docs
11782
11783 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11784
11785         * plugins/elements/gstelements.c:
11786         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11787         (gst_fd_sink__class_init), (gst_fd_sink__init),
11788         (gst_fd_sink__chain), (gst_fd_sink__set_property),
11789         (gst_fd_sink__get_property):
11790         * plugins/elements/gstfdsink.h:
11791         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11792         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11793         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11794         (gst_fd_src_unlock), (gst_fd_src_set_property),
11795         (gst_fd_src_get_property), (gst_fd_src_create),
11796         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11797         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11798         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11799         (gst_fd_src_uri_handler_init):
11800         * plugins/elements/gstfdsrc.h:
11801         * plugins/elements/gstqueue.c: (gst_queue_get_type):
11802           more anal cleanup
11803
11804 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11805
11806         * docs/gst/Makefile.am:
11807         * docs/gst/gstreamer.types.in:
11808         * gst/Makefile.am:
11809           fix the docs build
11810
11811 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11812
11813         * configure.ac:
11814         * gst/Makefile.am:
11815         * gst/gst.c:
11816         * gst/gstplugin.h:
11817         * gst/gstregistry.h:
11818         * tests/benchmarks/complexity.c:
11819         * tests/benchmarks/mass-elements.c:
11820         * tests/check/Makefile.am:
11821         * tools/Makefile.am:
11822         * tools/gst-inspect.c:
11823         * tools/gst-xmlinspect.c:
11824           various fixes to make
11825           --disable-nls --disable-registry --disable-loadsave
11826           --disable-parse --disable-gst-debug
11827           work and get the core .so down to 360444 bytes after stripping
11828
11829 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11830
11831         * Makefile.am:
11832         * configure.ac:
11833           descend into tests
11834         * docs/random/thomasvs/TODO:
11835         * tests/Makefile.am:
11836         * tests/README:
11837           add a README
11838
11839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11840
11841         * win32/GStreamer.vcproj:
11842         * win32/MANIFEST:
11843         * win32/Makefile:
11844         * win32/Makefile.inspect:
11845         * win32/Makefile.launch:
11846         * win32/Makefile.register:
11847         * win32/README.txt:
11848         * win32/gst-inspect.vcproj:
11849         * win32/gst-launch.vcproj:
11850         * win32/gst-register.vcproj:
11851         * win32/gstelements.vcproj:
11852         * win32/gstgetbits.def:
11853         * win32/gstgetbits.vcproj:
11854         * win32/gstreamer-dbg.def:
11855         * win32/gstreamer.def:
11856         * win32/libgstbase.def:
11857         * win32/libgstbase.vcproj:
11858         * win32/link_oldruntime.c:
11859         * win32/mman.c:
11860         * win32/mman.h:
11861         * win32/mman.inl:
11862         * win32/msvc71.sln:
11863           move even more stuff, win32/ is nice and clean now
11864
11865 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11866
11867         * libs/gst/control/.cvsignore:
11868         * win32/MANIFEST:
11869         * win32/config.h:
11870         * win32/dirent.c:
11871         * win32/dirent.h:
11872         * win32/gstbytestream.def:
11873         * win32/gstbytestream.vcproj:
11874         * win32/gstconfig.h:
11875         * win32/gstenumtypes.c:
11876         * win32/gstenumtypes.h:
11877         * win32/gstoptimalscheduler.vcproj:
11878         * win32/gstversion.h:
11879         * win32/gtchar.h:
11880         * win32/testsuite/bins.vcproj:
11881         * win32/testsuite/bytestream.vcproj:
11882         * win32/testsuite/caps.vcproj:
11883         * win32/testsuite/cleanup.vcproj:
11884         * win32/testsuite/clock.vcproj:
11885         * win32/testsuite/debug.vcproj:
11886         * win32/testsuite/dlopen.vcproj:
11887         * win32/testsuite/dynparams.vcproj:
11888         * win32/testsuite/elements.vcproj:
11889         * win32/testsuite/ghostpads.vcproj:
11890         * win32/testsuite/indexers.vcproj:
11891         * win32/testsuite/negotiation.vcproj:
11892         * win32/testsuite/parse.vcproj:
11893         * win32/testsuite/plugin.vcproj:
11894         * win32/testsuite/refcounting.vcproj:
11895         * win32/testsuite/schedulers.vcproj:
11896         * win32/testsuite/states.vcproj:
11897         * win32/testsuite/tags.vcproj:
11898         * win32/testsuite/threads.vcproj:
11899           remove old win32 stuff that isn't maintained and should be
11900           reorganized
11901
11902 2005-11-30  Andy Wingo  <wingo@pobox.com>
11903
11904         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11905         loading the gst.interfaces python module bork.
11906
11907         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11908         available since GLib 2.2. Fixes #318031.
11909
11910 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11911
11912         * Makefile.am:
11913         * check/.cvsignore:
11914         * check/Makefile.am:
11915         * check/elements/.cvsignore:
11916         * check/elements/fakesrc.c:
11917         * check/elements/fdsrc.c:
11918         * check/elements/identity.c:
11919         * check/generic/.cvsignore:
11920         * check/generic/states.c:
11921         * check/gst-libs/.cvsignore:
11922         * check/gst-libs/controller.c:
11923         * check/gst-libs/gdp.c:
11924         * check/gst/.cvsignore:
11925         * check/gst/capslist.h:
11926         * check/gst/gst.c:
11927         * check/gst/gstbin.c:
11928         * check/gst/gstbuffer.c:
11929         * check/gst/gstbus.c:
11930         * check/gst/gstcaps.c:
11931         * check/gst/gstelement.c:
11932         * check/gst/gstevent.c:
11933         * check/gst/gstghostpad.c:
11934         * check/gst/gstiterator.c:
11935         * check/gst/gstmessage.c:
11936         * check/gst/gstminiobject.c:
11937         * check/gst/gstobject.c:
11938         * check/gst/gstpad.c:
11939         * check/gst/gstpipeline.c:
11940         * check/gst/gstplugin.c:
11941         * check/gst/gstsegment.c:
11942         * check/gst/gststructure.c:
11943         * check/gst/gstsystemclock.c:
11944         * check/gst/gsttag.c:
11945         * check/gst/gstutils.c:
11946         * check/gst/gstvalue.c:
11947         * check/net/.cvsignore:
11948         * check/net/gstnetclientclock.c:
11949         * check/net/gstnettimeprovider.c:
11950         * check/pipelines/.cvsignore:
11951         * check/pipelines/cleanup.c:
11952         * check/pipelines/simple_launch_lines.c:
11953         * check/pipelines/stress.c:
11954         * check/states/.cvsignore:
11955         * check/states/sinks.c:
11956         * configure.ac:
11957         * examples/Makefile.am:
11958         * examples/appreader/.cvsignore:
11959         * examples/appreader/Makefile.am:
11960         * examples/appreader/appreader.c:
11961         * examples/controller/.cvsignore:
11962         * examples/controller/Makefile.am:
11963         * examples/controller/audio-example.c:
11964         * examples/cutter/.cvsignore:
11965         * examples/cutter/Makefile.am:
11966         * examples/cutter/cutter.c:
11967         * examples/cutter/cutter.h:
11968         * examples/events/Makefile.am:
11969         * examples/events/seek.c:
11970         * examples/helloworld/.cvsignore:
11971         * examples/helloworld/Makefile.am:
11972         * examples/helloworld/helloworld.c:
11973         * examples/helloworld2/.cvsignore:
11974         * examples/helloworld2/Makefile.am:
11975         * examples/helloworld2/helloworld2.c:
11976         * examples/launch/.cvsignore:
11977         * examples/launch/Makefile.am:
11978         * examples/launch/mp3parselaunch.c:
11979         * examples/launch/mp3play:
11980         * examples/manual/.cvsignore:
11981         * examples/manual/Makefile.am:
11982         * examples/manual/extract.pl:
11983         * examples/metadata/Makefile.am:
11984         * examples/metadata/read-metadata.c:
11985         * examples/mixer/.cvsignore:
11986         * examples/mixer/Makefile.am:
11987         * examples/mixer/mixer.c:
11988         * examples/mixer/mixer.h:
11989         * examples/pingpong/.cvsignore:
11990         * examples/pingpong/Makefile.am:
11991         * examples/pingpong/pingpong.c:
11992         * examples/plugins/.cvsignore:
11993         * examples/plugins/Makefile.am:
11994         * examples/plugins/example.c:
11995         * examples/plugins/example.h:
11996         * examples/pwg/.cvsignore:
11997         * examples/pwg/Makefile.am:
11998         * examples/pwg/extract.pl:
11999         * examples/queue/.cvsignore:
12000         * examples/queue/Makefile.am:
12001         * examples/queue/queue.c:
12002         * examples/queue2/.cvsignore:
12003         * examples/queue2/Makefile.am:
12004         * examples/queue2/queue2.c:
12005         * examples/queue3/.cvsignore:
12006         * examples/queue3/Makefile.am:
12007         * examples/queue3/queue3.c:
12008         * examples/queue4/.cvsignore:
12009         * examples/queue4/Makefile.am:
12010         * examples/queue4/queue4.c:
12011         * examples/retag/.cvsignore:
12012         * examples/retag/Makefile.am:
12013         * examples/retag/retag.c:
12014         * examples/retag/transcode.c:
12015         * examples/thread/.cvsignore:
12016         * examples/thread/Makefile.am:
12017         * examples/thread/thread.c:
12018         * examples/typefind/.cvsignore:
12019         * examples/typefind/Makefile.am:
12020         * examples/typefind/typefind.c:
12021         * examples/xml/.cvsignore:
12022         * examples/xml/Makefile.am:
12023         * examples/xml/createxml.c:
12024         * examples/xml/runxml.c:
12025         * tests/Makefile.am:
12026         * tests/check/Makefile.am:
12027         * testsuite/.cvsignore:
12028         * testsuite/Makefile.am:
12029         * testsuite/Rules:
12030         * testsuite/caps/.cvsignore:
12031         * testsuite/caps/Makefile.am:
12032         * testsuite/caps/app_fixate.c:
12033         * testsuite/caps/audioscale.c:
12034         * testsuite/caps/caps.c:
12035         * testsuite/caps/caps.h:
12036         * testsuite/caps/caps_strings:
12037         * testsuite/caps/compatibility.c:
12038         * testsuite/caps/deserialize.c:
12039         * testsuite/caps/enumcaps.c:
12040         * testsuite/caps/eratosthenes.c:
12041         * testsuite/caps/filtercaps.c:
12042         * testsuite/caps/fixed.c:
12043         * testsuite/caps/fraction-convert.c:
12044         * testsuite/caps/fraction-multiply-and-zero.c:
12045         * testsuite/caps/intersect2.c:
12046         * testsuite/caps/intersection.c:
12047         * testsuite/caps/normalisation.c:
12048         * testsuite/caps/random.c:
12049         * testsuite/caps/renegotiate.c:
12050         * testsuite/caps/sets.c:
12051         * testsuite/caps/simplify.c:
12052         * testsuite/caps/string-conversions.c:
12053         * testsuite/caps/structure.c:
12054         * testsuite/caps/subtract.c:
12055         * testsuite/caps/union.c:
12056         * testsuite/debug/.cvsignore:
12057         * testsuite/debug/Makefile.am:
12058         * testsuite/debug/category.c:
12059         * testsuite/debug/commandline.c:
12060         * testsuite/debug/global.c:
12061         * testsuite/debug/output.c:
12062         * testsuite/debug/printf_extension.c:
12063         * testsuite/dlopen/.cvsignore:
12064         * testsuite/dlopen/Makefile.am:
12065         * testsuite/dlopen/dlopen_gst.c:
12066         * testsuite/dlopen/loadgst.c:
12067         * testsuite/elements/.cvsignore:
12068         * testsuite/elements/Makefile.am:
12069         * testsuite/elements/gst-inspect-check.in:
12070         * testsuite/elements/struct_i386.h:
12071         * testsuite/elements/struct_size.c:
12072         * testsuite/indexers/.cvsignore:
12073         * testsuite/indexers/Makefile.am:
12074         * testsuite/indexers/cache1.c:
12075         * testsuite/indexers/indexdump.c:
12076         * testsuite/parse/.cvsignore:
12077         * testsuite/parse/Makefile.am:
12078         * testsuite/parse/parse1.c:
12079         * testsuite/parse/parse2.c:
12080         * testsuite/plugin/.cvsignore:
12081         * testsuite/plugin/Makefile.am:
12082         * testsuite/plugin/README:
12083         * testsuite/plugin/dynamic.c:
12084         * testsuite/plugin/linked.c:
12085         * testsuite/plugin/loading.c:
12086         * testsuite/plugin/registry.c:
12087         * testsuite/plugin/static.c:
12088         * testsuite/plugin/static2.c:
12089         * testsuite/plugin/testplugin.c:
12090         * testsuite/plugin/testplugin2.c:
12091         * testsuite/plugin/testplugin2_s.c:
12092         * testsuite/plugin/testplugin_s.c:
12093         * testsuite/refcounting/.cvsignore:
12094         * testsuite/refcounting/Makefile.am:
12095         * testsuite/refcounting/bin.c:
12096         * testsuite/refcounting/element.c:
12097         * testsuite/refcounting/element_pad.c:
12098         * testsuite/refcounting/mainloop.c:
12099         * testsuite/refcounting/mem.c:
12100         * testsuite/refcounting/mem.h:
12101         * testsuite/refcounting/object.c:
12102         * testsuite/refcounting/pad.c:
12103         * testsuite/refcounting/sched.c:
12104         * testsuite/refcounting/thread.c:
12105         * testsuite/states/.cvsignore:
12106         * testsuite/states/Makefile.am:
12107         * testsuite/states/bin.c:
12108         * testsuite/states/locked.c:
12109         * testsuite/states/parent.c:
12110         * testsuite/threads/.cvsignore:
12111         * testsuite/threads/159566.c:
12112         * testsuite/threads/159852.c:
12113         * testsuite/threads/Makefile.am:
12114         * testsuite/threads/queue.c:
12115         * testsuite/threads/signals.c:
12116         * testsuite/threads/staticrec.c:
12117         * testsuite/threads/thread.c:
12118         * testsuite/threads/threadb.c:
12119         * testsuite/threads/threadc.c:
12120         * testsuite/threads/threadd.c:
12121         * testsuite/threads/threade.c:
12122         * testsuite/threads/threadf.c:
12123         * testsuite/threads/threadg.c:
12124         * testsuite/threads/threadh.c:
12125         * testsuite/threads/threadi.c:
12126           move all of these under tests
12127
12128 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12129
12130         * configure.ac:
12131         * tests/Makefile.am:
12132           fix distcheck
12133
12134 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * docs/gst/gstreamer-sections.txt:
12137         * tests/sched/.cvsignore:
12138         * tests/sched/Makefile.am:
12139         * tests/sched/cases/(fs-fs).xml:
12140         * tests/sched/cases/(fs-i-fs).xml:
12141         * tests/sched/cases/(fs-i-i-fs).xml:
12142         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12143         * tests/sched/dynamic-pipeline.c:
12144         * tests/sched/interrupt1.c:
12145         * tests/sched/interrupt2.c:
12146         * tests/sched/interrupt3.c:
12147         * tests/sched/runtestcases:
12148         * tests/sched/runxml.c:
12149         * tests/sched/sched-stress.c:
12150         * tests/sched/sort.c:
12151         * tests/sched/testcases:
12152         * tests/sched/testcases1.tc:
12153         * tests/seeking/.cvsignore:
12154         * tests/seeking/Makefile.am:
12155         * tests/seeking/seeking1.c:
12156         * tests/threadstate/.cvsignore:
12157         * tests/threadstate/Makefile.am:
12158         * tests/threadstate/test1.c:
12159         * tests/threadstate/test2.c:
12160         * tests/threadstate/threadstate1.c:
12161         * tests/threadstate/threadstate2.c:
12162         * tests/threadstate/threadstate3.c:
12163         * tests/threadstate/threadstate4.c:
12164         * tests/threadstate/threadstate5.c:
12165           remove obsolete tests
12166         * configure.ac:
12167         * tests/bench-complexity.scm:
12168         * tests/bench-mass_elements.scm:
12169         * tests/complexity.c:
12170         * tests/complexity.gnuplot:
12171         * tests/instantiate/.cvsignore:
12172         * tests/instantiate/Makefile.am:
12173         * tests/instantiate/caps.c:
12174         * tests/mass_elements.c:
12175         * tests/network-clock-utils.scm:
12176         * tests/network-clock.scm:
12177         * tests/plot-data:
12178         First pass at cleaning up tests/ dir before moving the rest
12179         Combined with CVS surgery
12180
12181 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12182
12183         * po/POTFILES.in:
12184           queue has moved, update
12185
12186 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * docs/gst/gstreamer-sections.txt:
12189           remove double entries from the docs
12190         * gst/gst_private.h:
12191         * gst/gstinfo.c: (_gst_debug_init):
12192           remove the THREAD debug category
12193         * gst/Makefile.am:
12194         * gst/gstqueue.c:
12195         * gst/gstqueue.h:
12196         * docs/gst/gstreamer.types:
12197         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12198         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12199           completely move queue and fix up debugging categories
12200
12201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12202
12203         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12204           make initialization portable, using LL is not
12205
12206 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12207
12208         * win32/common/gstconfig.h:
12209           add large padding
12210
12211 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12212
12213         * win32/common/libgstreamer.def:
12214           rename symbols; sort base section
12215
12216 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12217
12218         * gst/gstclock.c: (do_linear_regression):
12219           remove crack non-portable handrolled DEBUG macro
12220
12221 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12222
12223         * docs/random/release:
12224           update notes
12225         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12226         (gst_object_flags_get_type), (register_gst_bin_flags),
12227         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12228         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12229         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12230         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12231         (gst_caps_flags_get_type), (register_gst_clock_return),
12232         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12233         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12234         (gst_clock_flags_get_type), (register_gst_state),
12235         (gst_state_get_type), (register_gst_state_change_return),
12236         (gst_state_change_return_get_type), (register_gst_state_change),
12237         (gst_state_change_get_type), (register_gst_element_flags),
12238         (gst_element_flags_get_type), (register_gst_core_error),
12239         (gst_core_error_get_type), (register_gst_library_error),
12240         (gst_library_error_get_type), (register_gst_resource_error),
12241         (gst_resource_error_get_type), (register_gst_stream_error),
12242         (gst_stream_error_get_type), (register_gst_event_type_flags),
12243         (gst_event_type_flags_get_type), (register_gst_event_type),
12244         (gst_event_type_get_type), (register_gst_seek_type),
12245         (gst_seek_type_get_type), (register_gst_seek_flags),
12246         (gst_seek_flags_get_type), (register_gst_format),
12247         (gst_format_get_type), (register_gst_index_certainty),
12248         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12249         (gst_index_entry_type_get_type),
12250         (register_gst_index_lookup_method),
12251         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12252         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12253         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12254         (gst_index_flags_get_type), (register_gst_debug_level),
12255         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12256         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12257         (gst_iterator_result_get_type), (register_gst_iterator_item),
12258         (gst_iterator_item_get_type), (register_gst_message_type),
12259         (gst_message_type_get_type), (register_gst_mini_object_flags),
12260         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12261         (gst_pad_link_return_get_type), (register_gst_flow_return),
12262         (gst_flow_return_get_type), (register_gst_activate_mode),
12263         (gst_activate_mode_get_type), (register_gst_pad_direction),
12264         (gst_pad_direction_get_type), (register_gst_pad_flags),
12265         (gst_pad_flags_get_type), (register_gst_pad_presence),
12266         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12267         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12268         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12269         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12270         (gst_plugin_flags_get_type), (register_gst_rank),
12271         (gst_rank_get_type), (register_gst_query_type),
12272         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12273         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12274         (gst_tag_flag_get_type), (register_gst_task_state),
12275         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12276         (gst_alloc_trace_flags_get_type),
12277         (register_gst_type_find_probability),
12278         (gst_type_find_probability_get_type), (register_gst_uri_type),
12279         (gst_uri_type_get_type), (register_gst_parse_error),
12280         (gst_parse_error_get_type):
12281         * win32/common/gstenumtypes.h:
12282         * win32/common/gstversion.h:
12283           update visual studio generated files
12284
12285 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12286
12287         * win32/vs6/libgstbase.dsp:
12288         * win32/vs6/libgstelements.dsp:
12289           update project files for new locations
12290
12291 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12292
12293         * Makefile.am:
12294           remove some files
12295         * README:
12296           reinstate and update
12297         * DEVEL:
12298         * REQUIREMENTS:
12299           removed
12300         * LICENSE:
12301         * docs/random/LICENSE:
12302           moved to random
12303
12304 2005-11-30  Edward Hervey  <edward@fluendo.com>
12305
12306         * gst/gsttypefind.c: (gst_type_find_register):
12307         * gst/gsttypefind.h:
12308         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12309         (gst_type_find_factory_dispose):
12310         * gst/gsttypefindfactory.h:
12311         Fix memory leak in GstTypeFindFactory.
12312
12313 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12314
12315         * gst/gst.c:
12316         * plugins/elements/Makefile.am:
12317         * plugins/elements/gstelements.c:
12318         * plugins/elements/gstqueue.c:
12319           move queue from core to the elements plugin
12320
12321 2005-11-29  Andy Wingo  <wingo@pobox.com>
12322
12323         * libs/gst/base/gstbasetransform.h: 
12324         * libs/gst/base/gstbasesrc.h: 
12325         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12326
12327         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12328         of pointers by which to pad very extensible base classes (like the
12329         ones in libs/gst/base).
12330
12331 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12332
12333         * docs/gst/gstreamer-docs.sgml:
12334         * docs/gst/gstreamer-sections.txt:
12335         * docs/libs/gstreamer-libs-docs.sgml:
12336         * docs/libs/gstreamer-libs-sections.txt:
12337           moving documentation from core to lib
12338
12339 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12340
12341         * check/Makefile.am:
12342         * configure.ac:
12343         * docs/gst/Makefile.am:
12344         * gst/Makefile.am:
12345         * gst/base/.cvsignore:
12346         * gst/base/Makefile.am:
12347         * gst/base/README:
12348         * gst/base/gstadapter.c:
12349         * gst/base/gstadapter.h:
12350         * gst/base/gstbasesink.c:
12351         * gst/base/gstbasesink.h:
12352         * gst/base/gstbasesrc.c:
12353         * gst/base/gstbasesrc.h:
12354         * gst/base/gstbasetransform.c:
12355         * gst/base/gstbasetransform.h:
12356         * gst/base/gstcollectpads.c:
12357         * gst/base/gstcollectpads.h:
12358         * gst/base/gstpushsrc.c:
12359         * gst/base/gstpushsrc.h:
12360         * gst/base/gsttypefindhelper.c:
12361         * gst/base/gsttypefindhelper.h:
12362         * gst/check/Makefile.am:
12363         * gst/check/gstcheck.c:
12364         * gst/check/gstcheck.h:
12365         * gst/net/Makefile.am:
12366         * gst/net/gstnet.h:
12367         * gst/net/gstnetclientclock.c:
12368         * gst/net/gstnetclientclock.h:
12369         * gst/net/gstnettimepacket.c:
12370         * gst/net/gstnettimepacket.h:
12371         * gst/net/gstnettimeprovider.c:
12372         * gst/net/gstnettimeprovider.h:
12373         * libs/gst/Makefile.am:
12374         * libs/gst/base/Makefile.am:
12375         * libs/gst/base/gstbasetransform.c:
12376         * libs/gst/check/Makefile.am:
12377         * plugins/elements/Makefile.am:
12378         * po/POTFILES.in:
12379           CVS surgery + support to move base, check, and net out of gst
12380           and into libs/gst
12381
12382 2005-11-29  Andy Wingo  <wingo@pobox.com>
12383
12384         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12385
12386         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12387         padding.
12388
12389         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12390
12391         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12392
12393         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12394
12395         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12396         padding; reduces object size by about 30%. We don't expect
12397         anything else to go into gstobject.
12398
12399         * gst/gstminiobject.h (struct _GstMiniObject)
12400         (struct _GstMiniObjectClass): Only one pointer of padding; the
12401         payload is only a pointer and two ints anyway. For the class there
12402         are only two methods as well.
12403         
12404         * gst/gstelement.h (struct _GstElementClass): Removed
12405         the state_changed signal callback, it is not used.
12406
12407 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12408
12409         * docs/gst/gstreamer.types:
12410           fix includes, though they are a little dinky
12411
12412 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12413
12414         * check/Makefile.am:
12415           look in the right place for elements, a lot more chance of
12416           success
12417         * gst/Makefile.am:
12418           remove indexers and elements subdirs
12419         * plugins/Makefile.am:
12420           make indexers conditional
12421
12422 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12423
12424         * Makefile.am:
12425         * configure.ac:
12426         * plugins/elements/Makefile.am:
12427         * plugins/elements/gstcapsfilter.c:
12428         * plugins/elements/gstfilesink.c:
12429         * plugins/elements/gstfilesrc.c:
12430         * plugins/elements/gstidentity.c:
12431         * plugins/indexers/Makefile.am:
12432           do CVS surgery and related build fixery to move elements
12433           and indexers in a new gstreamer/plugins directory, out of the
12434           gst/ directory
12435
12436 2005-11-29  Andy Wingo  <wingo@pobox.com>
12437
12438         * check/Makefile.am:
12439         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12440         * pkgconfig/gstreamer-net.pc.in:
12441         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12442         #322257.
12443
12444 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12445
12446         * tools/Makefile.am:
12447         * tools/gst-complete.1.in:
12448         * tools/gst-complete.c:
12449         * tools/gst-compprep.1.in:
12450         * tools/gst-compprep.c:
12451           removing -compprep and -complete
12452
12453 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12454
12455         * gst/gstevent.c: (gst_event_new_new_segment),
12456         (gst_event_parse_new_segment):
12457         * gst/gstevent.h:
12458           fix #320529 - clean up new_segment API and structure.
12459           Let's hope everyone was using the methods, and not the structure.
12460
12461 2005-11-29  Edward Hervey  <edward@fluendo.com>
12462
12463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12464         (gst_base_sink_event), (gst_base_sink_do_sync),
12465         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12466         Properly handle non GST_FORMAT_TIME segment
12467         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12468         Properly handle non GST_FORMAT_TIME segment
12469         * gst/gstsegment.c:
12470         This function is valid if the accumulator is 0 and the format
12471         is different from the requested format.
12472         
12473 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12474
12475         * docs/gst/gstreamer-sections.txt:
12476         Add gst_query_new_seeking and gst_query_parse_seeking to the
12477         docs.
12478
12479 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12480
12481         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12482           Treat a pad alloc with new caps the same as if we were not
12483           negotiated, in order to allow a changing upstream output
12484           to produce a new format of data.
12485
12486 2005-11-29  Edward Hervey  <edward@fluendo.com>
12487
12488         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12489         (gst_base_transform_event), (gst_base_transform_eventfunc):
12490         The event virtual method is now properly implemented, with a default
12491         handler
12492         Sub classes should call the parent_class event method. They should
12493         return FALSE if they had a problem handling the given event, or don't
12494         want GstBaseTransform to send that even downstream
12495         * gst/elements/gstidentity.c: (gst_identity_class_init),
12496         (gst_identity_init), (gst_identity_event),
12497         (gst_identity_transform_ip), (gst_identity_set_property),
12498         (gst_identity_get_property):
12499         * gst/elements/gstidentity.h:
12500         Added the single-segment boolean property.
12501         If set to TRUE, it will output a single segment of data, starting from
12502         0, will eat up all incoming newsegment, and modify the timestamp of the
12503         buffers accordingly
12504
12505 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12506
12507         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12508           Don't ref NULL target pad (#322751). Improve docs.
12509
12510 2005-11-29  Michael Smith  <msmith@fluendo.com>
12511
12512         * gst/gstregistryxml.c: (load_plugin):
12513           Don't crash if we failed to load a feature from a plugin. 
12514
12515 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12516
12517         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12518         (GST_START_TEST):
12519           use more check API and less GLib API
12520
12521 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12522
12523         * Makefile.am:
12524           don't run checks if we don't have check
12525         * common/check.mak:
12526           remove the registry when running make torture
12527         * docs/gst/gstreamer-sections.txt:
12528           remove second multiply
12529         * gst/gstqueue.c: (gst_queue_loop):
12530           fix a compile warning when disabling debug
12531
12532 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12533
12534         * gst/gstinfo.h:
12535         Hey! Let's print the pad name if the pointer != NULL instead
12536         of when it == NULL :-)
12537
12538 2005-11-28  Wim Taymans  <wim@fluendo.com>
12539
12540         * check/gst/gstutils.c: (GST_START_TEST):
12541         Updated check, add some scaling accuracy checking code.
12542
12543         * gst/gstutils.c: (gst_util_div128_64),
12544         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12545         (gst_util_uint64_scale_int):
12546         Fix 6 times faster division code. Optimize for common 
12547         1/1 and less common X/1 cases.
12548
12549 2005-11-28  Wim Taymans  <wim@fluendo.com>
12550
12551         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12552         More checks.
12553
12554         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12555         (do_linear_regression), (gst_clock_add_observation):
12556         Cleanups.
12557         Release lock when the clock cannot be slaved.
12558         Catch the case where the regression returned an invalid denominator.
12559
12560         * gst/gstutils.c: (gst_util_div128_64_iterate),
12561         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12562         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12563         Add protentially more performant non-iterative 128/64 divide function
12564         that unfortunatly does not work yet.
12565         Shortcut the trivial 0/X = 0 case.
12566         Remove the warnings on overflow.
12567
12568 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12569
12570         * gst/gstplugin.c: (gst_plugin_register_func):
12571           everything causing a plugin not to load should be at least a WARNING
12572
12573 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12574
12575         * docs/random/ensonic/dparams.txt:
12576           some TODOs for the next dev cycle
12577         * libs/gst/controller/gstcontroller.c:
12578         (gst_controlled_property_set_interpolation_mode),
12579         (gst_controlled_property_new):
12580         * libs/gst/controller/gstcontroller.h:
12581           use base type to assign acccessor functions
12582
12583 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12584
12585         * check/Makefile.am:
12586         Oops, that should have been top_srcdir
12587
12588 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12589
12590         * check/Makefile.am:
12591         * check/elements/fdsrc.c: (GST_START_TEST):
12592         Use a cmdline define to specify the location of a file to use for
12593         testing, to avoid breaking distcheck.
12594
12595 2005-11-28  Andy Wingo  <wingo@pobox.com>
12596
12597         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12598
12599 2005-11-28  Edward Hervey  <edward@fluendo.com>
12600
12601         * tools/gst-launch.c: (main):
12602         Clarify the output strings, makes it easier to translate.
12603         Fixes #322626
12604
12605 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12606
12607         * gst/Makefile.am:
12608           don't try and build net if we don't even have <sys/socket.h>
12609
12610 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12611
12612         * check/Makefile.am:
12613         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12614         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12615           Add tests for fdsrc seekability
12616
12617         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12618         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12619         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12620         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12621         * gst/elements/gstfdsrc.h:
12622           fdsrc should not be a 'live' source.
12623           Implement seeking on seekable fd's.
12624
12625         * gst/gstquery.c: (gst_query_new_seeking),
12626         (gst_query_parse_seeking):
12627         * gst/gstquery.h:
12628           Implement SEEKING query functions: 
12629             *_new_seeking and *_parse_seeking
12630
12631 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12632
12633         * gst/gstelement.c: (gst_element_dispose):
12634           don't loop forever
12635
12636         * gst/gstiterator.c:
12637         * gst/gststructure.c:
12638           doc fixes
12639
12640         * libs/gst/controller/gstcontroller.c:
12641         (gst_controlled_property_set_interpolation_mode):
12642         * libs/gst/controller/gstcontroller.h:
12643         * libs/gst/controller/gstinterpolation.c:
12644         (interpolate_none_get_enum_value_array):
12645           support controlling enums
12646
12647 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12648
12649         * gst/gstvalue.c:
12650           Improve documentation for gst_value_union().
12651
12652         * gst/gstvalue.h:
12653           Change return value for union, intersect and subtract functions
12654           from gint to gboolean.
12655
12656 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12657
12658         * gst/gstvalue.c: (gst_value_serialize_any_list),
12659         (gst_value_transform_any_list_string),
12660         (gst_value_deserialize_list), (gst_value_deserialize_array),
12661         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12662         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12663         (gst_value_set_fraction_range_full),
12664         (gst_value_deserialize_fraction_range),
12665         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12666         (gst_value_deserialize_boolean),
12667         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12668         (gst_value_serialize_float), (gst_value_deserialize_float),
12669         (gst_string_wrap), (gst_value_deserialize_string),
12670         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12671         (gst_value_union_int_range_int_range),
12672         (gst_value_intersect_int_range_int_range),
12673         (gst_value_intersect_double_range_double_range),
12674         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12675         (gst_value_subtract_int_range_int_range),
12676         (gst_value_subtract_double_double_range),
12677         (gst_value_subtract_double_range_double_range),
12678         (gst_value_deserialize_fraction):
12679         * gst/gstvalue.h:
12680           Use gint, gdouble and gchar in our API instead of int, double and
12681           char (and make usage in gstvalue.c more consistent).
12682
12683 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12684
12685         * check/Makefile.am:
12686         * libs/gst/controller/Makefile.am:
12687         * libs/gst/dataprotocol/Makefile.am:
12688           fix up Makefile.am and remove GST_ENABLE_NEW
12689
12690 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12691
12692         * configure.ac:
12693         * gst/Makefile.am:
12694         * gst/base/Makefile.am:
12695         * gst/check/Makefile.am:
12696         * gst/elements/Makefile.am:
12697         * gst/net/Makefile.am:
12698           update LDFLAGS use some more
12699
12700 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12701
12702         * common/m4/gst-doc.m4:
12703           Fixes #312589
12704
12705 2005-11-26  Edward Hervey  <edward@fluendo.com>
12706
12707         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12708         This shouldn't issue a g_warning since it returns NULL if it
12709         couldn't find the plugin, and all functions using this behave
12710         properly on a NULL return. Switching to a GST_WARNING.
12711
12712 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12713
12714         * gst/gstbin.c: (gst_bin_handle_message_func):
12715         Don't leak clock messages.
12716
12717 2005-11-25  Wim Taymans  <wim@fluendo.com>
12718
12719         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12720         (gst_util_uint64_scale_int):
12721         Optimisations, remove unneeded vars.
12722
12723 2005-11-25  Wim Taymans  <wim@fluendo.com>
12724
12725         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12726         Added more checks for the high precision uint64 cases.
12727
12728         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12729         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12730         Implement high precision (guint64 * guint64) / guint64.
12731
12732 2005-11-24  Wim Taymans  <wim@fluendo.com>
12733
12734         * gst/base/gstbasesrc.c: (gst_base_src_query):
12735         Fix wrong percentage query.
12736
12737         * gst/gstutils.c: (gst_util_uint64_scale),
12738         (gst_util_uint64_scale_int):
12739         Add some more common cases that can be handled 
12740         efficiently to _scale.
12741
12742 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12743
12744         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12745         (gst_mini_object_suite):
12746           don't use check calls from threads; check probably isn't
12747           threadsafe and using a lock to make it threadsafe would
12748           defeat the purpose of this check
12749         * gst/check/gstcheck.c:
12750         * gst/check/gstcheck.h:
12751           use GST_DEBUG some more
12752
12753 2005-11-24  Wim Taymans  <wim@fluendo.com>
12754
12755         * gst/gstutils.c: (gst_util_uint64_scale),
12756         (gst_util_uint64_scale_int):
12757         Chain trivial case to _scale_int.
12758
12759 2005-11-24  Wim Taymans  <wim@fluendo.com>
12760
12761         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12762         Added test for scaling.
12763
12764         * gst/gstclock.h:
12765         Small doc fix.
12766
12767         * gst/gstutils.c: (gst_util_uint64_scale_int):
12768         Implemented high precision scaling code.
12769
12770 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
12771
12772         * gst/gstinfo.h:
12773           do not crash on pad==NULL
12774
12775 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12776
12777         Patch by: Stefan Kost
12778
12779         * common/gtk-doc.mak:
12780         * docs/gst/Makefile.am:
12781         * docs/libs/Makefile.am:
12782           Fix distcheck issues for the libraries docs build
12783           Closes #319599.
12784
12785 2005-11-24  Michael Smith <msmith@fluendo.com>
12786
12787         * docs/manual/basics-helloworld.xml:
12788           Fix bug #315027: memory leak in example code in docs.
12789
12790 2005-11-24  Michael Smith <msmith@fluendo.com>
12791
12792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12793           Unlock the PREROLL_LOCK in a failure case.
12794
12795 2005-11-24  Wim Taymans  <wim@fluendo.com>
12796
12797         * docs/gst/gstreamer-sections.txt:
12798         * gst/base/gstadapter.h:
12799         * gst/base/gstbasesink.h:
12800         * gst/base/gstbasesrc.h:
12801         * gst/base/gstbasetransform.h:
12802         * gst/base/gstpushsrc.h:
12803         * gst/elements/gstfakesink.h:
12804         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12805         * gst/elements/gstfakesrc.h:
12806         * gst/elements/gstfilesink.h:
12807         * gst/elements/gstfilesrc.h:
12808         * gst/gst.c:
12809         * gst/gstbin.c:
12810         * gst/gstbuffer.c: (_gst_buffer_copy):
12811         * gst/gstbus.h:
12812         * gst/gstcaps.c:
12813         * gst/gstchildproxy.c:
12814         * gst/gstclock.c:
12815         * gst/gstelement.c:
12816         * gst/gstelementfactory.c:
12817         * gst/gstelementfactory.h:
12818         * gst/gstevent.c:
12819         * gst/gstghostpad.h:
12820         * gst/gstindex.h:
12821         * gst/gstinterface.h:
12822         * gst/gstminiobject.c:
12823         * gst/gstminiobject.h:
12824         * gst/gstpad.c:
12825         * gst/gstpad.h:
12826         * gst/gstpadtemplate.h:
12827         * gst/gstpipeline.h:
12828         * gst/gstpluginfeature.h:
12829         * gst/gstquery.h:
12830         * gst/gstqueue.h:
12831         * gst/gsttaglist.c:
12832         * gst/gsttaglist.h:
12833         * gst/gsttagsetter.c:
12834         * gst/gsttagsetter.h:
12835         * gst/gsttrace.c:
12836         * gst/gsttrace.h:
12837         * gst/gsttypefind.h:
12838         * gst/gsturi.h:
12839         * gst/gstvalue.c:
12840         * gst/net/gstnetclientclock.c:
12841         * gst/net/gstnetclientclock.h:
12842         * gst/net/gstnettimepacket.c:
12843         * gst/net/gstnettimeprovider.c:
12844         * gst/net/gstnettimeprovider.h:
12845         Doc fixes.
12846
12847 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12848
12849         * configure.ac: back to HEAD
12850
12851 === release 0.9.6 ===
12852
12853 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
12854
12855         * configure.ac:
12856           releasing 0.9.6, "Always On Time"
12857
12858 2005-11-23  Wim Taymans  <wim@fluendo.com>
12859
12860         * docs/gst/gstreamer-sections.txt:
12861         * gst/glib-compat.c:
12862         * gst/gsttagsetter.c:
12863         * gst/gstvalue.c:
12864         * gst/net/gstnetclientclock.c:
12865         * gst/net/gstnettimepacket.h:
12866         Doc updates.
12867
12868 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12869
12870         * docs/faq/using.xml:
12871         * docs/libs/tmpl/gstcontrol.sgml:
12872         * docs/manual/advanced-dparams.xml:
12873         * docs/manual/appendix-checklist.xml:
12874         * docs/manual/basics-elements.xml:
12875         * docs/pwg/other-source.xml:
12876         * docs/random/moving-plugins:
12877         * gst/gstpad.c:
12878         * tools/gst-launch.1.in:
12879           remove mentions of sinesrc
12880
12881 2005-11-23  Michael Smith <msmith@fluendo.com>
12882
12883         * docs/gst/gstreamer-sections.txt:
12884           Update for new API and API changes.
12885         * gst/gstobject.h:
12886           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12887         * gst/gstvalue.c:
12888           Documentation typo fix.
12889         * gst/net/gstnettimepacket.c:
12890           Documentation fixes for arguments.
12891
12892 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
12893
12894         * gst/gststructure.c: (gst_structure_get_fraction),
12895         (gst_structure_parse_value),
12896         (gst_structure_fixate_field_nearest_fraction):
12897         * gst/gststructure.h:
12898         * gst/gstutils.c: (gst_util_uint64_scale_int):
12899         * gst/gstutils.h:
12900         * scripts/update-funcnames:
12901         API Changes. 
12902         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12903         Make gst_structure_fixate_field_nearest_fraction take a numerator
12904         and denominator argument instead of a GValue
12905         add gst_structure_get_fraction helper function.
12906
12907 2005-11-23  Wim Taymans  <wim@fluendo.com>
12908
12909         * docs/design/part-TODO.txt:
12910         Update TODO.
12911
12912         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12913         * gst/net/gstnetclientclock.h:
12914         Use parent fields for timeout and window_size.
12915
12916 2005-11-23  Andy Wingo  <wingo@pobox.com>
12917
12918         * check/net/gstnetclientclock.c (test_functioning): Adjust to
12919         rate_num/rate_denom change.
12920
12921         * gst/net/gstnetclientclock.c
12922         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12923         OBJECT_LOCK. Don't call add_observation with the lock.
12924
12925         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12926         fraction.
12927         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12928         rate fraction.
12929         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12930         deal with rate as a fraction whose numerator and denominator are
12931         GstClockTime values.
12932         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12933         master; the other fields are protected by the SLAVE_LOCK.
12934         (do_linear_regression): Note that this must be called with the
12935         SLAVE_LOCK.
12936         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12937         OBJECT_LOCK. Call set_calibration instead of touching the
12938         variables directly.
12939         (gst_clock_set_property, gst_clock_get_property): Protect
12940         master/slave parameters with the SLAVE_LOCK.
12941
12942         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12943         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12944         note that all of the instance variables that add_observation and
12945         the set_master functions use are protected by that lock and not
12946         the OBJECT_LOCK.
12947         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12948
12949         * gst/gstclock.c (gst_clock_add_observation): No longer requires
12950         the caller to take the object lock.
12951
12952 2005-11-23  Wim Taymans  <wim@fluendo.com>
12953
12954         * gst/gsterror.c: (_gst_core_errors_init):
12955         * gst/gsterror.h:
12956         Add error for clock stuff.
12957
12958         * gst/gstpipeline.c: (gst_pipeline_change_state),
12959         (gst_pipeline_set_clock):
12960         Post clock error when clock cannot be used in a pipeline.
12961
12962 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
12963
12964         * docs/gst/gstreamer-sections.txt:
12965           make two symbols from gstinfo private for the docs
12966         * gst/base/gstcollectpads.h:
12967         * gst/gstutils.c:
12968           fix doc typos, update docs
12969
12970 2005-11-22  Wim Taymans  <wim@fluendo.com>
12971
12972         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12973         (gst_base_sink_wait), (gst_base_sink_do_sync),
12974         (gst_base_sink_handle_event):
12975         * gst/base/gstbasesink.h:
12976         No need to store the clock, the parent element class already
12977         has it.
12978
12979         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12980         Updates for clock_set returning a gboolean
12981
12982         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12983         (gst_clock_id_wait_async), (gst_clock_class_init),
12984         (gst_clock_init), (gst_clock_finalize),
12985         (gst_clock_get_internal_time), (gst_clock_get_time),
12986         (gst_clock_slave_callback), (gst_clock_set_master),
12987         (gst_clock_get_master), (do_linear_regression),
12988         (gst_clock_add_observation), (gst_clock_set_property),
12989         (gst_clock_get_property):
12990         * gst/gstclock.h:
12991         Implement master/slave. When setting a clock as a slave, a
12992         periodic timeout is scheduled to sample master and slave times.
12993         Then the slave clock is recalibrated to match offset and rate
12994         of the master clock.
12995         Update logging a bit.
12996         Add flag so that a clock can state that is cannot be slaved to
12997         another clock.
12998
12999         * gst/gstelement.c: (gst_element_set_clock):
13000         * gst/gstelement.h:
13001         The set clock returns a gboolean for when an element cannot
13002         deal with the selected clock in the pipeline. 
13003
13004         * gst/gstpipeline.c: (gst_pipeline_change_state),
13005         (gst_pipeline_set_clock):
13006         * gst/gstpipeline.h:
13007         Handle the case where the selected clock cannot be set on
13008         the pipeline.
13009
13010         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13011         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13012         (gst_net_client_clock_set_property),
13013         (gst_net_client_clock_get_property),
13014         (gst_net_client_clock_observe_times):
13015         * gst/net/gstnetclientclock.h:
13016         Use regression code in GstClock parent, remove duplicated
13017         functionality.
13018
13019 2005-11-22  Michael Smith <msmith@fluendo.com>
13020
13021         * gst/gstutils.c: (gst_util_clock_time_scale):
13022         * gst/gstutils.h:
13023         * docs/gst/gstreamer-sections.txt:
13024           Rename method to have extra underscore.
13025
13026 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13027
13028         * gst/elements/Makefile.am:
13029         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13030         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13031         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13032         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13033         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13034         * gst/elements/gstfakesrc.h:
13035         * gst/gstqueue.c: (queue_leaky_get_type):
13036           correctly fix GEnumValues so that nick is the short lowercase
13037           dashed tag
13038         * tools/gst-inspect.c: (print_element_properties_info):
13039           also show the nick, since it's useful to use from parse_launch
13040           syntax
13041           Fixes #322139
13042
13043 2005-11-22  Michael Smith <msmith@fluendo.com>
13044
13045         * gst/gstutils.c: (gst_util_clocktime_scale):
13046         * gst/gstutils.h:
13047         * docs/gst/gstreamer-sections.txt:
13048           Add util method for scaling a clocktime by a fraction. Useful 
13049           implementation is left as an exercise for the reader.
13050
13051 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13052
13053         * gst/gstvalue.c: (gst_value_collect_fraction_range):
13054         If needed, allocate storage in the destination value during
13055         collection.
13056
13057 2005-11-22  Edward Hervey  <edward@fluendo.com>
13058
13059         * docs/gst/gstreamer-sections.txt:
13060         * gst/Makefile.am:
13061         * gst/gst.h:
13062         * gst/gsturitype.c:
13063         * gst/gsturitype.h:
13064         * gst/gstutils.c: (gst_util_set_object_arg):
13065         * tools/gst-compprep.c: (main):
13066         * tools/gst-inspect.c: (print_element_properties_info):
13067         Removed GstURI, closes bug #321061
13068
13069 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13070
13071         * check/gst/gststructure.c: (GST_START_TEST):
13072         * gst/gststructure.c: (gst_structure_parse_value):
13073           Oops, broke automatic string type parsing.
13074           Add a test to catch it in future.
13075
13076 2005-11-22  Andy Wingo  <wingo@pobox.com>
13077
13078         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13079         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13080         Actually rename the function implementations. Grr.
13081
13082 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13083
13084         * check/gst/capslist.h:
13085           Comment test cases
13086         * check/gst/gststructure.c: (GST_START_TEST),
13087         (gst_structure_suite):
13088           Test automatic value type detection in gst_structure_from_string.
13089         * gst/gststructure.c: (gst_structure_parse_value):
13090           Add fraction as a type we try and guess automatically in
13091           caps/structure strings.
13092
13093 2005-11-22  Andy Wingo  <wingo@pobox.com>
13094
13095         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13096
13097         * gst/gsttagsetter.h:
13098         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13099         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13100         (gst_tag_setter_add_tag_valist)
13101         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13102         _add_values, _add_valist, and _add_valist_values. Since this is an
13103         interface the function suffixes should be more explicit so
13104         language binding don't end up with element.add_valist ->
13105         gst_tag_setter_add_valist, for example. Fixes #322069.
13106
13107 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13108
13109         * check/gst/gstcaps.c: (GST_START_TEST):
13110           Extend caps string tests to check that a caps to string
13111           conversion is reversible and produces the same caps.
13112
13113         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13114           Output "fraction" as the generic type fraction range, so caps
13115           serialisation and deserialisation works.
13116         * check/gst/capslist.h:
13117         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13118           Support 'MIN' and 'MAX' for deserialising fractions.
13119
13120 2005-11-22  Andy Wingo  <wingo@pobox.com>
13121
13122         * gst/gstevent.h (gst_event_new_new_segment)
13123         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13124         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13125         Renamed from *_newsegment, *_buffersize, *_notarget.
13126
13127         * scripts/update-funcnames: New script, performs the changes
13128         listed above.
13129
13130 2005-11-22  Wim Taymans  <wim@fluendo.com>
13131
13132         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13133         Make sure the GstFlowReturn is returned.
13134
13135         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13136         (gst_bus_add_signal_watch):
13137         * gst/gstbus.h:
13138         add gst_bus_add_signal_watch_full.
13139
13140         * gst/gstplugin.c: (gst_plugin_load_file):
13141         Small style cleanup.
13142
13143 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13144
13145         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13146           Block the fakesrc srcpad when we send an event, to avoid
13147           contention on the stream_lock causing random test failures.
13148
13149 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13150
13151         * check/gst/gstvalue.c: (GST_START_TEST):
13152         * gst/gstvalue.c: (gst_value_fraction_subtract):
13153           Fix subtraction.
13154
13155 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13156
13157         * gst/gst.h:
13158           include "gstchildproxy.h"
13159         * gst/gstchildproxy.h:
13160         * libs/gst/controller/gstcontroller.h:
13161           use G_GNUC_NULL_TERMINATED
13162
13163 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13164
13165         * check/gst/capslist.h:
13166         * check/gst/gstcaps.c: (GST_START_TEST):
13167         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13168         * gst/gststructure.c: (gst_structure_parse_range),
13169         (gst_structure_fixate_field_nearest_fraction):
13170         * gst/gststructure.h:
13171         * gst/gstvalue.c: (gst_value_init_fraction_range),
13172         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13173         (gst_value_collect_fraction_range),
13174         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13175         (gst_value_set_fraction_range_full),
13176         (gst_value_get_fraction_range_min),
13177         (gst_value_get_fraction_range_max),
13178         (gst_value_serialize_fraction_range),
13179         (gst_value_transform_fraction_range_string),
13180         (gst_value_compare_fraction_range),
13181         (gst_value_deserialize_fraction_range),
13182         (gst_value_intersect_fraction_fraction_range),
13183         (gst_value_intersect_fraction_range_fraction_range),
13184         (gst_value_subtract_fraction_fraction_range),
13185         (gst_value_subtract_fraction_range_fraction),
13186         (gst_value_subtract_fraction_range_fraction_range),
13187         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13188         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13189         (gst_value_transform_string_fraction), (_gst_value_initialize):
13190         * gst/gstvalue.h:
13191           Implement fraction ranges and extend GstFraction to support
13192           arithmetic subtraction, as well as deserialization from integer
13193           strings such as "100"
13194           Add a testsuite as for int and double range set operations
13195
13196 2005-11-21  Andy Wingo  <wingo@pobox.com>
13197
13198         * gst/gsttaglist.h: 
13199         * gst/gstcaps.h: 
13200         * gst/gststructure.h: Add glib-compat.h.
13201
13202 2005-11-21  Wim Taymans  <wim@fluendo.com>
13203
13204         * gst/gstbin.c: (gst_bin_change_state_func):
13205         Fix for #321595
13206
13207 2005-11-21  Wim Taymans  <wim@fluendo.com>
13208
13209         * gst/gstsegment.h:
13210         And add a nice define too.
13211
13212 2005-11-21  Wim Taymans  <wim@fluendo.com>
13213
13214         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13215         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13216         (gst_segment_set_duration), (gst_segment_set_last_stop),
13217         (gst_segment_set_seek), (gst_segment_set_newsegment),
13218         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13219         (gst_segment_clip):
13220         * gst/gstsegment.h:
13221         Make binding friendly.
13222
13223 2005-11-21  Andy Wingo  <wingo@pobox.com>
13224
13225         * gst/gsttagsetter.h: 
13226         * gst/gsttaglist.h: 
13227         * gst/gststructure.h: 
13228         * gst/gstcaps.h: 
13229         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13230         #319940.
13231
13232         * gst/gsterror.c (_gst_core_errors_init):
13233         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13234         category.
13235
13236         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13237         (noinst_HEADERS): noinst the -private.
13238
13239 2005-11-21  Michael Smith <msmith@fluendo.com>
13240
13241         * gst/gstplugin.h:
13242         * gst/gstregistry.h:
13243           Remove unimplemented declarations for which we can see no sensible
13244           use.
13245
13246 2005-11-21  Andy Wingo  <wingo@pobox.com>
13247
13248         * gst/gst.h: Include glib-compat.h.
13249
13250         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13251
13252         * gst/glib-compat.c: Include the public and the private header.
13253
13254         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13255
13256         * gst/gstvalue.c: 
13257         * gst/gstpad.c: 
13258         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13259
13260         * check/gst/gstevent.c (create_custom_events): Check that
13261         FLUSH_STOP is serialized.
13262
13263         * check/elements/identity.c (event_func): 
13264         * check/elements/fakesrc.c (event_func): No stream lock, the core
13265         takes it.
13266
13267         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13268         stream lock taking, yay.
13269
13270         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13271         ensure that core takes the stream lock.
13272
13273         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13274         lock name change.
13275
13276         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13277         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13278         it already. For the flush start we do take it though so we get the
13279         right preroll state change messages.
13280
13281         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13282         the stream lock here, the core does it for us.
13283
13284         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13285         GST_STREAM_GET_LOCK.
13286         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13287         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13288         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13289         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13290         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13291         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13292
13293         * gst/gstpad.c: Update for stream lock name change.
13294
13295         * gst/base/gstbasesink.c: Update for preroll lock name change.
13296
13297 2005-11-21  Wim Taymans  <wim@fluendo.com>
13298
13299         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13300         (gst_clock_get_master):
13301         * gst/gstclock.h:
13302         * gst/gstsystemclock.c: (gst_system_clock_init):
13303         Convert Clock flags to object flags.
13304         Added methods to manage master/slave clocks.
13305
13306 2005-11-21  Wim Taymans  <wim@fluendo.com>
13307
13308         * check/gst/gstsegment.c: (GST_START_TEST):
13309         * docs/design/part-TODO.txt:
13310         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13311         (gst_base_sink_event), (gst_base_sink_do_sync),
13312         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13313         (gst_base_sink_query), (gst_base_sink_change_state):
13314         * gst/base/gstbasesink.h:
13315         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13316         (gst_base_src_default_newsegment),
13317         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13318         (gst_base_src_get_range), (gst_base_src_loop),
13319         (gst_base_src_change_state):
13320         * gst/base/gstbasesrc.h:
13321         * gst/base/gstbasetransform.c:
13322         (gst_base_transform_prepare_output_buf),
13323         (gst_base_transform_event), (gst_base_transform_change_state):
13324         * gst/base/gstbasetransform.h:
13325         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13326         (gst_collect_pads_event):
13327         * gst/base/gstcollectpads.h:
13328         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13329         (gst_fake_src_create):
13330         * gst/elements/gstfakesrc.h:
13331         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13332         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13333         (gst_segment_set_last_stop), (gst_segment_set_seek),
13334         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13335         (gst_segment_to_running_time), (gst_segment_clip):
13336         * gst/gstsegment.h:
13337         More segment updates, replace code in plugins with segment
13338         helper functions.
13339
13340 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13341
13342         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13343         Don't ignore sscanf results
13344
13345 2005-11-21  Andy Wingo  <wingo@pobox.com>
13346
13347         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13348
13349         * *.h:
13350         * *.c: Ran scripts/update-macros. Oh yes.
13351
13352         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13353         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13354         GST_GET_LOCK, etc.
13355
13356         * scripts/update-macros: New script. Run it on your files to
13357         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13358         well.
13359
13360 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13361
13362         * docs/gst/Makefile.am:
13363         * docs/gst/gstreamer-docs.sgml:
13364         * docs/gst/gstreamer-sections.txt:
13365         * docs/gst/gstreamer.types:
13366         * gst/gstinfo.h:
13367           more docs fixes, add new api to the docs
13368
13369 2005-11-21  Andy Wingo  <wingo@pobox.com>
13370
13371         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13372         state_broadcast call.
13373
13374         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13375
13376 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13377
13378         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13379         function calls for arrays.
13380
13381 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13382
13383         * docs/random/ensonic/media-device-daemon.txt:
13384           wild idea, can this be done?
13385         * docs/gst/gstreamer-sections.txt:
13386         * gst/gsterror.h:
13387         * gst/gstfilter.c:
13388         * gst/gstfilter.h:
13389         * gst/gstplugin.h:
13390         * gst/gstpluginfeature.c:
13391         * gst/gsttrace.c:
13392         * gst/gstvalue.c:
13393         * gst/gstvalue.h:
13394           doc fixes and additions
13395
13396 2005-11-21  Andy Wingo  <wingo@pobox.com>
13397
13398         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13399         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13400         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13401         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13402         private to the basesrc implementation.
13403
13404         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13405         behalf of event function if necessary. It should no longer be
13406         necessary to take the stream lock in pad's event functions. Fixes
13407         #320299.
13408
13409 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13410         * docs/gst/gstreamer-sections.txt:
13411         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13412         (gst_structure_fixate_field_nearest_double),
13413         (gst_structure_fixate_field_boolean):
13414         * gst/gststructure.h:
13415         * win32/common/libgstreamer.def:
13416         * win32/gstreamer.def:
13417
13418         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13419         (#322027)
13420
13421 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13422
13423         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13424         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13425         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13426         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13427         (gst_fdsrc_uri_handler_init):
13428         * gst/elements/gstfdsrc.h:
13429           Port fd:// URI handler from 0.8 to fdsrc
13430
13431 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13432
13433         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13434         (gst_value_serialize_fourcc):
13435         * gst/gstvalue.h:
13436           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13437           consistent with our other format defines (#320324).
13438
13439 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13440
13441         * gst/gstvalue.c: (gst_value_is_fixed):
13442           Revert previous commit. Value lists are by definition
13443           not fixed, as they are a list of possible values.
13444
13445 2005-11-21  Andy Wingo  <wingo@pobox.com>
13446
13447         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13448         during the stable series if we need it. Fixes #319178.
13449
13450         * gst/gstevent.c (gst_event_new_filler): Removed.
13451
13452         * check/gst/gstevent.c: Update comment about filler events.
13453
13454 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13455
13456         * gst/gstvalue.c: (gst_value_is_fixed):
13457           Should handle both value arrays and value lists.
13458
13459 2005-11-21  Andy Wingo  <wingo@pobox.com>
13460
13461         patch by: Alessandro Dessina <alessandro nnva org>
13462
13463         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13464         functions to access arrays. Fixes #321962.
13465
13466 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * docs/gst/gstreamer.types:
13469           gst_collectpads_get_type => gst_collect_pads_get_type.
13470           
13471         * gst/base/gstbasetransform.c:
13472           Remove unused SIGNAL_HANDOFF enum.
13473
13474 2005-11-21  Andy Wingo  <wingo@pobox.com>
13475
13476         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13477         the event type (upstream, downstream, serialized). Renamed
13478         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13479         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13480         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13481
13482         * gst/gstevent.c: Update for new CUSTOM event names.
13483
13484         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13485
13486         * gst/gstevent.h:
13487         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13488         bug #319392.
13489
13490 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13491
13492         * docs/gst/gstreamer-sections.txt:
13493         * win32/common/libgstbase.def:
13494         * win32/libgstbase.def:
13495         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13496         (gst_collect_pads_class_init), (gst_collect_pads_init),
13497         (gst_collect_pads_finalize), (gst_collect_pads_new),
13498         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13499         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13500         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13501         (gst_collect_pads_start), (gst_collect_pads_stop),
13502         (gst_collect_pads_peek), (gst_collect_pads_pop),
13503         (gst_collect_pads_available), (gst_collect_pads_read),
13504         (gst_collect_pads_flush), (gst_collect_pads_event),
13505         (gst_collect_pads_chain):
13506         * gst/base/gstcollectpads.h:
13507           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13508           unimplemented functions as unimplemented. Add padding to
13509           GstCollectData. (#320766, #320423)
13510
13511 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13512
13513         * gst/gstmessage.c:
13514           Improve docs for DURATION message (usage of duration parameter)
13515           (#320113)
13516
13517 2005-11-20  Wim Taymans  <wim@fluendo.com>
13518
13519         * check/Makefile.am:
13520         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13521         (main):
13522         * gst/Makefile.am:
13523         * gst/gst.h:
13524         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13525         (gst_segment_set_seek), (gst_segment_set_newsegment),
13526         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13527         (gst_segment_clip):
13528         * gst/gstsegment.h:
13529         Added segment helper structure and methods. Not fully implemented
13530         yet.
13531         Added segment check.
13532
13533 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13534
13535         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13536           Add a deserialisation test for fractions
13537         * examples/metadata/read-metadata.c: (message_loop),
13538         (make_pipeline), (main):
13539           Fix up metadata reading sample.
13540         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13541           Debug format fix
13542         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13543           Don't try and fixate empty caps
13544         * gst/gst_private.h:
13545           Wrap in G_BEGIN_DECLS/G_END_DECLS
13546         * gst/gstvalue.c: (gst_value_collect_fraction),
13547         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13548         (gst_value_transform_string_fraction),
13549         (gst_value_compare_fraction):
13550           Add some extra guards to ensure that we don't end up 
13551           with an invalid denominator of 0 in a gstfraction and
13552           that fractions always get reduced.
13553
13554 2005-11-20  Wim Taymans  <wim@fluendo.com>
13555
13556         * docs/gst/gstreamer-sections.txt:
13557         * gst/gstbuffer.h:
13558         * gst/gstelement.c:
13559         * gst/gstformat.c:
13560         * gst/gstformat.h:
13561         * gst/gstindex.h:
13562         * gst/gstquery.c:
13563         * gst/gstquery.h:
13564         * gst/gstvalue.c:
13565         Doc fixes.
13566
13567 2005-11-20  Wim Taymans  <wim@fluendo.com>
13568
13569         * docs/design/part-TODO.txt:
13570         * gst/gstcaps.h:
13571         Make a proper enum of the flag.
13572
13573 2005-11-19  Wim Taymans  <wim@fluendo.com>
13574
13575         * docs/design/part-TODO.txt:
13576         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13577         (gst_format_to_quark), (gst_format_register):
13578         * gst/gstformat.h:
13579         * gst/gstquery.c: (_gst_query_initialize),
13580         (gst_query_type_get_name), (gst_query_type_to_quark),
13581         (gst_query_type_register):
13582         * gst/gstquery.h:
13583         Add type to quark and type to string conversions.
13584
13585 2005-11-19  Andy Wingo  <wingo@pobox.com>
13586
13587         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13588         #320097.
13589
13590 2005-11-19  Wim Taymans  <wim@fluendo.com>
13591
13592         * docs/design/part-TODO.txt:
13593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13594         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13595         (gst_bin_handle_message_func):
13596         * gst/gstbin.h:
13597         Make message handling overridable.
13598
13599 2005-11-19  Andy Wingo  <wingo@pobox.com>
13600
13601         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13602
13603         * gst/gstclock.h:
13604         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13605         be a GstClockTime.
13606         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13607         is a GstClockTime. Fixes #321710.
13608
13609         * gst/gstclock.h (GstClock): Remove offset property. Add
13610         internal_calibration and external_calibration. Fix padding. Pad
13611         also by GstClockTime so we don't run into problems.
13612
13613         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13614         (gst_clock_get_rate_offset): Remove.
13615         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13616
13617         * gst/gstutils.h:
13618         * gst/gstutils.c (g_static_rec_cond_wait)
13619         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13620
13621         * gst/gstbin.c: Remove terrible continue_state prototype.
13622
13623         * gst/gstelement.h (gst_element_continue_state): Make public.
13624
13625         * gst/gstelement.h:
13626         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13627         by continue_state. Fixes #319389.
13628
13629         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13630         Really fixes #168438. However I don't see anywhere where the
13631         filter function is called... stupid GStreamer...
13632         
13633         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13634         don't have a dispose function, so it won't get called when the
13635         object is unreffed, but oh well!
13636
13637         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13638         allows a destroy function to be set so user_data can be freed.
13639         Fixes #168438.
13640         (gst_index_set_filter): Call gst_index_set_filter_full.
13641
13642         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13643
13644         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13645         string should produce an error, given the lack of a way to
13646         represent NULL strings. Fixes #165650.
13647         
13648         * gst/gstvalue.h: 
13649         * gst/gstvalue.c (gst_value_array_append_value) 
13650         (gst_value_array_prepend_value, gst_value_array_get_size) 
13651         (gst_value_array_get_value): New API, copied from
13652         gst_value_list_*, only operates on arrays.
13653         (gst_value_list_append_value, gst_value_list_prepend_value) 
13654         (gst_value_list_concat, gst_value_list_get_size) 
13655         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13656
13657         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13658         init_list, because it works on both.
13659         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13660         (gst_value_copy_list_or_array): Renamed from copy_list.
13661         (gst_value_free_list_or_array): Renamed from free_list.
13662         (gst_value_collect_list_or_array): Renamed from collect_list.
13663         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13664         (gst_value_list_or_array_peek_pointer): Renamed from
13665         list_peek_pointer.
13666         (_gst_value_array_value_table, _gst_value_list_value_table):
13667         Update value table functions.
13668         (gst_value_compare_list_or_array): Renamed from compare_list.
13669
13670         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13671         some constness.
13672
13673         * gst/gsttaglist.c:
13674         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13675         GstTagList*. Fixes #143472.
13676
13677         * gst/gststructure.h: Clarify what the foreach/map functions can
13678         or can't do to their arguments.
13679
13680 2005-11-18  Wim Taymans  <wim@fluendo.com>
13681
13682         * gst/gstclock.c: (gst_clock_set_calibration),
13683         (gst_clock_get_calibration):
13684         Doc and API fixes.
13685         Calibration can be set with internal time equal to current
13686         internal time too.
13687
13688 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * gst/gsterror.c:
13691         * gst/gsterror.h:
13692           document
13693
13694 2005-11-18  Andy Wingo  <wingo@pobox.com>
13695
13696         * configure.ac: 
13697         * pkgconfig/gstreamer-net.pc.in:
13698         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13699         * pkgconfig/Makefile.am: Add net pkgconfig files.
13700
13701 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13702
13703         * gst/gstcaps.c:
13704         * gst/gstghostpad.c:
13705         * gst/gsttrace.c:
13706         * gst/gstvalue.c:
13707         * gst/gstvalue.h:
13708           docs fixes
13709
13710 2005-11-18  Andy Wingo  <wingo@pobox.com>
13711
13712         * gst/net/gstnetclientclock.c: Turn off debugging.
13713
13714         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13715         times connverge somewhat. Can't make a real test.
13716
13717         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13718         integer arithmetic. Return the minimum of the domain, which can be
13719         set as "internal" for gst_clock_set_calibration.
13720         (gst_net_client_clock_observe_times): Call _set_calibration.
13721         (gst_net_client_clock_new): Call _set_calibration instead of
13722         rate_offset.
13723
13724         * check/net/gstnetclientclock.c (test_functioning): Use the right
13725         adjustment api.
13726
13727         * gst/gstclock.h:
13728         * gst/gstclock.c (gst_clock_get_calibration) 
13729         (gst_clock_set_calibration): New functions, obsolete the ones I
13730         added yesterday. Doh. Precision issues mean we have to extrapolate
13731         from a point in the more recent past than 1970.
13732         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13733         obsolete.
13734         (gst_clock_adjust_unlocked): Use the right calibration data.
13735
13736 2005-11-18  Edward Hervey  <edward@fluendo.com>
13737
13738         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13739         Also reset the ->current_* values in READY->PAUSED
13740
13741 2005-11-18  Andy Wingo  <wingo@pobox.com>
13742
13743         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13744         Whoops, check the right fd. Also add some debugging.
13745         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13746         (do_linear_regression): Add a crapload of debugging. Subtract off
13747         the minimum values from the input series to discard unneeded bits.
13748         Use only int arithmetic. There is still double arithmetic when
13749         calculating the intercept that needs fixing. Return boolean to
13750         indicate success; FALSE would mean the domain or range is too
13751         great. Still needs fixes.
13752
13753 2005-11-18  Wim Taymans  <wim@fluendo.com>
13754
13755         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13756         For the current position in stream time, we need to subtract
13757         accumulated time.
13758         
13759         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13760         Release lock before calling the callback function of async
13761         entries.
13762
13763 2005-11-18  Andy Wingo  <wingo@pobox.com>
13764
13765         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13766         Port goes all the way to MAXUINT16.
13767
13768         * gst/net/gstnettimeprovider.c: Make the port range the same as
13769         for the kernel: 0 assigns, otherwise ports are less than
13770         MAXUINT16.
13771
13772         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13773         port change.
13774
13775         * check/net/gstnetclientclock.c (test_functioning): Add the start
13776         of another test. 
13777
13778 2005-11-18  Wim Taymans  <wim@fluendo.com>
13779
13780         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13781         (gst_bin_remove_func), (bin_bus_handler):
13782         * gst/gstbin.h:
13783         Removing a clock provider from a bin, triggers a clock lost message
13784         so that a new clock will be selected.
13785         Adding a clock to a bin triggers a clock provider message.
13786         Make sure we reselect a clock when we received a clock lost message.
13787         Keep a reference to the element that provided the clock.
13788
13789 2005-11-18  Andy Wingo  <wingo@pobox.com>
13790
13791         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13792         the clock initially so it produces values around the base time.
13793         (gst_net_client_clock_class_init): Typo fix.
13794         (gst_net_client_clock_thread): Add note on when the socket gets
13795         closed.
13796
13797 2005-11-17  Wim Taymans  <wim@fluendo.com>
13798
13799         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13800         Free remote and local time arrays.
13801
13802 2005-11-17  Wim Taymans  <wim@fluendo.com>
13803
13804         * gst/net/gstnetclientclock.c: (do_linear_regression),
13805         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13806         Fix compilation, uninitialized vars and a forgotten continue.
13807
13808 2005-11-17  Andy Wingo  <wingo@pobox.com>
13809
13810         * check/Makefile.am (check_PROGRAMS): 
13811         * check/net/gstnetclientclock.c: Add a most minimal test for the
13812         net client clock. More to come later.
13813
13814         * gst/net/gstnet.h: 
13815         * gst/net/Makefile.am: Add netclientclock.
13816
13817         * gst/net/gstnetclientclock.h:
13818         * gst/net/gstnetclientclock.c: New files, implement an untested
13819         GstClock that takes its time from a network time provider.
13820         Implements the algorithm in network-clock.scm.
13821
13822         * tests/network-clock.scm (*window-size*): Rename from
13823         *queue-length*.
13824         * tests/network-clock.scm (network-time): 
13825         * tests/network-clock-utils.scm (q-push): Update callers.
13826
13827 2005-11-17  Wim Taymans  <wim@fluendo.com>
13828
13829         * gst/gstbin.c: (gst_bin_provide_clock_func),
13830         (gst_bin_sort_iterator_new):
13831         And unref the child too..
13832
13833 2005-11-17  Wim Taymans  <wim@fluendo.com>
13834
13835         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13836         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13837         Refactor the sort iterator so it can be used while holding the
13838         LOCK too.
13839         Make clock selection select a clock closest to the source.
13840
13841 2005-11-17  Michael Smith <msmith@fluendo.com>
13842
13843         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13844         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13845         * gst/gstclock.h:
13846           Anonymous structs are a gcc (and some other compilers) extension, so
13847           don't use them. Since this is only for ABI-compatibility, and our
13848           API/ABI freeze is over in a few days, this whole thing will only
13849           last a few days, so don't bother trying to think up a meaningful
13850           name for the struct.
13851
13852 2005-11-17  Andy Wingo  <wingo@pobox.com>
13853
13854         * gst/gstclock.h (GstClock): Add rate and offset properties,
13855         preserving ABI stability. Add rate/offset accessors. Will file bug
13856         for the freeze break.
13857
13858         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13859         and offset, trying to keep precision and avoiding
13860         underflow/overflow.
13861         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13862         functions. Make gst_clock_set_time_adjust obsolete.
13863         (gst_clock_set_time_adjust): Note that this function is obsolete.
13864         Will file bug soon.
13865
13866         * gst/base/gstbasetransform.h: Make the ABI-stability hack
13867         greppable by using GST_PADDING-1+1.
13868
13869 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
13870
13871         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13872
13873         * gst/gstmessage.c: (gst_message_parse_clock_lost):
13874           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13875
13876         * gst/gstpadtemplate.h:
13877         * gst/gstpluginfeature.h:
13878           Don't use c++ style comments in headers (#321638).
13879
13880 2005-11-16  Andy Wingo  <wingo@pobox.com>
13881
13882         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13883         buffer.
13884
13885         * check/net/gstnettimeprovider.c: Check to see that the time
13886         provider actually provides times. Works, yo!
13887
13888 2005-11-16  Wim Taymans  <wim@fluendo.com>
13889
13890         * check/Makefile.am:
13891         Enable more tests.
13892
13893         * check/elements/fakesrc.c: (GST_START_TEST):
13894         Set element to NULL before disposing it.
13895
13896 2005-11-16  Andy Wingo  <wingo@pobox.com>
13897
13898         * gst/net/Makefile.am:
13899         * gst/net/gstnet.h:
13900         * gst/net/gstnettimeprovider.c: 
13901         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13902         provider, include it from gstnet.h, and add it to the build.
13903
13904         * gst/net/gstnettimepacket.h: 
13905         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13906         sending and receiving.
13907
13908 2005-11-16  Wim Taymans  <wim@fluendo.com>
13909
13910         * check/Makefile.am:
13911         Enable valgrind check.
13912
13913         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13914         (gst_fake_src_alloc_buffer):
13915         Fix memleak.
13916
13917 2005-11-16  Wim Taymans  <wim@fluendo.com>
13918
13919         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13920         Call parent finalize too.
13921
13922 2005-11-16  Wim Taymans  <wim@fluendo.com>
13923
13924         * check/Makefile.am:
13925         Enable valgrind check that should work fine now.
13926
13927         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13928         * gst/gstqueue.c: (gst_queue_init):
13929         Fix memleaks in pad allocation.
13930
13931 2005-11-16  Andy Wingo  <wingo@pobox.com>
13932
13933         * gst/net/Makefile.am:
13934         * gst/net/gstnet.h: New part of core to hold network elements and
13935         objects. Put in core because it exposes API that applications want
13936         to use. The library is named libgstnet-tempname right now because
13937         of the existing libgstnet in gst-plugins-base. Solution is
13938         probably to rename the one in plugins-base; will file a bug for
13939         the freeze break.
13940
13941         * gst/net/gstnettimeprovider.c: 
13942         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13943         get_time call over the network.
13944
13945         * configure.ac: 
13946         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13947
13948         * check/Makefile.am:
13949         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13950         get additions shortly.
13951
13952 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13953
13954         * gst/gstpad.c: (gst_pad_new_from_static_template):
13955         * gst/gstpad.h:
13956           add gst_pad_new_from_static_template functions
13957         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13958         (gst_check_setup_sink_pad):
13959         * gst/elements/gsttee.c: (gst_tee_init):
13960           and use them
13961
13962 2005-11-16  Wim Taymans  <wim@fluendo.com>
13963
13964         * gst/gstpad.c: (gst_pad_pause_task):
13965         Removed warning, it's not really an error either.
13966
13967 2005-11-16  Wim Taymans  <wim@fluendo.com>
13968
13969         * gst/base/gstbasetransform.c:
13970         (gst_base_transform_prepare_output_buf),
13971         (gst_base_transform_event):
13972         Check if the caps are NULL, this can happen if the element
13973         is shutting down and the pad caps are set to NULL.
13974
13975 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13976
13977         * gst/elements/gsttee.c: (gst_tee_init):
13978           fix pad template leak in tee
13979
13980 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13981
13982         * gst/glib-compat.c: (g_value_dup_gst_object):
13983         * gst/glib-compat.h:
13984         * gst/gstpad.c: (gst_pad_set_property):
13985           use gst_object_ref when setting the pad template; this will
13986           trigger the pad template leaks on GLib 2.6 and the slaves
13987
13988 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13989
13990         * gst/glib-compat.c: (gst_flags_get_first_value):
13991         * gst/glib-compat.h:
13992         * gst/gstregistryxml.c:
13993           remove functions copied from GLib 2.6
13994
13995 2005-11-16  Michael Smith <msmith@fluendo.com>
13996
13997         * gst/Makefile.am:
13998           Don't link against VALGRIND_LIBS. That was always the wrong thing to
13999           do, but only breaks with newer valgrind versions. We're not a
14000           valgrind tool, we have no link-time dependencies on libcoregrind.
14001
14002 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14003
14004         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14005           some debug changes
14006         * gst/gstmessage.h:
14007           typo fixes
14008
14009 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14010
14011         * gst/base/gstbasesrc.c: (gst_base_src_init):
14012         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14013         * gst/gstqueue.c: (gst_queue_init):
14014         * gst/gstregistryxml.c: (load_feature):
14015           Revert all these unrefs, they don't even pass make check !
14016
14017 2005-11-15  Johan Dahlin  <johan@gnome.org>
14018
14019         * gst/base/gstbasesrc.c: (gst_base_src_init):
14020         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14021         * gst/gstqueue.c: (gst_queue_init): 
14022         Free pad templates, fixes a couple of leaks.
14023
14024 2005-11-15  Daniel Fischer  <dan at f3c dot com>
14025
14026         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14027
14028         * gst/gstpad.c: (gst_pad_get_property):
14029           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14030           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14031           (#321452)
14032
14033 2005-11-15  Wim Taymans  <wim@fluendo.com>
14034
14035         * gst/gstevent.c:
14036         Small doc update.
14037
14038 2005-11-15  Andy Wingo  <wingo@pobox.com>
14039
14040         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14041
14042         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14043         using GST_CLOCK_TIME_NONE to disable base time management.
14044         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14045         time if it was NONE before.
14046         (gst_pipeline_change_state): Only munge the base time if
14047         stream_time != GST_CLOCK_TIME_NONE.
14048
14049         * check/gst/gstpipeline.c (test_base_time): Punt around the
14050         problem of the probe not being called, because that's not the
14051         issue I'm looking at. Add a check that setting stream_time to NONE
14052         disables base time management.
14053         
14054 2005-11-15  Wim Taymans  <wim@fluendo.com>
14055
14056         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14057         segment_stop == -1 at startup.
14058
14059         * gst/base/gstbasetransform.c: (gst_base_transform_event),
14060         (gst_base_transform_change_state):
14061         Init segment values at start.
14062
14063 2005-11-15  Wim Taymans  <wim@fluendo.com>
14064
14065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14066         0 segment values are 0 in any format.
14067
14068         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14069         * gst/base/gstbasetransform.h:
14070         Parse newsegment correctly in basetransform
14071
14072         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14073         Sync to clock using updated segment values.
14074
14075 2005-11-15  Andy Wingo  <wingo@pobox.com>
14076
14077         * check/gst/gstpipeline.c (test_base_time): Add check that the
14078         base time and stream time are reset correctly.
14079
14080 2005-11-15  Wim Taymans  <wim@fluendo.com>
14081
14082         * docs/design/part-TODO.txt:
14083         Some more TODO items.
14084
14085 2005-11-15  Andy Wingo  <wingo@pobox.com>
14086
14087         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14088         error if the user selected "no clock" as the clocking method.
14089
14090         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14091         timestamps with live capture.
14092
14093         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14094         is 0 but we are a live source, timestamp the buffers using the
14095         element's clock.
14096
14097 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14098
14099         * docs/gst/gstreamer-sections.txt:
14100         * gst/gsterror.c:
14101         * gst/gstghostpad.c:
14102         * gst/gstobject.h:
14103         * gst/gstxml.c:
14104           more section docs
14105
14106 2005-11-14  Wim Taymans  <wim@fluendo.com>
14107
14108         * common/gst.supp:
14109           add suppressions from Wim's Debian machine
14110
14111 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14112
14113         * common/gst.supp:
14114           add suppressions from Andy's AMD64 Ubuntu machine
14115
14116 2005-11-14  Andy Wingo  <wingo@pobox.com>
14117
14118         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14119         STATE_LOCK not necessary. Fixes #311489.
14120
14121         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14122         #305291.
14123
14124         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14125         this function is not implemented.
14126
14127 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14128
14129         * gst/base/gstbasetransform.c:
14130         (gst_base_transform_prepare_output_buf):
14131         Ref the source pad caps while we need them.
14132         Fixes (#321386)
14133
14134 2005-11-11  Wim Taymans  <wim@fluendo.com>
14135
14136         * docs/gst/gstreamer-sections.txt:
14137         Added some docs for GstCollectData.
14138
14139         * gst/base/gstadapter.c:
14140         Some small code example fix.
14141
14142         * gst/base/gstcollectpads.c:
14143         * gst/base/gstcollectpads.h:
14144         Document some more.
14145
14146 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14147
14148         * configure.ac: back to HEAD
14149
14150 === release 0.9.5 ===
14151
14152 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14153
14154         * configure.ac:
14155           releasing 0.9.5, "Bike Lunch Day"
14156
14157 2005-11-11  Wim Taymans  <wim@fluendo.com>
14158
14159         * gst/gstbuffer.c: (_gst_buffer_copy):
14160         Copy more flags.
14161
14162         * gst/gstcaps.c: (gst_caps_is_equal):
14163         Fix some docs.
14164         Make _is_equal fast in the trivial cases.
14165
14166         * gst/gstminiobject.c:
14167         * gst/gstminiobject.h:
14168         More docs. Spifify .h file.
14169
14170         * gst/gstutils.c:
14171         Small doc update.
14172
14173 2005-11-11  Wim Taymans  <wim@fluendo.com>
14174
14175         * gst/base/gstbasetransform.c:
14176         (gst_base_transform_prepare_output_buf),
14177         (gst_base_transform_handle_buffer):
14178         Small cleanups.
14179         If we're processing a buffer and need to allocate an output
14180         buffer, we cannot accept a format change. If we did get a 
14181         format change, we have to alloc a buffer ourselves of the 
14182         right size.
14183
14184 2005-11-11  Wim Taymans  <wim@fluendo.com>
14185
14186         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14187         While checking the flag for reentrancy in the gstcaps function
14188         is nice to detect recursive invocations, it also makes it 
14189         impossible to call getcaps from multiple threads, which must be
14190         possible. So, checking for recursive calls has to go.
14191
14192 2005-11-11  Michael Smith <msmith@fluendo.com>
14193
14194         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14195           Don't sync on buffers that fall partially outside our current
14196           segment. Prevents an assertion failure/abort playing some files.
14197
14198 2005-11-10  Andy Wingo  <wingo@pobox.com>
14199
14200         * check/gst/gstbin.c (test_message_state_changed_children): Style
14201         fix..
14202
14203         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14204         gst_bus_poll with the signal watch. Ensures that poll and a signal
14205         watch see the same messages.
14206
14207         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14208         a poll and a watch at the same time get the same messages.
14209
14210 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14211
14212         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14213         * gst/gstcaps.c: (gst_caps_intersect):
14214           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14215           and it's not needed.
14216
14217 2005-11-10  Wim Taymans  <wim@fluendo.com>
14218
14219         * docs/design/part-TODO.txt:
14220         Updated todo.
14221
14222 2005-11-10  Wim Taymans  <wim@fluendo.com>
14223
14224         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14225         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14226         (gst_base_src_do_sync), (gst_base_src_get_range):
14227         Implement clock sync in base class.
14228
14229 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14230
14231         patch by: Tim-Philipp Müller <tim at centricular dot net>
14232
14233         * gst/gststructure.c: (gst_structure_parse_field),
14234         (gst_structure_from_string):
14235           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14236           so that gst_parse_launch() can deal with spaces in filtered link
14237           caps (fixes #164479)
14238         * check/gst/capslist.h:
14239         * check/gst/gststructure.c: (GST_START_TEST):
14240           add unit tests for this change
14241
14242 2005-11-10  Wim Taymans  <wim@fluendo.com>
14243
14244         * docs/gst/gstreamer-sections.txt:
14245         * gst/gstelement.c:
14246         * gst/gstelement.h:
14247         Fix docs, move some STATE macros to private.
14248
14249 2005-11-10  Wim Taymans  <wim@fluendo.com>
14250
14251         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14252         Added check for bug #317341
14253
14254         * gst/gstbuffer.c:
14255         * gst/gstbuffer.h:
14256         Some more spiffifying.
14257
14258         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14259         Call peer linkfunction if we are a source pad. Totally fixes
14260         #317341
14261
14262         * gst/gstpad.c:
14263         Update docs, source pads should call the peer linkfunction
14264         so they can atomically perform the pad link.
14265
14266 2005-11-09  Wim Taymans  <wim@fluendo.com>
14267
14268         * gst/gstbuffer.c:
14269         * gst/gstbuffer.h:
14270         Uber-spiffy-spiffify some more.
14271
14272 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14273
14274         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14275         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14276         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14277         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14278         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14279         * gst/gstpad.c: (gst_pad_init):
14280           Use GST_DEBUG_FUNCPTR() more extensively.
14281
14282 2005-11-09  Wim Taymans  <wim@fluendo.com>
14283
14284         * gst/gstobject.c: (gst_object_class_init):
14285         * gst/gstobject.h:
14286         Documentation fixes.
14287
14288 2005-11-09  Edward Hervey  <edward@fluendo.com>
14289
14290         * gst/gsttypefindfactory.c:
14291         Fix docs.
14292         
14293 2005-11-09  Edward Hervey  <edward@fluendo.com>
14294
14295         * gst/base/gsttypefindhelper.c:
14296         * gst/gsttypefind.c:
14297         * gst/gsttypefind.h:
14298         Fix docs.
14299
14300 2005-11-09  Wim Taymans  <wim@fluendo.com>
14301
14302         * gst/gstiterator.c:
14303         Fix revision data.
14304
14305         * gst/gsttask.c:
14306         * gst/gsttask.h:
14307         Fix docs.
14308
14309 2005-11-09  Wim Taymans  <wim@fluendo.com>
14310
14311         * gst/gstevent.h:
14312         * gst/gsturi.h:
14313         Fix docs.
14314
14315 2005-11-09  Wim Taymans  <wim@fluendo.com>
14316
14317         * docs/gst/gstreamer-sections.txt:
14318         Moved the message async delivery private lock and cond
14319         to the private section.
14320
14321         * gst/gstmessage.c:
14322         * gst/gstmessage.h:
14323         Fixed docs.
14324
14325 2005-11-09  Edward Hervey  <edward@fluendo.com>
14326
14327         * docs/gst/gstreamer-sections.txt:
14328         * gst/gsturi.c:
14329         * gst/gsturi.h:
14330         Document GstURIHandler
14331
14332 2005-11-09  Wim Taymans  <wim@fluendo.com>
14333
14334         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14335         (gst_iterator_find_custom):
14336         * gst/gstiterator.h:
14337         Fix iterator docs.
14338
14339 2005-11-09  Wim Taymans  <wim@fluendo.com>
14340
14341         * gst/gstbin.h:
14342         Document another field.
14343
14344         * gst/gststructure.c:
14345         * gst/gststructure.h:
14346         Document.
14347
14348 2005-11-09  Wim Taymans  <wim@fluendo.com>
14349
14350         * gst/gstbin.h:
14351         Documented structs.
14352
14353 2005-11-09  Wim Taymans  <wim@fluendo.com>
14354
14355         * docs/gst/gstreamer-sections.txt:
14356         Added some new macros.
14357
14358         * gst/gstclock.c:
14359         * gst/gstclock.h:
14360         * gst/gstobject.h:
14361         Docs updates.
14362
14363 2005-11-09  Wim Taymans  <wim@fluendo.com>
14364
14365         * docs/design/part-TODO.txt:
14366         Some more items for the TODO
14367
14368         * gst/gstcaps.c:
14369         * gst/gstcaps.h:
14370         Document GstCaps.
14371
14372 2005-11-09  Andy Wingo  <wingo@pobox.com>
14373
14374         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14375         to work on something else now tho...
14376
14377         * gst/base/gstadapter.c: More adapter docs.
14378
14379         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14380         (gst_file_sink_stop): New functions, replace the state change
14381         handler.
14382         (gst_file_sink_class_init): Hook up the start and stop functions.
14383         (gst_file_sink_base_init): Don't set the state change handler any
14384         more. It was a bit ugly too, being set from here...
14385         (gst_file_sink_get_property, gst_file_sink_set_property):
14386         Cleanups...
14387         (gst_file_sink_set_location): More robust check that doesn't call
14388         GST_STATE. Ugggggg.
14389
14390 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14391
14392         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14393           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14394
14395 2005-11-08  Wim Taymans  <wim@fluendo.com>
14396
14397         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14398         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14399         (gst_base_sink_chain), (gst_base_sink_change_state):
14400         * gst/base/gstbasesink.h:
14401         * gst/base/gstbasesrc.h:
14402         * gst/gstelement.h:
14403         * gst/gstevent.h:
14404         Avoid excessive typechecking in macros.
14405
14406         * gst/gstminiobject.c: (gst_mini_object_get_type),
14407         (gst_mini_object_init), (gst_mini_object_new),
14408         (gst_mini_object_free):
14409         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14410         (gst_object_finalize):
14411         Remove cruft code, optimize alloc_trace.
14412
14413 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14414
14415         * docs/faq/gst-uninstalled:
14416           fix up PS1 for systems that try to reset it
14417
14418 2005-11-07  Wim Taymans  <wim@fluendo.com>
14419
14420         * gst/base/gstbasesrc.c: (gst_base_src_init),
14421         (gst_base_src_get_range):
14422         Set the segment_end to -1 initially. Fixed typefind.
14423
14424 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14425
14426         * gst/base/gstadapter.c:
14427           Debug category should be 'adapter', not 'GstAdapter'.
14428           
14429         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14430         (gst_collectpads_class_init), (gst_collectpads_init),
14431         (gst_collectpads_peek), (gst_collectpads_pop),
14432         (gst_collectpads_event), (gst_collectpads_chain):
14433           Add debug category and some debugging output. Use boilerplate
14434           macros. Remove some extraneous words from docs.
14435
14436 2005-11-05  Andy Wingo  <wingo@pobox.com>
14437
14438         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14439         macro.
14440
14441 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14442
14443         * docs/gst/gstreamer-sections.txt:
14444         * gst/gstcaps.h:
14445         * gst/gstinfo.c:
14446         * gst/gstminiobject.h:
14447         * gst/gstobject.h:
14448         * gst/gstutils.h:
14449           more docs added
14450
14451 2005-11-04  Wim Taymans  <wim@fluendo.com>
14452
14453         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14454         Small update to stop at the configured segment_end
14455         position.
14456
14457 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14458
14459         * gst/gstregistry.c:
14460         * gst/gstregistry.h:
14461           added missing docs
14462
14463 2005-11-04  Edward Hervey  <edward@fluendo.com>
14464
14465         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14466         Check if we are doing a segment seek and have arrived at the
14467         end of that segment.
14468
14469 2005-11-04  Wim Taymans  <wim@fluendo.com>
14470
14471         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14472         Don't leak a mutex unlock in case of an error.
14473
14474         * gst/gstbus.h:
14475         Doc fixes.
14476
14477 2005-11-04  Wim Taymans  <wim@fluendo.com>
14478
14479         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14480         (gst_bus_post):
14481         Get the context to wake up only once.
14482
14483 2005-11-03  Wim Taymans  <wim@fluendo.com>
14484
14485         * check/states/sinks.c: (GST_START_TEST):
14486         Uncomment fixed check.
14487
14488         * docs/design/part-TODO.txt:
14489         Updated TODO.
14490
14491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14492         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14493         (gst_base_sink_get_position):
14494         If we are going to PLAYING, post the right pending state
14495         when we post the intermediate paused message.
14496
14497         * gst/gstelement.c: (gst_element_continue_state),
14498         (gst_element_set_state_func), (gst_element_change_state):
14499         Don't post state changes that were between the same state
14500         and were not ASYNC.
14501
14502 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14503
14504         * docs/gst/gstreamer-sections.txt:
14505         * gst/gstcaps.h:
14506         * gst/gstinfo.c:
14507         * gst/gstminiobject.h:
14508         * gst/gstobject.h:
14509         * gst/gstutils.h:
14510           more docs and doc style fixes
14511
14512 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14513
14514         * docs/gst/gstreamer-sections.txt:
14515         * gst/gstelement.c:
14516         * gst/gstminiobject.c:
14517         doc fixes
14518
14519 2005-11-03  Andy Wingo  <wingo@pobox.com>
14520
14521         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14522         state-changed messages actually have the right order and the right
14523         values.
14524
14525 2005-11-03  Wim Taymans  <wim@fluendo.com>
14526
14527         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14528         Added some more checks. Specifically the case where NO_PREROLL
14529         elements are in the pipeline.
14530
14531         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14532         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14533         (gst_base_sink_get_position):
14534         Post READY->PAUSED state change messages too.
14535         Fix bug where VOID was posted as pending state...
14536
14537         * gst/gstbin.c: (gst_bin_recalc_state):
14538         use _element_continue_state() to continue the state change.
14539
14540         * gst/gstelement.c: (gst_element_continue_state),
14541         (gst_element_commit_state), (gst_element_set_state_func),
14542         (gst_element_change_state), (gst_element_change_state_func):
14543         Lots of state change cleanups, assign the STATE_RETURN in
14544         a new continue_state() function that also propagates the
14545         last return value from a state change to the app.
14546         Update some debug statements with proper category.
14547
14548 2005-11-03  Wim Taymans  <wim@fluendo.com>
14549
14550         * docs/design/part-events.txt:
14551         * docs/design/part-gstpipeline.txt:
14552         * docs/design/part-messages.txt:
14553         * docs/design/part-overview.txt:
14554         * docs/design/part-seeking.txt:
14555         * docs/design/part-states.txt:
14556         * docs/design/part-trickmodes.txt:
14557         * docs/manual/advanced-position.xml:
14558         Small docs updates.
14559
14560         * gst/gstobject.h:
14561         People think !! is ugly, this looks better.
14562
14563         * gst/gstpad.c: (gst_pad_set_blocked_async):
14564         Remove !! since it's fixed elsewhere now.
14565
14566 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14567
14568         * gst/gstminiobject.h:
14569         * gst/gstobject.h:
14570           Add !! to _FLAG_IS_SET macros to make the result boolean.
14571
14572 2005-11-03  Edward Hervey  <edward@fluendo.com>
14573
14574         * gst/gstpad.c: (gst_pad_set_blocked_async):
14575         comparing a flag and a gboolean rarely returns coherent results...
14576         Added two characters (!!) to make that work correctly.
14577         
14578 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14579
14580         * gst/gstbus.c: (gst_bus_class_init):
14581           Fix some typos.
14582           
14583         * gst/gstqueue.c: (gst_queue_loop):
14584           Don't assume a miniobject that isn't a buffer is an
14585           event (it could be that there is a refcounting
14586           problem somewhere and the pointer is stale and
14587           refers to an already destroyed miniobject).
14588
14589 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14590
14591         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14592
14593 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14594
14595         * docs/manual/advanced-position.xml:
14596           Update seek example and explanations to current 0.9 API.
14597
14598         * gst/elements/gsttypefindelement.c:
14599         (gst_type_find_element_activate):
14600           Remove FIXME comment now that the found caps
14601           are unreffed.
14602
14603 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14604
14605         * gst/gstregistryxml.c: (load_feature):
14606           Add another GST_STR_NULL instance
14607
14608 2005-11-02  Edward Hervey  <edward@fluendo.com>
14609
14610         * gst/gstpad.c: (handle_pad_block):
14611         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14612         
14613 2005-11-02  Wim Taymans  <wim@fluendo.com>
14614
14615         * gst/gstbin.c:
14616         Fix typo in docs.
14617
14618         * gst/gstelement.c: (gst_element_commit_state):
14619         Remove unused value.
14620
14621         * gst/gstiterator.c:
14622         Mention that the returned element is reffed in the docs.
14623
14624 2005-11-02  Wim Taymans  <wim@fluendo.com>
14625
14626         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14627         (gst_pad_push), (gst_pad_push_event):
14628         Unlock blocked pads when they are flushed.
14629
14630 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14631
14632         * docs/README:
14633         * docs/gst/gstreamer-sections.txt:
14634         * gst/gstbin.c:
14635           doc updates
14636         * gst/gstregistry.c: (gst_registry_scan_path_level):
14637           fix for a nasty little missed situation where an installed plug-in
14638           which was in the cache did not get overridden by an uninstalled one
14639           which was earlier in the plugin path because the newly created plugin
14640           for the uninstalled one (not in the registry) didn't get its
14641           ->registered set to TRUE
14642
14643 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14644
14645         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14646         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14647         (gst_collectpads_is_active), (gst_collectpads_collect),
14648         (gst_collectpads_collect_range), (gst_collectpads_start),
14649         (gst_collectpads_stop), (gst_collectpads_peek),
14650         (gst_collectpads_pop), (gst_collectpads_available),
14651         (gst_collectpads_read), (gst_collectpads_flush):
14652           Guard public API with assertions.
14653         
14654         * gst/gstpad.c:
14655           Fix docs for gst_pad_set_link_function().
14656
14657 2005-11-02  Johan Dahlin  <johan@gnome.org>
14658
14659         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14660         Unref found_caps after we used it.
14661
14662 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14663
14664         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14665           Don't try to ref NULL.
14666
14667 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14668
14669         * win32/common/config.h.in:
14670           provide a GST_FUNCTION that just gives a string for now
14671
14672 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14673
14674         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14675         (gst_object_flags_get_type), (register_gst_bin_flags),
14676         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14677         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14678         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14679         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14680         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14681         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14682         (gst_clock_flags_get_type), (register_gst_state),
14683         (gst_state_get_type), (register_gst_state_change_return),
14684         (gst_state_change_return_get_type), (register_gst_state_change),
14685         (gst_state_change_get_type), (register_gst_element_flags),
14686         (gst_element_flags_get_type), (register_gst_core_error),
14687         (gst_core_error_get_type), (register_gst_library_error),
14688         (gst_library_error_get_type), (register_gst_resource_error),
14689         (gst_resource_error_get_type), (register_gst_stream_error),
14690         (gst_stream_error_get_type), (register_gst_event_type),
14691         (gst_event_type_get_type), (register_gst_seek_type),
14692         (gst_seek_type_get_type), (register_gst_seek_flags),
14693         (gst_seek_flags_get_type), (register_gst_format),
14694         (gst_format_get_type), (register_gst_index_certainty),
14695         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14696         (gst_index_entry_type_get_type),
14697         (register_gst_index_lookup_method),
14698         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14699         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14700         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14701         (gst_index_flags_get_type), (register_gst_debug_level),
14702         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14703         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14704         (gst_iterator_result_get_type), (register_gst_iterator_item),
14705         (gst_iterator_item_get_type), (register_gst_message_type),
14706         (gst_message_type_get_type), (register_gst_mini_object_flags),
14707         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14708         (gst_pad_link_return_get_type), (register_gst_flow_return),
14709         (gst_flow_return_get_type), (register_gst_activate_mode),
14710         (gst_activate_mode_get_type), (register_gst_pad_direction),
14711         (gst_pad_direction_get_type), (register_gst_pad_flags),
14712         (gst_pad_flags_get_type), (register_gst_pad_presence),
14713         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14714         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14715         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14716         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14717         (gst_plugin_flags_get_type), (register_gst_rank),
14718         (gst_rank_get_type), (register_gst_query_type),
14719         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14720         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14721         (gst_tag_flag_get_type), (register_gst_task_state),
14722         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14723         (gst_alloc_trace_flags_get_type),
14724         (register_gst_type_find_probability),
14725         (gst_type_find_probability_get_type), (register_gst_uri_type),
14726         (gst_uri_type_get_type), (register_gst_parse_error),
14727         (gst_parse_error_get_type):
14728         * win32/common/gstversion.h:
14729           update win32 copies
14730
14731 2005-11-01  Luca Ognibene  <luogni@tin.it>
14732
14733         * gst/gst.c:
14734           fix docs. popt is dead, long live GOption.
14735
14736 2005-10-31  Wim Taymans  <wim@fluendo.com>
14737
14738         * gst/gstbuffer.h:
14739         Small doc fix.
14740
14741 2005-10-31  Andy Wingo  <wingo@pobox.com>
14742
14743         * Boo!
14744
14745         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14746
14747         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14748         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14749         the possibility of deadlocks here if code calling notify() or
14750         set() has a lock that can be taken in another notify handler (ABBA
14751         with class lock and e.g. python GIL state lock).
14752
14753 2005-10-28  Julien MOUTTE  <julien@moutte.net>
14754
14755         * gst/gstbus.c: Doc updates.
14756
14757 2005-10-28  Wim Taymans  <wim@fluendo.com>
14758
14759         * docs/design/part-TODO.txt:
14760         * gst/gstiterator.c:
14761         * gst/gstsystemclock.c:
14762         * gst/gstsystemclock.h:
14763         Doc updates.
14764
14765 2005-10-28  Edward Hervey  <edward@fluendo.com>
14766
14767         * docs/gst/gstreamer-docs.sgml:
14768         * docs/gst/gstreamer-sections.txt:
14769         the GstURIType documentation page is private, it only defines GstURIType
14770         which should be defined in the GstURIHandler page
14771         
14772 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14773
14774         * gst/gstbin.c: (gst_bin_class_init):
14775         * gst/gstbin.h:
14776         * gst/gstutils.c:
14777         Documentation updates.
14778
14779 2005-10-28  Wim Taymans  <wim@fluendo.com>
14780
14781         * docs/gst/gstreamer-sections.txt:
14782         * gst/gstclock.c:
14783         * gst/gstclock.h:
14784         Documented the clocks.
14785
14786 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
14787
14788         * docs/gst/gstreamer-sections.txt:
14789           move some macros to private sections
14790         * gst/gstminiobject.c:
14791         * gst/gstminiobject.h:
14792           add descriptions provided by ds and some more
14793         * gst/gstpad.h:
14794           mark macro as to be removed
14795
14796 2005-10-28  Wim Taymans  <wim@fluendo.com>
14797
14798         * docs/design/part-TODO.txt:
14799         Add an item to TODO.
14800
14801         * gst/gstiterator.c: (gst_iterator_fold),
14802         (gst_iterator_find_custom):
14803         * gst/gstiterator.h:
14804         Add iterator docs.
14805
14806 2005-10-28  Wim Taymans  <wim@fluendo.com>
14807
14808         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14809         (gst_base_transform_init):
14810         Don't leak class.
14811
14812         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14813         An EOS event marks the queue as completely filled.
14814
14815 2005-10-27  Wim Taymans  <wim@fluendo.com>
14816
14817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14818         (gst_base_sink_do_sync), (gst_base_sink_get_position):
14819         Some more debugging.
14820
14821         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14822         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14823         (gst_base_transform_event), (gst_base_transform_getrange),
14824         (gst_base_transform_chain):
14825         * gst/base/gstbasetransform.h:
14826         Fix debugging,
14827         Protect transform and concurrent buffer alloc with a new lock.
14828         Try not to break ABI/API.
14829
14830 2005-10-27  Wim Taymans  <wim@fluendo.com>
14831
14832         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14833         (gst_base_src_init), (gst_base_src_query),
14834         (gst_base_src_default_newsegment),
14835         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14836         (gst_base_src_send_event), (gst_base_src_event_handler),
14837         (gst_base_src_pad_get_range), (gst_base_src_loop),
14838         (gst_base_src_unlock), (gst_base_src_default_negotiate),
14839         (gst_base_src_start), (gst_base_src_deactivate),
14840         (gst_base_src_activate_push), (gst_base_src_change_state):
14841         Move some stuff around and cleanup things.
14842
14843 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
14844
14845         * gst/base/gstbasesrc.c: (gst_base_src_query):
14846           Add missing break statements.
14847
14848 2005-10-27  Wim Taymans  <wim@fluendo.com>
14849
14850         * check/gst/gstbin.c: (GST_START_TEST):
14851         An extra refcount is taken in basesrc.
14852
14853         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14854         (gst_base_src_get_range), (gst_base_src_pad_get_range),
14855         (gst_base_src_loop):
14856         Small cleanups, check for flushing after being unlocked from the 
14857         LIVE_LOCK. take refcounts correctly (not yet everywhere).
14858         Don't send out EOS when going to READY.
14859
14860 2005-10-27  Wim Taymans  <wim@fluendo.com>
14861
14862         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14863         (gst_base_sink_get_position):
14864         Some more debug.
14865
14866         * gst/gstbin.c: (message_check), (bin_replace_message),
14867         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14868         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14869         (bin_query_duration_init), (bin_query_duration_fold),
14870         (bin_query_duration_done), (bin_query_generic_fold),
14871         (gst_bin_query):
14872         * tools/gst-launch.c: (main):
14873         Remove old option.
14874
14875 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
14876
14877         * examples/controller/audio-example.c: (main):
14878         * examples/queue/queue.c: (event_loop):
14879         * gst/base/gstbasetransform.h:
14880         * gst/gstelement.c: (gst_element_send_event):
14881         * gst/gstevent.h:
14882         * gst/gstpad.c: (gst_pad_send_event):
14883           fixing examples
14884           fixing docs typos
14885           changing log priority in error situations
14886
14887 2005-10-25  Wim Taymans  <wim@fluendo.com>
14888
14889         * gst/gstbin.c: (message_check), (bin_replace_message),
14890         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14891         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14892         (bin_query_duration_init), (bin_query_duration_fold),
14893         (bin_query_duration_done), (bin_query_generic_fold),
14894         (gst_bin_query):
14895         Some doc and debug updates.
14896         Cache previously requested query DURATION for speed. invalidate
14897         cached duration if element posts a DURATION message.
14898
14899 2005-10-25  Wim Taymans  <wim@fluendo.com>
14900
14901         * docs/design/part-TODO.txt:
14902         Update TODO.
14903
14904         * gst/gstbin.c: (message_check), (bin_replace_message),
14905         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14906         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14907         (bin_query_duration_init), (bin_query_duration_fold),
14908         (bin_query_duration_done), (bin_query_generic_fold),
14909         (gst_bin_query):
14910         Handle SEGMENT_START/DONE messages correctly.
14911         More evolved query algorithm that handles duration queries
14912         correctly.
14913
14914         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14915         (gst_element_get_state_func), (gst_element_abort_state),
14916         (gst_element_commit_state), (gst_element_lost_state):
14917         Some more debugging.
14918
14919         * gst/gstmessage.h:
14920         Added doc.
14921
14922 2005-10-25  Wim Taymans  <wim@fluendo.com>
14923
14924         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14925         Don't use invalid stream_time.
14926
14927         * gst/gstevent.c: (gst_event_new_newsegment):
14928         stream_time in newsegment cannot be undefined.
14929
14930 2005-10-24  Wim Taymans  <wim@fluendo.com>
14931
14932         * gst/gstbus.c:
14933         Doc fix.
14934
14935         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14936         (gst_queue_loop):
14937         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14938
14939 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
14940
14941         * docs/libs/tmpl/gstdparam.sgml:
14942         * docs/libs/tmpl/gstdplinint.sgml:
14943         * docs/libs/tmpl/gstdpman.sgml:
14944         * docs/libs/tmpl/gstdpsmooth.sgml:
14945         * docs/libs/tmpl/gstunitconvert.sgml:
14946           these are obsolete
14947
14948 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14949
14950         * configure.ac:
14951           back to HEAD
14952
14953 === release 0.9.4 ===
14954
14955 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14956
14957         * configure.ac:
14958           releasing 0.9.4, "Tyrannosaurus Rex"
14959
14960 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
14961
14962         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14963         (gst_file_sink_get_current_offset):
14964           Use fseeko() and ftello() if available. When falling back on
14965           lseek() to get the current offset, fflush() first to make sure
14966           everything is up-to-date and we get the right offset.
14967
14968 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14969
14970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14971         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14972         * gst/gsterror.c: (_gst_stream_errors_init):
14973         * gst/gsterror.h:
14974         * gst/gstqueue.c: (gst_queue_loop):
14975         * po/POTFILES.in:
14976           remove prematurely added error category and clean up the instances
14977
14978 2005-10-21  Wim Taymans  <wim@fluendo.com>
14979
14980         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14981         (gst_base_sink_get_position), (gst_base_sink_query),
14982         (gst_base_sink_change_state):
14983         Simply set the right flag when going to playing, that's all
14984         we need to do instead of calling a function inside the object
14985         lock (that could take the lock as well and deadlock)
14986
14987 2005-10-21  Wim Taymans  <wim@fluendo.com>
14988
14989         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14990         (gst_base_src_loop):
14991         Don't warn, the peer element knows what to do best when
14992         the seek failed, it might try something else.
14993
14994 2005-10-21  Wim Taymans  <wim@fluendo.com>
14995
14996         * gst/base/gstbasesrc.c: (gst_base_src_init),
14997         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14998         Fix seeking.
14999
15000 2005-10-21  Wim Taymans  <wim@fluendo.com>
15001
15002         * docs/design/part-segments.txt:
15003         More docs.
15004
15005         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15006         Correctly set caps, even on the subbufer.
15007
15008 2005-10-21  Wim Taymans  <wim@fluendo.com>
15009
15010         * docs/gst/gstreamer-docs.sgml:
15011         * docs/gst/gstreamer-sections.txt:
15012         * gst/gstelement.h:
15013         * gst/gstevent.c:
15014         * gst/gstevent.h:
15015         * gst/gstmessage.h:
15016         * gst/gstpad.h:
15017         * gst/gstparse.h:
15018         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15019         * gst/gsttask.h:
15020         * gst/gstutils.c:
15021         * gst/gstutils.h:
15022         And 2% more doc coverage.
15023
15024 2005-10-21  Andy Wingo  <wingo@pobox.com>
15025
15026         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15027         position reporting.
15028
15029 2005-10-20  Wim Taymans  <wim@fluendo.com>
15030
15031         * gst/gsterror.c: (gst_error_get_message):
15032         * gst/gstparse.h:
15033         * gst/gstquery.h:
15034         * gst/gststructure.c:
15035         * gst/gsttrace.c:
15036         * gst/gstutils.c:
15037         More docs.
15038
15039 2005-10-20  Wim Taymans  <wim@fluendo.com>
15040
15041         * gst/gstbuffer.h:
15042         * gst/gstpad.c:
15043         * gst/gstparse.c:
15044         Another 1% more coverage.
15045
15046 2005-10-20  Wim Taymans  <wim@fluendo.com>
15047
15048         * docs/gst/gstreamer-sections.txt:
15049         * gst/gstelement.c: (gst_element_get_state_func),
15050         (gst_element_abort_state), (gst_element_commit_state),
15051         (gst_element_lost_state):
15052         * gst/gstevent.h:
15053         * gst/gstquery.c: (gst_query_set_position),
15054         (gst_query_parse_position), (gst_query_set_duration),
15055         (gst_query_parse_duration), (gst_query_new_convert):
15056         * gst/gstutils.c:
15057         Yay! 1% more docs coverage.
15058
15059 2005-10-20  Wim Taymans  <wim@fluendo.com>
15060
15061         * gst/gstpad.h:
15062         * gst/gstquery.c: (gst_query_set_position),
15063         (gst_query_parse_position), (gst_query_set_duration),
15064         (gst_query_parse_duration), (gst_query_new_convert):
15065         * gst/gstquery.h:
15066         * gst/gstutils.c: (gst_element_query_convert):
15067         * gst/gstutils.h:
15068         Docs and consistency fixes.
15069
15070 2005-10-20  Wim Taymans  <wim@fluendo.com>
15071
15072         * gst/gsttask.c:
15073         * gst/gsttask.h:
15074         More docs.
15075
15076 2005-10-20  Wim Taymans  <wim@fluendo.com>
15077
15078         * gst/gstbin.c: (message_check), (bin_replace_message),
15079         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15080         (update_degree), (gst_bin_sort_iterator_next),
15081         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15082         Reworked the message handling a bit, cache the messages instead of
15083         only the senders. alows us to do more in the future.
15084
15085 2005-10-20  Wim Taymans  <wim@fluendo.com>
15086
15087         * docs/design/part-TODO.txt:
15088         Update TODO
15089
15090         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15091         (gst_base_sink_query):
15092         Don't use clock time to report position when in EOS.
15093
15094 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15095
15096         * tools/gst-inspect.c: (print_interfaces),
15097         (print_element_properties_info), (print_element_info):
15098           Fix interface output with gst-inspect -a; don't print
15099           newlines after double/float properties.
15100
15101 2005-10-20  Wim Taymans  <wim@fluendo.com>
15102
15103         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15104         (gst_base_sink_query):
15105         Speed up current position calculation.
15106
15107         * gst/base/gstbasesrc.c: (gst_base_src_query),
15108         (gst_base_src_default_newsegment):
15109         Correctly set stream position in newsegment.
15110
15111         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15112         (update_degree), (gst_bin_sort_iterator_next),
15113         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15114         * gst/gstmessage.c: (gst_message_new_custom):
15115         Clean up debugging info
15116
15117         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15118         (gst_queue_loop), (gst_queue_handle_src_query):
15119         Pause task faster.
15120
15121 2005-10-19  Wim Taymans  <wim@fluendo.com>
15122
15123         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15124         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15125         Fix query handling again.
15126
15127 2005-10-19  Wim Taymans  <wim@fluendo.com>
15128
15129         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15130         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15131         * gst/base/gstbasesrc.c: (gst_base_src_query):
15132         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15133         * gst/elements/gsttypefindelement.c:
15134         (gst_type_find_handle_src_query), (find_element_get_length),
15135         (gst_type_find_element_activate):
15136         API change fix.
15137
15138         * gst/gstquery.c: (gst_query_new_position),
15139         (gst_query_set_position), (gst_query_parse_position),
15140         (gst_query_new_duration), (gst_query_set_duration),
15141         (gst_query_parse_duration), (gst_query_set_segment),
15142         (gst_query_parse_segment):
15143         * gst/gstquery.h:
15144         Bundling query position/duration is not a good idea since duration
15145         does not change much and we don't want to recalculate it for every
15146         position query, so they are separated again..
15147         Base value in segment query is not needed.
15148
15149         * gst/gstqueue.c: (gst_queue_handle_src_query):
15150         * gst/gstutils.c: (gst_element_query_position),
15151         (gst_element_query_duration), (gst_pad_query_position),
15152         (gst_pad_query_duration):
15153         * gst/gstutils.h:
15154         Updates for query API change.
15155         Added some docs here and there.
15156
15157 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15158
15159         * check/gst/gstbin.c: (GST_START_TEST):
15160         * check/gst/gstghostpad.c: (GST_START_TEST):
15161         * check/pipelines/cleanup.c: (GST_START_TEST):
15162           wait on thread to die so we can check refcount correctly
15163
15164 2005-10-18  Wim Taymans  <wim@fluendo.com>
15165
15166         * check/pipelines/stress.c: (GST_START_TEST):
15167         Make check a little more time consuming.
15168
15169 2005-10-18  Wim Taymans  <wim@fluendo.com>
15170
15171         * check/Makefile.am:
15172         * check/pipelines/stress.c: (GST_START_TEST),
15173         (simple_launch_lines_suite), (main):
15174         Small state change torture test.
15175
15176         * docs/design/part-states.txt:
15177         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15178         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15179         (gst_base_sink_change_state):
15180         Never take state lock from streaming thread, clean up ugly
15181         hacks. Unfortunatly core does not yet support nice ways to
15182         async commit state.
15183         
15184         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15185         (bin_bus_handler):
15186         Start state recalc if a STATE_DIRTY message is posted, but only
15187         on the toplevel bin.
15188
15189         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15190         (gst_element_get_state_func), (gst_element_abort_state),
15191         (gst_element_commit_state), (gst_element_lost_state),
15192         (gst_element_set_state_func), (gst_element_change_state):
15193         * gst/gstelement.h:
15194         State variables are now protected with the LOCK, the state
15195         lock is only used to serialize _set_state().
15196
15197 2005-10-18  Wim Taymans  <wim@fluendo.com>
15198
15199         * check/gst/gstbin.c: (GST_START_TEST):
15200         * check/gst/gstmessage.c: (GST_START_TEST):
15201         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15202         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15203         (bin_bus_handler):
15204         * gst/gstelement.c: (gst_element_abort_state),
15205         (gst_element_commit_state), (gst_element_lost_state):
15206         * gst/gstmessage.c: (gst_message_new_state_changed),
15207         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15208         (gst_message_new_segment_done), (gst_message_new_duration),
15209         (gst_message_parse_state_changed),
15210         (gst_message_parse_segment_start),
15211         (gst_message_parse_segment_done), (gst_message_parse_duration):
15212         * gst/gstmessage.h:
15213         * tools/gst-launch.c: (event_loop):
15214         Seriously, this is better than a previous commit as we only need
15215         to notify the fact that an element changed state in a streaming
15216         thread, marking the state of the parents dirty, hence the 
15217         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15218         message.
15219
15220 2005-10-18  Wim Taymans  <wim@fluendo.com>
15221
15222         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15223         (gst_bin_recalc_func):
15224         * gst/gstelement.c: (gst_element_set_clock),
15225         (gst_element_abort_state), (gst_element_lost_state):
15226         Cleanups, prepare for state change fixes.
15227
15228 2005-10-18  Wim Taymans  <wim@fluendo.com>
15229
15230         * gst/gstbin.h:
15231         * gst/gstelement.c: (gst_element_class_init),
15232         (gst_element_set_state), (gst_element_set_state_func):
15233         * gst/gstelement.h:
15234         Pending ABI changes.
15235         GThreadPool in GstBinClass to monitor async state changes.
15236         state_cookie in GstElement to detect concurrent gst/set state.
15237         set_state is now virtual too in case a very complicated element
15238         has to be constructed.
15239
15240 2005-10-18  Wim Taymans  <wim@fluendo.com>
15241
15242         * check/gst/gstbin.c: (GST_START_TEST):
15243         * check/gst/gstmessage.c: (GST_START_TEST):
15244         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15245         * gst/gstbin.c: (bin_bus_handler):
15246         * gst/gstelement.c: (gst_element_commit_state),
15247         (gst_element_lost_state):
15248         * gst/gstmessage.c: (gst_message_new_state_changed),
15249         (gst_message_new_segment_start), (gst_message_new_segment_done),
15250         (gst_message_new_duration), (gst_message_parse_state_changed),
15251         (gst_message_parse_segment_start),
15252         (gst_message_parse_segment_done), (gst_message_parse_duration):
15253         * gst/gstmessage.h:
15254         * tools/gst-launch.c: (event_loop):
15255         Make messages future proof.
15256         state-change gets a flag if it was a message comming from the
15257         streaming thread.
15258         segment-start/stop can also be specified in other formats.
15259         A message to notify an app that a pipeline changed playback 
15260         duration.
15261         Also fix a GstMessage leak in -launch
15262
15263 2005-10-18  Andy Wingo  <wingo@pobox.com>
15264
15265         * gst/gstelement.c (gst_element_dispose): More helpful message.
15266
15267 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15268
15269         reviewed by: <delete if not using a buddy>
15270
15271         * common/gtk-doc.mak:
15272
15273 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15274
15275         * gst/gstregistry.c: (gst_registry_scan_path_level):
15276           unref a plug-in we get that was already initialized
15277
15278 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15279
15280         * docs/gst/gstreamer-sections.txt:
15281         * docs/libs/gstreamer-libs-sections.txt:
15282         * gst/gstelement.h:
15283           add new api entries
15284           hide internal macro
15285
15286 2005-10-17  Andy Wingo  <wingo@pobox.com>
15287
15288         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15289         cleanup.
15290
15291         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15292
15293         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15294
15295         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15296         (gst_element_get_state_func): Better debug message.
15297         (gst_element_commit_state): s/INFO/DEBUG/.
15298         (gst_element_lost_state, gst_element_change_state): 
15299
15300         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15301         (gst_message_new_custom): s/INFO/LOG/.
15302
15303 2005-10-17  Michael Smith <msmith@fluendo.com>
15304
15305         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15306           Check if end time is valid using end time, not start time.
15307
15308 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15309
15310         * check/gst-libs/controller.c: (GST_START_TEST),
15311         (gst_controller_suite):
15312         * libs/gst/controller/gstcontroller.c:
15313         (gst_controlled_property_set_interpolation_mode):
15314         * libs/gst/controller/gstcontroller.h:
15315         * libs/gst/controller/gstinterpolation.c:
15316         * testsuite/controller/.cvsignore:
15317         * testsuite/controller/Makefile.am:
15318         * testsuite/controller/interpolator.c:
15319           merge controller testsuites
15320           fix broken tests
15321           remove mem-chunk from docs
15322
15323 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15324
15325         * gst/gstmemchunk.c:
15326         * gst/gstmemchunk.h:
15327         * gst/gsttrashstack.c:
15328         * gst/gsttrashstack.h:
15329           out.  get out.  you're fired.  to the Attic !
15330
15331 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15332
15333         * gst/gstcaps.c: (gst_caps_intersect):
15334           fix signedness issues in a (hopefully) correct way
15335         * gst/gstelement.c: (gst_element_pads_activate):
15336           some debugging
15337         * gst/gstobject.c: (gst_object_set_parent):
15338           some debugging
15339
15340 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15341
15342         * gst/gstvalue.h: Fix prototypes.
15343
15344 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15345
15346         * docs/gst/gstreamer-sections.txt:
15347         * gst/gst.c: (gst_version_string):
15348         * gst/gst.h:
15349         * gst/gstversion.h.in:
15350         * win32/common/libgstreamer.def:
15351           add gst_version_string ()
15352
15353 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15354
15355         * configure.ac:
15356           clean up further
15357         * gst/gst.c: (init_post):
15358         * win32/common/config.h.in:
15359           it's PLUGINDIR now
15360         * gst/gstcaps.c: (gst_caps_intersect):
15361           use gint64, the range could be bigger than a guint
15362
15363 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15364
15365         * gst/gstclock.h:
15366           document potential problem in 2038
15367
15368 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15369
15370         * gst/gstcaps.c: (gst_caps_intersect):
15371           Fix guint j diving under 0
15372
15373 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15374
15375         * configure.ac:
15376         * win32/common/config.h:
15377         * win32/common/config.h.in:
15378           check for process.h, declares getpid() on Windows
15379         * gst/gstinfo.c:
15380           include process.h if we have it
15381         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15382         * gst/gstmemchunk.h:
15383           fix signedness issues
15384         * win32/common/libgstreamer.def:
15385           fix get_type's
15386
15387 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15388
15389         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15390         fix. Because of unsigned ints, caps intersection was going nuts and
15391         trying to access structures with G_MAXUINT index. That fixes
15392         videotestsrc ! ffmpegcolorspace ! fakesink
15393         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15394         consistency.
15395
15396 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15397
15398         * configure.ac:
15399           use the gettext macro
15400         * gst/elements/gstelements.c:
15401         * gst/gst.c:
15402         * gst/indexers/gstindexers.c:
15403           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15404         * win32/common/config.h:
15405           updated config.h
15406         * win32/common/config.h.in:
15407           add the template to generate config.h
15408         * win32/common/gstenumtypes.c:
15409         * win32/common/gstversion.h:
15410           updated copies
15411
15412 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15413
15414         * gst/gst.c: (gst_version):
15415         * gst/gstversion.h.in:
15416           add the nano
15417
15418 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15419
15420         * gst/gstevent.h:
15421           Oops, add missing closing bracket.
15422
15423 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15424
15425         * configure.ac:
15426           use common m4's for argument checking
15427
15428 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15429
15430         * docs/gst/gstreamer-sections.txt:
15431         * gst/gstevent.h:
15432           Add GST_EVENT_TYPE_NAME() macro.
15433
15434 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15435
15436         * gst/gstinfo.c:
15437         * gst/gstpluginfeature.c:
15438         * gst/gsttask.c:
15439           privatize more symbols
15440
15441 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15442
15443         * configure.ac:
15444           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15445           everything that uses GStreamer API should have the includes
15446
15447 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15448
15449         * docs/gst/gstreamer-sections.txt:
15450         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15451         * gst/gstvalue.h:
15452           give each value a _get_type, removes the DATA exports
15453
15454 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15455
15456         * gst/gst.c:
15457         * gst/gst.h:
15458           remove _gst_registry_auto_load, not used anymore
15459         * gst/gstbin.c: (gst_bin_get_type):
15460         * gst/gstbin.h:
15461         * gst/gstelement.c: (gst_element_get_type):
15462         * gst/gstelement.h:
15463         * gst/gstobject.c: (gst_object_get_type):
15464         * gst/gstobject.h:
15465         * gst/gstpad.c: (gst_pad_get_type):
15466         * gst/gstpad.h:
15467           make _get_type functions similar, fixes data export from library
15468
15469 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15470
15471         * configure.ac:
15472           correctly make conditionals
15473         * gst/elements/Makefile.am:
15474         * gst/elements/gstelements.c:
15475           fix typo causing fdsrc not to build
15476
15477 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15478
15479         * testsuite/Makefile.am:
15480         * testsuite/bytestream/.cvsignore:
15481         * testsuite/bytestream/Makefile.am:
15482         * testsuite/bytestream/filepadsink.c:
15483         * testsuite/bytestream/gstbstest.c:
15484         * testsuite/bytestream/test1.c:
15485         * testsuite/bytestream/testfile1:
15486         * testsuite/caps/normalisation.c:
15487         * testsuite/caps/random.c: (main):
15488         * testsuite/cleanup/.cvsignore:
15489         * testsuite/cleanup/Makefile.am:
15490         * testsuite/cleanup/cleanup1.c:
15491         * testsuite/cleanup/cleanup2.c:
15492         * testsuite/cleanup/cleanup3.c:
15493         * testsuite/cleanup/cleanup4.c:
15494         * testsuite/cleanup/cleanup5.c:
15495         * testsuite/controller/interpolator.c:
15496         * testsuite/debug/printf_extension.c: (main):
15497         * testsuite/elements/tee.c:
15498         * testsuite/negotiation/.cvsignore:
15499         * testsuite/negotiation/Makefile.am:
15500         * testsuite/negotiation/pad_link.c:
15501         * testsuite/pad/Makefile.am:
15502         * testsuite/pad/chainnopull.c:
15503         * testsuite/pad/getnopush.c:
15504         * testsuite/pad/link.c:
15505         * testsuite/refcounting/sched.c: (create_pipeline):
15506         * testsuite/registry/Makefile.am:
15507         * testsuite/registry/gst-print-formats.c:
15508         * testsuite/schedulers/.cvsignore:
15509         * testsuite/schedulers/142183-2.c:
15510         * testsuite/schedulers/142183.c:
15511         * testsuite/schedulers/143777-2.c:
15512         * testsuite/schedulers/143777.c:
15513         * testsuite/schedulers/147713.c:
15514         * testsuite/schedulers/147819.c:
15515         * testsuite/schedulers/147894-2.c:
15516         * testsuite/schedulers/147894.c:
15517         * testsuite/schedulers/Makefile.am:
15518         * testsuite/schedulers/group_link.c:
15519         * testsuite/schedulers/queue_link.c:
15520         * testsuite/schedulers/relink.c:
15521         * testsuite/schedulers/unlink.c:
15522         * testsuite/schedulers/unref.c:
15523         * testsuite/schedulers/useless_iteration.c:
15524         * testsuite/states/bin.c:
15525           clean out/remove some stuff from the testsuite directories
15526
15527 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15528
15529         * configure.ac:
15530           check for some headers
15531         * gst/elements/Makefile.am:
15532         * gst/elements/gstelements.c:
15533           don't compile fdsrc without sys/socket.h
15534         * gst/indexers/Makefile.am:
15535         * gst/indexers/gstindexers.c: (plugin_init):
15536           don't compile fileindex without mmap
15537
15538 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15539
15540         * configure.ac:
15541           reorganize
15542           clean up
15543           document more
15544           remove cruft
15545         * check/Makefile.am:
15546         * docs/gst/Makefile.am:
15547         * examples/helloworld/Makefile.am:
15548         * gst/Makefile.am:
15549         * gst/base/Makefile.am:
15550         * gst/check/Makefile.am:
15551         * gst/elements/Makefile.am:
15552         * gst/indexers/Makefile.am:
15553         * gst/parse/Makefile.am:
15554         * libs/gst/controller/Makefile.am:
15555         * libs/gst/dataprotocol/Makefile.am:
15556         * examples/helloworld/helloworld.c: (event_loop):
15557           compile fixes, though it's not being compiled currently
15558
15559 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15560
15561         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15562           Add some simple tests for the new taglist date API.
15563
15564 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15565
15566         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15567         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15568           Beautify 'last-message' output: print 'none' for buffer timestamps
15569           and durations if none is set; improve alignment with next messages.
15570
15571 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15572
15573         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15574         * gst/gstpluginfeature.h:
15575         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15576         * gst/gstregistry.h:
15577         * docs/gst/gstreamer-sections.txt:
15578           Add new API to check plugin feature version requirements.
15579
15580         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15581           Some basic tests for the above.         
15582
15583 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15584
15585         * gst/gststructure.c: (gst_structure_to_string):
15586           guard against NULL printf - happens when for example
15587           a message structure with GstClock gets serialized
15588
15589 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15590
15591         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15592           Fix presumable copy'n'pasto.
15593
15594 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15595
15596         * gst/elements/gstfakesrc.h:
15597         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15598         * gst/elements/gsttypefindelement.c:
15599           fix some signedness
15600         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15601           I wonder if this could actually write +2GB files before
15602
15603 2005-10-13  Andy Wingo  <wingo@pobox.com>
15604
15605         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15606         Fix Timmeke Waymans bug.
15607         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15608         string of the proper length to gst_caps_from_string. There's a
15609         potential for, before this fix, that this could cause someone
15610         connecting over the network to cause a segfault if the payload is
15611         not NUL-terminated.
15612
15613 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15614
15615         * docs/design/draft-push-pull.txt:
15616         * docs/design/part-overview.txt:
15617         * docs/random/TODO-pre-0.9:
15618         * docs/random/old/ChangeLog.gstreamer:
15619         * gst/base/gstpushsrc.c:
15620         * gst/gstclock.c:
15621           fixed typos
15622
15623 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15624
15625         * gst/glib-compat.c: (gst_flags_get_first_value):
15626         * gst/glib-compat.h:
15627         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15628         (gst_value_compare_double), (gst_value_serialize_flags):
15629           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15630           infinite loop
15631
15632 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15633
15634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15635         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15636           fix up debugging
15637         * tools/gst-launch.c: (event_loop):
15638           print out clock nicely
15639
15640 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15641
15642         * docs/gst/gstreamer-sections.txt:
15643         * gst/gsttaglist.h:
15644         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15645         (gst_tag_list_get_date_index):
15646           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15647           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15648
15649 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15650
15651         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15652         (gst_collectpads_chain):
15653         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15654         in CollectData.
15655
15656 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15657
15658         * docs/gst/gstreamer-sections.txt:
15659         * gst/gst.c:
15660         * gst/gsterror.h:
15661         * tools/gst-inspect.c: (main):
15662         * tools/gst-launch.c: (main):
15663         * tools/gst-run.c: (main):
15664         * tools/gst-xmlinspect.c: (main):
15665           fix GOption context leaks
15666           doc fixes
15667
15668 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15669
15670         * gst/gstbus.c:
15671           use HAVE_UNISTD_H
15672         * win32/common/config.h:
15673           update config
15674         * win32/vs6/grammar.dsp:
15675         * win32/vs6/libgstelements.dsp:
15676         * win32/vs6/libgstreamer.dsp:
15677           update vs6 files
15678
15679 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15680
15681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15682         * gst/base/gstbasesrc.c: (gst_base_src_query):
15683           fix more guint64<->gdouble conversions
15684
15685 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15686
15687         * Makefile.am:
15688           add win32-update target
15689         * win32/common/gstconfig.h:
15690         * win32/common/gstenumtypes.c:
15691         * win32/common/gstenumtypes.h:
15692         * win32/common/gstversion.h:
15693           add files that visual studio can't generate
15694
15695 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15696
15697         * Makefile.am:
15698           add a win32-update target
15699         * configure.ac:
15700
15701 2005-10-12  Wim Taymans  <wim@fluendo.com>
15702
15703         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15704         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15705         * gst/gstelement.c: (gst_element_commit_state),
15706         (gst_element_set_state):
15707         Protect flags with proper lock.
15708         unref provided cached clock in dispose.
15709
15710 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15711
15712         * gst/gst.c:
15713         * gst/gstminiobject.h:
15714         * gst/gstpad.h:
15715         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15716           removed unused flags from miniobject
15717           doc fixes
15718
15719 2005-10-12  Wim Taymans  <wim@fluendo.com>
15720
15721         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15722         (gst_file_sink_event), (gst_file_sink_render):
15723         Flush before seeking.
15724
15725 2005-10-12  Andy Wingo  <wingo@pobox.com>
15726
15727         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15728         always been the case.
15729
15730 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15731
15732         * check/gst/gstbin.c: (GST_START_TEST):
15733         * docs/gst/gstreamer-sections.txt:
15734         * gst/base/gstbasesink.c: (gst_base_sink_init):
15735         * gst/base/gstbasesrc.c: (gst_base_src_init),
15736         (gst_base_src_get_range), (gst_base_src_check_get_range),
15737         (gst_base_src_start), (gst_base_src_stop):
15738         * gst/base/gstbasesrc.h:
15739         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15740         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15741         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15742         (bin_bus_handler):
15743         * gst/gstbin.h:
15744         * gst/gstbuffer.h:
15745         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15746         * gst/gstbus.h:
15747         * gst/gstelement.c: (gst_element_is_locked_state),
15748         (gst_element_set_locked_state), (gst_element_commit_state),
15749         (gst_element_set_state):
15750         * gst/gstelement.h:
15751         * gst/gstindex.c: (gst_index_init):
15752         * gst/gstindex.h:
15753         * gst/gstminiobject.h:
15754         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15755         (gst_object_set_parent):
15756         * gst/gstobject.h:
15757         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15758         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15759         * gst/gstpad.h:
15760         * gst/gstpadtemplate.h:
15761         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15762         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15763         * gst/gstpipeline.h:
15764         * gst/indexers/gstfileindex.c: (gst_file_index_load),
15765         (gst_file_index_commit):
15766         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15767         * testsuite/pad/link.c: (gst_test_src_init),
15768         (gst_test_filter_init), (gst_test_sink_init):
15769         * testsuite/states/locked.c: (main):
15770           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15771           moved bitshift from macro to enum definition
15772
15773 2005-10-12  Wim Taymans  <wim@fluendo.com>
15774
15775         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15776         * gst/elements/gstfilesink.c: (gst_file_sink_event),
15777         (gst_file_sink_render):
15778         Some more debugging info.
15779
15780 2005-10-12  Wim Taymans  <wim@fluendo.com>
15781
15782         * docs/design/part-states.txt:
15783         * tools/gst-launch.c: (main):
15784         Some doc updates.
15785         Revert non-intentional change.
15786
15787 2005-10-12  Wim Taymans  <wim@fluendo.com>
15788
15789         * check/gst/gstbin.c: (GST_START_TEST):
15790         * check/gst/gstelement.c: (GST_START_TEST):
15791         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15792         * check/gst/gstghostpad.c: (GST_START_TEST):
15793         * check/gst/gstpipeline.c: (GST_START_TEST):
15794         * check/pipelines/simple_launch_lines.c: (run_pipeline):
15795         * check/states/sinks.c: (GST_START_TEST):
15796         * gst/elements/gsttypefindelement.c: (stop_typefinding):
15797         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15798         (gst_bin_remove_func), (gst_bin_get_state_func),
15799         (gst_bin_recalc_state), (gst_bin_change_state_func),
15800         (bin_bus_handler):
15801         * gst/gstelement.c: (gst_element_get_state_func),
15802         (gst_element_get_state), (gst_element_abort_state),
15803         (gst_element_commit_state), (gst_element_set_state),
15804         (gst_element_change_state), (gst_element_change_state_func):
15805         * gst/gstelement.h:
15806         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15807         (gst_pipeline_provide_clock_func):
15808         * gst/gstutils.c: (gst_element_link_pads_filtered):
15809         * tools/gst-launch.c: (main):
15810         * tools/gst-typefind.c: (main):
15811         Use GstClockTime in _get_state() instead of GTimeVal.
15812         Remove old code in gstutils.c
15813
15814 2005-10-12  Andy Wingo  <wingo@pobox.com>
15815
15816         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15817         removed.
15818
15819         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15820         there is no task. Shouldn't affect any code, as nothing in our
15821         plugins checks this return value.
15822         (gst_pad_stop_task): Also take the stream lock if the pad has no
15823         task. Docs updated.
15824
15825 2005-10-12  Wim Taymans  <wim@fluendo.com>
15826
15827         * gst/gstpad.c: (pre_activate), (post_activate),
15828         (gst_pad_activate_pull), (gst_pad_activate_push):
15829         Cleanup activation code. Reset old state if
15830         activation failed.
15831
15832 2005-10-12  Wim Taymans  <wim@fluendo.com>
15833
15834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15835         (gst_base_sink_change_state):
15836         No need to prerol after receiving EOS.
15837
15838         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15839         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15840         * gst/elements/gstidentity.c: (gst_identity_event):
15841         Print events more verbosely.
15842
15843 2005-10-12  Wim Taymans  <wim@fluendo.com>
15844
15845         * check/Makefile.am:
15846         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15847         * check/states/sinks2.c:
15848         Moved sinks2 testcode in sinks check.
15849
15850         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15851         (gst_bin_remove_func), (gst_bin_recalc_state),
15852         (gst_bin_change_state_func), (bin_bus_handler):
15853         Fix potential race condition when _get_state() iterated over an
15854         ASYNC element right before it posted a state completion.
15855
15856         * gst/gstclock.h:
15857         Do proper cast here.
15858
15859         * gst/gstevent.c: (gst_event_new_newsegment),
15860         (gst_event_parse_newsegment):
15861         A playback rate of 0.0 is not allowed.
15862
15863 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15864
15865         * win32/common/config.h:
15866         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15867         (_trewinddir), (_ttelldir), (_tseekdir):
15868         * win32/common/dirent.h:
15869         * win32/common/gtchar.h:
15870         * win32/common/libgstbase.def:
15871         * win32/common/libgstreamer.def:
15872         * win32/vs6/grammar.dsp:
15873         * win32/vs6/gst_inspect.dsp:
15874         * win32/vs6/gst_launch.dsp:
15875         * win32/vs6/gstreamer.dsw:
15876         * win32/vs6/libgstbase.dsp:
15877         * win32/vs6/libgstelements.dsp:
15878         * win32/vs6/libgstreamer.dsp:
15879           Visual Studio 6 project files, and a new common directory.
15880           Phear.
15881
15882 2005-10-11  Wim Taymans  <wim@fluendo.com>
15883
15884         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15885         (gst_base_sink_do_sync), (gst_base_sink_query),
15886         (gst_base_sink_change_state):
15887         * gst/base/gstbasesink.h:
15888         Correctly parse newsegment info.
15889
15890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15891
15892         * gst/gst.c: (init_post):
15893           split plugin paths correctly
15894
15895 2005-10-11  Wim Taymans  <wim@fluendo.com>
15896
15897         * check/gst/gstevent.c: (GST_START_TEST):
15898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15899         (gst_base_sink_change_state):
15900         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15901         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15902         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15903         * gst/gstevent.c: (gst_event_new_newsegment),
15904         (gst_event_parse_newsegment):
15905         * gst/gstevent.h:
15906         Added extra flag to newsegment for future API freeze.
15907         Updated check and base elements.
15908
15909 2005-10-11  Julien MOUTTE  <julien@moutte.net>
15910
15911         * gst/base/gstcollectpads.c: (gst_collectpads_init),
15912         (gst_collectpads_add_pad), (gst_collectpads_pop),
15913         (gst_collectpads_event), (gst_collectpads_chain):
15914         * gst/base/gstcollectpads.h: Handle EOS correctly.
15915
15916 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15917
15918         * tools/gst-launch.c: (main):
15919           more null protecting
15920
15921 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15922
15923         * gst/gst-i18n-lib.h:
15924           check for ENABLE_NLS, not GETTEXT_PACKAGE
15925         * gst/gstregistry.c: (gst_registry_add_plugin),
15926         (gst_registry_scan_path_level),
15927         (_gst_registry_remove_cache_plugins):
15928           protect possibly NULL strings
15929         * gst/parse/types.h:
15930           config.h already included before
15931         * tools/gst-inspect.c: (main):
15932           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15933           check for ENABLE_NLS, not GETTEXT_PACKAGE
15934         * tools/gst-launch.c: (main):
15935           check for ENABLE_NLS, not GETTEXT_PACKAGE
15936
15937 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15938
15939         * configure.ac:
15940           if we don't have glib, fail before testing 2.8
15941         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15942           fix a leak, should fix plugins-base testsuite
15943
15944 2005-10-11  Andy Wingo  <wingo@pobox.com>
15945
15946         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15947         take the mode we're going to as an arg. Go head and set the mode
15948         and flushing flags now, so that if the activate function starts a
15949         thread all the flags will be in the right state.
15950         (post_activate): Renamed also. Just handle making sure streaming
15951         finishes for the deactivation case, and setting the deactivated
15952         mode.
15953         (gst_pad_set_active): Complain loudly if deactivation fails.
15954         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15955         (gst_pad_activate_push): Adapt to pre/post_activate changes,
15956         remove the terrible hack.
15957
15958 2005-10-11  Wim Taymans  <wim@fluendo.com>
15959
15960         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15961         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15962         (gst_bin_recalc_state), (gst_bin_change_state_func),
15963         (gst_bin_dispose), (bin_bus_handler):
15964         * gst/gstbin.h:
15965         Prepare to make current EOS message queue more generic.
15966         Fix some typos.
15967
15968         * gst/gstevent.c: (gst_event_new_newsegment),
15969         (gst_event_parse_newsegment):
15970         * gst/gstevent.h:
15971         Rename base to stream_time.
15972
15973         * gst/gstmessage.h:
15974         Fix typo in docs.
15975
15976 2005-10-11  Wim Taymans  <wim@fluendo.com>
15977
15978         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15979         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15980         (gst_bin_change_state_func), (bin_bus_handler):
15981         * gst/gstbin.h:
15982         Work on proper clock selection.
15983
15984 2005-10-11  Edward Hervey  <edward@fluendo.com>
15985
15986         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
15987         * libs/gst/controller/gstcontroller.h:
15988         Added GList* version of _remove_properties() in order to be able to wrap
15989         it in bindings.
15990
15991 2005-10-11  Wim Taymans  <wim@fluendo.com>
15992
15993         * docs/design/part-states.txt:
15994         Some more docs.
15995
15996         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15997         (gst_bin_change_state_func), (bin_bus_handler):
15998         Doc updates. Don't distribute the same clock over and over again.
15999
16000         * gst/gstclock.c:
16001         * gst/gstclock.h:
16002         Doc updates.
16003
16004         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16005         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16006         (gst_pad_send_event):
16007         * gst/gstpad.h:
16008         Make probe emission threadsafe again.
16009         Register quarks and move _get_name() from utils.
16010         Doc updates.
16011
16012         * gst/gstpipeline.c: (gst_pipeline_class_init),
16013         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16014         Only redistribute the clock of it changed.
16015
16016         * gst/gstsystemclock.h:
16017         Doc updates. 
16018
16019         * gst/gstutils.c:
16020         * gst/gstutils.h:
16021         Moved the _flow_get_name() to GstPad.
16022
16023 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16024
16025         * check/gst-libs/gdp.c: (GST_START_TEST):
16026         * check/gst/gstcaps.c: (GST_START_TEST):
16027         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16028         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16029         (gst_dp_packet_from_caps):
16030           fix more valgrind warnings before turning up the heat
16031
16032 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16033
16034         * gst/parse/grammar.y:
16035           some cleanup before the hacking
16036
16037 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16038
16039         * gst/base/gstbasesrc.c: (gst_base_src_query):
16040           use conversions
16041         * gst/gstutils.c: (gst_guint64_to_gdouble),
16042         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16043         * gst/gstutils.h:
16044           externalize, basesrc uses it
16045           obviously the implementation needs testing
16046
16047 2005-10-10  Wim Taymans  <wim@fluendo.com>
16048
16049         * tests/sched/Makefile.am:
16050         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16051         (make_pipeline3), (make_pipeline4), (print_elem), (main):
16052
16053 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16054
16055         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16056           apparently converting from guint64 to double is not implemented
16057           on MSVC
16058
16059 2005-10-10  Wim Taymans  <wim@fluendo.com>
16060
16061         * check/Makefile.am:
16062         * check/generic/states.c: (GST_START_TEST):
16063         * check/gst/gstbin.c: (GST_START_TEST):
16064         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16065         * check/states/sinks.c: (GST_START_TEST):
16066         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16067         (main):
16068         Check fixes, use API as stated in design docs, remove hacks.
16069
16070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16071         (gst_base_sink_change_state):
16072         Catch stopping our task while we're shutting down.
16073
16074         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16075         (gst_bin_remove_func), (gst_bin_get_state_func),
16076         (gst_bin_recalc_state), (gst_bin_change_state_func),
16077         (bin_bus_handler):
16078         * gst/gstbin.h:
16079         * gst/gstelement.c: (gst_element_init),
16080         (gst_element_get_state_func), (gst_element_abort_state),
16081         (gst_element_commit_state), (gst_element_lost_state),
16082         (gst_element_set_state), (gst_element_change_state),
16083         (gst_element_change_state_func):
16084         * gst/gstelement.h:
16085         New state change algorithm (see #318116)
16086
16087         * gst/gstpipeline.c: (gst_pipeline_class_init),
16088         (gst_pipeline_init), (gst_pipeline_set_property),
16089         (gst_pipeline_get_property), (do_pipeline_seek),
16090         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16091         * gst/gstpipeline.h:
16092         Remove crude state change hacks.
16093
16094         * gst/gstutils.h:
16095         Remove crude hacks.
16096
16097         * tools/gst-launch.c: (main):
16098         Fixes for state change. Needs some more work to fully use the
16099         new stuff.
16100
16101 2005-10-10  Andy Wingo  <wingo@pobox.com>
16102
16103         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16104
16105         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16106         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16107         issue.
16108
16109 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16110
16111         * gst/gstiterator.c: (gst_iterator_new):
16112           Fix my previous commit: GTypes passed to gst_iterator_new()
16113           can be fundamental types.
16114
16115 2005-10-10  Wim Taymans  <wim@fluendo.com>
16116
16117         * gst/gstelement.c: (gst_element_iterate_pad_list),
16118         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16119         (gst_element_iterate_sink_pads):
16120         Use src/sink pads lists for the respective iterators instead
16121         of filtering.
16122
16123 2005-10-10  Andy Wingo  <wingo@pobox.com>
16124
16125         Merged in popt removal + GOption addition patch from Ronald, bug
16126         #169772.
16127
16128         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16129         GstElement macros around, remove popt-related symbols, add goption
16130         stuff.
16131
16132         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16133         
16134         * docs/gst/Makefile.am:
16135         * docs/libs/Makefile.am: No POPT_CFLAGS.
16136         
16137         * examples/manual/Makefile.am:
16138         * docs/manual/basics-init.xml: Doc updates with an example.
16139         
16140         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16141         (gst_init), (parse_one_option), (parse_goption_arg):
16142         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16143         bit of hand merging and debugging to get the GOption stuff working
16144         tho.
16145         
16146         * tests/Makefile.am:
16147         * tools/Makefile.am:
16148         * tools/gst-inspect.c: (main):
16149         * tools/gst-launch.c: (main):
16150         * tools/gst-run.c: (main):
16151         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16152
16153 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16154
16155         * gst/gstiterator.c: (gst_iterator_new):
16156           Add assertions to make sure passed GType is likely to really
16157           be a GType (as the compiler won't catch it if the size and
16158           GType arguments get mixed up, see #318447).
16159
16160 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16161
16162         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16163
16164         * gst/gstbin.c: (gst_bin_iterate_sorted):
16165           Pass GType and size arguments to gst_iterator_new() in the right
16166           order (maybe we should make _new() take the GType as first argument
16167           just like _new_list()?) (#318447).
16168           
16169
16170 2005-10-10  Wim Taymans  <wim@fluendo.com>
16171
16172         * gst/gstelement.c: (gst_element_finalize):
16173         And free the GStaticRecMutex too
16174
16175 2005-10-10  Andy Wingo  <wingo@pobox.com>
16176
16177         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16178         Allocate and free the mutex properly.
16179
16180         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16181         New macros.
16182         (GstElement): The state_lock is now recursive. Rebuild your
16183         plugins, suckers. Old macros adapted.
16184
16185         * docs/gst/gstreamer-sections.txt: Doc updates.
16186
16187         * gst/gstutils.h:
16188         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16189         (g_static_rec_cond_wait): Ported from state changes patch, while
16190         we wait on bug #317802 to be solved in a well-distributed GLib.
16191
16192         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16193         gst_element_change_state, variable name changes.
16194         (gst_element_change_state): Split out of gst_element_set_state in
16195         preparation for the state change merge. Doesn't pay attention to
16196         the 'transition' argument.
16197         (gst_element_set_state): Updates, hopefully purely cosmetic.
16198         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16199         state change patch.
16200         (gst_element_get_state_func): Renamed from get_state, cosmetic
16201         changes.
16202
16203 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16204
16205         * gst/elements/gstelements.c:
16206         * win32/GStreamer.vcproj:
16207         * win32/config.h:
16208         * win32/dirent.c: (_tseekdir):
16209         * win32/gst-inspect.vcproj:
16210         * win32/gst-launch.vcproj:
16211         * win32/gstconfig.h:
16212         * win32/gstelements.vcproj:
16213         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16214         * win32/gstreamer.def:
16215         * win32/msvc71.sln:
16216           updates for the win32 build (patch from Sebastien Moutte)
16217
16218 2005-10-10  Andy Wingo  <wingo@pobox.com>
16219
16220         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16221         gst_bin_get_state, cleaned up (but no logic changes).
16222         (bin_element_is_sink): Comment updates.
16223         (sink_iterator_filter): Remove needless cast.
16224         (gst_bin_iterate_sinks): Doc update.
16225         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16226         cleaned up (but no logic changes).
16227
16228         * check/states/sinks.c (test_src_sink): Cleanups from the state
16229         change patch.
16230         (test_livesrc_sink): Sync on the state.
16231
16232         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16233         the state change patch.
16234
16235         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16236         change patch.
16237
16238         * check/gst/gstbin.c: Merge in some style fixes and additional
16239         checks from Wim's state change patch.
16240
16241 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16242
16243         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16244         (gst_type_find_helper):
16245           Check whether we have the requested data already in our list of
16246           cached buffers before pulling a new buffer; also make the buffer
16247           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16248
16249 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16250
16251         * gst/gstcaps.c:
16252         * gst/gstevent.c:
16253           doc updates
16254         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16255           don't use long long, it's not portable.  Replacing with
16256           gint64 seems to work; let's hope no skeletons fall out of the closet.
16257
16258 2005-10-10  Andy Wingo  <wingo@pobox.com>
16259
16260         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16261
16262 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16263
16264         * docs/gst/gstreamer-sections.txt:
16265         * gst/gstevent.c:
16266         * gst/gstevent.h:
16267         * gst/gstinfo.c:
16268         * gst/gstinfo.h:
16269         * gst/gstmessage.c: (gst_message_parse_state_changed):
16270         * gst/gstpad.c:
16271         * gst/gstpad.h:
16272           more docs, fix compilation
16273
16274 2005-10-09  Philippe Khalaf <burger@speedy.org>
16275         * gst/gstmessage.c:
16276           Fixed a few forgotten variables on previous commit
16277
16278 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16279
16280         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16281           Fix evil typefind crasher: getrange() might return a short
16282           buffer at the end of a file, but gst_type_find_peek() must
16283           either return the full data as requested or NULL, but
16284           never a short buffer.
16285
16286 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16287
16288         * gst/gstmessage.c: (gst_message_new_state_changed),
16289         (gst_message_parse_state_changed):
16290         * gst/gstmessage.h:
16291           don't use "new", it's a C++ keyword
16292
16293 2005-10-08  Wim Taymans  <wim@fluendo.com>
16294
16295         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16296         * gst/gstelement.c: (gst_element_post_message):
16297         * gst/gstpipeline.c: (gst_pipeline_change_state):
16298         Small docs and debug updates.
16299
16300 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16301
16302         * docs/gst/gstreamer-sections.txt:
16303         * gst/gstelementfactory.c:
16304         * gst/gstevent.c:
16305         * gst/gsttaglist.c:
16306           more docs
16307
16308 2005-10-08  Wim Taymans  <wim@fluendo.com>
16309
16310         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16311         (gst_bin_dispose), (bin_bus_handler):
16312         Fix typos, add comments.
16313         Clear EOS list when going to PAUSED from any direction and do it
16314         in a threadsafe way.
16315         Get base time in a threadsafe way too.
16316         Fix confusing debug in the change_state function.
16317         Various other small cleanups.
16318         
16319         * gst/gstelement.c: (gst_element_post_message):
16320         Fix very verbose bus posting code.
16321
16322         * gst/gstpipeline.c: (gst_pipeline_class_init),
16323         (gst_pipeline_set_property), (gst_pipeline_get_property),
16324         (gst_pipeline_change_state):
16325         Small ARG_ -> PROP_ cleanup
16326
16327 2005-10-08  Wim Taymans  <wim@fluendo.com>
16328
16329         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16330         Do a less CPU demanding EOS check because we can.
16331
16332 2005-10-08  Wim Taymans  <wim@fluendo.com>
16333
16334         * libs/gst/dataprotocol/dataprotocol.c:
16335         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16336         (gst_dp_packet_from_event):
16337         * libs/gst/dataprotocol/dataprotocol.h:
16338         * libs/gst/dataprotocol/dp-private.h:
16339         It's about time we bump the version number.
16340         Since event types don't fit in the guint8 anymore describing
16341         the payload type, make payload type 16 bits wide.
16342
16343 2005-10-08  Wim Taymans  <wim@fluendo.com>
16344
16345         * docs/design/part-TODO.txt:
16346         * docs/design/part-clocks.txt:
16347         * docs/design/part-events.txt:
16348         * docs/design/part-gstbin.txt:
16349         * docs/design/part-gstelement.txt:
16350         * docs/design/part-gstpipeline.txt:
16351         * docs/design/part-live-source.txt:
16352         * docs/design/part-messages.txt:
16353         * docs/design/part-overview.txt:
16354         * docs/design/part-states.txt:
16355         Many doc updates.
16356
16357 2005-10-08  Wim Taymans  <wim@fluendo.com>
16358
16359         * gst/gstevent.c:
16360         * gst/gstevent.h:
16361         Fix event quark registration.
16362         Add some space between events so we can insert them in the
16363         right groups.
16364
16365 2005-10-08  Wim Taymans  <wim@fluendo.com>
16366
16367         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16368         (gst_base_sink_handle_buffer):
16369         Better log message.
16370
16371         * gst/gstbus.h:
16372         * gst/gstelement.h:
16373         More docs.
16374
16375         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16376         (gst_queue_set_property), (gst_queue_get_property):
16377         * gst/gstqueue.h:
16378         Remove old unused properties.
16379
16380 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16381         * docs/gst/gstreamer-sections.txt:
16382         * gst/gstmessage.c:
16383         * gst/gstmessage.h:
16384         * gst/gstminiobject.c:
16385         * gst/gstminiobject.h:
16386         * gst/gstobject.h:
16387         * gst/gstpad.h:
16388         * gst/gstutils.h:
16389           lots of new docs and doc fixes
16390
16391 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16392
16393         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16394         * gst/gstplugin.h:
16395         * gst/gstregistry.c: (gst_registry_lookup_locked),
16396         (gst_registry_scan_path_level):
16397         * gst/gstregistryxml.c: (load_plugin):
16398           Only ever load one plugin for a given plugin basename.
16399           This ensures correct overriding of GST_PLUGIN_PATH over
16400           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16401           system installed plugins.
16402
16403 2005-10-08  Wim Taymans  <wim@fluendo.com>
16404
16405         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16406         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16407         Prepare for doing QOS.
16408
16409 2005-10-08  Wim Taymans  <wim@fluendo.com>
16410
16411         * check/gst/gstbin.c: (GST_START_TEST):
16412         * check/pipelines/cleanup.c: (GST_START_TEST):
16413         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16414         Allow new clock message too.
16415
16416 2005-10-08  Wim Taymans  <wim@fluendo.com>
16417
16418         * gst/gstmessage.c: (gst_message_new_error),
16419         (gst_message_new_warning), (gst_message_new_tag),
16420         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16421         (gst_message_new_clock_lost), (gst_message_new_new_clock),
16422         (gst_message_new_segment_start), (gst_message_new_segment_done),
16423         (gst_message_parse_state_changed),
16424         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16425         (gst_message_parse_new_clock):
16426         * gst/gstmessage.h:
16427         Also carry the clock in question.
16428
16429 2005-10-08  Wim Taymans  <wim@fluendo.com>
16430
16431         * gst/gstmessage.c: (gst_message_new_custom),
16432         (gst_message_new_eos), (gst_message_new_error),
16433         (gst_message_new_warning), (gst_message_new_tag),
16434         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16435         (gst_message_new_new_clock), (gst_message_new_segment_start),
16436         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16437         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16438         * gst/gstmessage.h:
16439         Clean up.
16440         Added clock related messages.
16441
16442         * gst/gstpipeline.c: (gst_pipeline_change_state):
16443         Post message when the clock changed.
16444
16445         * tools/gst-launch.c: (event_loop):
16446         Print new clock.
16447
16448 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16449
16450         * tools/gst-inspect.c: (print_element_properties_info):
16451           Can't pass NULL strings to g_print() on windows.
16452
16453 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16454
16455         * docs/Makefile.am:
16456         * docs/gst/Makefile.am:
16457         * docs/gst/gstreamer-docs.sgml:
16458         * docs/gst/running.xml:
16459         * docs/version.entities.in:
16460           add a chapter on running GStreamer.
16461           document GST_DEBUG and GST_PLUGIN* env vars
16462
16463 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * Makefile.am:
16466           remove include dir
16467         * configure.ac:
16468           remove PLUGINS_BUILDDIR stuff
16469         * gst/gst.c: (init_post):
16470           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16471         * idiottest.mak:
16472           remove, it was condescending and not needed
16473
16474 2005-10-08  Wim Taymans  <wim@fluendo.com>
16475
16476         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16477         (gst_base_sink_handle_object), (gst_base_sink_event),
16478         (gst_base_sink_wait), (gst_base_sink_handle_event),
16479         (gst_base_sink_change_state):
16480         * gst/base/gstbasesink.h:
16481         Repost EOS message while going to PLAYING if still EOS.
16482         Make sure that when receiving a FLUSH_START we don't attempt
16483         to sync on the clock anymore.
16484
16485 2005-10-08  Wim Taymans  <wim@fluendo.com>
16486
16487         * tools/gst-launch.c: (event_loop):
16488         Better message printout.
16489
16490 2005-10-08  Wim Taymans  <wim@fluendo.com>
16491
16492         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16493         (gst_bin_child_proxy_get_children_count):
16494         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16495         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16496         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16497         (gst_child_proxy_set_valist):
16498         * gst/parse/grammar.y:
16499         Make ChildProxy threadsafe and fix mem leaks.
16500
16501 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16502
16503         * gst/gst.c: (init_post):
16504           debug the GST_PLUGIN_ env vars
16505
16506 2005-10-08  Wim Taymans  <wim@fluendo.com>
16507
16508         * check/gst/gstbin.c: (GST_START_TEST):
16509         * check/gst/gstmessage.c: (GST_START_TEST):
16510         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16511         * gst/gstelement.c: (gst_element_commit_state),
16512         (gst_element_lost_state):
16513         * gst/gstmessage.c: (gst_message_new_state_changed),
16514         (gst_message_parse_state_changed):
16515         * gst/gstmessage.h:
16516         * tools/gst-launch.c: (event_loop):
16517         Added extra field to STATE_CHANGE message with the pending
16518         state, which will be different from the new state soon.
16519
16520 2005-10-08  Wim Taymans  <wim@fluendo.com>
16521
16522         * gst/gstbus.c: (gst_bus_pop):
16523         * gst/gstclock.c:
16524         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16525         Small cleanups and doc updates.
16526
16527 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16528
16529         * gst/gst.c: (init_pre):
16530         * gst/gstbin.c: (gst_bin_add_func):
16531           log distributing clocks and base time
16532         * gst/gstregistry.c: (gst_registry_add_plugin),
16533         (gst_registry_scan_path_level), (gst_registry_scan_path):
16534           clean up the debugging output a little
16535         * gst/gstutils.c: (gst_element_state_get_name):
16536           warn about a memleak (I've actually seen this be used, though
16537           it was probably a bug)
16538
16539 2005-10-07  Wim Taymans  <wim@fluendo.com>
16540
16541         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16542         (gst_base_src_init), (gst_base_src_default_newsegment),
16543         (gst_base_src_newsegment), (gst_base_src_do_seek),
16544         (gst_base_src_loop), (gst_base_src_start):
16545         * gst/base/gstbasesrc.h:
16546         Make the newsegment event customizable by subclasses.
16547
16548 2005-10-07  Wim Taymans  <wim@fluendo.com>
16549
16550         * gst/gstevent.c: (gst_event_new_buffersize),
16551         (gst_event_parse_buffersize):
16552         * gst/gstevent.h:
16553         New event for future idea.
16554
16555 2005-10-07  Andy Wingo  <wingo@pobox.com>
16556
16557         * gst/gstelement.c (gst_element_post_message): Doc update.
16558
16559         * docs/gst/gstreamer-sections.txt: Update.
16560
16561         * gst/gstmessage.c (gst_message_new_application): Made into a
16562         function like honest API calls.
16563         (gst_message_new_element): New message type.
16564
16565         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16566
16567         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16568         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16569         times.
16570
16571         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16572         NO_PREROLL from gst_element_change_state to fall through.
16573
16574 2005-10-07  Wim Taymans  <wim@fluendo.com>
16575
16576         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16577         (gst_ghost_pad_do_activate_push):
16578         Activating a ghostpad with no internal pad in push mode
16579         is ok.
16580
16581 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16582
16583         * gst/gstobject.h:
16584           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16585           Fixes compilation on Windows.
16586
16587 2005-10-07  Michael Smith <msmith@fluendo.com>
16588
16589         * tools/gst-inspect.c:
16590           Print out feature and plugin count at the end when printing out
16591           all features.
16592
16593 2005-10-04  Michael Smith <msmith@fluendo.com>
16594
16595         * gst/gsterror.c: (_gst_stream_errors_init):
16596           Add another error string used in a few existing plugins.
16597
16598         * gst/gstplugin.c:
16599         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16600         * tools/gst-inspect.c: (print_element_info):
16601           When a feature disappears from a plugin (and the feature exists in
16602           the cached registry file), things went horribly wrong. This isn't a
16603           complete fix, we should actually be removing the 'missing' features
16604           from the features list when we load the actual plugin. That's not
16605           yet implemented. 
16606
16607 2005-10-04  Johan Dahlin  <johan@gnome.org>
16608
16609         * check/gst/gstiterator.c: (GST_START_TEST):
16610         * gst/gstbin.c: (gst_bin_iterate_elements),
16611         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16612         * gst/gstelement.c: (gst_element_iterate_pads):
16613         * gst/gstformat.c: (gst_format_iterate_definitions):
16614         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16615         (gst_iterator_new_list), (gst_iterator_filter):
16616         * gst/gstiterator.h:
16617         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16618         Add a GType to GstIterator, update callsites and tests.
16619
16620 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16621
16622         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16623           give events a chance to be handled by event probes when the pad
16624           is not linked
16625
16626 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16627
16628         * gst/gstevent.c: (gst_event_type_get_name),
16629         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16630         * gst/gstevent.h:
16631           add string representations for event types
16632
16633 2005-10-06  Wim Taymans  <wim@fluendo.com>
16634
16635         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16636         Don't use NULL pointers.
16637
16638 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16639
16640         * gst/gst_private.h:
16641         * gst/gstbus.c:
16642         * gst/gstelement.c:
16643         * gst/gstinfo.c:
16644         * gst/gstpluginfeature.c:
16645           widen the debug category in output to fit the biggest one we have
16646           add a bus category and use it
16647           play with the colors
16648           fix up some categories
16649
16650 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16651
16652         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16653           add push activation of sink ghost pads.
16654           Andye, please verify
16655
16656 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16657
16658         * gst/gstutils.c: (gst_element_link_pads):
16659           fix a bug in the case where neither element has a pad
16660         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16661           add a test for that case
16662
16663 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16664
16665         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16666           emit have-data before checking for peers.  This allows
16667           for probe handlers to connect elements.  This helps autopluggers.
16668         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16669         (gst_pad_suite):
16670           add six checks, linked/unlinked with no/true/false probe
16671
16672 2005-10-04  Wim Taymans  <wim@fluendo.com>
16673
16674         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16675         (gst_fake_sink_event), (gst_fake_sink_preroll),
16676         (gst_fake_sink_render), (gst_fake_sink_change_state):
16677         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16678         (gst_fake_src_get_property), (gst_fake_src_create),
16679         (gst_fake_src_stop):
16680         * gst/elements/gstidentity.c: (gst_identity_stop):
16681         Protect last_message with lock.
16682
16683 2005-10-04  Edward Hervey  <edward@fluendo.com>
16684
16685         * gst/gstformat.h: 
16686         Added precision in the comments for GST_FORMAT_DEFAULT
16687
16688 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16689
16690         * tools/gst-launch.c: (main):
16691           Don't try to run erroneous pipelines.
16692
16693 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16694
16695         * gst/gstbus.c: We don't need this header.
16696
16697 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16698
16699         * configure.ac:
16700           back to development
16701
16702 === release 0.9.3 ===
16703
16704 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16705
16706         * README:
16707         * configure.ac:
16708           Releasing 0.9.3, "Unregistered"
16709
16710 2005-10-03  Andy Wingo  <wingo@pobox.com>
16711
16712         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16713         whereby calling a pad's activatepush() function can start a thread
16714         that starts to push or pull before the pad gets the FLUSHING flag
16715         unset. Hack around it by holding the stream lock until the flag is
16716         set. Need to replace this with a proper solution. Together with
16717         the ghost pad fixes, this fixes mp3 playing/tagreading.
16718
16719         * docs/design/part-gstghostpad.txt: Add a note about activation of
16720         proxy pads outside of ghost pads.
16721
16722         * gst/gstghostpad.c: Implement the ghost pad activation design.
16723
16724 2005-10-02  Andy Wingo  <wingo@pobox.com>
16725
16726         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16727         It is volatile, after all.
16728
16729         * docs/design/part-gstghostpad.txt: Flesh out activation with
16730         ghost pads.
16731
16732         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16733         GST_DEBUG_FUNCPTR.
16734
16735 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16736
16737         * configure.ac:
16738           Fix (unused) AM_CONDITIONAL tests.
16739
16740 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16741
16742         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16743
16744         * gst/gstutils.c: (gst_pad_query_convert):
16745           Add assertion that makes sure src_val is >=0, just like
16746           gst_query_new_convert() has. (#315895)
16747
16748 2005-09-30  Edward Hervey  <edward@fluendo.com>
16749
16750         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16751         Let's not iterate pads we're not interested in, it avoids getting 
16752         sky-high refcounts on sinkpad.
16753
16754 2005-09-30  Wim Taymans  <wim@fluendo.com>
16755
16756         * gst/gstelement.c: (gst_element_set_state),
16757         (gst_element_change_state):
16758         Small tweak, element in ASYNC remains ASYNC.
16759
16760 2005-09-30  Wim Taymans  <wim@fluendo.com>
16761
16762         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16763         Only error is an error.
16764
16765         * gst/gstbin.c: (gst_bin_change_state):
16766         Better debugging.
16767
16768         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16769         Also call pad_block in pad alloc.
16770
16771         * gst/gstutils.c: (gst_flow_get_name):
16772         Better debugging.
16773
16774 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16775
16776         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16777         (gst_base_src_get_range):
16778           Fix documentation typos. Add some more debug info.
16779
16780 2005-09-29  David Schleef  <ds@schleef.org>
16781
16782         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16783           more end-user friendly.
16784         * tools/gst-inspect.c: (main): Check if command-line argument is
16785           a file and attempt to load that file as a plugin.
16786
16787 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16788
16789         * check/gst/gstbin.c:
16790         * check/states/sinks.c:
16791           fix tests for the new warning
16792         * check/gst/gstpipeline.c:
16793           add a test for pipeline and bus interaction
16794         * gst/gstelement.c:
16795           elements should be NULL if they get disposed; add a warning if not
16796
16797 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16798
16799         * gst/gstobject.c:
16800           for 2.6 refcounting, make debug log more correct by printing
16801           the actual refcounts at the time of swap (Wim)
16802
16803 2005-09-29  Andy Wingo  <wingo@pobox.com>
16804
16805         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16806         removes signal watches previously added via
16807         gst_bus_add_signal_watch.
16808         (gst_bus_add_signal_watch): Don't return the source id, just store
16809         it on the bus if there wasn't an id already.
16810
16811         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16812         add_signal_watch and remove_signal_watch.
16813
16814 2005-09-29  Edward Hervey  <edward@fluendo.com>
16815
16816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
16817         Better if we actually iterate the list :)
16818
16819 2005-09-29  Wim Taymans  <wim@fluendo.com>
16820
16821         * check/gst/gstbin.c: (GST_START_TEST):
16822         Change for new bus API.
16823
16824         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16825         (send_messages), (GST_START_TEST), (gstbus_suite):
16826         Change for new bus signal API.
16827
16828         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16829         (gst_bus_source_prepare), (gst_bus_source_check),
16830         (gst_bus_create_watch), (gst_bus_add_watch_full),
16831         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16832         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16833         * gst/gstbus.h:
16834         Remove support for multiple GSources operating on different
16835         message types as it is too complex and unneeded when using
16836         signals.
16837         Added support for receiving signals from the bus.
16838
16839 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16840
16841         * docs/libs/tmpl/gstdataprotocol.sgml:
16842         * docs/manual/advanced-dataaccess.xml:
16843         * gst/elements/gstcapsfilter.c:
16844         * gst/gstutils.c:
16845           rename filter-caps to caps property
16846
16847 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16848
16849         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16850           More robust fraction string parsing.
16851
16852         * docs/pwg/appendix-porting.xml:
16853           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16854
16855 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16856
16857         * gst/gstcaps.c: (gst_caps_do_simplify):
16858           Thou shalt not free a structure and then continue using it
16859           in the next loop iteration.
16860
16861         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16862         (gst_caps_suite):
16863           Add test case for caps simplification.
16864
16865 2005-09-29  Wim Taymans  <wim@fluendo.com>
16866
16867         * check/gst/gstbin.c: (GST_START_TEST):
16868         Oops.
16869
16870 2005-09-29  Wim Taymans  <wim@fluendo.com>
16871
16872         * check/gst/gstbin.c: (GST_START_TEST):
16873         Add bus to bin.
16874
16875         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16876         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16877         (find_element), (gst_bin_sort_iterator_next),
16878         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16879         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16880         (gst_bin_change_state), (gst_bin_dispose):
16881         A bin does not have a bus, it gets the bus from the parent.
16882
16883         * gst/gstelement.c: (gst_element_requires_clock),
16884         (gst_element_provides_clock), (gst_element_is_indexable),
16885         (gst_element_is_locked_state), (gst_element_change_state),
16886         (gst_element_set_bus_func):
16887         Small cleanups.
16888
16889         * gst/gstpipeline.c: (gst_pipeline_class_init),
16890         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16891         The pipeline provides a bus.
16892
16893 2005-09-28  Johan Dahlin  <johan@gnome.org>
16894
16895         * gst/gstmessage.c (gst_message_parse_state_changed): Use
16896         gst_structure_get_enum instead of gst_structure_get_int
16897
16898         * gst/gststructure.c (gst_structure_get_enum): Impl.
16899
16900         * gst/gststructure.h (gst_structure_get_enum): Add
16901
16902         * docs/gst/gstreamer-sections.txt: Ditto
16903
16904         * gst/gstmessage.c (gst_message_new_state_changed): Use
16905         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16906         which does introspection.
16907         Reviewed by Christian Schaller
16908
16909 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16910
16911         * gst/gstinfo.c: (gst_debug_log_default):
16912           don't do dummy g_strdup()s
16913         * libs/gst/controller/gstcontroller.c:
16914         (on_object_controlled_property_changed),
16915         (gst_controlled_property_new), (gst_controller_new_valist),
16916         (gst_controller_new_list),
16917         (gst_controller_remove_properties_valist), (gst_controller_set),
16918         (gst_controller_get), (gst_controller_sync_values),
16919         (gst_controller_get_value_array), (_gst_controller_class_init),
16920         (gst_controller_get_type):
16921         * libs/gst/controller/gstcontroller.h:
16922         * libs/gst/controller/gstinterpolation.c:
16923         (gst_controlled_property_find_timed_value_node):
16924           convert // to /**/ comments
16925
16926 2005-09-28  Wim Taymans  <wim@fluendo.com>
16927
16928         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16929         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16930         (gst_bus_sync_signal_handler):
16931         * gst/gstbus.h:
16932         Added async-message and sync-message signals to the bus.
16933         Added helper BusFunc to emit signals for all posted messages.
16934
16935         * gst/gstmessage.c: (gst_message_type_get_name),
16936         (gst_message_type_to_quark), (gst_message_get_type):
16937         * gst/gstmessage.h:
16938         Register quarks for message names.
16939
16940 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16941
16942         * docs/libs/gstreamer-libs-sections.txt:
16943         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16944         (gst_controller_new_list):
16945         * libs/gst/controller/gstcontroller.h:
16946           added another constructor for language bindings
16947
16948 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16949
16950         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16951           add another check
16952         * gst/gstbus.c:
16953           add some doc
16954         * gst/gstinfo.c: (_gst_debug_init):
16955           slightly more readable color for refcount debugging
16956
16957 2005-09-28  Wim Taymans  <wim@fluendo.com>
16958
16959         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16960         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16961         (find_element), (gst_bin_sort_iterator_next),
16962         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16963         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16964         (gst_bin_change_state), (gst_bin_dispose):
16965         Small doc fixes. get_clock -> provide_clock.
16966
16967         * gst/gstelement.c: (gst_element_class_init),
16968         (gst_element_provides_clock), (gst_element_provide_clock),
16969         (gst_element_get_clock), (gst_element_commit_state),
16970         (gst_element_lost_state):
16971         * gst/gstelement.h:
16972         Make get/set_clock() symetric. Add provide_clock vmethod since
16973         that is actually what this function does.
16974
16975         * gst/gstpipeline.c: (gst_pipeline_class_init),
16976         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16977         (gst_pipeline_get_clock):
16978         get_clock -> provide_clock.
16979
16980 2005-09-28  Andy Wingo  <wingo@pobox.com>
16981
16982         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16983         lieu of real docs...
16984
16985         * gst/elements/gstfdsrc.c: Cleaned up a bit.
16986
16987 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
16988
16989         * gst/elements/gstcapsfilter.c:
16990         * gst/elements/gstfakesink.c:
16991         * gst/elements/gstfakesrc.c:
16992         * gst/elements/gstfdsink.c:
16993         * gst/elements/gstfdsrc.c:
16994         * gst/elements/gstfilesink.c:
16995         * gst/elements/gstfilesrc.c:
16996         * gst/elements/gstidentity.c:
16997         * gst/elements/gsttee.c:
16998         * gst/elements/gsttypefindelement.c:
16999           Make element details static.
17000
17001 2005-09-28  Wim Taymans  <wim@fluendo.com>
17002
17003         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17004         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17005         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17006         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17007         (gst_bin_change_state), (gst_bin_dispose):
17008         Some documentation updates.
17009         Clean up dispose handlers.
17010
17011         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17012         * gst/gstpad.c: (gst_pad_dispose):
17013         Clean up dispose handler.
17014
17015         * gst/gstpipeline.c: (gst_pipeline_change_state):
17016         Removed spurious UNLOCK.
17017
17018 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
17019
17020         * docs/gst/gstreamer-sections.txt:
17021         * gst/base/gstbasesrc.h:
17022         * gst/gstelement.h:
17023         * gst/gstevent.h:
17024         * gst/gstobject.h:
17025         * gst/gstpad.h:
17026         * gst/gstpipeline.c:
17027         * gst/gstpipeline.h:
17028         * gst/gstutils.h:
17029         * gst/gstxml.h:
17030           added two new functions to the docs
17031                 documents all undocumented GstXXXFlags
17032                 completed some incomplete docs 
17033
17034 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17035
17036         * gst/gstbin.c: (gst_bin_dispose):
17037         * gst/gstelement.c: (gst_element_dispose):
17038           remove now useless and leaky resurrection code in dispose
17039         * gst/base/gstbasesrc.c: (gst_base_src_init):
17040         * gst/gstelementfactory.c: (gst_element_factory_create):
17041         * gst/gstobject.c: (gst_object_set_parent):
17042           add some debugging
17043
17044 2005-09-27  Wim Taymans  <wim@fluendo.com>
17045
17046         * docs/design/part-TODO.txt:
17047         Update TODO.
17048
17049         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17050         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17051         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17052         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17053         (gst_bin_change_state):
17054         * gst/gstelement.h:
17055         Remove element variable, we keep element info in the iterator now.
17056
17057 2005-09-27  Andy Wingo  <wingo@pobox.com>
17058
17059         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17060         values.
17061
17062 2005-09-27  Wim Taymans  <wim@fluendo.com>
17063
17064         * check/gst/gstbin.c: (GST_START_TEST):
17065         Enable check that works now.
17066
17067         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17068         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17069         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17070         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17071         (gst_bin_change_state):
17072         * gst/gstbin.h:
17073         Redid the state change algorithm using a topological sort algo.
17074         Handles all cases correctly.
17075         Exposed iterator for state change order.
17076
17077         * gst/gstelement.h:
17078         Temp storage for state changes. Need to get rid of this soon.
17079
17080 2005-09-27  Wim Taymans  <wim@fluendo.com>
17081
17082         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17083         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17084         (link_fold_func), (gst_pad_proxy_setcaps):
17085         Leak fixes, the fold functions need to unref the passed object and
17086         _get_parent_*() returns ref to parent.
17087
17088 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17089
17090         * check/gst/gstbuffer.c: (test_make_writable):
17091           Plug leak in test case and fix 'make check-valgrind'
17092
17093 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17094
17095         * gst/gstbuffer.c: (gst_subbuffer_init):
17096           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17097           works correctly in all circumstances (we could have just copied
17098           the parent buffer's readonly flag, but conceptually it seems
17099           cleaner to mark all subbuffers as read-only). (based on patch
17100           by Alessandro Decina, #314710).
17101         
17102         * check/gst/gstbuffer.c: (create_read_only_buffer),
17103         (test_make_writable), (test_subbuffer_make_writable),
17104         (gst_test_suite):
17105           Add some tests for gst_buffer_make_writable().
17106
17107 2005-09-27  Wim Taymans  <wim@fluendo.com>
17108
17109         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17110         use gst_object_has_ancestor().
17111
17112         * gst/gstobject.c: (gst_object_has_ancestor):
17113         * gst/gstobject.h:
17114         gst_object_has_ancestor() copied from gstbin.c as it is a
17115         useful function.
17116
17117         * tests/instantiate/create.c: (create_all_elements):
17118         * tests/lat.c: (handoff_src), (handoff_sink):
17119         * tests/sched/runxml.c: (main):
17120         * tests/seeking/seeking1.c: (main):
17121         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17122         (main):
17123         Fix compilation of some tests.
17124
17125 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17126
17127         * gst/gsterror.h:
17128           Remove comment. GST_TYPE_G_ERROR is here to stay,
17129           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17130           (#316961, #300610).
17131
17132 2005-09-26  Wim Taymans  <wim@fluendo.com>
17133
17134         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17135         Added check that shows error in state change order.
17136
17137 2005-09-26  Wim Taymans  <wim@fluendo.com>
17138
17139         * gst/gstbin.c: (gst_bin_change_state):
17140         Make state change function use 3 queues again, we were
17141         adding elements in the wrong order.
17142
17143         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17144         Some debug info,
17145
17146         * gst/gstpad.c: (gst_pad_dispose):
17147         Added some debug info first.
17148
17149 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * docs/design/draft-push-pull.txt:
17152         * docs/design/part-events.txt:
17153         * docs/design/part-overview.txt:
17154         * docs/design/part-scheduling.txt:
17155           Replace all _pull_region() with _pull_range()
17156           
17157 2005-09-26  Andy Wingo  <wingo@pobox.com>
17158
17159         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17160
17161         * check/gst-libs/controller.c: Update for controller api change.
17162
17163         * configure.ac: 
17164         * tests/Makefile.am:
17165         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17166         over by GLib bug 118439.
17167         
17168         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17169         routines to a function.
17170
17171         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17172
17173         * libs/gst/controller/gsthelper.c:
17174         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17175         (gst_object_sync_values): Renamed from sink_values. Ugh.
17176
17177         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17178
17179         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17180         Renamed from controller_key, as it is exported.
17181
17182         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17183
17184 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17185
17186         * gst/Makefile.am:
17187         * gst/gst.h:
17188         * gst/gstpad.h:
17189         * gst/gstpadtemplate.h:
17190         * gst/gstquery.c:
17191         * gst/gstquery.h:
17192         * gst/gstqueryutils.c:
17193         * gst/gstqueryutils.h:
17194           remove queryutils headers after moving the two used functions
17195           to gstquery.  also fixes build problem for gstsiddec
17196
17197 2005-09-26  Michael Smith <msmith@fluendo.com>
17198
17199         * tools/gst-launch.1.in:
17200         Correct documentation in manpage of debug syntax
17201
17202 2005-09-26  Wim Taymans  <wim@fluendo.com>
17203
17204         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17205         (gst_base_src_is_seekable), (gst_base_src_change_state):
17206         Some more debugging info.
17207
17208 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17209
17210         * docs/gst/gstreamer-sections.txt:
17211         * gst/base/gstbasetransform.h:
17212         * gst/gstindex.h:
17213           added more docs
17214
17215 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17216
17217         * docs/gst/.cvsignore:
17218         * docs/gst/tmpl/.cvsignore:
17219         * docs/gst/tmpl/gstpipeline.sgml:
17220         * docs/gst/tmpl/gstplugin.sgml:
17221         * gst/gstpipeline.c:
17222         * gst/gstplugin.c:
17223         * gst/gstplugin.h:
17224           inlined the last two docs files
17225           removed the tmpl directory from cvs (no more conflicts here!)
17226
17227 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17228
17229         * docs/gst/gstreamer-sections.txt:
17230         * docs/gst/tmpl/.cvsignore:
17231         * docs/gst/tmpl/gstpad.sgml:
17232         * docs/gst/tmpl/gstpadtemplate.sgml:
17233         * gst/Makefile.am:
17234         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17235         (gst_pad_finalize), (gst_pad_set_pad_template):
17236         * gst/gstpad.h:
17237         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17238         (gst_pad_template_class_init), (gst_pad_template_init),
17239         (gst_pad_template_dispose), (name_is_valid),
17240         (gst_static_pad_template_get), (gst_pad_template_new),
17241         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17242         (gst_pad_template_pad_created):
17243         * gst/gstpadtemplate.h:
17244           inlined two more docs
17245           factored gstpadtemplate out of gstpad
17246
17247 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17248
17249         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17250         (test_children_state_change_order_semi_sink):
17251           Fix test case: we can't rely on a fixed state change order when
17252           going from READY => PAUSED because the sink might commit its 
17253           new state first when the first buffer created by the source 
17254           reaches the sink before the source has finished its change state.
17255           (Test case still fails at times, see #316856, comment 5 onwards)
17256
17257 2005-09-24  Wim Taymans  <wim@fluendo.com>
17258
17259         * docs/design/part-events.txt:
17260         * docs/design/part-gstbus.txt:
17261         * docs/design/part-gstpipeline.txt:
17262         * docs/design/part-messages.txt:
17263         * docs/design/part-overview.txt:
17264         * docs/design/part-segments.txt:
17265         * gst/gstbin.c:
17266         * gst/gstbuffer.c:
17267         * gst/gstclock.c:
17268         * gst/gstelement.c:
17269         * gst/gstevent.c:
17270         * gst/gstfilter.c:
17271         * gst/gstiterator.c:
17272         Various documentation updates.
17273
17274 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17275
17276         * gst/gstclock.h:
17277           Well, that's embarassing.  Luckily we weren't using
17278           GST_CLOCK_DIFF anywhere.
17279
17280 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17281
17282         * common/gtk-doc.mak:
17283           don't fail on building XML, FC4 slave shows a bunch of doc
17284           missing bits that I don't get
17285         * gst/gstpad.c:
17286         * gst/gstpipeline.c:
17287         * gst/gststructure.c:
17288           some doc updates
17289
17290 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17291
17292         * docs/design/part-gstbin.txt:
17293         * docs/design/part-gstbus.txt:
17294         * gst/gstbus.c:
17295           Add blurb about how the bus goes into flushing mode and
17296           drops all messages when its bin goes from READY into NULL 
17297           state.
17298
17299 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17300
17301         * docs/gst/gstreamer-sections.txt:
17302         * gst/gststructure.c: (gst_structure_get_clock_time):
17303         * gst/gststructure.h:
17304           add a method to get a GstClockTime out of a structure
17305
17306 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17307
17308         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17309         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17310           Added test to check state change order in bins (can still be made
17311           to fail here under heavy disk load; bails out with 'Push on pad
17312           fakesink:sink0, but it was not activated in push mode').
17313
17314         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17315           Fix state change order when there is only a semi sink (#316856)
17316
17317         * gst/gstbus.c: (gst_bus_class_init):
17318           Use _class_peek_parent(), not _class_ref(); fix docs to say
17319           'default main context' instead of 'mainloop' where that is
17320           what's meant.
17321
17322         * gst/gstelement.c: (gst_element_commit_state),
17323         (gst_element_set_state):
17324           Fix typos in debug messages
17325
17326 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17327
17328         * docs/README:
17329         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17330         * gst/gstpluginfeature.c:
17331         * gst/gstutils.c:
17332           various doc updates
17333         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17334           change an assert into an error until it gets fixed properly
17335
17336 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17337
17338         * docs/gst/gstreamer-sections.txt:
17339         * docs/gst/tmpl/.cvsignore:
17340         * docs/gst/tmpl/gstelement.sgml:
17341         * docs/gst/tmpl/gstinfo.sgml:
17342         * docs/gst/tmpl/gstobject.sgml:
17343         * gst/gstelement.c:
17344         * gst/gstelement.h:
17345         * gst/gstinfo.c:
17346         * gst/gstinfo.h:
17347         * gst/gstobject.c: (gst_object_class_init):
17348         * gst/gstobject.h:
17349           inlined 3 more biiiig doc files and added some missing docs on the fly
17350
17351 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17352
17353         * check/gst/.cvsignore:
17354         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17355         * gst/gstregistryxml.c: (load_plugin),
17356         (gst_registry_xml_save_plugin):
17357           put back source in registry.  add checks for find_plugin.
17358         * testsuite/states/bin.c: (assert_state), (empty_bin),
17359         (test_adding_one_element), (main):
17360         * testsuite/states/locked.c: (main):
17361           some compile/run fixes
17362
17363 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17364
17365         * check/gst/gstvalue.c: (GST_START_TEST):
17366           fix leaks in the test itself
17367
17368 2005-09-22  Wim Taymans  <wim@fluendo.com>
17369
17370         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17371         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17372         (gst_base_sink_query):
17373         Prepare for more accurate position reporting and query
17374         handling.
17375
17376         * gst/gstelement.c: (gst_element_send_event),
17377         (gst_element_set_state):
17378         Add some comment.
17379
17380 2005-09-22  Wim Taymans  <wim@fluendo.com>
17381
17382         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17383         (gst_query_parse_segment):
17384         * gst/gstquery.h:
17385         More documentation.
17386         Add segment query for future use.
17387
17388 2005-09-22  Wim Taymans  <wim@fluendo.com>
17389
17390         * gst/gstbin.c: (gst_bin_add_func):
17391         Some more debug info.
17392
17393         * gst/gstelement.c: (gst_element_send_event):
17394         Simplify send_event
17395
17396         * gst/gstelement.h:
17397         Don't know how flags got broken.
17398
17399         * gst/gstquery.h:
17400         Added new query.
17401
17402 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17403
17404         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17405           Add simplistic test suite for GST_TYPE_DATE serialisation and
17406           deserialisation.
17407
17408 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17409
17410         * docs/gst/gstreamer-sections.txt:
17411         * gst/gststructure.c: (gst_structure_set_valist),
17412         (gst_structure_get_date):
17413         * gst/gststructure.h:
17414         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17415         (gst_date_copy), (gst_value_compare_date),
17416         (gst_value_serialize_date), (gst_value_deserialize_date),
17417         (gst_value_transform_date_string),
17418         (gst_value_transform_string_date), (_gst_value_initialize):
17419         * gst/gstvalue.h:
17420           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17421           bunch of utility functions along with a hack that checks that
17422           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17423           is required. Part of the grand scheme in #170777.
17424
17425 2005-09-22  Andy Wingo  <wingo@pobox.com>
17426
17427         * gst/gstconfig.h.in: Psych out gtk-doc.
17428
17429         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17430
17431         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17432
17433         * tools/gst-inspect.c (print_element_list): Plug some
17434         inconsequential leaks.
17435
17436         * gst/gstregistry.c (gst_registry_get_default): Doc.
17437
17438         * check/gst/gstplugin.c: 
17439         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17440         * gst/gstelementfactory.c (gst_element_factory_create): 
17441         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17442         refcount changes.
17443
17444         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17445         (gst_plugin_feature_load): Doc, don't eat refs.
17446
17447         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17448         (gst_plugin_list_free): Doc.
17449         (gst_plugin_load_file): Doc updates.
17450
17451         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17452         accessors returning refcounted objects, return a ref.
17453
17454         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17455         accessor for caps. IDEMPOTENCE. Oh yes.
17456
17457 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17458
17459         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17460
17461         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17462         (_gst_debug_register_funcptr):
17463           Add mutex to serialise access to the hash table with
17464           the function pointer => function name string mapping;
17465           make that hash table static scope (#316809).
17466
17467         * gst/registries/.cvsignore:
17468           Remove left-over file.
17469
17470 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17471
17472         * docs/pwg/appendix-porting.xml:
17473           And something about newsegment events and caps-on-buffers to
17474           the porting guide (feel free to improve).
17475
17476 2005-09-21  Andy Wingo  <wingo@pobox.com>
17477
17478         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17479         data and event probes on the same pad.
17480         (test_buffer_probe_once): Test that removing probes from within
17481         the probe functions works.
17482
17483 2005-09-21  Andy Wingo  <wingo@pobox.com>
17484
17485         * check/gst/gstutils.c: New file.
17486         (test_buffer_probe_n_times): A simple buffer probe test. More to
17487         come, foolios.
17488
17489         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17490         have-data::buffer, not have-data.
17491         (gst_pad_add_event_probe): Likewise for have-data::event.
17492         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17493         peer' isn't quite right yet though.
17494         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17495         (gst_pad_remove_data_probe): Change to take the guint handler_id
17496         as their arg, not the function+data, which is more glib-like.
17497
17498         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17499         the signal emission to indicate if the data is a buffer or an
17500         event.
17501         (gst_pad_get_type): Initialize buffer and event quarks.
17502         (gst_pad_class_init): have-data is now a detailed signal, yes it
17503         is.
17504
17505 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17506
17507         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17508         * gst/gstutils.c: (gst_util_set_value_from_string),
17509         (gst_util_set_object_arg):
17510           Don't put functional code in g_return_if_fail() or
17511           g_return_val_if_fail() statements, otherwise things will 
17512           break when G_DISABLE_CHECKS is defined during compilation.
17513
17514 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17515
17516         * docs/gst/tmpl/.cvsignore:
17517         * docs/gst/tmpl/gstvalue.sgml:
17518         * gst/gstvalue.c:
17519         * gst/gstvalue.h:
17520           inlied another one and added  some obvious docs
17521
17522 2005-09-21  Wim Taymans  <wim@fluendo.com>
17523
17524         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17525         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17526         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17527         (gst_fdsrc_get_property), (gst_fdsrc_create):
17528         * gst/elements/gstfdsrc.h:
17529         Properly implement fdsrc. Removed signal and timeout,
17530         better implemented somewhere else.
17531
17532 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17533
17534         * docs/gst/tmpl/.cvsignore:
17535         * docs/gst/tmpl/gstimplementsinterface.sgml:
17536         * gst/gstinterface.c:
17537           inlined more docs
17538
17539 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17540
17541         * docs/gst/gstreamer-sections.txt:
17542         * docs/gst/tmpl/.cvsignore:
17543         * docs/gst/tmpl/gstenumtypes.sgml:
17544           remove obsolete doc file
17545
17546 2005-09-21  David Schleef  <ds@schleef.org>
17547
17548         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17549         little beer, fix a little leak.
17550
17551 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17552
17553         * docs/gst/gstreamer-docs.sgml:
17554         * docs/gst/gstreamer-sections.txt:
17555         * docs/gst/tmpl/.cvsignore:
17556         * gst/Makefile.am:
17557         * gst/gst.h:
17558         * gst/gstbin.c:
17559         * gst/gstelement.h:
17560         * gst/gstindex.c: (gst_index_class_init):
17561         * gst/gstindex.h:
17562         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17563         (gst_index_factory_class_init), (gst_index_factory_init),
17564         (gst_index_factory_finalize), (gst_index_factory_new),
17565         (gst_index_factory_destroy), (gst_index_factory_find),
17566         (gst_index_factory_create), (gst_index_factory_make):
17567         * gst/gstindexfactory.h:
17568         * gst/gstpluginfeature.c:
17569         * gst/gstpluginfeature.h:
17570         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17571           more docs inlined, splitted gstindex.{c,h}
17572
17573 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17574
17575         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17576           fix a leak
17577
17578 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17579
17580         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17581           Set sync to FALSE by default.
17582
17583 2005-09-20  Wim Taymans  <wim@fluendo.com>
17584
17585         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17586         (gst_base_sink_init):
17587         Make sync property settable from subclass.
17588
17589         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17590         (gst_fake_sink_change_state):
17591         Set sync to FALSE by default.
17592
17593 2005-09-20  Wim Taymans  <wim@fluendo.com>
17594
17595         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17596         * tools/gst-launch.c: (main):
17597         The timeout handler should have lower priority than the source
17598         so we don't timeout before popping a message with 0 timeout.
17599         Dump error messages after failed state change.
17600
17601 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17602
17603         * tools/gst-inspect.c: (print_element_properties_info):
17604           Fix two typos.
17605
17606 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * check/gst/gstevent.c:
17609         * gst/elements/gstfakesink.c:
17610         * gst/elements/gstfakesink.h:
17611           remove the sync property from fakesink.
17612           has the side effect of setting sync TRUE
17613           for fakesink, which is a change.  Anyone who knows how
17614           to fix this nicely in a GObject-y way, feel free.
17615
17616 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17617
17618         * docs/gst/gstreamer-docs.sgml:
17619           remove probe refsection
17620
17621 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17622
17623         * check/Makefile.am:
17624           disable valgrinding the controller test again
17625         * docs/gst/gstreamer-sections.txt:
17626           update for api-changes
17627
17628 2005-09-20  Wim Taymans  <wim@fluendo.com>
17629
17630         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17631         (gst_base_sink_set_property), (gst_base_sink_get_property),
17632         (gst_base_sink_do_sync):
17633         * gst/base/gstbasesink.h:
17634         Added sync property to basesink to disable clock sync.
17635
17636 2005-09-20  Andy Wingo  <wingo@pobox.com>
17637
17638         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17639         eating the caller's refcount.
17640
17641         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17642         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17643         refcount.
17644
17645         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17646         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17647         of GLib 2.8 public, so we can know which refcount to check in
17648         tests.
17649
17650         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17651         (gst_object_init): Only set the gst refcount if we're going ahead
17652         with the refcount hack.
17653
17654 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17655
17656         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17657         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17658           more leaks plumbed, added more debug-logging
17659         * gst/gstmacros.h:
17660           whitespace fix
17661
17662 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17663
17664         * gst/gstmessage.c:
17665           remove include of gstmemchunk.h
17666
17667 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17668
17669         * gst/gstclock.c: (_gst_clock_id_free):
17670           Commit from the Political Party For More Atomic CVS Commits,
17671           so that people don't waste too much of their day fishing
17672           out obvious leaks out of massive commits.
17673           Oh, and fix a pretty damn obvious leak in the memchunk
17674           removal code.
17675
17676 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17677
17678         * check/Makefile.am:
17679         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17680           plug mem-leak, re-add to valgrindable tests
17681
17682 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17683
17684         * gst/gstplugin.h:
17685           unbreak the build for those who have chronic arthritis
17686           and typing "make check" is just too taxing on the hands
17687
17688 2005-09-20  Andy Wingo  <wingo@pobox.com>
17689
17690         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17691         really want it out, you should fix plugins at the same time.
17692
17693 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17694
17695         * configure.ac:
17696         * docs/gst/gstreamer-sections.txt:
17697         * gst/gstobject.c:
17698           added missing symbols to api docs
17699           disable ref-count hack if we have glib >= 2.8
17700
17701 2005-09-19  David Schleef  <ds@schleef.org>
17702
17703         * docs/gst/Makefile.am: Ignore a few more internal headers
17704         * docs/gst/gstreamer-docs.sgml: Remove old sections
17705         * docs/gst/gstreamer-sections.txt: Remove old sections
17706         * docs/gst/tmpl/gstobject.sgml: update
17707         * docs/gst/tmpl/gstplugin.sgml: update
17708         * docs/gst/tmpl/gstpluginfeature.sgml: update
17709         * docs/random/ds/0.9-suggested-changes: update.
17710         * gst/Makefile.am: remove memchunk and trashstack, since they're
17711           not used.
17712         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17713         * gst/gst.h: don't include some headers
17714         * gst/gstchildproxy.c: add gstmarshal.h
17715         * gst/gstclock.c: Don't use memchunks
17716         * gst/gstminiobject.c: Add some docs
17717         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17718         * gst/gstobject.h: same
17719         * gst/gstplugin.c: include gstmacros.h
17720         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17721         * gst/gstquery.c: don't use memchunks
17722         * gst/gstregistry.c: rename gst_registry_deinit()
17723         * gst/gstregistry.h: same
17724
17725 2005-09-19  David Schleef  <ds@schleef.org>
17726
17727         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17728         * docs/libs/gstreamer-libs-sections.txt:
17729         * docs/libs/tmpl/gstgetbits.sgml:
17730         * docs/libs/tmpl/gstputbits.sgml:
17731
17732 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17733
17734         * win32/gstenumtypes.c:
17735         * win32/gstenumtypes.h:
17736           Update.
17737
17738 2005-09-19  Wim Taymans  <wim@fluendo.com>
17739
17740         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17741         Automatically PAUSE and RESUME a pipeline when a flushing seek
17742         is performed.
17743
17744 2005-09-19  Andy Wingo  <wingo@pobox.com>
17745
17746         * gst/gstregistry.h: Spacing fixen.
17747
17748 2005-09-19  Wim Taymans  <wim@fluendo.com>
17749
17750         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17751         Handle state change failure more correctly.
17752
17753 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17754
17755         * check/Makefile.am:
17756         * check/pipelines/cleanup.c: (run_pipeline):
17757         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17758         (GST_START_TEST):
17759           enable cleanup again after fixing the leak
17760         * docs/README:
17761           some more info on docs
17762
17763 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17764
17765         * check/Makefile.am:
17766           re-enable tests now that leaks are plugged
17767         * check/gst/gst.c:
17768         * check/gst/gstbin.c:
17769         * check/gst/gstpipeline.c:
17770           add some more tests while fixing leaks
17771         * common/check.mak:
17772           make sure binaries are uptodate when valgrinding/gdbing
17773         * gst/gst.c:
17774         * gst/gstelementfactory.c:
17775           remove a ref too many, and add a FIXME for when we get
17776           round to disposing of classes
17777         * gst/gstplugin.c:
17778           fix the refcounting when loading a plugin from a file and
17779           the code pretends that the pointer is the same even though
17780           of course it can change
17781         * gst/gstpluginfeature.c:
17782           unref plugins marked cached (a bit confusing as a name)
17783           as the docs state should be done
17784           various doc additions to explain refcounting
17785         * gst/gstregistry.c:
17786         * gst/gstregistryxml.c:
17787           debugging
17788
17789 2005-09-19  Wim Taymans  <wim@fluendo.com>
17790
17791         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17792         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17793         (send_messages), (GST_START_TEST), (gstbus_suite):
17794         * check/gst/gstpipeline.c: (GST_START_TEST):
17795         * check/pipelines/cleanup.c: (run_pipeline):
17796         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17797         (GST_START_TEST):
17798         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17799         (gst_bus_source_check), (gst_bus_source_dispatch),
17800         (gst_bus_create_watch), (gst_bus_add_watch_full),
17801         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17802         * gst/gstbus.h:
17803         * tools/gst-launch.c: (event_loop):
17804         * tools/gst-md5sum.c: (event_loop):
17805         GstBusHandler -> GstBusFunc, return value has the same meaning as
17806         any other GSource (FALSE == remove source).
17807         _add_watch() and _add_watch_full() now take a MessageType mask to
17808         only handle specific types of messages.
17809         _poll() returns the GstMessage instead of the message type to avoid
17810         race conditions.
17811         _have_pending() takes a MessageType mask now too.
17812         Added testsuite for multiple bus watches.
17813         Fix testsuites and applications for new bus API.
17814
17815 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17816
17817         * check/Makefile.am:
17818           mark a bunch of the tests as to fix until we fix them
17819
17820 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17821
17822         * common/check.mak:
17823           use GST_PLUGIN settings for valgrind tests as well, so we're
17824           valgrinding the correct thing
17825         * gst/gst.c: (init_post):
17826           plug another leak
17827
17828 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17829
17830         * gst/gst.c: (init_post), (gst_deinit):
17831         * gst/gstelementfactory.c: (gst_element_factory_class_init),
17832         (gst_element_factory_finalize), (gst_element_factory_cleanup):
17833         * gst/gstindex.c: (gst_index_factory_class_init),
17834         (gst_index_factory_finalize):
17835         * gst/gstobject.c: (gst_object_dispose):
17836         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17837         (gst_plugin_load_file), (gst_plugin_desc_free):
17838         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17839         (gst_plugin_feature_finalize):
17840         * gst/gstregistry.c: (gst_registry_class_init),
17841         (gst_registry_init), (gst_registry_finalize),
17842         (gst_registry_get_default), (gst_registry_deinit):
17843         * gst/gstregistry.h:
17844         * gst/gstregistryxml.c: (load_feature), (load_plugin):
17845           various cleanups and memleak plugging.  make valgrind is happy now.
17846
17847 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17848
17849         * common/check.mak:
17850           add a check-valgrind target
17851
17852 2005-09-18  David Schleef  <ds@schleef.org>
17853
17854         * tools/gst-inspect.c: Revert the GOption code.
17855
17856 2005-09-17  David Schleef  <ds@schleef.org>
17857
17858         * check/Makefile.am: Fix environment variables.
17859         * check/gst/gstplugin.c: Fix for API changes.
17860         * tools/gst-inspect.c: Fix for API changes.
17861         * tools/gst-xmlinspect.c: Fix for API changes.
17862         * gst/gstelementfactory.c:
17863         * gst/gstplugin.c:
17864         * gst/gstplugin.h:
17865         * gst/gstpluginfeature.c:
17866         * gst/gstpluginfeature.h:
17867         * gst/gstregistry.c:
17868         * gst/gstregistry.h:
17869         * gst/gstregistryxml.c:
17870         * gst/gsttypefind.c:
17871         * gst/gsttypefindfactory.c:
17872         * gst/indexers/gstfileindex.c:
17873         * gst/indexers/gstmemindex.c:
17874         * gst/schedulers/Makefile.am:
17875           Change registry to keep track of both plugins and features,
17876           removing the feature tracking from plugins themselves.
17877
17878 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * check/Makefile.am:
17881         * tools/gst-register.1.in:
17882           remove gst-register
17883
17884 2005-09-15  David Schleef  <ds@schleef.org>
17885
17886         * check/gst/gstplugin.c:
17887         * gst/gstelementfactory.c:
17888         * gst/gstplugin.c:
17889         * gst/gstpluginfeature.c:
17890         * gst/gstregistry.c:
17891           Getting tired of debugging.  Disabled all the unreffing of
17892           plugins and features, which fixes the segfaults, but of
17893           course leaks like crazy.  At least playbin works.
17894
17895 2005-09-15  David Schleef  <ds@schleef.org>
17896
17897         * check/gst/gstplugin.c: (register_check_elements),
17898         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17899         More testing
17900         * gst/elements/gsttypefindelement.c: Fix refcounting.
17901         * gst/gsttypefind.c:
17902         * gst/gsttypefindfactory.c:
17903         * gst/gsttypefindfactory.h:
17904
17905 2005-09-15  David Schleef  <ds@schleef.org>
17906
17907         * gst/gstindex.c: get refcounting correct.
17908         * gst/gstregistry.c: Handle the case where a feature/plugin is
17909           not found.
17910
17911 2005-09-15  David Schleef  <ds@schleef.org>
17912
17913         * check/Makefile.am:
17914         * check/gst/gstplugin.c: Add test
17915         * gst/gstplugin.c: Fix problems noticed by testsuite
17916         * gst/gstplugin.h:
17917         * gst/gstregistry.c: 
17918         * gst/gstregistry.h:
17919
17920 2005-09-15  David Schleef  <ds@schleef.org>
17921
17922         * gst/gstplugin.c: Implement semi-decent recounting and locking
17923           in plugins and plugin features.
17924         * gst/gstplugin.h:
17925         * gst/gstpluginfeature.c:
17926         * gst/gstpluginfeature.h:
17927         * gst/gstregistry.c:
17928
17929 2005-09-15  Michael Smith <msmith@fluendo.com>
17930
17931         * gst/gstregistry.c: (gst_registry_get_feature_list):
17932           Implement this. Makes oggdemux work; decodebin still broken.
17933
17934 2005-09-14  David Schleef  <ds@schleef.org>
17935
17936         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17937           #316076)
17938         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17939         * gst/check/Makefile.am:
17940         * libs/gst/controller/Makefile.am:
17941         * libs/gst/dataprotocol/Makefile.am:
17942
17943 2005-09-14  David Schleef  <ds@schleef.org>
17944
17945         * configure.ac: Remove getbits library.  Nothing uses it, and
17946           it should be in something like liboil if someone did want
17947           to use it.
17948         * libs/gst/Makefile.am:
17949         * libs/gst/getbits/Makefile.am:
17950         * libs/gst/getbits/gbtest.c:
17951         * libs/gst/getbits/getbits.c:
17952         * libs/gst/getbits/getbits.h:
17953         * libs/gst/getbits/gstgetbits_generic.c:
17954         * libs/gst/getbits/gstgetbits_i386.s:
17955         * libs/gst/getbits/gstgetbits_inl.h:
17956
17957 2005-09-14  David Schleef  <ds@schleef.org>
17958
17959         * gst/Makefile.am: Dist glib-compat.h
17960
17961 2005-09-14  David Schleef  <ds@schleef.org>
17962
17963         * configure.ac: Remove gst/registries, since it's no longer used.
17964         * gst/registries/Makefile.am:
17965         * gst/registries/gstlibxmlregistry.c:
17966         * gst/registries/gstlibxmlregistry.h:
17967         * gst/registries/gstxmlregistry.c:
17968         * gst/registries/gstxmlregistry.h:
17969         * gst/registries/registrytest.c:
17970
17971 2005-09-14  David Schleef  <ds@schleef.org>
17972
17973         * gst/glib-compat.h:
17974         * gst/gstregistryxml.c:
17975           Convergence is near.  Seriously.
17976
17977 2005-09-14  David Schleef  <ds@schleef.org>
17978
17979         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17980         * gst/glib-compat.h:
17981           Attempt #4 to appease the buildbots.
17982
17983 2005-09-14  David Schleef  <ds@schleef.org>
17984
17985         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17986           Attempt #3.
17987
17988 2005-09-14  David Schleef  <ds@schleef.org>
17989
17990         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17991         Attempt #2.
17992
17993 2005-09-14  David Schleef  <ds@schleef.org>
17994
17995         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17996           the new functions.
17997
17998 2005-09-14  David Schleef  <ds@schleef.org>
17999
18000         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18001         * gst/glib-compat.h: Add some functions that are in newer versions
18002           of glib than we care to require.
18003         * gst/gstregistryxml.c: Use them.
18004
18005 2005-09-14  David Schleef  <ds@schleef.org>
18006
18007         * po/POTFILES.in: remove gst-register.c
18008
18009 2005-09-14  David Schleef  <ds@schleef.org>
18010
18011         * docs/gst/gstreamer-docs.sgml:
18012         * docs/gst/gstreamer-sections.txt:
18013         * docs/gst/gstreamer.types:
18014         * docs/gst/tmpl/gstelement.sgml:
18015         * docs/gst/tmpl/gstplugin.sgml:
18016         * docs/gst/tmpl/gstpluginfeature.sgml:
18017           Documentation updates for registry changes.
18018
18019 2005-09-14  David Schleef  <ds@schleef.org>
18020
18021         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18022           because we don't require glib-2.8.
18023
18024 2005-09-14  David Schleef  <ds@schleef.org>
18025
18026         * gst/gstregistryxml.c: Added.  Essentially moved out of the
18027           registries directory.
18028
18029 2005-09-14  David Schleef  <ds@schleef.org>
18030
18031         * check/Makefile.am:
18032         * check/generic/states.c:
18033         * gst/Makefile.am:
18034         * gst/gst.c:
18035         * gst/gst.h:
18036         * gst/gst_private.h:
18037         * gst/gstelementfactory.c:
18038         * gst/gstindex.c:
18039         * gst/gstinfo.c:
18040         * gst/gstplugin.c:
18041         * gst/gstplugin.h:
18042         * gst/gstpluginfeature.c:
18043         * gst/gstpluginfeature.h:
18044         * gst/gstregistry.c:
18045         * gst/gstregistry.h:
18046         * gst/gstregistrypool.c: remove
18047         * gst/gstregistrypool.h: remove
18048         * gst/gsttypefind.c:
18049         * gst/gsttypefindfactory.c:
18050         * gst/gsturi.c:
18051         * tools/Makefile.am:
18052         * tools/gst-compprep.c:
18053         * tools/gst-inspect.c:
18054         * tools/gst-register.c: remove
18055         * tools/gst-xmlinspect.c:
18056           Registry rewrite.  Changes registry from being a file created
18057           by a tool into a simple cache file created automatically by 
18058           libgstreamer.  Removed gst-register (because it's no longer
18059           needed).  Remove registry pools, because we only have one
18060           registry implementation (XML).  Fix up other subsystems as
18061           necessary.
18062
18063 2005-09-13  Michael Smith <msmith@fluendo.com>
18064
18065         * gst/gstconfig.h.in:
18066           Don't Use windows linking attributes for MinGW. Fixes #316157
18067
18068 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18069
18070         * gst/gstutils.c: (set_state_async_thread_func),
18071         (gst_element_set_state_async):
18072           Apparently people think it's better if this function doesn't
18073           try to set the state to whatever state was asked for on the first
18074           call to this function for any object.  Seriously.
18075
18076 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18077
18078         * check/gst/gstpipeline.c: (GST_START_TEST):
18079         * docs/gst/gstreamer-sections.txt:
18080         * gst/gstutils.c: (set_state_async_thread_func),
18081         (gst_element_set_state_async):
18082         * gst/gstutils.h:
18083           add a "gst_element_set_state_async" method that
18084           sets the state and starts a thread to make sure the state
18085           change completes as best as it can
18086
18087 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18088
18089         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18090           codify design+behaviour in testsuite after discussion
18091
18092 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18093
18094         * docs/gst/tmpl/gstelement.sgml:
18095         * docs/manual/appendix-quotes.xml:
18096           add a quote
18097         * gst/gstelement.c: (gst_element_set_state):
18098           add some debug
18099
18100 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18101
18102         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18103         (gst_base_transform_prepare_output_buf),
18104         (gst_base_transform_handle_buffer):
18105         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18106         (gst_capsfilter_prepare_buf):
18107           Remove the requirement for sub-classes to call the parent
18108           implementation of prepare_output_buffer with a wrapper function.
18109           
18110         * gst/gsttaglist.h:
18111         * gst/gsttagsetter.h:
18112           Fix #define wrapper
18113
18114 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18115
18116         * docs/gst/gstreamer-sections.txt:
18117           more doc cleanups
18118
18119 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18120
18121         * docs/gst/gstreamer-sections.txt:
18122         * docs/gst/tmpl/gstelement.sgml:
18123         * docs/gst/tmpl/gstplugin.sgml:
18124         * gst/gstminiobject.c:
18125         * gst/gstvalue.h:
18126           docs now stop throwing warnings
18127
18128 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18129
18130         * docs/gst/gstreamer-sections.txt:
18131         * docs/gst/gstreamer.types:
18132         * docs/gst/tmpl/gstpad.sgml:
18133         * docs/gst/tmpl/gsttypes.sgml:
18134         * gst/base/gstadapter.h:
18135         * gst/base/gstbasesink.h:
18136         * gst/base/gstbasesrc.h:
18137         * gst/gstbin.h:
18138         * gst/gstbuffer.h:
18139         * gst/gstbus.h:
18140         * gst/gstcaps.h:
18141         * gst/gstclock.h:
18142         * gst/gstelement.h:
18143         * gst/gstevent.h:
18144         * gst/gstmessage.h:
18145         * gst/gstpad.h:
18146         * gst/gststructure.c:
18147         * gst/registries/gstlibxmlregistry.h:
18148           various documentation fixes
18149
18150 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18151
18152         * docs/gst/gstreamer-sections.txt:
18153         * docs/gst/tmpl/gstvalue.sgml:
18154           rearrange gstvalue section
18155         * gst/gstutils.c: (gst_element_state_get_name):
18156           NONE -> VOID
18157         * gst/gstvalue.c: (_gst_value_initialize):
18158         * gst/gstvalue.h:
18159           doc updates
18160
18161 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18162
18163         * check/gst-libs/controller.c:
18164           Header include fix.
18165         * gst/base/gstbasetransform.c:
18166         (gst_base_transform_default_prepare_buf),
18167         (gst_base_transform_handle_buffer):
18168         * gst/base/gstbasetransform.h:
18169           Some more basetransform changes and fixes to enable sub-classes
18170           that modify buffer metadata only.
18171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18172         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18173         (gst_capsfilter_prepare_buf):
18174           If the output pad has fixed allowed caps and input buffers 
18175           don't have any, set the fixed caps on outgoing buffers.
18176
18177 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18178         * check/elements/identity.c: (GST_START_TEST):
18179           Make the error a little clearer when the test fails because
18180           identity made a copy of the buffer.
18181         * docs/gst/gstreamer-sections.txt:
18182           New symbols in gstbasetransform.h
18183         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18184         (gst_base_transform_init), (gst_base_transform_transform_size),
18185         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18186         (gst_base_transform_default_prepare_buf),
18187         (gst_base_transform_get_unit_size),
18188         (gst_base_transform_buffer_alloc),
18189         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18190         (gst_base_transform_change_state),
18191         (gst_base_transform_set_passthrough),
18192         (gst_base_transform_set_in_place),
18193         (gst_base_transform_is_in_place):
18194         * gst/base/gstbasetransform.h:
18195           Change BaseTransform to separate in_place operate from same_caps
18196           output. in_place implies that the element can perform the transform
18197           on incoming buffers in-place, even if the caps on the output are
18198           different.
18199           Sub-class elements can now implement special buffer allocation
18200           methods for outgoing buffers if they wish to.
18201           Big documentation addition.
18202         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18203         * gst/elements/gstelements.c:
18204           Changes for basetransform modifications.
18205         * gst/elements/Makefile.am:
18206         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18207           Compile fix. Extra debug output.
18208
18209 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18210
18211         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18212         (gst_pad_suite):
18213           add tests for valid pad naming
18214         * gst/check/gstcheck.c: (gst_check_log_message_func),
18215         (gst_check_log_critical_func):
18216           add ASSERT_WARNING
18217           remove printing of code, it is fragile when the code contains
18218           % and the line number is enough info
18219         * gst/check/gstcheck.h:
18220         * gst/gstpad.c: (gst_pad_template_new):
18221           fix memleaks
18222
18223 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18224
18225         * configure.ac:
18226           say what CHECK flags we use
18227         * docs/libs/gstreamer-libs.types:
18228         * libs/gst/controller/Makefile.am:
18229         * libs/gst/controller/gst-controller.c:
18230         * libs/gst/controller/gst-controller.h:
18231         * libs/gst/controller/gst-helper.c:
18232         * libs/gst/controller/gst-interpolation.c:
18233         * libs/gst/controller/gstcontroller.c:
18234         * libs/gst/controller/gsthelper.c:
18235         * libs/gst/controller/gstinterpolation.c:
18236         * tools/gst-inspect.c: (print_plugin_info):
18237           we don't use dashes in header names
18238
18239 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18240
18241         * check/Makefile.am:
18242         * check/gst/.cvsignore:
18243         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18244         (gst_pipeline_suite), (main):
18245           adding a test for pipelines and state changes
18246         * gst/gstutils.c: (get_state_func):
18247           add some debugging
18248         * gstreamer.spec.in:
18249           fix up spec file
18250
18251 2005-09-08  Michael Smith <msmith@fluendo.com>
18252
18253         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18254         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18255         (gst_file_src_is_seekable), (gst_file_src_get_size),
18256         (gst_file_src_start):
18257         * gst/elements/gstfilesrc.h:
18258           Various fixes for unseekable, unmmapable, and non-normal files, so
18259           that fallback to read() rather than mmap() works.
18260         * gst/gstevent.c: (gst_event_new_newsegment):
18261           Allow newsegment events with segment_start == segment_end, as will
18262           correctly happen if you use filesrc on a zero-size file, for
18263           example.
18264
18265 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18266
18267         * gst/gstplugin.c: (gst_plugin_load_file):
18268           Call g_module_close when we don't load the module
18269
18270         * gst/registries/gstlibxmlregistry.c:
18271         (gst_xml_registry_get_property):
18272           Port leak fix from 0.8
18273
18274 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18275
18276         * docs/gst/gstreamer-docs.sgml:
18277         * docs/gst/tmpl/.cvsignore:
18278         * docs/gst/tmpl/gsttrace.sgml:
18279         * docs/gst/tmpl/gsttrashstack.sgml:
18280         * gst/Makefile.am:
18281         * gst/gst.h:
18282         * gst/gstelement.h:
18283         * gst/gstevent.h:
18284         * gst/gstmessage.c:
18285         * gst/gstmessage.h:
18286         * gst/gsttag.c:
18287         * gst/gsttag.h:
18288         * gst/gsttaginterface.c:
18289         * gst/gsttaginterface.h:
18290         * gst/gsttaglist.c:
18291         * gst/gsttaglist.h:
18292         * gst/gsttagsetter.c:
18293         * gst/gsttagsetter.h:
18294         * gst/gsttrace.c:
18295         * gst/gsttrace.h:
18296         * gst/gsttrashstack.c:
18297           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18298           inlined docs for gsttrace, gsttrashstack
18299
18300 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18301
18302         * gst/Makefile.am:
18303         * gst/elements/gstbufferstore.h:
18304         * gst/elements/gsttypefindelement.c:
18305         * gst/elements/gsttypefindelement.h:
18306         * gst/gst.h:
18307         * gst/gsttypefind.c:
18308         * gst/gsttypefind.h:
18309         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18310         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18311         (gst_type_find_factory_dispose),
18312         (gst_type_find_factory_unload_thyself),
18313         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18314         (gst_type_find_factory_get_caps),
18315         (gst_type_find_factory_get_extensions),
18316         (gst_type_find_factory_call_function):
18317         * gst/gsttypefindfactory.h:
18318         * gst/registries/gstlibxmlregistry.c:
18319         * gst/registries/gstxmlregistry.c:
18320           splitted gsttypefind into gsttypefind, gsttypefindfactory
18321
18322 2005-09-07  Andy Wingo  <wingo@pobox.com>
18323
18324         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18325         condition whereby the pad's task function is entered before the
18326         pad_mode variable was set.
18327
18328 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18329
18330         * gst/gstpad.c: (gst_pad_alloc_buffer):
18331           Catch misbehaving pad_alloc functions that don't
18332           set up caps and do it for them.
18333
18334 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18335
18336         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18337           test for pipe!=NULL
18338         * docs/gst/tmpl/.cvsignore:
18339         * docs/gst/tmpl/gstmemchunk.sgml:
18340         * docs/gst/tmpl/gstparse.sgml:
18341         * docs/gst/tmpl/gsttaglist.sgml:
18342         * docs/gst/tmpl/gsttagsetter.sgml:
18343         * docs/gst/tmpl/gsttypefind.sgml:
18344         * docs/gst/tmpl/gsttypefindfactory.sgml:
18345         * gst/gstmemchunk.c:
18346         * gst/gstparse.c:
18347         * gst/gsttag.c:
18348         * gst/gsttaginterface.c:
18349         * gst/gsttypefind.c:
18350         * gst/gsttypefind.h:
18351           inlined more docs
18352
18353 === release 0.9.2 ===
18354
18355 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18356
18357         * NEWS:
18358         * RELEASE:
18359         * configure.ac:
18360           releasing 0.9.2, "South"
18361
18362 2005-09-05  Andy Wingo  <wingo@pobox.com>
18363
18364         * gst/registries/gstxmlregistry.h:
18365         * gst/registries/gstxmlregistry.c: Um... resurrect...
18366         
18367         * gst/registries/gstxmlregistry.h:
18368         * gst/registries/gstxmlregistry.c: and update to newer API.
18369         Incidentally they should be a bit faster now that they don't have
18370         to parse the caps.
18371         
18372 2005-09-05  Andy Wingo  <wingo@pobox.com>
18373
18374         * gst/registries/gstxmlregistry.h:
18375         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18376         replaced by the libxml registry a while back
18377
18378 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18379
18380         * docs/gst/tmpl/gstplugin.sgml:
18381         * gst/elements/gstelements.c:
18382         * gst/gst.c:
18383         * gst/gstplugin.c: (gst_plugin_register_func),
18384         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18385         (gst_plugin_get_source):
18386         * gst/gstplugin.h:
18387         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18388         (gst_xml_registry_save_plugin):
18389         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18390         (gst_xml_registry_save_plugin):
18391         * tools/gst-inspect.c: (print_plugin_info):
18392           add a "source" plugin description field, to represent the source
18393           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18394           will set it to PACKAGE, which is automake's idea of the name of
18395           the source project.
18396
18397 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18398
18399         * Makefile.am:
18400         * autogen.sh:
18401         * configure.ac:
18402         * docs/Makefile.am:
18403         * docs/faq/Makefile.am:
18404         * docs/gst/tmpl/gstelement.sgml:
18405         * docs/gst/tmpl/gsttypes.sgml:
18406         * docs/htmlinstall.mak:
18407         * docs/manual/Makefile.am:
18408         * docs/pwg/Makefile.am:
18409           reorganize doc build a little
18410           split out docbook and gtk-doc stuff
18411           have two separate --enable's and enable them through autogen
18412           but disable by default in configure (to be similar to other
18413           projects)
18414         * gstreamer.spec.in:
18415           clean up docs install
18416         * po/af.po:
18417         * po/az.po:
18418         * po/ca.po:
18419         * po/cs.po:
18420         * po/de.po:
18421         * po/en_GB.po:
18422         * po/fr.po:
18423         * po/it.po:
18424         * po/nb.po:
18425         * po/nl.po:
18426         * po/ru.po:
18427         * po/sq.po:
18428         * po/sr.po:
18429         * po/sv.po:
18430         * po/tr.po:
18431         * po/uk.po:
18432         * po/vi.po:
18433           translation updates
18434
18435 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18436
18437         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18438           Add comment.
18439           
18440         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18441         (gst_fake_sink_change_state):
18442           Make state change function thread-safe.
18443           
18444         * gst/gstpad.c: (gst_pad_alloc_buffer):
18445           Set offset on generic buffer allocated by fallback.
18446
18447 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18448
18449         * docs/gst/gstreamer-sections.txt:
18450         * docs/gst/tmpl/gstelement.sgml:
18451         * gst/gstpad.c:
18452         * libs/gst/controller/gst-controller.c:
18453         (gst_controlled_property_set_interpolation_mode),
18454         (gst_controlled_property_new),
18455         (gst_controller_find_controlled_property):
18456          run the wingo-magic script against the docs
18457
18458 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18459
18460         * docs/gst/gstreamer-docs.sgml:
18461         * docs/gst/gstreamer-sections.txt:
18462         * docs/gst/tmpl/.cvsignore:
18463         * docs/gst/tmpl/gstelementdetails.sgml:
18464         * docs/gst/tmpl/gstelementfactory.sgml:
18465         * gst/gst.c:
18466         * gst/gstbus.c:
18467         * gst/gstelementfactory.c:
18468         * gst/gstelementfactory.h:
18469           merged elementdetails docs into elementfactory docs
18470           inlined both
18471
18472 2005-09-02  Andy Wingo  <wingo@pobox.com>
18473
18474         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18475         consider this enum an enum and not a flags.
18476
18477 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18478
18479         * docs/gst/gstreamer-docs.sgml:
18480         * docs/gst/tmpl/.cvsignore:
18481         * docs/gst/tmpl/gstghostpad.sgml:
18482         * docs/gst/tmpl/gstiterator.sgml:
18483         * docs/gst/tmpl/gstmacros.sgml:
18484         * docs/gst/tmpl/gstrealpad.sgml:
18485         * docs/gst/tmpl/gstregistry.sgml:
18486         * docs/gst/tmpl/gstregistrypool.sgml:
18487         * docs/gst/tmpl/gststructure.sgml:
18488         * docs/gst/tmpl/gstsystemclock.sgml:
18489         * docs/gst/tmpl/gsttrace.sgml:
18490         * gst/gstghostpad.c:
18491         * gst/gstmacros.h:
18492         * gst/gstmemchunk.c:
18493         * gst/gstmemchunk.h:
18494         * gst/gstqueue.c:
18495         * gst/gstregistry.c:
18496         * gst/gstregistrypool.c:
18497         * gst/gststructure.c:
18498         * gst/gstsystemclock.c:
18499           more docs inlined
18500
18501 2005-09-02  Andy Wingo  <wingo@pobox.com>
18502
18503         * gst/gstelement.h (GstState): Renamed from GstElementState,
18504         changed to be a normal enum instead of flags.
18505         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18506         munged to be GST_STATE_CHANGE_*.
18507         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18508         work with the new state representation.
18509         (GstStateChange): New enumeration of possible state transitions.
18510         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18511         (GstElementClass::change_state): Pass the GstStateChange along as
18512         an argument. Helps language bindings, so they don't have to use
18513         tricky lock-needing macros like GST_STATE_CHANGE ().
18514
18515         * scripts/update-states (file): New script. Run it on a file to
18516         update it for state naming and API changes. Updates files in
18517         place.
18518
18519         * All files updated for the new API.
18520
18521 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18522
18523         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18524         * gst/gstutils.c: (gst_util_set_value_from_string),
18525         (gst_util_set_object_arg):
18526           fix a bunch of unchecked return values
18527         * tools/gst-complete.c: (main):
18528         * gstreamer.spec.in:
18529           clean up a little
18530
18531 2005-09-01  Wim Taymans  <wim@fluendo.com>
18532
18533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18534         (gst_base_sink_event), (gst_base_sink_do_sync),
18535         (gst_base_sink_handle_event):
18536         * gst/base/gstbasesink.h:
18537         Handle newsegments more correctly.
18538
18539         * gst/gstbus.c:
18540         Fix docs.
18541
18542         * gst/gstevent.c: (gst_event_new_newsegment):
18543         A newsegment cannot have a start_time of -1
18544
18545 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18546
18547         * win32/gstenumtypes.c:
18548         * win32/gstenumtypes.h:
18549           Update
18550
18551 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18552
18553         * libs/gst/controller/gst-controller.c:
18554         (gst_controlled_property_set_interpolation_mode),
18555         (gst_controlled_property_new):
18556          fixed boolean again
18557
18558 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18559
18560         * docs/faq/gst-uninstalled:
18561           add -good
18562         * gst/gstevent.c:
18563         * gst/gstevent.h:
18564           remove wrong docs
18565         * gst/gstutils.c: (gst_element_link_filtered):
18566         * gst/gstutils.h:
18567           add gst_element_link_filtered
18568
18569 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18570
18571         * docs/gst/gstreamer-docs.sgml:
18572         * docs/gst/gstreamer-sections.txt:
18573         * docs/gst/tmpl/.cvsignore:
18574         * docs/gst/tmpl/gsterror.sgml:
18575         * docs/gst/tmpl/gstfilter.sgml:
18576         * docs/gst/tmpl/gsturihandler.sgml:
18577         * docs/gst/tmpl/gsturitype.sgml:
18578         * docs/gst/tmpl/gstutils.sgml:
18579         * docs/gst/tmpl/gstxml.sgml:
18580         * gst/gsterror.c:
18581         * gst/gsterror.h:
18582         * gst/gstfilter.c:
18583         * gst/gsturi.c:
18584         * gst/gsturitype.c:
18585         * gst/gstutils.c:
18586         * gst/gstxml.c:
18587           inlined more docs, fixed double id-ref
18588
18589 2005-08-31  Wim Taymans  <wim@fluendo.com>
18590
18591         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18592         (gst_base_transform_handle_buffer):
18593         Passthrough elements don't need the caps as they don't care.
18594
18595 2005-08-31  Wim Taymans  <wim@fluendo.com>
18596
18597         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18598         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18599         Don't leak refcounts on buffers.
18600
18601 2005-08-31  Wim Taymans  <wim@fluendo.com>
18602
18603         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18604         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18605         (gst_base_transform_chain), (gst_base_transform_change_state):
18606         * gst/base/gstbasetransform.h:
18607         Handle the case where we are not negotiated more gracefully.
18608
18609 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18610
18611         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18612         (gst_file_src_map_region):
18613           Set READONLY flag on mmap'ed buffers, otherwise
18614           gst_buffer_make_writable() won't work properly (#314708).
18615
18616 2005-08-31  Wim Taymans  <wim@fluendo.com>
18617
18618         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18619         passthrough elements can even do inplace on non writable
18620         buffers (as they don't touch them).
18621
18622 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18623
18624         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18625         (gst_test_mono_source_set_property),
18626         (gst_test_mono_source_class_init), (GST_START_TEST),
18627         (gst_controller_suite):
18628           more tests (hehe I have the most)
18629         * gst/gstbus.c:
18630           describe popping messages whenusing mulltiple sources
18631         * libs/gst/controller/gst-controller.c:
18632         (gst_controlled_property_set_interpolation_mode),
18633         (gst_controlled_property_new):
18634         * libs/gst/controller/gst-controller.h:
18635         * libs/gst/controller/gst-interpolation.c:
18636           implement boolean properties
18637
18638 2005-08-31  Wim Taymans  <wim@fluendo.com>
18639
18640         * gst/gstminiobject.c: (gst_mini_object_ref):
18641         Cannot assert that the refcount has to be positive
18642         since a disposed object can be resurrected.
18643
18644 2005-08-31  Wim Taymans  <wim@fluendo.com>
18645
18646         * gst/gstpad.c: (gst_pad_init):
18647         Revert change, need to first fix badly behaving 
18648         apps.
18649
18650 2005-08-30  Wim Taymans  <wim@fluendo.com>
18651
18652         * check/elements/fakesrc.c: (setup_fakesrc):
18653         * check/elements/identity.c: (setup_identity):
18654         Activate pads before using them.
18655
18656 2005-08-30  Wim Taymans  <wim@fluendo.com>
18657
18658         * gst/base/gstadapter.c: (gst_adapter_flush):
18659         Flushing out 0 bytes is ok for this function.
18660
18661         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18662         no newsegment gives a warning and sets the start/stop to 
18663         invalid.
18664
18665         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18666         (gst_base_transform_set_passthrough):
18667         Some debug info.
18668
18669         * gst/gstminiobject.c: (gst_mini_object_ref):
18670         Check refcount here too.
18671
18672         * gst/gstpad.c: (gst_pad_init):
18673         Pads are initially flushing and refusing data.
18674
18675         * gst/gstutils.c: (gst_element_link_pads_filtered):
18676         When adding a capsfilter element make sure it has the
18677         same state as the parent bin.
18678
18679 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18680
18681         * docs/gst/tmpl/.cvsignore:
18682         * docs/gst/tmpl/gstformat.sgml:
18683         * docs/gst/tmpl/gstversion.sgml:
18684         * gst/gstbus.h:
18685         * gst/gstformat.c:
18686         * gst/gstformat.h:
18687         * gst/gstversion.h.in:
18688           more docs and two more inlined
18689
18690 2005-08-30  Wim Taymans  <wim@fluendo.com>
18691
18692         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18693         Don't sync to clock.
18694
18695 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18696
18697         * docs/gst/gstreamer-sections.txt:
18698           ultral33t func10ns deserve to appear in the docs actually
18699         * docs/gst/tmpl/.cvsignore:
18700         * docs/gst/tmpl/gstcompat.sgml:
18701         * docs/gst/tmpl/gstconfig.sgml:
18702         * gst/check/gstcheck.c:
18703         * gst/gstcompat.h:
18704         * gst/gstconfig.h.in:
18705           inlined more docs
18706
18707 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18708
18709         * docs/gst/tmpl/.cvsignore:
18710         * docs/gst/tmpl/gstquery.sgml:
18711         * docs/gst/tmpl/gstutils.sgml:
18712         * gst/gstquery.c:
18713         * gst/gstquery.h:
18714           inlined and extended docs
18715
18716 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18717
18718         * check/gst-libs/controller.c: (GST_START_TEST),
18719         (gst_controller_suite):
18720           more tests
18721         * docs/gst/tmpl/gstutils.sgml:
18722         * docs/libs/gstreamer-libs-sections.txt:
18723         * docs/libs/tmpl/gstdataprotocol.sgml:
18724           include path fixes
18725         * examples/controller/audio-example.c: (main):
18726           controller example works now
18727         * gst/gstclock.h:
18728           doc fixes
18729         * tools/gst-inspect.c: (print_element_properties_info):
18730           show param spec flags
18731
18732 2005-08-29  Andy Wingo  <wingo@pobox.com>
18733
18734         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18735
18736 2005-08-28  Andy Wingo  <wingo@pobox.com>
18737
18738         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18739         as having two arguments instead of just one. Allows superclasses
18740         to access information on subclasses -- see the terrible for() loop
18741         in gtype.c:g_type_create_instance for the reason why. All callers
18742         changed.
18743
18744 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18745
18746         * docs/design/part-messages.txt:
18747           update info
18748         * docs/gst/tmpl/.cvsignore:
18749         * docs/gst/tmpl/gstcaps.sgml:
18750         * docs/gst/tmpl/gstclock.sgml:
18751         * gst/gstbus.c:
18752         * gst/gstcaps.c:
18753         * gst/gstcaps.h:
18754         * gst/gstclock.c:
18755         * gst/gstclock.h:
18756         * gst/gstmessage.c:
18757           added descriptions for bus and message
18758           inline caps and clock docs
18759
18760 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18761
18762         * gst/gstmessage.c:
18763         * gst/gstmessage.h:
18764           doc fixes
18765
18766 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18767
18768         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18769           fix div-by-zero
18770
18771 2005-08-26  Andy Wingo  <wingo@pobox.com>
18772
18773         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18774         element_set_state's return val.
18775         (test_2_elements): Add test that's been disabled for months.
18776
18777         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18778         can-activate-pull properties.
18779
18780         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18781         can-activate-pull properties. Implement is_seekable so fakesrc can
18782         operate in pull mode.
18783
18784         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18785         properties.
18786         (gst_base_sink_activate, gst_base_sink_activate_pull)
18787         (gst_base_sink_activate_push): Make activation mode choosing work.
18788         Cleanups.
18789         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18790         is right. Make pull mode work. Post an eos before pausing in pull
18791         mode.
18792         (gst_base_sink_change_state): Pay attention to the core's
18793         change_state() return val.
18794         
18795         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18796         has-getrange properties. Cleanups.
18797         
18798         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18799         has_getrange and replace with can_activate_pull and
18800         can_activate_push.
18801
18802         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18803         locking comments. Remove has_loop, has_chain and replace with
18804         can_activate_pull and can_activate_push.
18805
18806 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
18807
18808         * configure.ac:
18809         * examples/Makefile.am:
18810         * examples/metadata/Makefile.am:
18811         * examples/metadata/read-metadata.c: (message_loop),
18812         (have_pad_handler), (make_pipeline), (print_tag), (main):
18813           Add metadata reading example that loops over a list of filenames,
18814           dumping any tags found.
18815
18816         * gst/gstbus.c: (gst_bus_dispose):
18817         * gst/gstelement.c: (gst_element_dispose):
18818           Release a few potentially-held references in dispose.
18819
18820 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18821
18822         * docs/gst/tmpl/gstminiobject.sgml:
18823           do *not* add tmpl/*.sgml files to CVS!
18824
18825 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18826
18827         * libs/gst/bytestream/.cvsignore:
18828         * libs/gst/bytestream/Makefile.am:
18829         * libs/gst/bytestream/adapter.c:
18830         * libs/gst/bytestream/adapter.h:
18831         * libs/gst/bytestream/bytestream.c:
18832         * libs/gst/bytestream/bytestream.h:
18833         * libs/gst/bytestream/filepad.c:
18834         * libs/gst/bytestream/filepad.h:
18835           removing obsolete files
18836
18837 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18838
18839         * docs/gst/gstreamer-docs.sgml:
18840         * docs/libs/gstreamer-libs-docs.sgml:
18841           disabed additional index entries again, as this makes docs-gen just
18842           slow and they aren't useful yet
18843         * docs/libs/gstreamer-libs-sections.txt:
18844           little -section.txt cleanup for libs
18845
18846 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18847
18848         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18849         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18850           fix up some debugging
18851         (gst_base_transform_get_unit_size),
18852         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18853         (gst_base_transform_handle_buffer):
18854         * gst/base/gstbasetransform.h:
18855           handle and store timed NEWSEGMENT events so that subclasses that
18856           calculate time by counting samples have a segment_start time they
18857           need to add to their timestamps - see audioresample
18858
18859 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18860
18861         * gst/gstbin.h:
18862           removed ';' from the end of macro defs
18863         * docs/gst/gstreamer-docs.sgml:
18864         * docs/gst/gstreamer-sections.txt:
18865         * docs/gst/tmpl/.cvsignore:
18866         * gst/gstbus.h:
18867         * gst/gstelement.c: (gst_element_class_init),
18868         (gst_element_set_state), (activate_pads),
18869         (gst_element_save_thyself):
18870         * gst/gstevent.c: (gst_event_new_newsegment):
18871         * gst/gstevent.h:
18872         * gst/gstiterator.c:
18873         * gst/gstiterator.h:
18874         * gst/gstpad.c:
18875         * gst/gstprobe.h:
18876         * gst/gstutils.c: (gst_pad_query_convert):
18877         * gst/gstutils.h:
18878           fixed parameter name mismatches between source, header and docs
18879           added some more docs, resolved the last batch of unused elements in
18880           docs (now someone needs to doc them)
18881
18882 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18883
18884         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18885         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18886           don't walk through the plugins backwards.  Where is all this
18887           reversed logic coming from ?
18888
18889 2005-08-25  Wim Taymans  <wim@fluendo.com>
18890
18891         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18892         (gst_base_transform_transform_size),
18893         (gst_base_transform_configure_caps),
18894         (gst_base_transform_get_unit_size),
18895         (gst_base_transform_buffer_alloc),
18896         (gst_base_transform_change_state):
18897         * gst/base/gstbasetransform.h:
18898         Cache caps unit_size.
18899         Make sure we cannot negotiate up and downstream at the
18900         same time.
18901
18902 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18903
18904         * gst/gst.c: (init_pre), (init_post):
18905           register the installed plugin path after the env var
18906         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18907         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18908           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18909           directories, so the tests can prefer uninstalled over installed
18910
18911 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18912
18913         * gst/base/gstbasetransform.h:
18914           comment
18915         * gst/gstpad.c:
18916           add to docs
18917
18918 2005-08-25  Wim Taymans  <wim@fluendo.com>
18919
18920         * gst/gstbin.c: (bin_bus_handler):
18921         Be a bit more conservative about the posted message.
18922         
18923         * gst/gstbus.c: (gst_bus_post):
18924         Some cleanups, warn wrong return values.
18925
18926 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
18927
18928         * check/gst/gstbin.c: (GST_START_TEST):
18929         * gst/gstbin.c: (bin_bus_handler):
18930         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18931         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18932         (gst_message_new_warning), (gst_message_new_tag),
18933         (gst_message_new_state_changed), (gst_message_new_segment_start),
18934         (gst_message_new_segment_done), (gst_message_new_custom):
18935         * gst/gstmessage.h:
18936         * tools/gst-launch.c: (event_loop):
18937         * tools/gst-md5sum.c: (event_loop):
18938           Revert unpopular change for GST_MESSAGE_SRC to GObject.
18939
18940 2005-08-25  Wim Taymans  <wim@fluendo.com>
18941
18942         * check/generic/states.c: (GST_START_TEST):
18943         Cleanup can be done at the end.
18944
18945         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18946         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18947         (gst_task_get_state), (gst_task_start), (gst_task_pause):
18948         Oh boy.. Thanks for finding this, Thomas. 
18949
18950 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18951
18952         * docs/gst/gstreamer.types:
18953           added missing types
18954
18955 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18956
18957         * docs/gst/gstreamer-docs.sgml:
18958         * docs/gst/gstreamer-sections.txt:
18959         * docs/gst/tmpl/.cvsignore:
18960         * gst/gstbin.c:
18961         * gst/gstiterator.c:
18962         * gst/gstutils.c:
18963         * gst/registries/gstxmlregistry.h:
18964           added missing classes and symbols (123 more to go)
18965           removed removed symbols from section file
18966           fixed many doc-comments
18967
18968 2005-08-24  Wim Taymans  <wim@fluendo.com>
18969
18970         * check/generic/states.c: (GST_START_TEST):
18971         Make sure all tasks are stopped.
18972
18973         * check/gst/gstbin.c: (GST_START_TEST):
18974         Unref after usage for proper valgrinding.
18975
18976         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18977         Really wait for the task to stop before destroying the
18978         mutex.
18979
18980         * gst/gstqueue.c: (gst_queue_sink_activate_push),
18981         (gst_queue_src_activate_push):
18982         Small cleanups. Don't stop the task when we did not start
18983         it.
18984
18985         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18986         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18987         (gst_task_get_state), (gst_task_start), (gst_task_pause),
18988         (gst_task_join):
18989         * gst/gsttask.h:
18990         Protect the stream lock with the object lock.
18991         Disallow setting the stream lock when running.
18992         Add cleanup_all to wait for the threadpool to finish.
18993         Remove code to autoallocate a mutex if none was provided.
18994         Add _join() to wait for a task to stop.
18995         Protect the thread pool with a global lock.
18996
18997 2005-08-24  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19000         (gst_base_sink_get_times), (gst_base_sink_do_sync),
19001         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19002         * gst/base/gstbasesink.h:
19003         Handle newsegment events correctly.
19004         Drop buffers out of the segment range.
19005
19006 2005-08-22  Andy Wingo  <wingo@pobox.com>
19007
19008         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19009         macro, implements an interface and gstimplementsinterface for a
19010         new type.
19011
19012 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19013
19014         * check/Makefile.am:
19015         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19016           add a test that does a bunch of state changes on elements
19017           needs some fixing for valgrind
19018         * check/states/sinks.c: (gst_object_suite):
19019           whitespace
19020         * gst/gstcaps.h:
19021           add prototype for gst_caps_is_equal_fixed
19022         * gst/gstplugin.c:
19023         * gst/gstregistrypool.c:
19024           doc fixes
19025
19026 2005-08-24  Andy Wingo  <wingo@pobox.com>
19027
19028         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19029         convert a negative value. Doesn't make much sense. Mostly this is
19030         here to force callers to ensure -1 maps to -1.
19031
19032 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19033
19034         * docs/pwg/advanced-types.xml:
19035           Well done to Michael for catching my deliberate introduction
19036           of this spelling mistake. 
19037         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19038         * gst/gstelement.h:
19039           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19040           unlink pads before removing the element from the bin.
19041
19042 2005-08-24  Andy Wingo  <wingo@pobox.com>
19043
19044         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19045         the same thing as GST_DEBUG=*:4.
19046         (parse_debug_level, parse_debug_category): New helper parsers.
19047
19048 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19049
19050         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19051         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19052         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19053         (gst_base_transform_buffer_alloc),
19054         (gst_base_transform_handle_buffer):
19055           use gboolean return values and pointers to size so we can use the
19056           full GST_BUFFER_SIZE range (guint) for buffer sizes
19057           use GstPadDirection for transform_caps
19058         * gst/base/gstbasetransform.h:
19059           rename get_size to get_unit_size since that's what it is
19060         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19061           use GstPadDirection for transform_caps
19062         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19063         * gst/gstutils.h:
19064           cleanup and debugging
19065
19066 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19067
19068         * gst/gstelement.c: (gst_element_class_init),
19069         (gst_element_set_state), (activate_pads),
19070         (gst_element_save_thyself):
19071         * tools/gst-compprep.c: (main):
19072         * tools/gst-inspect.c: (print_element_properties_info):
19073         * tools/gst-xmlinspect.c: (print_element_properties):
19074           Fixed long standing mem-leak
19075
19076 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19077
19078         * check/gst/gstbin.c: (GST_START_TEST):
19079         * gst/gstbin.c: (bin_bus_handler):
19080         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19081         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19082         (gst_message_new_warning), (gst_message_new_tag),
19083         (gst_message_new_state_changed), (gst_message_new_segment_start),
19084         (gst_message_new_segment_done), (gst_message_new_custom):
19085         * gst/gstmessage.h:
19086         * tools/gst-launch.c: (event_loop):
19087         * tools/gst-md5sum.c: (event_loop):
19088           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19089           that applications can sensibly post custom messages with references
19090           to their own objects.
19091
19092 2005-08-24  Andy Wingo  <wingo@pobox.com>
19093
19094         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19095         already.
19096
19097 2005-08-24  Wim Taymans  <wim@fluendo.com>
19098
19099         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19100         (gst_base_transform_transform_caps),
19101         (gst_base_transform_transform_size),
19102         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19103         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19104         (gst_base_transform_handle_buffer):
19105         * gst/base/gstbasetransform.h:
19106         Many fixes and new features added by Thomas. Can now also do
19107         transforms with variable sizes and a custom fixate_caps function.
19108
19109 2005-08-24  Wim Taymans  <wim@fluendo.com>
19110
19111         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19112         Some debugging.
19113
19114         * gst/gstclock.h:
19115         Cast to ClockTime before formatting to time.
19116
19117         * gst/gstutils.h:
19118         Cleanups.
19119
19120 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19121
19122         * check/gst-libs/controller.c: (GST_START_TEST),
19123         (gst_controller_suite):
19124         * docs/gst/tmpl/gstcaps.sgml:
19125         * docs/gst/tmpl/gstghostpad.sgml:
19126         * docs/gst/tmpl/gstquery.sgml:
19127         * docs/gst/tmpl/gstutils.sgml:
19128         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19129         (gst_object_sink_values), (gst_object_get_value_arrays),
19130         (gst_object_get_value_array):
19131           gracefully handle helper method calls to objects that are not beeing
19132           controlled, added test case for that          
19133
19134 2005-08-23  Wim Taymans  <wim@fluendo.com>
19135
19136         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19137         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19138         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19139         (gst_event_parse_qos), (gst_event_new_seek),
19140         (gst_event_parse_seek):
19141         * gst/gstevent.h:
19142         Some more debugging output and doc cleanups.
19143
19144         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19145         Fix possible deadlock.
19146
19147 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19148
19149         * docs/gst/gstreamer-docs.sgml:
19150         * docs/gst/gstreamer-sections.txt:
19151         * docs/gst/gstreamer.types:
19152         * docs/gst/tmpl/.cvsignore:
19153         * gst/gstbin.h:
19154         * gst/gstbus.c:
19155         * gst/gstelement.c:
19156         * gst/gstevent.h:
19157           added 100 symbols from gstreamer-unused.txt to the right sections
19158           fixed more broken comments
19159           added GstBus to docs
19160
19161 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19162
19163         * docs/gst/gstreamer-sections.txt:
19164         * docs/gst/tmpl/.cvsignore:
19165         * docs/gst/tmpl/gstbin.sgml:
19166         * docs/gst/tmpl/gstbuffer.sgml:
19167         * gst/base/gstbasesrc.c:
19168         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19169         * gst/gstbuffer.c:
19170         * gst/gstbuffer.h:
19171         * tools/gst-launch.1.in:
19172           inlined more doc comments, added missing comments and fixed comments
19173           fixed typos
19174
19175 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19176
19177         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19178           some debugging
19179         * gst/gstcaps.h:
19180           whitespace fixes
19181         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19182           more debugging
19183         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19184         * gst/gststructure.h:
19185           add a fixate function for booleans; add a FIXME that these func
19186           names should probably be gst_structure_fixate_*
19187
19188 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19189
19190         * docs/gst/gstreamer-docs.sgml:
19191         * docs/gst/gstreamer-sections.txt:
19192         * gst/Makefile.am:
19193         * gst/gstbin.c: (gst_bin_get_type),
19194         (gst_bin_child_proxy_get_child_by_index),
19195         (gst_bin_child_proxy_get_children_count),
19196         (gst_bin_child_proxy_init):
19197         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19198         (gst_child_proxy_get_child_by_index),
19199         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19200         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19201         (gst_child_proxy_get), (gst_child_proxy_set_property),
19202         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19203         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19204         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19205         * gst/gstchildproxy.h:
19206         * gst/parse/grammar.y:
19207         * tools/gst-inspect.c: (print_interfaces),
19208         (print_element_properties_info), (print_element_info):
19209           ported gstchildproxy over from 0.8
19210           ported gst-inspect fixes and enhancements over from 0.8
19211
19212 2005-08-22  Wim Taymans  <wim@fluendo.com>
19213
19214         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19215         (gst_base_transform_handle_buffer):
19216         Also call the transform function if we have ANY caps.
19217
19218         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19219         Fix debug info.
19220
19221 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19222
19223         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19224           Don't pretend to handle seek events if the source is not seekable
19225
19226 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19227
19228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19229           Remove extra parameter to debug output
19230
19231         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19232         (gst_base_src_do_seek), (gst_base_src_activate_push):
19233           Fix seek event handling.
19234
19235         * gst/gstpipeline.c: (gst_pipeline_change_state):
19236         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19237         (gst_queue_src_activate_push):
19238           Don't start the src pad task on FLUSH_STOP if the pad
19239           isn't linked.
19240           Debug changes.
19241
19242 2005-08-22  Wim Taymans  <wim@fluendo.com>
19243
19244         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19245         Added check for gst_static_caps_get() refcounting.
19246
19247 2005-08-22  Wim Taymans  <wim@fluendo.com>
19248
19249         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19250         Make _static_caps_get() refcounting sane.
19251         
19252         * gst/gstelement.c: (gst_element_set_state):
19253         Add g_return_val_if_fail() to protect against segfaults.
19254
19255 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19256
19257         * docs/gst/tmpl/gstevent.sgml:
19258         * gst/gstevent.c:
19259         * gst/gstevent.h:
19260           inlined remaining docs, added missing doc comments
19261
19262 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19263
19264         * check/gst/gstbin.c: (GST_START_TEST):
19265           since we don't know when preroll is done, use refcount range
19266           check for the sink
19267         * gst/check/gstcheck.h:
19268           add macro for checking refcount range
19269
19270 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19271
19272         * check/Makefile.am:
19273           clean up environment for when registry gets built versus
19274           when actual tests are run; valgrind seems to not report
19275           leaks if GST_PLUGIN_PATH is set to some specific values
19276         * check/gst/gstbin.c: (GST_START_TEST):
19277           add more refcounting checks; maybe this exposes a
19278           preroll lock bug ?
19279         * common/check.mak:
19280         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19281         * gst/check/gstcheck.h:
19282         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19283         (gst_bin_change_state):
19284         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19285           add/fix debugging/whitespace
19286
19287 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19288
19289         * check/gst/gstevent.c: (event_probe), (test_event),
19290         (GST_START_TEST):
19291          Er, don't call gst_bin_watch_for_state_change you idiot.
19292
19293 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19294
19295         * check/Makefile.am:
19296           Use CHECK_CFLAGS and CHECK_LIBS
19297         * check/gst/gstevent.c: (event_probe), (test_event),
19298         (GST_START_TEST):
19299           Don't leak events.
19300         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19301         (gst_base_src_start), (gst_base_src_stop),
19302         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19303         (gst_base_src_change_state):
19304           Sprinkle gst_base_src_stop liberally around error paths to fix
19305           problems reusing a source after failed state changes.
19306         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19307         (helper_find_suggest), (gst_type_find_helper):
19308           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19309         * gst/gstevent.h:
19310         * docs/gst/tmpl/gstevent.sgml:
19311           Migrate part of the docs from the SGML file. Wait for ensonic to
19312           tell me how I did it wrong ;)
19313         * tools/gst-typefind.c: (main):
19314           Extra robustness to state changes between files.
19315
19316 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19317
19318         * check/Makefile.am:
19319           don't valgrind the controller test - it's leaking - Stefan, HELP
19320         * gst/check/gstcheck.c: (gst_check_message_error),
19321         (gst_check_chain_func), (gst_check_setup_element),
19322         (gst_check_teardown_element), (gst_check_setup_src_pad),
19323         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19324         (gst_check_teardown_sink_pad):
19325         * gst/check/gstcheck.h:
19326           add a bunch of methods to set up elements, and src and sink pads
19327         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19328         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19329         (GST_START_TEST):
19330           use them
19331         * gst/gstmessage.c:
19332         * gst/gsttag.h:
19333           whitespace/doc fixes
19334
19335 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19336
19337         * gst/gstelement.h:
19338           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19339           be handled by the application and not always printed as well
19340
19341 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19342
19343         * check/Makefile.am:
19344           set GST_TOOLS_DIR
19345         * gst/check/gstcheck.c: (gst_check_message_error):
19346         * gst/check/gstcheck.h:
19347           add a fail_unless_equals_int
19348           add fail_unless for error messages
19349
19350 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19351
19352         * check/Makefile.am:
19353         * check/gst.supp:
19354         * common/Makefile.am:
19355         * common/check.mak:
19356         * common/gst.supp:
19357           factor out some of the common stuff so we can use it
19358
19359 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19360
19361         * check/Makefile.am:
19362         * check/gst/gstiterator.c: (GST_START_TEST):
19363         * check/gst/gstsystemclock.c: (GST_START_TEST),
19364         (gst_systemclock_suite):
19365         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19366         * gst/gstclock.c:
19367           valgrind more tests
19368
19369 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19370
19371         * check/elements/.cvsignore:
19372         * check/elements/gstfakesrc.c:
19373           rename to name of element
19374         * check/elements/identity.c: (chain_func), (event_func),
19375         (setup_identity), (cleanup_identity), (GST_START_TEST),
19376         (identity_suite), (main):
19377           add a test for identity
19378         * check/Makefile.am:
19379         * pkgconfig/Makefile.am:
19380         * pkgconfig/gstreamer-check.pc.in:
19381         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19382         * gst/check:
19383         * gst/Makefile.am:
19384         * configure.ac:
19385           move the check stuff to a library that gets installed
19386         * check/gst-libs/controller.c: (GST_START_TEST):
19387         * check/gst-libs/gdp.c:
19388         * check/gst/gst.c: (GST_START_TEST):
19389         * check/gst/gstbin.c:
19390         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19391         * check/gst/gstbus.c:
19392         * check/gst/gstcaps.c: (GST_START_TEST):
19393         * check/gst/gstelement.c:
19394         * check/gst/gstghostpad.c:
19395         * check/gst/gstiterator.c:
19396         * check/gst/gstmessage.c:
19397         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19398         * check/gst/gstobject.c:
19399         * check/gst/gstpad.c: (GST_START_TEST):
19400         * check/gst/gststructure.c: (GST_START_TEST):
19401         * check/gst/gstsystemclock.c: (GST_START_TEST),
19402         (gst_systemclock_suite):
19403         * check/gst/gsttag.c: (gst_tag_suite):
19404         * check/gst/gstvalue.c:
19405         * check/pipelines/cleanup.c:
19406         * check/pipelines/simple_launch_lines.c:
19407         * check/states/sinks.c:
19408           change include statement
19409
19410         * docs/gst/gstreamer-sections.txt:
19411         * docs/gst/tmpl/gstpad.sgml:
19412           document more pad stuff
19413         * gst/gstminiobject.c: (gst_mini_object_ref),
19414         (gst_mini_object_unref):
19415           debug refcounting
19416
19417 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19418
19419         * docs/gst/tmpl/gst.sgml:
19420         * gst/gst.c:
19421           eliminate another tmpl file, fix spelling in the long-description
19422
19423 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19424
19425         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19426         (test_event), (timediff), (gstevents_suite):
19427           Should fix build on 64-bit arch's
19428
19429 2005-08-18  Andy Wingo  <wingo@pobox.com>
19430
19431         Make sure that when a pipeline goes to PLAYING, that data has
19432         actually hit the sink.
19433
19434         * check/states/sinks.c (test_sink): A sink that doesn't get any
19435         data shouldn't return SUCCESS for going to either PLAYING or
19436         PAUSED. Test also the return values on the way back down.
19437
19438         * gst/gstelement.c (gst_element_set_state): When changing the
19439         state of an element currently changing state asynchronously, go to
19440         lost-state after commiting the pending state. Makes future calls
19441         to get_state continue to return ASYNC.
19442
19443         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19444         ASYNC when going to PLAYING if we still don't have preroll, as can
19445         happen with live sources.
19446
19447 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19448
19449         * docs/pwg/advanced-types.xml:
19450           Hack long paragraph into 2 chunks as a workaround for buggy
19451           jadetex version in sid and breezy that loops infinitely and
19452           eats all RAM.
19453
19454 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19455
19456         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19457         (test_event), (timediff), (gstevents_suite):
19458           Provide more error margin in clock measurements to allow for 
19459           g_get_current_time inaccuracies.
19460
19461 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19462
19463         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19464         (test_event), (timediff), (gstevents_suite):
19465            Fix error message output so I might be able to tell why the
19466            test works here but fails on the build farm.
19467
19468 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19469
19470         * check/Makefile.am:
19471         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19472         (test_event), (timediff), (gstevents_suite), (main):
19473           I wrote a test!
19474
19475         * docs/design/part-seeking.txt:
19476           Spelling correction
19477
19478         * docs/gst/tmpl/gstevent.sgml:
19479         * docs/gst/tmpl/gstfakesrc.sgml:
19480           Docs updates.
19481
19482         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19483           Treat a buffer-without-newsegment the same as a receiving 
19484           a newsegment not in time format, and disable syncing to the clock
19485           with a warning.
19486
19487         * gst/gstbus.c: (gst_bus_set_sync_handler):
19488           Assert if anyone tries to replace the existing sync_handler for bus, 
19489           as only the owner should be setting it.
19490
19491         * gst/gstevent.h:
19492           Have a fixed set of custom event enums with events identified by
19493           their structure name (as in 0.8), rather than a free-for-all
19494           allowing collisions between enum values from different plugins.
19495
19496         * gst/gstpad.c: (gst_pad_class_init):
19497           Docs change.
19498           
19499         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19500           Handle out-of-band downstream events from the sending thread.
19501
19502 2005-08-17  Andy Wingo  <wingo@pobox.com>
19503
19504         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19505         play-timeout==0 to mean no timeout at all. In that case, don't
19506         bother with a get_state or a warning, just return directly, even
19507         if it's ASYNC.
19508
19509         * gst/base/gstbasetransform.c: Debug changes.
19510
19511         * gst/gstutils.h:
19512         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19513         ensure bins post state change messages. A bit of a hack but I can't
19514         think of a way to avoid it.
19515
19516         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19517
19518 2005-08-16  Andy Wingo  <wingo@pobox.com>
19519
19520         * gst/base/gstadapter.h:
19521         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19522         peek() but you own the data. Not terribly efficient atm.
19523
19524 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19525
19526         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19527         (gst_element_found_tags):
19528         * gst/gstutils.h:
19529           Add two utility functions for tag handling.
19530
19531 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19532
19533         * docs/manual/advanced-dataaccess.xml:
19534         * docs/manual/basics-helloworld.xml:
19535           Fix docs to use _bin_add() before _link(), which fixes the examples
19536           with recent core versions (reported by Madhan Raj M
19537           <raj_madan@rediffmail.com>, #313199).
19538
19539 2005-08-16  Wim Taymans  <wim@fluendo.com>
19540
19541         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19542         Added subtract checks.
19543
19544         * docs/design/part-events.txt:
19545         Some more docs about newsegment
19546
19547         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19548         Fix FIXME
19549
19550         * gst/gstcaps.c: (gst_caps_to_string):
19551         Add comments, cleanups.
19552         
19553         * gst/gstelement.c: (gst_element_save_thyself):
19554         cleanups
19555         
19556         * gst/gstvalue.c: (gst_value_collect_int_range),
19557         (gst_string_unwrap), (gst_value_union_int_int_range),
19558         (gst_value_union_int_range_int_range),
19559         (gst_value_intersect_int_int_range),
19560         (gst_value_intersect_int_range_int_range),
19561         (gst_value_intersect_double_double_range),
19562         (gst_value_intersect_double_range_double_range),
19563         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19564         (gst_value_subtract_int_range_int),
19565         (gst_value_subtract_double_range_double),
19566         (gst_value_subtract_double_range_double_range),
19567         (gst_value_subtract_from_list), (gst_value_subtract_list),
19568         (gst_value_can_compare), (gst_value_compare_fraction):
19569         Cleanups, add comments, remove unneeded asserts.
19570
19571 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19572
19573         * tools/gst-launch.c: (event_loop):
19574           don't convert NULL structures to strings
19575
19576 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19577
19578         * docs/gst/gstreamer-sections.txt:
19579           made some defines private
19580         * docs/gst/tmpl/gstconfig.sgml:
19581         * docs/gst/tmpl/gstqueue.sgml:
19582         * docs/gst/tmpl/gsttaglist.sgml:
19583         * docs/gst/tmpl/gsttypes.sgml:
19584         * docs/gst/tmpl/gstutils.sgml:
19585         * docs/pwg/appendix-porting.xml:
19586         * gst/base/gstbasesink.h:
19587         * gst/base/gstbasesrc.c:
19588         * gst/base/gstbasesrc.h:
19589         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19590         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19591         * gst/gstelement.c: (gst_element_class_init):
19592         * gst/gstpad.c: (gst_pad_class_init):
19593         * gst/gstqueue.c: (gst_queue_class_init):
19594         * gst/gstxml.c: (gst_xml_class_init):
19595           documented all undocumented signal inline
19596         * libs/gst/controller/gst-controller.h:
19597           added padding
19598
19599 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19600
19601         * docs/pwg/appendix-porting.xml:
19602           Document _set_link_function -> _set_setcaps_function.
19603
19604 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19605
19606         * check/Makefile.am:
19607           add a .check target for running the check
19608         * check/gst-libs/controller.c: (GST_START_TEST):
19609           cosmetic fixups
19610         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19611           complete checks for gstbuffer; would be nice if I could get the
19612           gcov stuff to work so I can see if I actually completed gstbuffer.c
19613         * check/gstcheck.h:
19614           add ASSERT_BUFFER_REFCOUNT
19615
19616 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19617
19618         * docs/gst/gstreamer-sections.txt:
19619         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19620         * gst/gsttag.h:
19621           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19622           spew out a warning if a tag that is already registered
19623           is re-registered, unless it is re-registered with a 
19624           different type (#308438).
19625
19626 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19627
19628         * docs/pwg/appendix-porting.xml:
19629         * docs/pwg/building-state.xml:
19630           Add some paragraphs about state changes in 0.9 to the PWG
19631           and the porting guide, in particular about the new meaning
19632           of GST_STATE_PAUSED and how to write state change functions
19633           with concurrent access by multiple threads in mind.
19634
19635 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19636
19637         * docs/gst/gstreamer-docs.sgml:
19638         * docs/libs/gstreamer-libs-docs.sgml:
19639           added deprecation and since indexes
19640         * libs/gst/controller/gst-controller.c:
19641         * libs/gst/controller/gst-helper.c:
19642           added since tags
19643
19644
19645 2005-08-11  Wim Taymans  <wim@fluendo.com>
19646
19647         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19648         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19649         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19650         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19651         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19652         (gst_ghost_pad_set_target):
19653         Actually implement (re)setting the target on a ghostpad
19654         as described in the docs.
19655
19656 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19657
19658         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19659           Check whether GST_DEBUG_NO_COLOR environment variable is
19660           set and disable coloured debug output if that is the case.
19661
19662 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19663
19664         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19665         (gst_type_find_helper):
19666           The memory returned by gst_type_find_peek() needs to
19667           stay valid until the end of a typefind function, and
19668           typefind functions may keep results from different 
19669           offsets around, so we can't just unref the buffer from
19670           the previous _peek(), but have to save all buffers 
19671           returned by _peek() until typefinding is done and only
19672           free them then.
19673
19674 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19675
19676         * docs/gst/gstreamer-sections.txt:
19677         * gst/gstutils.h:
19678           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19679
19680 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19681
19682         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19683           Fix a pretty good memleak.
19684
19685 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19686
19687         * gst/gstiterator.h:
19688           Fix wrong include and 'make distcheck'.
19689
19690 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19691
19692         * gst/gstbin.c: (bin_bus_handler):
19693           Use gst_element_post_message() instead.
19694
19695 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19696
19697         * gst/base/gstadapter.h:
19698         * gst/base/gstbasesink.h:
19699         * gst/base/gstbasesrc.h:
19700         * gst/base/gstbasetransform.h:
19701         * gst/base/gstcollectpads.h:
19702         * gst/base/gstpushsrc.h:
19703         * gst/gstiterator.h:
19704           Add padding to our base elements' class and instance structs and
19705           to GstIterator (you will need to rebuild all plugins and apps!)
19706
19707 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19708
19709         * gst/gstbin.c: (bin_bus_handler):
19710           Make default message forwarding from child->bus to bin->bus
19711           threadsafe and make it not emit warnings if the parent has no bus.
19712
19713 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19714
19715         * gst/gstelement.c: (activate_pads):
19716           On paused->ready, set pad->caps to NULL, as is the documented
19717           behaviour in this state change. Fixes playback of series of
19718           media files when visualization is enabled in Totem.
19719
19720 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19721
19722         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19723           Allow NULL as filter-caps (which means "any").
19724
19725 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19726
19727         * docs/libs/gstreamer-libs-sections.txt:
19728         * libs/gst/controller/gst-controller.c:
19729         * libs/gst/controller/gst-controller.h:
19730         * libs/gst/controller/gst-helper.c:
19731           adding more entries to the docs and fix small doc-bugs
19732
19733 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19734
19735         * docs/gst/gstreamer-docs.sgml:
19736         * docs/gst/gstreamer-sections.txt:
19737         * docs/gst/gstreamer.types:
19738         * docs/gst/tmpl/gstbasesink.sgml:
19739         * docs/gst/tmpl/gstbasesrc.sgml:
19740         * docs/gst/tmpl/gstbasetransform.sgml:
19741         * docs/gst/tmpl/gstfakesrc.sgml:
19742         * gst/base/gstcollectpads.c:
19743         * gst/base/gstcollectpads.h:
19744         * libs/gst/controller/gst-controller.c:
19745         * libs/gst/controller/gst-controller.h:
19746         * libs/gst/controller/gst-helper.c:
19747         * libs/gst/controller/gst-interpolation.c:
19748         * libs/gst/controller/lib.c:
19749           added long/short desc for controller docs
19750           added collectpads base class docs
19751           added correct includes to base-class docs
19752
19753 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19754
19755         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19756         (gst_test_mono_source_set_property),
19757         (gst_test_mono_source_class_init), (GST_START_TEST),
19758         (gst_controller_suite):
19759         * docs/gst/gstreamer-docs.sgml:
19760         * docs/gst/gstreamer-sections.txt:
19761         * docs/gst/gstreamer.types:
19762         * docs/libs/gstreamer-libs-docs.sgml:
19763         * docs/libs/gstreamer-libs-sections.txt:
19764         * gst/base/gstadapter.c:
19765         * libs/gst/controller/gst-controller.c:
19766         (gst_controlled_property_new), (gst_controlled_property_free),
19767         (gst_controller_new_valist),
19768         (gst_controller_remove_properties_valist),
19769         (gst_controller_sink_values), (_gst_controller_finalize):
19770         * libs/gst/controller/gst-controller.h:
19771         * libs/gst/controller/gst-helper.c:
19772         (gst_object_control_properties), (gst_object_uncontrol_properties),
19773         (gst_object_get_controller), (gst_object_set_controller),
19774         (gst_object_sink_values), (gst_object_get_value_arrays),
19775         (gst_object_get_value_array):
19776           more tests (and fixes) for the controller
19777           more docs for the controller
19778           integrated companies docs for the adapter 
19779
19780 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19781
19782         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19783         (GST_START_TEST), (fakesrc_suite):
19784           add tests for sizetype
19785
19786 2005-08-04  Andy Wingo  <wingo@pobox.com>
19787
19788         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19789         fixes buffer_alloc proxying among other things.
19790
19791         * gst/base/gstbasetransform.c:
19792         * gst/base/gstbasetransform.h:
19793         Revert patch to gstbasetransform from 7-28 removing
19794         delay_configure.
19795
19796         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19797         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19798         Semantics changed, should return not the size of the output buffer
19799         but the byte size of a buffer with a given caps.
19800
19801         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19802         debug object.
19803         (gst_base_transform_configure_caps): Don't set out_size here: (in,
19804         out) are not the pad caps until setcaps finishes.
19805         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19806         not-in-place case as well. Deal with changing from in-place to
19807         not-in-place within calling pad_alloc_buffer. Still a bit
19808         concerned about the overhead here...
19809
19810 2005-08-03  Andy Wingo  <wingo@pobox.com>
19811
19812         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19813         fixating is an error.
19814
19815 2005-08-04  Edward Hervey  <edward@fluendo.com>
19816
19817         * gst/base/gstadapter.h: 
19818         Added gst_adapter_get_type() to the header
19819
19820 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19821
19822         * check/Makefile.am:
19823         * check/gst-libs/controller.c:
19824         * libs/gst/controller/gst-controller.c:
19825         (gst_controller_new_valist):
19826           added check test suite for the controller
19827         * gst/base/gstpushsrc.c:
19828           fixed a doc typo
19829
19830 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19831
19832         * docs/gst/Makefile.am:
19833         * docs/gst/gstreamer-docs.sgml:
19834         * docs/gst/gstreamer-sections.txt:
19835         * docs/gst/gstreamer.types:
19836         * docs/gst/tmpl/gstfakesrc.sgml:
19837         * gst/base/README:
19838         * gst/base/gstbasesink.c:
19839         * gst/base/gstbasesink.h:
19840         * gst/base/gstbasesrc.c:
19841         * gst/base/gstbasesrc.h:
19842         * gst/base/gstbasetransform.c:
19843         * gst/base/gstpushsrc.c:
19844         * gst/base/gstpushsrc.h:
19845           add short/long description docs to base classes
19846           add pushsrc to the docs
19847           remove consolidated doc fragments
19848
19849 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19850
19851         * configure.ac:
19852         * docs/libs/Makefile.am:
19853         * docs/libs/gstreamer-libs-docs.sgml:
19854         * docs/libs/gstreamer-libs-sections.txt:
19855         * docs/libs/gstreamer-libs.types:
19856         * examples/Makefile.am:
19857         * examples/controller/.cvsignore:
19858         * examples/controller/Makefile.am:
19859         * examples/controller/audio-example.c: (main):
19860         * libs/gst/Makefile.am:
19861         * libs/gst/controller/.cvsignore:
19862         * libs/gst/controller/Makefile.am:
19863         * libs/gst/controller/gst-controller.c:
19864         (on_object_controlled_property_changed), (gst_timed_value_compare),
19865         (gst_timed_value_find),
19866         (gst_controlled_property_set_interpolation_mode),
19867         (gst_controlled_property_new), (gst_controlled_property_free),
19868         (gst_controller_find_controlled_property),
19869         (gst_controller_new_valist), (gst_controller_new),
19870         (gst_controller_remove_properties_valist),
19871         (gst_controller_remove_properties), (gst_controller_set),
19872         (gst_controller_set_from_list), (gst_controller_unset),
19873         (gst_controller_get), (gst_controller_get_all),
19874         (gst_controller_sink_values), (gst_controller_get_value_arrays),
19875         (gst_controller_get_value_array),
19876         (gst_controller_set_interpolation_mode),
19877         (_gst_controller_finalize), (_gst_controller_init),
19878         (_gst_controller_class_init), (gst_controller_get_type):
19879         * libs/gst/controller/gst-controller.h:
19880         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19881         (g_object_uncontrol_properties), (g_object_get_controller),
19882         (g_object_set_controller), (g_object_sink_values),
19883         (g_object_get_value_arrays), (g_object_get_value_array):
19884         * libs/gst/controller/gst-interpolation.c:
19885         (gst_controlled_property_find_timed_value_node),
19886         (interpolate_none_get), (interpolate_trigger_get),
19887         (interpolate_trigger_get_value_array):
19888         * libs/gst/controller/lib.c: (gst_controller_init):
19889         * pkgconfig/Makefile.am:
19890         * pkgconfig/gstreamer-control-uninstalled.pc.in:
19891         * pkgconfig/gstreamer-control.pc.in:
19892         * testsuite/Makefile.am:
19893         * testsuite/controller/.cvsignore:
19894         * testsuite/controller/Makefile.am:
19895         * testsuite/controller/interpolator.c: (main):
19896           added controller code
19897           removed dparam pc files
19898
19899 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19900         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19901         (gst_collectpads_stop):
19902           Broadcast the condition when shutting down, to make sure we wake all
19903           threads up. Shut down pads on finalize, for safety.
19904
19905 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19906         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19907         (gst_base_transform_handle_buffer),
19908         (gst_base_transform_change_state):
19909           Handle PAUSED->READY->PAUSED transition after negotiation
19910           occurred already.
19911         * gst/gstmessage.c: (gst_message_init):
19912           Extra piece of debug for new messages.
19913
19914 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
19915
19916         * configure.ac:
19917         * docs/gst/tmpl/gstbasesrc.sgml:
19918         * docs/gst/tmpl/gstelement.sgml:
19919         * docs/gst/tmpl/gstevent.sgml:
19920         * docs/gst/tmpl/gstfakesrc.sgml:
19921         * docs/gst/tmpl/gstformat.sgml:
19922         * docs/gst/tmpl/gstghostpad.sgml:
19923         * docs/gst/tmpl/gstpad.sgml:
19924         * docs/gst/tmpl/gstquery.sgml:
19925         * docs/gst/tmpl/gststructure.sgml:
19926         * docs/gst/tmpl/gsttaglist.sgml:
19927         * docs/gst/tmpl/gstvalue.sgml:
19928         * docs/libs/gstreamer-libs-docs.sgml:
19929         * docs/libs/gstreamer-libs-sections.txt:
19930         * docs/libs/gstreamer-libs.types:
19931         * libs/gst/Makefile.am:
19932         * libs/gst/control/.cvsignore:
19933         * libs/gst/control/Makefile.am:
19934         * libs/gst/control/control.c:
19935         * libs/gst/control/control.h:
19936         * libs/gst/control/dparam.c:
19937         * libs/gst/control/dparam.h:
19938         * libs/gst/control/dparam_smooth.c:
19939         * libs/gst/control/dparam_smooth.h:
19940         * libs/gst/control/dparamcommon.h:
19941         * libs/gst/control/dparammanager.c:
19942         * libs/gst/control/dparammanager.h:
19943         * libs/gst/control/dplinearinterp.c:
19944         * libs/gst/control/dplinearinterp.h:
19945         * libs/gst/control/unitconvert.c:
19946         * libs/gst/control/unitconvert.h:
19947         * testsuite/Makefile.am:
19948         * testsuite/dynparams/.cvsignore:
19949         * testsuite/dynparams/Makefile.am:
19950         * testsuite/dynparams/dparamstest.c:
19951         * tools/Makefile.am:
19952         * tools/gst-inspect.c: (print_element_info), (main):
19953         * tools/gst-xmlinspect.c: (print_element_info), (main):
19954           deactivate and remove dparams (libgstcontrol)
19955
19956 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19957
19958         * gst/elements/gsttypefindelement.c:
19959         (gst_type_find_element_have_type), (gst_type_find_element_init),
19960         (stop_typefinding), (gst_type_find_element_handle_event),
19961         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19962         * gst/elements/gsttypefindelement.h:
19963           Set caps on all outgoing buffers, not just the first one.
19964
19965 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19966
19967         * gst/elements/gsttypefindelement.c:
19968         (gst_type_find_element_have_type),
19969         (gst_type_find_element_check_set_buffer_caps),
19970         (gst_type_find_element_init), (stop_typefinding),
19971         (gst_type_find_element_handle_event),
19972         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19973         * gst/elements/gsttypefindelement.h:
19974           Set caps on first outgoing buffer when we've found the type.
19975
19976 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19977
19978         * docs/gst/gstreamer-docs.sgml:
19979         * docs/gst/gstreamer-sections.txt:
19980         * docs/gst/tmpl/gstscheduler.sgml:
19981         * docs/gst/tmpl/gstschedulerfactory.sgml:
19982           Remove some old cruft from docs.
19983
19984 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
19985
19986         * gst/gstpad.h:
19987           Fix inline docs for GstPadLinkReturn.
19988           
19989         * gst/gststructure.c: (gst_structure_has_name):
19990         * gst/gststructure.h:
19991         * docs/gst/gstreamer-sections.txt:
19992           New API: gst_structure_has_name().
19993
19994 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
19995
19996         * configure.ac:
19997           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19998           and _LARGEFILE_SOURCE in config.h as required. Do not 
19999           export those flags in our .pc files any longer (#142209).
20000
20001           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20002
20003         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20004         (gst_file_sink_do_seek), (gst_file_sink_event),
20005         (gst_file_sink_get_current_offset), (gst_file_sink_render):
20006           Redo seek/tell calls with large file support in mind; add some
20007           debugging messages; add log message that tells us when large
20008           file support is unavailable or not enabled for some reason.
20009
20010         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20011           Add log message that tells us when large file support 
20012           is unavailable or not enabled for some reason.
20013
20014 2005-07-29  Wim Taymans  <wim@fluendo.com>
20015
20016         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20017         Added test for removing an element with ghostpad from a bin.
20018         Fixed test as current implementation does the right thing.
20019
20020         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20021         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20022         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20023         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20024         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20025         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20026         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20027         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20028         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20029         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20030         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20031         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20032         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20033         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20034         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20035         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20036         * gst/gstghostpad.h:
20037         Clean up ghostpads, remove properties for internal stuff.
20038         Make threadsafe.
20039         Fix refcounting.
20040         Prepare for switching targets, not all use cases work yet.
20041
20042 2005-07-29  Wim Taymans  <wim@fluendo.com>
20043
20044         * docs/design/part-gstghostpad.txt:
20045         Small update.
20046
20047         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20048         (gst_bin_remove_func):
20049         Unlinking pads while holding the bin LOCK is not a good
20050         idea.
20051
20052         * gst/gstpad.c: (gst_pad_class_init),
20053         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20054         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20055         No prob setting template after creating the pad.
20056
20057 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
20058
20059         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20060         (gst_bus_peek), (gst_bus_source_dispatch),
20061         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20062         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20063           gst_bus_poll may be called from other threads. Handle
20064           this nicely by not making poll_data disappear off the
20065           stack once gst_bus_poll returns.
20066           gst_bus_peek now increments the refcount on the returned
20067           message.
20068
20069 2005-07-29  Wim Taymans  <wim@fluendo.com>
20070
20071         * docs/design/part-gstghostpad.txt:
20072         Overview of current GhostPad datastructures and use
20073         cases for changing the target.
20074
20075 2005-07-28  Wim Taymans  <wim@fluendo.com>
20076
20077         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20078         Added checks for hierarchy consistency whan adding linked
20079         elements to bins.
20080
20081         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20082         Added check to test element scheduling without bin/pipeline.
20083
20084         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20085         First add elements to bin, then link.
20086         
20087         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20088         (gst_bin_remove_func):
20089         Unlink pads from elements added/removed from bin to maintain
20090         hierarchy consistency.
20091
20092 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20093
20094         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20095         (gst_base_transform_handle_buffer):
20096         * gst/base/gstbasetransform.h:
20097           Remove broken delay_configure (fixes renegotiation of software
20098           scaling pipelines); remove some leftover printf()s.
20099
20100 2005-07-28  Wim Taymans  <wim@fluendo.com>
20101
20102         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20103         Added some more tests for wrong hierarchy
20104
20105         * docs/design/part-overview.txt:
20106         Some updates.
20107
20108         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20109         Cleanups.
20110
20111         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20112         (gst_element_dispose):
20113         Some more cleanups.
20114
20115         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20116         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20117         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20118         (gst_pad_set_caps), (gst_pad_send_event):
20119         Check for correct hierarchy when linking pads. Moving to
20120         strict requirement for ghostpads when linking elements in
20121         different bins.
20122
20123         * gst/gstpad.h:
20124         Clean ups. Added WRONG_HIERARCHY return value.
20125
20126 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20127
20128         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20129           Better debug if no transform is possible.
20130
20131 2005-07-27  Wim Taymans  <wim@fluendo.com>
20132
20133         * docs/random/wtay/network-transp:
20134         Some old doc I had.
20135
20136 2005-07-27  Wim Taymans  <wim@fluendo.com>
20137
20138         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20139         (gst_dp_event_from_packet):
20140         Fix serialization of seek events.
20141
20142 2005-07-27  Wim Taymans  <wim@fluendo.com>
20143
20144         * check/gst-libs/gdp.c: (GST_START_TEST):
20145         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20146         Fix compilation and fix event serialization.
20147
20148 2005-07-27  Wim Taymans  <wim@fluendo.com>
20149
20150         * CHANGES-0.9:
20151         * docs/design/part-TODO.txt:
20152         * docs/design/part-events.txt:
20153         Some docs updates
20154
20155         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20156         (gst_base_sink_event), (gst_base_sink_do_sync),
20157         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20158         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20159         (gst_base_src_do_seek), (gst_base_src_event_handler),
20160         (gst_base_src_loop):
20161         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20162         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20163         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20164         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20165         (gst_base_transform_set_passthrough),
20166         (gst_base_transform_is_passthrough):
20167         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20168         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20169         Event updates.
20170
20171         * gst/gstbuffer.h:
20172         Use faster casts.
20173
20174         * gst/gstelement.c: (gst_element_seek):
20175         * gst/gstelement.h:
20176         Update gst_element_seek.
20177
20178         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20179         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20180         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20181         (gst_event_new_eos), (gst_event_new_newsegment),
20182         (gst_event_parse_newsegment), (gst_event_new_tag),
20183         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20184         (gst_event_parse_qos), (gst_event_new_seek),
20185         (gst_event_parse_seek), (gst_event_new_navigation):
20186         * gst/gstevent.h:
20187         Make GstEvent use GstStructure. Add parsing code, make sure the
20188         API is sufficiently generic.
20189         Mark possible directions of events and serialization.
20190
20191         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20192         (_gst_message_copy), (gst_message_new_segment_start),
20193         (gst_message_new_segment_done), (gst_message_new_custom),
20194         (gst_message_parse_segment_start),
20195         (gst_message_parse_segment_done):
20196         Small cleanups.
20197
20198         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20199         (gst_pad_set_caps), (gst_pad_send_event):
20200         Update for new events. 
20201         Catch events sent in wrong directions.
20202
20203         * gst/gstqueue.c: (gst_queue_link_src),
20204         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20205         (gst_queue_handle_src_query):
20206         Event updates.
20207
20208         * gst/gsttag.c:
20209         * gst/gsttag.h:
20210         Remove event code from this file.
20211
20212         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20213         (gst_dp_event_from_packet):
20214         Event updates.
20215
20216 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20217
20218         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20219         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20220         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20221           Make debugging actually useful.
20222
20223 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20224
20225         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20226         (gst_pad_fixate_caps):
20227           Implement default fixation once again, so that gst_pad_fixate()
20228           actually does anything at all. This probably needs to be some
20229           sort of a last resort, and use profile-based fixation first, but
20230           since that doesn't exist yet, this is the best we have. Fixes
20231           visualization in Totem.
20232
20233 2005-07-22  Wim Taymans  <wim@fluendo.com>
20234
20235         * docs/design/part-events.txt:
20236         Small update.
20237
20238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20239         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20240         (gst_base_sink_activate_pull):
20241         Some more comments.
20242
20243         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20244         (gst_fake_src_create):
20245         Fix handoff marshall.
20246
20247         * gst/elements/gstidentity.c: (gst_identity_class_init),
20248         (gst_identity_transform_ip):
20249         We're a real inplace element.
20250
20251         * gst/gstbus.c: (gst_bus_post):
20252         Added some comments.
20253
20254         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20255         * tests/muxing/case1.c: (main):
20256         * tests/sched/dynamic-pipeline.c: (main):
20257         * tests/sched/interrupt1.c: (main):
20258         * tests/sched/interrupt2.c: (main):
20259         * tests/sched/interrupt3.c: (main):
20260         * tests/sched/runxml.c: (main):
20261         * tests/sched/sched-stress.c: (main):
20262         * tests/seeking/seeking1.c: (event_received), (main):
20263         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20264         (main):
20265         * tests/threadstate/threadstate3.c: (main):
20266         * tests/threadstate/threadstate4.c: (main):
20267         * tests/threadstate/threadstate5.c: (main):
20268         Fix the tests.
20269
20270 2005-07-21  Wim Taymans  <wim@fluendo.com>
20271
20272         * docs/design/part-seeking.txt:
20273         Some small additions.
20274
20275         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20276         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20277         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20278         * gst/base/gstbasesink.h:
20279         discont values are gint64, handle the math correctly.
20280
20281         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20282         Make the basesrc report error if the source pad is not linked.
20283
20284         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20285         (gst_queue_loop), (gst_queue_handle_src_query),
20286         (gst_queue_src_activate_push):
20287         Make queue collect data even if the srcpad is not linked.
20288         Start pushing out data as soon as it is linked.
20289
20290         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20291         * gst/gstutils.h:
20292         Added gst_flow_get_name() to ease error reporting.
20293
20294 2005-07-20  Wim Taymans  <wim@fluendo.com>
20295
20296         * gst/gstmessage.c: (gst_message_new_segment_start),
20297         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20298         (gst_message_parse_segment_done):
20299         * gst/gstmessage.h:
20300         Added a bunch of messages for advanced seeking.
20301
20302         * gst/parse/grammar.y:
20303         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20304         (gst_dpman_state_changed):
20305         Fix some new-pad -> pad-added signals
20306
20307 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20308
20309         * docs/manual/appendix-porting.xml:
20310         * docs/pwg/appendix-porting.xml:
20311           Document new-pad/state-change signal renames and the FixedList
20312           type rename.
20313
20314 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20315
20316         * docs/manual/advanced-autoplugging.xml:
20317         * docs/manual/basics-helloworld.xml:
20318         * docs/manual/basics-pads.xml:
20319         * docs/random/ds/0.9-suggested-changes:
20320         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20321         * gst/gstelement.h:
20322         * gst/gstevent.h:
20323         * gst/gstformat.h:
20324         * gst/gstquery.h:
20325         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20326         (gst_structure_parse_array), (gst_structure_parse_value):
20327         * gst/gstvalue.c: (gst_type_is_fixed),
20328         (gst_value_list_prepend_value), (gst_value_list_append_value),
20329         (gst_value_list_get_size), (gst_value_list_get_value),
20330         (gst_value_transform_array_string), (gst_value_serialize_array),
20331         (gst_value_deserialize_array), (gst_value_intersect_array),
20332         (gst_value_is_fixed), (_gst_value_initialize):
20333         * gst/gstvalue.h:
20334           GstElement::new-pad -> pad-added, GstElement::state-change ->
20335           state-changed, GstValueFixedList -> GstValueArray, add format and
20336           flags as their own arguments in gst_element_seek() (should improve
20337           "bindeability"), remove function generators since they don't work
20338           under a whole bunch of compilers (they were deprecated already
20339           anyway).
20340
20341 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20342
20343         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20344         (_gst_debug_register_funcptr):
20345         * gst/gstinfo.h:
20346           Fix illegal cast on some platforms (#309253).
20347
20348 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20349
20350         * gst/gstmessage.c: (gst_message_new_custom):
20351         * gst/gstmessage.h:
20352           Add _new_custom, make _new_application a macro to _new_custom.
20353
20354 2005-07-20  Wim Taymans  <wim@fluendo.com>
20355
20356         * gst/base/gstbasesrc.c: (gst_base_src_init),
20357         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20358         * gst/base/gstbasesrc.h:
20359         Add a gboolean to decide when to push out a discont.
20360
20361         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20362         (gst_queue_loop), (gst_queue_handle_src_query),
20363         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20364         (gst_queue_set_property), (gst_queue_get_property):
20365         Some cleanups.
20366
20367         * tests/threadstate/threadstate1.c: (main):
20368         Make a thread test compile and run... very silly..
20369
20370
20371 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20372
20373         * docs/manual/appendix-porting.xml:
20374           Mention removal of libgstgconf-0.9.la and existence of gconf
20375           elements.
20376
20377 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20378
20379         * docs/pwg/advanced-clock.xml:
20380         * docs/pwg/appendix-porting.xml:
20381         * docs/pwg/intro-preface.xml:
20382         * docs/pwg/other-base.xml:
20383         * docs/pwg/other-manager.xml:
20384         * docs/pwg/other-nton.xml:
20385         * docs/pwg/other-ntoone.xml:
20386         * docs/pwg/other-oneton.xml:
20387         * docs/pwg/pwg.xml:
20388           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20389           demuxer), remove n-to-n (was never written), fix some code examples
20390           and links and update the porting section to include all this.
20391
20392 2005-07-19  Wim Taymans  <wim@fluendo.com>
20393
20394         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20395         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20396         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20397         (gst_queue_src_activate_push), (gst_queue_change_state),
20398         (gst_queue_get_property):
20399         * gst/gstqueue.h:
20400         Propagate GstFlowReturn more intelligently upstream and output
20401         an ERROR/EOS when streaming stopped due to fatal error.
20402
20403 2005-07-19  Wim Taymans  <wim@fluendo.com>
20404
20405         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20406         Don't block forever for the state change to complete, the
20407         pipeline already did with a sensible timeout.
20408
20409 2005-07-19  Wim Taymans  <wim@fluendo.com>
20410
20411         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20412         Make sure we never call the create function is we
20413         got deactivated.
20414
20415 2005-07-19  Andy Wingo  <wingo@pobox.com>
20416
20417         * gst/parse/parse.l: Attempt to solve bug #172815.
20418
20419 2005-07-19  Wim Taymans  <wim@fluendo.com>
20420
20421         * docs/design/part-clocks.txt:
20422         * docs/design/part-events.txt:
20423         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20424         Small docs updates.
20425         Only update the seeking values when we are not
20426         busy streaming.
20427
20428 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20429
20430         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20431           Oops, ignore the result of gst_pad_push_event here.
20432
20433 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20434
20435         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20436         (gst_base_src_activate_push):
20437           Send discont event from the loop function, as pads
20438           aren't activated yet in the activate_push handler.
20439
20440         * gst/gstbin.c: (bin_bus_handler):
20441           Don't leak element name.
20442
20443 2005-07-18  Andy Wingo  <wingo@pobox.com>
20444
20445         * configure.ac: Use AS_LIBTOOL_TAGS.
20446
20447 2005-07-18  Wim Taymans  <wim@fluendo.com>
20448
20449         * docs/gst/gstreamer.types:
20450         Remove deleted types.
20451
20452 2005-07-18  Wim Taymans  <wim@fluendo.com>
20453
20454         * check/elements/gstfakesrc.c: (GST_START_TEST):
20455         * configure.ac:
20456         * gst/Makefile.am:
20457         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20458         (init_popt_callback):
20459         * gst/gst.h:
20460         * gst/gst_private.h:
20461         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20462         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20463         * gst/gstbin.h:
20464         * gst/gstbus.h:
20465         * gst/gstconfig.h.in:
20466         * gst/gstelement.c: (gst_element_class_init),
20467         (gst_element_set_base_time), (gst_element_get_base_time),
20468         (iterator_fold_with_resync), (gst_element_change_state),
20469         (gst_element_dispose), (gst_element_get_bus):
20470         * gst/gstelement.h:
20471         * gst/gstelementfactory.h:
20472         * gst/gsterror.c: (_gst_core_errors_init):
20473         * gst/gsterror.h:
20474         * gst/gstevent.h:
20475         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20476         * gst/gstindex.c:
20477         * gst/gstinfo.c: (_gst_debug_init):
20478         * gst/gstmessage.c: (_gst_message_copy):
20479         * gst/gstmessage.h:
20480         * gst/gstminiobject.h:
20481         * gst/gstobject.c:
20482         * gst/gstobject.h:
20483         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20484         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20485         * gst/gstpad.h:
20486         * gst/gstparse.h:
20487         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20488         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20489         (gst_pipeline_get_last_stream_time):
20490         * gst/gstpipeline.h:
20491         * gst/gstpluginfeature.h:
20492         * gst/gstquery.h:
20493         * gst/gstscheduler.c:
20494         * gst/gstscheduler.h:
20495         * gst/gststructure.h:
20496         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20497         (gst_task_finalize), (gst_task_func), (gst_task_create),
20498         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20499         (gst_task_stop), (gst_task_pause):
20500         * gst/gsttask.h:
20501         * gst/gsttypefind.h:
20502         * gst/gsttypes.h:
20503         * gst/registries/gstlibxmlregistry.c: (load_feature),
20504         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20505         * gst/registries/gstxmlregistry.c:
20506         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20507         * gst/schedulers/threadscheduler.c:
20508         * libs/gst/control/dparammanager.h:
20509         * tools/gst-inspect.c: (print_element_list),
20510         (print_plugin_features), (print_element_features):
20511         * tools/gst-xmlinspect.c: (print_element_list),
20512         (print_plugin_info), (main):
20513         Removed plugable schedulers.
20514         Removed Scheduler/Manager from elements.
20515         Removed gsttypes.h, rearranged includes.
20516         Removed dependency pad<->element, element<>pipeline, and
20517         various others,  fix includes.
20518         implement gst_pad_get_parent() with gst_object_get_parent()
20519         Make GstTask sefcontained.
20520         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20521         timeout.
20522         Fix endless loop in iterator_fold_with_resync.
20523
20524
20525 2005-07-18  Wim Taymans  <wim@fluendo.com>
20526
20527         * gst/Makefile.am:
20528         * gst/gstarch.h:
20529         Remove old file.
20530
20531 2005-07-18  Wim Taymans  <wim@fluendo.com>
20532
20533         * gst/Makefile.am:
20534         No more cothreads.h
20535
20536 2005-07-18  Wim Taymans  <wim@fluendo.com>
20537
20538         * gst/cothreads.c:
20539         * gst/cothreads.h:
20540         Let's remove these.
20541
20542 2005-07-18  Wim Taymans  <wim@fluendo.com>
20543
20544         * docs/design/part-dynamic.txt:
20545         * docs/design/part-events.txt:
20546         * docs/design/part-seeking.txt:
20547         Some more docs in the works.
20548
20549         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20550         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20551         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20552         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20553         (gst_base_transform_handle_buffer),
20554         (gst_base_transform_sink_activate_push),
20555         (gst_base_transform_src_activate_pull),
20556         (gst_base_transform_set_passthrough),
20557         (gst_base_transform_is_passthrough):
20558         Refcounting fixes.
20559
20560         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20561         Cleanups.
20562
20563         * gst/gstevent.c: (gst_event_finalize):
20564         Set SRC to NULL.
20565
20566         * gst/gstutils.c: (gst_element_unlink),
20567         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20568         (gst_pad_proxy_setcaps):
20569         * gst/gstutils.h:
20570         Add _get_parent_element() to get a pads parent as an element.
20571
20572 2005-07-18  Wim Taymans  <wim@fluendo.com>
20573
20574         * check/gst/gstbin.c: (GST_START_TEST):
20575         Remove bogus test.
20576
20577 2005-07-18  Wim Taymans  <wim@fluendo.com>
20578
20579         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20580         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20581         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20582         (gst_base_sink_event), (gst_base_sink_do_sync),
20583         (gst_base_sink_chain), (gst_base_sink_loop),
20584         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20585         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20586         Refcounting fixes.
20587         Fix logic for returning ASYNC when not prerolled.
20588
20589 2005-07-18  Wim Taymans  <wim@fluendo.com>
20590
20591         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20592         Fix nasty refcount bug.
20593
20594 2005-07-16 Philippe Khalaf <burger@speedy.org>
20595
20596         * gst/elements/gstfdsrc.c:
20597         * gst/elements/gstfdsrc.h:
20598         * gst/elements/gstelements.c:
20599         * gst/elements/Makefile.am:
20600         Ported fdsrc to 0.9.
20601
20602 2005-07-16  Wim Taymans  <wim@fluendo.com>
20603
20604         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20605         (gst_base_sink_do_sync):
20606         Fix compile error.
20607
20608 2005-07-16  Wim Taymans  <wim@fluendo.com>
20609
20610         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20611         (gst_base_sink_event), (gst_base_sink_get_times),
20612         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20613         * gst/base/gstbasesink.h:
20614         Store and use discont values when syncing buffers as described
20615         in design docs.
20616         
20617         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20618         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20619         (gst_base_src_activate_push):
20620         Push discont event when starting.
20621
20622         * gst/elements/gstidentity.c: (gst_identity_transform):
20623         Small cleanups.
20624
20625         * gst/gstbin.c: (gst_bin_change_state):
20626         Small cleanups in base_time  distribution.
20627
20628         * gst/gstelement.c: (gst_element_set_base_time),
20629         (gst_element_get_base_time), (gst_element_change_state):
20630         * gst/gstelement.h:
20631         Added methods for the base_time of the element.
20632         Some MT fixes.
20633
20634         * gst/gstpipeline.c: (gst_pipeline_send_event),
20635         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20636         (gst_pipeline_get_last_stream_time):
20637         * gst/gstpipeline.h:
20638         MT fixes.
20639         Handle seeking as described in design doc, remove stream_time
20640         hack.
20641         Cleanups clock and stream_time selection code. Added accessors
20642         for the stream_time.
20643         
20644
20645 2005-07-16  Andy Wingo  <wingo@pobox.com>
20646
20647         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20648         (#305291).
20649
20650 2005-07-16  Wim Taymans  <wim@fluendo.com>
20651
20652         * check/gst/gstbin.c: (GST_START_TEST):
20653         Make elements silent as the deep_notify refs the
20654         parent, which might make the test fail.
20655
20656         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20657         Don't hold the lock for too long.
20658
20659 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20660
20661         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20662           Don't unref the caps we passed to gst_caps_make_writable() after
20663           passing them. gst_caps_make_writable() will do that for us.
20664
20665 2005-07-15  Andy Wingo  <wingo@pobox.com>
20666
20667         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20668         (#157311).
20669
20670         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20671         own marshalling function for the handoff signal. Properly type the
20672         buffer as a buffer. Fixes some warnings. Should do a more general
20673         solution.
20674         (gst_identity_class_init): Plug into the right marshaller.
20675
20676 2005-07-15  Wim Taymans  <wim@fluendo.com>
20677
20678         * docs/design/part-TODO.txt:
20679         * docs/design/part-clocks.txt:
20680         * docs/design/part-element-sink.txt:
20681         * docs/design/part-events.txt:
20682         * docs/design/part-gstpipeline.txt:
20683         Updated docs, mostly DISCONT related.
20684
20685 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20686
20687         * docs/pwg/building-pads.xml:
20688           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20689
20690 2005-07-15  Andy Wingo  <wingo@pobox.com>
20691
20692         * tools/gst-typefind.c: Update, add copyright block.
20693
20694         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20695         Normalize and truncate caps before fixation.
20696
20697         * gst/gstcaps.h:
20698         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20699         discards all but the first structure from its argument.
20700
20701 2005-07-15  Wim Taymans  <wim@fluendo.com>
20702
20703         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20704         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20705         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20706         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20707         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20708         (gst_base_transform_chain), (gst_base_transform_change_state),
20709         (gst_base_transform_set_passthrough),
20710         (gst_base_transform_is_passthrough):
20711         * gst/base/gstbasetransform.h:
20712         Make passthrough work using the bufferpools.
20713         Changed API a bit, subclasses have to write into a buffer
20714         provided by the base class.
20715         More debug info in nego functions.
20716         
20717         * gst/elements/gstidentity.c: (gst_identity_init),
20718         (gst_identity_transform):
20719         Port to new base class.
20720
20721 2005-07-15  Wim Taymans  <wim@fluendo.com>
20722
20723         * gst/gstmessage.c: (gst_message_new_state_changed):
20724         * tools/gst-launch.c: (event_loop), (main):
20725         Totally dump messages in -launch with the -m option.
20726         Fix message name for State messages,
20727
20728 2005-07-14  Wim Taymans  <wim@fluendo.com>
20729
20730         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20731         Post error messages on errors.
20732
20733 2005-07-14  Wim Taymans  <wim@fluendo.com>
20734
20735         * gst/gstcaps.c: (gst_caps_do_simplify):
20736         Remove debug info.
20737
20738         * gst/gsterror.h:
20739         Define error for stream stopped.
20740
20741         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20742         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20743         Do proper return values.
20744
20745         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20746         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20747         (gst_pad_get_range):
20748         Better return values.
20749
20750         * gst/gstpad.h:
20751         Reorganise return values, add macro to check for fatal errors.
20752
20753         * gst/gstqueue.c: (gst_queue_chain):
20754         Return proper GstFlowReturn values,
20755
20756 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20757
20758         * docs/gst/gstreamer-sections.txt:
20759         * docs/gst/gstreamer.types:
20760         * docs/gst/tmpl/gst.sgml:
20761         * docs/gst/tmpl/gstbasesink.sgml:
20762         * docs/gst/tmpl/gstbasesrc.sgml:
20763         * docs/gst/tmpl/gstbasetransform.sgml:
20764         * docs/gst/tmpl/gstbin.sgml:
20765         * docs/gst/tmpl/gstbuffer.sgml:
20766         * docs/gst/tmpl/gstcaps.sgml:
20767         * docs/gst/tmpl/gstclock.sgml:
20768         * docs/gst/tmpl/gstcompat.sgml:
20769         * docs/gst/tmpl/gstconfig.sgml:
20770         * docs/gst/tmpl/gstelement.sgml:
20771         * docs/gst/tmpl/gstelementdetails.sgml:
20772         * docs/gst/tmpl/gstelementfactory.sgml:
20773         * docs/gst/tmpl/gstenumtypes.sgml:
20774         * docs/gst/tmpl/gsterror.sgml:
20775         * docs/gst/tmpl/gstevent.sgml:
20776         * docs/gst/tmpl/gstfakesink.sgml:
20777         * docs/gst/tmpl/gstfakesrc.sgml:
20778         * docs/gst/tmpl/gstfilesink.sgml:
20779         * docs/gst/tmpl/gstfilesrc.sgml:
20780         * docs/gst/tmpl/gstfilter.sgml:
20781         * docs/gst/tmpl/gstformat.sgml:
20782         * docs/gst/tmpl/gstghostpad.sgml:
20783         * docs/gst/tmpl/gstimplementsinterface.sgml:
20784         * docs/gst/tmpl/gstindex.sgml:
20785         * docs/gst/tmpl/gstindexfactory.sgml:
20786         * docs/gst/tmpl/gstinfo.sgml:
20787         * docs/gst/tmpl/gstiterator.sgml:
20788         * docs/gst/tmpl/gstmacros.sgml:
20789         * docs/gst/tmpl/gstmemchunk.sgml:
20790         * docs/gst/tmpl/gstminiobject.sgml:
20791         * docs/gst/tmpl/gstobject.sgml:
20792         * docs/gst/tmpl/gstpad.sgml:
20793         * docs/gst/tmpl/gstpadtemplate.sgml:
20794         * docs/gst/tmpl/gstparse.sgml:
20795         * docs/gst/tmpl/gstpipeline.sgml:
20796         * docs/gst/tmpl/gstplugin.sgml:
20797         * docs/gst/tmpl/gstpluginfeature.sgml:
20798         * docs/gst/tmpl/gstquery.sgml:
20799         * docs/gst/tmpl/gstqueue.sgml:
20800         * docs/gst/tmpl/gstregistry.sgml:
20801         * docs/gst/tmpl/gstregistrypool.sgml:
20802         * docs/gst/tmpl/gstscheduler.sgml:
20803         * docs/gst/tmpl/gstschedulerfactory.sgml:
20804         * docs/gst/tmpl/gststructure.sgml:
20805         * docs/gst/tmpl/gstsystemclock.sgml:
20806         * docs/gst/tmpl/gsttaglist.sgml:
20807         * docs/gst/tmpl/gsttagsetter.sgml:
20808         * docs/gst/tmpl/gsttrace.sgml:
20809         * docs/gst/tmpl/gsttrashstack.sgml:
20810         * docs/gst/tmpl/gsttypefind.sgml:
20811         * docs/gst/tmpl/gsttypefindfactory.sgml:
20812         * docs/gst/tmpl/gsttypes.sgml:
20813         * docs/gst/tmpl/gsturihandler.sgml:
20814         * docs/gst/tmpl/gsturitype.sgml:
20815         * docs/gst/tmpl/gstutils.sgml:
20816         * docs/gst/tmpl/gstvalue.sgml:
20817         * docs/gst/tmpl/gstversion.sgml:
20818         * docs/gst/tmpl/gstxml.sgml:
20819         * docs/libs/tmpl/gstcontrol.sgml:
20820         * docs/libs/tmpl/gstdataprotocol.sgml:
20821         * docs/libs/tmpl/gstdparam.sgml:
20822         * docs/libs/tmpl/gstdplinint.sgml:
20823         * docs/libs/tmpl/gstdpman.sgml:
20824         * docs/libs/tmpl/gstdpsmooth.sgml:
20825         * docs/libs/tmpl/gstgetbits.sgml:
20826         * docs/libs/tmpl/gstunitconvert.sgml:
20827         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20828         (gst_push_src_base_init), (gst_push_src_class_init),
20829         (gst_push_src_init), (gst_push_src_create):
20830         * gst/base/gstpushsrc.h:
20831         * gst/elements/gstelements.c:
20832         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20833         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20834         (gst_fake_sink_init), (gst_fake_sink_set_property),
20835         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20836         (gst_fake_sink_event), (gst_fake_sink_preroll),
20837         (gst_fake_sink_render), (gst_fake_sink_change_state):
20838         * gst/elements/gstfakesink.h:
20839         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20840         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20841         (gst_fake_src_base_init), (gst_fake_src_class_init),
20842         (gst_fake_src_init), (gst_fake_src_event_handler),
20843         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20844         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20845         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20846         (gst_fake_src_create_buffer), (gst_fake_src_create),
20847         (gst_fake_src_start), (gst_fake_src_stop):
20848         * gst/elements/gstfakesrc.h:
20849         * gst/elements/gstfilesink.c: (_do_init),
20850         (gst_file_sink_base_init), (gst_file_sink_class_init),
20851         (gst_file_sink_init), (gst_file_sink_dispose),
20852         (gst_file_sink_set_location), (gst_file_sink_set_property),
20853         (gst_file_sink_get_property), (gst_file_sink_open_file),
20854         (gst_file_sink_close_file), (gst_file_sink_query),
20855         (gst_file_sink_event), (gst_file_sink_render),
20856         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20857         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20858         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20859         * gst/elements/gstfilesink.h:
20860         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20861         (gst_file_src_class_init), (gst_file_src_init),
20862         (gst_file_src_finalize), (gst_file_src_set_location),
20863         (gst_file_src_set_property), (gst_file_src_get_property),
20864         (gst_file_src_map_region), (gst_file_src_map_small_region),
20865         (gst_file_src_create_mmap), (gst_file_src_create_read),
20866         (gst_file_src_create), (gst_file_src_is_seekable),
20867         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20868         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20869         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20870         (gst_file_src_uri_handler_init):
20871         * gst/elements/gstfilesrc.h:
20872           more autistic cleanliness in functions/names/defines
20873
20874 2005-07-13  Andy Wingo  <wingo@pobox.com>
20875
20876         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20877         source couldn't negotiate.
20878
20879         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20880         connections again.
20881
20882         * gst/gstutils.h:
20883         * gst/gstutils.c (gst_element_link_pads_filtered): New old
20884         function. I am channeling Hades. Put your boots on suckers!!!
20885
20886 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20887
20888         * testsuite/caps/Makefile.am:
20889         * testsuite/caps/value_compare.c:
20890         * testsuite/caps/value_intersect.c:
20891         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20892           move two testsuite apps over to the check dir
20893
20894 2005-07-12  Wim Taymans  <wim@fluendo.com>
20895
20896         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20897         Added more debug info in the negotiate process.
20898
20899         * gst/gstmessage.h:
20900         Prepare for segment playback.
20901
20902         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20903         Better debugging.
20904
20905         * gst/gstutils.c:
20906         Some more docs.
20907
20908         * tools/gst-launch.c: (main):
20909         NULL pipeline on errors.
20910
20911 2005-07-12  Andy Wingo  <wingo@pobox.com>
20912
20913         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20914         not it comes from a malloc region. Make sure our copy gets freed.
20915
20916 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20917
20918         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20919         * check/gst/gstmessage.c: (GST_START_TEST):
20920         * check/gst/gststructure.c: (GST_START_TEST),
20921         (gst_structure_suite), (main):
20922           more testing
20923         * gst/gstelement.c: (gst_element_message_full):
20924           clean up GError and debug string now that they get copied
20925         * gst/gstmessage.c: (gst_message_new_error),
20926         (gst_message_new_warning), (gst_message_parse_error),
20927         (gst_message_parse_warning):
20928           use GST_TYPE_G_ERROR for structure_new, and take copies of
20929           arguments, so that we don't mess up refcounting
20930
20931 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20932
20933         * check/Makefile.am:
20934           add per-test valgrind targets
20935         * check/gst-libs/gdp.c: (GST_START_TEST),
20936         (gst_data_protocol_suite), (main):
20937           clean up
20938
20939 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20940
20941         * check/Makefile.am:
20942           instate more valgrindable tests
20943         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20944         (GST_START_TEST), (fakesrc_suite):
20945         * check/gst/gstpad.c: (GST_START_TEST):
20946         * check/gst/gststructure.c: (GST_START_TEST):
20947           fix test leaks
20948         * docs/gst/tmpl/gstminiobject.sgml:
20949         * gst/gstpad.c: (gst_pad_finalize):
20950           fix the static mutex leak
20951
20952 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20953
20954         * check/Makefile.am:
20955           add two more tests for valgrinding
20956         * check/gst/gstvalue.c: (GST_START_TEST):
20957           test refcount of deserialized buffer, found a leak
20958         * docs/gst/gstreamer-docs.sgml:
20959         * docs/gst/gstreamer-sections.txt:
20960         * docs/gst/gstreamer.types:
20961         * docs/gst/tmpl/gstminiobject.sgml:
20962           add miniobject to docs
20963         * gst/gstminiobject.c:
20964           add some docs
20965         * gst/gstvalue.c: (gst_value_deserialize_buffer),
20966         (gst_string_unwrap):
20967           fix a hard-to-find invalid write for one of the tests
20968           fix a leak for deserialized buffers
20969
20970 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20971
20972         * docs/pwg/advanced-events.xml:
20973         * docs/pwg/advanced-request.xml:
20974         * docs/pwg/advanced-scheduling.xml:
20975         * docs/pwg/appendix-porting.xml:
20976         * docs/pwg/building-boiler.xml:
20977         * docs/pwg/intro-preface.xml:
20978         * docs/pwg/other-ntoone.xml:
20979           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20980           of example code and explanation for pad activation, loop() and
20981           getrange() functions and a bit more. Remove old comments pointing
20982           to loop-functions.
20983         * examples/pwg/Makefile.am:
20984           Add loop/getrange examples.
20985
20986 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20987
20988         * configure.ac:
20989           check for valgrind binary + some fixes
20990         * check/gst.supp:
20991           valgrind suppressions for the tests
20992         * check/Makefile.am:
20993           add a valgrind: target that valgrinds the unit tests
20994         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20995         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20996         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20997         * check/gst/gstghostpad.c:
20998           added some cleanup
20999         * check/gst/gstdata.c:
21000           removed
21001         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21002         (thread_unref), (gst_mini_object_suite), (main):
21003           added
21004         * gst/gst.c: (gst_deinit):
21005         * gst/gst.h:
21006           add a method to clean up.
21007         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21008         (gst_system_clock_obtain):
21009           allow for disposing the system clock.
21010         * tools/gst-launch.c: (main):
21011           deinit
21012
21013 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21014
21015         * docs/gst/tmpl/gstbasesrc.sgml:
21016         * docs/gst/tmpl/gstfakesrc.sgml:
21017         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21018         (gst_base_src_init), (gst_base_src_set_property),
21019         (gst_base_src_get_property), (gst_base_src_get_range),
21020         (gst_base_src_start):
21021         * gst/base/gstbasesrc.h:
21022           add num-buffers property
21023         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21024         (gst_fakesrc_init), (gst_fakesrc_set_property),
21025         (gst_fakesrc_get_property), (gst_fakesrc_create),
21026         (gst_fakesrc_start):
21027           remove num-buffers property
21028
21029 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21030
21031         * docs/gst/gstreamer-sections.txt:
21032         * docs/gst/tmpl/gstbasesink.sgml:
21033         * docs/gst/tmpl/gstbasesrc.sgml:
21034         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21035         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21036         (gst_base_sink_finalize), (gst_base_sink_set_clock),
21037         (gst_base_sink_set_property), (gst_base_sink_get_property),
21038         (gst_base_sink_handle_object), (gst_base_sink_event),
21039         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21040         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21041         (gst_base_sink_loop), (gst_base_sink_deactivate),
21042         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21043         (gst_base_sink_change_state):
21044         * gst/base/gstbasesink.h:
21045         * gst/base/gstbasesrc.h:
21046         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21047         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21048         (gst_filesink_init):
21049           more macro splitting
21050
21051 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21052
21053         * gst/gstelement.c: (gst_element_get_bus):
21054           add debug
21055         * tools/gst-launch.c: (check_intr), (event_loop):
21056           fix bus leaks
21057
21058 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21059
21060         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21061           fix a caps leak
21062
21063 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21064
21065         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21066         (gst_base_src_finalize):
21067           add finalize method and clean up properly
21068         * gst/gstpipeline.c: (gst_pipeline_dispose):
21069           add debug
21070
21071 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21072
21073         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21074         (gst_bin_suite):
21075           add more things to check
21076         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21077         * gst/gstelement.c:
21078           more debug
21079
21080 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21081
21082         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21083         (GST_START_TEST), (fakesrc_suite):
21084         * check/gst-libs/gdp.c: (GST_START_TEST):
21085         * check/gst/gst.c: (GST_START_TEST):
21086         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21087         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21088         * check/gst/gstbus.c: (GST_START_TEST):
21089         * check/gst/gstcaps.c: (GST_START_TEST):
21090         * check/gst/gstdata.c: (GST_START_TEST):
21091         * check/gst/gstelement.c: (GST_START_TEST):
21092         * check/gst/gstghostpad.c: (GST_START_TEST):
21093         * check/gst/gstiterator.c: (GST_START_TEST):
21094         * check/gst/gstmessage.c: (GST_START_TEST):
21095         * check/gst/gstobject.c: (GST_START_TEST):
21096         * check/gst/gstpad.c: (GST_START_TEST):
21097         * check/gst/gststructure.c: (GST_START_TEST):
21098         * check/gst/gstsystemclock.c: (GST_START_TEST),
21099         (gst_systemclock_suite):
21100         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21101         * check/gst/gstvalue.c: (GST_START_TEST):
21102         * check/pipelines/cleanup.c: (GST_START_TEST):
21103         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21104         * check/states/sinks.c: (GST_START_TEST):
21105         * check/gstcheck.c: (gst_check_init):
21106         * check/gstcheck.h:
21107           add debugging category
21108           use GST_START_TEST now, so we add a debug line
21109
21110 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21111
21112         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21113           add test for state change message on a bin
21114         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21115           add another test
21116         * gst/gstbin.c: (gst_bin_init):
21117         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21118         * gst/gstelement.c: (gst_element_post_message),
21119         (gst_element_set_state):
21120         * gst/gstelementfactory.c: (gst_element_factory_create):
21121         * gst/gstmessage.c: (gst_message_new):
21122         * gst/gstscheduler.c:
21123           various debugging additions and cleanups
21124
21125 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21126
21127         * check/Makefile.am:
21128         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21129         (main):
21130           adding tests for elements
21131         * gst/gstelement.c: (gst_element_dispose):
21132
21133 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21134
21135         * gst/registries/gstlibxmlregistry.c: (load_feature):
21136           plug more leaks.  A simple gst_init() now is leakfree, yay.
21137
21138 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21139
21140         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21141         (gst_xml_registry_load):
21142           plug another memleak
21143
21144 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21145
21146         * configure.ac:
21147           use GST_SET_ERROR_CFLAGS
21148         * docs/faq/cvs.xml:
21149           change to ERROR_CFLAGS
21150
21151 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21152
21153         * configure.ac:
21154           make GST_ERROR_CFLAGS overridable and re-enable Werror
21155         * docs/faq/cvs.xml:
21156           add a note about error CFLAGS
21157         * docs/gst/tmpl/gstfakesrc.sgml:
21158         * gst/elements/gstfakesrc.c:
21159           comment out some unused code
21160         * gst/gst.c: (split_and_iterate):
21161         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21162         (load_feature):
21163           plug some memleaks
21164
21165 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21166
21167         * common/Makefile.am:
21168         * common/gtk-doc.mak:
21169         * docs/gst/Makefile.am:
21170           factor out gtk-doc.mak
21171
21172 2005-07-07  Wim Taymans  <wim@fluendo.com>
21173
21174         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21175         (gst_thread_scheduler_dispose):
21176         Unlock the STREAM_LOCK completely.
21177
21178 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21179
21180         * check/Makefile.am:
21181         * check/elements/.cvsignore:
21182         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21183         (START_TEST), (fakesrc_suite), (main):
21184         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21185         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21186         (gst_fakesrc_create), (gst_fakesrc_start):
21187         * gst/elements/gstfakesrc.h:
21188           adding a first element test
21189
21190 2005-07-07  Andy Wingo  <wingo@pobox.com>
21191
21192         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21193         debug message.
21194
21195 2005-07-07  Wim Taymans  <wim@fluendo.com>
21196
21197         * gst/gstquery.c:
21198         * gst/gstquery.h:
21199         Remove old types
21200
21201 2005-07-07  Wim Taymans  <wim@fluendo.com>
21202
21203         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21204         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21205         Allow subclasses to implement their own negotiation.
21206
21207 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21208
21209         * docs/design/part-gstbin.txt:
21210         * docs/design/part-gstpipeline.txt:
21211           Update design notes to reflect the movement of
21212           responsibility for bus handling from GstPipeline to
21213           GstBin
21214
21215 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21216
21217         * configure.ac:
21218           Remove unnecessary queue2/3/4 examples.
21219
21220 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21221
21222         * examples/Makefile.am:
21223         * examples/helloworld/helloworld.c: (event_loop), (main):
21224         * examples/queue/queue.c: (event_loop), (main):
21225         * examples/queue2/queue2.c: (main):
21226           Update a couple of the examples to work again.
21227
21228         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21229         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21230          Spelling corrections and extra debug.
21231         
21232         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21233         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21234         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21235         * gst/gstbin.h:
21236         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21237         (gst_pipeline_change_state):
21238         * gst/gstpipeline.h:
21239           Move the bus handler for children to the GstBin, and create a
21240           separate bus for receiving messages from children to the one the
21241           bus sends 'upwards' on.
21242
21243 2005-07-06  Wim Taymans  <wim@fluendo.com>
21244
21245         * gst/base/README:
21246         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21247         (gst_base_sink_handle_object), (gst_base_sink_loop),
21248         (gst_base_sink_change_state):
21249         * gst/base/gstbasesink.h:
21250         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21251         (gst_base_src_init), (gst_base_src_setcaps),
21252         (gst_base_src_getcaps), (gst_base_src_loop),
21253         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21254         (gst_base_src_start), (gst_base_src_change_state):
21255         * gst/base/gstbasesrc.h:
21256         Make basesrc negotiate.
21257         Handle the case where preroll fails in basesink.
21258         Update README.
21259
21260 2005-07-06  Wim Taymans  <wim@fluendo.com>
21261
21262         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21263         Implement the fixate function.
21264         Clean up acceptcaps.
21265
21266 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21267
21268         * docs/pwg/building-filterfactory.xml:
21269         * docs/pwg/pwg.xml:
21270           Remove never-written filter-factory chapter; I'll add the various
21271           base classes to part 4 ("other element types") later on.
21272
21273 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21274
21275         * docs/pwg/advanced-negotiation.xml:
21276         * docs/pwg/building-boiler.xml:
21277         * docs/pwg/building-pads.xml:
21278         * docs/pwg/pwg.xml:
21279         * examples/pwg/Makefile.am:
21280           Add a chapter on caps negotiation, simplify the original code
21281           samples a bit w.r.t. caps negotiation, add link to the advanced
21282           section. Add a bunch of examples showing different use cases of
21283           different types of caps negotiation. Upstream renegotiation isn't
21284           fully documented yet since nobody knows how that works.
21285
21286 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21287
21288         * check/gst/gstpad.c:
21289         * check/gstcheck.c:
21290         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21291           if pad has no parent, return NULL as list of internal links
21292
21293 2005-07-05  Andy Wingo  <wingo@pobox.com>
21294
21295         * gst/elements/gstfilesrc.c:
21296         * gst/elements/gstfakesrc.c: 
21297         * gst/base/gstpushsrc.c:
21298         * gst/base/gstbasesrc.h: 
21299         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21300         
21301 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21302
21303         * Makefile.am:
21304           better report generation target (lcov needs a patch)
21305
21306 2005-07-05  Andy Wingo  <wingo@pobox.com>
21307
21308         * gst/elements, testsuite: Null if we got it...
21309
21310 2005-07-05  Wim Taymans  <wim@fluendo.com>
21311
21312         * configure.ac:
21313         * libs/gst/dataprotocol/Makefile.am:
21314         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21315         * libs/gst/dataprotocol/dataprotocol.h:
21316         * pkgconfig/Makefile.am:
21317         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21318         * pkgconfig/gstreamer-dataprotocol.pc.in:
21319         Ported dataprotol to 0.9. 
21320         Added pkgconfig files.
21321
21322 2005-07-05  Andy Wingo  <wingo@pobox.com>
21323
21324         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21325         Default to returning TRUE for the case when tranform_caps returns
21326         a fixed caps, like for identity or volume.
21327
21328         * check/gst/gstbus.c (pound_bus_with_messages): 
21329         * check/gst/gstmessage.c (START_TEST): 
21330         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21331         message API change.
21332
21333         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21334         logic weaks here: always run transform_caps, trying passthrough
21335         operation only if the original caps intersects with the transform.
21336
21337         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21338         source and sink caps.
21339
21340         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21341         Intersect the peer caps with the pad template before going into
21342         transform_caps.
21343         (gst_base_transform_transform_caps): More debugging.
21344
21345         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21346         src argument.
21347
21348 2005-07-04  Edward Hervey  <edward@fluendo.com>
21349
21350         * gst/gstutils.c:
21351         * gst/gstutils.h:
21352         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21353         in bindings.
21354
21355 2005-07-04  Andy Wingo  <wingo@pobox.com>
21356
21357         * check/gst/gstpad.c: Only set explicit caps on pads.
21358
21359 2005-07-01  Andy Wingo  <wingo@pobox.com>
21360
21361         * tests/network-clock.scm: Commentary update.
21362
21363         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21364         Didn't really make sense, not implementable with basetransform,
21365         etc.
21366         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21367         attempt at implementing the sync property, needs an unlock method.
21368
21369         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21370         New func, by default returns the same caps (the identity
21371         transformation).
21372         (gst_base_transform_getcaps): Uses transform_caps to return
21373         something sensible.
21374         (gst_base_transform_setcaps): Complicated logic to get caps on
21375         both pads, even if they are different, and to call set_caps once
21376         for every time both pads get their caps set.
21377         (gst_base_transform_handle_buffer): Give the ref to the transform
21378         function. Allows in-place modification of the buffer.
21379
21380         * gst/base/gstbasetransform.h (transform_caps): New class method.
21381         Given caps on one side, what can I do on the other.
21382         (set_caps): Take two caps, one for each side of the element.
21383
21384         * gst/gstpad.h:
21385         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21386         caps in place. This is safe because we can check the mutability of
21387         the caps, and a good idea because fixate functions are just called
21388         as a matter of last resort. (Not actually implemented.)
21389         (gst_pad_set_caps): If the caps we're setting is actually the same
21390         as the existing pad caps, just update the pointer without calling
21391         setcaps. Assert that caps is either NULL or fixed, as per the
21392         docs.
21393
21394         * gst/gstghostpad.c: Update for fixate changes.
21395
21396 2005-07-02  Andy Wingo  <wingo@pobox.com>
21397
21398         * gst/gstcaps.c:
21399         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21400         two refcounts makes it immutable, which is enough. Doc more.
21401
21402 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21403
21404         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21405           Put the mini_object into GValue as a mini_object,
21406           not a gpointer, since that's how we declared
21407           the signal.
21408
21409 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21410
21411         * examples/pwg/Makefile.am:
21412           Fix buildbot again.
21413
21414 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21415
21416         * docs/pwg/building-testapp.xml:
21417           Add extra check.
21418         * examples/pwg/Makefile.am:
21419           Fix buildbot.
21420
21421 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21422
21423         * configure.ac:
21424         * examples/Makefile.am:
21425         * examples/pwg/Makefile.am:
21426         * examples/pwg/extract.pl:
21427           Enable building the PWG examples.
21428         * docs/pwg/advanced-interfaces.xml:
21429           Add URI interface stub.
21430         * docs/pwg/advanced-types.xml:
21431         * docs/pwg/other-autoplugger.xml:
21432         * docs/pwg/appendix-porting.xml:
21433         * docs/pwg/pwg.xml:
21434           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21435         * docs/pwg/building-boiler.xml:
21436         * docs/pwg/building-chainfn.xml:
21437         * docs/pwg/building-pads.xml:
21438         * docs/pwg/building-props.xml:
21439         * docs/pwg/building-state.xml:
21440         * docs/pwg/building-testapp.xml:
21441           Update the building-*.xml parts for 0.9 changes. All examples
21442           code blocks compile in examples/pwg/*.
21443
21444 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21445
21446         * docs/manual/advanced-autoplugging.xml:
21447         * docs/manual/appendix-checklist.xml:
21448         * docs/manual/appendix-integration.xml:
21449         * docs/manual/highlevel-components.xml:
21450           Fix playbin/decodebin examples, update docs a bit, mention bus
21451           instead of signals in various places, mention kmplayer and
21452           kaffeine since they have a working GStreamer backend in the KDE
21453           section.
21454
21455 2005-06-30  Wim Taymans  <wim@fluendo.com>
21456
21457         * CHANGES-0.9:
21458         * docs/design/draft-ghostpads.txt:
21459         * docs/design/draft-push-pull.txt:
21460         * docs/design/draft-query.txt:
21461         * docs/design/part-TODO.txt:
21462         * docs/design/part-query.txt:
21463         Added CHANGES-0.9 doc, updated status of other docs.
21464         
21465         * gst/gstquery.h:
21466         Remove "hmm" macro
21467
21468 2005-06-30  Wim Taymans  <wim@fluendo.com>
21469
21470         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21471         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21472         (gst_base_sink_change_state):
21473         * gst/base/gstbasesink.h:
21474         Some tweaks, only EOS and a buffer complete a preroll.
21475
21476 2005-06-30  Andy Wingo  <wingo@pobox.com>
21477
21478         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21479         activate_push down to the internal pad as well.
21480
21481 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21482
21483         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21484
21485         * gst/gsttaginterface.c:
21486           Some documentation fixes (#307394 and #307397).
21487
21488 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21489
21490         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21491
21492         * gst/gstvalue.c: (gst_value_intersect_list):
21493           Fix memleak (#309125).
21494
21495 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21496
21497         * docs/manual/advanced-dataaccess.xml:
21498           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21499         * docs/manual/basics-pads.xml:
21500           Add reference for filtered caps to above chapter.
21501
21502 2005-06-30  Wim Taymans  <wim@fluendo.com>
21503
21504         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21505         (gst_bin_change_state):
21506         Probes are gone.
21507         Lame attempt at making the state change function a bit
21508         more readable.
21509
21510 2005-06-30  Wim Taymans  <wim@fluendo.com>
21511
21512         * docs/design/part-clocks.txt:
21513         * docs/design/part-element-sink.txt:
21514         * docs/design/part-events.txt:
21515         * docs/design/part-preroll.txt:
21516         * docs/design/part-states.txt:
21517         Some more tweeks and additions to the docs.
21518
21519 2005-06-30  Wim Taymans  <wim@fluendo.com>
21520
21521         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21522         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21523         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21524         (gst_pad_check_pull_range), (gst_pad_get_range),
21525         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21526         * gst/gstpad.h:
21527         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21528         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21529         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21530         (gst_pad_remove_buffer_probe):
21531         Removed atomic operations, use existing LOCK.
21532         Move exception handling out of main code path.
21533
21534 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21535
21536         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21537         (silly_return_true_function), (gst_pad_class_init),
21538         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21539         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21540         (gst_pad_send_event):
21541           Fix accumulator, add default value by using _emitv() instead
21542           of _emit() for signal emission.
21543
21544 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21545
21546         * docs/manual/advanced-dataaccess.xml:
21547         * examples/manual/Makefile.am:
21548           Add probe example.
21549         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21550           Make work (??).
21551
21552 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21553
21554         * gst/elements/gstfilesink.c: (gst_filesink_render):
21555           Simplify code so that we don't have to handle short
21556           writes and return GST_FLOW_ERROR if an error occured.
21557
21558 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21559
21560         * docs/gst/gstreamer-docs.sgml:
21561           Remove probes more.
21562
21563 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21564
21565         * docs/gst/gstreamer-sections.txt:
21566         * docs/gst/tmpl/gstpad.sgml:
21567         * docs/gst/tmpl/gstprobe.sgml:
21568         * gst/Makefile.am:
21569         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21570         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21571         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21572         (gst_pad_push_event), (gst_pad_send_event):
21573         * gst/gstpad.h:
21574         * gst/gstutils.c: (gst_pad_add_data_probe),
21575         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21576         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21577         (gst_pad_remove_buffer_probe):
21578         * gst/gstutils.h:
21579           Remove old probes, add new g-signal-based probes and some utility
21580           functions.
21581
21582 2005-06-29  Edward Hervey  <edward@fluendo.com>
21583
21584         * gst/gstelementfactory.c:
21585         * gst/gstutils.h:
21586         * gst/gstutils.c:
21587         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21588         the definition to the header file.
21589
21590 2005-06-29  Andy Wingo  <wingo@pobox.com>
21591
21592         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21593         plugins from the source directory.
21594
21595 2005-06-29  Wim Taymans  <wim@fluendo.com>
21596
21597         * docs/gst/tmpl/gstbuffer.sgml:
21598         * docs/gst/tmpl/gstclock.sgml:
21599         Some fixings for blantently wrong text.
21600
21601 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21602
21603         * check/Makefile.am:
21604         * gst/gst.c: (add_path_func), (init_pre):
21605         * gst/gstregistry.c: (gst_registry_add_path):
21606           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21607           only scan the GST_PLUGIN_PATH locations, and not add
21608           system locations
21609
21610 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21611
21612         * docs/gst/gstreamer-sections.txt:
21613         * docs/gst/tmpl/gstbasesrc.sgml:
21614         * gst/gstelement.c:
21615         * gst/gstelement.h:
21616         * gst/gstevent.c:
21617         * gst/gstutils.c:
21618           doc fixes
21619
21620 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21621
21622         * docs/manual/advanced-autoplugging.xml:
21623           Fix autoplugging example.
21624
21625 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21626
21627         * docs/manual/advanced-autoplugging.xml:
21628         * docs/manual/mime-world.fig:
21629           Try to get autoplugging working, fix type detection. Fix text
21630           in hello-world image.
21631
21632 2005-06-29  Wim Taymans  <wim@fluendo.com>
21633
21634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21635         (gst_base_sink_change_state):
21636         Small debug line.
21637
21638         * gst/gstclock.h:
21639         map SIGNAL and BROADCAST to the right function.
21640
21641         * gst/gstobject.h:
21642         Remove redundant braces.
21643
21644         * gst/gstpad.c: (gst_pad_set_caps):
21645         Don't call setcaps function when reseting caps to NULL.
21646
21647         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21648         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21649         (gst_system_clock_id_unschedule):
21650         Use BROADCAST as this is what we do.
21651
21652 2005-06-29  Wim Taymans  <wim@fluendo.com>
21653
21654         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21655         We are actually prerolling before commiting the state
21656         change. 
21657
21658 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21659
21660         * docs/manual/advanced-clocks.xml:
21661         * docs/manual/advanced-interfaces.xml:
21662         * docs/manual/advanced-metadata.xml:
21663         * docs/manual/advanced-position.xml:
21664         * docs/manual/advanced-schedulers.xml:
21665         * docs/manual/advanced-threads.xml:
21666         * docs/manual/appendix-porting.xml:
21667         * docs/manual/basics-bins.xml:
21668         * docs/manual/basics-bus.xml:
21669         * docs/manual/basics-elements.xml:
21670         * docs/manual/basics-helloworld.xml:
21671         * docs/manual/basics-pads.xml:
21672         * docs/manual/highlevel-components.xml:
21673         * docs/manual/manual.xml:
21674         * docs/manual/thread.fig:
21675           Update (until threads/scheduling) Application Development Manual;
21676           remove GstThread, add GstBus, add simple porting checklist, add
21677           documentation for tag writing, clocks, make all examples until this
21678           part compile and run.
21679         * examples/manual/Makefile.am:
21680           Update from changes to Application Development Manual; add bus
21681           example, remove thread example.
21682
21683 2005-06-28  Wim Taymans  <wim@fluendo.com>
21684
21685         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21686         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21687         (gst_bus_source_dispatch):
21688         Add debugging messages.
21689         Make internal methods static.
21690         Handle the case where the bus is flushed in the handler.
21691         
21692         * gst/gstelement.c: (gst_element_get_bus):
21693         Fix refcount in _get_bus();
21694
21695         * gst/gstpipeline.c: (gst_pipeline_change_state),
21696         (gst_pipeline_get_clock_func):
21697         Clock refcounting fixes.
21698         Handle the case where preroll timed out more gracefully.
21699         
21700         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21701         Clean up the internal thread in dispose. This is needed
21702         for subclasses that actually get disposed.
21703         
21704         * gst/schedulers/threadscheduler.c:
21705         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21706         (gst_thread_scheduler_dispose):
21707         Free thread pool in dispose.
21708
21709 2005-06-28  Andy Wingo  <wingo@pobox.com>
21710
21711         * tests/network-clock-utils.scm (debug, print-event): New utils.
21712
21713         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21714         (*packet-loss*): Unified loss probability.
21715         (network-time): Report out-of-band events.
21716
21717         * tests/plot-data: Add support for out-of-band events. Hack it
21718         into this script instead of passing it down the pipe; should fix
21719         this later.
21720
21721 2005-06-28  Wim Taymans  <wim@fluendo.com>
21722
21723         * docs/gst/gstreamer.types:
21724         * docs/gst/tmpl/gstbasesrc.sgml:
21725         * docs/gst/tmpl/gstpad.sgml:
21726         Docs fixes.
21727
21728 2005-06-28  Wim Taymans  <wim@fluendo.com>
21729
21730         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21731         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21732         (gst_proxy_pad_do_fixatecaps):
21733         Correctly proxy the check_pull_range function.
21734
21735 2005-06-28  Andy Wingo  <wingo@pobox.com>
21736
21737         * tests/network-clock.scm: Removed need for slib.
21738         
21739 2005-06-28  Wim Taymans  <wim@fluendo.com>
21740
21741         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21742         (gst_basesink_preroll_queue_flush):
21743         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21744         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21745         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21746         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21747         (gst_proxy_pad_set_property):
21748         * gst/gstpad.c:
21749         * gst/gstpad.h:
21750         * gst/gstqueue.c: (gst_queue_init):
21751         The deprecated pad loop function is removed now.
21752
21753 2005-06-28  Andy Wingo  <wingo@pobox.com>
21754
21755         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21756         New parameters, simulate network packet loss.
21757
21758         * tests/network-clock-utils.scm: Initialize the RNG.
21759
21760 2005-06-28  Wim Taymans  <wim@fluendo.com>
21761
21762         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21763         (gst_basesink_event), (gst_basesink_deactivate):
21764         Flushing the preroll queue always needs to unlock the waiters.
21765
21766 2005-06-28  Edward Hervey  <edward@fluendo.com>
21767
21768         * gst/gstpipeline.c: (gst_pipeline_send_event): 
21769         Wheen a seek was successful on a pipeline, set the stream_time to the
21770         seek offset in order to have a synchronized stream_time.
21771
21772 2005-06-28  Wim Taymans  <wim@fluendo.com>
21773
21774         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21775         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21776         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21777         (gst_proxy_pad_do_fixatecaps):
21778         Call wrapper function instead of just calling the function
21779         pointers. This takes care of any locking and whatmore.
21780
21781 2005-06-28  Wim Taymans  <wim@fluendo.com>
21782
21783         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21784         (gst_pad_pull_range):
21785         * gst/gstpad.h:
21786         CONNECTED -> LINKED.
21787
21788 2005-06-28  Andy Wingo  <wingo@pobox.com>
21789
21790         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21791         source-munging commit!!!
21792
21793         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
21794         (gst_object_sink): Take gpointer arguments, not GstObject --
21795         avoids casts. Like GLib.
21796
21797         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21798         activate.
21799
21800 2005-06-27  Andy Wingo  <wingo@pobox.com>
21801
21802         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21803         remaining buffer.
21804
21805         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21806         returns a sorted copy of the trace list.
21807         (gst_alloc_trace_print_live): New API, only prints traces with
21808         live objects. Sort the list.
21809         (gst_alloc_trace_print_all): Sort the list.
21810         (gst_alloc_trace_print): Align columns.
21811
21812         * gst/elements/gstttypefindelement.c:
21813         * gst/elements/gsttee.c:
21814         * gst/base/gstbasesrc.c:
21815         * gst/base/gstbasesink.c:
21816         * gst/base/gstbasetransform.c:
21817         * gst/gstqueue.c: Adapt for pad activation changes.
21818
21819         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21820         sched.
21821         (gst_pipeline_dispose): Drop ref on sched.
21822
21823         * gst/gstpad.c (gst_pad_init): Set the default activate func.
21824         (gst_pad_activate_default): Push mode by default.
21825         (pre_activate_switch, post_activate_switch): New stubs, things to
21826         do before and after switching activation modes on pads.
21827         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21828         the pad's activate function to choose which mode to activate.
21829         Shortcut on deactivation and call the right function directly.
21830         (gst_pad_activate_pull): New API, (de)activates a pad in pull
21831         mode.
21832         (gst_pad_activate_push): New API, same for push mode.
21833         (gst_pad_set_activate_function) 
21834         (gst_pad_set_activatepull_function) 
21835         (gst_pad_set_activatepush_function): Setters for new API.
21836
21837         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21838         Trace all miniobjects.
21839         (gst_mini_object_make_writable): Unref the arg if we copy, like
21840         gst_caps_make_writable.
21841
21842         * gst/gstmessage.c (_gst_message_initialize): No trace init.
21843
21844         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
21845         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21846         Adapt for new pad API.
21847
21848         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21849
21850         * gst/gstelement.h:
21851         * gst/gstelement.c (gst_element_iterate_src_pads) 
21852         (gst_element_iterate_sink_pads): New API functions.
21853         
21854         * gst/gstelement.c (iterator_fold_with_resync): New utility,
21855         should fold into gstiterator.c in some form.
21856         (gst_element_pads_activate): Simplified via use of fold and
21857         delegation of decisions to gstpad->activate.
21858
21859         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21860         help in debugging.
21861
21862         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21863         class once in init, like gstmessage. Didn't run into this issue
21864         but it seems correct. Don't initialize a trace, gstminiobject does
21865         that.
21866
21867         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21868         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21869         to the bus.
21870         (assert_live_count): New util function, uses alloc traces to check
21871         cleanup.
21872
21873         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21874         To be modified when unlink drops the internal pad.
21875
21876 2005-06-27  Wim Taymans  <wim@fluendo.com>
21877
21878         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21879         (gst_bin_change_state):
21880         Cleanup the get_state() function a little, make sure it
21881         iterates the same set of elements.
21882         Added stub iterate_state_order().
21883
21884 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21885
21886         * docs/gst/gstreamer-docs.sgml:
21887         * docs/gst/gstreamer-sections.txt:
21888         * docs/gst/gstreamer.types:
21889         * docs/gst/tmpl/gstbasesink.sgml:
21890         * docs/gst/tmpl/gstbasesrc.sgml:
21891         * docs/gst/tmpl/gstbasetransform.sgml:
21892         * docs/gst/tmpl/gstelement.sgml:
21893         * docs/gst/tmpl/gstiterator.sgml:
21894         * gst/base/gstbasesrc.c:
21895         * gst/base/gstbasesrc.h:
21896         * gst/base/gstbasetransform.h:
21897         * gst/gstelement.c:
21898         * gst/gstiterator.h:
21899           adding basetransform and iterator docs
21900
21901 2005-06-27  Andy Wingo  <wingo@pobox.com>
21902
21903         * docs/design/part-activation.txt: Notes on how activation should
21904         work -- not quite implemented yet.
21905
21906 2005-06-25  Wim Taymans  <wim@fluendo.com>
21907
21908         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21909         At least get the chain function correct, needs more
21910         fixing.
21911
21912 2005-06-25  Wim Taymans  <wim@fluendo.com>
21913
21914         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21915         (gst_basesink_handle_object), (gst_basesink_event),
21916         (gst_basesink_do_sync), (gst_basesink_handle_event),
21917         (gst_basesink_change_state):
21918         * gst/gsttask.h:
21919         Right, two problems here: ghostpads don't take locks and
21920         glib _rec_mutex_lock_full() with depth==0 still locks.
21921         Catch illegal locking and g_warn them.
21922
21923 2005-06-25  Wim Taymans  <wim@fluendo.com>
21924
21925         * check/states/sinks.c: (START_TEST), (gst_object_suite):
21926         Have to check for completion now...
21927
21928 2005-06-25  Wim Taymans  <wim@fluendo.com>
21929
21930         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21931         (gst_basesink_handle_object), (gst_basesink_event),
21932         (gst_basesink_do_sync), (gst_basesink_handle_event),
21933         (gst_basesink_change_state):
21934         * gst/gstpad.h:
21935         Unlock STREAM_LOCK whatever the recursion was.
21936
21937 2005-06-25  Wim Taymans  <wim@fluendo.com>
21938
21939         * gst/base/gstbasesink.c: (gst_basesink_set_property),
21940         (gst_basesink_preroll_queue_empty),
21941         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21942         (gst_basesink_event), (gst_basesink_do_sync),
21943         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21944         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21945         (gst_basesink_change_state):
21946         Reworked the base sink, handle event and buffer serialisation
21947         correctly and removed possible deadlock.
21948         Handle EOS correctly.
21949
21950 2005-06-25  Wim Taymans  <wim@fluendo.com>
21951
21952         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21953         (gst_pipeline_change_state):
21954         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21955         Allow elements to post EOS in the state change function.
21956         Fix up -launch, make it exit the poll loop when the
21957         pipeline actually changed state.
21958         Fix up warning parsing in -launch.
21959
21960 2005-06-25  Wim Taymans  <wim@fluendo.com>
21961
21962         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21963         (gst_tee_sink_activate):
21964         Core takes STREAM_LOCK for us now.
21965
21966 2005-06-25  Wim Taymans  <wim@fluendo.com>
21967
21968         * gst/gstelement.c: (gst_element_get_state_func),
21969         (gst_element_set_state):
21970         * gst/gstelement.h:
21971         * gst/gstmessage.c: (gst_message_parse_error),
21972         (gst_message_parse_warning):
21973         Keep track of current target state while performing a state
21974         change so that subclasses can do something interesting.
21975         Fix parsing of warning/error messages when GError is NULL.
21976
21977 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21978
21979         * docs/gst/Makefile.am:
21980         * docs/gst/gstreamer-docs.sgml:
21981         * docs/gst/gstreamer-sections.txt:
21982         * docs/gst/gstreamer.types:
21983         * docs/gst/tmpl/gstbasesink.sgml:
21984         * docs/gst/tmpl/gstbasesrc.sgml:
21985         * docs/gst/tmpl/gstbin.sgml:
21986         * docs/gst/tmpl/gstcompat.sgml:
21987         * docs/gst/tmpl/gstfakesink.sgml:
21988         * docs/gst/tmpl/gstfakesrc.sgml:
21989         * docs/gst/tmpl/gstfilesink.sgml:
21990         * docs/gst/tmpl/gstfilesrc.sgml:
21991         * docs/gst/tmpl/gstindex.sgml:
21992         * docs/manual/appendix-quotes.xml:
21993         * gst/base/gstbasesrc.h:
21994         * gst/elements/gstfakesrc.h:
21995         * gst/gstmessage.h:
21996           start pulling in base classes and elements in our docs
21997
21998 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
21999
22000         * docs/gst/Makefile.am:
22001         * docs/libs/Makefile.am:
22002           fixed make distcheck with gtk-doc 1.3
22003
22004 2005-06-23  Wim Taymans  <wim@fluendo.com>
22005
22006         * gst/gstelement.c: (gst_element_get_state_func),
22007         (gst_element_set_state), (gst_element_change_state):
22008         When the state did not change, also report NO_PREROLL
22009         when it matters.
22010
22011 2005-06-23  Wim Taymans  <wim@fluendo.com>
22012
22013         * gst/gstpad.c: (gst_pad_event_default):
22014         * gst/gstqueue.c: (gst_queue_loop):
22015         No unsafe task pausing please.
22016
22017 2005-06-23  Wim Taymans  <wim@fluendo.com>
22018
22019         * gst/schedulers/threadscheduler.c:
22020         (gst_thread_scheduler_task_start),
22021         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22022         Ref the task before pushing it on the threadpool. This
22023         makes sure that we have a ref when the threadfunction is
22024         actually called.
22025
22026 2005-06-23  Andy Wingo  <wingo@pobox.com>
22027
22028         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22029         offset is greater than the file's size.
22030
22031         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
22032         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22033         * gst/gstobject.c (gst_object_class_init): Make the class lock
22034         recursive. Wim won't let me drop deep_notify. Decodebin works
22035         again, whoopdy doo.
22036
22037         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22038         internal pad, and hacks accordingly. Doesn't do it on the target
22039         pad because we change its caps. Probably catches all cases of
22040         interest tho.
22041         (gst_ghost_pad_set_property): Connect to notify::caps as
22042         appropritate.
22043
22044         * tests/network-clock.scm (plot-simulation): Pipe data to the
22045         elite python skript.
22046
22047         * tests/network-clock-utils.scm (define-parameter): New macro,
22048         defines a parameter that can be set via the command line.
22049         (set-parameter!, parse-parameter-arguments): Command line args
22050         parser.
22051
22052         * tests/plot-data: Simple matplotlib-based plotter, takes input on
22053         stdin.
22054
22055 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
22056
22057         * gst/elements/gsttypefindelement.c:
22058         (gst_type_find_element_handle_event):
22059           Don't restart typefinding on a discont.
22060         * gst/gstelement.c: (gst_element_set_state):
22061           Debug spelling fix.
22062         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22063           Allow changing mode of an active pad.
22064           Debug output fixes.
22065         * gst/registries/gstlibxmlregistry.c: (load_feature):
22066           Don't cast a static pad template to a normal pad template.
22067
22068 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22069
22070         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22071         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22072           remove gst_strtoll completely, since it didn't actually do
22073           anything more than what g_ascii_strtoull already does.
22074           check for range errors when deserializing
22075           do a cast for the unsigned cases; but further fixing needs
22076           a decision on what the interpretation of "(int)" and
22077           deserialization should be for values that fall outside the
22078           type's boundaries (ie, refuse, or interpret as casting)
22079
22080 2005-06-23  Wim Taymans  <wim@fluendo.com>
22081
22082         * check/Makefile.am:
22083         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22084         * docs/design/part-live-source.txt:
22085         * docs/design/part-states.txt:
22086         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22087         (gst_basesrc_set_live), (gst_basesrc_is_live),
22088         (gst_basesrc_get_range), (gst_basesrc_activate),
22089         (gst_basesrc_change_state):
22090         * gst/base/gstbasesrc.h:
22091         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22092         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22093         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22094         * gst/gstelement.c: (gst_element_get_state_func),
22095         (gst_element_set_state):
22096         * gst/gstelement.h:
22097         * gst/gsttypes.h:
22098         * tools/gst-launch.c: (event_loop), (main):
22099         Added support for live sources and other elements that
22100         cannot do preroll.
22101         Updated design docs, added live-source design doc.
22102         Implemented live source functionality in basesrc
22103         Fix error condition in _bin_get_state()
22104         Implement live source handling in -launch.
22105         Added check for live sources.
22106         Fixed case in GstBin where elements were changed state
22107         multiple times.
22108
22109
22110 2005-06-23  Andy Wingo  <wingo@pobox.com>
22111
22112         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22113         borken refcounting.
22114
22115         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22116         gst_caps_replace takes care of this for us.
22117
22118         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22119         gst_pad_set_caps on the target, not just its setcaps() function.
22120
22121         * tests/network-clock.scm: 
22122         * tests/network-clock-utils.scm: A network clock simulator.
22123         Something of an algorithmic testbed before doing something in C.
22124
22125 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22126
22127         * check/Makefile.am:
22128         * check/gst/capslist.h:
22129           copy over from 0.8, and add two with bitmasks specified with
22130           (int) 0xFF...
22131         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22132           add test to parse everything from capslist.h
22133         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22134         (main):
22135           add test for structure deserialization
22136         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22137           add tests for deserialization of strings to int types
22138         * gst/gststructure.c: (gst_structure_nth_field_name):
22139         * gst/gststructure.h:
22140           add a way to get the name of a field referenced by index
22141         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22142           instead of checking if the resulting long long lies between
22143           min and max, we check if the long long would fit into
22144           a number of bytes for the final type.
22145           This fixes cases where a string represents 2^32 - 1, which
22146           when cast to int would be the (valid) -1, but is bigger than
22147           G_MAXINT
22148
22149 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22150
22151         * gst/parse/grammar.y:
22152           add a log line for type deserialization
22153
22154 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22155
22156         * check/gst/gstvalue.c: (START_TEST):
22157         * gst/gstvalue.c: (gst_value_deserialize):
22158           return long long, not int, so gint64 deserialization actually
22159           works.  Is there any flag that makes the compiler check this ?
22160           Fixes #308559
22161
22162 2005-06-22  Wim Taymans  <wim@fluendo.com>
22163
22164         * gst/gstbuffer.h:
22165         Added convenience macros for setting buffers in GValue.
22166
22167 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22168
22169         * check/gst/.cvsignore:
22170         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22171           add a test deserializing int64, and comment part out because
22172           it fails, yay !
22173
22174 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22175
22176         * check/Makefile.am:
22177         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22178         * testsuite/Makefile.am:
22179         * testsuite/caps/Makefile.am:
22180         * testsuite/caps/value_serialize.c:
22181         * testsuite/test_gst_init.c:
22182           move a value_serialize test over
22183
22184 2005-06-20  Wim Taymans  <wim@fluendo.com>
22185
22186         * gst/gstpad.c:
22187         Small doc updates.
22188         
22189         * gst/gstvalue.c: (gst_value_compare_buffer),
22190         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22191         (gst_value_compare_flags), (gst_value_serialize_flags),
22192         (gst_value_deserialize_flags), (_gst_value_initialize):
22193         Fix serialisation of buffers, they are not boxed types anymore
22194
22195 2005-06-20  Wim Taymans  <wim@fluendo.com>
22196
22197         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22198         Testcase to show error in buffer-on-caps serialisation.
22199
22200 2005-06-20  Andy Wingo  <wingo@pobox.com>
22201
22202         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22203         will be adding to later.
22204
22205         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22206         if its socks fill with rocks.
22207         (gst_system_clock_obtain): Set the name on object construction.
22208         Avoid double-checked locking.
22209
22210 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22211
22212         * gst/gsturi.c: (gst_element_make_from_uri):
22213           Fix potential endless loop.
22214
22215 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22216
22217         * check/Makefile.am:
22218           add gsttag
22219         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22220         (main):
22221           move over from testsuite dir and clean up
22222         * configure.ac:
22223         * gst/gsttag.c:
22224         * testsuite/Makefile.am:
22225         * testsuite/tags/.cvsignore:
22226         * testsuite/tags/Makefile.am:
22227         * testsuite/tags/merge.c:
22228           remove testsuite/tags
22229
22230 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22231
22232         * docs/gst/gstreamer-sections.txt:
22233         * docs/gst/tmpl/gstenumtypes.sgml:
22234         * win32/gstenumtypes.c:
22235           clean up documentation build a little
22236
22237 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22238
22239         * check/gstcheck.h:
22240           add macros for checking refcounts on objects and caps
22241         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22242           add some more unit tests
22243         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22244         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22245           fix leaked refcounts (I hope :)) so unittest works
22246         * gst/gstpad.h:
22247           whitespace removal
22248
22249 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22250
22251         * configure.ac: back to HEAD
22252
22253 === release 0.9.1 ===
22254
22255 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22256
22257         * NEWS:
22258         * RELEASE:
22259           updated
22260
22261 2005-06-17  Andy Wingo  <wingo@pobox.com>
22262
22263         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22264         assert; it's always possible that the pad gets deactivated in
22265         between the checks in gstpad.c and the implementation. Rely on
22266         finish_preroll() to return a FLUSHING or similar instead of on the
22267         assert.
22268         
22269         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22270         clock and post an EOS message if we come out of finish_preroll in
22271         the playing state.
22272
22273 2005-06-16  David Schleef  <ds@schleef.org>
22274
22275         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22276         (gst_capsfilter_set_property): Allow NULL as possible value
22277         for filter_caps property, indicating GST_CAPS_ANY.
22278
22279 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22280
22281         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22282           fix debug output
22283         * gst/schedulers/Makefile.am:
22284           use libgst prefix
22285         * gstreamer.spec.in:
22286           fix spec for it
22287
22288 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22289
22290         * gstreamer.spec.in:
22291           clean up
22292
22293 2005-06-08  Andy Wingo  <wingo@pobox.com>
22294
22295         * gst/gstutils.c: RPAD fixes all around.
22296         (gst_element_link_pads): Refcounting fixes.
22297
22298         * tools/gst-inspect.c:
22299         * tools/gst-xmlinspect.c:
22300         * parse/grammar.y:
22301         * gst/base/gsttypefindhelper.c:
22302         * gst/base/gstbasesink.c:
22303         * gst/gstqueue.c: RPAD fixes.
22304
22305         * gst/gstghostpad.h:
22306         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22307         pads. The tricky thing is they provide both source and sink
22308         interfaces, since they proxy the internal pad for the external
22309         pad, and vice versa. Implement with lower-level ProxyPad objects,
22310         with the interior proxy pad as a child of the exterior ghost pad.
22311         Should write a doc on this.
22312         
22313         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22314         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22315         gst_object API.
22316         
22317         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22318         pads are real pads. No ghost pads in this file. Not documenting
22319         the myriad s/RPAD/PAD/ and REALIZE fixes.
22320         (gst_pad_class_init): Add properties for "direction" and
22321         "template". Both are construct-only, so they can't change during
22322         the life of the pad. Fixes properly deriving from GstPad.
22323         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22324         derived objects, just set properties when creating the objects via
22325         g_object_new.
22326         (gst_pad_get_parent): Implement as a function, return NULL if the
22327         parent is not an element.
22328         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22329         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22330         
22331         * gst/gstobject.c (gst_object_class_init): Make name a construct
22332         property. Don't set it in the object init.
22333
22334         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22335         with UNKNOWN direction.
22336         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22337         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22338         (gst_element_remove_pad): Remove ghost-pad special cases.
22339         (gst_element_pads_activate): Remove rpad cruft.
22340
22341         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22342         catch the pad's-parent-not-an-element case.
22343
22344         * gst/gst.h: Include gstghostpad.h.
22345
22346         * gst/gst.c (init_post): No more real, ghost pads.
22347
22348         * gst/Makefile.am: Add gstghostpad.[ch].
22349
22350         * check/Makefile.am:
22351         * check/gst/gstbin.c:
22352         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22353         into a bin creates ghost pads, and that the refcounts are right.
22354         Partly moved from gstbin.c.
22355
22356 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22357
22358         * check/gst-libs/.cvsignore:
22359         * check/gst/.cvsignore:
22360         * check/pipelines/.cvsignore:
22361           ignore more
22362         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22363         (START_TEST), (cleanup_suite), (main):
22364           add some tests related to cleanup after running pipelines
22365
22366 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22367
22368         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22369           add a testsuite for GstBuffer
22370
22371 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22372
22373         * gst/gstminiobject.h:
22374           add defines for accessing the refcount
22375
22376 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22377
22378         * Makefile.am: added support for html unit test coverage reports
22379
22380 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22381
22382         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22383           Free existing caps if the capsfilter changes. Add a FIXME about
22384           setting those caps on the pads.
22385
22386         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22387           Before adding a ghost pad to a parent bin, check that there isn't
22388           already one for the element on the bin. Prevents infinite recursion
22389           when using decodebin in parse pipelines. Andy says he'll rewrite the
22390           way this works anyway, so ignore the hack.
22391
22392 2005-06-02  Andy Wingo  <wingo@pobox.com>
22393
22394         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22395         file size, pass it on to the type find helper.
22396
22397         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22398         segment_start and segment_end properly according to the seek
22399         method. Segment_end is still a bit flaky because offset can be
22400         negative for CUR and END cases, but it takes -1 as an "unset"
22401         value.
22402
22403 2005-06-02  Wim Taymans  <wim@fluendo.com>
22404
22405         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22406         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22407         (gst_basesink_activate):
22408         * gst/base/gstbasesink.h:
22409         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22410         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22411         (gst_pad_query), (gst_pad_start_task):
22412         * gst/gstpad.h:
22413         * gst/gstqueue.c: (gst_queue_bufferalloc),
22414         (gst_queue_handle_sink_event), (gst_queue_chain):
22415         Bufferalloc: return GstFlowReturn to more accuratly report
22416         why allocation failed.
22417
22418 2005-06-02  Wim Taymans  <wim@fluendo.com>
22419
22420         * gst/gstpipeline.c: (gst_pipeline_send_event):
22421         Take snapshot of state without blocking.
22422
22423 2005-06-02  Wim Taymans  <wim@fluendo.com>
22424
22425         * docs/design/part-TODO.txt:
22426         * docs/design/part-caps.txt:
22427         * docs/design/part-clocks.txt:
22428         * docs/design/part-negotiation.txt:
22429         * docs/design/part-preroll.txt:
22430         Small doc updates 
22431
22432 2005-05-30  Wim Taymans  <wim@fluendo.com>
22433
22434         * gst/elements/gstidentity.c: (gst_identity_event),
22435         (gst_identity_transform), (gst_identity_get_property):
22436         Protect last_message property as it is accessed from
22437         multiple threads.
22438
22439 2005-05-30  Wim Taymans  <wim@fluendo.com>
22440
22441         * gst/gstelement.c: (gst_element_init),
22442         (gst_element_pads_activate), (gst_element_change_state):
22443         Slicker pad activation code.
22444
22445 2005-05-30  Wim Taymans  <wim@fluendo.com>
22446
22447         * gst/Makefile.am:
22448         * gst/gstelement.h:
22449         * gst/gstelementfactory.h:
22450         * gst/gsttypes.h:
22451         Move elementfactory methods to separate .h file.
22452
22453 2005-05-30  Wim Taymans  <wim@fluendo.com>
22454
22455         * docs/design/part-overview.txt:
22456         * gst/gstsystemclock.h:
22457         Small typo fixes, doc updates.
22458
22459 2005-05-30  Wim Taymans  <wim@fluendo.com>
22460
22461         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22462         (init_popt_callback):
22463         Remove cpu-opt flag.
22464
22465 2005-05-30  Wim Taymans  <wim@fluendo.com>
22466
22467         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22468         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22469         * gst/gstbuffer.h:
22470         Avoid typechecking in places where not needed.
22471         Added accessor for malloc_data.
22472
22473 2005-05-30  Wim Taymans  <wim@fluendo.com>
22474
22475         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22476         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22477         (gst_pad_configure_sink), (gst_pad_configure_src),
22478         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22479         (gst_pad_start_task):
22480         Propagate errors from _set_caps() in configure_src/sink
22481         functions instead of returning TRUE.
22482         FLUSH events can travel up and downstream
22483
22484
22485 2005-05-30  Wim Taymans  <wim@fluendo.com>
22486
22487         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22488         (gst_basesink_activate):
22489         Handle EOS in preroll.
22490
22491 2005-05-30  Wim Taymans  <wim@fluendo.com>
22492
22493         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22494         (gst_queue_loop), (gst_queue_handle_src_event):
22495         Remove old pieces of code
22496         Flushing the queue in an upstream event is a very bad idea.
22497
22498 2005-05-26  Andy Wingo  <wingo@pobox.com>
22499
22500         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22501         gst_value_set_mini_object so as to add a ref on the object (which
22502         will be removed when the value is unset).
22503
22504         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22505         arg type in ::handoff.
22506
22507         * gst/gstelement.c (gst_element_change_state): Also deactivate
22508         pads in READY->NULL, just in case the element didn't make it to
22509         PAUSED. Wingo tested, Wim approved.
22510
22511 2005-05-26  Wim Taymans  <wim@fluendo.com>
22512
22513         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22514         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22515         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22516         A flushing pad cannot be used to alloc_buffer from.
22517
22518 2005-05-26  Wim Taymans  <wim@fluendo.com>
22519
22520         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22521         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22522         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22523         (gst_bus_create_watch), (gst_bus_add_watch_full):
22524         * gst/gstbus.h:
22525         Implement a real GSource and use g_main_context_wakeup() to
22526         signal new messages instead of the socketpair.
22527
22528 2005-05-25  Wim Taymans  <wim@fluendo.com>
22529
22530         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22531         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22532         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22533         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22534         (gst_pad_send_event), (gst_pad_start_task):
22535         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22536         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22537         (gst_queue_sink_activate), (gst_queue_src_activate),
22538         (gst_queue_change_state):
22539         * gst/gstqueue.h:
22540         Fix state changes for non sinks. We now change sinks, then elements
22541         with unconnected srcpads, then the rest.
22542         More efficient queue unlocking in flush and state changes.
22543         Set the pad activate mode even if it does not have an activate
22544         function.
22545
22546 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22547
22548         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22549           Don't go in pull mode for non-seekable sources.
22550         * gst/elements/gsttypefindelement.h:
22551         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22552         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22553         (free_entry), (stop_typefinding),
22554         (gst_type_find_element_handle_event), (find_peek),
22555         (gst_type_find_element_chain), (do_pull_typefind),
22556         (gst_type_find_element_change_state):
22557           Allow typefinding (w/o seeking) in push-mode, simplified version
22558           of what was in 0.8.
22559         * gst/gstutils.c: (gst_buffer_join):
22560         * gst/gstutils.h:
22561           gst_buffer_join() from 0.8.
22562
22563 2005-05-25  Wim Taymans  <wim@fluendo.com>
22564
22565         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22566         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22567         (gst_pad_send_event), (gst_pad_start_task):
22568         Disable attempt at mode switching until it is figured out.
22569
22570 2005-05-25  Wim Taymans  <wim@fluendo.com>
22571
22572         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22573         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22574         (gst_basesink_finish_preroll), (gst_basesink_chain),
22575         (gst_basesink_loop), (gst_basesink_activate),
22576         (gst_basesink_change_state):
22577         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22578         (gst_basesrc_get_range), (gst_basesrc_loop),
22579         (gst_basesrc_activate):
22580         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22581         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22582         (gst_real_pad_init), (gst_real_pad_set_property),
22583         (gst_real_pad_get_property), (gst_pad_set_active),
22584         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22585         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22586         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22587         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22588         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22589         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22590         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22591         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22592         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22593         (gst_pad_stop_task):
22594         * gst/gstpad.h:
22595         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22596         (gst_queue_loop), (gst_queue_src_activate):
22597         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22598         (gst_task_get_state):
22599         * gst/gsttask.h:
22600         * gst/schedulers/threadscheduler.c:
22601         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22602         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22603         in task function.
22604         Remove ACTIVE pad flag, use FLUSHING everywhere
22605         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22606         functions.
22607         Add locks around IS_FLUSHING when reading.
22608         Take STREAM lock in chain(), get_range() functions so plugins
22609         don't need to take it anymore.
22610         
22611
22612
22613 2005-05-25  Wim Taymans  <wim@fluendo.com>
22614
22615         * tools/gst-launch.c: (event_loop):
22616         Unref message after using its contents instead of
22617         before.
22618
22619 2005-05-24  Wim Taymans  <wim@fluendo.com>
22620
22621         * docs/design/draft-ghostpads.txt:
22622         * docs/design/draft-push-pull.txt:
22623         * docs/design/draft-query.txt:
22624         * docs/design/part-overview.txt:
22625         Docs updates, added general overview doc.
22626
22627 2005-05-21  David Schleef  <ds@schleef.org>
22628
22629         * docs/gst/tmpl/old/GstBin.sgml:
22630         * docs/gst/tmpl/old/GstBuffer.sgml:
22631         * docs/gst/tmpl/old/GstCaps.sgml:
22632         * docs/gst/tmpl/old/GstClock.sgml:
22633         * docs/gst/tmpl/old/GstCompat.sgml:
22634         * docs/gst/tmpl/old/GstData.sgml:
22635         * docs/gst/tmpl/old/GstElement.sgml:
22636         * docs/gst/tmpl/old/GstEvent.sgml:
22637         * docs/gst/tmpl/old/GstIndex.sgml:
22638         * docs/gst/tmpl/old/GstStructure.sgml:
22639         * docs/gst/tmpl/old/GstTag.sgml:
22640         * docs/gst/tmpl/old/cothreads.sgml:
22641         * docs/gst/tmpl/old/cothreads_compat.sgml:
22642         * docs/gst/tmpl/old/gettext.sgml:
22643         * docs/gst/tmpl/old/gobject2gtk.sgml:
22644         * docs/gst/tmpl/old/grammar.tab.sgml:
22645         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22646         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22647         * docs/gst/tmpl/old/gst_private.sgml:
22648         * docs/gst/tmpl/old/gstaggregator.sgml:
22649         * docs/gst/tmpl/old/gstarch.sgml:
22650         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22651         * docs/gst/tmpl/old/gstbufferstore.sgml:
22652         * docs/gst/tmpl/old/gstdata_private.sgml:
22653         * docs/gst/tmpl/old/gstdisksink.sgml:
22654         * docs/gst/tmpl/old/gstdisksrc.sgml:
22655         * docs/gst/tmpl/old/gstelementfactory.sgml:
22656         * docs/gst/tmpl/old/gstextratypes.sgml:
22657         * docs/gst/tmpl/old/gstfakesink.sgml:
22658         * docs/gst/tmpl/old/gstfakesrc.sgml:
22659         * docs/gst/tmpl/old/gstfdsink.sgml:
22660         * docs/gst/tmpl/old/gstfdsrc.sgml:
22661         * docs/gst/tmpl/old/gstfilesink.sgml:
22662         * docs/gst/tmpl/old/gstfilesrc.sgml:
22663         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22664         * docs/gst/tmpl/old/gstidentity.sgml:
22665         * docs/gst/tmpl/old/gstindexfactory.sgml:
22666         * docs/gst/tmpl/old/gstmarshal.sgml:
22667         * docs/gst/tmpl/old/gstmd5sink.sgml:
22668         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22669         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22670         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22671         * docs/gst/tmpl/old/gstpipefilter.sgml:
22672         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22673         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22674         * docs/gst/tmpl/old/gstshaper.sgml:
22675         * docs/gst/tmpl/old/gstspider.sgml:
22676         * docs/gst/tmpl/old/gstspideridentity.sgml:
22677         * docs/gst/tmpl/old/gststatistics.sgml:
22678         * docs/gst/tmpl/old/gsttee.sgml:
22679         * docs/gst/tmpl/old/gsttimecache.sgml:
22680         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22681         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22682         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22683         * docs/gst/tmpl/old/types.sgml:
22684           I didn't intend to add these or check them in.
22685
22686 2005-05-19  David Schleef  <ds@schleef.org>
22687
22688         * configure.ac: Use -no-common everywhere.  In a sane world, it
22689           would be the default in libtool, because without it, you can't
22690           build DLLs on Windows.
22691         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22692         * docs/gst/gstreamer-sections.txt:
22693         * docs/gst/tmpl/gstcpu.sgml:
22694         * docs/gst/tmpl/gstdata.sgml:
22695         * docs/gst/tmpl/gstthread.sgml:
22696
22697 2005-05-19  David Schleef  <ds@schleef.org>
22698
22699         * gst/gstminiobject.c: (gst_value_set_mini_object),
22700         (gst_value_take_mini_object), (gst_value_get_mini_object):
22701         * gst/gstminiobject.h: Add GValue set/get functions.
22702
22703 2005-05-19  Wim Taymans  <wim@fluendo.com>
22704
22705         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22706         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22707         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22708         * gst/gstbuffer.h:
22709         * gst/gstbus.c: (gst_bus_post):
22710         * gst/gstelement.c: (gst_element_get_random_pad):
22711         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22712         Make subbufer unref the parent in finalize.
22713         some more debugging info.
22714
22715
22716 2005-05-19  Wim Taymans  <wim@fluendo.com>
22717
22718         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22719         (gst_basesink_init), (gst_basesink_finalize),
22720         (gst_basesink_activate), (gst_basesink_change_state):
22721         Don't free preroll queue too early.
22722
22723 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22724
22725         * gst/Makefile.am:
22726         * gst/ROADMAP:
22727           Hi, I'm outdated. Please shoot me.
22728
22729 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22730
22731         * gst/gstpipeline.c: (gst_pipeline_send_event):
22732           Do not access variables after they have been deleted.
22733
22734 2005-05-19  Wim Taymans  <wim@fluendo.com>
22735
22736         * tools/gst-inspect.c: (print_plugin_features):
22737         A plugin feature does unfortunatly not use the
22738         object name yet...
22739
22740 2005-05-18  Wim Taymans  <wim@fluendo.com>
22741
22742         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22743         Port _span() functions to new subbuffers.
22744
22745 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22746
22747         * gst/gstbin.c: (gst_bin_add_func):
22748           Fix clock settery in bins when adding kids after the clock has
22749           been selected.
22750
22751 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22752
22753         * gst/elements/gstidentity.c: (gst_identity_class_init):
22754           Workaround until signals support GstMiniObject.
22755
22756 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
22757
22758         * gst/gstbuffer.c:
22759         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22760
22761 2005-05-18  Wim Taymans  <wim@fluendo.com>
22762
22763         * gst/base/Makefile.am:
22764         * gst/base/gstadapter.c: (gst_adapter_base_init),
22765         (gst_adapter_class_init), (gst_adapter_init),
22766         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22767         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22768         (gst_adapter_flush), (gst_adapter_available),
22769         (gst_adapter_available_fast):
22770         * gst/base/gstadapter.h:
22771         Ported and added adapter to the base classes.
22772
22773 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22774
22775         * gst/gst.c:
22776         * gst/gstmessage.c:
22777           Make sure the class is reffed/unreffed once before threads can be
22778           used.  Fixes #304551.
22779
22780 2005-05-17  Wim Taymans  <wim@fluendo.com>
22781
22782         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22783         (gst_basesink_chain_unlocked), (gst_basesink_activate):
22784         * gst/gstminiobject.c: (gst_mini_object_get_type),
22785         (gst_mini_object_free):
22786         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22787         (gst_pad_push), (gst_pad_push_event):
22788         * gst/gstqueue.c: (gst_queue_change_state):
22789         Don't queue buffers in basesink when we are flushing.
22790         Unref buffer when flushing in basesink.
22791         Flush queue when going to READY
22792         Unref buffer when _push() returns an error.
22793         Don't free MiniObject instance when refcount is incremented
22794         in _finalize() so that we can recover objects.
22795
22796 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22797
22798         * docs/manual/advanced-schedulers.xml:
22799         * docs/manual/appendix-checklist.xml:
22800         * docs/pwg/advanced-clock.xml:
22801         * docs/pwg/advanced-interfaces.xml:
22802         * docs/pwg/advanced-request.xml:
22803         * docs/pwg/advanced-types.xml:
22804         * docs/pwg/intro-preface.xml:
22805         * examples/plugins/example.c: (gst_example_get_type),
22806         (gst_example_class_init), (gst_example_chain),
22807         (gst_example_set_property), (gst_example_get_property),
22808         (gst_example_change_state), (plugin_init):
22809         * examples/plugins/example.h:
22810           small doc fixes
22811
22812 2005-05-17  Wim Taymans  <wim@fluendo.com>
22813
22814         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22815         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22816         * gst/gstqueue.c: (gst_queue_change_state):
22817         Clear queue when going to READY.
22818         Remove IN_SETCAPS flag too.
22819
22820 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
22821
22822         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22823           Remove implicit cast from gboolean to GstElementStateReturn;
22824           make sure we still return failure in paused => ready case if
22825           the parent class fails to change state and our own stop 
22826           vfunc succeeds.
22827
22828 2005-05-17  Wim Taymans  <wim@fluendo.com>
22829
22830         * tools/gst-launch.c: (event_loop):
22831         Message was unreffed too soon.
22832
22833 2005-05-16  Andy Wingo  <wingo@pobox.com>
22834
22835         * gst/gstbin.c (sink_iterator_filter): Err... um...
22836
22837         * check/gst/gstbin.c (test_ghost_pads): New test for the
22838         ghosting-if-elements-not-in-same-bin behavior.
22839
22840 2005-05-16  David Schleef  <ds@schleef.org>
22841
22842         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22843         accessing refcount directly.
22844
22845 2005-05-15  David Schleef  <ds@schleef.org>
22846
22847         * check/Makefile.am: remove GstData checks
22848         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22849         * gst/Makefile.am: add miniobject, remove data
22850         * gst/gst.h: add miniobject, remove data
22851         * gst/gstdata.c: remove
22852         * gst/gstdata.h: remove
22853         * gst/gstdata_private.h: remove
22854         * gst/gsttypes.h: remove GstEvent and GstMessage
22855         * gst/gstelement.c: (gst_element_post_message): fix for API changes
22856         * gst/gstmarshal.list: change BOXED -> OBJECT
22857
22858         Implement GstMiniObject.
22859         * gst/gstminiobject.c:
22860         * gst/gstminiobject.h:
22861
22862         Modify to be subclasses of GstMiniObject.
22863         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22864         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22865         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22866         (gst_subbuffer_get_type), (gst_subbuffer_init),
22867         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22868         (gst_buffer_span):
22869         * gst/gstbuffer.h:
22870         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22871         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22872         (_gst_event_copy), (gst_event_new):
22873         * gst/gstevent.h:
22874         * gst/gstmessage.c: (_gst_message_initialize),
22875         (gst_message_get_type), (gst_message_class_init),
22876         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22877         (gst_message_new), (gst_message_new_error),
22878         (gst_message_new_warning), (gst_message_new_tag),
22879         (gst_message_new_state_changed), (gst_message_new_application):
22880         * gst/gstmessage.h:
22881         * gst/gstprobe.c: (gst_probe_perform),
22882         (gst_probe_dispatcher_dispatch):
22883         * gst/gstprobe.h:
22884         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22885         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22886         (_gst_query_copy), (gst_query_new):
22887
22888         Update elements for GstData -> GstMiniObject changes
22889         * gst/gstquery.h:
22890         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22891         (gst_queue_chain), (gst_queue_loop):
22892         * gst/elements/gstbufferstore.c:
22893         (gst_buffer_store_add_buffer_func),
22894         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22895         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22896         (gst_fakesink_render):
22897         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22898         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22899         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22900         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22901         (gst_filesrc_create_read):
22902         * gst/elements/gstidentity.c: (gst_identity_class_init):
22903         * gst/elements/gsttypefindelement.c:
22904         (gst_type_find_element_src_event), (free_entry_buffers),
22905         (gst_type_find_element_handle_event):
22906         * libs/gst/dataprotocol/dataprotocol.c:
22907         (gst_dp_header_from_buffer):
22908         * libs/gst/dataprotocol/dataprotocol.h:
22909         * libs/gst/dataprotocol/dp-private.h:
22910
22911 2005-05-15  David Schleef  <ds@schleef.org>
22912
22913         * gst/elements/gstelements.c: Don't include headers that were
22914         just removed.
22915
22916 2005-05-15  David Schleef  <ds@schleef.org>
22917
22918         * gst/elements/Makefile.am: Remove some elements that don't
22919         need to be in the core (or even exist at all).
22920         * gst/elements/gstaggregator.c:
22921         * gst/elements/gstaggregator.h:
22922         * gst/elements/gstmd5sink.c:
22923         * gst/elements/gstmd5sink.h:
22924         * gst/elements/gstmultifilesrc.c:
22925         * gst/elements/gstmultifilesrc.h:
22926         * gst/elements/gstpipefilter.c:
22927         * gst/elements/gstpipefilter.h:
22928         * gst/elements/gstshaper.c:
22929         * gst/elements/gstshaper.h:
22930         * gst/elements/gststatistics.c:
22931         * gst/elements/gststatistics.h:
22932         * po/POTFILES.in: Remove above files.
22933
22934 2005-05-14  Andy Wingo  <wingo@pobox.com>
22935
22936         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22937         so as to get the refs right.
22938         (sink_iterator_filter): New function, wraps bin_element_is_sink,
22939         unreffing objects that don't pass the filter.
22940
22941         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22942         gst_element_set_bus.
22943         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22944         normal cases, this will destroy the bus.
22945
22946         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22947         object.
22948
22949         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22950         has no sinks.
22951
22952 2005-05-13  Andy Wingo  <wingo@pobox.com>
22953
22954         * gst/gstutils.c (gst_element_link_pads): Instead of calling
22955         gst_pad_link, call pad_link_maybe_ghosting,
22956         (pad_link_maybe_ghosting): Links pads, making sure that the
22957         elements being linked are in the same bin.
22958         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22959         Helpers for pad_link_maybe_ghosting.
22960
22961 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22962
22963         * configure.ac:
22964           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22965
22966 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22967
22968         * docs/design/part-element-source.txt:
22969           Mention GstPushSrc
22970
22971 2005-05-12  Wim Taymans  <wim@fluendo.com>
22972
22973         * gst/base/gstbasesink.c: (gst_basesink_init),
22974         (gst_basesink_activate):
22975         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22976         (gst_basesrc_is_seekable):
22977         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22978         (bin_element_is_sink), (gst_bin_change_state):
22979         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22980         * gst/gstelement.h:
22981         Identify sinks by their flag to avoid overly complicated
22982         checks (fow now).
22983         Do state changes even for elements not reachable from the
22984         sinks.
22985         BaseSink is a sink now :)
22986         Some more debugging info in the basesrc.
22987
22988
22989 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22990
22991         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22992           Implement _query on a bin, similar to _send_event.
22993
22994 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
22995
22996         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22997           Discont event offset format should be GST_FORMAT_BYTES,
22998           not GST_FORMAT_TIME.
22999
23000 2005-05-12  Wim Taymans  <wim@fluendo.com>
23001
23002         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23003         Same fix as Ronald's but without the signal. 
23004
23005 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23006
23007         * gst/gstutils.c: (gst_element_query_position):
23008           No, an element is not a pad.
23009
23010 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23011
23012         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23013         (gst_bin_get_state):
23014           If a child is removed from a bin while we remove the child from
23015           the bin and while we're retrieving its state, signal this to the
23016           get_state function so we abort the wait (instead of waiting for
23017           a timeout) and can immediately re-iterate over all other elements.
23018
23019 2005-05-12  Wim Taymans  <wim@fluendo.com>
23020
23021         * gst/base/Makefile.am:
23022         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23023         (gst_basesrc_start):
23024         * gst/base/gstbasesrc.h:
23025         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23026         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23027         (gst_pushsrc_init), (gst_pushsrc_create):
23028         * gst/base/gstpushsrc.h:
23029         Added is_seekable to BaseSrc
23030         Added simple PushSrc.
23031
23032 2005-05-11  Wim Taymans  <wim@fluendo.com>
23033
23034         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23035         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23036         (gst_element_link_pads), (gst_element_query_position),
23037         (gst_element_query_convert), (intersect_caps_func),
23038         (gst_pad_query_position), (gst_pad_query_convert):
23039         Fix refcounting in utils function.
23040         No point in trying to activate a pad when it's added, it could
23041         be added from the state change function and then we deadlock, the
23042         element has to decide what to do.
23043
23044 2005-05-10  Andy Wingo  <wingo@pobox.com>
23045
23046         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23047         *all* the arguments.
23048
23049         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23050         stream lock if it's a FLUSH_DONE; normal flushes don't get the
23051         lock (according to the docs -- if this is wrong change the docs).
23052
23053         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23054         flush messages in the NULL state.
23055
23056         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23057         message immediately and return.
23058         (gst_bus_set_flushing): New function. If a bus is flushing, it
23059         flushes out any queued messages and immediately unrefs new
23060         messages. This is so when an element goes to NULL, all of the
23061         unhandled messages coming from it can be freed, and their
23062         references to the element dropped. In other words: message source
23063         ref considered harmful :P
23064
23065         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23066         we're finished with it.
23067
23068         * gst/gstmessage.c (gst_message_new_state_changed): 
23069
23070 2005-05-10  Wim Taymans  <wim@fluendo.com>
23071
23072         * gst/gstvalue.c: (gst_value_compare_flags),
23073         (gst_value_serialize_flags), (gst_value_deserialize_flags),
23074         (_gst_value_initialize):
23075         Added flags serialize/deserialize/compare code.
23076
23077 2005-05-09  Andy Wingo  <wingo@pobox.com>
23078
23079         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23080         Intersect the peer's caps with our caps.
23081
23082 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23083
23084         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23085         * gst/elements/gsttypefindelement.c: (find_peek):
23086           Handle negative offsets better. Fixes decodebin.
23087
23088 2005-05-09  Wim Taymans  <wim@fluendo.com>
23089
23090         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23091         (gst_base_transform_event):
23092         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23093         Implement accept_caps.
23094         Fix silly lock/unlock mismatch in base class.
23095
23096 2005-05-09  Wim Taymans  <wim@fluendo.com>
23097
23098         * docs/design/draft-push-pull.txt:
23099         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23100         * gst/elements/gstfilesink.c: (gst_filesink_init),
23101         (gst_filesink_query):
23102         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23103         (gst_type_find_handle_src_query), (find_element_get_length):
23104         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23105         * gst/gstelement.h:
23106         * gst/gstmessage.c:
23107         * gst/gstmessage.h:
23108         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23109         (gst_real_pad_get_caps_unlocked),
23110         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23111         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23112         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23113         (gst_real_pad_dispose), (gst_real_pad_finalize),
23114         (gst_pad_load_and_link), (gst_pad_save_thyself),
23115         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23116         (gst_pad_check_pull_range), (gst_pad_pull_range),
23117         (gst_pad_template_get_type), (gst_pad_template_class_init),
23118         (gst_pad_template_init), (gst_pad_template_dispose),
23119         (name_is_valid), (gst_static_pad_template_get),
23120         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23121         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23122         (gst_pad_get_element_private), (gst_pad_start_task),
23123         (gst_pad_pause_task), (gst_pad_stop_task),
23124         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23125         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23126         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23127         (gst_ghost_pad_new):
23128         * gst/gstpad.h:
23129         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23130         (gst_query_new_position), (gst_query_set_position),
23131         (gst_query_parse_position), (gst_query_new_convert),
23132         (gst_query_set_convert), (gst_query_parse_convert):
23133         * gst/gstquery.h:
23134         * gst/gstqueryutils.c:
23135         * gst/gstqueryutils.h:
23136         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23137         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23138         (gst_queue_handle_src_query):
23139         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23140         (gst_element_query_position), (gst_element_query_convert),
23141         (intersect_caps_func), (gst_pad_query_position),
23142         (gst_pad_query_convert):
23143         * gst/gstutils.h:
23144         * tools/gst-inspect.c: (print_pad_info):
23145         * tools/gst-xmlinspect.c: (print_element_info):
23146         Remove old query functions. Ported old code.
23147         Added position/convert helper functions to gstutils.
23148         Reordered gstpad.c code, grouping relevant things.
23149         Remove gst_message_new(), always need to speficy a specific
23150         message.
23151
23152
23153 2005-05-09  Andy Wingo  <wingo@pobox.com>
23154
23155         * gst/gstiterator.h: Add some includes.
23156
23157         * gst/gstqueryutils.h: Include more headers.
23158
23159         * gst/gstpad.h:
23160         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23161         some uses of gst_pad_query.
23162
23163         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23164         NULL out parameters.
23165         (gst_query_new_position): New proc, allocates a new position
23166         query.
23167
23168         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23169         gstqueryutils.c to the build.
23170
23171         * gst/gststructure.c (gst_structure_set_valist): Implement with
23172         the generic G_VALUE_COLLECT.
23173         
23174 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23175
23176         * gst/Makefile.am: (gst_headers):
23177         Added gstqueryutils.h to the list of headers to install, that was
23178         a 'nachty' move wingo :)
23179
23180 2005-05-06  Andy Wingo  <wingo@pobox.com>
23181
23182         * gst/gstquery.h
23183         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23184         GstData, init a memchunk.
23185         (standard_definitions): Add a few query types, deprecate a few.
23186         (gst_query_get_type): New proc.
23187         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23188         implementation.
23189         (gst_query_new_application, gst_query_get_structure): New public
23190         procs.
23191
23192         * docs/design/draft-query.txt: Removed LINKS from the query types,
23193         because all the rest can be dispatched to other pads -- seemed
23194         ugly to have a query that couldn't be dispatched. internal_links
23195         is fine as a pad method.
23196
23197         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23198         in gstpad.c, but maintain binary compatibility for the moment.
23199         Will fix before 0.9 is out.
23200
23201         * gst/gstqueryutils.c: 
23202         * gst/gstqueryutils.h: New files, implement 3 methods for each
23203         query type: parse_query, parse_response, and set. Probably need an
23204         allocator as well.
23205
23206         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23207
23208         * gst/elements/gstfilesink.c (gst_filesink_query2):
23209         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23210         query_types, and formats methods.
23211
23212         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23213         (gst_pad_set_query2_function): New functions.
23214         (gst_real_pad_init): Set query2_default as the default query2
23215         function. Basically just dispatches to internally linked pads.
23216
23217         Needs review!
23218         
23219         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23220         without using the atomic operations. Only one thread can possibly
23221         be accessing the data at this point. Changed so as to avoid
23222         gst_atomic operations.
23223
23224 2005-05-06  Wim Taymans  <wim@fluendo.com>
23225
23226         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23227         Also set caps if we use the fallback buffer alloc.
23228
23229 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23230
23231         * docs/gst/Makefile.am:
23232         * docs/gst/gstreamer-docs.sgml:
23233         * docs/gst/gstreamer-sections.txt:
23234         * docs/gst/tmpl/gstatomic.sgml:
23235         * docs/gst/tmpl/gstmemchunk.sgml:
23236         * testsuite/elements/struct_i386.h:
23237         * win32/GStreamer.vcproj:
23238         * win32/Makefile:
23239           Purge GstAtomic stuff from docs and win32 makefiles as well
23240
23241 2005-05-06  Wim Taymans  <wim@fluendo.com>
23242
23243         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23244         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23245         * gst/gstpad.c: (gst_pad_peer_get_caps):
23246         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23247         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23248         (gst_queue_src_activate), (gst_queue_change_state):
23249         * gst/gstqueue.h:
23250         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23251         (intersect_caps_func):
23252         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23253         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23254         Some fixes for the peer_get_caps() change.
23255
23256 2005-05-06  Wim Taymans  <wim@fluendo.com>
23257
23258         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23259         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23260         (gst_basesink_activate):
23261         Actually do something with error codes returned from the push
23262         functions.
23263
23264 2005-05-06  Wim Taymans  <wim@fluendo.com>
23265
23266         * docs/design/part-element-sink.txt:
23267         * docs/design/part-element-source.txt:
23268         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23269         (gst_basesink_event), (gst_basesink_activate):
23270         * gst/base/gstbasesink.h:
23271         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23272         (gst_basesrc_activate):
23273         * gst/base/gstbasesrc.h:
23274         * gst/gstelement.c: (gst_element_pads_activate):
23275         Some more documentation.
23276         Fixed scheduling decision in _pads_activate().
23277
23278 2005-05-05  Andy Wingo  <wingo@pobox.com>
23279
23280         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23281         the test suite.
23282
23283 2005-05-05  Wim Taymans  <wim@fluendo.com>
23284
23285         * gst/base/Makefile.am:
23286         * gst/base/gstbasesink.h:
23287         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23288         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23289         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23290         (gst_collectpads_class_init), (gst_collectpads_init),
23291         (gst_collectpads_finalize), (gst_collectpads_new),
23292         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23293         (find_pad), (gst_collectpads_remove_pad),
23294         (gst_collectpads_is_active), (gst_collectpads_collect),
23295         (gst_collectpads_collect_range), (gst_collectpads_start),
23296         (gst_collectpads_stop), (gst_collectpads_peek),
23297         (gst_collectpads_pop), (gst_collectpads_available),
23298         (gst_collectpads_read), (gst_collectpads_flush),
23299         (gst_collectpads_chain):
23300         * gst/base/gstcollectpads.h:
23301         * gst/elements/Makefile.am:
23302         * gst/elements/gstelements.c:
23303         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23304         (gst_fakesink_get_times), (gst_fakesink_event),
23305         (gst_fakesink_preroll), (gst_fakesink_render):
23306         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23307         (gst_filesink_init), (gst_filesink_set_location),
23308         (gst_filesink_open_file), (gst_filesink_close_file),
23309         (gst_filesink_pad_query), (gst_filesink_event),
23310         (gst_filesink_render), (gst_filesink_change_state):
23311         * gst/elements/gstfilesink.h:
23312         Added object to help in making collect pad based elements.
23313         Ported filesink.
23314         Make event function in sink baseclass return gboolean.
23315
23316 2005-05-05  Wim Taymans  <wim@fluendo.com>
23317
23318         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23319         (gst_bin_get_by_name):
23320         * gst/gstbuffer.h:
23321         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23322         (gst_clock_finalize):
23323         * gst/gstdata.c: (gst_data_replace):
23324         * gst/gstdata.h:
23325         * gst/gstelement.c: (gst_element_request_pad),
23326         (gst_element_pads_activate):
23327         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23328         (gst_object_unref):
23329         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23330         (gst_pad_set_checkgetrange_function),
23331         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23332         (gst_pad_check_pull_range), (gst_pad_pull_range),
23333         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23334         (gst_pad_pause_task), (gst_pad_stop_task):
23335         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23336         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23337         Fix name lookup in GstBin.
23338         Added _data_replace() function and _buffer_replace()
23339         Use finalize method to clean up clock.
23340         Fix refcounting on request pads.
23341         Fix pad schedule mode error.
23342         Some more object refcounting debug info,
23343
23344
23345 2005-05-04  Andy Wingo <wingo@pobox.com>
23346
23347         * check/Makefile.am:
23348         * docs/gst/tmpl/gstatomic.sgml:
23349         * docs/gst/tmpl/gstplugin.sgml:
23350         * gst/base/gstbasesink.c: (gst_basesink_activate):
23351         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23352         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23353         (gst_basesrc_query), (gst_basesrc_set_property),
23354         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23355         (gst_basesrc_activate):
23356         * gst/base/gstbasesrc.h:
23357         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23358         (gst_base_transform_src_activate):
23359         * gst/elements/gstelements.c:
23360         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23361         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23362         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23363         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23364         (gst_type_find_element_checkgetrange),
23365         (gst_type_find_element_activate):
23366         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23367         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23368         (gst_caps_load_thyself):
23369         * gst/gstelement.c: (gst_element_pads_activate),
23370         (gst_element_save_thyself), (gst_element_restore_thyself):
23371         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23372         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23373         * gst/gstpad.h:
23374         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23375         (gst_xml_parse_file), (gst_xml_parse_memory),
23376         (gst_xml_get_element), (gst_xml_make_element):
23377         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23378         (_file_index_id_save_xml), (gst_file_index_commit):
23379         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23380         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23381         (load_paths):
23382         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23383         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23384         * tools/gst-complete.c: (main):
23385         * tools/gst-compprep.c: (main):
23386         * tools/gst-inspect.c: (print_element_properties_info):
23387         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23388         * tools/gst-xmlinspect.c: (print_element_properties):
23389         GCC 4 fixen.
23390         
23391 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23392
23393         * gst/gstplugin.c: (gst_plugin_check_module),
23394         (gst_plugin_check_file), (gst_plugin_load_file):
23395             apply patch from #172526 to make register work on MacOSX
23396
23397 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23398
23399         * docs/gst/tmpl/gstconfig.sgml:
23400         * gst/gstconfig.h.in:
23401           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23402         * testsuite/debug/printf_extension.c: (main):
23403           Do not use GST_PTR_FORMAT on pointers to types with
23404           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23405         * testsuite/elements/property.h:
23406           use correct printf format
23407
23408 2005-05-02  Wim Taymans  <wim@fluendo.com>
23409
23410         * docs/design/draft-push-pull.txt:
23411         * docs/design/draft-query.txt:
23412         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23413         (gst_basesrc_start):
23414         Added draft for new query API.
23415         Added draft for better selecting scheduling methods.
23416         Make basesrc ignore length if the subclass does not support
23417         it.
23418
23419 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23420
23421         * gst/Makefile.am:
23422           possible fixes for automake-1.5 - _LIBADD is reserved
23423
23424 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23425
23426         * docs/faq/Makefile.am:
23427         * docs/manual/Makefile.am:
23428         * docs/manuals.mak:
23429         * docs/pwg/Makefile.am:
23430         * gst/Makefile.am:
23431           possible fixes for automake-1.5
23432
23433 2005-04-28  Wim Taymans  <wim@fluendo.com>
23434
23435         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23436         (gst_basesink_pad_getcaps), (gst_basesink_init),
23437         (gst_basesink_do_sync):
23438         * gst/gstclock.c: (gst_clock_entry_new):
23439         * gst/gstevent.c: (gst_event_discont_get_value):
23440         * gst/gstpipeline.c: (pipeline_bus_handler),
23441         (gst_pipeline_change_state):
23442         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23443         Better debugging of clocking info.
23444         Allow NULL values when getting discont values.
23445
23446 2005-04-27  Wim Taymans  <wim@fluendo.com>
23447
23448         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23449         * check/gst/gstpad.c: (gst_pad_suite):
23450         Increase timeout for checks.
23451
23452 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23453
23454         * check/Makefile.am:
23455           fix the broken rule for cleanup.  Apparently this rule is
23456           only needed on FC2, so maybe this warrants further autotool
23457           inspection.
23458
23459 2005-04-26  Wim Taymans  <wim@fluendo.com>
23460
23461         * gst/gsttrashstack.h:
23462         Ooohh. a nasty one! After having a failed pop() from the stack,
23463         it's possible that the stack is empty. In that case, don't
23464         follow the NULL pointer.
23465
23466 2005-04-25  Wim Taymans  <wim@fluendo.com>
23467
23468         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23469         (gst_pad_set_checkgetrange_function),
23470         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23471         (gst_pad_check_pull_range), (gst_pad_pull_range),
23472         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23473         (gst_pad_pause_task), (gst_pad_stop_task):
23474         * gst/gstplugin.c: (gst_plugin_load):
23475         * gst/gstplugin.h:
23476         Remove gst_library_load as it does more harm than good with
23477         the new g_module flags.
23478         Revert bogus caps template check in pad linking, pad caps
23479         are important when linking not the template, which is more
23480         general than the current caps.
23481
23482 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23483
23484         * gst/autoplug/.cvsignore:
23485         * gst/autoplug/Makefile.am:
23486         * gst/autoplug/gstsearchfuncs.c:
23487         * gst/autoplug/gstsearchfuncs.h:
23488         * gst/autoplug/gstspider.c:
23489         * gst/autoplug/gstspider.h:
23490         * gst/autoplug/gstspideridentity.c:
23491         * gst/autoplug/gstspideridentity.h:
23492         * gst/autoplug/spidertest.c:
23493           Die, spider, die.
23494
23495 2005-04-25  Wim Taymans  <wim@fluendo.com>
23496
23497         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23498         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23499         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23500         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23501         * gst/gstpad.h:
23502         Added stubs for unimplemented functions. 
23503
23504 2005-04-24  David Schleef  <ds@schleef.org>
23505
23506         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23507         please fix.
23508
23509 2005-04-24  David Schleef  <ds@schleef.org>
23510
23511         Convert everything from GstAtomicInt to g_atomic_int_*, and
23512         remove gstatomic.
23513         * gst/Makefile.am:
23514         * gst/gstatomic.c:
23515         * gst/gstatomic.h:
23516         * gst/gstatomic_impl.h:
23517         * gst/gstbuffer.c:
23518         * gst/gstcaps.c:
23519         * gst/gstcaps.h:
23520         * gst/gstclock.c:
23521         * gst/gstclock.h:
23522         * gst/gstdata.c:
23523         * gst/gstdata.h:
23524         * gst/gstdata_private.h:
23525         * gst/gstevent.c:
23526         * gst/gstinfo.c:
23527         * gst/gstinfo.h:
23528         * gst/gstmessage.c:
23529         * gst/gstobject.c:
23530         * gst/gstobject.h:
23531         * gst/gststructure.c:
23532         * gst/gststructure.h:
23533         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23534         * gst/gstutils.h:
23535
23536 2005-04-24  David Schleef  <ds@schleef.org>
23537
23538         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23539         make the regressions tests work.  Remove some code that is no
23540         longer true.
23541         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23542         Disable warning for pads without templates.
23543
23544 2005-04-24  David Schleef  <ds@schleef.org>
23545
23546         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23547         functions that handle filtered links.
23548         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23549         removed functions.
23550         * gst/gstutils.c: Fix/remove utility functions that handle
23551         filtered caps.
23552         * gst/gstutils.h:
23553         * gst/gstvalue.c: Add serialization/deserialization of caps
23554         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23555         requires fixing so that the filter caps notation creates
23556         a capsfilter element and sets the filter_caps property.  I
23557         think everyone probably wants to keep the shorthand notation.
23558         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23559         * docs/gst/tmpl/gstpad.sgml:
23560
23561         * gst/elements/gstelements.c: Register capsfilter element.
23562         * gst/Makefile.am: fix spacing
23563         * docs/random/ds/0.9-suggested-changes: random
23564
23565 2005-04-23  David Schleef  <ds@schleef.org>
23566
23567         * gst/elements/Makefile.am:
23568         * gst/elements/gstcapsfilter.c: New element that acts like an
23569         identity, but filters caps.  Will eventually replace filtered
23570         caps in pad linking.
23571         * gst/gstutils.c: (gst_element_create_all_pads): New function
23572         to create all the ALWAYS pads that are registered with an
23573         element class.  This functionality should eventually be
23574         merged in with GstElement initialization.
23575         * gst/gstutils.h:
23576         * testsuite/trigger/README: part of trigger test code that should
23577         have been checked in a long time ago.
23578
23579 2005-04-23  David Schleef  <ds@schleef.org>
23580
23581         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23582         needed with new versions of libtool (nobody will confirm this),
23583         and hard to carry around.
23584         * gst/autoplug/Makefile.am:
23585         * gst/base/Makefile.am:
23586         * gst/elements/Makefile.am:
23587         * gst/indexers/Makefile.am:
23588         * gst/schedulers/Makefile.am:
23589         * libs/gst/bytestream/Makefile.am:
23590         * libs/gst/control/Makefile.am:
23591         * libs/gst/dataprotocol/Makefile.am:
23592         * libs/gst/getbits/Makefile.am:
23593
23594 2005-04-21  Wim Taymans  <wim@fluendo.com>
23595
23596         * docs/design/draft-push-pull.txt:
23597         * docs/design/part-MT-refcounting.txt:
23598         * docs/design/part-TODO.txt:
23599         * docs/design/part-caps.txt:
23600         * docs/design/part-events.txt:
23601         * docs/design/part-gstbus.txt:
23602         * docs/design/part-gstpipeline.txt:
23603         * docs/design/part-messages.txt:
23604         * docs/design/part-push-pull.txt:
23605         * docs/design/part-query.txt:
23606         Some more docs.
23607
23608 2005-04-21  Wim Taymans  <wim@fluendo.com>
23609
23610         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23611         (gst_message_new), (gst_message_new_error),
23612         (gst_message_new_warning), (gst_message_new_tag),
23613         (gst_message_new_state_changed), (gst_message_new_application),
23614         (gst_message_get_structure):
23615         * gst/gstmessage.h:
23616         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23617         (gst_structure_copy_conditional):
23618         Use parent refcount in GstMessage to ensure GstStructure
23619         consistency.
23620         Cleaned up headers a bit.
23621         
23622
23623 2005-04-20  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23626         (gst_basesink_pad_getcaps), (gst_basesink_init),
23627         (gst_basesink_chain_unlocked):
23628         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23629         (gst_type_find_helper):
23630         * gst/elements/gsttypefindelement.c:
23631         (gst_type_find_element_have_type), (gst_type_find_element_init),
23632         (stop_typefinding), (gst_type_find_element_handle_event),
23633         (find_suggest), (gst_type_find_element_chain),
23634         (gst_type_find_element_checkgetrange),
23635         (gst_type_find_element_getrange), (do_typefind),
23636         (gst_type_find_element_activate):
23637         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23638         (gst_buffer_default_free), (gst_buffer_default_copy),
23639         (gst_buffer_set_caps):
23640         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23641         (gst_caps_replace):
23642         * gst/gstmessage.c: (gst_message_new),
23643         (gst_message_new_state_changed):
23644         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23645         (gst_pad_set_checkgetrange_function),
23646         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23647         (gst_pad_set_caps), (gst_pad_check_pull_range),
23648         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23649         * gst/gstpad.h:
23650         * gst/gsttypefind.c: (gst_type_find_register):
23651         Make gst_caps_replace() work like other _replace() functions.
23652         Use _caps_replace() where possible.
23653         Make sure _message_new() initialises its field.
23654         Add gst_static_pad_template_get_caps()
23655
23656
23657 2005-04-18  Andy Wingo  <wingo@pobox.com>
23658
23659         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23660         on the peer, not the pad. I think that was a typo. Pass an extra
23661         arg to see if random access is possible. Activate the pads as
23662         PULL_RANGE if possible.
23663
23664         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23665
23666         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23667         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23668         to PROP_....
23669
23670 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23671
23672         * docs/faq/using.xml:
23673           Add note on gstreamer-properties (#154996).
23674
23675 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23676
23677         * docs/random/bbb/optional-properties:
23678           Some analysis on optional properties.
23679
23680 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23681
23682         * docs/gst/tmpl/gstelementfactory.sgml:
23683         * gst/gstelement.h:
23684         * gst/gstelementfactory.c: (gst_element_factory_init),
23685         (gst_element_factory_cleanup), (gst_element_register),
23686         (__gst_element_factory_add_static_pad_template),
23687         (gst_element_factory_get_static_pad_templates),
23688         (gst_element_factory_can_src_caps),
23689         (gst_element_factory_can_sink_caps):
23690         * gst/registries/Makefile.am:
23691         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23692         (gst_xml_registry_class_init), (gst_xml_registry_init),
23693         (gst_xml_registry_new), (gst_xml_registry_set_property),
23694         (gst_xml_registry_get_property), (get_time), (make_dir),
23695         (gst_xml_registry_get_perms_func),
23696         (plugin_times_older_than_recurse), (plugin_times_older_than),
23697         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23698         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23699         (add_to_char_array), (read_string), (read_uint), (read_enum),
23700         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23701         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23702         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23703         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23704         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23705         (gst_xml_registry_rebuild):
23706         * gst/registries/gstlibxmlregistry.h:
23707         * tools/gst-compprep.c: (main):
23708         * tools/gst-inspect.c: (print_pad_templates_info):
23709         * tools/gst-xmlinspect.c: (print_element_info):
23710           Use libxml2 for registry parsing, use staticpadtemplates in
23711           elementfactories. Makes gst_init() +/- 10x faster.
23712
23713 2005-04-12  Wim Taymans  <wim@fluendo.com>
23714
23715         * gst/base/Makefile.am:
23716         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23717         (gst_basesink_pad_getcaps), (gst_basesink_init),
23718         (gst_basesink_event), (gst_basesink_change_state):
23719         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23720         (gst_basesrc_init), (gst_basesrc_query),
23721         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23722         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23723         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23724         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23725         (gst_basesrc_stop), (gst_basesrc_activate),
23726         (gst_basesrc_change_state):
23727         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23728         (helper_find_suggest), (gst_type_find_helper):
23729         * gst/base/gsttypefindhelper.h:
23730         * gst/elements/Makefile.am:
23731         * gst/elements/gstelements.c:
23732         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23733         (gst_fakesink_get_times), (gst_fakesink_event),
23734         (gst_fakesink_preroll), (gst_fakesink_render):
23735         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23736         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23737         (gst_fakesrc_get_property), (gst_fakesrc_create),
23738         (gst_fakesrc_start), (gst_fakesrc_stop):
23739         * gst/elements/gstfakesrc.h:
23740         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23741         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23742         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23743         (gst_filesrc_create_read), (gst_filesrc_create),
23744         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23745         (gst_filesrc_start):
23746         * gst/elements/gsttypefindelement.c:
23747         (gst_type_find_element_have_type), (gst_type_find_element_init),
23748         (start_typefinding), (stop_typefinding), (push_buffer_store),
23749         (gst_type_find_element_handle_event),
23750         (gst_type_find_element_chain),
23751         (gst_type_find_element_checkgetrange),
23752         (gst_type_find_element_getrange), (do_typefind),
23753         (gst_type_find_element_activate),
23754         (gst_type_find_element_change_state):
23755         * gst/elements/gsttypefindelement.h:
23756         * gst/gstpipeline.c: (pipeline_bus_handler):
23757         Added typefind helper.
23758         Small preroll fix in the base sink.
23759         Disable typefind code in basesrc.
23760         Crude port of typefindelement.
23761         Fakesrc cleanups.
23762
23763
23764 2005-04-11  Wim Taymans  <wim@fluendo.com>
23765
23766         * check/gst/gstbus.c: (gstbus_suite):
23767         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23768         * check/gstcheck.h:
23769           Fix up the timeout so that the test does not fail.
23770
23771 2005-04-06  Wim Taymans  <wim@fluendo.com>
23772
23773         * gst/base/README:
23774         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23775         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23776         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23777         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23778         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23779         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23780         (gst_basesrc_stop), (gst_basesrc_activate),
23781         (gst_basesrc_change_state), (basesrc_find_peek),
23782         (basesrc_find_suggest), (gst_basesrc_type_find):
23783         * gst/base/gstbasesrc.h:
23784         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23785         (gst_filesrc_class_init), (gst_filesrc_init),
23786         (gst_filesrc_finalize), (gst_filesrc_set_location),
23787         (gst_filesrc_set_property), (gst_filesrc_get_property),
23788         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23789         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23790         (gst_filesrc_create_read), (gst_filesrc_create),
23791         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23792         * gst/elements/gstfilesrc.h:
23793         * gst/gstelement.c: (gst_element_get_state_func),
23794         (gst_element_lost_state), (gst_element_pads_activate):
23795         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23796         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23797         (gst_pad_pull_range):
23798         * gst/gstpad.h:
23799         More work on the generic source base class, implement seeking,
23800         query.
23801         Make filesrc extend the base source class.
23802         Added gst_pad_set_checkgetrange_function to GstPad.
23803
23804 2005-04-06  Andy Wingo  <wingo@pobox.com>
23805
23806         * pkgconfig/gstreamer-base.pc.in:
23807         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23808
23809         * pkgconfig/Makefile.am:
23810         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23811
23812 2005-04-04  Wim Taymans  <wim@fluendo.com>
23813
23814         * gst/base/Makefile.am:
23815         * gst/base/README:
23816         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23817         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23818         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23819         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23820         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23821         (gst_basesrc_base_init), (gst_basesrc_class_init),
23822         (gst_basesrc_init), (gst_basesrc_get_formats),
23823         (gst_basesrc_get_query_types), (gst_basesrc_query),
23824         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23825         (gst_basesrc_set_property), (gst_basesrc_get_property),
23826         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23827         (gst_basesrc_loop), (gst_basesrc_activate),
23828         (gst_basesrc_change_state):
23829         * gst/base/gstbasesrc.h:
23830         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23831         (gst_fakesrc_class_init), (gst_fakesrc_init),
23832         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23833         (gst_fakesrc_get_property), (gst_fakesrc_create):
23834         * gst/elements/gstfakesrc.h:
23835         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23836         (gst_filesrc_open_file), (gst_filesrc_loop),
23837         (gst_filesrc_activate), (filesrc_find_peek),
23838         (gst_filesrc_type_find):
23839         Made base source class, make fakesrc extend it.
23840         Add comments to basesink class.
23841         Some filesrc cleanup.
23842
23843 2005-03-31  David Schleef  <ds@schleef.org>
23844
23845         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23846         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23847         expected to link against libgstreamer.
23848         * gst/base/Makefile.am: link against libgstreamer
23849         * gst/elements/Makefile.am: same
23850
23851 2005-03-31  Andy Wingo  <wingo@pobox.com>
23852
23853         * tests/instantiate/Makefile.am:
23854         * tests/instantiate/caps.c: Add test to test speed of caps copy
23855         and free.
23856
23857         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23858         GMemChunk to be fair.
23859
23860         * gst/gsttrashstack.h: Remove warning about using the fallback
23861         trash stack implementation, it's still faster than malloc.
23862
23863 2005-03-30  Andy Wingo  <wingo@pobox.com>
23864
23865         * tests/complexity.c: Add a copyright.
23866
23867 2005-03-31  Wim Taymans  <wim@fluendo.com>
23868
23869         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23870         (gst_base_transform_class_init), (gst_base_transform_init),
23871         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23872         (gst_base_transform_get_property),
23873         (gst_base_transform_sink_activate),
23874         (gst_base_transform_src_activate),
23875         (gst_base_transform_change_state):
23876         * gst/base/gstbasetransform.h:
23877         * gst/elements/gstidentity.c: (gst_identity_class_init),
23878         (gst_identity_event), (gst_identity_check_perfect),
23879         (gst_identity_transform), (gst_identity_start),
23880         (gst_identity_stop):
23881         Added start/stop methods to transform base class so subclasses 
23882         don't need to deal with state changes even.
23883
23884 2005-03-31  Wim Taymans  <wim@fluendo.com>
23885
23886         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23887         (gst_event_new_discontinuous), (gst_event_discont_get_value):
23888         * gst/gstevent.h:
23889         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23890         (gst_pad_pull_range):
23891         Added rate to the discont event to prepare for variable speed
23892         and reverse playback.
23893
23894 2005-03-29  David Schleef  <ds@schleef.org>
23895
23896         * configure.ac:
23897         * testsuite/trigger/Makefile.am:
23898         * testsuite/trigger/trigger.c: A little example program to show
23899         how trigger-based elements can work.
23900
23901 2005-03-29  Wim Taymans  <wim@fluendo.com>
23902
23903         * gst/base/Makefile.am:
23904         * gst/base/README:
23905         * gst/base/gstbasesink.c: (gst_basesink_get_type),
23906         (gst_basesink_base_init), (gst_basesink_class_init),
23907         (gst_basesink_pad_getcaps), (gst_basesink_init),
23908         (gst_basesink_activate), (gst_basesink_change_state):
23909         * gst/base/gstbasesink.h:
23910         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23911         (gst_base_transform_base_init), (gst_base_transform_finalize),
23912         (gst_base_transform_class_init), (gst_base_transform_init),
23913         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23914         (gst_base_transform_event), (gst_base_transform_getrange),
23915         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23916         (gst_base_transform_set_property),
23917         (gst_base_transform_get_property),
23918         (gst_base_transform_sink_activate),
23919         (gst_base_transform_src_activate),
23920         (gst_base_transform_change_state):
23921         * gst/base/gstbasetransform.h:
23922         * gst/elements/gstidentity.c: (gst_identity_finalize),
23923         (gst_identity_class_init), (gst_identity_init),
23924         (gst_identity_event), (gst_identity_check_perfect),
23925         (gst_identity_transform), (gst_identity_set_property),
23926         (gst_identity_get_property), (gst_identity_change_state):
23927         * gst/elements/gstidentity.h:
23928         * gst/gstelement.c: (gst_element_get_state_func),
23929         (gst_element_lost_state), (gst_element_pads_activate):
23930         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23931         (gst_pad_check_pull_range), (gst_pad_pull_range):
23932         * gst/gstpad.h:
23933         Simplify pad activation.
23934         Added function to check if pull_range can be performed.
23935         Error out when pulling inactive or flushing pads.
23936         Removed const from refcounted types as it does not make sense.
23937         Simplify pad templates in basesink
23938         Added base class for simple 1-to-1 transforms.
23939         Make identity subclass the base transform.
23940
23941 2005-03-29  Andy Wingo  <wingo@pobox.com>
23942
23943         * docs/libs/gstreamer-libs-overrides.txt: 
23944         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23945         really don't understand what's going on, but like whatever. I want
23946         green buildbot!
23947
23948         * docs/gst/Makefile.am:
23949         * docs/libs/Makefile.am: Dist the overrides files.
23950
23951         * check/Makefile.am (clean-local): Remove .libs directories.
23952
23953         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23954         elements to EXTRA_DIST, so po/ files are happy.
23955
23956         * po/POTFILES.in: Er, remove it here.
23957
23958         * po/POTFILES: Remove gstspider.c.
23959
23960         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23961
23962         * docs/libs/gstreamer-libs-docs.sgml: 
23963         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23964         bytestream.
23965
23966         * tests/complexity.c (main): Set the length of the preroll queue
23967         on the sinks to prevent a lockup.
23968
23969         * libs/gst/dataprotocol/Makefile.am: 
23970         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23971         the same as the one in check/gst-libs/gdp.c.
23972
23973         * po/, docs/gst/: Commit automatic changes to docs and po files.
23974
23975         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23976         the versioned libgstbase.
23977
23978         * check/Makefile.am: Depend on an unversioned gst-register, seems
23979         to make autoconf happier.
23980
23981         * gst/base/Makefile.am: Make libgstbase a versioned lib.
23982
23983 2005-03-28  Wim Taymans  <wim@fluendo.com>
23984
23985         * configure.ac:
23986         * docs/design/part-gstelement.txt:
23987         * docs/design/part-negotiation.txt:
23988         * docs/design/part-preroll.txt:
23989         * docs/design/part-scheduling.txt:
23990         * docs/design/part-states.txt:
23991         * gst/Makefile.am:
23992         * gst/base/Makefile.am:
23993         * gst/base/README:
23994         * gst/base/gstbasesink.c: (gst_basesink_get_template),
23995         (gst_basesink_base_init), (gst_basesink_class_init),
23996         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23997         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23998         (gst_basesink_set_pad_functions),
23999         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24000         (gst_basesink_set_property), (gst_basesink_get_property),
24001         (gst_base_sink_get_template), (gst_base_sink_get_caps),
24002         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24003         (gst_basesink_preroll_queue_push),
24004         (gst_basesink_preroll_queue_empty),
24005         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24006         (gst_basesink_event), (gst_basesink_get_times),
24007         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24008         (gst_basesink_chain_unlocked), (gst_basesink_chain),
24009         (gst_basesink_loop), (gst_basesink_activate),
24010         (gst_basesink_change_state):
24011         * gst/base/gstbasesink.h:
24012         * gst/elements/Makefile.am:
24013         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24014         (gst_fakesink_class_init), (gst_fakesink_init),
24015         (gst_fakesink_set_property), (gst_fakesink_get_property),
24016         (gst_fakesink_get_times), (gst_fakesink_event),
24017         (gst_fakesink_preroll), (gst_fakesink_render),
24018         (gst_fakesink_change_state):
24019         * gst/elements/gstfakesink.h:
24020         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24021         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24022         * gst/gstelement.c: (gst_element_add_pad),
24023         (gst_element_get_state_func), (gst_element_abort_state),
24024         (gst_element_commit_state), (gst_element_lost_state),
24025         (gst_element_set_state), (gst_element_pads_activate):
24026         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24027         * gst/gstpipeline.c: (gst_pipeline_send_event),
24028         (gst_pipeline_change_state):
24029         Added state change code.
24030         Added/updated docs.
24031         Added sink base class, make fakesink extend the base class.
24032         Small cleanups in GstPipeline.
24033
24034 2005-03-26  David Schleef  <ds@schleef.org>
24035
24036         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
24037         is broken and should be implemented in a different library.
24038         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24039         * gst/gst.h: remove gstcpu.h
24040         * gst/gstcpu.c: remove
24041         * gst/gstcpu.h: remove
24042         * gst/Makefile.am.future: Remove this file.  It's ancient.
24043
24044 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24045
24046         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24047         (gst_bin_send_event):
24048           Add default event/set_manager handlers. The set_manager handler
24049           takes care that the manager is distributed over kids that were
24050           already in the bin before the manager was set. The event handler
24051           is a utility virtual function that sends the event over all sinks,
24052           so that gst_element_send_event (bin, event); has the expected
24053           behaviour.
24054         * gst/gstpad.c: (gst_pad_event_default):
24055           Re-install default event handling for discontinuities, so that
24056           seeking works without requiring hacks in applications or extra
24057           code in sinks.
24058         * gst/gstpipeline.c: (gst_pipeline_class_init),
24059         (gst_pipeline_send_event):
24060           Half hack, half utility: set a pipeline to PAUSED for seek events,
24061           since that is the only way we can guarantee a/v sync. Means that
24062           you can do gst_element_seek (pipeline, method, pos); on a pipeline
24063           and it "just works".
24064
24065 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24066
24067         * gst/gstpipeline.c: (gst_pipeline_use_clock):
24068           Lock/unlock mismatch.
24069
24070 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24071
24072         * docs/faq/gst-uninstalled:
24073           add gst-plugins-base
24074         * docs/gst/Makefile.am:
24075           don't error out until docs are fixed
24076         * docs/gst/gstreamer.types:
24077           remove thread
24078
24079 2005-03-22  Wim Taymans  <wim@fluendo.com>
24080
24081         * check/Makefile.am:
24082         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24083         * gst/gststructure.c: (gst_structure_set_valist),
24084         (gst_structure_copy_conditional):
24085         Activated more tests.
24086         Added message test.
24087         Added G_TYPE_POINTER to GstStructure.
24088         
24089
24090 2005-03-22  Wim Taymans  <wim@fluendo.com>
24091
24092         * docs/design/part-TODO.txt:
24093         * docs/design/part-events.txt:
24094         * docs/design/part-gstbin.txt:
24095         * docs/design/part-gstbus.txt:
24096         * docs/design/part-gstpipeline.txt:
24097         * docs/design/part-messages.txt:
24098         * gst/gstbus.c:
24099         * gst/gstmessage.c:
24100         Docs updates
24101
24102 2005-03-21  Wim Taymans  <wim@fluendo.com>
24103
24104         * gst/gstbus.c: (gst_bus_post):
24105         Fix copy-and-paste error.
24106
24107 2005-03-21  Wim Taymans  <wim@fluendo.com>
24108
24109         * check/Makefile.am:
24110         * gst/Makefile.am:
24111         * gst/elements/Makefile.am:
24112         * gst/elements/gstelements.c:
24113         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24114         (gst_fakesink_event), (gst_fakesink_chain):
24115         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24116         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24117         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24118         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24119         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24120         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24121         (gst_fakesrc_loop), (gst_fakesrc_activate),
24122         (gst_fakesrc_change_state):
24123         * gst/elements/gstfakesrc.h:
24124         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24125         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24126         (gst_filesrc_open_file), (gst_filesrc_loop),
24127         (gst_filesrc_activate), (gst_filesrc_change_state),
24128         (filesrc_find_peek), (filesrc_find_suggest),
24129         (gst_filesrc_type_find):
24130         * gst/elements/gstidentity.c: (gst_identity_finalize),
24131         (gst_identity_class_init), (gst_identity_init),
24132         (gst_identity_proxy_getcaps), (identity_queue_push),
24133         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24134         (gst_identity_getrange), (gst_identity_chain),
24135         (gst_identity_sink_loop), (gst_identity_src_loop),
24136         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24137         (gst_identity_set_property), (gst_identity_get_property),
24138         (gst_identity_change_state):
24139         * gst/elements/gstidentity.h:
24140         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24141         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24142         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24143         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24144         (gst_tee_sink_activate):
24145         * gst/elements/gsttee.h:
24146         * gst/gst.c: (gst_register_core_elements), (init_post):
24147         * gst/gst.h:
24148         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24149         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24150         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24151         (gst_bin_change_state):
24152         * gst/gstbin.h:
24153         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24154         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24155         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24156         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24157         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24158         (bus_watch_callback), (bus_watch_destroy),
24159         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24160         (poll_timeout), (gst_bus_poll):
24161         * gst/gstbus.h:
24162         * gst/gstcaps.h:
24163         * gst/gstdata.h:
24164         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24165         (gst_element_post_message), (gst_element_message_full),
24166         (gst_element_get_state_func), (gst_element_get_state),
24167         (gst_element_abort_state), (gst_element_commit_state),
24168         (gst_element_lost_state), (gst_element_set_state),
24169         (gst_element_pads_activate), (gst_element_change_state),
24170         (gst_element_dispose), (gst_element_set_manager_func),
24171         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24172         (gst_element_set_manager), (gst_element_get_manager),
24173         (gst_element_set_bus), (gst_element_get_bus),
24174         (gst_element_set_scheduler), (gst_element_get_scheduler):
24175         * gst/gstelement.h:
24176         * gst/gstevent.c: (gst_event_new_segment_seek),
24177         (gst_event_new_flush):
24178         * gst/gstevent.h:
24179         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24180         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24181         (gst_message_new_eos), (gst_message_new_error),
24182         (gst_message_new_warning), (gst_message_new_tag),
24183         (gst_message_new_state_changed), (gst_message_new_application),
24184         (gst_message_get_structure), (gst_message_parse_tag),
24185         (gst_message_parse_state_changed), (gst_message_parse_error),
24186         (gst_message_parse_warning):
24187         * gst/gstmessage.h:
24188         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24189         (gst_real_pad_set_property), (gst_pad_set_active),
24190         (gst_pad_is_active), (gst_pad_set_blocked_async),
24191         (gst_pad_set_blocked), (gst_pad_is_blocked),
24192         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24193         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24194         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24195         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24196         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24197         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24198         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24199         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24200         (gst_pad_set_caps), (gst_pad_configure_sink),
24201         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24202         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24203         (gst_real_pad_dispose), (gst_real_pad_finalize),
24204         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24205         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24206         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24207         * gst/gstpad.h:
24208         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24209         (pipeline_bus_handler), (gst_pipeline_change_state),
24210         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24211         * gst/gstpipeline.h:
24212         * gst/gstprobe.h:
24213         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24214         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24215         (gst_queue_link_src), (gst_queue_bufferalloc),
24216         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24217         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24218         (gst_queue_loop), (gst_queue_handle_src_event),
24219         (gst_queue_handle_src_query), (gst_queue_src_activate),
24220         (gst_queue_change_state):
24221         * gst/gstqueue.h:
24222         * gst/gstscheduler.c: (gst_scheduler_init),
24223         (gst_scheduler_dispose), (gst_scheduler_create_task),
24224         (gst_scheduler_factory_create):
24225         * gst/gstscheduler.h:
24226         * gst/gststructure.c: (gst_structure_get_type),
24227         (gst_structure_copy_conditional):
24228         * gst/gststructure.h:
24229         * gst/gsttaginterface.h:
24230         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24231         (gst_task_init), (gst_task_dispose), (gst_task_create),
24232         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24233         (gst_task_pause):
24234         * gst/gsttask.h:
24235         * gst/gstthread.c:
24236         * gst/gstthread.h:
24237         * gst/gsttypes.h:
24238         * gst/schedulers/Makefile.am:
24239         * gst/schedulers/cothreads_compat.h:
24240         * gst/schedulers/entryscheduler.c:
24241         * gst/schedulers/faircothreads.c:
24242         * gst/schedulers/faircothreads.h:
24243         * gst/schedulers/fairscheduler.c:
24244         * gst/schedulers/gstbasicscheduler.c:
24245         * gst/schedulers/gstoptimalscheduler.c:
24246         * gst/schedulers/gthread-cothreads.h:
24247         * gst/schedulers/threadscheduler.c:
24248         (gst_thread_scheduler_task_get_type),
24249         (gst_thread_scheduler_task_class_init),
24250         (gst_thread_scheduler_task_init),
24251         (gst_thread_scheduler_task_start),
24252         (gst_thread_scheduler_task_stop),
24253         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24254         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24255         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24256         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24257         (plugin_init):
24258         * libs/gst/Makefile.am:
24259         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24260         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24261         (gst_file_pad_parent_set):
24262         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24263         (gst_dp_event_from_packet):
24264         * tests/complexity.c: (main):
24265         * tests/mass_elements.c: (main):
24266         * testsuite/states/locked.c: (message_received), (main):
24267         * testsuite/states/parent.c: (main):
24268         * tools/gst-inspect.c: (print_element_flag_info),
24269         (print_implementation_info), (print_pad_info):
24270         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24271         (main):
24272         * tools/gst-md5sum.c: (event_loop), (main):
24273         * tools/gst-typefind.c: (main):
24274         * tools/gst-xmlinspect.c: (print_element_info):
24275         Next big merge.
24276         Added GstBus for mainloop integration.
24277         Added GstMessage for sending notifications on the bus.
24278         Added GstTask as an abstraction for pipeline entry points.
24279         Removed GstThread.
24280         Removed Schedulers.
24281         Simplified GstQueue for multithreaded core.
24282         Made _link threadsafe, removed old capsnego.
24283         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24284         Added pad blocking functions.
24285         Reworked scheduling functions in GstPad to prepare for
24286         scheduling updates soon.
24287         Moved events out of data stream.
24288         Simplified GstEvent types.
24289         Added return values to push/pull.
24290         Removed clocking from GstElement.
24291         Added prototypes for state change function for next merge.
24292         Removed iterate from bins and state change management.
24293         Fixed some elements, disabled others for now.
24294         Fixed -inspect and -launch.
24295         Added check for GstBus.
24296
24297 2005-03-10  Wim Taymans  <wim@fluendo.com>
24298
24299         * docs/design/part-MT-refcounting.txt:
24300         * docs/design/part-clocks.txt:
24301         * docs/design/part-gstelement.txt:
24302         * docs/design/part-gstobject.txt:
24303         * docs/design/part-standards.txt:
24304         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24305         (gst_bin_remove_func), (gst_bin_remove):
24306         * gst/gstbin.h:
24307         * gst/gstbuffer.c:
24308         * gst/gstcaps.h:
24309         * testsuite/clock/clock1.c: (main):
24310         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24311         (main):
24312         * testsuite/dlopen/loadgst.c: (do_test):
24313         * testsuite/refcounting/bin.c: (add_remove_test1),
24314         (add_remove_test2), (main):
24315         * testsuite/refcounting/element.c: (main):
24316         * testsuite/refcounting/element_pad.c: (main):
24317         * testsuite/refcounting/pad.c: (main):
24318         * tools/gst-launch.c: (sigint_handler_sighandler):
24319         * tools/gst-typefind.c: (main):
24320         Doc updates.
24321         Added doc about clock.
24322         removed gst_bin_iterate_recurse_up(), marked methods
24323         for removal.
24324         Fix more testsuites.
24325
24326 2005-03-09  Wim Taymans  <wim@fluendo.com>
24327
24328         * gst/gstpad.c: (gst_pad_get_direction),
24329         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24330         (gst_pad_collect_valist):
24331         * testsuite/bins/interface.c: (main):
24332         * testsuite/caps/audioscale.c: (test_caps):
24333         * testsuite/caps/caps.c: (test1), (test2), (test3):
24334         * testsuite/caps/deserialize.c: (main):
24335         * testsuite/caps/enumcaps.c: (main):
24336         * testsuite/caps/filtercaps.c: (main):
24337         * testsuite/caps/intersect2.c: (main):
24338         * testsuite/caps/random.c: (main):
24339         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24340         * testsuite/caps/sets.c: (check_caps):
24341         * testsuite/caps/simplify.c: (check_caps), (main):
24342         * testsuite/caps/subtract.c: (check_caps):
24343         Fix _pad_get_direction wrt ghostpads.
24344         Fix caps testsuite.
24345
24346 2005-03-09  Wim Taymans  <wim@fluendo.com>
24347
24348         * check/Makefile.am:
24349         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24350         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24351         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24352         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24353         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24354         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24355         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24356         (bin_element_is_sink), (gst_bin_iterate_sinks),
24357         (gst_bin_iterate_all_by_interface):
24358         * gst/gstbin.h:
24359         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24360         (gst_element_change_state), (gst_element_dispose),
24361         (gst_element_finalize), (gst_element_set_loop_function):
24362         * gst/gstelement.h:
24363         * gst/gstiterator.c: (find_custom_fold_func):
24364         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24365         (gst_pad_collectv), (gst_pad_collect_valist),
24366         (gst_pad_template_new):
24367         * gst/gstpipeline.c: (gst_pipeline_class_init),
24368         (gst_pipeline_dispose), (gst_pipeline_set_property),
24369         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24370         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24371         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24372         * gst/gstutils.h:
24373         * gst/schedulers/entryscheduler.c:
24374         * gst/schedulers/gstbasicscheduler.c:
24375         (gst_basic_scheduler_cothreaded_chain),
24376         (gst_basic_scheduler_chain_add_element):
24377         * testsuite/bins/interface.c: (main):
24378         Added GstBin test.
24379         Added GstSystemClock test.
24380         Implemented clock distribution code in GstBin.
24381         Implemented iterate sinks method for future use.
24382         Rearranged gstelement.h
24383         Fix GstIterator comparison bug.
24384         Moved some code to GstPipeline, mostly clocking related.
24385
24386 2005-03-09  Wim Taymans  <wim@fluendo.com>
24387
24388         * configure.ac:
24389         * gst/gst_private.h:
24390         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24391         (gst_bin_remove_func), (gst_bin_remove),
24392         (gst_bin_get_by_name_recurse_up):
24393         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24394         (gst_clock_id_compare_func), (gst_clock_id_wait),
24395         (gst_clock_id_wait_async), (gst_clock_init),
24396         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24397         * gst/gstelement.h:
24398         * gst/gstinfo.c: (_gst_debug_init):
24399         * gst/gstobject.h:
24400         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24401         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24402         * gst/gstpad.h:
24403         Bump version number, we're now 0.9.0
24404         Add future debugging category.
24405         Fix NULL _unref() in _get_by_name_recurse_up
24406         Rearrange gstpad.h.
24407         Update some docs.
24408
24409 2005-03-08  Wim Taymans  <wim@fluendo.com>
24410
24411         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24412         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24413         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24414         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24415         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24416         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24417         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24418         * gst/elements/gstidentity.c: (gst_identity_class_init):
24419         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24420         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24421         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24422         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24423         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24424         (gst_tee_link):
24425         * gst/gstelement.c: (gst_element_class_init),
24426         (gst_element_base_class_init), (gst_element_init),
24427         (gst_element_get_random_pad), (gst_element_wait_state_change),
24428         (gst_element_change_state), (gst_element_dispose),
24429         (gst_element_finalize), (gst_element_set_loop_function):
24430         * gst/gstelement.h:
24431         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24432         * gst/gstthread.c: (gst_thread_class_init),
24433         (gst_thread_release_children_locks), (gst_thread_change_state):
24434         * gst/schedulers/gstbasicscheduler.c:
24435         (gst_basic_scheduler_loopfunc_wrapper),
24436         (gst_basic_scheduler_chain_wrapper),
24437         (gst_basic_scheduler_src_wrapper),
24438         (gst_basic_scheduler_remove_element):
24439         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24440         Remove threadsafe properties. Fix elements because GObject
24441         complains when installing a property before declaring a
24442         set/get_property handler.
24443         Rearrange gstelement.h file, use STATE macros for state locks.
24444         Free mutexes in the finalize method instead of dispose.
24445
24446 2005-03-08  Wim Taymans  <wim@fluendo.com>
24447
24448         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24449         * gst/gstthread.c: (gst_thread_release_children_locks):
24450         Added parentage check.
24451         Fix build og GstThread again.
24452
24453 2005-03-08  Wim Taymans  <wim@fluendo.com>
24454
24455         * docs/design/part-MT-refcounting.txt:
24456         * docs/design/part-conventions.txt:
24457         * docs/design/part-gstobject.txt:
24458         * docs/design/part-relations.txt:
24459         * docs/design/part-standards.txt:
24460         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24461         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24462         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24463         (gst_bin_iterate_all_by_interface):
24464         * gst/gstbuffer.h:
24465         * gst/gstclock.h:
24466         * gst/gstelement.c: (gst_element_class_init),
24467         (gst_element_change_state), (gst_element_set_loop_function):
24468         * gst/gstelement.h:
24469         * gst/gstiterator.c:
24470         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24471         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24472         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24473         (gst_object_set_parent), (gst_object_unparent),
24474         (gst_object_check_uniqueness):
24475         * gst/gstobject.h:
24476         Docs updates, clean up some headers.
24477
24478 2005-03-07  Wim Taymans  <wim@fluendo.com>
24479
24480         * check/.cvsignore:
24481         * check/Makefile.am:
24482         * check/gst-libs/.cvsignore:
24483         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24484         * check/gst/.cvsignore:
24485         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24486         (START_TEST), (gstbus_suite), (main):
24487         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24488         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24489         (gst_data_suite), (main):
24490         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24491         (add_fold_func), (gstiterator_suite), (main):
24492         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24493         (thread_name_object), (thread_name_object_default),
24494         (gst_object_name_compare), (gst_object_suite), (main):
24495         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24496         (gst_pad_suite), (main):
24497         * check/gstcheck.c: (gst_check_log_message_func),
24498         (gst_check_log_critical_func), (gst_check_init):
24499         * check/gstcheck.h:
24500         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24501         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24502         Added checks.
24503
24504 2005-03-07  Wim Taymans  <wim@fluendo.com>
24505
24506         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24507         (gst_list_iterator_next), (gst_list_iterator_resync),
24508         (gst_list_iterator_free), (gst_iterator_new_list),
24509         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24510         (gst_iterator_free), (gst_iterator_push), (filter_next),
24511         (filter_resync), (filter_uninit), (filter_free),
24512         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24513         (gst_iterator_foreach), (find_custom_fold_func),
24514         (gst_iterator_find_custom):
24515         * gst/gstiterator.h:
24516         Added missing files.
24517
24518 2005-03-07  Wim Taymans  <wim@fluendo.com>
24519
24520         * Makefile.am:
24521         * configure.ac:
24522         * docs/design/part-MT-refcounting.txt:
24523         * docs/design/part-conventions.txt:
24524         * docs/design/part-gstobject.txt:
24525         * docs/design/part-relations.txt:
24526         * examples/mixer/mixer.c: (main):
24527         * examples/thread/thread.c: (eos), (main):
24528         * gst/Makefile.am:
24529         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24530         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24531         (gst_spider_plug_from_srcpad):
24532         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24533         (gst_spider_identity_change_state),
24534         (gst_spider_identity_sink_loop_type_finding):
24535         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24536         * gst/elements/gstidentity.c: (gst_identity_init):
24537         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24538         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24539         * gst/elements/gsttypefindelement.c: (free_entry):
24540         * gst/gst.c:
24541         * gst/gst.h:
24542         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24543         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24544         (gst_bin_set_index), (gst_bin_set_element_sched),
24545         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24546         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24547         (gst_bin_iterate_elements), (iterate_child_recurse),
24548         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24549         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24550         (compare_interface), (gst_bin_get_by_interface),
24551         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24552         * gst/gstbin.h:
24553         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24554         (gst_buffer_default_free), (gst_buffer_default_copy),
24555         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24556         (gst_buffer_create_sub):
24557         * gst/gstbuffer.h:
24558         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24559         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24560         (gst_caps_unref), (gst_static_caps_get),
24561         (gst_caps_remove_and_get_structure), (gst_caps_append),
24562         (gst_caps_append_structure), (gst_caps_remove_structure),
24563         (gst_caps_copy_nth), (gst_caps_set_simple),
24564         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24565         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24566         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24567         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24568         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24569         (gst_caps_structure_figure_out_union),
24570         (gst_caps_switch_structures), (gst_caps_do_simplify),
24571         (gst_caps_replace), (gst_caps_from_string),
24572         (gst_caps_copy_conditional):
24573         * gst/gstcaps.h:
24574         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24575         (_gst_clock_id_free), (gst_clock_id_unref),
24576         (gst_clock_id_compare_func), (gst_clock_id_wait),
24577         (gst_clock_id_wait_async), (gst_clock_class_init),
24578         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24579         (gst_clock_get_time), (gst_clock_set_time_adjust),
24580         (gst_clock_set_property), (gst_clock_get_property):
24581         * gst/gstclock.h:
24582         * gst/gstcompat.h:
24583         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24584         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24585         * gst/gstdata.h:
24586         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24587         (gst_element_requires_clock), (gst_element_provides_clock),
24588         (gst_element_set_clock), (gst_element_clock_wait),
24589         (gst_element_wait), (gst_element_set_time_delay),
24590         (gst_element_is_indexable), (gst_element_add_pad),
24591         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24592         (pad_compare_name), (gst_element_get_static_pad),
24593         (gst_element_request_pad), (gst_element_get_request_pad),
24594         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24595         (gst_element_class_get_pad_template_list),
24596         (gst_element_class_get_pad_template), (gst_element_error_func),
24597         (gst_element_get_random_pad), (gst_element_get_event_masks),
24598         (gst_element_send_event), (gst_element_seek),
24599         (gst_element_get_query_types), (gst_element_query),
24600         (gst_element_get_formats), (gst_element_convert),
24601         (gst_element_is_locked_state), (gst_element_set_locked_state),
24602         (gst_element_sync_state_with_parent), (gst_element_change_state),
24603         (gst_element_finalize), (gst_element_yield),
24604         (gst_element_interrupt), (gst_element_set_scheduler),
24605         (gst_element_get_scheduler), (gst_element_set_loop_function):
24606         * gst/gstelement.h:
24607         * gst/gstevent.h:
24608         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24609         (gst_format_get_by_nick), (gst_format_get_details),
24610         (gst_format_iterate_definitions):
24611         * gst/gstformat.h:
24612         * gst/gstindex.c: (gst_index_gtype_resolver):
24613         * gst/gstinfo.c:
24614         * gst/gstinfo.h:
24615         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24616         (gst_mem_chunk_free):
24617         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24618         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24619         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24620         (gst_object_dispatch_properties_changed),
24621         (gst_object_set_name_default), (gst_object_set_name),
24622         (gst_object_get_name), (gst_object_set_name_prefix),
24623         (gst_object_get_name_prefix), (gst_object_set_parent),
24624         (gst_object_get_parent), (gst_object_unparent),
24625         (gst_object_check_uniqueness), (gst_object_save_thyself),
24626         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24627         (gst_object_set_property), (gst_object_get_property),
24628         (gst_object_get_path_string):
24629         * gst/gstobject.h:
24630         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24631         (gst_real_pad_init), (gst_real_pad_get_property),
24632         (gst_pad_custom_new), (gst_pad_get_direction),
24633         (gst_pad_set_active), (gst_pad_is_active),
24634         (gst_pad_set_event_function), (gst_pad_is_linked),
24635         (gst_pad_link_free), (gst_pad_link_intersect),
24636         (gst_pad_link_fixate), (gst_pad_set_caps),
24637         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24638         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24639         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24640         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24641         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24642         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24643         (gst_pad_realize), (gst_pad_get_allowed_caps),
24644         (gst_real_pad_dispose), (gst_real_pad_finalize),
24645         (gst_pad_collectv), (gst_pad_collect_valist),
24646         (gst_pad_template_dispose), (gst_pad_template_new),
24647         (gst_pad_get_internal_links):
24648         * gst/gstpad.h:
24649         * gst/gstpipeline.c: (gst_pipeline_dispose),
24650         (gst_pipeline_change_state):
24651         * gst/gstpipeline.h:
24652         * gst/gstplugin.c:
24653         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24654         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24655         * gst/gstpluginfeature.h:
24656         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24657         * gst/gstquery.c: (_gst_query_type_initialize),
24658         (gst_query_type_register), (gst_query_type_get_by_nick),
24659         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24660         * gst/gstquery.h:
24661         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24662         * gst/gstscheduler.c: (gst_scheduler_add_element),
24663         (gst_scheduler_factory_create):
24664         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24665         (gst_structure_free), (gst_structure_set_name),
24666         (gst_structure_id_set_value), (gst_structure_set_value),
24667         (gst_structure_set_valist), (gst_structure_remove_field),
24668         (gst_structure_remove_fields),
24669         (gst_structure_remove_fields_valist),
24670         (gst_structure_remove_all_fields), (gst_structure_foreach),
24671         (gst_structure_map_in_place),
24672         (gst_caps_structure_fixate_field_nearest_int),
24673         (gst_caps_structure_fixate_field_nearest_double):
24674         * gst/gststructure.h:
24675         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24676         (gst_system_clock_init), (gst_system_clock_dispose),
24677         (gst_system_clock_async_thread),
24678         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24679         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24680         * gst/gstsystemclock.h:
24681         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24682         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24683         * gst/gsttaginterface.c:
24684         * gst/gstthread.c: (gst_thread_dispose),
24685         (gst_thread_release_children_locks), (gst_thread_change_state),
24686         (gst_thread_main_loop):
24687         * gst/gsttrashstack.h:
24688         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24689         * gst/gsttypes.h:
24690         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24691         (gst_element_request_pad), (gst_element_get_pad_from_template),
24692         (gst_element_request_compatible_pad),
24693         (gst_element_get_compatible_pad_filtered),
24694         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24695         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24696         (gst_element_link_many), (gst_element_link),
24697         (gst_element_link_pads), (gst_element_unlink_pads),
24698         (gst_element_unlink_many), (gst_element_unlink),
24699         (gst_pad_can_link_filtered), (gst_pad_can_link),
24700         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24701         (gst_object_default_error), (gst_bin_add_many),
24702         (gst_bin_remove_many), (gst_element_populate_std_props),
24703         (gst_element_class_install_std_props), (gst_buffer_merge),
24704         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24705         (link_fold_func), (gst_pad_proxy_setcaps):
24706         * gst/gstutils.h:
24707         * gst/gstvalue.c: (gst_value_deserialize_string):
24708         * gst/parse/grammar.y:
24709         * gst/schedulers/gstbasicscheduler.c:
24710         (gst_basic_scheduler_cothreaded_chain),
24711         (gst_basic_scheduler_chain_recursive_add),
24712         (gst_basic_scheduler_pad_link):
24713         * gst/schedulers/gstoptimalscheduler.c:
24714         (get_group_schedule_function),
24715         (gst_opt_scheduler_state_transition),
24716         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24717         * libs/gst/bytestream/bytestream.c:
24718         * libs/gst/dataprotocol/dataprotocol.c:
24719         (gst_dp_header_from_buffer):
24720         * po/nb.po:
24721         * po/ru.po:
24722         * tests/threadstate/threadstate2.c: (eos):
24723         * tools/gst-compprep.c: (main):
24724         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24725         (print_pad_info), (print_children_info):
24726         * tools/gst-launch.c: (idle_func), (main):
24727         * tools/gst-md5sum.c: (idle_func), (main):
24728         * tools/gst-xmlinspect.c: (print_element_info):
24729         First THREADED backport attempt, focusing on adding locks and
24730         making sure the API is threadsafe. Needs more work. More docs
24731         follow this week.
24732
24733 2005-02-24  Andy Wingo  <wingo@pobox.com>
24734
24735         * tests/bench-complexity.scm:
24736         * tests/complexity.gnuplot: New files, good for running complexity
24737         benchmarks.
24738
24739         * tests/Makefile.am:
24740         * tests/complexity.c: New test, sets up N elements, at each level
24741         teeing into M streams per element. Eeeenteresting.
24742
24743         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24744         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24745         running bench-mass_elements.scm.
24746
24747         * tests/bench-mass_elements.scm: New script, runs mass_elements
24748         for various numbers of identities, outputting the results to a
24749         file. Requires guile 1.6. Just for testing.
24750
24751 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24752
24753         * gst/schedulers/fairscheduler.c:
24754           compile with debug disabled
24755
24756 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24757
24758         * configure.ac:
24759           hunting season on 0.9 is now OPEN