docs/libs/Makefile.am: Include our build-prefix libs and includes before the generic...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * docs/libs/Makefile.am:
4         Include our build-prefix libs and includes before the generic ones to
5         avoid linking against the installed libs when we want the build-tree
6         ones.
7
8 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9
10         Patch by: Steve Fink  <sphink gmail com>
11
12         * docs/pwg/building-testapp.xml:
13           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
14           if people try to build or install the example from the plugin
15           template against a GStreamer from package using the configure
16           defaults.
17
18 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
19
20         Patch by: Steve Fink  <sphink gmail com>
21
22         * tools/gst-inspect.1.in:
23           Document --print-all and --print-plugin-auto-install-info command
24           line options in man page.
25
26 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
27
28         * docs/gst/gstreamer-sections.txt:
29         Add docs for new api function.
30
31 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
32
33         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
34         * gst/gstelementfactory.h:
35         API: gst_element_factory_has_interface()
36         Added method to check if an element factory implements a named
37         interface.
38
39 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
40
41         * configure.ac:
42         * docs/gst/gstreamer.types.in:
43           Another conditional doc check.
44
45         * gst/gstmessage.c:
46         * gst/gstparamspecs.h:
47         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
48         * gst/gstvalue.c:
49         * gst/gstxml.h:
50           API-doc fixes.
51
52 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
53
54         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
55         (gst_registry_binary_load_feature),
56         (gst_registry_binary_load_plugin),
57         (gst_registry_binary_read_cache):
58           Print error just once and with additional info.
59
60 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
61
62         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
63         (helper_find_suggest), (helper_find_get_length),
64         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
65         (gst_type_find_helper_for_buffer):
66           Cleanup the typefindhelper code and add private doc comments.
67
68 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
69
70         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
71         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
72         Fix capsfilter for cases where the caps set on capsfilter will provide
73         additional information.
74         Fixes #449197
75
76 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
77
78         * gst/gsttypefindfactory.c:
79           Fix docs that recommened wrong function to use.
80
81 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
82
83         * tools/gst-inspect.c: (print_plugin_features):
84           Also give media-type for typefinders in element output.
85
86 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
87
88         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
89         (gst_registry_remove_features_for_plugin_unlocked),
90         (gst_registry_add_feature), (gst_registry_remove_feature),
91         (gst_registry_lookup_feature_locked):
92         * gst/gstregistry.h:
93           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
94           Fixes #459501.
95
96 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
97
98         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
99         (gst_plugin_feature_set_name):
100           Avoid double memory usage for pluginfeature names. Fixes #459466.
101
102 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
103
104         * gst/gstpad.h:
105           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
106           driving the pipeline may need to explicitly check for NOT_LINKED as
107           well, since IS_FATAL doesn't cover that.
108
109 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
110
111         * docs/pwg/advanced-types.xml:
112           Fix typo and duplicate entry in video formats list.
113
114 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
115
116         * libs/gst/controller/gstinterpolation.c:
117         Also round to the nearest int when using cubic interpolation.
118
119 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
120
121         * libs/gst/controller/gstinterpolation.c:
122         When linearly interpolating integer types, round to the nearest int
123         by adding 0.5. Don't do it for float/double types.
124         Fixes the failing controller test on my machine, which is somehow
125         rounding differently than on the buildbots.
126
127 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
128
129         * tools/gst-plot-timeline.py:
130           Better log parsing (categories can have -). Adjust text vs. lines, so
131           that they span the same y-range.        
132
133 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
134
135         * docs/random/ensonic/audiobaseclasses.txt:
136         * docs/random/ensonic/dynlink.txt:
137         * docs/random/ensonic/profiling.txt:
138           Save my thoughts.
139
140         * docs/random/moving-plugins:
141           Add note to use g_assert type macros.
142
143 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
144
145         * configure.ac:
146         * libs/gst/check/Makefile.am:
147           Add libm check as we use in for plugins.
148
149 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
150
151         * gst/gstbin.c: (gst_bin_continue_func):
152         Check that the state_cookie hasn't changed since the continue_func
153         was scheduled. Avoids problems where the state changes back to
154         something it shouldn't be because it was changed in the meantime.
155
156 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
157
158         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
159         (gst_registry_binary_save_string),
160         (gst_registry_binary_save_pad_template),
161         (gst_registry_binary_save_feature),
162         (gst_registry_binary_save_plugin),
163         (gst_registry_binary_load_feature),
164         (gst_registry_binary_load_plugin),
165         (gst_registry_binary_read_cache):
166           Fix memory leak. Be less verbose in the log.
167
168 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
169
170         * tests/check/elements/.cvsignore:
171         Add file to cvsignore as commanded.
172
173 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
174
175         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
176         (mq_dummypad_event), (run_output_order_test):
177         Use a GStaticMutex to protect all cases where libcheck
178         fail_if/fail_unless macros might be called from multiple threads
179         simultaneously to avoid errors like:
180           "check_pack.c:107: :-1081725400:Bad message type arg"
181
182 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
183
184         * tests/check/pipelines/stress.c: (GST_START_TEST):
185         Make sure we set the pipeline back to the NULL state before
186         dropping our final reference.
187
188 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
189
190         * tests/check/elements/tee.c: (GST_START_TEST):
191         Make the tee stress-test a little less stressful so it doesn't just
192         time out on slow-machines, and remove a small race when it's starting 
193         up by adding a get_state() call.
194
195 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
196
197         * gst/gst.c:
198           Avoid reading registry twice on startup. Fixes #457322.
199
200 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
201
202         * pkgconfig/gstreamer-check-uninstalled.pc.in:
203         * pkgconfig/gstreamer-check.pc.in:
204         Substitute the CFLAGS for libcheck into our .pc file too so that
205         dependent modules will pick it up properly if libcheck is installed
206         into some other prefix.
207
208 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
209
210         * configure.ac:
211         Revert the pkg-config check for libcheck, since it pulls in the
212         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
213         a proper solution, either from the check project, or something else.
214
215 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
216
217         * configure.ac:
218           Use pkg-config to locate check.
219
220 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
221
222         * gst/gsttaglist.c:
223           Fix doc syntax.
224
225         * gst/gstutils.c:
226         * gst/gstutils.h:
227           Add deprecation guards.
228
229         * libs/gst/base/gstcollectpads.h:
230           Don't document object (this is implicitly private).
231
232 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
233
234         * gst/gststructure.c: (gst_structure_parse_value):
235           When deserialising foo=bar without a type cast, check if it's a
236           boolean before falling back to a string type, otherwise things like
237           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
238           because the filtercaps end up having a signed=(string)true field,
239           which causes problems later when intersection caps.
240
241         * tests/check/gst/gststructure.c: (GST_START_TEST):
242           Add a unit test for this.
243
244 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
245
246         Reviewed by: Stefan Kost <ensonic@users.sf.net>
247
248         * libs/gst/controller/Makefile.am:
249         * libs/gst/controller/gstcontroller.c:
250         (gst_controlled_property_add_interpolation_control_source),
251         (gst_controlled_property_new), (gst_controlled_property_free),
252         (gst_controller_find_controlled_property),
253         (gst_controller_new_valist), (gst_controller_new_list),
254         (gst_controller_new), (gst_controller_remove_properties_valist),
255         (gst_controller_remove_properties_list),
256         (gst_controller_remove_properties),
257         (gst_controller_set_property_disabled),
258         (gst_controller_set_disabled), (gst_controller_set_control_source),
259         (gst_controller_get_control_source), (gst_controller_get),
260         (gst_controller_sync_values), (gst_controller_get_value_array),
261         (_gst_controller_dispose), (gst_controller_get_type),
262         (gst_controlled_property_set_interpolation_mode),
263         (gst_controller_set), (gst_controller_set_from_list),
264         (gst_controller_unset), (gst_controller_unset_all),
265         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
266         * libs/gst/controller/gstcontroller.h:
267         * libs/gst/controller/gstcontrollerprivate.h:
268         * libs/gst/controller/gstcontrolsource.c:
269         (gst_control_source_class_init), (gst_control_source_init),
270         (gst_control_source_get_value),
271         (gst_control_source_get_value_array), (gst_control_source_bind):
272         * libs/gst/controller/gstcontrolsource.h:
273         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
274         (gst_object_get_control_source):
275         * libs/gst/controller/gstinterpolation.c:
276         (gst_interpolation_control_source_find_control_point_node),
277         (gst_interpolation_control_source_get_first_value),
278         (_interpolate_none_get), (interpolate_none_get),
279         (interpolate_none_get_boolean_value_array),
280         (interpolate_none_get_enum_value_array),
281         (interpolate_none_get_string_value_array),
282         (_interpolate_trigger_get), (interpolate_trigger_get),
283         (interpolate_trigger_get_boolean_value_array),
284         (interpolate_trigger_get_enum_value_array),
285         (interpolate_trigger_get_string_value_array):
286         * libs/gst/controller/gstinterpolationcontrolsource.c:
287         (gst_control_point_free), (gst_interpolation_control_source_reset),
288         (gst_interpolation_control_source_new),
289         (gst_interpolation_control_source_set_interpolation_mode),
290         (gst_interpolation_control_source_bind),
291         (gst_control_point_compare), (gst_control_point_find),
292         (gst_interpolation_control_source_set_internal),
293         (gst_interpolation_control_source_set),
294         (gst_interpolation_control_source_set_from_list),
295         (gst_interpolation_control_source_unset),
296         (gst_interpolation_control_source_unset_all),
297         (gst_interpolation_control_source_get_all),
298         (gst_interpolation_control_source_get_count),
299         (gst_interpolation_control_source_init),
300         (gst_interpolation_control_source_finalize),
301         (gst_interpolation_control_source_dispose),
302         (gst_interpolation_control_source_class_init):
303         * libs/gst/controller/gstinterpolationcontrolsource.h:
304         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
305         API: Refactor GstController into the core controller which can take
306         a GstControlSource for providing actual values for timestamps.
307         Implement a interpolation control source and use this for backward
308         compatibility, deprecate a bunch of functions that are now handled
309         by GstControlSource or GstInterpolationControlSource.
310         Make it possible to disable the controller completely or only for
311         specific properties. Fixes #450711.
312         * docs/libs/gstreamer-libs-docs.sgml:
313         * docs/libs/gstreamer-libs-sections.txt:
314         * docs/libs/gstreamer-libs.types:
315         Add new functions and classes to the docs.
316         * tests/check/libs/controller.c: (GST_START_TEST),
317         (gst_controller_suite):
318         * tests/examples/controller/audio-example.c: (main):
319         Port unit test and example to the new API and add some new
320         unit tests.
321
322 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
323
324         Patch by: Mark Nauwelaerts <manauw at skynet be>
325
326         * plugins/elements/gstmultiqueue.c:
327         (gst_multi_queue_get_internal_links), (apply_buffer),
328         (single_queue_overrun_cb), (gst_single_queue_new):
329         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
330         the pipeline layout can be tracked correctly. Fixes #453732.
331
332 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
333
334         * docs/gst/Makefile.am:
335         * docs/libs/Makefile.am:
336         * docs/plugins/Makefile.am:
337           Simplify --extra-dir as gtkdoc scans recursively.
338
339 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
340
341         * tools/gst-launch.c: (main):
342         When we got an error, there is no point in waiting for preroll when
343         shutting down.
344
345 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
346
347         * plugins/elements/gsttee.c: (gst_tee_base_init),
348         (gst_tee_request_new_pad), (gst_tee_release_pad),
349         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
350         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
351         (gst_tee_chain):
352         Be a lot smarter when deciding what srcpad to use for proxying
353         the buffer_alloc. Also handle pad added/removed when doing so.
354         Fixes #357959.
355         Keep track of what pads we already pushed on in case we have pads
356         added/removed while pushing. Fixes #374639 
357
358         * tests/check/Makefile.am:
359         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
360         (tee_suite):
361         Added unit test for pad resync.
362
363 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
364
365         * po/nl.po:
366         * po/sv.po:
367           Updated translations.
368
369 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
370
371         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
372
373         * po/LINGUAS:
374         * po/fi.po:
375           Added new Finnish translation.
376
377 2007-06-28  Wim Taymans  <wim@fluendo.com>
378
379         * plugins/elements/gstmultiqueue.c: (apply_buffer),
380         (single_queue_overrun_cb):
381         When figuring out when a queue is filled, use our internal time estimate
382         based on segments, just like check_full does.
383
384 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
385
386         * gst/gstminiobject.c: (gst_mini_object_get_type):
387           Remove 3 do-nothing methods.
388
389 2007-06-27  Wim Taymans  <wim@fluendo.com>
390
391         Patch by: Tim Angus <tim at ngus dot net>
392
393         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
394         (gst_capsfilter_set_property):
395         Take a reference instead of a copy when setting "caps".
396         Fix documentation to clarify this behaviour. Fixes #449414.
397
398 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
399
400         * gst/gstindexfactory.c: (gst_index_factory_get_type):
401         * gst/gstplugin.c: (gst_plugin_init):
402         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
403         * gst/gstquery.c: (gst_query_get_type):
404         * gst/gstregistry.c: (gst_registry_init):
405         * gst/gsturi.c: (gst_uri_handler_base_init):
406           Remove empty instance_init() functions to save relocs and lessen the
407           noise. Remove some of the function prototypes that are doubled by
408           G_DEFINE_TYPE.
409           
410 2007-06-27  Wim Taymans  <wim@fluendo.com>
411
412         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
413
414         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
415         Add peer and direction in the XML serialisation of ghostpads.
416         Fixes #449226.
417
418 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
419
420         * configure.ac:
421           Preserve useful information, thanks Tim.
422
423 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
424
425         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
426         (gst_single_queue_flush), (apply_segment), (apply_buffer),
427         (gst_single_queue_push_one), (gst_multi_queue_loop),
428         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
429         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
430         (compute_high_id), (gst_single_queue_new):
431         * plugins/elements/gstmultiqueue.h:
432         Take the multiqueue lock when updating the fill level so we don't get
433         confused. 
434
435         After applying a buffer or event on the src pad segment, make sure to
436         call gst_data_queue_limits_changed() to get the data queue to unblock
437         and check the filled state again.
438         
439         Rework the not-linked pad handling so the logic is that not-linked 
440         pads can push as fast as they like, but only so they never get 
441         ahead of any linked pads.
442
443         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
444         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
445         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
446
447         Add a test to check that not-linked pads always stay behind
448         linked pads.
449
450         Fixes: #430682
451
452 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
453
454         * docs/random/release:
455           Some updates to the release procedure.
456
457 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
458
459         * gst/gstelementfactory.c: (__gst_element_details_clear):
460           Microoptimization that saves stunning 80 bytes.
461
462 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
463
464         * docs/plugins/gstreamer-plugins.args:
465         * docs/plugins/inspect/plugin-coreelements.xml:
466         * docs/plugins/inspect/plugin-coreindexers.xml:
467           Update docs with caps info.
468
469 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
470
471         * po/it.po:
472           Updated Italian translation.
473
474 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
475
476         * ChangeLog:
477         * po/vi.po:
478           Update Vietnamese translations.
479
480 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
481
482         * libs/gst/base/gstbasesink.c:
483           Remove unused signal enum.
484
485 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
486
487         * docs/gst/gstreamer-sections.txt:
488         * gst/gstelement.c:
489         * gst/gstutils.c: (gst_type_register_static_full):
490         Beef up and include the docs for gst_type_register_static_full and
491         gst_element_class_set_details_simple and add the API keyword
492         in the ChangeLog.
493
494 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
495
496         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
497         (update_time_level), (gst_single_queue_push_one),
498         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
499         (single_queue_overrun_cb), (single_queue_underrun_cb),
500         (single_queue_check_full):
501         Fix setting max-* properties after adding queues.
502         Use IS_FILLED for checking visible items.
503         Signal overrun if multiple queues overrun.
504         Add extra debug output.
505         Patch by: Wim Taymans <wim@fluendo.com>
506
507 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
508
509         * gst/gstelement.c: (gst_element_class_set_details_simple):
510         * gst/gstelement.h:
511         * gst/gstutils.c: (gst_type_register_static_full):
512         * gst/gstutils.h:
513         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
514         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
515         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
516         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
517         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
518         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
519         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
520         * plugins/elements/gstidentity.c: (gst_identity_base_init):
521         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
522         * plugins/elements/gstqueue.c: (gst_queue_base_init),
523         (apply_buffer), (gst_queue_chain):
524         * plugins/elements/gsttee.c: (gst_tee_base_init):
525         * plugins/elements/gsttypefindelement.c:
526         (gst_type_find_element_base_init),
527         (gst_type_find_element_class_init):
528           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
529           API: add gst_type_register_static_full
530           API: add gst_element_class_set_details_simple
531
532 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
533
534         * docs/pwg/advanced-types.xml:
535           Fix typo in iana.org URI.
536
537 2007-06-19  Andy Wingo  <wingo@pobox.com>
538
539         * tests/check/pipelines/simple-launch-lines.c
540         (test_state_change_returns): Enable pull-mode tests now that
541         basesink has been fixed.
542
543         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
544         Changed from gst_base_sink_is_prerolled, reversing the sense of
545         the return value. Returns FALSE also if the sink is in pull mode,
546         in which case it needs no preroll.
547         (gst_base_sink_query, gst_base_sink_change_state): Update for
548         needs_preroll change.
549         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
550         chaining up, in which we return SUCCESS directly if we activated
551         in pull mode instead of ASYNC. Involves countering an async_start
552         message sent before chaining up; not sure if this is correct, in
553         an ideal world we only send async-start when activating in push
554         mode.
555
556         * tests/check/pipelines/simple-launch-lines.c
557         (test_state_change_returns): New test, partially disabled until
558         basesink is fixed.
559
560 2007-06-19  Wim Taymans  <wim@fluendo.com>
561
562         * plugins/elements/gstmultiqueue.c: (apply_buffer),
563         (gst_multi_queue_sink_event):
564         Fix event leak.
565
566 2007-06-19  Wim Taymans  <wim@fluendo.com>
567
568         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
569         (gst_bin_change_state_func), (bin_push_state_continue),
570         (bin_handle_async_start), (bin_handle_async_done),
571         (gst_bin_handle_message_func):
572         Move the common code for posting state-change messages into
573         one function.
574         Broadcast the state signal after we posted the messages.
575         Mark the bin as busy when it's doing a state-change.
576         Make sure async-start/done messages don't interfere with the bin's
577         state when it's busy.
578         After the state change, let the bin check which elements completed the
579         state change while it was busy so that it can update its state.
580
581 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
582
583         * docs/random/release:
584         Add a note about updating the doap file to the release checklist
585
586 2007-06-18  Wim Taymans  <wim@fluendo.com>
587
588         * plugins/elements/gstmultiqueue.c: (apply_buffer),
589         (gst_single_queue_push_one), (gst_multi_queue_chain),
590         (gst_multi_queue_sink_event):
591         Make sure we don't reference the buffer/event after we have given away
592         ownership in the queue.
593
594 2007-06-18  Wim Taymans  <wim@fluendo.com>
595
596         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
597         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
598         Update queue state _after_ adding the item in the queue because else we
599         could end up being full without the element added yet.
600
601 2007-06-18  Wim Taymans  <wim@fluendo.com>
602
603         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
604         (gst_bin_remove_func), (gst_bin_get_state_func),
605         (gst_bin_element_set_state), (gst_bin_continue_func),
606         (bin_push_state_continue), (bin_handle_async_start),
607         (bin_handle_async_done), (gst_bin_handle_message_func):
608         * gst/gstbin.h:
609         Immediatly commit the toplevel bin state when receiving an async-done
610         message. This enables us to avoid spawning a thread to commit the state
611         in some common cases and it also avoids some races.
612         Avoid spawning a state thread when adding/removing async elements to a
613         toplevel bin. Instead we immediatly update the bin state.
614         Get rid of iterating all the children when getting the state in the bin
615         because it is now always up-to-date.
616         Fix bug where locked elements would always return _SUCCESS even it they
617         returned NO_PREROLL before being locked.
618         Fix the order of the state_change, async-start/done messages that was
619         sometimes incorrect.
620         Mark the state_dirty field as deprecated, we don't need it anymore as we
621         are always up-to-date.
622
623         * gst/gstelement.c: (gst_element_get_state_func),
624         (gst_element_continue_state):
625         Small debug inprovements.
626         Return the previous element state return when nothing is pending instead
627         of blindly returning SUCCESS.
628
629         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
630         (gst_sinks_suite):
631         Add a whole bunch of new testcases.
632
633 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
634
635         * po/uk.po:
636         * po/vi.po:
637           Update translations.
638
639 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
640
641         * gst/gstpad.c:
642         Fix typo in the docs.
643
644 2007-06-15  Wim Taymans  <wim@fluendo.com>
645
646         * docs/libs/gstreamer-libs-sections.txt:
647         Add docs for new methods.
648
649 2007-06-15  Wim Taymans  <wim@fluendo.com>
650
651         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
652         (gst_multi_queue_item_new):
653         Don't use GSlice because we don't depend on >= 2.10 yet.
654
655 2007-06-15  Wim Taymans  <wim@fluendo.com>
656
657         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
658         (update_time_level), (apply_segment), (apply_buffer),
659         (gst_single_queue_push_one), (gst_multi_queue_item_new),
660         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
661         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
662         (single_queue_underrun_cb), (single_queue_check_full):
663         Remove debug printf.
664
665 2007-06-15  Wim Taymans  <wim@fluendo.com>
666
667         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
668         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
669         (gst_data_queue_set_flushing), (gst_data_queue_push),
670         (gst_data_queue_pop), (gst_data_queue_drop_head),
671         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
672         * libs/gst/base/gstdataqueue.h:
673         Various cleanups.
674         Added methods to get the current levels and to inform the queue that the
675         'full' limits changed.
676
677         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
678         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
679         (gst_single_queue_flush), (update_time_level), (apply_segment),
680         (apply_buffer), (gst_single_queue_push_one),
681         (gst_multi_queue_item_steal_object),
682         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
683         (gst_multi_queue_loop), (gst_multi_queue_chain),
684         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
685         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
686         (gst_multi_queue_src_query), (single_queue_overrun_cb),
687         (single_queue_underrun_cb), (single_queue_check_full),
688         (gst_single_queue_new):
689         Keep track of time in the queue by measuring the difference between
690         running_time on input and output. This gives more accurate results and
691         can compensate for segments correctly.
692         Make a queue by default only 5 buffers deep. We will now increase the
693         buffer size depending on the filledness of the other queues.
694         Factor out commong flush code.
695         Make sure we don't add additional refcounts to buffers when we can avoid
696         it.
697         Propagate GstFlowReturn differently.
698         Use GSlice for intermediate GstMultiQueueItems.
699         Keep track of EOS.
700         Resize queues on over and underruns based on filled level of other
701         queues.
702         When checking if the queue is filled, prefer to measure in time if we
703         can and fall back to bytes when no time is known.
704
705         * plugins/elements/gstqueue.c:
706         Fix return value.
707
708 2007-06-15  Wim Taymans  <wim@fluendo.com>
709
710         * libs/gst/base/gstbasetransform.c:
711         (gst_base_transform_sink_event):
712         Work around the brokenness of the event vmethod in basetransform. Prefer
713         to return TRUE when the subclass returned FALSE (meaning don't forward
714         the event). 
715
716         * libs/gst/base/gstbasetransform.h:
717         Clarify the docs.
718
719 2007-06-15  Wim Taymans  <wim@fluendo.com>
720
721         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
722         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
723         (gst_base_src_default_query), (gst_base_src_get_range),
724         (gst_base_src_start):
725         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
726         Improve debugging.
727
728 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
729
730         * docs/pwg/advanced-types.xml:
731           Added more formats to caps table.
732
733 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
734
735         * tools/gst-launch.c: (main):
736           Remove crufy code. GOption does not need this workaround.
737
738 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
739
740         * libs/gst/controller/gstcontroller.c:
741         (gst_controlled_property_set_interpolation_mode):
742           Fix wrong getter for enums in controller.
743
744 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
745
746         * libs/gst/check/gstcheck.c: (gst_check_init):
747           Intercept criticals and warnings in the Gst-Phonon log domain, so
748           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
749           well.
750         
751 2007-06-14  Edward Hervey  <edward@fluendo.com>
752
753         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
754         Since this file doesn't include "gst.h" it will not go through the
755         macros that disable GST_LOG if debugging was disabled.
756
757 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
758
759         * libs/gst/check/Makefile.am:
760         * libs/gst/check/gstcheck.h:
761         * pkgconfig/gstreamer-check-uninstalled.pc.in:
762         * pkgconfig/gstreamer-check.pc.in:
763           Ugly 'fix' for the controller unit test on the p5 bot: in
764           fail_unless_equals_float() check whether the values are 'almost
765           equal' by allowing a small absolute error, which should be good
766           enough for our use cases (normal numbers and values close to 0).
767           Proper fixage left to floating point arithmetic aficionados.
768
769 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
770
771         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
772         (gst_base_sink_render_object), (gst_base_sink_get_position):
773           Add two breaks thats where missing.
774
775 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
776
777         * docs/libs/gstreamer-libs-sections.txt:
778         * libs/gst/check/gstcheck.h:
779           API: add fail_unless_equals_float() and assert_equals_float().
780           Add documentation for some of the macros.
781
782         * tests/check/libs/controller.c: (GST_START_TEST):
783           Use newly-added asserts.
784
785 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
786
787         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
788           Show the caps change in the log to help spotting the case of not
789           exactly matching caps.
790
791 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
792
793         * docs/pwg/building-boiler.xml:
794           Fix typos, spotted by Thijs Vermeir (#447190).
795
796 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
797
798         * docs/plugins/tmpl/.cvsignore:
799         Ignore file to keep the buildbots happy
800
801 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
802
803         * docs/plugins/Makefile.am:
804         * docs/plugins/gstreamer-plugins-docs.sgml:
805         * docs/plugins/gstreamer-plugins-sections.txt:
806         Pull fdsink into the docs too.
807
808 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
809
810         * libs/gst/controller/gstinterpolation.c:
811         Actually use the new functions with min/max checks for the trigger and
812         none interpolation modes for get() and get_value_array() instead of
813         just the latter.
814
815 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
816
817         * libs/gst/controller/gstcontroller.c:
818         (gst_controlled_property_free):
819         Unset the minimum and maximum GValues when freeing the corresponding
820         GstControllerProperty struct.
821
822 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
823
824         * libs/gst/controller/gstcontroller.c:
825         (gst_controlled_property_new):
826         * libs/gst/controller/gstcontrollerprivate.h:
827         * libs/gst/controller/gstinterpolation.c:
828         (gst_controlled_property_find_control_point_node),
829         (interpolate_none_get), (interpolate_none_get_enum_value_array),
830         (interpolate_none_get_string_value_array),
831         (interpolate_trigger_get),
832         (interpolate_trigger_get_enum_value_array),
833         (interpolate_trigger_get_string_value_array):
834         Protect against values larger or smaller than the minimum or maximum
835         allowed value for the property when using values that can be compared.
836
837         Optimize trigger interpolator a bit by taking the last requested value
838         into account instead of always looping through the complete list.
839
840         Fix coding style a bit, everywhere else we use "return foo" instead
841         of "return (foo)".
842         
843         * tests/check/libs/controller.c: (GST_START_TEST),
844         (gst_controller_suite):
845         Add unit test for the protection against too large or too small
846         values.
847
848 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
849
850         * docs/random/slomo/controller.txt:
851         Add some thoughts about the future of the controller.
852
853 2007-06-08  Wim Taymans  <wim@fluendo.com>
854
855         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
856         Don't overflow in retimestamping code.
857
858 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
859
860         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
861         Use gst_util_guint64_to_gdouble for conversions.
862         * win32/common/libgstreamer.def:
863         Add new exported functions.
864
865 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
866
867         * gst/gstutils.c:
868           Small docs addition.
869
870 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
871
872         * README:
873           Remove that test line again.
874
875 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
876
877         * README:
878           Test commit mail sending.
879
880 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
881
882         * configure.ac:
883           Fix typo and test commit mail sending.
884
885 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
886
887         * tests/examples/controller/audio-example.c:
888           Improve comment and test commit mail sending.
889
890 2007-06-07  Wim Taymans  <wim@fluendo.com>
891
892         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
893         (gst_bin_remove_func), (gst_bin_element_set_state),
894         (bin_handle_async_start), (bin_handle_async_done),
895         (gst_bin_handle_message_func):
896         Add helper function to find messages.
897         Generate the async-done messages together with the state change
898         messages.
899         Small cleanups in handling toplevel bins.
900
901 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
902
903         * libs/gst/base/gstdataqueue.c:
904         * libs/gst/base/gstdataqueue.h:
905         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
906         (gst_multi_queue_item_new), (gst_multi_queue_chain),
907         (gst_multi_queue_sink_event):
908         * tests/check/elements/multiqueue.c: (multiqueue_suite):
909           Fix multiqueue leaking buffers and events when downstream or the
910           queue are flushing. Make refcounting assumptions explicit and
911           document them (shouldn't break existing code that uses it other than
912           maybe leak miniobjects, but that already happens anyway). Add unit
913           test for the most common flushing case. Fixes #423700.
914           
915 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
916
917         * libs/gst/controller/gstcontroller.c:
918         Clarify docs: The get_all, get_value_array(s) functions
919         don't modify the GObject properties.
920
921 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
922
923         * libs/gst/controller/gstcontroller.c:
924         (gst_controlled_property_set_interpolation_mode),
925         (gst_controlled_property_prepend_default),
926         (gst_controlled_property_new), (gst_controller_set_unlocked),
927         (gst_controller_set), (gst_controller_set_from_list),
928         (gst_controller_unset), (gst_controller_unset_all):
929         * libs/gst/controller/gstcontrollerprivate.h:
930         * libs/gst/controller/gstinterpolation.c:
931         Factor out the 'set' logic into gst_controller_set_unlocked for the
932         gst_controller_set and gst_controller_set_from_list functions.
933
934         To make life of the interpolators easier always add a control point
935         at timestamp zero with the default value.
936
937         In the linear interpolator make things more obvious by better variable
938         naming (slope).
939
940         Implement cubic interpolation mode (by using a natural cubic spline)
941         and map the quadratic interpolation mode to this too (as quadratic
942         doesn't make much sense, see discussion on the list).
943
944         * tests/check/libs/controller.c: (GST_START_TEST),
945         (gst_controller_suite):
946         Add unit test for the cubic interpolation mode and check everywhere
947         if the interpolation mode could be set as expected.
948
949 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
950
951         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
952           Don't use GLib-2.10 functions, we still depend on
953           GLib-how-old-is-it-again-2.8.
954
955 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
956
957         * docs/gst/gstreamer-sections.txt:
958         * gst/Makefile.am:
959         * gst/gst.c:
960         * gst/gst.h:
961         * gst/gstparamspecs.c: (_gst_param_fraction_init),
962         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
963         (_gst_param_fraction_values_cmp),
964         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
965         * gst/gstparamspecs.h:
966         * gst/gstvalue.c:
967         * tests/check/Makefile.am:
968         * tests/check/gst/.cvsignore:
969         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
970         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
971         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
972         (GST_START_TEST), (gst_param_spec_suite):
973           API: add GstParamSpecFraction, so elements can have fraction
974           properties without lots of painful string parsing (#444648).
975
976 2007-06-05  Wim Taymans  <wim@fluendo.com>
977
978         * gst/gstobject.c: (gst_object_class_init):
979         Fix signal signature.
980
981         * gst/gstsegment.c:
982         Add small clarification in the api docs.
983
984         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
985         States are protected with object lock.
986
987 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
988
989         * AUTHORS:
990         I should probably be listed as an author by now.
991
992         * docs/random/release:
993         Update the release doc
994
995 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
996
997         * gst/gstvalue.c:
998           Make docs for gst_value_compare() mention return enums that
999           actually exist.
1000
1001 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1002
1003         * configure.ac:
1004           Back to CVS
1005
1006 === release 0.10.13 ===
1007
1008 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1009
1010         * configure.ac:
1011           releasing 0.10.13, "With or without you"
1012
1013 2007-05-25  Wim Taymans  <wim@fluendo.com>
1014
1015         * gst/gstbin.c: (bin_handle_async_done):
1016         Make sure that the child bin stops after completing the async state
1017         change so that the parent can continue the state change to PLAYING.
1018         Fixes #441159.
1019
1020 2007-05-25  Wim Taymans  <wim@fluendo.com>
1021
1022         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1023         (unref_data), (gst_collect_pads_remove_pad),
1024         (gst_collect_pads_check_pads):
1025         Use additional refcounting to avoid crashes when dynamically adding and
1026         removing pads. Fixes #420206.
1027
1028 2007-05-24  Wim Taymans  <wim@fluendo.com>
1029
1030         * tools/gst-launch.c: (event_loop):
1031         When buffering goes from a two digit to a single digit number, make sure
1032         to remove the old second digit by writing a blank over it.
1033
1034 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1035
1036         * libs/gst/base/gstdataqueue.c:
1037           Eliminate tabs and trailing comma in enum list; fix some typos.
1038
1039 2007-05-24  Wim Taymans  <wim@fluendo.com>
1040
1041         * tests/check/gst/gstbin.c: (GST_START_TEST):
1042         Allow refcount of 3 and 4 because some state thread might still be busy
1043         with it.
1044
1045 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1046
1047         * plugins/elements/Makefile.am:
1048         * plugins/elements/gstmultiqueue.h:
1049         * plugins/elements/gstqueue.h:
1050           These are not installed headers, no need for padding.
1051
1052 2007-05-24  Wim Taymans  <wim@fluendo.com>
1053
1054         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1055         (gst_bin_continue_func):
1056         Enable latency for next release.
1057         Restore STATE_LOCK around recalc_state that was left out during the
1058         rewrite and could result in racy behaviour when _get_state and
1059         recalc_state are run concurrently. See #440463.
1060
1061 2007-05-23  Wim Taymans  <wim@fluendo.com>
1062
1063         * tests/check/gst/gstsystemclock.c: (store_callback),
1064         (GST_START_TEST):
1065         Improve test_async_order to also work when both timers are already
1066         expired when we get scheduled to check it.
1067
1068 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1069
1070         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1071         (gst_bin_set_property), (gst_bin_get_property),
1072         (gst_bin_remove_func), (gst_bin_handle_message_func):
1073         * gst/gstbin.h:
1074           'private' is a c++ keyword, let's not use that in header files,
1075           otherwise c++ compilers will throw a tantrum.
1076
1077 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1078
1079         * plugins/elements/gstelements.c:
1080         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1081         (gst_file_sink_get_current_offset):
1082         * plugins/indexers/gstindexers.c: (plugin_init):
1083           Use #ifdef for HAVE_XYZ for consistency.
1084
1085         * tests/check/Makefile.am:
1086         * tests/check/elements/.cvsignore:
1087         * tests/check/elements/filesink.c: (setup_filesink),
1088         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1089           Add some unit tests for filesink.
1090
1091 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1092
1093         Patch by: Mark Nauwelaerts <manauw at skynet be>
1094
1095         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1096         (gst_file_sink_query), (gst_file_sink_do_seek),
1097         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1098         * plugins/elements/gstfilesink.h:
1099           Fix position reporting; rename data_written member to current_pos to
1100           reflect its real meaning (fixes #412648).
1101
1102 2007-05-22  Edward Hervey  <edward@fluendo.com>
1103
1104         * docs/gst/gstreamer-sections.txt:
1105         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1106         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1107         (gst_bin_remove_func), (gst_bin_handle_message_func):
1108         * gst/gstbin.h:
1109         Add a property for bins that handle the state change of their childs.
1110         Fixes #435880
1111
1112 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1113
1114         * libs/gst/controller/gstinterpolation.c:
1115         Use an array of the correct type when using _get_value_array with
1116         linear interpolation.
1117
1118 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1119
1120         * gst/gstelement.c (gst_element_requires_clock,
1121           gst_element_provides_clock, gst_element_request_pad,
1122           gst_element_class_set_details, gst_element_class_set_details_simple,
1123           gst_element_default_send_event, gst_element_abort_state,
1124           gst_element_continue_state, gst_element_set_state,
1125           gst_element_set_state_func, iterator_activate_fold_with_resync):
1126         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1127           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1128           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1129           gst_pad_get_range, gst_pad_pull_range):
1130         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1131           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1132           GstPadActivateModeFunction, GstPadChainFunction,
1133           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1134           GstPadFixateCapsFunction, GstPadTemplate):
1135         * gst/gstpipeline.c (gst_pipeline_change_state,
1136           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1137           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1138           gst_pipeline_get_delay):
1139           Whitespace and docs fixes.
1140
1141 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1142
1143         * libs/gst/controller/gstinterpolation.c:
1144         (interpolate_trigger_get_enum_value_array),
1145         (interpolate_trigger_get_string_value_array):
1146         Add support for retrieving value arrays when using the trigger
1147         interpolation mode. 
1148
1149 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1150
1151         * libs/gst/controller/gstcontroller.c:
1152         (gst_controller_get_value_array):
1153         * libs/gst/controller/gstcontroller.h:
1154         Clarify the docs of gst_controller_get_value_array(): The array where
1155         the values should be written to must be allocated as there seems to be
1156         no way to get the size of a random GType. This doesn't change any
1157         behaviour. Also fix some typos all over the place and remove an unused,
1158         commented function that is not necessary as g_object_set() could be
1159         used instead.
1160         * tests/check/libs/controller.c: (GST_START_TEST),
1161         (gst_controller_suite):
1162         Add unit test for gst_controller_get_value_array().
1163
1164 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1165
1166         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1167
1168         Disable part of the gst_buffer_try_new_and_alloc test, because
1169         it can happily succeed on 64-bit systems where there's more address
1170         space available.
1171
1172 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1173
1174         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1175         Add unit test for the improved caps checking from bug #421543.
1176
1177 2007-05-21  Wim Taymans  <wim@fluendo.com>
1178
1179         * docs/design/part-synchronisation.txt:
1180         Small addition.
1181
1182         * gst/gstbin.c: (gst_bin_query):
1183         * plugins/elements/gstqueue.c: (apply_segment):
1184         Improve debugging.
1185
1186         * gst/gstmessage.h:
1187         Improve docs.
1188
1189 2007-05-21  Wim Taymans  <wim@fluendo.com>
1190
1191         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1192         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1193         (gst_pad_configure_src):
1194         Added simple version of improved caps checking. It was previously
1195         assumed that a setcaps function would check the validity of the caps but
1196         people prefer us to check caps against the template automatically. 
1197         Fixes #421543.
1198
1199 2007-05-21  Wim Taymans  <wim@fluendo.com>
1200
1201         * libs/gst/base/gstbasetransform.h:
1202         Fix macro for locking/unlocking the transform lock.
1203
1204 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1205
1206         * docs/plugins/tmpl/.cvsignore:
1207           Ignore more.
1208
1209 2007-05-18  Edward Hervey  <edward@fluendo.com>
1210
1211         * plugins/elements/gstqueue.c: (gst_queue_loop):
1212         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1213         for the subtle art of warning a potentially blocking thread that it
1214         should check the source pad return value, and relay the information
1215         upstream.
1216
1217 2007-05-18  Edward Hervey  <edward@fluendo.com>
1218
1219         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1220         Release the queue lock !
1221
1222 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1223
1224         * docs/libs/gstreamer-libs-sections.txt:
1225         Add the two new controller functions to the appropiate places.
1226
1227 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1228
1229         reviewed by: Stefan Kost <ensonic@users.sf.net>
1230
1231         * libs/gst/controller/gstcontroller.c:
1232         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1233         (_gst_controller_get_property), (_gst_controller_set_property),
1234         (_gst_controller_init), (_gst_controller_class_init):
1235         * libs/gst/controller/gstcontroller.h:
1236         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1237         (gst_object_get_control_rate), (gst_object_set_control_rate):
1238         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1239         Add API that provides sync suggestion timestamps for elements that
1240         call gst_object_sync_values() from which those elements can subdivide
1241         their processing loop to get the best results for the controlled
1242         properties. For now it just suggests last_sync + control_rate as
1243         new timestamp but this will be improved in the future.
1244
1245         While doing that change the control-rate property to a GstClockTime
1246         from guint and change it's meaning from samples to nanoseconds as
1247         the GstController doesn't know anything about sampling rate. Strictly
1248         speaking this breaks ABI but as the control-rate property didn't do
1249         anything in the past and as such couldn't be used this should be no
1250         problem.        
1251
1252 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1253
1254         reviewed by: Stefan Kost <ensonic@users.sf.net>
1255
1256         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1257         (gst_controller_unset_all):
1258         * libs/gst/controller/gstcontrollerprivate.h:
1259         * libs/gst/controller/gstinterpolation.c:
1260         (gst_controlled_property_find_control_point_node):
1261         Save last synced value from the list to continue searching from there
1262         in future syncs. This speeds everything up a bit.
1263         
1264 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1265
1266         reviewed by: Stefan Kost <ensonic@users.sf.net>
1267
1268         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1269         (gst_control_point_find), (gst_controlled_property_new),
1270         (gst_control_point_free), (gst_controlled_property_free),
1271         (gst_controller_set), (gst_controller_set_from_list),
1272         (gst_controller_unset), (gst_controller_unset_all),
1273         (gst_controller_sync_values):
1274         * libs/gst/controller/gstcontroller.h:
1275         * libs/gst/controller/gstcontrollerprivate.h:
1276         * libs/gst/controller/gstinterpolation.c:
1277         (gst_controlled_property_find_control_point_node),
1278         (interpolate_none_get), (interpolate_trigger_get):
1279         Add a new private GstControlPoint struct which "inherits" from
1280         GstTimedValue to allow different interpolators to store internal
1281         values next to each control point. From the outside everything is
1282         still a GstControlPoint so we don't loose binary compatibility.
1283         Also fixup all the GValue handling to not leak GValues or list nodes.
1284         * tests/check/libs/controller.c: (GST_START_TEST):
1285         Free the list nodes and GValues in the controller_misc test.
1286
1287 2007-05-17  Edward Hervey  <edward@fluendo.com>
1288
1289         * gst/gstsegment.c:
1290         Small doc fix.
1291
1292 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1293
1294         * gst/gstplugin.c: (gst_plugin_load_file):
1295           If we fail to load a plugin because of unresolved symbols or missing
1296           libraries and spew a warning to stderr, we may just as well mention
1297           which plugin it was that failed to load.
1298
1299 2007-05-13  David Schleef  <ds@schleef.org>
1300
1301         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1302           handles the case when ENABLE_GTK_DOC is false, and installs
1303           the prebuilt documentation.  So gtk-doc subdirs are 
1304           unconditionally enabled.  Fixes: #349099.
1305
1306 2007-05-13  David Schleef  <ds@schleef.org>
1307
1308         * gst/gstutils.h: Reword some documentation.
1309
1310 2007-05-12  David Schleef  <ds@schleef.org>
1311
1312         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1313           do anything with the passed "module" parameter, so remove it.
1314           Allows removal of additional vestigal code.
1315
1316 2007-05-12  David Schleef  <ds@schleef.org>
1317
1318         * gst/gstplugin.c:
1319           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1320           Switch to using g_stat() because it's more portable.
1321
1322 2007-05-12  David Schleef  <ds@schleef.org>
1323
1324         * gst/gst.c:
1325           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1326           parsing for embedded systems.
1327         * gst/gstelementfactory.c:
1328           Allow gst_element_register() to be called with plugin==NULL.
1329           Did nobody notice that static elements were broken?
1330
1331 2007-05-12  Wim Taymans  <wim@fluendo.com>
1332
1333         * tools/gst-launch.c: (event_loop):
1334         Give more interesting info when buffering starts and stops.
1335         Fix case where buffering starts but we fail to update the buffering flag
1336         because the target state is not PLAYING.
1337
1338 2007-05-12  Wim Taymans  <wim@fluendo.com>
1339
1340         * plugins/elements/gstqueue.c: (gst_queue_init),
1341         (gst_queue_finalize), (update_time_level), (apply_segment),
1342         (apply_buffer), (gst_queue_locked_flush),
1343         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1344         (gst_queue_handle_sink_event), (gst_queue_chain),
1345         (gst_queue_push_one), (gst_queue_loop):
1346         * plugins/elements/gstqueue.h:
1347         Refactor an cleanup queue a bit.
1348         Do better time level calculations that also work when the srcpad is not
1349         yet running.
1350         Remove some unneeded debug lines.
1351
1352         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1353         Added testcase for time level measurement.
1354         Try to make some stuff more racefree.
1355
1356 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1357
1358         * gst/gsturi.c: (gst_element_make_from_uri):
1359           Don't leak plugin feature.
1360
1361         * tests/check/Makefile.am:
1362         * tests/check/gst/.cvsignore:
1363         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1364           Add brain-dead unit test.
1365
1366 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1367
1368         Patch by: Jeroen Wouters <woutersj at gmail com>
1369
1370         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1371           Treat protocol strings in a case-insensitive way (#437563).
1372
1373 2007-05-11  Michael Smith <msmith@fluendo.com>
1374
1375         * gst/gstplugin.c: (gst_plugin_load_file):
1376         * gst/gstregistry.c: (gst_registry_scan_path_level):
1377           Don't print a g_warning for any failure to load a shared object.
1378           Instead, push this down into gstplugin.c, and warn _only_ if we
1379           failed to open the module (i.e. failure to link).
1380           Avoids warnings on normal, working, non-plugin .so files.
1381
1382 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1383
1384         * gst/gstplugin.c (gst_plugin_load_file):
1385         * gst/gstregistry.c (GST_CAT_DEFAULT,
1386           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1387           Print a g_warning if there was an error when loading a plugins during
1388           registry scan. The shuld help beginners starting with gst-plugin
1389           template.
1390
1391 2007-05-10  Wim Taymans  <wim@fluendo.com>
1392
1393         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1394         (update_time_level), (gst_queue_locked_flush),
1395         (gst_queue_handle_sink_event), (gst_queue_chain),
1396         (gst_queue_push_one), (gst_queue_loop):
1397         * plugins/elements/gstqueue.h:
1398         Be smarter when calculating the current amount of data in the queue by
1399         measuring the difference between start and end timestamps (in running
1400         time) inside the queue. Fixes #432876.
1401         API: GstQueue::pushing to notify elements that we are pushing data again
1402         since the running signal is rather broken for this purpose.
1403
1404 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1405
1406         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1407           gst_queue_base_init, gst_queue_init):
1408           use GST_BOILERPLATE
1409
1410 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1411
1412         * win32/common/libgstreamer.def:
1413         Add new exported functions.
1414         * win32/vs6/grammar.dsp:
1415         Use grammar pre-generated files.
1416
1417 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1418
1419         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1420
1421         * gst/Makefile.am:
1422         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1423         * gst/gstparse.h:
1424         * gst/gstutils.c: (gst_parse_bin_from_description):
1425         * gst/gstutils.h:
1426           Maintain API and ABI when --disable-parse is used. Now that
1427           we have an appropriate error code, we can just return NULL and the
1428           appropriate error when gst_parse_launch() is used despite it having
1429           been disabled (#342564).
1430
1431         * tests/check/Makefile.am:
1432         * tests/check/pipelines/.cvsignore:
1433         * tests/check/pipelines/parse-disabled.c:
1434           Make sure these functions exist and return NULL plus a GError when
1435           --disable-parse is used.
1436
1437 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1438
1439         * tests/benchmarks/complexity.c: (main):
1440         * tests/benchmarks/mass-elements.c: (main):
1441           Set a good example and don't leak messages.
1442
1443 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1444
1445         * docs/gst/Makefile.am:
1446         * docs/libs/Makefile.am:
1447           Correct fixxrefs options.
1448
1449         * docs/plugins/Makefile.am:
1450         * docs/plugins/gstreamer-plugins-docs.sgml:
1451         * docs/plugins/gstreamer-plugins-sections.txt:
1452         * plugins/elements/Makefile.am:
1453         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1454         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1455           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1456           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1457           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1458           _GstCapsFilterClass, trans_class):
1459         * plugins/elements/gstelements.c (name, rank, type, _elements):
1460         * plugins/elements/gstidentity.c
1461           (gst_identity_check_imperfect_timestamp,
1462           gst_identity_check_imperfect_offset):
1463           Document capsfilter and add doc-blurb to identity.
1464
1465 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1466
1467         * libs/gst/controller/gstcontroller.c:
1468         (gst_controlled_property_set_interpolation_mode):
1469         * libs/gst/controller/gstinterpolation.c:
1470           Don't crash if someone tries to set an interpolation mode that
1471           is invalid or that isn't supported yet. Fixes #422295.
1472
1473         * tests/check/libs/controller.c: (GST_START_TEST),
1474         (gst_controller_suite):
1475           Add a test case for the above.
1476
1477 2007-05-03  Edward Hervey  <edward@fluendo.com>
1478
1479         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1480         Properly set the last_stop position on GstSegment. This will only happen
1481         if there is a buffer to push out.
1482
1483 2007-05-03  Wim Taymans  <wim@fluendo.com>
1484
1485         * libs/gst/base/gstbasetransform.c:
1486         (gst_base_transform_buffer_alloc):
1487         always_in_place does not mean that the sink and source caps are the
1488         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1489
1490 2007-05-03  Wim Taymans  <wim@fluendo.com>
1491
1492         * docs/libs/gstreamer-libs-sections.txt:
1493         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1494         (gst_base_src_default_query), (gst_base_src_get_range):
1495         * libs/gst/base/gstbasesrc.h:
1496         API: gst_base_src_query_latency(). Added method so that subclasses can
1497         easily get the latency values of the base source class.
1498
1499 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1500
1501         * tools/gst-inspect.c (print_implementation_info):
1502         Remove 0.8 cruft.
1503
1504 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1505
1506         * tools/Makefile.am:
1507         * tools/gst-launch.1.in:
1508           Don't create a customised man page based on the host architecture,
1509           describe the default registry path generically. That way the man
1510           page is the same for all architectures and packagers have one
1511           multilib issue less to deal with. Fixes #434926.
1512
1513 2007-05-02  Wim Taymans  <wim@fluendo.com>
1514
1515         * gst/gstpad.c:
1516         Fix documentation as spotted by rg on IRC. 
1517
1518 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1519
1520         * gst/gstutils.c:
1521           Improve docs for gst_element_{link,unlink}.
1522
1523 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1524
1525         * docs/design/part-events.txt:
1526         * docs/design/part-overview.txt:
1527         * gst/gstevent.c:
1528         * gst/gsturi.c:
1529         * gst/gsturi.h:
1530         * libs/gst/base/gstbasesink.c:
1531           Typo fixes; minor docs addition.
1532
1533 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1534
1535         * docs/gst/gstreamer-sections.txt:
1536         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1537         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1538         * gst/gsturi.h:
1539         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1540         or src that supports a given URI protocol exists.
1541
1542 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1543
1544         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1545         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1546         Set the location to NULL if "file://" is set as URI. Otherwise
1547         some random previous URI would still be set if "file://" is
1548         set on an already used filesink/filesrc.
1549
1550 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1551
1552         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1553         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1554         Special case the "file://" URI as as this is used by some
1555         applications to test with gst_element_make_from_uri if there's
1556         an element that supports the URI protocol.
1557         Also move the g_path_is_absolute() check for the location part
1558         of the URI to also check this for "file://localhost/bla" URIs.
1559
1560 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1561
1562         * docs/gst/gstreamer-sections.txt:
1563         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1564         * gst/gstbuffer.h:
1565         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1566         (gst_buffer_suite):
1567           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1568
1569 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1570
1571         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1572         (gst_registry_binary_load_pad_template),
1573         (gst_registry_binary_load_plugin),
1574         (gst_registry_binary_read_cache):
1575         * gst/gstregistrybinary.h:
1576           Implement no-mmap alternative for registry reading. Do code cleanups.
1577           Add more comments about avoiding strdups for all text data. Comments
1578           welcome.
1579
1580 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1581
1582         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1583           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1584           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1585           Comment structs and reformat to fix the build (that stuff should go
1586           into a priv. header).
1587
1588 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1589
1590         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1591         (gst_registry_binary_load_feature):
1592         * gst/gstregistrybinary.h:
1593           Refactor so that we can implement multiple features. Add support for
1594           TypeFindFactory features.
1595
1596 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1597
1598         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1599
1600         * configure.ac:
1601           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1602
1603 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1604
1605         * gst/gstbin.c: (gst_bin_element_set_state),
1606         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1607         (bin_handle_async_done), (gst_bin_handle_message_func):
1608           Fix build with --gst-disable-gst-debug
1609
1610 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1611
1612         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1613           Make sure streaming has finished before calling the ::stop() vfunc,
1614           since that vfunc might clear state which is being used in the
1615           streaming thread. This fixes a race that caused crashes in
1616           audioresample when shutting down a pipeline (#420106).
1617
1618 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1619
1620         * docs/gst/gstreamer-sections.txt:
1621           That was one byte missing.
1622
1623 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1624
1625         * configure.ac:
1626         * docs/gst/gstreamer-sections.txt:
1627         * gst/Makefile.am:
1628         * gst/gstconfig.h.in:
1629         * gst/gstobject.c: (gst_object_class_init),
1630         (gst_signal_object_class_init):
1631         * gst/gstobject.h:
1632           2nd attempt to have a xml-less build as a joined effort of #413123
1633           and #421480.
1634
1635 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1636
1637         * docs/design/draft-tagreading.txt:
1638           Added open issues/thoughts to draft.
1639
1640 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1641
1642         * gst/parse/grammar.tab.pre.c:
1643         * gst/parse/grammar.tab.pre.h:
1644         * gst/parse/lex._gst_parse_yy.pre.c:
1645         Update the prebuild parser sources.
1646
1647 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1648
1649         * gst/parse/Makefile.am:
1650         And now fix the building of the flex sources. Now everything should
1651         work as expected.
1652
1653 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1654
1655         * gst/parse/Makefile.am:
1656         Now hopefully fix the build failures by setting proper rule
1657         dependencies and moving instead of copying.
1658
1659 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * tests/benchmarks/complexity.gnuplot:
1662         * tests/benchmarks/complexity.scm:
1663         * tests/benchmarks/mass-elements.gnuplot:
1664         * tests/benchmarks/mass-elements.scm:
1665           Total licensification.
1666
1667 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1668
1669         * gst/parse/Makefile.am:
1670           Fix the build by correcting the rule that gave wrong files to flex.
1671
1672 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1673
1674         * tests/benchmarks/complexity.c:
1675         * tests/benchmarks/mass-elements.c:
1676           Change licence to LGPL as granted by Benjamin and Andy.
1677
1678 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1679
1680         * gst/parse/Makefile.am:
1681         Add correct grammar.tab.h dependency if compiling without new enough
1682         flex. Fixes #431150.
1683
1684 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1685
1686         * gst/parse/Makefile.am:
1687         Fix typo and use outdated sources if the flex/bison sources are newer
1688         than the pregenerated ones but flex is too old. Print a warning in
1689         that case. This should fix the build on the build bot.
1690
1691 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1692
1693         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1694         * gst/parse/Makefile.am:
1695         * gst/parse/grammar.y:
1696         * gst/parse/parse.l:
1697         Make the parser reentrant and recursively callable. This requires flex
1698         >= 2.5.31, for older versions pregenerated sources are used as we
1699         can't bump the build dependency. Finally fixes #349180.
1700
1701         * gst/gstparse.c: (gst_parse_launch):
1702         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1703         now anyway.
1704
1705         * docs/gst/Makefile.am:
1706         * docs/gst/Makefile.am:
1707         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1708         (__gst_parse_strfree), (__gst_parse_link_new),
1709         (__gst_parse_link_free), (__gst_parse_chain_new),
1710         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1711         (gst_parse_element_set), (gst_parse_free_link),
1712         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1713         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1714         (_gst_parse_launch):
1715         * gst/parse/grammar.tab.pre.h:
1716         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1717         (yy_get_previous_state), (yy_try_NUL_trans), (input),
1718         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1719         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1720         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1721         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1722         (_gst_parse_yypop_buffer_state),
1723         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1724         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1725         (yy_fatal_error), (_gst_parse_yyget_extra),
1726         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1727         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1728         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1729         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1730         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1731         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1732         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1733         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1734         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1735         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1736         (_gst_parse_yyfree):
1737         If the installed flex version is too old use pre-generated parser
1738         sources. These pre-generated parser sources are always updated when
1739         the actual flex/bison sources change but require everybody who wants
1740         to change something in the parser to have flex >= 2.5.31 installed.
1741
1742 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
1743
1744         * common/m4/gst-gettext.m4:
1745         * gst/gst-i18n-lib.h:
1746           Make --disable-nls to work
1747
1748 2007-04-17  Wim Taymans  <wim@fluendo.com>
1749
1750         * gst/gstconfig.h.in:
1751         Revert previous change that broke the build.
1752
1753 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
1754
1755         * configure.ac:
1756         * gst/Makefile.am:
1757         * gst/gstconfig.h.in:
1758           Drop libxml2 dependency when building with 
1759           --enable-binary-registry --disable-loadsave
1760
1761 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
1762
1763         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1764         (gst_registry_binary_read_cache):
1765         * gst/gstregistrybinary.h:
1766           Remove unnecessary <sys/mman.h> include which broke the win32 build
1767           with MingW; move includes from header file to .c file, even if the
1768           header file isn't installed; use g_strerror() where UTF-8 strings
1769           are expected, such as in GST_DEBUG messages.
1770
1771 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1772
1773         * docs/libs/gstreamer-libs-sections.txt:
1774         Remove bogus addition for API I didn't end up keeping.
1775
1776         * libs/gst/base/gstbasesrc.h:
1777         Mention Since: 0.10.13 in the documentation.
1778
1779         Add the API keyword to the previous ChangeLog entry.
1780
1781 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1782
1783         * docs/libs/gstreamer-libs-sections.txt:
1784         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1785         (gst_base_src_default_prepare_seek_segment),
1786         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1787         * libs/gst/base/gstbasesrc.h:
1788         Allow basesrc derived classes to execute seeks in other formats
1789         by providing a prepare_seek_segment vmethod. Sub-classes can choose
1790         to prepare the GstSegment in any format that their perform_seek method
1791         will be able to understand. The default implementation provides the
1792         old behaviour of attempting to convert the seek offsets to the 
1793         configured native format.
1794
1795         API: basesrc::prepare_seek_segment vmethod.
1796
1797 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1798
1799         * gst/gstelement.c: (gst_element_get_state_func):
1800         Don't output the same debug statement twice.
1801
1802         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1803         (gst_adapter_peek), (gst_adapter_take_buffer):
1804         Optimise the case where we have buffers at the head of the queue that
1805         can be joined quickly (because they're contiguous sub-buffers) by
1806         merging them together rather than copying data out into new memory.
1807
1808         * gst/parse/grammar.y:
1809         * tests/check/pipelines/parse-launch.c:
1810         Fix a leak in an error path for parse_launch, and add a check 
1811         for it to the testsuite.
1812
1813 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1814
1815         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1816           Don't deadlock when releasing a pad - gst_pad_set_active may try
1817           and take the multiqueue lock too.
1818
1819 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1820
1821         * gst/gsterror.c: (_gst_core_errors_init):
1822         * gst/gsterror.h:
1823           API: add GST_CORE_ERROR_DISABLED (#392804).
1824
1825 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1826
1827         * docs/faq/gst-uninstalled:
1828           don't get empty paths on the PATH variables
1829         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1830           Don't format for the uncommon terminal width of 84 characters.
1831
1832 2007-04-06  Wim Taymans  <wim@fluendo.com>
1833
1834         * gst/gstpipeline.c: (reset_stream_time),
1835         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1836         Only try to select a different pipeline clock when we went back to
1837         PAUSED and not when we merely got flushed.
1838
1839 2007-04-05  Michael Smith  <msmith@fluendo.com>
1840
1841         * tools/gst-launch.1.in:
1842           fractions are better supported in gstreamer than ractions, so
1843           suggest using those.
1844
1845 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1846
1847         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1848
1849         * po/LINGUAS:
1850         * po/da.po:
1851           Added Danish translation.
1852
1853 2007-04-05  Wim Taymans  <wim@fluendo.com>
1854
1855         * libs/gst/base/gstbasesink.c:
1856         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1857         Fix leak caused when refusing newsegment after EOS.
1858
1859         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1860         (gst_fake_sink_init), (gst_fake_sink_set_property),
1861         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1862         (gst_fake_sink_render), (gst_fake_sink_change_state):
1863         * plugins/elements/gstfakesink.h:
1864         Add num-buffers property to make the element generate EOS after a
1865         configurable amount of buffers.
1866         API: fakesink::num-buffers property.
1867
1868         * tests/check/elements/fakesink.c: (GST_START_TEST),
1869         (fakesink_suite):
1870         Fix GstBus leak in test.
1871         Test for fakesink num-buffers.
1872
1873 2007-04-05  Wim Taymans  <wim@fluendo.com>
1874
1875         * libs/gst/base/gstbasesink.c:
1876         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1877         (gst_base_sink_change_state):
1878         Don't accept anything after an EOS, return UNEXPECTED instead.
1879
1880         * tests/check/elements/fakesink.c: (GST_START_TEST),
1881         (fakesink_suite):
1882         Unit test for new EOS behaviour.
1883
1884 2007-04-05  Wim Taymans  <wim@fluendo.com>
1885
1886         * gst/gstelement.c: (gst_element_get_request_pad):
1887         Make padtemplates also work when they don't contain %s or %d.
1888
1889 2007-04-05  Wim Taymans  <wim@fluendo.com>
1890
1891         * docs/gst/gstreamer-sections.txt:
1892         * gst/gstclock.c: (gst_clock_adjust_unlocked),
1893         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1894         * gst/gstclock.h:
1895         Improve _adjust_unlocked() so that it overflows less.
1896         Add gst_clock_unadjust_unlocked to convert from external time to
1897         internal time based on calibration.
1898         Add some more debug.
1899         API: GstClock::gst_clock_unadjust_unlocked()
1900
1901 2007-04-03  Wim Taymans  <wim@fluendo.com>
1902
1903         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1904
1905         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1906         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1907         when releasing sink pad. Fixes #425400.
1908
1909 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
1910
1911         * docs/random/ensonic/dynlink.txt:
1912           More work on proposal for new core api.
1913
1914         * docs/libs/gstreamer-libs-sections.txt:
1915         * libs/gst/base/gstbasetransform.h:
1916           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1917           
1918         * libs/gst/controller/gstcontroller.c:
1919         (on_object_controlled_property_changed),
1920         (gst_controller_sync_values),
1921         (gst_controller_set_interpolation_mode):
1922         * libs/gst/controller/gstcontroller.h:
1923           Less verbose logging add docs for unimplemented parts and correctly
1924           return when using unavailable parts.
1925
1926 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1927
1928         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1929         Move all the debug to the CLOCK category, and associate it with
1930         the clock object.
1931
1932 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1933
1934         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1935         Make take_buffer a bit quicker by removing redundant checks
1936         caused by calling gst_adapter_take.
1937
1938 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1939
1940         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1941           Don't leak GCond.
1942
1943         * tests/check/Makefile.am:
1944         * tests/check/elements/.cvsignore:
1945         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1946         (GST_START_TEST), (multiqueue_suite):
1947           Add some dead simple unit tests for the 'multiqueue' element
1948           (some bits don't work yet and are disabled for now).
1949
1950 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1951
1952         * gst/gstelement.c: (gst_element_get_request_pad),
1953         (gst_element_class_get_request_pad_template):
1954           Make gst_element_get_request_pad() create request pads only for
1955           request pad templates and not for, say, sometimes pad templates.
1956
1957 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
1958
1959         * docs/design/draft-klass.txt:
1960           Add example that needs more thinking.
1961         
1962         * docs/design/draft-missing-plugins.txt:
1963           More thoughts about wrapper plugins.
1964         
1965         * docs/random/ensonic/embedded.txt:
1966         * docs/random/ensonic/profiling.txt:
1967           More design work.
1968
1969 2007-03-25  Wim Taymans  <wim@fluendo.com>
1970
1971         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1972         (gst_base_src_loop):
1973         Only push the segment events in the PLAYING state for live sources.
1974
1975 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
1976
1977         * gst/gstpipeline.c: (gst_pipeline_change_state):
1978         Modify the clock distribution path in PAUSED->PLAYING so that we 
1979         never attempt to choose a new clock unless we're actually leaving
1980         the PAUSED state for the first time. This prevents choosing a
1981         different clock when the state_change gets called for a 2nd time due
1982         to some element doing an async state change.
1983
1984 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1985
1986         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1987         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1988         (gst_pad_chain_unchecked), (gst_pad_push):
1989         Revert last commit. This needs some more thoughts.
1990
1991 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1992
1993         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1994         (gst_pad_chain_unchecked), (gst_pad_push):
1995         Check in set_caps if the caps are compatible with the pad and remove
1996         two functions that are redundant now. Fixes #421543.
1997
1998 2007-03-22  Wim Taymans  <wim@fluendo.com>
1999
2000         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2001         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2002         Unref some more to make valgrind happy.
2003
2004 2007-03-22  Wim Taymans  <wim@fluendo.com>
2005
2006         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2007         (gst_system_clock_id_wait_jitter),
2008         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2009         Fix anoying regression that survived a few releases. When adding an
2010         async entry while blocking on a sync entry, the sync entry will unblock
2011         but still be busy, so it should continue to wait instead of returning
2012         _BUSY to the app.
2013         Add some comments here and there.
2014
2015         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2016         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2017         Add testcase for this.
2018
2019 2007-03-22  Wim Taymans  <wim@fluendo.com>
2020
2021         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2022         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2023         WRONG_STATE and can silently pause the task. All other cases should
2024         error out.
2025
2026 2007-03-22  Wim Taymans  <wim@fluendo.com>
2027
2028         Patch by: Ville Syrjala <syrjala at sci dot fi>
2029
2030         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2031         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2032         Improve debugging.
2033
2034 2007-03-21  Michael Smith  <msmith@fluendo.com>
2035
2036         * docs/pwg/advanced-types.xml:
2037           Fix some errors in the typefinding docs pointed out on irc.
2038
2039 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2040
2041         * libs/gst/base/gstbasesrc.c:
2042         Clarify FIXME comment in the face of having added unlock_stop()
2043
2044 2007-03-21  Wim Taymans  <wim@fluendo.com>
2045
2046         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2047         Prepare for release where we warn against possible app breakage in the
2048         case of live pipelines along with an env var to enable/disable live
2049         preroll mode (GST_COMPAT=[no-]live-preroll).
2050
2051 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2052
2053         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2054         So we should use correct constants for checking for None offset.
2055
2056 2007-03-20  Wim Taymans  <wim@fluendo.com>
2057
2058         * docs/design/part-block.txt:
2059         Mention the fact that the newly switched element should be set to at
2060         least PAUSED.
2061
2062 2007-03-20  Wim Taymans  <wim@fluendo.com>
2063
2064         * gst/gst.c:
2065         Fix compilation with registry disabled as spotted by Saur.
2066
2067 2007-03-20  Wim Taymans  <wim@fluendo.com>
2068
2069         Patch by: Olivier Crete <tester at tester dot ca>
2070
2071         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2072         Look at the pending state too when syncing the element state to the
2073         parent. Fixes #420133.
2074
2075 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2076
2077         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2078         (gst_base_sink_change_state):
2079         * libs/gst/base/gstbasesink.h:
2080         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2081         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2082         (gst_base_src_deactivate):
2083         * libs/gst/base/gstbasesrc.h:
2084         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2085         for sub-classes to correctly clear any state they set trying to
2086         unlock, such as clearing out unlock commands from a command fd.
2087         API: basesrc::unlock_stop
2088         API: basesink::unlock_stop
2089
2090         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2091         (gst_fd_sink_render), (gst_fd_sink_unlock),
2092         (gst_fd_sink_unlock_stop):
2093         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2094         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2095         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2096
2097         Implement unlock_stop in fdsrc and fdsink.
2098         Implement seeking in fdsrc when a seekable fd is passed, as in
2099         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2100
2101 2007-03-19  Wim Taymans  <wim@fluendo.com>
2102
2103         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2104
2105         * gst/gstelement.c: (gst_element_class_init):
2106         Fix pad-added and pad-removed signal signatures so that the pad type is
2107         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2108
2109 2007-03-19  Wim Taymans  <wim@fluendo.com>
2110
2111         * docs/gst/gstreamer-sections.txt:
2112         Add new element field and method.
2113
2114         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2115         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2116         (gst_bin_recalc_state), (gst_bin_get_state_func),
2117         (gst_bin_element_set_state), (gst_bin_change_state_func),
2118         (gst_bin_continue_func), (bin_bus_handler),
2119         (bin_push_state_continue), (bin_handle_async_start),
2120         (bin_handle_async_done), (gst_bin_handle_message_func):
2121         Make async state changes a bit smarter by using new ASYNC_START and
2122         ASYNC_DONE messages. This reduces the number of times we run the state
2123         recalculation thread.
2124         Don't change state of element with a pending ASYNC_START message.
2125         Deprecate STATE_DIRTY messages.
2126         
2127         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2128         (gst_element_get_state_func), (gst_element_continue_state),
2129         (gst_element_lost_state), (gst_element_set_state_func),
2130         (gst_element_change_state):
2131         * gst/gstelement.h:
2132         Keep the state that was last set by the app in a new element field.
2133         Don't allow state changes when handling an element event.
2134         Post ASYNC_START and ASYNC_DONE messages.
2135         Change lost_state so that we go to PAUSED and wait for the parent to set
2136         us to PLAYING again (so latency calculation can be performed)
2137         Export gst_element_change_state() method so that subclasses can use it.
2138         API: gst_element_change_state()
2139         API: GST_STATE_TARGET
2140
2141         * gst/gstpipeline.c: (gst_pipeline_class_init),
2142         (reset_stream_time), (gst_pipeline_change_state),
2143         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2144         Using the new ASYNC_START message we can reset the base_time when
2145         needed. This can then be used to implement base_time redistribution in
2146         flushing seeks so that we can remove the explicit seek handling.
2147         Perform latency query and configuration when going to PLAYING.
2148
2149         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2150         (gst_base_sink_query), (gst_base_sink_change_state):
2151         Post new ASYNC_START/ASYNC_DONE messages.
2152
2153         * tests/check/generic/sinks.c: (GST_START_TEST):
2154         Fix test because the bin will not set the async element to PLAYING right
2155         away.
2156
2157         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2158         Make the message check a little stronger.
2159         Handle ASYNC messages.
2160
2161         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2162         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2163         Expect ASYNC_DONE messages.
2164
2165 2007-03-19  Wim Taymans  <wim@fluendo.com>
2166
2167         * docs/gst/gstreamer-sections.txt:
2168         * gst/gstmessage.c: (gst_message_new_async_start),
2169         (gst_message_new_async_done), (gst_message_parse_info),
2170         (gst_message_parse_async_start):
2171         * gst/gstmessage.h:
2172         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2173         support.
2174
2175 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * tools/gst-inspect.c:
2178         (print_plugin_automatic_install_info_codecs):
2179           Now that we don't check for the 'Codec' keyword any longer in the
2180           klass, we shouldn't spew a warning if the klass isn't a decoder or
2181           encoder (since it might be a Source/Network, for example).
2182
2183 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2184
2185         * tools/gst-inspect.c:
2186         (print_plugin_automatic_install_info_codecs):
2187           Don't require decoder/demuxer/depayloader elements or
2188           encoder/muxer/paylader elements to have 'Codec' as part of their
2189           factory class string when introspecting a plugin's capabilities.
2190           draft-klass.txt mentions that it might be removed in future, and
2191           flump3dec doesn't have it as part of its class string, so chances
2192           are others might also not have it.
2193
2194 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2195
2196         * po/af.po:
2197         * po/az.po:
2198         * po/bg.po:
2199         * po/ca.po:
2200         * po/cs.po:
2201         * po/de.po:
2202         * po/en_GB.po:
2203         * po/fr.po:
2204         * po/it.po:
2205         * po/nb.po:
2206         * po/nl.po:
2207         * po/ru.po:
2208         * po/sq.po:
2209         * po/sr.po:
2210         * po/sv.po:
2211         * po/tr.po:
2212         * po/uk.po:
2213         * po/vi.po:
2214         * po/zh_CN.po:
2215         * po/zh_TW.po:
2216           Update translations from translation project
2217
2218 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2219
2220         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2221         (gst_child_proxy_set_property):
2222           Invert precondition check to be alike the ones in the mimiced gobject
2223           api.
2224
2225 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2226
2227         * docs/design/draft-tagreading.txt:
2228         * docs/random/ensonic/audiobaseclasses.txt:
2229           Do some Architect work.
2230
2231         * gst/gstobject.c: (gst_object_set_name):
2232           Add a WARNING.
2233
2234         * gst/gstpad.c:
2235           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2236
2237 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2238
2239         * gst/gstsystemclock.c: (gst_system_clock_init),
2240         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2241         Defer starting the async system clock thread until the first async
2242         wait is scheduled. Fixes #414986.
2243
2244 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2245
2246         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2247         (gst_single_queue_free):
2248           Fix small leak (free GstSingleQueue structure too, not only contents).
2249
2250 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2251
2252         * gst/gstbin.c:(gst_bin_add):
2253         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2254         * win32/common/libgstbase.def:
2255         * win32/common/libgstreamer.def:
2256         Add new exported functions.
2257
2258 2007-03-09  Wim Taymans  <wim@fluendo.com>
2259
2260         * docs/plugins/gstreamer-plugins-sections.txt:
2261         Fix GstTee docs.
2262
2263 2007-03-09  Wim Taymans  <wim@fluendo.com>
2264
2265         * docs/gst/gstreamer-sections.txt:
2266         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2267         * gst/gstbuffer.h:
2268         Add metadata copy functions. Fixes #393099.
2269         API: gst_buffer_copy_metadata()
2270
2271         * gst/gstutils.c: (gst_buffer_stamp):
2272         * libs/gst/base/gstbasetransform.c:
2273         (gst_base_transform_prepare_output_buffer):
2274         Use new metadata copy functions.
2275
2276 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2277
2278         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2279         (gst_identity_init), (gst_identity_check_perfect),
2280         (gst_identity_check_imperfect_timestamp),
2281         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2282         (gst_identity_set_property), (gst_identity_get_property):
2283         * plugins/elements/gstidentity.h:
2284         Separate out check-imperfect-timestamp and check-imperfect-offset.
2285         Put back check-perfect as it was to keep compatibility.
2286
2287 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2288
2289         * gst/gstelement.c: (gst_element_dispose):
2290         There's no need to warn if VOID_PENDING is not NONE here, as
2291         long as the state is NULL it's ok, and that's checked immediately
2292         above.
2293
2294 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2295
2296         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2297         Fix check for perfect stream to ignore buffers with -1 
2298         offsets/offset ends when checking data contiguity.
2299
2300 2007-03-08  Wim Taymans  <wim@fluendo.com>
2301
2302         * tools/gst-launch.c: (event_loop):
2303         Print INFO messages.
2304
2305 2007-03-08  Wim Taymans  <wim@fluendo.com>
2306
2307         * libs/gst/base/gstbasetransform.c:
2308         (gst_base_transform_sink_eventfunc),
2309         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2310         (gst_base_transform_activate):
2311         * libs/gst/base/gstbasetransform.h:
2312         Add support for dropping buffers with custom GstFlowReturn.
2313         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2314         buffers or dropped buffers.
2315
2316         * docs/libs/gstreamer-libs-sections.txt:
2317         docs for new custom return code.
2318
2319         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2320         Use drop support in base class to implement drop-probability.
2321
2322 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2323
2324         * gst/gst.c: (load_plugin_func):
2325         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2326         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2327         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2328           Remove newlines at end of debug log strings.
2329
2330 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2331
2332         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2333         Only post bus message at max, once per buffer received.
2334
2335 2007-03-07  Wim Taymans  <wim@fluendo.com>
2336
2337         * docs/design/Makefile.am:
2338         * docs/design/part-synchronisation.txt:
2339         Add doc about synchronisation
2340
2341         * docs/design/draft-latency.txt:
2342         * docs/design/part-TODO.txt:
2343         * docs/design/part-clocks.txt:
2344         * docs/design/part-events.txt:
2345         * docs/design/part-gstbus.txt:
2346         * docs/design/part-gstpipeline.txt:
2347         * docs/design/part-live-source.txt:
2348         * docs/design/part-messages.txt:
2349         * docs/design/part-overview.txt:
2350         * docs/design/part-streams.txt:
2351         * docs/design/part-trickmodes.txt:
2352         Documentation updates.
2353
2354 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2355
2356         * gstreamer.doap:
2357         Update the doap file.
2358
2359 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2360
2361         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2362         Rename non-perfect to imperfect for Mike and for the sanctity of the
2363         language.
2364         Also make sure bus message gets emitted for data-incontiguities.
2365
2366 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2367
2368         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2369         (gst_identity_start):
2370         * plugins/elements/gstidentity.h:
2371         Emit bus message if check-perfect is true and we encounter a
2372         non-perfect stream between 2 consecutive buffers.
2373         Fixes #415394.
2374
2375 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2376
2377         * configure.ac:
2378         Back to CVS
2379
2380 === release 0.10.12 ===
2381
2382 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2383
2384         * configure.ac:
2385           releasing 0.10.12, "Inevitable Demise"
2386
2387 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2388
2389         * configure.ac:
2390          Version 0.10.11.2 (0.10.12 pre-release)
2391          Bump libtool versioning.
2392
2393 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2394
2395         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2396           Log flow-names and not numbers.
2397
2398 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2399
2400         * configure.ac:
2401           Convert to new AG_GST style.
2402
2403 2007-02-28  Wim Taymans  <wim@fluendo.com>
2404
2405         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2406         Don't unref query twice.
2407
2408 2007-02-28  Wim Taymans  <wim@fluendo.com>
2409
2410         * gst/gstvalue.c: (gst_value_transform_object_string),
2411         (_gst_value_initialize):
2412         Implement GstObject -> string transform so we print object names
2413         when serializing GValues containing GstObjects.
2414
2415 2007-02-28  Wim Taymans  <wim@fluendo.com>
2416
2417         * docs/gst/gstreamer-sections.txt:
2418         Add new stuff to docs.
2419
2420 2007-02-28  Wim Taymans  <wim@fluendo.com>
2421
2422         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2423         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2424         (gst_base_sink_change_state):
2425         Improve latency query code.
2426         Don't leak latency events.
2427
2428         * tests/check/gst/gstbin.c: (GST_START_TEST):
2429         Improve debugging.
2430
2431 2007-02-28  Wim Taymans  <wim@fluendo.com>
2432
2433         * gst/gstelement.c: (gst_element_message_full),
2434         (gst_element_get_state_func):
2435         * gst/gstelement.h:
2436         Improve docs a little. Added Since: for new macro.
2437
2438         * gst/gstobject.c: (gst_object_sink):
2439         * gst/gstpipeline.c: (gst_pipeline_change_state),
2440         (gst_pipeline_set_new_stream_time):
2441         * gst/gstpipeline.h:
2442         Improve debugging and docs.
2443
2444         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2445         Improve debugging.
2446
2447 2007-02-28  Wim Taymans  <wim@fluendo.com>
2448
2449         * gst/gstelement.c: (gst_element_message_full),
2450         (gst_element_set_locked_state), (gst_element_get_state_func),
2451         (gst_element_change_state):
2452         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2453         Documentation updates.
2454         Small code cleanups.
2455
2456         * gst/gstmessage.c: (gst_message_new_info),
2457         (gst_message_parse_info):
2458         * gst/gstmessage.h:
2459         API: gst_message_new_info()
2460         API: gst_message_parse_info()
2461         Add INFO message create and parse code.
2462
2463 2007-02-28  Wim Taymans  <wim@fluendo.com>
2464
2465         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2466         (bin_query_latency_done):
2467         Also report the live parameter of a latency query.
2468
2469 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2470
2471         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2472           Copy the current generic/states example from -base and adapt so
2473           we can use the exact same code everywhere.
2474           Check a STATES_IGNORE_ELEMENTS env var which can be used
2475           to ignore certain element factories for this test, which is
2476           what is being done in -base
2477         * tests/check/Makefile.am:
2478           Mention this environment variable.
2479
2480 2007-02-27  Wim Taymans  <wim@fluendo.com>
2481
2482         * docs/gst/gstreamer-sections.txt:
2483         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2484         (gst_bus_timed_pop), (gst_bus_pop):
2485         * gst/gstbus.h:
2486         API: gst_bus_timed_pop()
2487         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2488         message to arrive on the bus.
2489
2490         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2491         (gst_bus_suite):
2492         Two unit tests for new _timed_pop() function.
2493
2494 2007-02-23  Wim Taymans  <wim@fluendo.com>
2495
2496         * gst/gstpipeline.c: (gst_pipeline_change_state),
2497         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2498         Don't ref a NULL clock in _provide_clock_func().
2499         Don't allow an INVALID delay.
2500         Don't try to calculate base_time with an invalid start_time.
2501         Also distribute and notify a NULL clock when it was selected.
2502
2503         * tools/gst-launch.c: (event_loop):
2504         Don't crash when a NULL clock was selected in the pipeline.
2505
2506 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2507
2508         * docs/design/Makefile.am:
2509         * docs/design/draft-missing-plugins.txt:
2510         * docs/random/draft-missing-plugins.txt:
2511           Some small updates: update plugin system identifier prefix
2512           ('gstreamer.net' to 'gstreamer'), mention our new install
2513           API in libgstbaseutils rather than libgimme-codec, add
2514           reference to the online docs.
2515
2516 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2517
2518         * win32/common/config.h:
2519           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2520           use moap cl ci to only check in what is mentioned in the ChangeLog.
2521
2522 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2523
2524         * docs/gst/gstreamer-sections.txt:
2525         * gst/gstelement.h:
2526           Fix up documentation to link to the correct GstGError section.
2527           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2528
2529 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2530
2531         * tools/gst-launch.c: (event_loop):
2532           Make sure that we actually show the important message part of a
2533           warning message.
2534           No need to check if the gerror is not NULL to free; first of all
2535           g_free accepts NULL; and second the default error handler would
2536           segfault if gerror was NULL.
2537
2538 2007-02-21  Wim Taymans  <wim@fluendo.com>
2539
2540         * docs/gst/gstreamer-sections.txt:
2541         Removed docs as well.
2542
2543 2007-02-21  Wim Taymans  <wim@fluendo.com>
2544
2545         * gst/gstmessage.c: (gst_message_parse_duration):
2546         * gst/gstmessage.h:
2547         Remove new messages for release.
2548
2549 2007-02-20  Wim Taymans  <wim@fluendo.com>
2550
2551         * docs/design/part-gstghostpad.txt:
2552         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2553         (gst_ghost_pad_new_full):
2554         Make the ghostpad a parent of the internal pad again for better backward
2555         compatibility. Don't write code that relies on this however.
2556
2557         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2558         (gst_pad_link_check_hierarchy):
2559         Require that parents should be GstElements in the hierarchy check.
2560
2561 2007-02-20  Wim Taymans  <wim@fluendo.com>
2562
2563         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2564         (gst_bin_change_state_func), (bin_query_min_max_init),
2565         (bin_query_latency_fold), (bin_query_latency_done),
2566         (gst_bin_query):
2567         Improve debug info.
2568         Implement latency query.
2569
2570 2007-02-20  Wim Taymans  <wim@fluendo.com>
2571
2572         * docs/design/part-gstghostpad.txt:
2573         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2574         (gst_ghost_pad_internal_do_activate_push),
2575         (gst_ghost_pad_internal_do_activate_pull),
2576         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2577         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2578         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2579         Do not set the internal pad as a parent anymore so we can avoid
2580         hierarchy linking errors when the ghostpad has no parent yet. This also
2581         fixes failed activation because of unlinked internal pads, which in
2582         turn fixes the impossible case where you have to activate a pad before
2583         you can add it to a running element.
2584         Also fix the docs.
2585
2586         * gst/gstpad.c: (pre_activate), (post_activate),
2587         (gst_pad_set_active), (gst_pad_activate_pull),
2588         (gst_pad_activate_push), (gst_pad_check_pull_range):
2589         Add some more debug info.
2590         Mark activation mode in pre_activate so that we don't try to activate in
2591         endless loops. Fixes #385084.
2592
2593 2007-02-19  Wim Taymans  <wim@fluendo.com>
2594
2595         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2596         (gst_base_transform_check_get_range):
2597         Implement a checkgetrange function instead of relying on the default
2598         core behaviour that assumes we can operate in pull mode if we have a
2599         getrange function. First step at fixing #385084.
2600
2601 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2602
2603         * gst/gstchildproxy.h:
2604         * libs/gst/base/gstbasesink.h:
2605         * libs/gst/base/gstbasesrc.h:
2606         * libs/gst/base/gstbasetransform.h:
2607         More docs coverage and some ChangeLog surgery (add missing names)
2608
2609 2007-02-15  Wim Taymans  <wim@fluendo.com>
2610
2611         * docs/design/part-TODO.txt:
2612         * docs/design/part-activation.txt:
2613         * docs/design/part-block.txt:
2614         * docs/design/part-buffering.txt:
2615         * docs/design/part-clocks.txt:
2616         * docs/design/part-element-source.txt:
2617         * docs/design/part-events.txt:
2618         * docs/design/part-gstbin.txt:
2619         * docs/design/part-gstbus.txt:
2620         * docs/design/part-gstpipeline.txt:
2621         * docs/design/part-live-source.txt:
2622         * docs/design/part-messages.txt:
2623         * docs/design/part-overview.txt:
2624         * docs/design/part-qos.txt:
2625         * docs/design/part-query.txt:
2626         * docs/design/part-states.txt:
2627         * docs/design/part-trickmodes.txt:
2628         Some doc updates. Start renaming from stream_time to running_time where
2629         it was used wrongly.
2630
2631 2007-02-15  Wim Taymans  <wim@fluendo.com>
2632
2633         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2634         Answer LATENCY query.
2635
2636 2007-02-15  Wim Taymans  <wim@fluendo.com>
2637
2638         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2639         (GST_START_TEST):
2640         Improve debugging.
2641
2642 2007-02-15  Wim Taymans  <wim@fluendo.com>
2643
2644         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2645         (gst_pad_dispatcher):
2646         Improve debugging of default pad dispatcher and query functions.
2647
2648 2007-02-15  Wim Taymans  <wim@fluendo.com>
2649
2650         * docs/gst/gstreamer-sections.txt:
2651         Remove old unused method.
2652
2653 2007-02-13  Wim Taymans  <wim@fluendo.com>
2654
2655         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2656         Fix check
2657
2658 2007-02-13  Wim Taymans  <wim@fluendo.com>
2659
2660         * docs/design/part-seeking.txt:
2661         Some small update.
2662
2663         * gst/gstsegment.c: (gst_segment_set_seek):
2664         Revert old bogus change that should make seeking work again.
2665
2666 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2667
2668         * docs/random/ensonic/dynlink.txt:
2669         * docs/random/ensonic/interfaces.txt:
2670         * docs/random/ensonic/receipies.txt:
2671           Possible dynamic reconnection api, plus some type fixes the other two
2672           docs.
2673
2674 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2677         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2678         Also check for an absolute path following file:// in the filesrc
2679         element. Remove redundant check and call g_path_is_absolute() on the
2680         unescaped location.
2681
2682 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2683
2684         * docs/design/draft-klass.txt:
2685           Add existing category analysis.
2686           
2687         * gst/gstcaps.c:
2688           Fix doc example, framerate is a fraction.
2689
2690 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * configure.ac:
2693         * docs/gst/Makefile.am:
2694         * docs/gst/gstreamer-sections.txt:
2695         * docs/libs/Makefile.am:
2696           Erm, forgot a bunch of --extra-dir.
2697
2698 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2699
2700         * configure.ac:
2701         * docs/gst/Makefile.am:
2702         * docs/libs/Makefile.am:
2703         * docs/plugins/Makefile.am:
2704           Add crossreferences to glib/gobject docs.
2705
2706 2007-02-12  Wim Taymans  <wim@fluendo.com>
2707
2708         * docs/design/draft-latency.txt:
2709         Small update.
2710
2711         * docs/libs/gstreamer-libs-sections.txt:
2712         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2713         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2714         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2715         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2716         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2717         (gst_base_sink_get_position), (gst_base_sink_query),
2718         (gst_base_sink_change_state):
2719         * libs/gst/base/gstbasesink.h:
2720         API: gst_base_sink_query_latency() to let subclasses query the upstream
2721         latency.
2722         API: gst_base_sink_get_latency() to let subclasses query the configured
2723         latency in the sink.
2724         Implement query and set latency.
2725         Update some docs.
2726         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2727         don't continue preroll when we are flushing. Fixes #405284.
2728
2729         * tests/check/pipelines/stress.c: (change_state_timeout),
2730         (quit_timeout), (GST_START_TEST), (stress_suite):
2731         Test for #405284.
2732
2733 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2734
2735         Patch by: René Stadler <mail at renestadler de>
2736
2737         * docs/gst/gstreamer-sections.txt:
2738         * gst/gsttaglist.c: (_gst_tag_initialize):
2739         * gst/gsttaglist.h:
2740           API: add GST_TAG_REFERENCE_LEVEL (#403597).
2741
2742 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
2743
2744         * docs/libs/Makefile.am:
2745           Fix path to core docs.
2746
2747         * gst/gstbin.c: (gst_bin_get_by_interface),
2748         (gst_bin_iterate_all_by_interface):
2749           Refix docs by also renaming 'interface' to 'iface' in implementation.
2750
2751         * docs/gst/gstreamer-sections.txt:
2752         * gst/gstcaps.c:
2753         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2754         * gst/gstchildproxy.h:
2755         * gst/gstelementfactory.c:
2756         * gst/gstpadtemplate.h:
2757         * libs/gst/controller/gstcontroller.c:
2758         (gst_controlled_property_new):
2759           Document more.
2760
2761 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
2762
2763         * gst/gstbin.h:(gst_bin_get_by_interface),
2764         (gst_bin_iterate_all_by_interface):
2765         Replace interface parameter name by iface as interface is 
2766         a reserved keyword in Visual Studio for C++ projects so it removes
2767         a build error for application developpers using VS.
2768         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2769         Fix a bug on Windows in uri format check. Now the prefix checked
2770         is file:// and next we check if the path after file:// is absolute.
2771         * win32/common/libgstbase.def:
2772         * win32/common/libgstdataprotocol.def:
2773         * win32/common/libgstgstreamer.def:
2774         Add new exported functions.
2775
2776 2007-02-09  Andy Wingo  <wingo@pobox.com>
2777
2778         * tests/check/pipelines/simple-launch-lines.c
2779         (simple_launch_lines_suite, test_tee): Disable tee test until I
2780         have time to fix it :-(
2781
2782         * tests/check/Makefile.am (noinst_HEADERS): 
2783         * tests/check/libs/libsabi.c: 
2784         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2785         * tests/check/gst/gstabi.c: 
2786         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2787
2788         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2789         tests for push and pull tee behavior.
2790
2791         * plugins/elements/gsttee.h: 
2792         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2793         mark as deprecated as well as unimplemented. It was a crack idea.
2794         Add support for tee operating in pull mode, off by default.
2795
2796         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2797         normal-case logs down to LOG, raise errors to WARNING.
2798         (gst_registry_xml_read_cache): Don't log before calling a function
2799         that logs.
2800
2801         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2802         exit (registry finalize).
2803         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2804         DEBUG log when we emit signals that people don't even have the
2805         chance to connect to.
2806         (gst_registry_scan_path_level): Less logging in the normal case.
2807
2808 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2809
2810         Patch by: Michal Benes <michal dot benes at itonis dot tv>
2811
2812         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2813         Correctly generate EOS for non-seekable files. We don't have a total
2814         length for them and would get an unexpected end of file if we only
2815         special-cased for regular files. (Fixes: #404569)
2816
2817 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2818
2819         * tests/check/elements/filesrc.c: (GST_START_TEST),
2820         (filesrc_suite):
2821         Add unit test for the GstURIHandler interface in filesrc. This also
2822         tests the newly added file://localhost/foo/bar support.
2823
2824 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * gst/gstelementfactory.h:
2827           The klass string is not a hierarchy. Add reference to the design doc
2828           for more information and common types.
2829
2830 2007-02-02  Wim Taymans  <wim@fluendo.com>
2831
2832         * gst/gstquery.c: (gst_query_new_latency):
2833         Remove old structure field.
2834
2835 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
2836
2837         * tools/gst-launch.1.in:
2838           Give example for network streaming (#351998)
2839
2840 2007-02-02  Wim Taymans  <wim@fluendo.com>
2841
2842         * docs/gst/gstreamer-sections.txt:
2843         Add docs for new methods.
2844
2845         * gst/gstevent.c: (gst_event_new_latency),
2846         (gst_event_parse_latency):
2847         * gst/gstevent.h:
2848         Add new LATENCY event to configure latency in a pipeline.
2849         API: gst_event_new_latency
2850         API: gst_event_parse_latency
2851
2852         * gst/gstmessage.c: (gst_message_new_buffering),
2853         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2854         (gst_message_new_latency), (gst_message_parse_buffering),
2855         (gst_message_parse_lost_preroll):
2856         * gst/gstmessage.h:
2857         Added messages used in draft-latency.
2858         API: gst_message_new_lost_preroll
2859         API: gst_message_parse_lost_preroll
2860         API: gst_message_new_prerolled
2861         API: gst_message_new_latency
2862
2863         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2864         (gst_query_parse_latency):
2865         * gst/gstquery.h:
2866         Implemented new latency query as in design doc.
2867         API: gst_query_new_latency
2868         API: gst_query_set_latency
2869         API: gst_query_parse_latency
2870
2871 2007-02-02  Wim Taymans  <wim@fluendo.com>
2872
2873         * docs/design/draft-latency.txt:
2874         Slight redesign to allow for dynamic latency adjustments.
2875
2876         * docs/design/part-negotiation.txt:
2877         Fix some typos.
2878
2879 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2880
2881         reviewed by: Wim Taymans <wim@fluendo.com>
2882
2883         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2884         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2885         Allow file://localhost/foo/bar URLs and correctly fail for every other
2886         hostname that one sets. This was gnomevfssrc is linked for those if
2887         installed as it can handle it (#403172)
2888
2889 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2890
2891         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2892
2893         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2894         (unref_data), (gst_collect_pads_add_pad_full):
2895         * libs/gst/base/gstcollectpads.h:
2896         Don't put the previously added destroy notify in the GstCollectData
2897         struct as all it's padding is already used and we don't want to break
2898         ABI. Instead put in the pad's GObject data for now. This should be
2899         cleaned up for 0.11 (#402393).
2900
2901 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2902
2903         reviewed by: Wim Taymans <wim@fluendo.com>
2904
2905         * docs/libs/gstreamer-libs-sections.txt:
2906         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2907         (unref_data), (gst_collect_pads_add_pad),
2908         (gst_collect_pads_add_pad_full):
2909         * libs/gst/base/gstcollectpads.h:
2910         API: Add function to specify a destroy notification for custom
2911         GstCollectData when adding new pads in GstCollectPads (#402393).
2912
2913 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
2914
2915         * po/sv.po:
2916           Update Swedish translation (#378255).
2917
2918 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2919
2920         * docs/design/draft-klass.txt:
2921           Fix the previous change, this is a list of categories and not a hierarchy.
2922
2923 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2924
2925         * docs/design/draft-klass.txt:
2926           Add info about how to get a list of used classes.
2927
2928 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
2929
2930         * plugins/elements/gsttypefindelement.c:
2931         (gst_type_find_element_chain_do_typefinding),
2932         (gst_type_find_element_change_state):
2933           Don't leak found caps in chain function (no idea why that never
2934           showed up as a leak anywhere).
2935
2936 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
2937
2938         * gst/gstplugin.h:
2939           Fix and expand GstPluginDesc API docs.
2940
2941 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2942
2943         * gst/gstcaps.c:
2944         * gst/gstelementfactory.c:
2945         * gst/gstpadtemplate.h:
2946           api doc fixes
2947
2948         * libs/gst/controller/gstcontroller.c:
2949         (gst_controlled_property_new):
2950         * tests/examples/controller/audio-example.c:
2951           comment fixes
2952
2953 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2954
2955         * configure.ac:
2956           comment about refining the xml deps
2957
2958         * docs/manuals.mak:
2959           comments about moving away from jade for docs
2960         
2961         * gst/gst.c:
2962           recommit the ifdefs to use the binary registry
2963         
2964         * gst/gstbin.c: (gst_bin_change_state_func):
2965           this break is obsolete
2966
2967         * gst/gstelementfactory.h:
2968           better GST_ELEMENT_DETAILS docs, add comment about translation
2969
2970         * gst/gstinfo.h:
2971           remove eol slash
2972
2973         * gst/gstobject.c: (gst_signal_object_get_type):
2974           add G_UNLIKELY as usual
2975
2976         * gst/gstpad.c: (gst_pad_event_default):
2977           add fall trhu comment
2978
2979         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2980         (gst_registry_binary_initialize_magic),
2981         (gst_registry_binary_save_string),
2982         (gst_registry_binary_save_pad_template),
2983         (gst_registry_binary_save_feature),
2984         (gst_registry_binary_save_plugin),
2985         (gst_registry_binary_write_cache),
2986         (gst_registry_binary_check_magic),
2987         (gst_registry_binary_load_pad_template),
2988         (gst_registry_binary_load_feature),
2989         (gst_registry_binary_load_plugin),
2990         (gst_registry_binary_read_cache):
2991           comment typo and formatting
2992
2993         * gst/gstutils.c: (gst_element_state_get_name),
2994         (gst_element_state_change_return_get_name):
2995           remove obsolete breaks
2996
2997         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2998           add FIXME 0.11 and remove cpp comment
2999
3000 2007-01-29  Edward Hervey  <edward@fluendo.com>
3001
3002         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3003         Fix print statement in an even more portable way.
3004
3005 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3006
3007         * docs/gst/gstreamer-sections.txt:
3008         * gst/gstutils.h:
3009           API: add GST_ROUND_DOWN_* macros (#401781).
3010
3011 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3012
3013         * docs/gst/gstreamer.types.in:
3014         * gst/gstregistry.c: (gst_registry_class_init):
3015           Document registry signals and make gtk-doc pick them up (#401381).
3016
3017 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3018
3019         * docs/pwg/building-testapp.xml:
3020           Add some audioconverts and audioresample to the pipeline, and some
3021           more comments and error handling.
3022
3023 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3024
3025         * docs/manual/manual.xml:
3026         * docs/pwg/pwg.xml:
3027           Fix typo (#400987).
3028
3029 2007-01-26  Wim Taymans  <wim@fluendo.com>
3030
3031         * gst/gstcaps.c: (gst_static_caps_get):
3032         Init caps flags too.
3033
3034 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3035
3036         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3037
3038         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3039         If not using mmap'ed files try to seek to the end instead of the
3040         start to determine whether we can seek at all. This fixes the case
3041         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3042         seeks for everything afterwards fail. Fixes #400656
3043
3044 2007-01-25  Wim Taymans  <wim@fluendo.com>
3045
3046         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3047         Add some refcount debugging.
3048         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3049         in multiple streaming threads.
3050
3051 2007-01-25  Wim Taymans  <wim@fluendo.com>
3052
3053         Patch by: David Schleef <ds at schleef dot org>
3054
3055         * docs/libs/gstreamer-libs-sections.txt:
3056         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3057         * libs/gst/base/gstadapter.h:
3058         API: gst_adapter_copy() that can reduce the amount of memcpy when
3059         getting data from the adapter. Fixes #388201.
3060
3061 2007-01-25  Edward Hervey  <edward@fluendo.com>
3062
3063         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3064         In print statements, "%x" is for guint. Fixes build on macosx.
3065
3066 2007-01-24  Edward Hervey  <edward@fluendo.com>
3067
3068         * plugins/elements/gstmultiqueue.c:
3069         (gst_multi_queue_loop):
3070         Small fix.
3071         (single_queue_overrun_cb), (single_queue_underrun_cb),
3072         (single_queue_check_full), (gst_single_queue_new):
3073         Implement single queue growth system.
3074         This uses the extra-size properties, and will grow single queues by
3075         that much if one goes full whereas there are others empty. This is
3076         called extra-mode in the code.
3077         When a single queue's levels go back below the initial max-size
3078         limits, it is no longer in extra-mode. This is to ensure we don't
3079         consume too much memory.
3080         Fixes #399875
3081
3082 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3083
3084         * gst/gst.c: (gst_init_get_option_group):
3085           Make warning about late g_thread_init() calls a bit more explicit,
3086           so that it's more obvious to application developers what they need
3087           to do if a user files a bug against their application.
3088
3089 2007-01-22  Edward Hervey  <edward@fluendo.com>
3090
3091         * plugins/elements/gstmultiqueue.c:
3092         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3093         Remove previous hack of unsetting the flushing flag for the source pad
3094         instead of activating it. Instead, fix the source pad activate function
3095         so that it no longer depends on having a parent set or not.
3096
3097 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3098
3099         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3100
3101         * docs/manual/basics-bus.xml:
3102           Fix example code, gst_element_unref() doesn't exist any longer.
3103
3104 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3105
3106         Patch by: Mark Nauwelaerts <manauw at skynet be>
3107
3108         * gst/gstpad.c:
3109           Fix two docs typoes (#399094).
3110
3111 2007-01-19  Edward Hervey  <edward@fluendo.com>
3112
3113         * docs/faq/gst-uninstalled:
3114         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3115         depending on libgstbaseutils can work in uninstalled environment.
3116
3117 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3118
3119         * gst/gsttaglist.h:
3120         * gst/gsttagsetter.c:
3121         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3122         statement for new tag.
3123
3124 2007-01-17  Edward Hervey  <edward@fluendo.com>
3125
3126         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3127         When dynamically creating single queues, activate sinkpad before adding
3128         it.
3129         We should be doing the same thing for the source pad, but we can't
3130         since it would call a method which needs the parent to be set in order
3131         to work propertly. Instead of activating the source pad, we just unset
3132         the flushing flag, which is the minimal requirement for adding a pad
3133         to an element in a state greater than READY.
3134
3135 2007-01-17  Edward Hervey  <edward@fluendo.com>
3136
3137         * docs/faq/gst-uninstalled:
3138         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3139         Mac OS X.
3140
3141 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3142
3143         * tests/check/gst/gstabi.c:
3144         * tests/check/gst/struct_hppa.h:
3145         * tests/check/libs/libsabi.c:
3146         * tests/check/libs/struct_hppa.h:
3147           Add ABI structs for HPPA (see #393796).
3148
3149 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3150
3151         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3152           Actually write ABI structs to the file specified in the GST_ABI
3153           environment variable, as the message we print claims we would.
3154
3155 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3156
3157         * tests/check/gst/gsttask.c:
3158           Fix header comment.
3159
3160 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3161
3162         * gst/gsttaglist.c: (_gst_tag_initialize):
3163           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3164           previous two entries.
3165
3166 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3167
3168         * docs/gst/gstreamer-sections.txt:
3169         * gst/gsttaglist.c: (_gst_tag_initialize):
3170         * gst/gsttaglist.h:
3171           Add tag support for beat-per-minute.
3172
3173 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3176         (gst_registry_binary_initialize_magic),
3177         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3178         (gst_registry_binary_save_pad_template),
3179         (gst_registry_binary_save_feature),
3180         (gst_registry_binary_save_plugin),
3181         (gst_registry_binary_write_cache),
3182         (gst_registry_binary_check_magic),
3183         (gst_registry_binary_load_pad_template),
3184         (gst_registry_binary_load_feature),
3185         (gst_registry_binary_load_plugin),
3186         (gst_registry_binary_read_cache):
3187         * gst/gstregistrybinary.h:
3188           Use glib types, cleanup comments, impement interfaces and uri-types.
3189
3190 2007-01-13  Andy Wingo  <wingo@pobox.com>
3191
3192         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3193         getrange() to return buffers with other caps, while we fix
3194         demuxers and typefind, or otherwise change part-negotiation.txt.
3195
3196 2007-01-12  Andy Wingo  <wingo@pobox.com>
3197
3198         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3199         Factor start/stop into this private function instead of partially
3200         in activate functions and partially in the change_state function.
3201         Fixes setup before the element has changed from READY->PAUSED, as
3202         is the case in pull-mode pipelines.
3203         (gst_base_transform_sink_activate_push)
3204         (gst_base_transform_src_activate_pull): Refactor to use
3205         gst_base_transform_activate().
3206         (gst_base_transform_change_state): Removed, not needed any more.
3207
3208         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3209         Truncate before fixating.
3210         
3211         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3212         Don't set_caps() if the result of fixating is ANY, as it's not
3213         supported, and not necessary in the case of a link with no
3214         template caps on either side. Fixes tests/check/libs/basesrc in
3215         some pull-mode tests.
3216
3217         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3218         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3219         (gst_base_transform_src_activate_pull): 
3220         Track the activation mode.
3221         (gst_base_transform_setcaps): In pull mode, when activating the
3222         src pad, after activating the sink pad, activate the sink pad's
3223         peer, as discussed in part-negotiation.txt.
3224
3225         * libs/gst/base/gstbasesrc.h: 
3226         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3227         vmethod, as in basesink.
3228
3229         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3230
3231         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3232         mode, first proxy the setcaps to the peer pad.
3233         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3234         new fixate vmethod.
3235         (gst_base_sink_default_activate_pull): Rename from
3236         gst_base_sink_activate_pull.
3237         (gst_base_sink_negotiate_pull): New function, performs negotiation
3238         in pull mode before calling ::activate_pull().
3239         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3240         vmethod instead of the default implementation. I have no idea how
3241         this worked before. Negotiate before calling activate_pull.
3242
3243         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3244         sink pads in pull mode. In addition to being correct, fixes
3245         filesrc ! decodebin ! identity ! fakesink.
3246         (gst_pad_get_range, gst_pad_pull_range): Don't call
3247         gst_pad_set_caps() if the caps changes; instead error out with
3248         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3249
3250 2007-01-12  Andy Wingo  <wingo@pobox.com>
3251
3252         * docs/design/part-negotiation.txt: Update with more policy.
3253
3254 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3255
3256         * libs/gst/check/gstbufferstraw.h:
3257         * libs/gst/check/gstcheck.h:
3258           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3259           belongs.
3260
3261 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3262
3263         * tests/check/Makefile.am:
3264         * tests/check/gst/.cvsignore:
3265         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3266         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3267         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3268         (GST_START_TEST), (gst_tag_setter_suite):
3269           Add minimal unit test for beforementioned GstTagSetter bug.
3270
3271 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3272
3273         Patch by: René Stadler <mail at renestadler dot de>
3274
3275         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3276           gst_tag_list_merge() returns a new list, so it's not the best idea
3277           to ingore its return value. Effectively meant that tags could only
3278           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3279           Also add function guard to require a non-NULL taglist as input (has
3280           always been so due to gst_tag_list_copy(), just making it explicit).
3281
3282 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3283
3284         * docs/random/draft-missing-plugins.txt:
3285           Some additions: mention new API that is supposed to be used at the
3286           various stages; short blob about new gst-inspect introspection
3287           option; mention potential future problem with plugins that have
3288           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3289
3290 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3291
3292         * tools/gst-inspect.c:
3293         (print_plugin_automatic_install_info_codecs),
3294         (print_plugin_automatic_install_info_protocols),
3295         (print_plugin_automatic_install_info), (main):
3296         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3297         introspect plugin files and get machine-parsable output that corresponds
3298         to the last bit of the missing-plugin installer string (small gotcha:
3299         doesn't take into account ranks).
3300
3301 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3302
3303         * configure.ac:
3304         * docs/gst/gstreamer-sections.txt:
3305         * gst/Makefile.am:
3306         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3307         (gst_registry_lookup_locked):
3308         * gst/gstregistry.h:
3309         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3310         (gst_registry_binary_initialize_magic),
3311         (gst_registry_binary_save_string),
3312         (gst_registry_binary_save_pad_template),
3313         (gst_registry_binary_save_feature),
3314         (gst_registry_binary_save_plugin),
3315         (gst_registry_binary_write_cache),
3316         (gst_registry_binary_check_magic),
3317         (gst_registry_binary_load_pad_template),
3318         (gst_registry_binary_load_feature),
3319         (gst_registry_binary_load_plugin),
3320         (gst_registry_binary_read_cache):
3321         * gst/gstregistrybinary.h:
3322         * gst/gstregistryxml.c: (load_feature),
3323         (gst_registry_xml_read_cache):
3324           commit binary registry (disabled by default, see #359653)
3325
3326 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3327
3328         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3329           Fix 'make check' too.
3330
3331 2007-01-10  Andy Wingo  <wingo@pobox.com>
3332
3333         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3334         notes.
3335         
3336         * docs/design/part-negotiation.txt: Update with, um, one way that
3337         pull-mode negotiation might work?
3338
3339         * gst/gstpad.h: 
3340         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3341         that the pad must be a src pad; makes sense to call it the other
3342         way in pull mode, and the logic is symmetric anyway.
3343
3344 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3345
3346         * plugins/elements/gstfilesink.c:
3347           Include <stdio.h> for fseeko().
3348
3349 2007-01-10  Wim Taymans  <wim@fluendo.com>
3350
3351         * gst/gstevent.c:
3352         * gst/gstevent.h:
3353         Reserve LATENCY event.
3354
3355 2007-01-09  Wim Taymans  <wim@fluendo.com>
3356
3357         * docs/design/draft-latency.txt:
3358         Updates.
3359
3360 2007-01-09  Wim Taymans  <wim@fluendo.com>
3361
3362         * docs/design/draft-latency.txt:
3363         Updates.
3364
3365         * gst/gstelement.h:
3366         * gst/gststructure.c:
3367         * gst/gsttrace.c:
3368         Small typo fixes.
3369
3370 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3371
3372         * tests/check/.cvsignore:
3373           Ignore test-registry.xml as well.
3374
3375 2007-01-09  Wim Taymans  <wim@fluendo.com>
3376
3377         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3378         unref data at the end when we are done with the pad.
3379
3380 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3381
3382         * docs/gst/gstreamer-sections.txt:
3383         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3384         (init_post), (gst_deinit), (gst_update_registry):
3385         * gst/gst.h:
3386           API: add gst_update_registry() (#391296).
3387
3388         * tests/check/Makefile.am:
3389         * tests/check/gst/gstregistry.c:
3390         * tests/check/gst/.cvsignore:
3391           Simple unit test for the above.
3392
3393 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3394
3395         * gst/gstregistry.c: (gst_registry_scan_path_level):
3396           Plugin extension on HP-UX is .sl, add that to the list of approved
3397           plugin extensions (see #393796).
3398
3399         * tests/check/gst/gstpad.c: (GST_START_TEST):
3400           ulong => gulong. Fixes compilation with HP-UX compiler.
3401
3402         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3403           Fix compilation if valgrind headers are not available.
3404
3405 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3406
3407         * win32/common/libgstreamer.def: 
3408           Add new exported function.
3409         * win32/vs6/libgstbase.dsp: 
3410           Add gstdataqueue.c to the build.
3411         * win32/vs6/libgstcoreelements.dsp:
3412           Add gstmultiqueue.c to the build.
3413         
3414 2007-01-06  Andy Wingo  <wingo@pobox.com>
3415
3416         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3417         activate_pull(), providing for a way to specialize the process of
3418         spawning a thread to pull on the sink pad. There is a default
3419         implementation.
3420
3421         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3422         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3423         (gst_base_sink_init): Renamed pad activation functions (inserting
3424         "_pad" in their names). Refactor to use the new activate_pull
3425         vmethod, as appropriate.
3426         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3427         default activate_pull function to start a task pulling from the
3428         sink pad, as before.
3429
3430         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3431         on the pads if necessary, as in push()/chain(). Update docs.
3432         Shouldn't affect existing pull() usage as it is currently only
3433         being used on buffers without caps.
3434
3435 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3436
3437         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3438         (init_pre):
3439           Call g_thread_init() first thing in gst_init() / gst_check_init().
3440           When initialisation is done via gst_init_get_option_group() and
3441           GOption parsing, issue a warning if the GLib thread system has not
3442           been initialised yet by the time gst_init_get_option_group() is
3443           called, as it's quite likely other GLib functions such as
3444           g_option_context_new() have been called already then, and
3445           g_thread_init() must be called before any other GLib function. The
3446           application in question must be fixed in that case, since memory
3447           corruption might happen otherwise.
3448           We issue the warning because even if the GLib folks decide to work
3449           around the problem on their end in future, this is still an issue
3450           with all GLib versions >= 2.10.0, so we should warn until we depend
3451           on a GLib version we know to be safe.
3452           Update documentation as well.
3453           Closes bug #391278.
3454
3455 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3456
3457         * tools/gst-inspect.c: (main):
3458         * tools/gst-launch.c: (main):
3459         * tools/gst-typefind.c: (main):
3460         * tools/gst-xmlinspect.c: (main):
3461           Call g_thread_init() really really early, before any other GLib
3462           function (see #342564 and recent discussion on gtk-devel-list).
3463
3464 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3465
3466         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3467
3468         * gst/gst_private.h:
3469         * gst/gstconfig.h.in:
3470         * gst/gstinfo.h:
3471           On win32, all the __declspec stuff for symbol exporting is
3472           apparently only needed with MSVC, but doesn't work with MingW.
3473           Fixes compilation with MingW and #391909.
3474
3475 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3476
3477         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3478           Change some GST_ERROR_OBJECT that aren't really errors to
3479           GST_WARNING_OBJECT in order to reduce terminal spam.
3480
3481 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * tests/check/Makefile.am:
3484           disable test again, as there seem to be still race problems
3485
3486 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * tests/check/Makefile.am:
3489         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3490         (GST_START_TEST), (queue_suite):
3491           enable queue test again, add tests for the leaky behaviour
3492
3493 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3494
3495         * configure.ac:
3496         * tests/examples/Makefile.am:
3497           Compile adapter test/example only if the required headers are
3498           available (fixes #391915).
3499
3500 2007-01-01  David Schleef  <ds@schleef.org>
3501
3502         * gst/gstplugin.c:
3503           Restore the previous signal handler for SIGSEGV instead of
3504           setting to default, since we may have stolen it away from
3505           someone.  (i.e., Mono)
3506
3507 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3508
3509         * docs/random/draft-missing-plugins.txt:
3510           Some small additions and clarifications.
3511
3512 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3513
3514         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3515           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3516           since that can lead to random memory corruptions and crashes
3517           (may or may not be related to #383244, #386711, and #386711).
3518
3519 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3520
3521         * tests/check/.cvsignore:
3522         * tests/check/Makefile.am:
3523           sync .cvsignome and CLEANFILES
3524
3525 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3526
3527         * tests/check/Makefile.am:
3528           fix distcheck
3529
3530 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3531
3532         * docs/design/part-states.txt:
3533           two tiny additional comments
3534         
3535         * gst/gststructure.c:
3536           doc fixing
3537
3538         * tests/check/Makefile.am:
3539         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3540         (GST_START_TEST):
3541           disable test for now, unless it gets fixed
3542
3543 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3544
3545         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3546         (GST_START_TEST):
3547           fix race in underrun test
3548
3549 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3550
3551         * tests/check/elements/.cvsignore:
3552           ignore more
3553
3554         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3555         (GST_START_TEST):
3556           try to narrow test failure
3557
3558 2006-12-21  David Schleef  <ds@schleef.org>
3559
3560         * plugins/elements/gstfakesrc.c:
3561           Use g_random_int_range(), since it produces better random
3562           numbers in a range than almost-correct floating point code.
3563
3564 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3565
3566         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3567         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3568         (gst_check_teardown_sink_pad):
3569           do not automatically (de)activate pads
3570
3571         * tests/check/Makefile.am:
3572         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3573         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3574           add new, yet simple tests for queue
3575
3576         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3577         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3578         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3579         (GST_START_TEST):
3580         * tests/check/elements/identity.c: (cleanup_identity):
3581           consistent pad (de)activation
3582
3583 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         Patch by: Sebastian Dröge  <slomo ubuntu com>
3586
3587         * libs/gst/base/gstcollectpads.c:
3588           Fix two doc typos (#387866).
3589
3590 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3591
3592         * docs/manual/advanced-dparams.xml:
3593           Fix typo (g_object_control_properties() doesn't exist).
3594
3595 2006-12-19  Edward Hervey  <edward@fluendo.com>
3596
3597         * gst/gstsegment.c: (gst_segment_set_seek):
3598         Fine tune the cases where the segment start/stop values are really
3599         updated.
3600         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3601         Add tests for the return values of gst_segment_set_seek().
3602
3603 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3604
3605         * gst/gst.c:
3606           Docs typo fix.
3607
3608         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3609         (gst_queue_init):
3610           Fix incorrect documentation and flesh it out a bit more.
3611           Set default values for the max properties on the GParamSpec as well,
3612           so it shows up correctly in gst-inspect.
3613
3614 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3615
3616         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3617           Correct docs of queue, add more detail and crosslink it more.
3618
3619 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3620
3621         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3622           Print additional debug info when the stream isn't perfectly
3623           timestamped; don't try to use invalid durations.
3624
3625 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3626
3627         * docs/design/Makefile.am:
3628           Dist new design docs.
3629
3630 2006-12-16  Wim Taymans  <wim@fluendo.com>
3631
3632         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3633
3634         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3635         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3636         (gst_collect_pads_stop), (gst_collect_pads_event),
3637         (gst_collect_pads_chain):
3638         * libs/gst/base/gstcollectpads.h:
3639         Add refcounting to the collectpads data so we can track when it's safe
3640         to free the data. Fixes #383382.
3641
3642 2006-12-15  Wim Taymans  <wim@fluendo.com>
3643
3644         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3645         (gst_collect_pads_remove_pad):
3646         Automatically activate/deactivate pads when they are added to a
3647         started/stoped collectpads.
3648
3649 2006-12-15  Wim Taymans  <wim@fluendo.com>
3650
3651         * gst/gstelement.c: (gst_element_add_pad):
3652         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3653         * gst/gstpad.c: (gst_pad_init):
3654         Set pads to FLUSHING when they are created. Check, warn and fix when a
3655         demuxer adds an inactive pad to itself when running. Fixes #339326.
3656
3657 2006-12-15  Wim Taymans  <wim@fluendo.com>
3658
3659         * gst/gstelement.c: (gst_element_class_init),
3660         (gst_element_default_send_event), (gst_element_send_event),
3661         (gst_element_default_query), (gst_element_query):
3662         Expose default element send_event and query handling as vmethods that
3663         subclasses can chain up to.
3664
3665 2006-12-15  Wim Taymans  <wim@fluendo.com>
3666
3667         * gst/gstelement.c: (gst_element_set_state_func):
3668         Small documentation fixes.
3669
3670 2006-12-15  Wim Taymans  <wim@fluendo.com>
3671
3672         * docs/design/draft-latency.txt:
3673         Checked in draft for handling latency in pipelines.
3674
3675 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3676
3677         * Makefile.am:
3678         * gstreamer.doap:
3679         * gstreamer.spec.in:
3680           adding .doap file
3681
3682 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
3683
3684         * gst/gst.c: (init_pre), (init_post):
3685           init_pre() and init_post() might be called via our GOptionGroup or
3686           from gst_init(), and we should skip both of them if we've already
3687           been initialised, otherwise we will init some things twice or add
3688           two default log functions.
3689
3690 2006-12-13  Edward Hervey  <edward@fluendo.com>
3691
3692         * docs/manual/basics-bus.xml:
3693         No, gst_main_loop does not exist. Its g_main_loop.
3694         Discovered by somebody who abused the copy-paste technique of coding :)
3695
3696 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3697
3698         * gst/gstghostpad.c:
3699           Log ghostpad debug stuff to the GST_PADS category as well rather
3700           than just to the default category.
3701
3702 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3703
3704         * configure.ac:
3705         * gst/gst.c: (init_pre):
3706           Add some basic system details such as OS and architecture
3707           to the debug output if possible, courtesy of uname().
3708
3709 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * docs/gst/running.xml:
3712           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3713           environment variables.
3714
3715 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3716
3717         * tests/check/gst/gstbin.c: (GST_START_TEST):
3718         It is acceptable to have a refcount of 2 or 3 at this point in the
3719         test, because the pipeline might be just posting its state_change
3720         message. The next line then waits for that message to appear using
3721         bus_poll, so that should be fine too.
3722
3723 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3724
3725         * gst/gst.c: (ensure_current_registry_forking):
3726         Ignore EINTR when reading from the child registry pipe.
3727         Explicitly ignore the return value from close, since it makes no
3728         difference.
3729
3730         * gst/gstminiobject.c: (gst_mini_object_ref),
3731         (gst_mini_object_unref):
3732         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3733
3734         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3735         When removing cached plugins, remove their features too, so they're
3736         not visible after they've disappeared.
3737
3738         * gst/gstutils.c: (prepare_link_maybe_ghosting):
3739         In the unlikely case that we are linking pads with no parents, don't
3740         crash trying to get the non-existent parent bin.
3741
3742         * gst/parse/grammar.y:
3743         Output debug in the PIPELINE category
3744
3745 2005-03-08  Wim Taymans  <wim@fluendo.com>
3746
3747         Patch by: René Stadler <mail at renestadler dot de>
3748
3749         * gst/gstclock.c: (gst_clock_new_periodic_id):
3750         Reject invalid clock times for interval of periodic ids.
3751         Fixes ##383506.
3752
3753 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3754
3755         * gst/gstelementfactory.c: (gst_element_factory_create):
3756         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3757         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3758         * tools/gst-inspect.c: (print_element_info):
3759         Fix refcounting of gst_plugin_feature_load to match the docs. 
3760         Fixes: #380129
3761
3762 2006-12-07  Wim Taymans  <wim@fluendo.com>
3763
3764         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3765         (gst_base_sink_get_position):
3766         Improve debugging of events.
3767
3768 2006-12-07  Wim Taymans  <wim@fluendo.com>
3769
3770         Patch by: René Stadler <mail at renestadler dot de>
3771
3772         * gst/gstclock.c: (gst_clock_id_wait):
3773         Make period ids add the interval to the origial requested time instead
3774         of the possibly updated time which can be wrong when there are multiple
3775         waiters for the same id. Fixes #382592.
3776
3777         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3778         (gst_system_clock_id_wait_jitter_unlocked),
3779         (gst_system_clock_id_wait_jitter):
3780         Fix restart in the async notify thread when an async entry is added to
3781         the front of the list. Fixes #381492. 
3782
3783         * tests/check/gst/gstsystemclock.c: (store_callback),
3784         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3785         Added test for multiple async waits.
3786         Added test for async wait order.
3787
3788 2006-12-07  Wim Taymans  <wim@fluendo.com>
3789
3790         * gst/gstbin.c: (gst_bin_query):
3791         Add some more docs about the POSITION query.
3792
3793 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3794
3795         * configure.ac:
3796         Bump version nano - back to CVS.
3797
3798 === release 0.10.11 ===
3799
3800 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
3801
3802         * configure.ac:
3803           releasing 0.10.11, "Love never runs on time"
3804
3805 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
3806
3807         * win32/common/libgstbase.def:
3808         * win32/common/libgstreamer.def:
3809         * win32/vs8/libgstbase.vcproj:
3810         * win32/vs8/libgstcoreelements.vcproj:
3811         * win32/vs8/libgstreamer.vcproj:
3812         Fix compilation on win32 under VS8
3813         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3814         Partially fixes #381175
3815
3816 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
3817
3818         * gst/gstvalue.c: (gst_value_compare_fraction):
3819         If someone is foolish enough to compare 2 fractions with denominator =
3820         0, return UNORDERED rather than aborting.
3821
3822 2006-11-28  Edward Hervey  <edward@fluendo.com>
3823
3824         * libs/gst/base/Makefile.am:
3825         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3826         (gst_data_queue_base_init), (gst_data_queue_class_init),
3827         (gst_data_queue_init), (gst_data_queue_new),
3828         (gst_data_queue_cleanup), (gst_data_queue_finalize),
3829         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3830         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3831         (gst_data_queue_is_empty), (gst_data_queue_is_full),
3832         (gst_data_queue_set_flushing), (gst_data_queue_push),
3833         (gst_data_queue_pop), (gst_data_queue_drop_head),
3834         (gst_data_queue_set_property), (gst_data_queue_get_property):
3835         * libs/gst/base/gstdataqueue.h:
3836         New GstDataQueue object for threadsafe queueing. Most useful for
3837         elements that need some queueing functionnality.
3838         * docs/libs/gstreamer-libs-docs.sgml:
3839         * docs/libs/gstreamer-libs-sections.txt:
3840         Insert documentation for GstDataQueue
3841         * plugins/elements/Makefile.am:
3842         * plugins/elements/gstelements.c:
3843         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3844         (gst_multi_queue_class_init), (gst_multi_queue_init),
3845         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3846         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3847         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3848         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3849         (gst_multi_queue_loop), (gst_multi_queue_chain),
3850         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3851         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3852         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3853         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3854         (wake_up_next_non_linked), (compute_next_non_linked),
3855         (single_queue_overrun_cb), (single_queue_underrun_cb),
3856         (single_queue_check_full), (gst_single_queue_new):
3857         * plugins/elements/gstmultiqueue.h:
3858         New multiqueue element, using GstDataQueue. Used for queuing multiple
3859         streams.
3860         Closes #344639 and #347785
3861
3862 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
3863
3864         * docs/pwg/advanced-types.xml:
3865           add more missing type details
3866
3867         * tools/gst-run.c: (main):
3868           remove unused variable
3869
3870 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
3871
3872         * docs/libs/Makefile.am:
3873         * docs/libs/gstreamer-libs.types:
3874           add types of base classes to enable gobject specific stuff in the docs
3875
3876         * docs/random/ensonic/embedded.txt:
3877           more ideas about isolating platform specific things
3878
3879 2006-11-20  Wim Taymans  <wim@fluendo.com>
3880
3881         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3882
3883         * libs/gst/check/gstcheck.h:
3884         Fix compilation and running against 0.9.4. Fixes #377332.
3885
3886 2006-11-20  Wim Taymans  <wim@fluendo.com>
3887
3888         * gst/gstsegment.c: (gst_segment_set_seek),
3889         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3890         (gst_segment_to_running_time):
3891         Fix boundary checking in to_running_time() and to_stream_time().
3892         Fixes #377183.
3893
3894         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3895         stream and running time can now be calculated for the complete
3896         clipped segment.
3897
3898 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
3899
3900         * gst/gstpad.c: (gst_pad_push_event):
3901           Can't access event structure after giving away ownership of
3902           the event.
3903
3904 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
3905
3906         * docs/random/ensonic/embedded.txt:
3907         * docs/random/ensonic/profiling.txt:
3908         * docs/random/ensonic/receipies.txt:
3909           more thinking
3910
3911 2006-11-13  Wim Taymans  <wim@fluendo.com>
3912
3913         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3914
3915         * gst/gstpad.c:
3916         Fix documentation for gst_pad_dispatcher. Fixes #374475.
3917
3918 2006-11-13  Wim Taymans  <wim@fluendo.com>
3919
3920         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3921
3922         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3923         Store new length in segment duration so we don't keep on calling the
3924         potentially expensize get_size() call. Fixes #370865.
3925
3926 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
3929
3930         * win32/common/libgstreamer.def:
3931           Add two missing symbols (#366492).
3932
3933 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
3934
3935         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3936         (gst_adapter_take_buffer):
3937         Fix format string to use all its arguments.
3938         Remove useless >= check on a guint
3939
3940 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3941
3942         * tests/examples/adapter/.cvsignore:
3943         Ignore build file as commanded by the build-bot
3944
3945 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3946
3947         * tests/examples/adapter/Makefile.am:
3948         * tests/examples/adapter/adapter_test.c: (run_test_take),
3949         (run_test_take_buffer), (run_tests), (main):
3950
3951         Add new files from the previous commit
3952
3953 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3954
3955         * Makefile.am:
3956         * configure.ac:
3957         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3958         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3959         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3960         * libs/gst/base/gstadapter.h:
3961         * tests/check/libs/adapter.c: (create_and_fill_adapter),
3962         (GST_START_TEST), (gst_adapter_suite):
3963         * tests/examples/Makefile.am:
3964         Do some optimisation work in GstAdapter to avoid copies in more cases.
3965         It could still do slightly better by merging buffers when
3966         gst_buffer_is_span_fast is true, but is already faster. 
3967
3968         Also, avoid traversing a single-linked list to append each incoming 
3969         buffer inside the adapter.
3970
3971         Add simple test app that times the adapter behaviour in different
3972         situations, and extend the unit test to check that bytes enter and
3973         exit the adapter in their original order.
3974
3975 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3976
3977         * docs/random/draft-missing-plugins.txt:
3978           Update: use element message instead of adding a new message
3979           type to the core; don't provide GStreamer API to initiate the
3980           plugin download, just provide API to compose the strings needed
3981           and let an external libgimmestuff handle the rest.
3982
3983 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
3984
3985         * tools/gst-inspect.c: (print_element_properties_info):
3986         Print a string instead of 'unknown type' for GValueArray properties
3987
3988 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
3989
3990         * docs/random/draft-missing-plugins.txt:
3991         More small fixes.
3992
3993 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3994
3995         * tests/examples/typefind/typefind.c: (type_found), (main):
3996           Make typefind element example work again (#371894); add a
3997           license header.
3998
3999 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * docs/random/draft-missing-plugins.txt:
4002           Commit initial draft about how to deal with missing plugins,
4003           needs work (API too).
4004
4005 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4006
4007         * docs/pwg/advanced-types.xml:
4008           documents the new caps elements (see #363118)
4009
4010 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4011
4012         * gst/gstplugin.c: (gst_plugin_load_file):
4013         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4014         (gst_file_src_map_region), (gst_file_src_start):
4015         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4016         (gst_file_index_commit):
4017           Use g_strerror() instead of strerror() - we want UTF-8.
4018
4019 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4020
4021         Patch by: Peter Kjellerstedt <pkj at axis com>
4022
4023         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4024           Another printf fix (#371493).
4025
4026 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4027
4028         * tests/check/gst/gsttag.c:
4029           relicence (okay with author=company)
4030
4031 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4032
4033         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4034         (gst_pad_push_event):
4035           Enhance debug and improve docs
4036         
4037         * gst/gsturi.c:
4038           Fix docs
4039
4040 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4041
4042         * docs/random/ensonic/distributed.txt:
4043         * docs/random/ensonic/profiling.txt:
4044           more ideas
4045
4046 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4047
4048         * docs/gst/gstreamer-sections.txt:
4049           add new API and fix the build
4050           
4051         * gst/gstbin.c: (gst_bin_recalc_state):
4052         * gst/gstelement.c: (gst_element_message_full),
4053         (gst_element_get_state_func), (gst_element_set_state_func):
4054           use new API and improve logging
4055         
4056         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4057         * gst/gstutils.h:
4058           API: add function to get StateChangereturn names to improve logs 
4059
4060 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4061
4062         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4063           I'm considering shooting the next person to put strerror stuff
4064           in the translateable part of the message.
4065
4066 2006-11-03  Wim Taymans  <wim@fluendo.com>
4067
4068         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4069         Get the type and printf conversion specifiers right.
4070
4071 2006-11-03  Wim Taymans  <wim@fluendo.com>
4072
4073         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4074
4075         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4076         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4077         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4078         Some small cleanups. Improve debugging.
4079         * gst/gstpad.h:
4080         Signal all waiting threads with a broadcast instead of just one.
4081         Fixes #369942.
4082
4083 2006-11-03  Wim Taymans  <wim@fluendo.com>
4084
4085         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4086         (gst_fd_src_create):
4087         Add some debugging. 
4088         Only update fd when it's different from the old.
4089
4090 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4091
4092         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4093           Printf fixes for PPC/OSX, take two (#369366).
4094
4095 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4096
4097         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4098
4099         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4100         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4101         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4102           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4103           don't cast to long long for portability reasons, but use
4104           GLib's types instead.
4105
4106 2006-10-30  Michael Smith  <msmith@fluendo.com>
4107
4108         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4109           Get the arguments to lseek() the right way around.
4110           Fixes 367677.
4111
4112 2006-10-30  Wim Taymans  <wim@fluendo.com>
4113
4114         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4115
4116         * gst/gstinfo.h:
4117         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4118
4119 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4120
4121         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4122
4123         * docs/design/part-MT-refcounting.txt:
4124         * docs/random/wtay/capsnego2-docs:
4125         * gst/gstclock.c:
4126         * gst/gstxml.c:
4127           Typo fixes (#366212).
4128
4129 2006-10-28  Wim Taymans  <wim@fluendo.com>
4130
4131         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4132
4133         * gst/gst.c:
4134         * win32/common/libgstbase.def:
4135         * win32/common/libgstreamer.def:
4136         * win32/vs8/libgstbase.vcproj:
4137         * win32/vs8/libgstcontroller.vcproj:
4138         Add needed entries in .def files.
4139         Use HAVE_UNISTD_H.
4140         Rearrange def files in vs8 solutions. Fixes #366286.
4141
4142 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4143
4144         * win32/common/gstconfig.h:
4145           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4146           hand-made win32 gstconfig.h. Fixes #366321.
4147
4148 2006-10-27  Wim Taymans  <wim@fluendo.com>
4149
4150         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4151         (gst_ghost_pad_new_full):
4152         Make acceptcaps return TRUE when we don't have a target, just like
4153         setcaps does.
4154
4155 2006-10-27  Wim Taymans  <wim@fluendo.com>
4156
4157         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4158         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4159
4160 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4161
4162         * gst/gststructure.c: (gst_structure_id_set_value):
4163           If someone tries to set a non-UTF8 string field on a structure,
4164           don't just print a warning, but also ignore the request and do
4165           not change/add that field to the structure.
4166
4167         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4168           Test for the above.
4169
4170 2006-10-25  David Schleef  <ds@schleef.org>
4171
4172         * gst/gstinfo.c:
4173           g_hash_table_insert() needs a cast to a non-const pointer duh.
4174
4175 2006-10-25  David Schleef  <ds@schleef.org>
4176
4177         * gst/gstinfo.c:
4178         * gst/gstinfo.h:
4179           Change name parameter of _gst_debug_register_funcptr to const
4180           to reflect the constness of its use in the function as well
4181           as to quiet a gcc warning.
4182
4183 2006-10-25  Edward Hervey  <edward@fluendo.com>
4184
4185         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4186         Don't push the buffer if it's empty.
4187         Closes #363095
4188
4189 2006-10-24  Wim Taymans  <wim@fluendo.com>
4190
4191         * gst/gstevent.h:
4192         Add small comment.
4193
4194         * libs/gst/base/gstbasetransform.c:
4195         (gst_base_transform_sink_eventfunc):
4196         Debug segment values *after* updating them as this is more
4197         interesting.
4198
4199 2006-10-23  Wim Taymans  <wim@fluendo.com>
4200
4201         * docs/design/part-events.txt:
4202         Update some docs.
4203
4204         * docs/design/part-block.txt:
4205         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4206         (gst_pad_push_event):
4207         Revert BLOCKING patch, it tries to be smart without really having a
4208         clear idea what or how. So, now we discard all FLUSHING events again on
4209         a blocking pad. Should fix gnonlin again.
4210
4211 2006-10-23  Wim Taymans  <wim@fluendo.com>
4212
4213         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4214
4215         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4216         (gst_base_src_start), (gst_base_src_activate_push):
4217         Make sure size is always initialized. Fixes #364388.
4218
4219 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4220
4221         * docs/random/ensonic/distributed.txt:
4222           add some ideas about doing distributed processing
4223
4224         * docs/random/ensonic/profiling.txt:
4225           get_rusage look promising
4226
4227 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * docs/manual/basics-helloworld.xml:
4230           Add a cast in example to fix compile warning
4231
4232 2006-10-18  Wim Taymans  <wim@fluendo.com>
4233
4234         * gst/gstsegment.c: (gst_segment_set_last_stop),
4235         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4236         Relax arg checking again, -1 is allowed.
4237
4238 2006-10-18  Wim Taymans  <wim@fluendo.com>
4239
4240         * gst/gstsegment.c: (gst_segment_set_last_stop),
4241         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4242         _set_last_stop() must be with a value != -1
4243         A _TYPE_SET to -1 means seek to 0.
4244         Calc last_stop correctly for negative rates.
4245         Make sure we work with positive durations when updating a segment.
4246
4247 2006-10-18  Wim Taymans  <wim@fluendo.com>
4248
4249         * docs/design/part-live-source.txt:
4250         * gst/gstclock.h:
4251         Small docs fixes.
4252
4253 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * gst/gstbuffer.h:
4256           Add an explicit cast to GstBuffer** to keep old code that added an
4257           explicit cast to GstMiniObject** for gst_mini_object_replace()
4258           compiling without warning.
4259
4260 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4261
4262         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4263           check for validity of dates
4264
4265 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4266
4267         * docs/gst/gstreamer-sections.txt:
4268           Forgot this one, makes gtk-doc shut up.
4269
4270 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4271
4272         Patch by: Peter Kjellerstedt <pkj at axis com>
4273
4274         * gst/gstobject.h:
4275           Don't define xmlNodePtr to gpointer if the core was built with
4276           --disable-loadsave and --disable-registry, this will break
4277           applications that want to use libxml2 but are buildling against a
4278           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4279           instead so we don't have to mess with the libxml2 namespace
4280           (#361675).
4281
4282 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         * gst/gstbuffer.h:
4285           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4286           type-punned pointer warnings.
4287
4288 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4289
4290         * gst/gstelement.h:
4291           Add casts to the correct return type to state <=> state transition
4292           macros.
4293
4294 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4295
4296         * docs/design/part-live-source.txt:
4297           describe howto handle latency
4298         
4299         * docs/random/ensonic/profiling.txt:
4300           more ideas
4301
4302         * tools/gst-plot-timeline.py:
4303           fix log parsing for solaris, remove unused function
4304
4305 2006-10-16  Wim Taymans  <wim@fluendo.com>
4306
4307         * docs/design/part-trickmodes.txt:
4308         * gst/gstevent.c:
4309         Update some docs regarding reverse playback.
4310
4311 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4312
4313         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4314
4315         * win32/vs8/grammar.vcproj:
4316           Error out with a warning if glib-genmarshal.exe is not in path,
4317           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4318
4319 2006-10-13  Wim Taymans  <wim@fluendo.com>
4320
4321         * gst/gstsegment.c: (gst_segment_set_seek):
4322         When seeking to stop -1, set last_stop (current position) to the
4323         duration of the segment.
4324
4325 2006-10-13  Wim Taymans  <wim@fluendo.com>
4326
4327         * gst/gstelement.h:
4328         Clarify _NO_PREROLL a bit more.
4329
4330         * gst/gstevent.c:
4331         Fix docs.
4332
4333         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4334         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4335         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4336         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4337         due to wrong locking order. Fixes #361769.
4338         Remove some redundant/misplaced checks in pad_block.
4339
4340         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4341         For negative rates, count backwards from the duration.
4342
4343 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4344
4345         * gst/gsterror.c: (_gst_library_errors_init):
4346           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4347           up with something better).
4348
4349 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4350
4351         * win32/vs6/libgstreamer.dsp:
4352         * win32/vs7/libgstreamer.vcproj:
4353         * win32/vs8/libgstreamer.vcproj:
4354           Don't reference glib-compat.c which is currently not used and not
4355           disted; add gstquark.c which was recently added. Fixes #361730.
4356
4357 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4358
4359         * win32/common/libgstbase.def:
4360         * win32/common/libgstcontroller.def:
4361         * win32/common/libgstreamer.def:
4362           Add gst_caps_merge() and a bunch of other recently-added functions.
4363           Fixes #361732.
4364
4365 2006-10-11  Wim Taymans  <wim@fluendo.com>
4366
4367         * docs/plugins/gstreamer-plugins.args:
4368         * docs/plugins/inspect/plugin-coreelements.xml:
4369         * docs/plugins/inspect/plugin-coreindexers.xml:
4370         Update element args.
4371
4372         * gst/gstsystemclock.c:
4373         Small comment update.
4374
4375         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4376         (gst_tee_request_new_pad), (gst_tee_release_pad),
4377         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4378         (gst_tee_sink_activate_pull):
4379         * plugins/elements/gsttee.h:
4380         Some tee loving:
4381         Add default property defines.
4382         Implement release pad function.
4383         Give properties better blubs etc.
4384         Activate pads before adding them to a running tee.
4385         Do simple buffer_alloc on the first requested pad.
4386         Post error when activation fails.
4387
4388 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4389
4390         * gst/gst.c: (ensure_current_registry_forking):
4391           Check return value of write() to make compiler happy.
4392
4393 2006-10-11  Wim Taymans  <wim@fluendo.com>
4394
4395         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4396
4397         * plugins/elements/gstqueue.c: (gst_queue_chain):
4398         Recheck queue filledness after signalling the overrun when we're about
4399         to leak downstream because we released the lock when emitting the signal
4400         and the queue could be empty again. Fixes #352345.
4401
4402 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4405           Fix refcounting here too, just like we did for _new_valist() a few
4406           days ago (#357180) (thanks to René Stadler). Also remove all those
4407           'Since: 0.9' from the gtk-doc blobs.
4408
4409         * tests/check/libs/controller.c: (controller_refcount_new_list),
4410         (gst_controller_suite):
4411           Unit test for the above.
4412
4413 2006-10-10  Wim Taymans  <wim@fluendo.com>
4414
4415         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4416
4417         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4418         (gst_pad_save_thyself):
4419         Update some docs.
4420         Write pad direction in XML output. Fixes #345496.
4421
4422 2006-10-10  Wim Taymans  <wim@fluendo.com>
4423
4424         Patch by: René Stadler <mail at renestadler dot de>
4425
4426         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4427         (gst_controller_new_list), (_gst_controller_dispose),
4428         (_gst_controller_finalize), (_gst_controller_class_init):
4429         Take ref to controlled object so that it cannot disappear. 
4430         Fixes #357432.
4431
4432 2006-10-10  Wim Taymans  <wim@fluendo.com>
4433
4434         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4435         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4436         (gst_check_teardown_sink_pad):
4437         Activate/deactivate pads in setup/teardown respectively.
4438
4439 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4440
4441         Patch by: Josep Torre Valles <josep@fluendo.com>
4442
4443         * gst/Makefile.am:
4444         Cast values when making gstenumtypes.h.  This pacifies Forte
4445         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4446         in the enumeration.
4447
4448 2006-10-09  Wim Taymans  <wim@fluendo.com>
4449
4450         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4451         Rename some more @cur to @start to fix docs. 
4452
4453         * gst/gstsegment.c: (gst_segment_set_seek):
4454         Fix typo.
4455         time and start must always stay in sync as defined in design doc.
4456
4457         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4458         Rename param to fix docs.
4459
4460         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4461         Check that start and time are in sync.
4462
4463         * tests/check/pipelines/parse-launch.c:
4464         (gst_parse_test_element_change_state):
4465         Activate pad before adding to the element.
4466
4467 2006-10-09  Wim Taymans  <wim@fluendo.com>
4468
4469         * docs/design/part-qos.txt:
4470         Fix typo.
4471
4472         * gst/gstevent.c:
4473         * gst/gstevent.h:
4474         Update seek event docs regarding negative rates.
4475         Rename @cur to @start. 
4476
4477         * gst/gstsegment.c: (gst_segment_set_seek):
4478         * gst/gstsegment.h:
4479         Update set_seek docs regarding negative rates.
4480         Correctly update last_stop to @stop when dealing with negative
4481         rates.
4482         Rename @cur to @start. 
4483
4484         * tests/check/gst/gstpad.c: (GST_START_TEST):
4485         Activate pads before trying to use them.
4486
4487         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4488         (gst_segment_suite):
4489         Add simple check for segments and negative rates.
4490
4491 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4492
4493         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4494         * gst/gsttaglist.h:
4495         * docs/gst/gstreamer-sections.txt:
4496           API: add gst_tag_list_is_empty() (#360467).
4497
4498         * tests/check/gst/gsttag.c: (GST_START_TEST):
4499           And a test case.
4500
4501 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4502
4503         * gst/gstmessage.h:
4504         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4505         a value that doesn't fit on enumeration.
4506
4507 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4508
4509         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4510         Remove local debugging system and use Gstreamer's instead.
4511
4512 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4513
4514         Patch by: Josep Torre Valles <josep@fluendo.com>
4515
4516         * common/m4/gst-error.m4:
4517         Disable warning of statement not reached on Forte.
4518         * gst/gstmessage.h:
4519         Fix warning on Forte (value doesn't fit on enumeration).
4520         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4521         Fix warning on Forte (value doesn't fit on enumeration).
4522         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4523         DEBUG macro says it takes minimum of 2 args and so Forte
4524         complains about the use with just 1 arg.
4525         * plugins/elements/gstfdsink.c:
4526         * plugins/elements/gstfdsrc.c:
4527         * plugins/elements/gstfilesink.c:
4528         * plugins/elements/gstfilesrc.c:
4529         Use correct return type for the uri handler implementations.
4530
4531         All these fix warnings in Forte.  Fixes bug #360860.
4532
4533 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4534
4535         * gst/gstelement.h:
4536           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4537           format string, so don't use G_GNUC_PRINTF for those versions.
4538
4539 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4540
4541         * gst/gsttaglist.c: (gst_is_tag_list):
4542         * gst/gsttaglist.h:
4543           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4544
4545         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4546           Small test for the above.
4547
4548 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4549
4550         * gst/gsttaglist.h:
4551           Less tabs, more spaces.
4552
4553 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4554
4555         * gst/gstinfo.h:
4556           Those two function declarations do actually belong there, revert
4557           commit from yesterday that turned them intro macros.
4558
4559 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4560
4561         Patch by: Josep Torre Valles <josep@fluendo.com>
4562
4563         * gst/gst.c: (gst_init_get_option_group):
4564         Fix empty declaration and type mismatch.
4565         * gst/gstbin.c: (gst_bin_change_state_func):
4566         Fix type mismatch.
4567         * gst/gstelement.c: (gst_element_continue_state),
4568         (gst_element_set_state_func), (gst_element_change_state),
4569         (gst_element_change_state_func):
4570         Fix type mismatches.
4571         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4572         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4573         Cast as appropriate.
4574         * gst/gstobject.c: (gst_class_signal_connect):
4575         Cast as appropriate.  The function pointer parameter really
4576         has the wrong type but would break API if we change it.
4577         * gst/gstquery.c:
4578         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4579         order of including string.h.
4580         * gst/gstutils.c: (gst_element_state_get_name):
4581         Remove unreachable line.
4582         * gst/gstxml.c: (gst_xml_parse_doc):
4583         Fix type mismatch.
4584         All these caught by Forte.
4585
4586 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4587
4588         Patch by: Josep Torre Valles <josep@fluendo.com>
4589
4590         * common/m4/gst-error.m4:
4591         Fixed bug #360151.
4592         We need to disable warnings on Forte for empty declarations
4593         due to gst-indent adding ;s to lines that just use macros
4594         where the macro actually doesn't need a ; at end to end
4595         statement.
4596
4597 2006-10-06  Wim Taymans  <wim@fluendo.com>
4598
4599         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4600         (gst_file_sink_close_file), (gst_file_sink_event),
4601         (gst_file_sink_render):
4602         Add some FIXME for the NEWSEGMENT handling.
4603
4604 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4605
4606         * gst/parse/grammar.y:
4607         Remove static function gst_parse_element_lock as all it does
4608         is return.  Looks like cruft from 0.8.
4609
4610 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4611
4612         Patch by: Josep Torre Valles <josep@fluendo.com>
4613
4614         * common/m4/gst-error.m4:
4615         * configure.ac:
4616         * libs/gst/net/Makefile.am:
4617         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4618         libresolv.
4619
4620 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4621
4622         * gst/gstpad.c: (pre_activate):
4623         * gst/gstregistry.c: (gst_registry_scan_path_level):
4624         * gst/gstregistryxml.c: (load_plugin):
4625         * libs/gst/controller/gstcontroller.c:
4626         (gst_controlled_property_set_interpolation_mode):
4627         * libs/gst/dataprotocol/dataprotocol.c:
4628         (gst_dp_packet_from_event_1_0):
4629         * libs/gst/net/gstnetclientclock.c:
4630         (gst_net_client_clock_observe_times):
4631         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4632           Printf fixes.
4633
4634 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * configure.ac:
4637         * docs/gst/gstreamer-sections.txt:
4638         * gst/gstconfig.h.in:
4639         * gst/gstelement.h:
4640         * gst/gstinfo.h:
4641           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4642           whether we can use G_GNUC_PRINTF in other header files and at
4643           least check the printf format/arguments of debug messages and
4644           GST_ELEMENT_ERROR messages when the printf extension is not
4645           being used.
4646           Replace more tabs with spaces in gstinfo.h and remove two spurious
4647           function declarations in GST_DISABLE_DEBUG part with macros.
4648
4649 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4650
4651         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4652           More docs for the sync-message signal (mention that it is not
4653           emitted by default); log message structures of messages posted on
4654           the bus as well.
4655
4656 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4657
4658         * gst/gst.c: (ensure_current_registry_forking):
4659         Use a pipe pair to receive status results from the forked child, and
4660         ignore the result from waitpid. Fixes #355499
4661
4662 2006-10-02  Wim Taymans  <wim@fluendo.com>
4663
4664         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4665         (gst_ghost_pad_suite):
4666         Fix leak in check.
4667
4668 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4669
4670         * gst/gstpad.c:
4671           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4672
4673 2006-10-02  Edward Hervey  <edward@fluendo.com>
4674
4675         * docs/design/part-block.txt:
4676         Further explain the use of flushing on blocked pads.
4677         * docs/gst/gstreamer-sections.txt:
4678         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4679         (gst_pad_push_event):
4680         * gst/gstpad.h:
4681         Added new GstPadFlag : GST_PAD_BLOCKING.
4682         Adds the notion of pads really blocking, which enables to properly
4683         handle FLUSH_START/FLUSH_STOP events on blocked pads.
4684         Fixes #358999
4685         API: gst_pad_is_blocking()
4686         API: GST_PAD_IS_BLOCKING() macro
4687         API: GST_PAD_BLOCKING GstPadFlag
4688         
4689 2006-10-02  Wim Taymans  <wim@fluendo.com>
4690
4691         Patch by: mrcgran <mrc.gran at gmail dot com>
4692
4693         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4694         Filter the proxied caps against the padtemplate if we have one.
4695
4696         * gst/gstquery.c: (gst_query_new_segment):
4697         Add include for gstinfo.h so that compilation with
4698         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4699
4700 2006-10-02  Wim Taymans  <wim@fluendo.com>
4701
4702         Patch by: Alessandro Decina  <alessandro at nnva org>
4703
4704         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4705         (gst_file_sink_set_location), (gst_file_sink_open_file),
4706         (gst_file_sink_close_file), (gst_file_sink_event),
4707         (gst_file_sink_render):
4708         Set file to NULL when closing filesink so that we can set a new filename
4709         in READY. Fixes #358613.
4710
4711 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4712
4713         Patch by: Alessandro Decina  <alessandro at nnva org>
4714
4715         * gst/gstevent.c: (_gst_event_copy):
4716           Fix gst_mini_object_make_writable() and gst_event_copy() for events
4717           with event structures by setting the parent refcount address of the
4718           copied structure to the address of the refcount member of the newly
4719           copied event rather than the address of the refcount member of the
4720           original event. Fixes #358737.
4721
4722         * tests/check/gst/gstevent.c: (GST_START_TEST):
4723           Unit test for the above.
4724
4725 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
4726
4727         * docs/design/Makefile.am:
4728           Dist some more files.
4729
4730 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4731
4732         * tests/check/libs/controller.c: (GST_START_TEST),
4733         (gst_controller_suite):
4734           Add test for the previous fix; add some more tests
4735           for correct refcounting behaviour; fix a few leaks
4736           in test cases; call gst_controller_init() at start
4737           of all tests.
4738
4739 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4740
4741         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4742         (gst_controller_set_from_list):
4743           Don't g_return_val_if_fail() on timed values with invalid timestamps
4744           inside a critical section without unlocking the mutex. Spotted by
4745           René Stadler. (#357617)
4746           Also, fix up refcounting properly: when returning an existing
4747           controller, we should increase the reference only once and not
4748           once per property and when trying to control a property again
4749           we should also increase the refcount.
4750
4751 2006-09-29  Wim Taymans  <wim@fluendo.com>
4752
4753         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4754         * libs/gst/net/gstnettimeprovider.c:
4755         (gst_net_time_provider_thread):
4756         Stop reading commands when EOF as well.
4757
4758         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4759         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4760         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4761         Unify description of the dump property.
4762
4763 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4764
4765         * tests/examples/manual/.cvsignore:
4766         OK, so it's actually cvsignore that needs changing. Stop laughing.
4767
4768 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4769
4770         * tests/examples/manual/Makefile.am:
4771         Gah, declare vars *before* using them
4772
4773 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4774
4775         * gst/gst.c: (init_pre), (scan_and_update_registry),
4776         (ensure_current_registry_nonforking),
4777         (ensure_current_registry_forking), (ensure_current_registry),
4778         (init_post), (gst_debug_help), (gst_deinit):
4779         * gst/gst_private.h:
4780         * gst/gstregistry.c: (gst_registry_finalize),
4781         (gst_registry_remove_features_for_plugin_unlocked),
4782         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4783         (gst_registry_scan_path),
4784         (_priv_gst_registry_remove_cache_plugins),
4785         (_priv_gst_registry_cleanup):
4786         * gst/gstregistry.h:
4787         Re-commit the registry changes, along with an extra fix:
4788           When a cached plugin is encountered at a different file path,
4789           update the stored path in the registry cache so that the parent
4790           process knows where it actually is now when it re-reads the registry
4791           cache. Fixes the thing that broke distcheck with the previous commit.
4792
4793         * tests/check/Makefile.am:
4794         Clean up files named 'core' too when running make clean.
4795
4796         * tests/examples/manual/Makefile.am:
4797         Set up a registry path for running these tests, and clean it properly
4798         for distcheck.
4799
4800 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4801
4802         * configure.ac:
4803         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4804         want gmodule-no-export-2.0.pc instead so that we don't drag in
4805         --export-dynamic on every project that links to GStreamer.
4806
4807         Also, make our export regex only match the start of symbols, rather 
4808         than any symbol that contains '_gst' somewhere.
4809
4810         * libs/gst/check/Makefile.am:
4811         The libgstcheck we build does however need export-dynamic, as it
4812         produces some symbols that don't match our _gst... style regex.
4813         Fixes: #318031
4814
4815 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4816
4817         * gst/gst.c: (init_pre), (scan_and_update_registry),
4818         (ensure_current_registry_nonforking),
4819         (ensure_current_registry_forking), (ensure_current_registry),
4820         (init_post), (gst_debug_help), (gst_deinit):
4821         * gst/gst_private.h:
4822         * gst/gstregistry.c: (gst_registry_finalize),
4823         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4824         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4825         (_gst_registry_cleanup):
4826         * gst/gstregistry.h:
4827           Revert previous change until I figure out why it breaks distcheck.
4828
4829 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4830
4831         * gst/gst.c: (init_pre), (scan_and_update_registry),
4832         (ensure_current_registry_nonforking),
4833         (ensure_current_registry_forking), (ensure_current_registry),
4834         (init_post), (gst_debug_help), (gst_deinit):
4835
4836           Make init_pre and init_post take the full complement of GOptionFunc
4837           args so they can return useful GErrors. Make the registry updating
4838           functions do so.
4839
4840           Call _priv_gst_registry_remove_cache_plugins after scanning files to
4841           ensure that the registry we're about to write out doesn't contain
4842           stale information about old-deleted plugin files.
4843
4844           Make _priv_gst_registry_remove_cache_plugins return a boolean so
4845           that deletion of plugin files is considered a registry change.
4846
4847         * gst/gst_private.h:
4848         * gst/gstregistry.c: (gst_registry_finalize),
4849         (gst_registry_remove_features_for_plugin_unlocked),
4850         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4851         (gst_registry_scan_path),
4852         (_priv_gst_registry_remove_cache_plugins),
4853         (_priv_gst_registry_cleanup):
4854         * gst/gstregistry.h:
4855         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4856         by adding _priv prefix, so that they won't appear in the global
4857         symbol table. They still do atm though because of #318031. Move the
4858         prototypes to gst_private.h
4859
4860         When removing a plugin, remove all features for that plugin too. 
4861         Fixes #340878.
4862
4863 2006-09-27  Wim Taymans  <wim@fluendo.com>
4864
4865         * docs/random/moving-plugins:
4866         Make it clear that the "compiled-in descriptions" really mean
4867         the element details.
4868
4869         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4870         (gst_base_sink_wait_preroll):
4871         Update docs.
4872
4873         * docs/libs/gstreamer-libs-sections.txt:
4874         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4875         (gst_base_src_get_range), (gst_base_src_activate_push):
4876         * libs/gst/base/gstbasesrc.h:
4877         Added function to block while waiting for PLAYING, this function
4878         is used by live sources that block on the clock.
4879         API: gst_base_src_wait_playing()
4880
4881 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4882
4883         Patch by: Peter Kjellerstedt <pkj at axis com>
4884
4885         * Makefile.am:
4886           gst-element-check.m4 is generated and should therefore be
4887           copied from the build dir rather than the source dir (#357593).
4888           'make distcheck' hasn't noticed this because we were disting
4889           the file as well, so stop doing that.
4890
4891 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4894           Add some tests for gst_caps_intersect().
4895
4896         * tools/gst-launch.c: (event_loop):
4897           Print all buffering percentages we get, even the 100% one.
4898
4899 2006-09-26  Wim Taymans  <wim@fluendo.com>
4900
4901         * tools/gst-inspect.c: (print_element_properties_info),
4902         (print_signal_info):
4903         Fix printing of flags to match the look of enums.
4904
4905 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4906
4907         * gst/gstelementfactory.c:
4908           Fix typo in docs blurb.
4909
4910 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4911
4912         * gst/gsturi.c: (search_by_entry):
4913           Don't assert/crash here if a uri handler doesn't return any
4914           supported protocols. The list of protocols could be generated
4915           dynamically at runtime or at plugin registration, and an error
4916           in the underlying library shouldn't be fatal (#353301).
4917
4918 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4919
4920         * gst/gstinfo.c:
4921           Fix warning if HAVE_PRINTF_EXTENSION is undefined
4922           (spotted by Peter Kjellerstedt).
4923
4924 2006-09-23  Wim Taymans  <wim@fluendo.com>
4925
4926         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4927
4928         * libs/gst/base/gstbasesrc.c:
4929         (gst_base_src_default_check_get_range), (gst_base_src_start),
4930         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4931         (gst_base_src_change_state):
4932         Match _start/_stop calls in the activate functions. Remove redundant
4933         _stop call from the state change function. Fixes #356910.
4934         Turn failure DEBUG into ERROR. 
4935
4936 2006-09-22  Wim Taymans  <wim@fluendo.com>
4937
4938         * docs/design/part-buffering.txt:
4939         * gst/gstmessage.c: (gst_message_new_buffering),
4940         (gst_message_parse_buffering):
4941         Update docs about buffering.
4942
4943         * docs/design/part-trickmodes.txt:
4944         Fix typo.
4945
4946 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
4947
4948         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4949         (gst_controller_new_list):
4950           Ref instances when returning them again (fixes #357180)
4951
4952 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4955           Don't forget to release proxy lock when there's an error.
4956
4957 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
4958
4959         * gst/gstcaps.h:
4960           Add extra initialisers for Caps things, to fix some plugin warnings
4961           when using -Wextra
4962
4963 2006-09-18  Wim Taymans  <wim@fluendo.com>
4964
4965         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4966           Also set template on the internal pad so that a getcaps from the 
4967           target pad returns the template caps.
4968
4969 2006-09-18  Wim Taymans  <wim@fluendo.com>
4970
4971         * gst/gstelement.c: (gst_element_post_message),
4972         (gst_element_dispose):
4973         Use _DEBUG_OBJECT some more.
4974
4975         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4976         Avoid typechecks.
4977
4978         * tools/gst-launch.c: (main):
4979         If the toplevel element is not a GstPipeline, it must be put in a
4980         pipeline so that a bus and clock is selected.
4981
4982 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
4983
4984         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4985           JITTER, RATE, and LATENCY query should be handled by the
4986           default case and not by the CONVERT query code.
4987
4988 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
4989
4990         * gst/gstformat.c: (gst_format_register):
4991           Fix locking order (must take lock before using n_values).
4992
4993         * gst/gstvalue.c: (gst_value_serialize_enum),
4994         (gst_value_deserialize_enum_iter_cmp),
4995         (gst_value_deserialize_enum):
4996           Fix serialisation/deserialisation of custom registered GstFormats.
4997
4998         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4999           Unit test for custom format serialisation/deserialisation.
5000
5001 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5002
5003         * docs/pwg/building-boiler.xml:
5004         * plugins/elements/gstcapsfilter.c:
5005         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5006         section.
5007
5008 2006-09-16  Edward Hervey  <edward@fluendo.com>
5009
5010         * libs/gst/base/gstbasetransform.c:
5011         (gst_base_transform_buffer_alloc):
5012         Check if requested caps are the same as the sinks caps IF
5013         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5014         is FALSE.
5015         This fixes the renegotiation issues stated in #352827.
5016
5017 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5018
5019         * configure.ac:
5020         * docs/manual/advanced-autoplugging.xml:
5021         * tests/examples/Makefile.am:
5022         * tests/examples/manual/.cvsignore:
5023         * tests/examples/manual/Makefile.am:
5024         * tests/examples/manual/extract.pl:
5025           Extract the manual examples again like we used to do.
5026           Fix one of them.
5027
5028 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5029
5030         * win32/common/config.h:
5031           update for version
5032
5033 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5034
5035         * gst/gsterror.c:
5036           Documents how to receive errors.
5037
5038 2006-09-15  Wim Taymans  <wim@fluendo.com>
5039
5040         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5041         (event_loop), (main):
5042         Added some comments here and there.
5043         Post an application message when an interrupt is caught instead of doing
5044         an uncontrolled state change.
5045         Clean up the event loop.
5046         Handle buffering messages, pause/resume the pipeline.
5047         Make shutdown because of an interrupt more reliable.
5048
5049 2006-09-15  Wim Taymans  <wim@fluendo.com>
5050
5051         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5052         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5053         (gst_base_sink_preroll_object):
5054         Make sure that our internal state is correct when we commit our state
5055         asynchronously. This solves a race where a state change to PLAYING
5056         could cause the sink to remain blocked in preroll in some situations.
5057
5058 2006-09-15  Wim Taymans  <wim@fluendo.com>
5059
5060         * tools/gst-inspect.c: (print_element_properties_info),
5061         (print_signal_info):
5062         List flags as hex so it's easier to deal with.
5063
5064 2006-09-15  Wim Taymans  <wim@fluendo.com>
5065
5066         * docs/libs/gstreamer-libs-sections.txt:
5067         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5068         (gst_base_sink_do_sync):
5069         * libs/gst/base/gstbasesink.h:
5070         Expose logic to wait for preroll so that subclasses such as audiosink
5071         can also use this method.
5072         API: gst_base_sink_wait_preroll()
5073
5074 2006-09-15  Wim Taymans  <wim@fluendo.com>
5075
5076         * gst/gstobject.c: (gst_object_set_parent):
5077         * gst/gstpipeline.c: (do_pipeline_seek):
5078         Small cleanups in docs and code.
5079
5080         * gst/gstsegment.c: (gst_segment_clip):
5081         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5082         if stop == start and start is in the segment, no clipping should be
5083         done. Also add a test for this.
5084
5085 2006-09-15  Wim Taymans  <wim@fluendo.com>
5086
5087         * docs/design/part-buffering.txt:
5088         * docs/gst/gstreamer-sections.txt:
5089         * gst/gstmessage.c: (gst_message_new_buffering),
5090         (gst_message_parse_buffering):
5091         * gst/gstmessage.h:
5092         Added methods to create and parse BUFFERING messages.
5093         Added preliminary docs about buffering.
5094         API: gst_message_new_buffering
5095         API: gst_message_parse_buffering
5096
5097 2006-09-06  Wim Taymans  <wim@fluendo.com>
5098
5099         * gst/gstbin.c:
5100         Update documentation.
5101
5102         * gst/gstelement.c: (gst_element_class_init),
5103         (gst_element_release_request_pad), (gst_element_set_clock),
5104         (gst_element_get_index), (gst_element_add_pad),
5105         (gst_element_remove_pad), (gst_element_get_random_pad),
5106         (gst_element_send_event), (gst_element_get_query_types),
5107         (gst_element_query), (gst_element_post_message),
5108         (gst_element_message_full), (gst_element_continue_state),
5109         (gst_element_lost_state), (gst_element_save_thyself),
5110         (gst_element_restore_thyself):
5111         Documentation updates.
5112         Rename last bit of the new-pad -> pad-added signal rename.
5113         Fix the case where an element query would only work if the source
5114         pad was linked.
5115         Avoid some useless type checking in message handling.
5116
5117         * gst/gstevent.c:
5118         * gst/gstevent.h:
5119         * gst/gstutils.c:
5120         Documentation updates.
5121
5122 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5123
5124         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5125           add an INFO line for when we actually update the fd
5126
5127 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5128
5129         * configure.ac:
5130           back to TRUNK
5131
5132 === release 0.10.10 ===
5133
5134 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5135
5136         * configure.ac:
5137           releasing 0.10.10, "Pais"
5138
5139 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5140
5141         * docs/manual/advanced-position.xml:
5142           Fix typo in sample code.
5143
5144 2006-09-05  Wim Taymans  <wim@fluendo.com>
5145
5146         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5147         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5148         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5149         * libs/gst/net/gstnetclientclock.h:
5150         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5151         * libs/gst/net/gstnettimepacket.h:
5152         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5153         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5154         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5155         * libs/gst/net/gstnettimeprovider.h:
5156         Make stuff compile on windows. Fixes #345295.
5157
5158 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * gst/gst.c: (ensure_current_registry_forking):
5161           Print better details when child was terminated by signal.
5162
5163 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5166           Print a warning rather than g_assert() if a plugin feature
5167           is a URI handler but returns no protocols (#353976).
5168
5169 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5170
5171         * docs/random/moving-plugins:
5172         Fix two typos.         
5173
5174 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5175
5176         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5177           Fix locking order, handle NULL function values properly.
5178
5179         * gst/gstinfo.h:
5180           Fix docs.
5181
5182         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5183           Initialise variable before using it and fix debug statement to
5184           print the address of the function rather than the address of the
5185           variable on the stack holding the address of the function.
5186
5187 2006-09-01  Wim Taymans  <wim@fluendo.com>
5188
5189         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5190         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5191         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5192         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5193         (gst_ghost_pad_parent_unset),
5194         (gst_ghost_pad_internal_do_activate_push),
5195         (gst_ghost_pad_internal_do_activate_pull),
5196         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5197         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5198         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5199         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5200         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5201         (gst_ghost_pad_new_no_target_from_template),
5202         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5203         More cleanups.
5204         Avoid needless typechecking in macros.
5205         Since the internal pad is always present and never changes, there is
5206         no need to locking or ref when retrieving it.
5207         Improve debugging a bit.
5208         Handle link errors when setting the target. Fixes #341029.
5209
5210 2006-09-01  Wim Taymans  <wim@fluendo.com>
5211
5212         * docs/libs/gstreamer-libs-sections.txt:
5213         * docs/plugins/gstreamer-plugins-sections.txt:
5214         Fix docs some more.
5215
5216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5217         (gst_collect_pads_event):
5218         * libs/gst/base/gstcollectpads.h:
5219         Documentation updates.
5220         Free queued buffer when removing a pad.
5221
5222 2006-08-31  Michael Smith  <msmith@fluendo.com>
5223
5224         * gst/gstutils.c: (gst_element_link_pads),
5225         (gst_element_link_pads_filtered):
5226           Ensure that we set a capsfilter to NULL if we failed to link it
5227           when doing filtered linking, to avoid criticals.
5228
5229           No need to check for unreffing srcpad, which is explicly NULLed
5230           above (a trivial code cleanup).
5231
5232 2006-08-31  Wim Taymans  <wim@fluendo.com>
5233
5234         * docs/design/part-gstghostpad.txt:
5235         Update ascii art in documentation.
5236
5237         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5238         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5239         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5240         (gst_ghost_pad_internal_do_activate_push),
5241         (gst_ghost_pad_internal_do_activate_pull),
5242         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5243         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5244         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5245         (gst_ghost_pad_set_target):
5246         Small cleanups and leak fixes.
5247         Remove some checks now that the internal pad is never NULL.
5248         Fix the case where linking pads without a target would create nasty
5249         criticals. Fixes #341029.
5250         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5251         value of _set_target().
5252
5253         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5254         (gst_ghost_pad_suite):
5255         Some more tests for creating and linking untargeted ghostpads.
5256
5257 2006-08-31  Edward Hervey  <edward@fluendo.com>
5258
5259         * docs/gst/gstreamer-sections.txt:
5260         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5261         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5262         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5263         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5264         (gst_ghost_pad_new_from_template),
5265         (gst_ghost_pad_new_no_target_from_template):
5266         * gst/gstghostpad.h:
5267         Refactored *_new() functions.
5268         Templates are now used as a g_object_new() parameter.
5269         Use template in _do_getcaps() if we don't have a target.
5270         Small documentation cleanups.
5271         Added two new constructors:
5272         gst_ghost_pad_new_from_template()
5273         gst_ghost_pad_new_no_target_from_template()
5274         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5275         (gst_ghost_pad_suite):
5276         Added tests for new ghostpad instanciation functions.
5277
5278         API additions: gst_ghost_pad_new_from_template,
5279         gst_ghost_pad_new_no_target_from_template
5280
5281 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5282
5283         * docs/random/ensonic/profiling.txt:
5284           Ideas about qos profiling.
5285
5286 2006-08-29  Wim Taymans  <wim@fluendo.com>
5287
5288         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5289         Code cleanups.
5290         Fix memleak.
5291
5292 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5293
5294         * gst/gstxml.c:
5295           Improve and detypofy docs.
5296
5297         * tests/check/Makefile.am:
5298         * tests/check/gst/.cvsignore:
5299         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5300           Add a basic test suite for GstXML.
5301
5302 2006-08-29  Wim Taymans  <wim@fluendo.com>
5303
5304         * gst/gstelement.c: (activate_pads), (clear_caps),
5305         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5306         Clear the pad caps when the element shut down all of the pads and
5307         is not streaming data that could modify the caps. 
5308         Fixes #352958.
5309
5310 2006-08-28  Michael Smith  <msmith@fluendo.com>
5311
5312         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5313           Revert previous change; I misunderstood single-segment mode.
5314
5315 2006-08-28  Michael Smith  <msmith@fluendo.com>
5316
5317         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5318           Unset DISCONT on buffers when using single-segment mode.
5319
5320 2006-08-28  Wim Taymans  <wim@fluendo.com>
5321
5322         * gst/gstcaps.c: (gst_caps_merge_structure):
5323         * gst/gstcaps.h:
5324         Fix docs and indentation again.
5325
5326         * tests/check/gst/gstquery.c: (GST_START_TEST):
5327         Fix leak in tests and add some more tests.
5328
5329 2006-08-28  Edward Hervey  <edward@fluendo.com>
5330
5331         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5332         Inform GstSegment of the last stop position in order for the current
5333         segment to have a proper duration if it doesn't have a specific stop
5334         position from which a duration could be calculated.
5335         This bug was noticeable when a non-flushing, non-update new segment was
5336         followed by another segment (all buffers from the new segment were being
5337         dropped).
5338
5339 2006-08-28  Wim Taymans  <wim@fluendo.com>
5340
5341         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5342         Small comment update.
5343
5344         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5345         (gst_identity_transform_ip):
5346         Drop-probability is broken, mention this in the code with a 
5347         FIXME and also in the property description.
5348         Make silent also be silent about the drop messages.
5349
5350 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5351
5352         * docs/manual/appendix-win32.xml:
5353           Remove mention of popt, we don't depend on that any
5354           longer (#353136). Add some comments pointing out that
5355           this section is slightly outdated.
5356
5357 2006-08-28  Wim Taymans  <wim@fluendo.com>
5358
5359         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5360
5361         * gst/gstquery.c: (gst_query_new_segment):
5362         * tests/check/gst/gstquery.c: (GST_START_TEST):
5363         Initialize variables when creating a new segment query.
5364         Fixes #353121.
5365
5366 2006-08-28  Wim Taymans  <wim@fluendo.com>
5367
5368         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5369
5370         * gst/gstelement.c: (gst_element_get_bus):
5371         * tests/check/gst/gstelement.c: (GST_START_TEST):
5372         Check for NULL before _reffing the bus. Fixes #353122.
5373
5374 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * docs/manual/basics-bus.xml:
5377           Docs update: fix wrong callback return value explanation; add
5378           some lines about the implicit relationship between main loop
5379           and main context; remove duplicate main loop variable declaration.
5380
5381 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5382
5383         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5384           Don't leak caps in unit test; add a few more simple
5385           checks. 
5386
5387 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * docs/gst/gstreamer-sections.txt:
5390         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5391         (gst_caps_structure_is_subset), (gst_caps_merge),
5392         (gst_caps_merge_structure):
5393         * gst/gstcaps.h:
5394         * libs/gst/base/gstbasetransform.c:
5395         (gst_base_transform_transform_caps):
5396         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5397           implement caps merging (fixes #352580)
5398
5399 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * tools/Makefile.am:
5402         * tools/gst-plot-timeline.py:
5403           add debug-log plotting developer tool (#340674)
5404
5405 2006-08-23  Wim Taymans  <wim@fluendo.com>
5406
5407         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5408         (gst_pad_stop_task):
5409         Improve debugging for task functions.
5410
5411         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5412         (gst_task_start), (gst_task_pause), (gst_task_join):
5413         Make sure that the task function started and finished after a 
5414         join(). 
5415         Don't try to push the task function on the threadpool multiple
5416         times.
5417         Improve the g_warning message with some useful suggestions
5418         about how to fix the problem. 
5419
5420 2006-08-23  Wim Taymans  <wim@fluendo.com>
5421
5422         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5423         Handle RESYNC correctly in _proxy_getcaps.
5424
5425 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5426
5427         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5428         (gst_xml_parse_memory), (gst_xml_get_element):
5429           Chain up to parent class in dispose function and also
5430           unref the elements in the toplevel_elements GList.
5431           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5432           Always return a reference in gst_xml_get_element() rather
5433           than only sometimes.
5434
5435         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5436           Don't leak GstXml object.
5437
5438 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5439
5440         * docs/gst/gstreamer-sections.txt:
5441         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5442         (gst_caps_merge):
5443         * gst/gstcaps.h:
5444         * libs/gst/base/gstbasetransform.c:
5445         (gst_base_transform_transform_caps):
5446           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5447           in a better way
5448
5449 2006-08-21  Edward Hervey  <edward@fluendo.com>
5450
5451         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5452         Implement GObject::dispose virtual method in GstXML so we can free the
5453         top_elements GList.
5454
5455 2006-08-21  Wim Taymans  <wim@fluendo.com>
5456
5457         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5458         (gst_buffer_create_sub):
5459         Copy duration/offset_end/caps when creating a subbuffer of the
5460         complete parent.
5461         Make the subbuffer read-only when we make the metadata writable for
5462         now. Fixes #351768.
5463
5464         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5465         Added check for metadata copy when creating subbuffers.
5466
5467 2006-08-21  Edward Hervey  <edward@fluendo.com>
5468
5469         * libs/gst/base/gstbasetransform.c:
5470         (gst_base_transform_buffer_alloc):
5471         Only call downstream buffer_alloc if transform element is passthrough
5472         or always_in_place. Closes #350449.
5473
5474 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5475
5476         * ChangeLog:
5477           ChangeLog surgery to add comments to previous changes
5478
5479 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5480
5481         * gst/gst.c:
5482           Add comments
5483
5484         * gst/gstpad.c: (gst_pad_set_active):
5485           Be more verbose in the log
5486
5487         * libs/gst/base/gstbasetransform.c:
5488         (gst_base_transform_transform_caps):
5489           Simplify caps to get rid of duplicates, fixes #345444
5490
5491 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5492
5493         * gst/gstvalue.c:
5494         * gst/gstvalue.h:
5495           Use these optimizations only internally.
5496
5497 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5498
5499         * gst/gstvalue.c: (gst_value_compare_list),
5500         (gst_value_compare_fraction_range),
5501         (gst_value_intersect_fraction_fraction_range),
5502         (gst_value_intersect_fraction_range_fraction_range),
5503         (gst_value_subtract_fraction_fraction_range),
5504         (gst_value_subtract_fraction_range_fraction_range),
5505         (gst_value_get_compare_func), (gst_value_compare),
5506         (gst_value_compare_with_func):
5507         * gst/gstvalue.h:
5508           Saves the expensive lookup of the compare function in many cases
5509          (#345444)
5510
5511 2006-08-18  Edward Hervey  <edward@fluendo.com>
5512
5513         * tests/check/gst/gstinfo.c: (gst_info_suite):
5514         Disable test that require gstdebug if it wasn't built in core.
5515
5516 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5517
5518         * docs/random/ensonic/logging.txt:
5519           update ideas
5520           
5521         * gst/gstinfo.c: (gst_debug_log_default):
5522           reorder fields, save some columns, add optional color codes for log
5523           levels
5524
5525 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5526
5527         * docs/random/ensonic/logging.txt:
5528           add ideas about making the logs a bit more useful
5529
5530 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         * docs/pwg/advanced-events.xml:
5533         * docs/pwg/titlepage.xml:
5534           Update for 0.10 API (#340627). Add myself
5535           to authors list.
5536
5537 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * docs/libs/gstreamer-libs-docs.sgml:
5540         * docs/libs/gstreamer-libs-sections.txt:
5541         * libs/gst/check/gstbufferstraw.c:
5542           Make gstcheck stuff show up in docs (still needs to
5543           be documented properly though).
5544
5545 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5546
5547         * docs/gst/gstreamer-sections.txt:
5548         * gst/Makefile.am:
5549         * gst/gst.c: (init_post):
5550         * gst/gst_private.h:
5551         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5552         * gst/gstquark.h:
5553         * gst/gstquery.c: (gst_query_new_position),
5554         (gst_query_set_position), (gst_query_parse_position),
5555         (gst_query_new_duration), (gst_query_set_duration),
5556         (gst_query_parse_duration), (gst_query_new_convert),
5557         (gst_query_set_convert), (gst_query_parse_convert),
5558         (gst_query_new_segment), (gst_query_set_segment),
5559         (gst_query_parse_segment), (gst_query_new_seeking),
5560         (gst_query_set_seeking), (gst_query_parse_seeking):
5561         Add internal helpers for pre-registering quarks from static strings
5562         and using the quark values directly instead of looking them up when
5563         creating and parsing queries. Can be used for event construction too.
5564         Closes #350432.
5565
5566 2006-08-16  Wim Taymans  <wim@fluendo.com>
5567
5568         * gst/gstbin.c:
5569         Fix bogus docs.
5570
5571 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * gst/gstutils.c: (gst_util_set_value_from_string):
5574           Fix memleak (#351502).
5575
5576         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5577           Add unit test for most of gst_util_set_value_from_string()
5578           (not that one would want to encourage use of this function).
5579
5580 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5581
5582         * libs/gst/check/gstcheck.h:
5583           Use const gchar * variables in fail_unless_equals_string
5584           macro to avoid compiler warnings (and don't use tabs for
5585           indenting).
5586
5587 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5588
5589         * tools/gst-launch.c: (print_tag):
5590           More space on the left for the tag names, to cater
5591           for the 'extended comment' tag (not touching the
5592           string for the first line since it's translated).
5593
5594 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5595
5596         * libs/gst/check/gstcheck.h:
5597           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5598           print something when they fail.
5599
5600 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5601
5602         * docs/gst/gstreamer-sections.txt:
5603         * gst/gsttaglist.c: (_gst_tag_initialize):
5604         * gst/gsttaglist.h:
5605           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5606           Also change merge function for GST_TAG_COMMENT to
5607           use_first.
5608
5609 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5610
5611         * gst/gstinfo.c: (gst_debug_print_object):
5612           Make GST_PTR_FORMAT print messages as well.
5613
5614         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5615         (GST_START_TEST), (gst_info_suite):
5616           More tests.
5617
5618 2006-08-14  Edward Hervey  <edward@fluendo.com>
5619
5620         * gst/gstelementfactory.c: (gst_element_register):
5621         If the GstElementClass doesn't have a GstElementDetails with all fields
5622         filled up correctly (longname, description AND author), then error out
5623         nicely instead of crashing.
5624
5625 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5626
5627         * gst/gststructure.c:
5628           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5629
5630         * gst/gstvalue.h:
5631           Expand on the difference between arrays and lists as we use them.
5632           
5633 2006-08-14  Wim Taymans  <wim@fluendo.com>
5634
5635         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5636         If the parent state change function failed, don't assume we can safely
5637         stop the source, this will be done when the pads are deactivated.
5638
5639 2006-08-14  Wim Taymans  <wim@fluendo.com>
5640
5641         * gst/gstbuffer.c:
5642         * gst/gsttask.c: (gst_task_join):
5643         Small doc updates.
5644
5645         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5646         (gst_pad_stop_task):
5647         When pad (de)activation failed for some reason, restore the old
5648         activation mode and set the pad to flushing instead of assuming the
5649         pad is deactivated.
5650         If the _task_join() failed, reinstall the task on the pad so that it can
5651         be stopped later and return an error.
5652
5653 2006-08-11  Andy Wingo  <wingo@pobox.com>
5654
5655         * configure.ac:
5656         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5657         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5658         is only for users of API that don't want to see deprecated
5659         functions in the headers; people that want to compile out
5660         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5661         CFLAGS. Fixes the build of multifdsink, or will soon..
5662
5663 2006-08-11  Wim Taymans  <wim@fluendo.com>
5664
5665         * docs/gst/gstreamer-sections.txt:
5666         Add GstClockClass vmethod docs.
5667
5668         * gst/gstcaps.h:
5669         Mark #endif with comment for associated #if
5670
5671         * gst/gstclock.c: (gst_clock_id_wait):
5672         * gst/gstclock.h:
5673         Add vmethod wait_jitter to avoid an unneeded _get_time() for
5674         most clock implementations.
5675         Document vmethods.
5676         Flesh out docs about resolution methods.
5677         API: GstClockClass::wait_jitter
5678
5679         * gst/gstsystemclock.c: (gst_system_clock_class_init),
5680         (gst_system_clock_async_thread),
5681         (gst_system_clock_id_wait_jitter_unlocked),
5682         (gst_system_clock_id_wait_jitter):
5683         Use base class wait_jitter variant for improved performance
5684         due to less clock polling.
5685
5686 2006-08-11  Edward Hervey  <edward@fluendo.com>
5687
5688         * gst/gst.c: (gst_init_check), (init_post):
5689         Set gst as being initialized before scanning/updating the registry,
5690         since there might be my python plugin loader that calls gst_init() and
5691         we don't want to loop back in.
5692         Closes #350879
5693
5694 2006-08-11  Wim Taymans  <wim@fluendo.com>
5695
5696         * docs/design/part-qos.txt:
5697         Bring docs in line with the code. Mostly the sign of the jitter was
5698         wrong in the docs. Fixes #349943.
5699
5700         * gst/gstclock.c:
5701         Fix the docs for the jitter.
5702
5703         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5704         (gst_event_parse_tag), (gst_event_new_buffer_size),
5705         (gst_event_parse_buffer_size), (gst_event_parse_qos),
5706         (gst_event_new_seek), (gst_event_parse_seek),
5707         (gst_event_new_navigation):
5708         Make sure the GstStructure has no parent when creating custom
5709         events.
5710         Add some more argument checking so that we avoid 0.0 rates.
5711         Flesh out the docs for the QoS event some more.
5712
5713 2006-08-11  Wim Taymans  <wim@fluendo.com>
5714
5715         * docs/gst/gstreamer-sections.txt:
5716         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5717         (ensure_current_registry_forking), (ensure_current_registry),
5718         (parse_one_option), (parse_goption_arg), (gst_deinit),
5719         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5720         * gst/gst.h:
5721         Doc updates.
5722         Added API and command line option to disable registry forking in
5723         addition to the environment variable.
5724         Constify some static arrays.
5725         Added some more debug.
5726         Don't deinit twice.
5727         API: gst_registry_fork_is_enabled()
5728         API: gst_registry_fork_set_enabled()
5729         API: --gst-disable-registry-fork command line option
5730         Fixes #348918.
5731
5732 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
5733
5734         * gst/gst.c: (gst_init):
5735           Fix typo in error message.
5736
5737 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5738
5739         * libs/gst/controller/gstcontroller.h:
5740           fix ABI size-correction
5741
5742         * tests/check/libs/gdp.c: (gst_dp_suite):
5743           make tests that use deprecated API conditional
5744
5745 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5746
5747         * docs/libs/gstreamer-libs-sections.txt:
5748         * libs/gst/controller/gstcontroller.c:
5749         (_gst_controller_get_property), (_gst_controller_set_property),
5750         (_gst_controller_init), (_gst_controller_class_init):
5751         * libs/gst/controller/gstcontroller.h:
5752         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5753         (gst_object_set_control_rate):
5754           API: add gst_object_{s,g}et_control_rate(), add private data section,
5755           fix docs
5756
5757         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5758         * libs/gst/dataprotocol/dataprotocol.h:
5759           add deprecation guards to make gtk-doc happy and allow disabling cruft
5760
5761 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5762
5763         * tests/check/Makefile.am:
5764         * tests/check/gst/.cvsignore:
5765           Let's enable the new unit test as well.
5766
5767 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5768
5769         * configure.ac:
5770         * docs/gst/gstreamer-sections.txt:
5771         * gst/gstconfig.h.in:
5772         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5773         (_gst_info_printf_extension_ptr),
5774         (_gst_info_printf_extension_segment):
5775           API: add GST_SEGMENT_FORMAT, which is a printf extension we
5776           register that lets us easily dump GstSegments into debug
5777           logs (#350419).
5778
5779         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5780         (info_segment_format_printf_extension), (gst_info_suite):
5781           Add simple unit test that logs a bunch of different segments (not
5782           valgrinded at the moment because of leaks in
5783           gst_debug_add_log_function).
5784
5785 2006-08-09  Edward Hervey  <edward@fluendo.com>
5786
5787         * libs/gst/base/gstbasetransform.c:
5788         (gst_base_transform_buffer_alloc):
5789         Even if we can't figure out the proper format to request downstream,
5790         call buffer_alloc() downstream with the input parameters without setting
5791         the caps on the srcpad. This will force negotiation in the chain
5792         function.
5793         Closes #350449
5794
5795 2006-08-08  Edward Hervey  <edward@fluendo.com>
5796
5797         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5798         Unlinking from a pad without a target is now a perfectly valid case
5799         which should NOT raise an assertion.
5800         This case would happen if a linked ghostpad its target set to NULL after
5801         it was previously linked.
5802
5803 2006-08-08  Edward Hervey  <edward@fluendo.com>
5804
5805         * tests/check/libs/gdp.c:
5806         Also comment out the test (see below).
5807
5808 2006-08-08  Edward Hervey  <edward@fluendo.com>
5809
5810         * tests/check/libs/gdp.c: (gst_dp_suite):
5811         Use the architecture information from config.h and not gcc macros
5812         in order to properly disable a test that fails on PPC64.
5813
5814 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
5815
5816         * gst/gstelement.c: (gst_element_remove_pad):
5817           Don't crash printing the warning if the pad has no parent.
5818
5819 2006-08-02  Wim Taymans  <wim@fluendo.com>
5820
5821         * libs/gst/dataprotocol/dataprotocol.c:
5822         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5823         (gst_dp_crc), (gst_dp_header_payload_length),
5824         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5825         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5826         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5827         (gst_dp_event_from_packet), (gst_dp_validate_header),
5828         (gst_dp_validate_payload):
5829         Make debug category static
5830         Constify the crc table.
5831         Do some more arg checking in public functions.
5832         Fix some docs and do some small cleanups.
5833
5834         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5835         Add some more checks to see if GDP deals with bogus input.
5836
5837 2006-07-31  Wim Taymans  <wim@fluendo.com>
5838
5839         * gst/gstvalue.c: (gst_value_compare_list):
5840         Fix GstValueList comparison code. Fixes #347293.
5841
5842         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5843         Check to test GstValueList comparison.
5844
5845 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5846
5847         * gst/gstelementfactory.c: (gst_element_factory_create):
5848         Remove unnecessary ref/unref pair
5849
5850         * gst/parse/grammar.y:
5851         Make sure to free the parse buffer on all code paths.
5852         Move a g_free up to the error handler where it's easier to see.
5853
5854         * tests/check/gst/gstevent.c: (test_event):
5855         Extending timeout for downstream travelling events to 10 seconds to
5856         hopefully avoid intermittent failure on the buildbots.
5857
5858         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5859         Don't manually set the state of the src element - it will happen as a
5860         natural consequence of the pipeline changing state, and that way it
5861         will do it in the right order too.
5862
5863 2006-07-31  Wim Taymans  <wim@fluendo.com>
5864
5865         * libs/gst/base/gstbasetransform.c:
5866         (gst_base_transform_buffer_alloc):
5867         Use OBJECT_LOCK and refcounting to get the pad caps in the
5868         buffer_alloc function because the caps could change while we are
5869         busy with them. Fixes #349105
5870
5871 2006-07-31  Wim Taymans  <wim@fluendo.com>
5872
5873         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5874         Protect _PAD_CAPS with OBJECT_LOCK.
5875
5876 2006-07-31  Wim Taymans  <wim@fluendo.com>
5877
5878         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5879         (gst_pad_get_property), (gst_pad_activate_pull),
5880         (gst_pad_activate_push), (gst_pad_set_blocked_async),
5881         (gst_pad_set_activate_function),
5882         (gst_pad_set_activatepull_function),
5883         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5884         (gst_pad_set_getrange_function),
5885         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5886         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5887         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5888         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5889         (gst_pad_set_acceptcaps_function),
5890         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5891         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5892         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5893         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5894         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5895         (gst_pad_configure_sink), (gst_pad_configure_src),
5896         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5897         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5898         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5899         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5900         (gst_pad_send_event):
5901         Use _DEBUG_OBJECT when it makes sense.
5902         Protect GST_PAD_CAPS with the OBJECT_LOCK.
5903         Small cleanups and code reflows.
5904         Avoid caps refcounting in _accept_caps.
5905         Refactor alloc_buffer so that the code performed on the peer is in a
5906         separate function. Also if the pad does not implement a buffer alloc
5907         function, we should still check if the pad is flushing before falling
5908         back to the default allocator.
5909
5910 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5911
5912         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5913         Make all uses of identity and fakesink have silent=true to avoid
5914         serialising every passing data structure, which is breaking tests
5915         on FC4 for some unknown reason.
5916
5917 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5918
5919         * gst/parse/Makefile.am:
5920         * gst/parse/grammar.y:
5921         * gst/parse/parse.l:
5922           Reverted previous patch as it required to bump the flex dependency to
5923           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5924
5925 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5926
5927         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5928
5929         * gst/parse/Makefile.am:
5930         * gst/parse/grammar.y:
5931         * gst/parse/parse.l:
5932           push & pop the state of the lexer for reentrant use case
5933           Fixes #349180
5934
5935 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
5936
5937         * libs/gst/base/gstbasesrc.h:
5938           Note in the docs that the ::newsegment vfunc is not actually used by
5939           GstBaseSrc.
5940
5941 2006-07-28  Wim Taymans  <wim@fluendo.com>
5942
5943         * libs/gst/base/gstcollectpads.c:
5944         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5945         (gst_collect_pads_clear), (gst_collect_pads_flush),
5946         (gst_collect_pads_event), (gst_collect_pads_chain):
5947         When flushing a pad, also clear the queued buffer so that we don't
5948         accidentally use it when we shouldn't.
5949         Fix leaks by inreffing incomming buffer.
5950         Flush out queued buffers in case of errors.
5951         Fixes #347452.
5952
5953 2006-07-28  Wim Taymans  <wim@fluendo.com>
5954
5955         * docs/random/phonon-gst:
5956         Random notes about a Phonon backend.
5957
5958 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
5959
5960         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5961         Extra debug output
5962         * tests/check/libs/gdp.c: (gst_dp_suite):
5963         Take a whack at fixing the ppc compile using a different define to
5964         disable the broken test.
5965
5966         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5967         Remove excess g_print()
5968
5969 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5970
5971         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5972         Oops, meant to uncomment this line too to dampen the noise a bit.
5973
5974 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5975
5976         * gst/parse/grammar.y:
5977         * gst/parse/parse.l:
5978         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5979         (GST_START_TEST), (parse_suite):
5980         Fix some of the leaks exposed by extending the parse-launch testsuite,
5981         and move the 3 I can't figure out into a separate test that won't run
5982         the pipelines unless the appropriate line is uncommented.
5983
5984 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
5985
5986         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5987           Requesting 0 bytes before the end of the file should result in
5988           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5989           unit test.
5990
5991 2006-07-27  Wim Taymans  <wim@fluendo.com>
5992
5993         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5994         Fix useless assert, a uint is always positive.
5995
5996         * gst/gststructure.c: (gst_structure_nth_field_name),
5997         (gst_structure_foreach), (gst_structure_map_in_place):
5998         Check input arguments for public functions to avoid obvious crashes.
5999
6000         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6001         * plugins/elements/gstfakesink.h:
6002         Do less useless typechecking.
6003
6004 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6005
6006         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6007           Do not use mmap() by default since there are a number of error
6008           conditions that we would like to handle in a non-fatal way that
6009           will result in a SIGBUS if we use mmap(). Examples: external
6010           devices (USB harddrive, portable music player) being unplugged
6011           while in use; file on mounted CD/DVD that can't be read because
6012           the medium is partly damaged. Fixes #348455 and #348475.
6013
6014 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6015
6016         * gst/gstquery.h:
6017         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6018         rates are a gdouble
6019
6020 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6021
6022         * gst/gstregistry.c:
6023           Move big documentation comment into class section header, so that it
6024           appears in the API docs.
6025
6026 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6027
6028         * docs/gst/gstreamer-sections.txt:
6029         Oops. Commit the docs additions too for new API.
6030         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6031
6032 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6033
6034         * gst/gststructure.c: (gst_structure_id_set),
6035         (gst_structure_id_set_valist):
6036         * gst/gststructure.h:
6037         Add API for setting values into structures without performing
6038         a quark lookup, if the appropriate quark is already known.
6039
6040         API: gst_structure_id_set
6041         API: gst_structure_id_set_valist
6042
6043         * gst/parse/grammar.y:
6044         * gst/parse/parse.l:
6045         Remove some dead code shown by the coverage information.
6046         Don't throw a critical g_warning when encountering a syntax error,
6047         just warn and let the normal error path handle it.
6048
6049         * plugins/elements/gstelements.c:
6050         Bump the rank of filesink up to PRIMARY so that it is preferred over
6051         gnomevfssink for file:// sink uri's
6052
6053         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6054         (GST_START_TEST), (run_delayed_test),
6055         (gst_parse_test_element_base_init),
6056         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6057         (gst_parse_test_element_change_state),
6058         (gst_register_parse_element), (parse_suite):
6059         Beef up the tests for parse syntax to check that more error cases
6060         fail as they are supposed to. Increases the test coverage a bit.
6061
6062 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6063
6064         * docs/manual/basics-elements.xml:
6065           Fix gst_element_link() example.
6066
6067         * gst/gstutils.c:
6068           Mention in API docs that one should usually gst_bin_add()
6069           elements to a bin or pipeline before doing the linking.
6070           
6071 2006-07-26  Wim Taymans  <wim@fluendo.com>
6072
6073         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6074         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6075         Avoid function call for known types by keeping the buffer and
6076         subbuffer GType global.
6077
6078         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6079         Random silly optimisations in read() path.
6080
6081 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6082
6083         * tools/gst-launch.c: (main):
6084           If the top-level of the parse is a normal bin, it doesn't do the
6085           right logic to run as a top-level element, so place it inside a
6086           pipeline.
6087
6088 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6089
6090         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6091           Remove superfluous g_object_notify() calls, GObject does
6092           that for us automatically.
6093
6094 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6095
6096         * gst/gstinfo.h:
6097           on Win32, use dllspec to export the debug category symbols
6098
6099 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6100
6101         * gst/gsttaglist.c: (_gst_tag_initialize):
6102           Allow more than one GST_TAG_IMAGE per taglist.
6103
6104 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6105
6106         * gst/gstminiobject.c:
6107           update docs
6108         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6109         (gst_fd_src_create):
6110           log recurring events at LOG level
6111           add more debug for when the fd gets set
6112
6113 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6114
6115         * gst/gstparse.c: (gst_parse_launch):
6116           Also remove reentrance checks if flex is MT safe (#348179)
6117          Fix my empty ChangeLog entry below
6118
6119 2006-07-21  Andy Wingo  <wingo@pobox.com>
6120
6121         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6122
6123         * libs/gst/check/Makefile.am
6124         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6125         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6126         * libs/gst/check/gstbufferstraw.h:
6127         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6128         functions, thus proving I am still a GStreamer haxor. OK I wrote
6129         them a long time ago, but anyways.
6130
6131 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6132
6133         * configure.ac:
6134         * gst/gstparse.c: (gst_parse_launch):
6135           Check for flex version and omit mutex if we have a MT save flex
6136           (fixes #348179)
6137
6138 2006-07-21  Wim Taymans  <wim@fluendo.com>
6139
6140         * gst/gstparse.c: (gst_parse_launch):
6141         Protect recursive calls to _parse with a recursive mutex
6142         and busy flag.
6143
6144 2006-07-21  Wim Taymans  <wim@fluendo.com>
6145
6146         * tests/check/gst/gstpad.c: (GST_START_TEST):
6147         Fix leak in test.
6148
6149 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6150
6151         * gst/gstparse.c: (gst_parse_launch):
6152           Do not hang on recursive usage of gst_parse_launch()
6153
6154 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * gst/gsttaglist.c:
6157           Add some more docs, comments and FIXME 0.11s here and there
6158           and also fix some typos.
6159
6160 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6161
6162         * gst/gstsegment.h:
6163           Convert tabs to spaces for better readability. 
6164
6165 2006-07-20  Edward Hervey  <edward@fluendo.com>
6166
6167         * tests/check/libs/gdp.c: (gst_dp_suite):
6168         the test_buffer test fails at line 140 on ppc64 at the following
6169         check:
6170         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6171                 GST_BUFFER_FLAG_IN_CAPS),
6172                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6173         See bug #348114 for more details.
6174
6175 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6176
6177         * docs/pwg/advanced-scheduling.xml:
6178         * gst/gstpad.c:
6179           Fix typos (#348000).
6180
6181 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6182
6183         * docs/pwg/intro-basics.xml:
6184           Fix wrong links (#347927).
6185
6186 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6187
6188         * gst/gstregistry.h:
6189         * gst/gstregistryxml.c: (load_feature),
6190         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6191         * win32/common/config.h:
6192           make --disable-index work (#342564)
6193
6194 2006-07-18  Wim Taymans  <wim@fluendo.com>
6195
6196         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6197
6198         * gst/Makefile.am:
6199         * gst/gsttrace.h:
6200         The attached patch adds two missing defines to gsttrace.h when tracing
6201         is disabled.  It also corrects one existing define.
6202         Fixes #347756.
6203
6204 2006-07-17  Wim Taymans  <wim@fluendo.com>
6205
6206         * docs/gst/gstreamer-sections.txt:
6207         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6208         * gst/gst.h:
6209         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6210         Add two functions to check and change the SIGSEGV behaviour
6211         when loading plugins.
6212         Don't mess with the SIGSEGV handler when we were told not to.
6213         Fixes #347794.
6214         API: gst_segtrap_is_enabled
6215         API: gst_segtrap_set_enabled
6216
6217 2006-07-14  Wim Taymans  <wim@fluendo.com>
6218
6219         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6220         * tests/check/elements/filesrc.c: (GST_START_TEST):
6221         Revert fix for regression in #347408 after release.
6222
6223 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         Patch by: Antoine Tremblay <hexa00 at gmail com>
6226
6227         * gst/gstutils.c: (gst_element_unlink):
6228           Free iterator when done (#347311).
6229
6230         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6231           And add a test case for this.
6232
6233 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6234
6235         * configure.ac:
6236         Bump nano back to CVS
6237
6238 === release 0.10.9 ===
6239
6240 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6241
6242         * configure.ac:
6243           releasing 0.10.9, "On the road again"
6244
6245 2006-07-13  Wim Taymans  <wim@fluendo.com>
6246
6247         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6248         * tests/check/elements/filesrc.c: (GST_START_TEST):
6249         Revert pull-0 fix for release. Disable check. Fixes #347408.
6250
6251 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6252
6253         * libs/gst/dataprotocol/dataprotocol.c:
6254         (gst_dp_event_from_packet_1_0):
6255           Fixes #347337: failure to deserialize event packets with
6256           empty payload (only event type)
6257
6258 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6259
6260         * gst/Makefile.am:
6261           do not install a .c file in the header directory
6262
6263 2006-07-13  Edward Hervey  <edward@fluendo.com>
6264
6265         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6266         GhostPad no longer implicitely use the padtemplates of the targets.
6267         Fixes #347384
6268
6269 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6270
6271         * gst/gstvalue.c: (gst_value_compare_list),
6272         (gst_value_compare_array), (_gst_value_initialize):
6273         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6274         Make GstValueArray comparison be order dependent as designed.
6275         Add checks for value lists and value array comparisons.
6276         Fixes #347221
6277
6278 2006-07-11  Edward Hervey  <edward@fluendo.com>
6279
6280         * gst/gstbin.c: (activate_pads),
6281         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6282         (gst_bin_change_state_func):
6283         (de)activate src pads before calling state_change on the childs.
6284         This is to avoid the case where a src ghostpad is blocked (holding the
6285         stream lock), which would block the deactivation of the ghostpad's
6286         target pad.
6287         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6288         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6289         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6290         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6291         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6292         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6293         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6294         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6295         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6296         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6297         (gst_ghost_pad_class_init),
6298         (gst_ghost_pad_internal_do_activate_push),
6299         (gst_ghost_pad_internal_do_activate_pull),
6300         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6301         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6302         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6303         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6304         GhostPads now create their internal GstProxyPad at creation (and not
6305         when they're linked, as it was being done previously).
6306         The internal and target pads are linked straight away.
6307         The data will also travel through the other pad in order to make
6308         pad blocking and probes non-hackish (the probe/block now really happens
6309         on the GhostPad and not on the target).
6310         * gst/gstpad.c: (gst_pad_set_blocked_async),
6311         (gst_pad_link_prepare), (gst_pad_push_event):
6312         Remove previous ghostpad cruft.
6313         * gst/gstutils.c: (gst_pad_add_data_probe),
6314         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6315         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6316         (gst_pad_remove_buffer_probe):
6317         Remove previous ghost pad cruft.
6318         Added more detailed debug statements.
6319         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6320         Fix the testsuite for refcounting changes.
6321         The comments about who has references were correct, but the refcount
6322         being checked wasn't the same (!?!).
6323
6324         Fixes #341029
6325
6326 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6327
6328         * docs/gst/gstreamer-sections.txt:
6329         * gst/gstconfig.h.in:
6330         More docs for configuration options, add docs to gtk-doc.
6331
6332 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6333
6334         * gst/Makefile.am:
6335         * gst/gstconfig.h.in:
6336         * win32/common/config.h:
6337         Fix build when disabling tracing (fixes #344016). Also start to document
6338         the defines that disable the sub-systems.
6339
6340 2006-07-10  Edward Hervey  <edward@fluendo.com>
6341
6342         * gst/gst.c: (ensure_current_registry_forking):
6343         let's make valgrind happy...
6344
6345 2006-07-09  Wim Taymans  <wim@fluendo.com>
6346
6347         * gst/gstelement.c: (activate_pads),
6348         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6349         Better pad activation code: Reset the collect value too on resync.
6350         Add some comments.
6351
6352 2006-07-09  Wim Taymans  <wim@fluendo.com>
6353
6354         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6355         (gst_pad_activate_push):
6356         Use some more macros where it makes sense.
6357         Allow pad mode switching instead of asserting. When a pad
6358         is activated in one mode and we activate it in another, 
6359         deactivate it first before activating it in a different mode.
6360         Fixes #329198.
6361
6362 2006-07-08  Andy Wingo  <wingo@pobox.com>
6363
6364         * tools/gst-launch.c (main): Handle err == NULL.
6365
6366         * gst/gst.c (init_post, ensure_current_registry)
6367         (ensure_current_registry_forking)
6368         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6369         factoring out the registry scanning into separate functions. Don't
6370         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6371         Better environment var name/interface suggestions accepted.
6372
6373 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6374
6375         * gst/gstobject.c: (gst_object_set_name_default),
6376         (gst_object_set_name):
6377           Random micro-optimisation: don't use a hash table
6378           with strings as keys and the usual strdup/strcmp
6379           involved, but rather just use the GQuark of the
6380           type name as key, since it needs to be looked up
6381           anyway to get the type name string.
6382
6383         * tests/check/gst/gstobject.c: (GST_START_TEST):
6384           Fix various leaks.
6385
6386 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6387
6388         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6389         (gst_bin_iterate_all_by_interface):
6390           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6391           GTypes are gulongs and thus the top 4 bytes might be cut
6392           off on some platforms when doing GPOINTER_TO_INT, leading
6393           to invalid GTypes and bad things happening (see RH bug #179654).
6394           Also add a check to make sure the type passed in is really
6395           an interface type.
6396
6397 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6398
6399         * .cvsignore:
6400           Ignore more.
6401
6402 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6403
6404         * Makefile.am:
6405         * configure.ac:
6406         * gst-element-check.m4:
6407         * gst-element-check.m4.in:
6408           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6409           instead of the unversioned gst-inspect (#324176, #168659).
6410
6411 2006-07-06  Wim Taymans  <wim@fluendo.com>
6412
6413         * gst/gstmessage.h:
6414         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6415         warnings.
6416
6417 2006-07-06  Wim Taymans  <wim@fluendo.com>
6418
6419         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6420         (gst_base_src_wait), (gst_base_src_update_length),
6421         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6422         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6423         (gst_base_src_loop), (gst_base_src_start),
6424         (gst_base_src_activate_pull):
6425         Update docs.
6426         blocksize == 0 now means the default blocksize when working in push
6427         based mode.
6428         Remove some pointless asserts in _wait function.
6429         Fix offset/length calculations and EOS handling. We can now pull 0
6430         bytes as well, which is allowed.
6431         use _check_get_range() to decide if we can operate in _pull based
6432         mode.
6433         Fix refcounting leak when check_get_range function was not 
6434         implemented.
6435         API GstBaseSrc::blocksize range can be 0 too now (default)
6436
6437         * tests/check/elements/filesrc.c: (GST_START_TEST),
6438         (filesrc_suite):
6439         Added check to test _get_range() behaviour.
6440
6441 2006-07-06  Wim Taymans  <wim@fluendo.com>
6442
6443         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6444         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6445         (gst_pad_pull_range):
6446         * gst/gstpad.h:
6447         Lots of comments and docs added to the pad functions.
6448         Flesh out the expected behaviour of the get_range() functions.
6449
6450 2006-07-06  Wim Taymans  <wim@fluendo.com>
6451
6452         * gst/gstbus.h:
6453         * gst/gstclock.h:
6454         * gst/gstevent.h:
6455         * gst/gstiterator.h:
6456         * gst/gstpad.h:
6457         * gst/gstplugin.h:
6458         * gst/gsttask.h:
6459         Remove comma at end of enumerator list. 
6460
6461 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6462
6463         * win32/common/libgstbase.def:
6464         * win32/common/libgstdataprotocol.def:
6465         * win32/common/libsgtreamer.def:
6466         Add new exported functions.
6467
6468 2006-07-05  Wim Taymans  <wim@fluendo.com>
6469
6470         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6471         Add some more docs here and there.
6472
6473 2006-07-05  Wim Taymans  <wim@fluendo.com>
6474
6475         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6476         (gst_base_sink_loop), (gst_base_sink_get_position):
6477         When operating in pull mode update the offset so that we
6478         read sequentially.
6479
6480 2006-07-05  Wim Taymans  <wim@fluendo.com>
6481
6482         * gst/gstregistryxml.c: (read_string):
6483         Avoid strdup. (will happen in libxml, but hey!)
6484
6485         * gst/gsturi.c:
6486         Add some more docs.
6487
6488 2006-07-05  Wim Taymans  <wim@fluendo.com>
6489
6490         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6491         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6492         (gst_buffer_suite):
6493         No point in checking if the size of the subbuffer > 0, the
6494         code handles it correclty as demonstrated by unit test.
6495         Also add a unit test for the zero sized _new_and_alloc and
6496         _copy. Fixes #346663.
6497
6498 2006-07-05  Wim Taymans  <wim@fluendo.com>
6499
6500         * libs/gst/base/gstbasetransform.c:
6501         (gst_base_transform_prepare_output_buffer),
6502         (gst_base_transform_buffer_alloc),
6503         (gst_base_transform_handle_buffer):
6504         Make sure the buffer we pass to transform_ip has a refcount of
6505         1 and thus is writable. Fixes #343196
6506
6507 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6508
6509         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6510         (gst_file_src_init), (gst_file_src_set_property),
6511         (gst_file_src_get_property), (gst_file_src_map_region):
6512         * plugins/elements/gstfilesrc.h:
6513         Add "sequential" property, off by default, to use madvise and hint
6514         to the kernel that sequential access is desired.
6515         Touch all retrieved pages by default to ensure they are pulled
6516         into memory. (Closes #345720)
6517
6518 2006-07-03  Wim Taymans  <wim@fluendo.com>
6519
6520         * docs/design/part-block.txt:
6521         * docs/design/part-dynamic.txt:
6522         Small docs updates.
6523
6524 2006-07-03  Wim Taymans  <wim@fluendo.com>
6525
6526         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6527         (gst_caps_unref), (gst_static_caps_get),
6528         (gst_caps_append_structure):
6529         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6530         Use GSlice when the glib we build against is >= 2.10
6531
6532 2006-07-03  Wim Taymans  <wim@fluendo.com>
6533
6534         * gst/gstelement.c: (gst_element_pads_activate):
6535         Small cleanup in pad activation code.
6536
6537 2006-07-03  Wim Taymans  <wim@fluendo.com>
6538
6539         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6540
6541         * gst/gst-i18n-app.h:
6542         * gst/gst-i18n-lib.h:
6543         * tools/gst-inspect.c: (print_signal_info):
6544         The attached patch will make the inclusion of gettext.h unconditional in
6545         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6546         libintl.h in tools/gst-inspect.c.
6547         This allows use of --disable-nls again and fixes #344642.
6548
6549 2006-07-03  Edward Hervey  <edward@fluendo.com>
6550
6551         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6552         Implement pad blocking on events according to part-block.txt.
6553         More comments on behaviour.
6554         * tests/check/gst/gstevent.c: (test_event):
6555         Send event to peer pad of blocked pad (else it will block).
6556
6557 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6558
6559         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6560         (gst_check_run_suite):
6561           if we get the wrong message, give us the types as string
6562         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6563           Fix a translatable
6564         * tests/check/elements/filesrc.c: (GST_START_TEST):
6565           add a test for trying to open a non-existing file
6566
6567 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6568
6569         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6570           add a test for adding self
6571
6572 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6573
6574         * libs/gst/check/gstcheck.h:
6575           add some assert_ as alias for fail_unless_*
6576         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6577           increase test coverage
6578
6579 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6580
6581         * Makefile.am:
6582           include lcov.mak for lcov coverage generation
6583         * tools/Makefile.am:
6584           add to CLEANFILES
6585
6586 2006-07-02  Edward Hervey  <edward@fluendo.com>
6587
6588         * tests/check/elements/.cvsignore:
6589         moaping
6590
6591 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6592
6593         * configure.ac:
6594           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6595         * tests/check/Makefile.am:
6596           clean up gcov files
6597
6598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6599
6600         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6601           remove gst_caps_simplify; it was not declared and not used
6602           and deprecated in 0.8
6603
6604 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6605
6606         * docs/faq/gst-uninstalled:
6607           don't put empty paths on PYTHONPATH
6608         * docs/gst/gstreamer-sections.txt:
6609           remove some symbols that are not there
6610
6611 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6612
6613         * gst/gstcaps.c: (gst_caps_compare_structures):
6614           whitespace fixes
6615         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6616         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6617           add more tests
6618
6619 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6620
6621         * libs/gst/dataprotocol/Makefile.am:
6622           build dataprotocol test by linking to the lib, instead of
6623           compiling the source, so we get coverage
6624         * tests/check/Makefile.am:
6625         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6626         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6627           add a test for filesrc
6628
6629 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6630
6631         * tests/check/gst/gststructure.c: (GST_START_TEST),
6632         (gst_structure_suite):
6633           Push coverage from 59.04% to 70.00%
6634
6635 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6636
6637         * tests/check/Makefile.am:
6638           gst-inspect every element; this makes sure that we also get
6639           coverage on element's get/set functions
6640
6641 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6642
6643         * configure.ac:
6644           set CFLAGS and friends to -O0 if gcov is being used
6645           add GCOV LIBS
6646         * gst/Makefile.am:
6647         * libs/gst/base/Makefile.am:
6648         * libs/gst/check/Makefile.am:
6649         * libs/gst/controller/Makefile.am:
6650         * libs/gst/dataprotocol/Makefile.am:
6651         * libs/gst/net/Makefile.am:
6652         * plugins/elements/Makefile.am:
6653         * plugins/indexers/Makefile.am:
6654           add makefile rules to generate gcov data and clean up
6655         * tests/check/Makefile.am:
6656           add a coverage target that generates an html overview
6657           of coverage data
6658
6659 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6660
6661         * tests/check/elements/fakesink.c:
6662         * tests/check/elements/fakesrc.c:
6663         * tests/check/elements/fdsrc.c:
6664         * tests/check/elements/identity.c:
6665         * tests/check/generic/sinks.c: (gst_sinks_suite):
6666         * tests/check/generic/states.c:
6667         * tests/check/gst/gst.c:
6668         * tests/check/gst/gstabi.c:
6669         * tests/check/gst/gstbin.c:
6670         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6671         * tests/check/gst/gstbus.c: (gst_bus_suite):
6672         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6673         * tests/check/gst/gstelement.c:
6674         * tests/check/gst/gstevent.c: (gst_event_suite):
6675         * tests/check/gst/gstghostpad.c:
6676         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6677         * tests/check/gst/gstmessage.c: (gst_message_suite):
6678         * tests/check/gst/gstminiobject.c:
6679         * tests/check/gst/gstobject.c:
6680         * tests/check/gst/gstpad.c:
6681         * tests/check/gst/gstpipeline.c:
6682         * tests/check/gst/gstplugin.c:
6683         * tests/check/gst/gstquery.c: (gst_query_suite):
6684         * tests/check/gst/gstsegment.c: (gst_segment_suite):
6685         * tests/check/gst/gststructure.c:
6686         * tests/check/gst/gstsystemclock.c:
6687         * tests/check/gst/gsttag.c:
6688         * tests/check/gst/gsttask.c: (gst_task_suite):
6689         * tests/check/gst/gstutils.c:
6690         * tests/check/gst/gstvalue.c:
6691         * tests/check/libs/adapter.c:
6692         * tests/check/libs/basesrc.c:
6693         * tests/check/libs/collectpads.c:
6694         * tests/check/libs/controller.c:
6695         * tests/check/libs/gdp.c: (gst_dp_suite):
6696         * tests/check/libs/gstnetclientclock.c:
6697         * tests/check/libs/gstnettimeprovider.c:
6698         * tests/check/libs/libsabi.c: (libsabi_suite):
6699         * tests/check/libs/typefindhelper.c:
6700         * tests/check/pipelines/cleanup.c:
6701         * tests/check/pipelines/parse-launch.c:
6702         * tests/check/pipelines/simple-launch-lines.c:
6703         * tests/check/pipelines/stress.c: (stress_suite):
6704           use the new macro
6705
6706 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6707
6708         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6709         * libs/gst/check/gstcheck.h:
6710           create a macro and function so that the simple unit test
6711           case can be just one macro to create main()
6712
6713 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
6714
6715         * gst/gstbin.c: (gst_bin_restore_thyself):
6716         * gst/gstxml.c: (gst_xml_make_element):
6717           Fix deserialisation from XML. Set parent manually
6718           instead of using gst_bin_add(), since gst_bin_add()
6719           will unlink all pads of the element being added.
6720           Fixes #341667.
6721
6722 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
6723
6724         Patch by: Peter Kjellerstedt <pkj at axis com>
6725
6726         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6727           Fix missing g_strdup() and double free when using the
6728           --gst-plugin-load command line option (#346097).
6729
6730 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/gstinfo.c:
6733           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6734
6735         * libs/gst/net/gstnetclientclock.c:
6736         * libs/gst/net/gstnettimeprovider.c:
6737           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6738
6739 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6740
6741         * docs/manual/advanced-dataaccess.xml:
6742           Fix buffer probe example compilation in
6743           ADM (#345708).
6744         
6745 2006-06-22  Edward Hervey  <edward@fluendo.com>
6746
6747         * gst/gstelement.c: (gst_element_pads_activate):
6748         We need to deactivate src pads first and then sink pads.
6749         The reason is the src pads might be blocking while holding the streaming
6750         lock, so we need to deactivate them first so that deactivating the sink
6751         pads doesn't block (since it will require the streaming lock).
6752
6753 2006-06-22  Wim Taymans  <wim@fluendo.com>
6754
6755         * libs/gst/base/gstbasetransform.c:
6756         (gst_base_transform_buffer_alloc):
6757         Forgot to remove two unneeded unrefs.
6758         Simplify a check _is_equal allready checks the obvious case.
6759
6760 2006-06-22  Wim Taymans  <wim@fluendo.com>
6761
6762         * docs/design/part-block.txt:
6763         Some docs about what pad_block should do.
6764
6765 2006-06-22  Wim Taymans  <wim@fluendo.com>
6766
6767         * gst/gstcaps.c: (gst_caps_replace):
6768         Fix crasher when passed NULL. Doc clarification.
6769         Optimize for the trivial case.
6770
6771         * gst/gstpipeline.c: (gst_pipeline_change_state):
6772         Small cleanups.
6773
6774         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6775         Small documentation cleanup.
6776
6777         * libs/gst/base/gstbasetransform.c:
6778         (gst_base_transform_buffer_alloc):
6779         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6780         is what we need and it avoids a whole lot of redundant 
6781         refcount operations.
6782
6783 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
6784
6785         Patch by: Philip Jägenstedt  <philip at lysator liu se>
6786
6787         * docs/manual/advanced-dataaccess.xml:
6788           Fix 'Embedding static elements' section to use
6789           GST_PLUGIN_DEFINE_STATIC (#345607).
6790
6791 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6792
6793         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6794           Attempt to 'fix' spuriously failing test case: it seems like the
6795           timeout of half a second is simply too small when the system is under
6796           load otherwise, and the timeout doesn't really seem to serve any
6797           particular purpose here. Give the pipeline a few seconds to preroll
6798           first, and then give it another half a second to go from PAUSED to
6799           PLAYING and marshal the message into the main thread.
6800
6801 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6802
6803         * tools/gst-feedback-m.m:
6804           Don't only use unversioned tools, try versioned tools as well
6805           (#345086).
6806
6807 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6808
6809         * gst/gstbus.c: (gst_bus_class_init):
6810           Fix some typos, make docs more explicit.
6811
6812 2006-06-20  Wim Taymans  <wim@fluendo.com>
6813
6814         * tests/check/gst/gstghostpad.c: (block_callback),
6815         (GST_START_TEST), (gst_ghost_pad_suite):
6816         Added some more ghostpad tests, mainly blocking
6817         and probes.
6818
6819 2006-06-16  Wim Taymans  <wim@fluendo.com>
6820
6821         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6822         (gst_file_sink_close_file), (gst_file_sink_do_seek),
6823         (gst_file_sink_event), (gst_file_sink_render):
6824         * plugins/elements/gstfilesink.h:
6825         Check if we can seek in the file instead of assuming
6826         we always can. Post an error when we are asked to seek in a
6827         non-seekable file (like a fifo). Fixes #343312.
6828         Some cleanups.
6829
6830 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6831
6832         * tools/gst-launch.1.in:
6833           Un-garble (fourcc) bit in filtered caps section.
6834
6835 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6836
6837         * docs/manual/advanced-autoplugging.xml:
6838         * docs/manual/basics-helloworld.xml:
6839         * docs/manual/highlevel-components.xml:
6840           Don't leak bus reference in sample code.
6841
6842 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
6843
6844         * autogen.sh:
6845           Add default for new --enable-plugin-docs switch.
6846
6847         * configure.ac:
6848           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6849           Fixes #344039.
6850
6851         * docs/Makefile.am:
6852           Use new ENABLE_PLUGIN_DOCS conditional.
6853
6854 2006-06-14  Wim Taymans  <wim@fluendo.com>
6855
6856         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6857         Make it clear with a FIXME and a real define what the #if 0
6858         previously disabled.
6859
6860 2006-06-14  Wim Taymans  <wim@fluendo.com>
6861
6862         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6863         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6864         * libs/gst/base/gstbasetransform.c:
6865         (gst_base_transform_sink_eventfunc):
6866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6867         Don't randomly and silently reset a segment when the format 
6868         changes as this is a bug somewhere upstream. Fixes #330379.
6869
6870 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6871
6872         Patch by: Wouter Paesen  <wouter at kangaroot net>
6873
6874         * libs/gst/controller/gstcontroller.c:
6875         (gst_controlled_property_new):
6876           Fix controlling of float properties (#344849).
6877
6878         * tests/check/libs/controller.c:
6879         (gst_test_mono_source_get_property),
6880         (gst_test_mono_source_set_property),
6881         (gst_test_mono_source_class_init), (GST_START_TEST):
6882           While we're at it, add some float stuff to unit test.
6883
6884 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6885
6886         * docs/README:
6887         * docs/images/gdp-header.svg:
6888           add a gdp image
6889         * docs/libs/Makefile.am:
6890         * docs/libs/gdp-header.png:
6891         * libs/gst/dataprotocol/dataprotocol.c:
6892           add it to the API docs
6893         * docs/manual/intro-motivation.xml:
6894           fix typo
6895
6896 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6897
6898         * gst/gst.c: (scan_and_update_registry), (init_post):
6899           If the fork()'ed child process can't write the updated registry cache
6900           file to disk for some reason, make it exit with a failure exit code,
6901           so that the parent can then re-scan the plugins itself and update the
6902           registry structures in memory and work with that (rather than failing
6903           when creating elements because seemingly no plugins are available).
6904           Refactor registry scanning code into separate function for this and
6905           also separate fork() and non-fork() code paths. Fixes #344748.
6906
6907 2006-06-13  Wim Taymans  <wim@fluendo.com>
6908
6909         * docs/manual/advanced-dataaccess.xml:
6910         Fix wrong PluginDesc. Fixes #344755.
6911
6912 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6913
6914         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6915           Fix silly bug that prevented us from creating
6916           ~/.gstreamer-0.10 and writing the registry in one
6917           go (the first call to g_mkstemp() would overwrite the
6918           placeholder in the template string, so the second call
6919           to g_mkstemp() after creating the missing directory
6920           would then error out with 'invalid argument').
6921
6922 2006-06-13  Edward Hervey  <edward@fluendo.com>
6923
6924         * gst/gst.c: (init_post):
6925         Free string.
6926
6927 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6928
6929         * gst/glib-compat-private.h:
6930         * gst/glib-compat.c:
6931         * gst/glib-compat.h:
6932         * gst/gstvalue.c: (gst_value_serialize_flags):
6933           remove GLib 2.6 compatibility code
6934
6935 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
6936
6937         * gst/parse/Makefile.am:
6938           Fix build with 'make -j N' even more (#340016).
6939
6940 2006-06-12  Wim Taymans  <wim@fluendo.com>
6941
6942         * docs/gst/gstreamer-sections.txt:
6943         Fix docs.
6944
6945 2006-06-12  Wim Taymans  <wim@fluendo.com>
6946
6947         * gst/gstsegment.c: (gst_segment_set_duration),
6948         (gst_segment_set_last_stop), (gst_segment_set_seek),
6949         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6950         (gst_segment_to_running_time), (gst_segment_clip):
6951         Use G_UNLIKELY to help the compiler a bit.
6952
6953 2006-06-12  Wim Taymans  <wim@fluendo.com>
6954
6955         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6956
6957         * gst/gstevent.c: (gst_event_get_type):
6958         * gst/gstmessage.c:
6959         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6960         (gst_pad_push):
6961         constify quark registration strings. Fixes #344115
6962         Avoid unneeded type checking is _pad_push() by internally
6963         calling gst_pad_chain_unchecked().
6964
6965 2006-06-12  Wim Taymans  <wim@fluendo.com>
6966
6967         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6968         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6969         (gst_subbuffer_finalize), (gst_buffer_create_sub),
6970         (gst_buffer_is_span_fast), (gst_buffer_span):
6971         Init _type for consistency.
6972         Use _FLAGS macro to avoid type check.
6973         Avoid unneeded type checks in subbufer code.
6974
6975 2006-06-12  Wim Taymans  <wim@fluendo.com>
6976
6977         * gst/gst.c: (gst_debug_help):
6978         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6979         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6980         (gst_plugin_feature_list_free):
6981         * gst/gstregistry.c: (gst_registry_add_plugin),
6982         (gst_registry_add_feature), (gst_registry_plugin_filter),
6983         (gst_registry_feature_filter), (gst_registry_find_plugin),
6984         (gst_registry_find_feature), (gst_registry_get_plugin_list),
6985         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6986         * gst/gstregistryxml.c: (load_feature),
6987         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6988         * gst/gstminiobject.c: (gst_mini_object_unref),
6989         (gst_mini_object_replace), (gst_value_mini_object_free),
6990         (gst_value_mini_object_copy):
6991         Use _CAST macros to avoid unneeded type checking.
6992         Added some more G_UNLIKELY.
6993
6994 2006-06-12  Wim Taymans  <wim@fluendo.com>
6995
6996         * gst/gstbuffer.h:
6997         Avoid unneeded type checking.
6998         API: GST_BUFFER_IS_DISCONT
6999
7000         * gst/gstminiobject.h:
7001         Avoid type check in flag accessor.
7002
7003         * gst/gstelementfactory.h:
7004         * gst/gstplugin.h:
7005         * gst/gstpluginfeature.h:
7006         Add _CAST macros.
7007         API: GST_ELEMENT_FACTORY_CAST
7008         API: GST_PLUGIN_CAST
7009         API: GST_PLUGIN_FEATURE_CAST
7010
7011 2006-06-12  Wim Taymans  <wim@fluendo.com>
7012
7013         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7014         (gst_object_unref):
7015         Add G_UNLIKELY in type registration.
7016         Avoid type check in _ref/_unref since that is also
7017         done in glib.
7018
7019 2006-06-12  Wim Taymans  <wim@fluendo.com>
7020
7021         * gst/gsterror.c: (gst_g_error_get_type):
7022         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7023         (gst_static_pad_template_get_type):
7024         * gst/gsttaglist.c: (gst_tag_list_get_type):
7025         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7026         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7027         * gst/gsturi.c: (gst_uri_handler_get_type):
7028         * gst/gstvalue.c: (gst_date_get_type):
7029         * gst/gstxml.c: (gst_xml_get_type):
7030         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7031         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7032         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7033         Add G_UNLIKELY in type registration.
7034
7035 2006-06-12  Wim Taymans  <wim@fluendo.com>
7036
7037         * tools/gst-inspect.c: (print_signal_info):
7038         Properly print enum values.
7039
7040 2006-06-12  Wim Taymans  <wim@fluendo.com>
7041
7042         * gst/gstinfo.c: (gst_debug_set_active),
7043         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7044         * gst/gstinfo.h:
7045         Add some G_[UN]LIKELY.
7046         Maintain __gst_debug_min to avoid formatting the arguments of
7047         debug messages that will be dropped anyway to avoid a lot of 
7048         overhead from the debugging system.
7049
7050 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7051
7052         * po/POTFILES.in:
7053         * po/POTFILES.skip:
7054           add missing files containing translatable strings, tell intltool about
7055           one exception
7056
7057 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7058
7059         * tests/check/libs/.cvsignore:
7060         add test-binary to ignore list
7061
7062 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7063
7064         * docs/libs/gstreamer-libs-docs.sgml:
7065         reorder (put dp into a chapter) and indent
7066
7067 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7068
7069         * configure.ac:
7070           back to HEAD
7071
7072 === release 0.10.8 ===
7073
7074 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7075
7076         * configure.ac:
7077           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7078
7079 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7080
7081         * gst/gst.c: (init_post):
7082           move pid declaration to declaration block
7083
7084 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7085
7086         * gst/gst.c: (init_post):
7087           use _exit() instead of exit() in our forked child; this ensures
7088           that none of the registered exit handlers from whatever is using
7089           GStreamer get executed.  This fixes gnome-mixer-applet failing
7090           to load, because ORBit would shut down.
7091           Spotted by: Edward Hervey  <edward@fluendo.com>
7092           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7093           Fixes #344474
7094
7095 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7096
7097         * configure.ac:
7098           back to TRUNK
7099
7100 === release 0.10.7 ===
7101
7102 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7103
7104         * configure.ac:
7105           releasing 0.10.7, "Soepeke, ik zie ou"
7106
7107 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7108
7109         * configure.ac:
7110         * po/af.po:
7111         * po/az.po:
7112         * po/bg.po:
7113         * po/ca.po:
7114         * po/cs.po:
7115         * po/de.po:
7116         * po/en_GB.po:
7117         * po/fr.po:
7118         * po/it.po:
7119         * po/nb.po:
7120         * po/nl.po:
7121         * po/ru.po:
7122         * po/sq.po:
7123         * po/sr.po:
7124         * po/sv.po:
7125         * po/tr.po:
7126         * po/uk.po:
7127         * po/vi.po:
7128         * po/zh_CN.po:
7129         * po/zh_TW.po:
7130         * win32/common/config.h:
7131           0.10.6.2 prerelease
7132
7133 2006-06-07  Wim Taymans  <wim@fluendo.com>
7134
7135         * gst/gstindex.c: (gst_index_gtype_resolver):
7136         * tools/gst-xmlinspect.c: (print_plugin_info):
7137         Fix leak spotted by coverity checker. Fixes #343827
7138         Fix another other leak found by paolo borelli.
7139
7140 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7141
7142         * libs/gst/dataprotocol/dataprotocol.c:
7143         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7144         (gst_dp_version_get_type), (gst_dp_init),
7145         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7146         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7147         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7148         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7149         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7150         (gst_dp_packetizer_free):
7151         * libs/gst/dataprotocol/dataprotocol.h:
7152           API: add a GstDPPacketizer object, and create/free functions
7153           API: add GstDPVersion enum
7154           Add 1.0 event function that uses the string serialization
7155           Serialize more useful buffer flags
7156           Fixes #343988
7157
7158 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7159
7160         * tests/check/Makefile.am:
7161         * tests/check/gst/gstabi.c:
7162         * tests/check/gst/struct_ppc64.h:
7163         * tests/check/libs/libsabi.c:
7164         * tests/check/libs/struct_ppc64.h:
7165           add ppc64 structure sizes
7166
7167 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7168
7169         * tests/check/Makefile.am:
7170         * tests/check/gst/gstabi.c:
7171         * tests/check/gst/struct_x86_64.h:
7172         * tests/check/libs/libsabi.c:
7173         * tests/check/libs/struct_x86_64.h:
7174           generate and add structure size lists for x86_64
7175
7176 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7177
7178         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7179         * libs/gst/check/gstcheck.h:
7180           factor out the method from tests that checks size of structures,
7181           and add code to generate the header containing these sizes
7182         * tests/check/gst/gstabi.c: (GST_START_TEST):
7183         * tests/check/gst/struct_i386.h:
7184         * tests/check/libs/libsabi.c: (GST_START_TEST):
7185         * tests/check/libs/struct_i386.h:
7186           use it
7187
7188 2006-06-06  Michael Smith  <msmith@fluendo.com>
7189
7190         * gst/gstsegment.h:
7191           Don't use c++-style comments, fixes #343929
7192
7193 2006-06-05  Edward Hervey  <edward@fluendo.com>
7194
7195         * gst/gst.c:
7196         plugin_paths is not used if we build without registry support.
7197
7198         * gst/gstsegment.c: (gst_segment_copy): 
7199         _copy() was always returning NULL...
7200
7201 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7202
7203         * libs/gst/dataprotocol/dataprotocol.c:
7204         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7205         (gst_dp_packet_from_event):
7206           factor out CRC code
7207
7208 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7209
7210         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7211           make sure we unset caps
7212
7213 2006-06-02  Michael Smith  <msmith@fluendo.com>
7214
7215         * libs/gst/check/gstcheck.c: (gst_check_init),
7216         (gst_check_chain_func):
7217         * libs/gst/check/gstcheck.h:
7218           Add a cond/mutex to the check support lib, signal this whenever we
7219           add to the buffers list. This will allow tests to not busy-wait on
7220           the buffer-list.
7221
7222 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7223
7224         * libs/gst/dataprotocol/dataprotocol.c:
7225         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7226         (gst_dp_packet_from_event):
7227           factor out some common header init code
7228
7229 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7230
7231         * docs/libs/gstreamer-libs-sections.txt:
7232         * docs/libs/tmpl/gstdataprotocol.sgml:
7233         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7234         * libs/gst/dataprotocol/dataprotocol.h:
7235           API: make gst_dp_crc() public
7236
7237 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7238
7239         * plugins/indexers/gstindexers.c: (plugin_init):
7240         conditionally register fileindexer (fixes #343598)
7241
7242 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7243
7244         * gst/gsttagsetter.h:
7245         Can't cast ifaces to a class
7246
7247         * libs/gst/net/gstnetclientclock.h:
7248         * libs/gst/net/gstnettimeprovider.h:
7249         * plugins/elements/gstfakesink.h:
7250         * plugins/elements/gstfakesrc.h:
7251         * plugins/elements/gstfdsink.h:
7252         * plugins/elements/gstfdsrc.h:
7253         * plugins/elements/gstfilesink.h:
7254         * plugins/elements/gstfilesrc.h:
7255         * plugins/elements/gstidentity.h:
7256         * plugins/elements/gstqueue.h:
7257         * plugins/elements/gsttee.h:
7258         * plugins/indexers/gstfileindex.c:
7259         * plugins/indexers/gstmemindex.c:
7260         * tests/old/examples/plugins/example.h:
7261         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7262
7263 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7264
7265         * libs/gst/dataprotocol/dataprotocol.c:
7266         (gst_dp_header_from_buffer):
7267           make sure we zero the whole ABI-compatible area
7268
7269 2006-06-01  Wim Taymans  <wim@fluendo.com>
7270
7271         Patch by: Alessandro Decina <alessandro at nnva dot org>
7272
7273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7274         Make sure the EOS flag is cleared from pads after a flush
7275         or stop. Fixes #343538.
7276
7277         * tests/check/libs/collectpads.c: (GST_START_TEST),
7278         (gst_collect_pads_suite):
7279         Added test for collectpads reusage after EOS.
7280
7281 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7282
7283         * gst/gst.c:
7284          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7285         * win32/common/libgstbase.def:
7286          export gst_collect_pads_set_flushing
7287         * win32/common/libgstreamer.def:
7288          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7289          gst_value_fraction_multiply
7290         * win32/vs6/gst_inspect.dsp:
7291          add a link to intl.lib
7292
7293 2006-05-30  Wim Taymans  <wim@fluendo.com>
7294
7295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7296         (gst_collect_pads_chain):
7297         Handle the case where a pad is removed from the collection
7298         that could cause the other pads to become collectable.
7299
7300 2006-05-30  Wim Taymans  <wim@fluendo.com>
7301
7302         * gst/gstelement.c:
7303         Clarify the use of _release_request_pad() and
7304         _get_request_pad() a bit better.
7305
7306         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7307         (gst_adapter_take_buffer):
7308         Fix some doc and comment typos.
7309
7310 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7311
7312         * docs/gst/gstreamer-sections.txt:
7313         * docs/libs/gstreamer-libs-sections.txt:
7314           add declared symbols
7315
7316 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7317
7318         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7319         Add debug that can be enabled using a #define at the top of the file,
7320         for dumping stats about how late/early we were when waking up from
7321         waiting on the clock.
7322
7323 2006-05-30  Wim Taymans  <wim@fluendo.com>
7324
7325         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7326         When rebuilding the pad list, don't leak the previous list.
7327
7328 2006-05-30  Wim Taymans  <wim@fluendo.com>
7329
7330         Patch by: Lutz Mueller <lutz at topfrose dot de>
7331
7332         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7333         (gst_base_src_get_query_types), (gst_base_src_update_length):
7334         Publish supported query types.
7335         Update last_stop field in get_range mode so the position
7336         query works. Fixes #342321.
7337
7338 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7339
7340         * docs/gst/gstreamer-sections.txt:
7341         * gst/gsttaglist.c: (_gst_tag_initialize):
7342         * gst/gsttaglist.h:
7343           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7344
7345 2006-05-30  Wim Taymans  <wim@fluendo.com>
7346
7347         Patch by: Alessandro Decina <alessandro at nnva dot org>
7348
7349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7350         Unlock mutex when removing an unknown pad.
7351         Fixes #343334.
7352
7353         * tests/check/Makefile.am:
7354         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7355         (push_event), (setup), (teardown), (GST_START_TEST),
7356         (gst_collect_pads_suite), (main):
7357         Added collecpads check, disabled for now as check crashes for
7358         some reason.
7359
7360 2006-05-29  Wim Taymans  <wim@fluendo.com>
7361
7362         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7363         Don't leak pads lists.
7364
7365 2006-05-29  Wim Taymans  <wim@fluendo.com>
7366
7367         * docs/libs/gstreamer-libs-sections.txt:
7368         * libs/gst/base/gstcollectpads.c:
7369         (gst_collect_pads_set_flushing_unlocked),
7370         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7371         (gst_collect_pads_stop):
7372         * libs/gst/base/gstcollectpads.h:
7373         API: gst_collect_pads_set_flushing()
7374         Added api to set the pads to flushing, useful for seeking
7375         code in elements using collectpads.
7376         Clear segment when receiving a flush.
7377
7378 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * gst/gst.c: (add_path_func), (init_post):
7381           Don't scan registry paths passed via --gst-plugin-path immediately
7382           (will crash, because absolutely nothing is set up and no types are
7383           registered etc.); do this later in init_post(). Fixes #343057.
7384
7385 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7386
7387         * gst/gst.c: (init_post):
7388           if we have fork, fork while reading/rebuilding the registry
7389           so the parent doesn't take the hit of having all plugins loaded
7390           in memory.  Fixes #342777.
7391         * configure.ac:
7392           Check if we have fork()
7393         * win32/common/config.h.in:
7394           no fork() on win32
7395
7396 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7397
7398         * plugins/elements/gstelements.c:
7399         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7400         (gst_file_src_init), (gst_file_src_set_property),
7401         (gst_file_src_get_property), (gst_file_src_start):
7402         * plugins/elements/gstfilesrc.h:
7403           API: GstFileSrc::use-mmap
7404
7405         Add a use-mmap property to enable easier testing of all code paths.
7406         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7407         in the absence of gnomevfssrc. (Closes #340501)
7408
7409 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7410
7411         * tools/gst-inspect.c:
7412         Add missing include, removes warning of ngettext not being defined on
7413         some arches.
7414
7415 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7416
7417         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7418         Handle NULL input and output pointers silently as a failed conversion,
7419         rather than g_warnings.
7420
7421 2006-05-25  Wim Taymans  <wim@fluendo.com>
7422
7423         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7424         Initialize variable before using. Fixes #342820.
7425
7426 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7427
7428         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7429           Fix off-by-one bug that would only allow peeks of N-1 bytes
7430           from the start even if the buffer to typefind on contains
7431           in fact N bytes of data (makes vorbis typefinding from a
7432           vorbis identification header buffer work).
7433
7434         * tests/check/Makefile.am:
7435         * tests/check/libs/.cvsignore:
7436         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7437         (gst_typefindhelper_suite), (main), (foobar_typefind),
7438         (plugin_init):
7439           Add very basic unit test for gst_type_find_helper_for_buffer()
7440           that checks for the problem fixed above.
7441
7442 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7443
7444         * tools/gst-inspect.c: (print_interfaces),
7445         (print_element_properties_info), (print_element_list), (main):
7446           add more translatable strings
7447
7448 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7449
7450         Patch by: Julien Moutte  <julien at moutte net>
7451
7452         * docs/gst/gstreamer-sections.txt:
7453           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7454           
7455         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7456         (gst_fake_sink_preroll):
7457         * plugins/elements/gstfakesink.h:
7458           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7459
7460 2006-05-23  Wim Taymans  <wim@fluendo.com>
7461
7462         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7463         * gst/gstpad.h:
7464         Added _CUSTOM error and success GstFlowReturn that can be
7465         used be elements internally. 
7466         Added macro to check for SUCCESS flowreturns.
7467         API: GST_FLOW_CUSTOM_SUCCESS
7468         API: GST_FLOW_CUSTOM_ERROR
7469         API: GST_FLOW_IS_SUCCESS
7470
7471         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7472         Added check for GstFlowReturn sanity.
7473
7474 2006-05-23  Wim Taymans  <wim@fluendo.com>
7475
7476         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7477
7478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7479         (gst_collect_pads_event):
7480         clear/reset segment info in FLUSH_STOP.
7481         Fixes #336929.
7482
7483 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7484
7485         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7486         (gst_collect_pads_check_collected):
7487         Flush queued buffer on _stop(), fixes playing again (#342454)
7488
7489 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7490
7491         * tests/check/gst/gststructure.c: (GST_START_TEST),
7492         (gst_structure_suite):
7493           add a test for a complete structure
7494
7495 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7496
7497         * docs/faq/developing.xml:
7498         * docs/faq/faq.xml:
7499         * docs/faq/troubleshooting.xml:
7500         * docs/faq/using.xml:
7501           Some minor FAQ updates that won't change the fact that
7502           our FAQ is badly structured, full of information hardly
7503           anyone new to GStreamer needs to know and lacking lots
7504           of information people constantly ask for.
7505           
7506 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7507
7508         * gst/gstpad.c: (gst_pad_set_caps):
7509           Short-circuit gst_pad_set_caps if setting the existing
7510           caps pointer again, and avoid printing debug and 
7511           reffing/unreffing the caps.
7512
7513         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7514           There's actually no need to set the caps before pushing -
7515           the acceptcaps method will handle it anyway.
7516
7517 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7518
7519         * docs/gst/gstreamer-sections.txt:
7520         * win32/common/libgstreamer.def:
7521         * gst/gstutils.c: (gst_element_seek_simple):
7522         * gst/gstutils.h:
7523           API: add gst_element_seek_simple() (#342238).
7524
7525 2006-05-18  Edward Hervey  <edward@fluendo.com>
7526
7527         * gst/gsttypefind.c: (gst_type_find_get_type):
7528         * gst/gsttypefind.h:
7529         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7530         registered for GstTypeFind pointers. This allows wrapping the structure
7531         in bindings (i.e. gst-python).
7532
7533 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7534
7535         * gst/gsttagsetter.c:
7536           Docs additions and fixes (see #339918).
7537
7538 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7539
7540         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7541         The caps intersection algorithm can produce multiple copies of the
7542         caps. Until that is fixed, we need to simplify the result to be
7543         sure whether the allowed caps are fixed or not.
7544
7545         * plugins/elements/gstqueue.c: (gst_queue_init),
7546         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7547         (gst_queue_push_one):
7548         Proxied buffer alloc should not set the caps on the source pad.
7549         When pushing buffers, we always accept the caps change that triggers.
7550         This prevents negotiation errors caused by caps changing mid-stream 
7551         and then being refused on our source pad (because upstream is now
7552         refusing those caps).
7553
7554 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7555
7556         * tests/examples/helloworld/helloworld.c: (main):
7557           Must plug audioconvert and audioresample between decoder
7558           and audio sink.
7559
7560 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7561
7562         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7563         (load_feature), (load_plugin):
7564         Allow empty strings for some of the plugin fields so we don't 
7565         drop valid plugin entries that were written out correctly
7566         (Fixes #341479)
7567
7568 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7569         
7570         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7571           Use g_remove and g_rename instead of remove and rename that don't 
7572           handle utf8 characters. rename was failing for users who had specific
7573           characters in their name then the registry was built at each 
7574           gstreamer init.
7575         * win32/vs6/gst_inspect.dsp:
7576         * win32/vs6/gst_launch.dsp:
7577         * win32/vs6/libgstbase.dsp:
7578         * win32/vs6/libgstcoreelements.dsp:
7579         * win32/vs6/libgstreamer.dsp:
7580           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7581           build of libgstreamer and clean unused libraries in projects link 
7582           settings.
7583
7584 2006-05-17  Edward Hervey  <edward@fluendo.com>
7585
7586         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7587         The queue is not responsible for pushing an EOS when receiving a fatal
7588         flow error. It's up to the real element driving the pipeline to do that.
7589
7590 2006-05-16  Edward Hervey  <edward@fluendo.com>
7591
7592         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7593         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7594         buffer returned a fatal error. It should just send an EOS and stop
7595         its task.
7596         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7597         when pushing buffers on the queue and will be able to handle the event.
7598
7599 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7600
7601         * docs/manual/basics-bins.xml:
7602         * docs/manual/basics-init.xml:
7603           Fix typos and minor errors in sample code (#341856).
7604
7605 2006-05-16  Wim Taymans  <wim@fluendo.com>
7606
7607         * docs/design/part-qos.txt:
7608         Fix indexes in formulas to make more sense.
7609
7610 2006-05-15  Wim Taymans  <wim@fluendo.com>
7611
7612         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7613         Don't report POSITION based on clock time if sync is
7614         disabled in a sink.
7615
7616 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7617
7618         * gst/gstobject.h:
7619           Add cast to make compiler happy - refcount variable was a gint
7620           in GstObject but is a guint in GObject and g_atomic_int_get()
7621           wants a gint *.
7622
7623 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7624
7625         * gst/parse/Makefile.am:
7626           chain commands using &&, which also makes parallel make work
7627
7628 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7629
7630         * docs/gst/gstreamer-sections.txt:
7631         * gst/gstevent.c:
7632         * gst/gstevent.h:
7633         * gst/gstmessage.h:
7634           Minor docs fixes.
7635
7636 === release 0.10.6 ===
7637
7638 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7639
7640         * configure.ac:
7641           releasing 0.10.6, "Take the cannoli"
7642
7643 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7644
7645         * tools/gst-launch.c: (print_tag):
7646           Fix use of uninitialized variable in the hypothetical
7647           case that some broken plugin creates a GST_TAG_IMAGE
7648           tag containing a NULL buffer (#341667).
7649
7650 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7651
7652         * tools/gst-launch.c: (print_tag):
7653           Print something more intelligible for image tags when
7654           using the -t switch (#341556).
7655
7656 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7657
7658         * Makefile.am:
7659           updates for win32
7660         * configure.ac:
7661           define GST_MAJORMINOR so we have it available in win32/common/config.h
7662           Possibly remove it from our Makefile.am files later
7663         * win32/common/config.h:
7664         * win32/common/config.h.in:
7665           added GST_MAJORMINOR
7666         * win32/common/gstenumtypes.c: (register_gst_resource_error):
7667         * win32/common/gstversion.h:
7668           updated
7669
7670 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
7671
7672         * win32/MANIFEST:
7673           Update win32 files listing.
7674         * win32/common/gstversion.h:
7675           Add GST_MAJORMINOR definition.
7676         * win32/common/libgstreamer.def:
7677           Add new exported functions.
7678           
7679 2006-05-12  Michael Smith  <msmith@fluendo.com>
7680
7681         * gst/gstplugin.c: (gst_plugin_load_file):
7682           If an so file has no plugin entry point, unload the module.
7683
7684 2006-05-11  Wim Taymans  <wim@fluendo.com>
7685
7686         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7687         (gst_queue_set_property):
7688         Don't forget to signal the _chain or _loop function 
7689         when the queue size or thresholds change since that might
7690         cause them to make progres again.
7691
7692 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
7693
7694         * gst/gstclock.c: (gst_clock_class_init):
7695         * gst/gstindex.c: (gst_index_class_init):
7696         * gst/gstobject.c: (gst_object_class_init):
7697         * gst/gstpad.c: (gst_pad_class_init):
7698         * gst/gstpipeline.c: (gst_pipeline_class_init):
7699         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7700         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7701         * libs/gst/base/gstbasetransform.c:
7702         (gst_base_transform_class_init):
7703         * libs/gst/net/gstnetclientclock.c:
7704         (gst_net_client_clock_class_init):
7705         * libs/gst/net/gstnettimeprovider.c:
7706         (gst_net_time_provider_class_init):
7707         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7708         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7709         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7710         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7711         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7712         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7713         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7714         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7715         * plugins/elements/gsttee.c: (gst_tee_class_init):
7716         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7717         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7718           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7719
7720 2006-05-11  Wim Taymans  <wim@fluendo.com>
7721
7722         * gst/gstbuffer.c: (_gst_buffer_initialize):
7723         Register subbufer along with the buffer type so that
7724         it does not accidentally gets registered from N
7725         different streaming threads in a non threadsafe way.
7726
7727 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7728
7729         * gst/gstbuffer.h:
7730         * gst/gstevent.h:
7731         * gst/gstmessage.h:
7732           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7733           gst_event_ref() and gst_message_ref() functions again
7734           (ugly hack, please do fix if there's a better way besides
7735           overrides.txt, which doesn't seem to work).
7736
7737 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7738
7739         * libs/gst/check/gstcheck.h:
7740           add an assert for setting state to avoid lots of repetitive code
7741           in the future
7742
7743 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7744
7745         * gst/gstvalue.c: (gst_value_serialize_flags):
7746           fix a leak if no flags are set
7747         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7748           fix leak in tests
7749
7750 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7751
7752         * docs/manual/basics-pads.xml:
7753           Expand a bit on caps and filtered links and update
7754           examples that were still using the no longer existing
7755           gst_pad_link_filtered() (#338206).
7756
7757 2006-05-10  Wim Taymans  <wim@fluendo.com>
7758
7759         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7760         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7761         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7762         (gst_collect_pads_stop):
7763         * libs/gst/base/gstcollectpads.h:
7764         No need to call _stop in _finalize.
7765         Iterate the main pad list in _finalize.
7766         Added some more debug.
7767         Free lists and data in the right order.
7768         Also free data whem doing _remove_pad when stopped for
7769         backward compatibility protect ::started with PAD_LOCK as
7770         well.
7771
7772 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7773
7774         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7775         (gst_structure_parse_value):
7776           add some comments
7777           rename a method so that it actually says what it does better
7778
7779 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7780
7781         * gst/gstevent.c: (_gst_event_initialize):
7782         * gst/gstformat.c: (_gst_format_initialize):
7783           make sure some essential types used by events are registered
7784           as part of gst_init()
7785         * gst/gstvalue.c: (gst_value_serialize_flags):
7786           if no flags are set, serialize them to a value that represents NONE
7787           so that deserializing them works
7788         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7789           add tests for serialization and deserialization of flags
7790
7791 2006-05-10  Wim Taymans  <wim@fluendo.com>
7792
7793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7794         (gst_collect_pads_collect_range), (gst_collect_pads_available),
7795         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7796         (gst_collect_pads_event), (gst_collect_pads_chain):
7797         Update docs.
7798         Better debug info.
7799         Catch and return errors from the collect function
7800         Refuse data on eos pads.
7801
7802 2006-05-10  Edward Hervey  <edward@fluendo.com>
7803
7804         * gst/gstinterface.h:
7805         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7806         GInterface type checking.
7807         They were previously using non-defined macros.
7808
7809 2006-05-09  Wim Taymans  <wim@fluendo.com>
7810
7811         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7812         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7813         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7814         (gst_collect_pads_start), (gst_collect_pads_stop),
7815         (gst_collect_pads_peek), (gst_collect_pads_pop),
7816         (gst_collect_pads_available), (gst_collect_pads_read),
7817         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7818         (gst_collect_pads_is_collected), (gst_collect_pads_event),
7819         (gst_collect_pads_chain):
7820         * libs/gst/base/gstcollectpads.h:
7821         Clean up the mess that is collectpads, add comments and
7822         FIXMEs where needed.
7823         Maintain a separate pad list so we can add pads while
7824         collecting the other ones. For this we need a new separate 
7825         lock (see comics).
7826         Fix memory leak in finalize.
7827         Refactor some weird code to set/unset pad flushing flags, mark
7828         with comments.
7829         Don't crash in _available, _read, _flush when we're EOS.
7830
7831         * tests/check/libs/.cvsignore:
7832         Ignore adapter check binary.
7833
7834 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7835
7836         * gst/gstindex.c: (gst_index_resolver_get_type):
7837         * plugins/elements/gstfakesink.c:
7838         (gst_fake_sink_state_error_get_type):
7839         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7840         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7841         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7842           Const-ify GEnumValue arrays.
7843
7844 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7845
7846         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7847           Add test case for flags + gst_buffer_make_metadata_writable().
7848
7849 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7850
7851         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7852           gst_buffer_make_metadata_writable() should maintain the
7853           buffer flags (those that make sense at least) (see #340859).
7854
7855 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7856
7857         * tools/gst-inspect.c:
7858         * tools/gst-launch.c:
7859         * tools/gst-typefind.c:
7860         * tools/gst-xmlinspect.c:
7861         * tools/tools.h:
7862           Fix up includes: need to include stdlib.h in tools.h for exit().
7863
7864 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7865
7866         * gst/gsttaglist.c: (_gst_tag_initialize):
7867         * gst/gsttaglist.h:
7868           API: add GST_TAG_IMAGE tag (#340721).
7869
7870 2006-05-08  Wim Taymans  <wim@fluendo.com>
7871
7872         * gst/gstquery.c:
7873         Added some docs for the segment query.
7874
7875 2006-05-08  Wim Taymans  <wim@fluendo.com>
7876
7877         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7878         (gst_base_src_loop), (gst_base_src_change_state):
7879         Always push non-flushing serialized events in the streaming 
7880         thread.
7881
7882 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7883
7884         * gst/gsterror.c: (_gst_stream_errors_init):
7885           Add a missing error string.
7886
7887 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
7888
7889         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7890         Add applied_rate to the debug
7891
7892         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7893         Copy applied_rate into the outgoing NEWSEGMENT event
7894
7895 2006-05-08  Wim Taymans  <wim@fluendo.com>
7896
7897         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7898
7899         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7900         (gst_base_sink_change_state):
7901         call ::unlock before taking the PREROLL_LOCK so we can safely
7902         handle elements that lock in ::render.
7903         Fixes #340174.
7904
7905 2006-05-08  Edward Hervey  <edward@fluendo.com>
7906
7907         * autogen.sh: (CONFIGURE_DEF_OPT): 
7908         Darwin's libtoolize is in fact called glibtoolize.
7909         Adding glibtoolize to the list of accepted names for libtoolize.
7910
7911 2006-05-08  Wim Taymans  <wim@fluendo.com>
7912
7913         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7914         Unify error handling, don't post an error message
7915         when a push() returns EOS but perform our normal EOS
7916         handling code. Fixes #340772.
7917
7918 2006-05-08  Wim Taymans  <wim@fluendo.com>
7919
7920         * docs/design/part-overview.txt:
7921         Make upsteam/downstream concepts more clear.
7922         Give an example of serialized/non-serialized events.
7923
7924         * docs/design/part-events.txt:
7925         * docs/design/part-streams.txt:
7926         Mention applied_rate.
7927
7928         * docs/design/part-trickmodes.txt:
7929         Mention applied rate, flesh out some more use cases.
7930
7931         * gst/gstevent.c: (gst_event_new_new_segment),
7932         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7933         (gst_event_parse_new_segment_full), (gst_event_new_tag),
7934         (gst_event_parse_tag), (gst_event_new_buffer_size),
7935         (gst_event_parse_buffer_size), (gst_event_new_qos),
7936         (gst_event_parse_qos), (gst_event_parse_seek),
7937         (gst_event_new_navigation):
7938         * gst/gstevent.h:
7939         Add applied_rate field to NEWSEGMENT event.
7940         API: gst_event_new_new_segment_full()
7941         API: gst_event_parse_new_segment_full()
7942
7943         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7944         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7945         (gst_segment_to_stream_time), (gst_segment_to_running_time):
7946         * gst/gstsegment.h:
7947         Add applied_rate to GstSegment structure.
7948         Make calculation of stream_time and running_time more correct
7949         wrt rate/applied_rate.
7950         Add some more docs.
7951         API: GstSegment::applied_rate field
7952         API: gst_segment_set_newsegment_full();
7953
7954         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7955         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7956         * libs/gst/base/gstbasetransform.c:
7957         (gst_base_transform_sink_eventfunc),
7958         (gst_base_transform_handle_buffer):
7959         Parse and use applied_rate in the GstSegment field.
7960
7961         * tests/check/gst/gstevent.c: (GST_START_TEST):
7962         Add check for applied_rate field.
7963
7964         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7965         (gstsegments_suite):
7966         Add more checks for various GstSegment operations.
7967
7968 2006-05-08  Wim Taymans  <wim@fluendo.com>
7969
7970         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7971         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7972         (gst_base_sink_get_position), (gst_base_sink_change_state):
7973         Store the sync time of the buffer end position separatly in a
7974         new variable eos_rtime so we can properly sync the EOS event.
7975         Fixes #340697.
7976         Fix the docs for gst_base_sink_set_qos_enabled().
7977         Don't set segment start to invalid value when we receive a 
7978         non TIME newsegment.
7979         get closer to handling position reporting for negative rates 
7980         correctly.
7981
7982 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
7983
7984         * gst/gstcaps.c:
7985         Docs about how to print caps for debug purposes.
7986
7987         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7988         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7989
7990 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
7991
7992         * gst/gstelement.c:
7993           use full enum names and preprend a '%' in docs strings to make recent 
7994           gtk-doc turn that into a link
7995
7996 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
7997
7998         * docs/manual/basics-bins.xml:
7999         * docs/manual/basics-bus.xml:
8000         * docs/manual/basics-pads.xml:
8001           Some typo fixes, some additions, some clarifications. 
8002
8003 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8004
8005         * tools/gst-inspect.c: (main):
8006         * tools/gst-launch.c: (main):
8007         * tools/gst-run.c: (main):
8008         * tools/gst-typefind.c: (main):
8009         * tools/gst-xmlinspect.c: (main):
8010           Use the string passed to g_option_context_new() for
8011           what it's intended for - the program name is already
8012           printed elsewhere.
8013
8014 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8015
8016         * tools/Makefile.am:
8017         * tools/gst-inspect.c: (main):
8018         * tools/gst-launch.c: (main):
8019         * tools/gst-xmlinspect.c: (main):
8020         * tools/tools.h:
8021           Add back --version command line option (#340460).
8022
8023         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8024           Add --version option and use GOption for argument parsing; refactor a
8025           bit; accept directories as arguments and recurse into them; lastly,
8026           print a decent error message when things go wrong.
8027
8028 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8029
8030         * docs/manual/basics-bins.xml:
8031         Don't mention GstThread (#340611)
8032         * docs/manual/basics-elements.xml:
8033         Update link to GObject tutorial (#340607)
8034         
8035 2006-05-05  Wim Taymans  <wim@fluendo.com>
8036
8037         * gst/gstbuffer.h:
8038         * gst/gstminiobject.c:
8039         Add note about refcounting and miniobject/buffer writeability
8040         to docs. Fixes #340604
8041
8042         * gst/gstelementfactory.h:
8043         Added some explanation about @klass.
8044
8045 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8046
8047         * docs/manual/intro-motivation.xml:
8048         * docs/manual/manual.xml:
8049         Avoid CORBA & Bonobo references (#340598)
8050
8051 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8052
8053         * docs/manual/basics-bus.xml:
8054         * docs/manual/basics-pads.xml:
8055         Fix up some inaccuracies and omissions (#340609)
8056         
8057 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8058
8059         * gst/gstghostpad.c:
8060           Small typo in docs (#340625)
8061
8062 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8063
8064         * gst/parse/Makefile.am:
8065           Make 'make -j' proof (see #340698).
8066
8067 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * configure.ac:
8070           Require GLib-2.8 here as well.
8071
8072 2006-05-05  Wim Taymans  <wim@fluendo.com>
8073
8074         * gst/glib-compat.c:
8075         * gst/gst.c: (init_pre):
8076         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8077         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8078         (gst_object_dispatch_properties_changed):
8079         * gst/gstobject.h:
8080         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8081         * gst/gststructure.c: (gst_structure_set_valist):
8082         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8083         Remove pre glib2.8 compatibility, fixes #340508
8084
8085 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8086
8087         * gst/gsttaglist.h:
8088           Mention type of tags in doc blurbs.
8089
8090 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8091
8092         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8093         (gst_pad_configure_src), (gst_pad_push):
8094         Restore acceptcaps checking behaviour now that good plugins have
8095         been released.
8096
8097 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8098
8099         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8100
8101         * gst/gst.c:
8102         * gst/gstbus.c:
8103         * gst/gstclock.c:
8104         * gst/gstevent.c:
8105         * gst/gstformat.c:
8106         * gst/gstmessage.c:
8107         * gst/gstparse.c:
8108         * gst/gstquery.c:
8109         * gst/gstutils.c:
8110         * gst/parse/Makefile.am:
8111         * libs/gst/base/gstadapter.c:
8112         * libs/gst/base/gstbasesrc.c:
8113         * libs/gst/base/gstpushsrc.c:
8114         * libs/gst/base/gsttypefindhelper.c:
8115         * plugins/elements/gstfakesrc.c:
8116         * plugins/elements/gstidentity.c:
8117           Make sure gstprivate.h and/or config.h are
8118           always included first, otherwise some of our
8119           defines (like _FILE_OFFSET_BITS) might be
8120           redefined in the system headers. Fixes build
8121           on opensolaris (#340016).
8122
8123 2006-05-04  Wim Taymans  <wim@fluendo.com>
8124
8125         * docs/libs/gstreamer-libs-sections.txt:
8126         API: addition: gst_adapter_take_buffer()
8127         
8128         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8129         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8130         (gst_adapter_available_fast):
8131         * libs/gst/base/gstadapter.h:
8132         Prepare for optimizing the hell out of this hugely inefficient
8133         piece of code. 
8134         Added gst_adapter_take_buffer() so we can at least start thinking
8135         about subbuffering and merging.
8136         Added some comments.
8137
8138         * tests/check/Makefile.am:
8139         * tests/check/libs/adapter.c: (GST_START_TEST),
8140         (gst_adapter_suite), (main):
8141         Added GstAdapter check.
8142
8143 2006-05-04  Wim Taymans  <wim@fluendo.com>
8144
8145         * docs/design/part-overview.txt:
8146         Fix some typos, add blurb about buffer flags.
8147
8148 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8149
8150         * docs/libs/gstreamer-libs-sections.txt:
8151           make sure GstBaseTransformClass shows up in the docs
8152         * libs/gst/base/gstbasetransform.c:
8153         * libs/gst/base/gstbasetransform.h:
8154           move docs so gtk-doc picks it up now
8155
8156 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8157
8158         * docs/libs/gstreamer-libs-sections.txt:
8159           add missing symbols to docs
8160
8161 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8162
8163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8164           back out the newsegment handling change, see #340060 for ongoing
8165           discussion
8166
8167 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8168
8169         * tools/gst-run.c: (get_candidates), (main):
8170           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8171           work); fix typo in error message. Fixes #340079.
8172
8173 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8174
8175         * common/Makefile.am:
8176         * docs/Makefile.am:
8177         * docs/faq/Makefile.am:
8178         * docs/gst/Makefile.am:
8179         * docs/libs/Makefile.am:
8180         * docs/manual/Makefile.am:
8181         * docs/plugins/Makefile.am:
8182         * docs/pwg/Makefile.am:
8183         * docs/slides/Makefile.am:
8184         * docs/upload.mak:
8185         * common/upload.mak:
8186           move upload.mak to common
8187
8188 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8189
8190         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8191           add more asserts on refcounts
8192           do more cleanup at end of tests
8193           fix test leaks showing in FC5
8194
8195 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8196
8197         * plugins/elements/gsttypefindelement.c:
8198         (gst_type_find_element_handle_event):
8199         reverted wrong change and reflowed code to avoid others falling into
8200         this trap
8201
8202 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8203
8204         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8205           fix changelog entry about last collectpads change,
8206           add notes about proper fix
8207
8208 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8209
8210         * gst/gst.c:
8211         * gst/gstregistry.c: (gst_registry_scan_path_level),
8212         (gst_registry_scan_path):
8213         * gst/gstregistry.h:
8214           only write out registry if it has changed, fixes #338339
8215
8216 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8217
8218         * gst/gstbin.c:
8219         * gst/gstpipeline.c:
8220         * plugins/elements/gstcapsfilter.c:
8221         * plugins/elements/gstfakesink.c:
8222         * plugins/elements/gstfakesrc.c:
8223         * plugins/elements/gstfdsink.c:
8224         * plugins/elements/gstfdsrc.c:
8225         * plugins/elements/gstfilesink.c:
8226         * plugins/elements/gstfilesrc.c:
8227         * plugins/elements/gstidentity.c:
8228         * plugins/elements/gstqueue.c:
8229         * plugins/elements/gsttee.c:
8230         * plugins/elements/gsttypefindelement.c:
8231         (gst_type_find_element_handle_event):
8232           make GstElementDetails const
8233
8234 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8235
8236         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8237         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8238         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8239           more detailed debug and formatting cleanup,
8240           forward newsegments to src-pad (so that e.g. adder not eats them)
8241
8242 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8243
8244         * gst/gstutils.c: (gst_element_link_pads):
8245           cleanup double code
8246
8247 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8248
8249         * libs/gst/controller/gstcontroller.c:
8250         (gst_controller_sync_values):
8251           some little tuning
8252         * tests/check/libs/controller.c: (GST_START_TEST),
8253         (gst_controller_suite):
8254           a new test for live value handling
8255
8256 2006-04-28  Wim Taymans  <wim@fluendo.com>
8257
8258         * gst/gstutils.c: (push_and_ref):
8259         Added some more docs.
8260         Fix refcount issue whith gst_element_found_tags() helper 
8261         function. Fixes #338335
8262
8263         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8264         Added testsuite for gst_element_found_tags().
8265
8266 2006-04-28  Michael Smith  <msmith@fluendo.com>
8267
8268         * gst/gstvalue.c: (gst_value_serialize_flags):
8269           Avoid NULL dereference when trying to serialize flags containing
8270           invalid values.
8271
8272 2006-04-28  Michael Smith  <msmith@fluendo.com>
8273
8274         * plugins/elements/gsttypefindelement.c:
8275         (gst_type_find_element_handle_event):
8276           If we get EOS before any data is accumulated, don't use
8277           uninitialised local variables.
8278
8279 2006-04-28  Michael Smith  <msmith@fluendo.com>
8280
8281         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8282         (gst_dp_event_from_packet):
8283           Fixes in reading/writing events over GDP (not currently used?) - 
8284           dereferencing NULL events for unknown/invalid event types, memory
8285           leak, and change g_warning to GST_WARNING.
8286
8287 2006-04-28  Wim Taymans  <wim@fluendo.com>
8288
8289         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8290         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8291         (gst_base_sink_get_position), (gst_base_sink_change_state):
8292         When frame dropping is enabled, we should not ignore frames
8293         without a duration.
8294         Update some documentation.
8295
8296 2006-04-28  Wim Taymans  <wim@fluendo.com>
8297
8298         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8299         (gst_base_src_send_event), (gst_base_src_change_state):
8300         Documentation updates.
8301
8302 2006-04-28  Wim Taymans  <wim@fluendo.com>
8303
8304         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8305         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8306         handle EAGAIN, EINTR and short writes correctly. Also clean
8307         up some error cases, avoid a deadlock on bad file descriptors and
8308         use GST_DEBUG_OBJECT.
8309         Fixes #339843
8310
8311 2006-04-28  Wim Taymans  <wim@fluendo.com>
8312
8313         * gst/gstvalue.c: (gst_value_serialize_buffer),
8314         (gst_value_deserialize_buffer):
8315         Don't try to serialize a GValue with a NULL buffer. 
8316         Fixes #339821.
8317
8318         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8319         Added check for serialisation of NULL buffers.
8320
8321 2006-04-28  Wim Taymans  <wim@fluendo.com>
8322
8323         * gst/gstminiobject.c: (gst_value_take_mini_object):
8324         Taking a NULL miniobject is valid, fix the case where
8325         we try to unref the NULL miniobject.
8326
8327 2006-04-28  Wim Taymans  <wim@fluendo.com>
8328
8329         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8330
8331         * gst/gstbin.c: (gst_bin_handle_message_func):
8332         Update docs.
8333         Don't leak bin refcount when a state recalc is
8334         in progress and we delay another one #339808.
8335
8336 2006-04-28  Wim Taymans  <wim@fluendo.com>
8337
8338         * docs/design/part-TODO.txt:
8339         Mention QoS as an ongoing work item.
8340
8341         * docs/design/part-buffering.txt:
8342         New doc about buffering that needs to be fleshed out
8343         at some point.
8344
8345         * docs/design/part-qos.txt:
8346         More QoS policy for decoders/demuxers/transforms
8347
8348         * docs/design/part-trickmodes.txt:
8349         Small update.
8350
8351 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8352
8353         * configure.ac:
8354           back to HEAD
8355
8356 === release 0.10.5 ===
8357
8358 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8359
8360         * configure.ac:
8361           releasing 0.10.5, "Fogo"
8362
8363 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8364
8365         patch by: Wim Taymans
8366
8367         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8368         (gst_pad_configure_src), (gst_pad_push):
8369         * gst/gstpipeline.c: (gst_pipeline_init):
8370           Fix internal data flow errors.  Fixes #338711.
8371
8372 2006-04-12  Wim Taymans  <wim@fluendo.com>
8373
8374         * tests/check/gst/gstelement.c: (GST_START_TEST):
8375         Don't leak the factory.
8376
8377 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8378
8379         * configure.ac:
8380         * win32/common/config.h:
8381           prerelease
8382
8383 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8384
8385         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8386         (gst_controller_unset_all):
8387           Free allocated GstTimedValues when freeing list nodes.
8388           Should fix leaks 'make check-valgrind' complains about.
8389
8390         * win32/common/libgstcontroller.def:
8391           Add gst_controller_unset_all.
8392
8393 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8394
8395         * docs/libs/gstreamer-libs-sections.txt:
8396         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8397         (gst_controller_unset_all):
8398         * libs/gst/controller/gstcontroller.h:
8399         API: Added new method gst_controller_unset_all()
8400         fixed gst_controller_unset()
8401         * tests/check/libs/controller.c: (GST_START_TEST),
8402         (gst_controller_suite):
8403         Added two testcases for new and fixed method
8404
8405 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8406
8407         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8408           MSG_DONTWAIT is not defined on Cygwin, so work
8409           around that (fixes #317048).
8410           
8411 2006-04-11  Wim Taymans  <wim@fluendo.com>
8412
8413         * gst/gstelementfactory.c: (gst_element_register),
8414         (gst_element_factory_create), (gst_element_factory_make):
8415         Some cleanups.
8416         Fixed a FIXME.
8417         Updated docs (Fixes #131079)
8418
8419         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8420         Small cleanups.
8421
8422         * tests/check/gst/gstelement.c: (GST_START_TEST),
8423         (gst_element_suite):
8424         Added testcase for elementfactory class field.
8425
8426 2006-04-10  Wim Taymans  <wim@fluendo.com>
8427
8428         * gst/gstsegment.c:
8429         Added some more docs.
8430
8431         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8432         (gst_base_sink_reset_qos):
8433         Calculate more accurate rate values.
8434
8435 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8436
8437         * gst/gst_private.h:
8438           add a new #ifdef to use __declspec(dllimport) only for
8439           other modules and not for gstreamer core
8440         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8441           use gst_guint64_to_gdouble for conversion
8442         * win32/common/libgstreamer.def:
8443           add new exported functions
8444         * win32/vs6/gst_inspect.dsp:
8445         * win32/vs6/gst_launch.dsp:
8446         * win32/vs6/libgstbase.dsp:
8447         * win32/vs6/libgstcontroller.dsp:
8448         * win32/vs6/libgstcoreelements.dsp:
8449         * win32/vs6/libgstdataprotocol.dsp:
8450         * win32/vs6/libgstnet.dsp:
8451           update project files
8452
8453 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8454
8455         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8456         * gst/gstclock.c: (gst_clock_class_init):
8457         * gst/gstelement.c: (gst_element_class_init):
8458         * gst/gstindex.c: (gst_index_class_init):
8459         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8460         * gst/gstobject.c: (gst_object_class_init),
8461         (gst_signal_object_class_init):
8462         * gst/gstpad.c: (gst_pad_class_init):
8463         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8464         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8465         * gst/gstregistry.c: (gst_registry_class_init):
8466         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8467         * gst/gsttask.c: (gst_task_class_init):
8468         * gst/gstxml.c: (gst_xml_class_init):
8469         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8470         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8471         (gst_base_src_loop):
8472         * libs/gst/controller/gstcontroller.c:/
8473         (_gst_controller_class_init):
8474         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8475         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8476         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8477         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8478         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8479         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8480
8481 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * gst/gstpad.c: (gst_pad_link):
8484           Must set peer pads before calling the link function, otherwise
8485           a task started from a link function might get a flow-not-linked
8486           result when trying to push because the other thread where the
8487           linking happens hasn't had a chance to set the peers yet. This
8488           might happen for example when a queue gets linked to a downstream
8489           element, as queue starts a streaming task when its source pad
8490           gets linked. Happens in real life when playing back flac/musepack
8491           files in playbin (#332390).
8492           
8493 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8494
8495         * gst/gstindex.h:
8496         * gst/gstxml.h:
8497         * libs/gst/base/gstadapter.h:
8498         * libs/gst/base/gstbasesink.h:
8499         * libs/gst/base/gstbasesrc.h:
8500         * libs/gst/base/gstbasetransform.h:
8501         * libs/gst/base/gstcollectpads.h:
8502         * libs/gst/base/gstpushsrc.h:
8503         Fix broken GObject macros
8504
8505 2006-04-07  Wim Taymans  <wim@fluendo.com>
8506
8507         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8508         Initialize start and stop times, thanks valgrind.
8509
8510 2006-04-07  Wim Taymans  <wim@fluendo.com>
8511
8512         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8513         Be a bit nicer to badly behaving upstream elements that expect
8514         us to deal with non TIME segments and timestamps (such as fakesrc
8515         in the testsuite).
8516
8517 2006-04-07  Wim Taymans  <wim@fluendo.com>
8518
8519         * gst/gstbus.c:
8520         Small documentation clarification about the signal watch.
8521
8522         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8523         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8524         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8525         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8526         (gst_base_sink_get_position_last),
8527         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8528         Convert and store timestamps in stream time and running time, the
8529         raw timestamps are not useful, also document this better.
8530         Use different window sizes for good and bad QoS observations so
8531         we react to badness a little quicker.
8532         Keep track of the amount of rendered and dropped buffers.
8533         Send QoS timestamps in running time.
8534
8535         * libs/gst/base/gstbasetransform.c:
8536         (gst_base_transform_sink_eventfunc),
8537         (gst_base_transform_handle_buffer):
8538         Compare QoS timestamps against running time.
8539
8540 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8541
8542         * gst/gstpad.c:
8543           Typo fixes in docs.
8544
8545 2006-04-06  Michael Smith  <msmith@fluendo.com>
8546
8547         * gst/gstpad.c: (gst_pad_set_property):
8548           Use g_value_get_object() instead of g_value_dup_gst_object(),
8549           to avoid double-reffing the pad template (which we then sink,
8550           so this worked previously if (and only if) the pad template
8551           was floating.
8552
8553         * gst/gstpadtemplate.c: (gst_pad_template_init),
8554         (gst_pad_template_pad_created):
8555           Never return floating references to pad templates, create
8556           them as initially-sunken.
8557
8558           Document an extra function (and make this stop sinking our
8559           pad template, since that is now guaranteed to do nothing,
8560           since we created it sunken).
8561
8562         * gst/gstghostpad.c:
8563           Fix docs typo.
8564
8565 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8566
8567         * gst/gstinfo.c: (__gst_in_valgrind):
8568           Add some newlines.
8569
8570         * plugins/elements/gsttypefindelement.c:
8571         (gst_type_find_element_chain):
8572           Don't leak buffer caps.
8573
8574 2006-04-06  Michael Smith  <msmith@fluendo.com>
8575
8576         * gst/parse/grammar.y:
8577           Fix a leak in parse-launch for any source-or-sink named element 
8578           references used.
8579
8580         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8581           Unref the pipeline if it exists after we've failed parsing.
8582
8583 2006-04-05  Michael Smith  <msmith@fluendo.com>
8584
8585         * gst/gstpipeline.c: (gst_pipeline_init):
8586           When we create a pipeline bus, initially create it in flushing mode.
8587           Fixes leaks in at least one test, and makes a new pipeline work the
8588           same as one that has gone to READY and then back to NULL.
8589
8590         * gst/gstelement.c:
8591           Typo fix in docs.
8592
8593 2006-04-05  Michael Smith  <msmith@fluendo.com>
8594
8595         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8596           Unref a pad we reffed.
8597         * tests/check/gst/gstutils.c: (GST_START_TEST):
8598           Unref bins
8599
8600 2006-04-05  Michael Smith  <msmith@fluendo.com>
8601
8602         * gst/gstquery.c: (gst_query_set_formats),
8603         (gst_query_set_formatsv):
8604           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8605
8606 2006-04-05  Michael Smith  <msmith@fluendo.com>
8607
8608         * tests/check/generic/sinks.c: (GST_START_TEST):
8609           Fix a variety of memleaks in sinks check, which are only sometimes 
8610           shown by running the tests under valgrind (weird?).
8611
8612 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8613
8614         * docs/version.entities.in:
8615           Fix the substituted entity name after thomas' changes on the
8616           weekend.
8617
8618 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8619
8620         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8621         VALGRIND_PRINTF
8622         
8623 2006-04-05  Andy Wingo  <wingo@pobox.com>
8624
8625         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8626
8627         * libs/gst/base/gstbasetransform.c
8628         (gst_base_transform_sink_eventfunc): When resetting our segment on
8629         FLUSH_STOP, also update the flag saying we haven't seen a
8630         newsegment.
8631
8632 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8633
8634         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8635
8636         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8637         (gst_plugin_check_license):
8638           minor clean-ups: G_DEFINE_TYPE already takes care of the
8639           parent_class stuff, no need to do it twice. Mark array of
8640           license strings as constant. (#337103)
8641           
8642 2006-04-04  Michael Smith  <msmith@fluendo.com>
8643
8644         * tools/gst-inspect.c: (print_element_list):
8645           Free the right plugin list; fixes a memory leak.
8646
8647 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8650
8651         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8652           Don't error out on empty buffers (#336945).
8653           
8654 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8655
8656         * docs/libs/gstreamer-libs-sections.txt:
8657         * gst/gsttaglist.c:
8658         * libs/gst/base/gstbasesink.c:
8659         * libs/gst/base/gstbasesink.h:
8660         * libs/gst/base/gstbasesrc.c:
8661         * libs/gst/base/gstbasesrc.h:
8662           Documentation updates. Make BaseSink and BaseSrc docs contain the
8663           class structure so that people can actually see the prototypes for
8664           virtual functions they're supposed to be overriding.
8665
8666 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8667
8668         * plugins/elements/gsttypefindelement.c:
8669         (gst_type_find_element_chain):
8670           More debug info; when skipping typefinding, send cached
8671           events in all cases.
8672
8673 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8674
8675         * configure.ac:
8676           use new AS_VERSION and AS_NANO macros
8677         * gst/gst-i18n-lib.h:
8678         * gst/gst.c:
8679         * gst/gsterror.c:
8680         * gst/gstversion.h.in:
8681         * win32/common/config.h:
8682         * win32/common/config.h.in:
8683           update accordingly
8684
8685 2006-03-31  Michael Smith  <msmith@fluendo.com>
8686
8687         * plugins/elements/gsttypefindelement.c:
8688         (gst_type_find_element_chain):
8689           Do not typefind content if the buffers already have caps.
8690           Neccesary for icydemux (#333657), and the right thing to do anyway.
8691
8692 2006-03-30  Wim Taymans  <wim@fluendo.com>
8693
8694         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8695         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8696         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8697         (gst_base_sink_record_qos_observation),
8698         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8699         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8700         (gst_base_sink_change_state):
8701         More QoS measurements as described in the design doc.
8702         Get rid of ringbuffer with observations, running average is
8703         more simple and equally good.
8704         Calculates valid proportion now.
8705         Added beginning of flood measurement.
8706
8707 2006-03-29  Wim Taymans  <wim@fluendo.com>
8708
8709         * docs/design/part-qos.txt:
8710         * gst/gstclock.c:
8711         Small documentation updates and additions.
8712
8713 2006-03-29  Wim Taymans  <wim@fluendo.com>
8714
8715         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8716         (gst_base_src_send_event), (gst_base_src_loop),
8717         (gst_base_src_change_state):
8718         Perform the EOS logic when we reach the segment stop position.
8719         Fix compilation on gcc4.1
8720
8721 2006-03-29  Wim Taymans  <wim@fluendo.com>
8722
8723         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8724
8725         * plugins/elements/gstqueue.c: (gst_queue_init),
8726         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8727         (gst_queue_set_property):
8728         * plugins/elements/gstqueue.h:
8729         In queue, when EOS is received, if minimum threshold > max_size -
8730         current_level, there is chance that queue blocks forever in conditional
8731         item del wait. This is because the queue is not emptied completely due
8732         to minimum threshold.  Here is another approach. Instead of setting
8733         cur_levels to max in EOS, just zero all minimum threshold levels. This
8734         should make sure that queue gives out all data. When going to READY
8735         (stop) state, just reset the original minimum threshold levels.
8736         Fixes #336336.
8737
8738 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8741         (gst_type_find_element_handle_event),
8742         (gst_type_find_element_send_cached_events),
8743         (gst_type_find_element_change_state):
8744         * plugins/elements/gsttypefindelement.h:
8745           When typefinding is done in push mode, we should cache
8746           events we receive during typefinding instead of just
8747           dropping them (e.g. newsegment, custom events from
8748           dvdreadsrc etc.) and then send them out once we've
8749           determined the type of the stream (and decodebin
8750           has had a chance to plug in a decoder/demuxer).
8751           
8752 2006-03-27  Wim Taymans  <wim@fluendo.com>
8753
8754         * docs/design/part-qos.txt:
8755         First QoS ideas.
8756
8757 2006-03-27  Wim Taymans  <wim@fluendo.com>
8758
8759         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8760
8761         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8762         (gst_base_src_send_event), (gst_base_src_change_state):
8763         Handle element seek correctly when we are streaming.
8764         Fixes #326998.
8765
8766 2006-03-24  Michael Smith  <msmith@fluendo.com>
8767
8768         * docs/faq/gst-uninstalled:
8769           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8770           allow you to correctly run intalled applications built against old 
8771           core, using plugins that require updated core (e.g. running
8772           installed totem against a full uninstalled gstreamer stack)
8773
8774 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8775
8776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8777         more debug details
8778
8779 2006-03-24  Wim Taymans  <wim@fluendo.com>
8780
8781         * docs/gst/gstreamer-sections.txt:
8782         Rearrange the order of the methods so that related methods
8783         are grouped together in sections.
8784
8785 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8786
8787         * gst/gstelement.c:
8788           Little clarification in the docs
8789
8790 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8791
8792         * docs/README:
8793         formatting fix
8794         * plugins/elements/gstidentity.c:
8795         * plugins/elements/gstqueue.c:
8796         * plugins/elements/gsttee.c:
8797         * plugins/elements/gsttypefindelement.c:
8798         GST_ELEMENT_DETAILS formatting
8799
8800 2006-03-24  Wim Taymans  <wim@fluendo.com>
8801
8802         * libs/gst/base/gstbasesink.h:
8803         Only add fields, not insert or we break ABI.
8804
8805 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8806
8807         * win32/common/libgstbase.def:
8808         * win32/common/libgstreamer.def:
8809           Update, add recently added functions.
8810
8811 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * docs/gst/gstreamer-sections.txt:
8814         * gst/gstutils.c: (gst_pad_query_peer_position),
8815         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8816         * gst/gstutils.h:
8817           API: add some new utility functions:
8818            - gst_pad_query_peer_position()
8819            - gst_pad_query_peer_duration()
8820            - gst_pad_query_peer_convert()
8821           
8822 2006-03-23  Wim Taymans  <wim@fluendo.com>
8823
8824         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8825         (gst_base_sink_init), (gst_base_sink_finalize),
8826         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8827         (gst_base_sink_set_property), (gst_base_sink_get_property),
8828         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8829         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8830         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8831         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8832         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8833         (gst_base_sink_preroll_object), (gst_base_sink_event),
8834         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8835         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8836         (gst_base_sink_query), (gst_base_sink_change_state):
8837         Decouple max-lateness and the fact that QoS messages are generated
8838         with a new property (qos).
8839         added API: GstBaseSink::async_play()
8840         Add vmethod so subclasses can be notified of ASYNC playing
8841         state changes.
8842         Collect timestamp start and stop to report better current
8843         position in EOS/PLAYING/PAUSED/READY/NULL.
8844         Refactor QoS/frame dropping and other measurements.
8845         API: GstBaseSrc::qos
8846         Fixes #326311
8847
8848         * libs/gst/base/gstbasesink.h:
8849         Added Private struct.
8850         API: gst_base_sink_set_qos_enabled()
8851         API: gst_base_sink_is_qos_enabled()
8852
8853 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8854
8855         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8856           If compiling against GLib-2.8 or newer, try to read the
8857           registry file using GMappedFile first before falling back
8858           to fopen() + fread() (#332151).
8859
8860 2006-03-22  Wim Taymans  <wim@fluendo.com>
8861
8862         * gst/gstinfo.c: (gst_debug_set_active),
8863         (gst_debug_category_set_threshold):
8864         Disable debugging unless explicitly activated.
8865         Fixes #335480.
8866
8867 2006-03-22  Wim Taymans  <wim@fluendo.com>
8868
8869         * gst/gstelement.c: (gst_element_set_locked_state),
8870         (gst_element_dispose):
8871         Cleanup the error case.
8872
8873         * gst/gstobject.c: (gst_object_dispose):
8874         print a critical when some object was disposed with
8875         a parent, also revive the object since it might
8876         crash the parent.
8877
8878 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
8879
8880         * tools/gst-launch.1.in:
8881           Fix another typo.
8882
8883 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8884
8885         * configure.ac:
8886         * tests/check/Makefile.am:
8887           disable some tests when we don't have a registry
8888         * tests/check/gst/gstutils.c: (gst_utils_suite):
8889           don't build the part that needs parsing
8890
8891 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8892
8893         * gst/Makefile.am
8894         * tests/examples/Makefile.am:
8895           fix --disable-parse build
8896
8897 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8898
8899         * tools/gst-feedback.1.in:
8900           Fix typo: s/feeback/feedback/ (#133494).
8901
8902 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8903
8904         * tools/Makefile.am:
8905         * tools/gst-launch.1.in:
8906           Add FILES section and correct entry about GST_REGISTRY_PATH
8907           environment variable (#133495; #133494).
8908
8909 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8910
8911         * tools/Makefile.am:
8912         * tools/gst-md5sum.1.in:
8913         * tools/gst-md5sum.c:
8914           Remove gst-md5sum and man page (the md5sink element
8915           required was removed ages ago)
8916
8917 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8918
8919         * gst/gststructure.c: (gst_structure_id_set_value):
8920           Make sure that string fields in structures/taglists
8921           contain valid UTF-8 - we don't want to pass rubbish to
8922           applications because of a buggy plugin (cp. #334167).
8923
8924 2006-03-21  Edward Hervey  <edward@fluendo.com>
8925
8926         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8927         (gst_bin_handle_message_func):
8928         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8929         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8930         (gst_element_set_bus_func):
8931         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8932         * gst/gstminiobject.c: (gst_value_set_mini_object),
8933         (gst_value_take_mini_object):
8934         * gst/gstpad.c: (gst_pad_set_pad_template):
8935         * gst/gstpipeline.c: (gst_pipeline_dispose),
8936         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8937         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8938         (gst_collect_pads_chain):
8939         * libs/gst/net/gstnettimeprovider.c:
8940         (gst_net_time_provider_set_property):
8941         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8942         It's in fact all issues with gst_*object_replace().
8943
8944 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8945
8946         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
8947         
8948         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8949         * pkgconfig/gstreamer-check.pc.in:
8950           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8951
8952 2006-03-21  Edward Hervey  <edward@fluendo.com>
8953
8954         * gst/gstbuffer.h:
8955         * gst/gstevent.h:
8956         * gst/gstmessage.h:
8957         gst_[buffer|event|message]_ref() macros are replaced by a static
8958         inline functions because gcc-4.1 will about if the return value
8959         isn't used.
8960         * tests/check/gst/gstevent.c: (event_probe):
8961         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8962
8963 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
8964
8965         * gst/gstutils.h:
8966         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8967         the type' case. (Closes: #335195 for now). In the future, when we
8968         depend on GLib 2.10, we could also intern the type name using
8969         g_intern_static_string()
8970
8971 2006-03-20  Wim Taymans  <wim@fluendo.com>
8972
8973         * gst/gstbin.c: (gst_bin_handle_message_func),
8974         (bin_query_max_init), (bin_query_position_fold),
8975         (bin_query_position_done), (gst_bin_query):
8976         Position query should also take max of all streams.
8977
8978 2006-03-20  Wim Taymans  <wim@fluendo.com>
8979
8980         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8981         (gst_fake_src_finalize):
8982         Fix leaks in fakesrc.
8983
8984         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8985         Fix leaks in the testcase.
8986
8987 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
8988
8989         * gst/gst_private.h:
8990           add win32 specific import decoration(__declspec(dllimport)) 
8991           for all extern GstDebugCategory * variables
8992         * win32/common/libgstbase.def:
8993         * win32/common/libgstcontroller.def:
8994         * win32/common/libgstreamer.def:
8995           Add some exports, remove empty lines
8996         * win32/common/libgstdataprotocol.def:
8997         * win32/common/libgstdataprotocol.dsp:
8998         * win32/common/libgstnet.def:
8999         * win32/common/libgstnet.dsp:
9000           new project files and exportation files added
9001         
9002 2006-03-19  Wim Taymans  <wim@fluendo.com>
9003
9004         * tests/check/libs/basesrc.c: (eos_event_counter):
9005         Use proper return value for probe.
9006
9007 2006-03-17  Wim Taymans  <wim@fluendo.com>
9008
9009         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9010         (gst_pad_push):
9011         Don't leak buffers, caps and pads on negotiation errors.
9012
9013 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9014
9015         * docs/faq/cvs.xml:
9016         * docs/faq/dependencies.xml:
9017         * docs/faq/developing.xml:
9018         * docs/faq/faq.xml:
9019         * docs/faq/general.xml:
9020         * docs/faq/getting.xml:
9021         * docs/faq/legal.xml:
9022         * docs/faq/troubleshooting.xml:
9023         * docs/faq/using.xml:
9024         Faq review and update.
9025
9026 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9027
9028         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9029         (gst_pad_push):
9030         Don't pound the cpu to pieces by checking get_caps when accept_caps
9031         is called with the same caps as the pad already has.
9032         Use GST_DEBUG_OBJECT when outputting caps change information.
9033
9034 2006-03-15  Wim Taymans  <wim@fluendo.com>
9035
9036         * gst/gstclock.c: (gst_clock_class_init):
9037         Fix docs.
9038
9039 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9040
9041         * gst/gstbuffer.h:
9042         Documentation fix.
9043
9044         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9045         (gst_pad_accept_caps), (gst_pad_configure_sink),
9046         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9047         Make the default acceptcaps behaviour be to check the requested 
9048         caps against the gst_pad_get_caps output. 
9049
9050         Ensure that gst_pad_accept_caps is used to check caps when a pad
9051         doesn't have a setcaps function, so that pads automatically refuse 
9052         caps that they don't allow in their pad template. (Fixes #332986)
9053
9054         When a buffer with attached caps is pushed, ensure that the source 
9055         pad receives those caps even if the element didn't call
9056         gst_pad_set_caps first.
9057
9058 2006-03-15  Wim Taymans  <wim@fluendo.com>
9059
9060         * libs/gst/base/gstadapter.c:
9061         Add some docs.
9062
9063 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9064
9065         * win32/common/libgstbase.def:
9066         * win32/common/libgstcontroller.def:
9067         * win32/common/libgstreamer.def:
9068           Add a whole bunch of missing functions (#334434).
9069
9070 2006-03-14  Wim Taymans  <wim@fluendo.com>
9071
9072         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9073         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9074         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9075         Better debug info when we receive a segment event.
9076         Reorganize a bit so we can pass the get_times() results around.
9077         Use the segment format when calculating the running time.
9078         Don't do QoS is sync is disabled or we have no clock or the
9079         element does not want us to sync to the clock.
9080         Don't drop buffers if QoS is disabled for now.
9081
9082 2006-03-14  Wim Taymans  <wim@fluendo.com>
9083
9084         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9085         Marked the stats property as unimplemented so people don't get
9086         wild ideas.
9087         Add debug message when regression goes wrong.
9088         Added some more docs.
9089
9090 2006-03-14  Wim Taymans  <wim@fluendo.com>
9091
9092         * gst/gstsegment.c: (gst_segment_to_stream_time):
9093         Return correct return type in case of errors.
9094
9095 2006-03-14  Wim Taymans  <wim@fluendo.com>
9096
9097         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9098           Don't segfault on invalid formats.
9099
9100 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9101
9102         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9103           Can't use gst_segment_to_running_time() when the segment
9104           is not in GST_TIME_FORMAT (like with filesink, for example).
9105           Stops flac encoding pipelines from spewing critical warnings
9106           at EOS (#331248).
9107           
9108 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9109
9110         * gst/gstpipeline.c: (gst_pipeline_class_init):
9111           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9112
9113         * plugins/elements/gsttypefindelement.c:
9114         (gst_type_find_element_handle_event):
9115           Don't try to typefind empty streams.
9116
9117 2006-03-14  Wim Taymans  <wim@fluendo.com>
9118
9119         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9120         (gst_base_sink_do_qos):
9121         Separate QoS calculation.
9122         Only drop buffers when lateness is bigger than the 
9123         duration of the buffer.
9124
9125 2006-03-13  Wim Taymans  <wim@fluendo.com>
9126
9127         * gst/gstpipeline.c: (gst_pipeline_set_property),
9128         (gst_pipeline_get_property), (do_pipeline_seek),
9129         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9130         (gst_pipeline_get_delay):
9131         Don't deadlock when reading properties.
9132
9133 2006-03-13  Wim Taymans  <wim@fluendo.com>
9134
9135         * libs/gst/base/gstbasetransform.c:
9136         (gst_base_transform_class_init), (gst_base_transform_init),
9137         (gst_base_transform_sink_event),
9138         (gst_base_transform_sink_eventfunc),
9139         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9140         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9141         (gst_base_transform_set_property),
9142         (gst_base_transform_get_property),
9143         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9144         (gst_base_transform_set_qos_enabled),
9145         (gst_base_transform_is_qos_enabled):
9146         * libs/gst/base/gstbasetransform.h:
9147         Make basetransform virtual method for src events too.
9148         Handle QOS in basetransform.
9149         API: gst_base_transform_update_qos()
9150         API: gst_base_transform_set_qos_enabled()
9151         API: gst_base_transform_is_qos_enabled()
9152
9153 2006-03-13  Wim Taymans  <wim@fluendo.com>
9154
9155         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9156         (gst_base_sink_do_sync):
9157         Small cleanups.
9158         Use QOS debug category.
9159
9160 2006-03-13  Wim Taymans  <wim@fluendo.com>
9161
9162         * plugins/elements/gstqueue.c:
9163         Very small doc update.
9164
9165 2006-03-13  Wim Taymans  <wim@fluendo.com>
9166
9167         * gst/gst_private.h:
9168         * gst/gstinfo.c: (_gst_debug_init):
9169         Added QOS debug category
9170
9171 2006-03-13  Wim Taymans  <wim@fluendo.com>
9172
9173         * docs/gst/gstreamer-sections.txt:
9174         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9175         * gst/gstbin.h:
9176         * gst/gstbus.c: (gst_bus_class_init):
9177         * gst/gstbus.h:
9178         * gst/gstclock.c:
9179         * gst/gstelement.c: (gst_element_set_locked_state):
9180         * gst/gstsegment.c:
9181         Documentation updates.
9182
9183         * gst/gstpipeline.c: (gst_pipeline_get_type),
9184         (gst_pipeline_class_init), (gst_pipeline_init),
9185         (gst_pipeline_dispose), (gst_pipeline_set_property),
9186         (gst_pipeline_get_property), (do_pipeline_seek),
9187         (gst_pipeline_send_event), (gst_pipeline_change_state),
9188         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9189         (gst_pipeline_get_delay):
9190         * gst/gstpipeline.h:
9191         Added methods for setting the delay.
9192         API: gst_pipeline_set_delay()
9193         API: gst_pipeline_get_delay()
9194         Add pipeline debug category
9195         Various cleanups.
9196         Updated docs.
9197         Don't reset stream time when seek failed.
9198
9199 2006-03-13  Wim Taymans  <wim@fluendo.com>
9200
9201         * docs/design/draft-klass.txt:
9202         * docs/design/part-clocks.txt:
9203         * docs/design/part-events.txt:
9204         * docs/design/part-gstbin.txt:
9205         * docs/design/part-gstpipeline.txt:
9206         * docs/design/part-messages.txt:
9207         * docs/design/part-negotiation.txt:
9208         * docs/design/part-overview.txt:
9209         * docs/design/part-preroll.txt:
9210         * docs/design/part-seeking.txt:
9211         * docs/design/part-states.txt:
9212         * docs/design/part-streams.txt:
9213         Documentation updates.
9214
9215 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9216
9217         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9218         us to leak strings...
9219
9220 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9221
9222         * libs/gst/net/gstnettimeprovider.c:
9223           fix docs
9224         * win32/common/config.h:
9225           update
9226
9227 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9228
9229         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9230
9231         * configure.ac:
9232           Don't check for libgnomeui (leftover from old examples
9233           that aren't built or disted any longer) (#334303).
9234           
9235 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9238         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9239           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9240           there's no space left on the device.
9241
9242 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9243
9244         * gst/gstclock.h:
9245           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9246           to cast the input to GstClockTime before comparing with
9247           another GstClockTime value.
9248
9249 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9250
9251         * configure.ac:
9252           back to trunk
9253
9254 === release 0.10.4 ===
9255
9256 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9257
9258         * configure.ac:
9259           releasing 0.10.4, "Light"
9260
9261 2006-03-10  Michael Smith  <msmith@fluendo.com>
9262
9263         * libs/gst/dataprotocol/dataprotocol.c:
9264           Fix docs for dataprocotol to not get the return types completely
9265           wrong for a few functions.
9266
9267 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9268
9269         * docs/gst/gstreamer-sections.txt:
9270         * gst/gstpipeline.c: (gst_pipeline_class_init),
9271         (gst_pipeline_init), (gst_pipeline_set_property),
9272         (gst_pipeline_get_property), (gst_pipeline_change_state),
9273         (gst_pipeline_set_auto_flush_bus),
9274         (gst_pipeline_get_auto_flush_bus):
9275         * gst/gstpipeline.h:
9276           Add new API: gst_pipeline_set_auto_flush_bus() and
9277           gst_pipeline_get_auto_flush_bus() to disable automatic
9278           flushing of the pipeline's GstBus when going from READY
9279           to NULL state (#332045).
9280
9281 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9282
9283         * docs/gst/gstreamer-sections.txt:
9284         * gst/gsturi.c: (gst_uri_has_protocol):
9285         * gst/gsturi.h:
9286            Add new API: gst_uri_has_protocol() (#333779).
9287
9288 2006-03-09  Wim Taymans  <wim@fluendo.com>
9289
9290         * gst/gstclock.c: (gst_clock_entry_new),
9291         (gst_clock_id_compare_func), (gst_clock_id_wait),
9292         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9293         (gst_clock_init), (gst_clock_get_internal_time),
9294         (gst_clock_set_master), (do_linear_regression),
9295         (gst_clock_add_observation), (gst_clock_set_property):
9296         * gst/gstclock.h:
9297         Review docs.
9298         Small cleanups.
9299         Fix a possible segfault when the window-size is made smaller.
9300         Calculate jitter before performing the clock wait. Ideally
9301         the clock implementation should calculate jitter but we need
9302         API breakage for that.
9303
9304         * gst/gstsystemclock.c: (gst_system_clock_init):
9305         Docs review.
9306         
9307         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9308         Remove leftover else
9309
9310         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9311         (gst_systemclock_suite):
9312         Added check to test GST_CLOCK_DIFF.
9313
9314 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9315
9316         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9317         (gst_type_find_helper_get_range):
9318           If we are provided with the size, we should implement
9319           GstTypeFind::get_length, so that typefind functions who
9320           want to can actually peek at the middle of a file.
9321
9322 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         * docs/manual/advanced-dataaccess.xml:
9325           Add some very very basic error checking.
9326
9327         * docs/pwg/appendix-checklist.xml:
9328           Some updates to the list of things to check when writing an element.
9329
9330 2006-03-08  Wim Taymans  <wim@fluendo.com>
9331
9332         * docs/design/part-element-transform.txt:
9333         Added some docs about the design of tranform elements.
9334
9335         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9336         (gst_base_src_loop), (gst_base_src_change_state):
9337         Mark buffers with the DISCONT flag.
9338
9339 2006-03-08  Michael Smith  <msmith@fluendo.com>
9340
9341         * gst/gstregistry.h:
9342         * gst/gstregistryxml.c: (gst_registry_save),
9343         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9344         (gst_registry_xml_save_pad_template),
9345         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9346         (gst_registry_xml_write_cache):
9347           Rewrite registry-saving to avoid race conditions and check for
9348           failed writes.
9349
9350 2006-03-08  Wim Taymans  <wim@fluendo.com>
9351
9352         * libs/gst/base/gstbasetransform.c:
9353         (gst_base_transform_transform_caps),
9354         (gst_base_transform_transform_size),
9355         (gst_base_transform_prepare_output_buffer),
9356         (gst_base_transform_get_unit_size),
9357         (gst_base_transform_buffer_alloc),
9358         (gst_base_transform_handle_buffer),
9359         (gst_base_transform_change_state):
9360         Cleanups, separate normal flow from errors, add sensible
9361         DEBUG lines.
9362         Don't try to renegotiate when allocating an output buffer.
9363         Also copy DISCONT buffer flag when copying a buffer.
9364         Reset the transform after we finish streaming, not during.
9365
9366 2006-03-08  Wim Taymans  <wim@fluendo.com>
9367
9368         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9369         Use last buffer timestamp in qos message.
9370
9371 2006-03-07  Wim Taymans  <wim@fluendo.com>
9372
9373         Patch by: Christophe Fergeau
9374
9375         * docs/pwg/advanced-tagging.xml:
9376         * docs/pwg/building-pads.xml:
9377           fixes #333416
9378
9379 2006-03-07  Wim Taymans  <wim@fluendo.com>
9380
9381         * docs/libs/gstreamer-libs-sections.txt:
9382         Added basesink new methods.
9383
9384         * gst/gstevent.c:
9385         * gst/gstevent.h:
9386         Docs updates. Flesh out the QoS docs.
9387
9388         * libs/gst/base/gstadapter.c:
9389         Small doc clarification about ownership and flushing.
9390
9391         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9392         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9393         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9394         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9395         * libs/gst/base/gstbasesink.h:
9396         API additions: 
9397         Added new methods to allow subclass to control max-lateness 
9398         and sync.
9399         Generate very basic QoS events based on last sync observation.
9400         Updated docs, fix typo, added some QoS blurb.
9401
9402         * libs/gst/base/gstbasesrc.c:
9403         Remove obsolete _get_state() calls from docs.
9404
9405 2006-03-07  Wim Taymans  <wim@fluendo.com>
9406
9407         * docs/libs/gstreamer-libs-sections.txt:
9408         * libs/gst/base/gstbasetransform.h:
9409         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9410         Fix docs for GstBaseSrc.
9411
9412 2006-03-07  Wim Taymans  <wim@fluendo.com>
9413
9414         * docs/gst/gstreamer-sections.txt:
9415         * gst/gstbuffer.h:
9416         * gst/gstvalue.c:
9417         * libs/gst/base/gstbasetransform.h:
9418         Small documentation fixes.
9419
9420 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9421
9422         * gst/gstvalue.c:
9423           Document thread-unsafety of gst_value_register_foo_func()
9424           when used at the same time as gst_value_foo() (#322628).
9425
9426 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9427
9428         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9429         (gst_push_src_check_get_range):
9430           Push sources don't support pull mode by default.
9431
9432 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9433
9434         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9435         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9436         (gst_base_src_default_check_get_range):
9437         * libs/gst/base/gstbasesrc.h:
9438           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9439           provide default implementation, and rename
9440           gst_base_src_check_get_range() to
9441           gst_base_src_pad_check_get_range() for clarity.
9442
9443 2006-03-06  Wim Taymans  <wim@fluendo.com>
9444
9445         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9446         Make property overridable.
9447
9448 2006-03-06  Wim Taymans  <wim@fluendo.com>
9449
9450         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9451         (gst_base_sink_init), (gst_base_sink_set_property),
9452         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9453         * libs/gst/base/gstbasesink.h:
9454         API addition: Make max-lateness a property.
9455
9456 2006-03-06  Wim Taymans  <wim@fluendo.com>
9457
9458         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9459         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9460         Don't ever draw a frame that is >10ms late.
9461
9462 2006-03-06  Michael Smith  <msmith@fluendo.com>
9463
9464         * gst/gstmessage.c: (_gst_message_copy):
9465           When copying a message, set the parent_refcount of the enclosed
9466           structure to point at the copy, not the original message.
9467
9468 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9469
9470         Patch by: Christophe Fergeau
9471
9472         * gst/gstutils.h:
9473           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9474           usable in c++ code (#333417)
9475
9476 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9477
9478         * gst/gstclock.h:
9479           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9480
9481 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9482
9483         * libs/gst/base/gstbasetransform.c:
9484         (gst_base_transform_transform_caps):
9485           Make sure caps are writable before passing them to
9486           gst_caps_append().
9487
9488 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9489
9490         * gst/gsterror.h:
9491           Fix some minor docs errors.
9492
9493 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9494
9495           Patch by: Ross Burton <ross at burtonini dot com>
9496
9497         * gst/gsterror.c: (_gst_resource_errors_init):
9498         * gst/gsterror.h:
9499           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9500
9501 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9502
9503         * gst/gst.c:
9504         Add a check and output a g_warning when GStreamer is built
9505         against GLib 2.6 but running against 2.8 or higher, and vice 
9506         versa. (Closes: #323542)
9507
9508 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9509
9510         * gst/parse/parse.l:
9511           Commit patch for parse_launch syntax from #331255. Removes 
9512           support for quoted strings and mimetypes when writing filtered 
9513           caps. See the bug report for more details - I'm pretty sure this
9514           obscure feature is not in use by _anyone_ anywhere.
9515
9516           With this simple change, the size of the gstreamer.so here 
9517           drops from 2193KB to 1565KB.
9518
9519 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9520
9521         * plugins/elements/gsttypefindelement.h:
9522         * plugins/elements/gsttypefindelement.c:
9523         (gst_type_find_element_src_event), (start_typefinding),
9524         (stop_typefinding), (gst_type_find_element_handle_event),
9525         (gst_type_find_element_chain),
9526         (gst_type_find_element_chain_do_typefinding):
9527           Use gst_type_find_helper_for_buffer() for chain-based
9528           typefinding.
9529
9530 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9531
9532         * plugins/elements/gsttypefindelement.c:
9533         (gst_type_find_element_class_init),
9534         (gst_type_find_element_set_property),
9535         (gst_type_find_element_get_property):
9536           Deprecate "maximum" property (not only was it only taken into
9537           account for typefinding in push-mode anyway, it also was never
9538           actually possible to set it in the first place because the
9539           property was registered with the numeric property ID for the
9540           "minimum" property). Register "maximum" property correctly,
9541           for the sake of future copy'n'pasters. Remove some cruft
9542           from property get/set functions.
9543
9544 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9545
9546         * plugins/elements/gsttypefindelement.c:
9547         (gst_type_find_element_activate):
9548           Use gst_type_find_helper_get_range() here, so we
9549           can honour the "minimum" property and also emit
9550           the signal with the correct probability of the found caps.
9551
9552 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9553
9554         * docs/libs/gstreamer-libs-sections.txt:
9555         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9556         (helper_find_suggest), (gst_type_find_helper_get_range),
9557         (gst_type_find_helper):
9558         * libs/gst/base/gsttypefindhelper.h:
9559           New API: gst_type_find_helper_get_range() (#333042).
9560
9561 2006-03-02  Michael Smith  <msmith@fluendo.com>
9562
9563         * gst/gstregistryxml.c: (load_feature):
9564           Asserting on a failure to read part of the registry is Not Cool.
9565           Just log a warning and return NULL (which is already handled)
9566
9567 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9568
9569         * win32/common/libgstbase.def:
9570           added export of gst_type_find_helper_for_buffer
9571         * win32/common/libgstbase.def:
9572           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9573           gst_ghost_pad_get_target
9574
9575 2006-02-28  Wim Taymans  <wim@fluendo.com>
9576
9577         * docs/design/draft-klass.txt:
9578         We use Filter now.
9579         Added Connector to mark elements that are only used to
9580         allow pipeline connections.
9581         Moved Debug to extra feature since most of them are 
9582         functionally something else.
9583
9584 2006-02-28  Wim Taymans  <wim@fluendo.com>
9585
9586         * docs/design/draft-klass.txt:
9587         Some updates and clarifications.
9588
9589 2006-02-28  Wim Taymans  <wim@fluendo.com>
9590
9591         * docs/design/draft-klass.txt:
9592         Proposal for klass field values.
9593
9594         * docs/design/part-streams.txt:
9595         Start of a doc describing stream anatomy.
9596
9597 2006-02-28  Wim Taymans  <wim@fluendo.com>
9598
9599         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9600         Help the compiler a bit with type registration.
9601         Use existing forward cod path instead of duplicating it when 
9602         handling a message.
9603         
9604         * gst/gstbus.c: (gst_bus_get_type):
9605         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9606         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9607         * gst/gstclock.c: (gst_clock_get_type):
9608         * gst/gstelement.c: (gst_element_get_type),
9609         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9610         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9611         * gst/gstminiobject.c: (gst_mini_object_get_type):
9612         * gst/gstpad.c: (gst_pad_get_type):
9613         * gst/gstsegment.c: (gst_segment_get_type):
9614         * gst/gststructure.c: (gst_structure_get_type):
9615         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9616         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9617         * gst/gstvalue.c:
9618         Help compiler with type registration.
9619
9620         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9621         Small doc update.
9622
9623 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * plugins/elements/gsttypefindelement.c:
9626         (gst_type_find_element_handle_event):
9627           When we get an EOS event and have not found a type yet
9628           (most likely because we had not yet accumulated
9629           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9630           type given the data we have so far. Fixes typefinding
9631           for very short streams again, most notably quicktime
9632           redirections as used on Apple's trailer site (#331701).
9633
9634 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9637         (gst_type_find_helper):
9638           Try typefinding factories with the highest rank first.
9639
9640 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9641
9642         * docs/libs/gstreamer-libs-docs.sgml:
9643         * docs/libs/gstreamer-libs-sections.txt:
9644         * libs/gst/base/gsttypefindhelper.c:
9645           Add section for typefind helper and add documentation
9646           for the old and the new function.
9647
9648 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9651         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9652         (gst_type_find_helper_for_buffer):
9653         * libs/gst/base/gsttypefindhelper.h:
9654           New API: gst_type_find_helper_for_buffer() (#332723).
9655           
9656 2006-02-27  Michael Smith  <msmith@fluendo.com>
9657
9658         Patch by: Loïc Minier
9659
9660         * configure.ac:
9661         * docs/Makefile.am:
9662         * docs/slides/Makefile.am:
9663           prevent CVS directories getting disted.
9664
9665 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9666
9667         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9668           Use the REFCOUNTING category for caps refcounting.
9669           
9670 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9671
9672         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9673           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9674
9675 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9676
9677         * plugins/elements/gsttypefindelement.c:
9678         (gst_type_find_element_activate):
9679           Use gst_pad_check_pull_range() before _activate_pull()
9680           to avoid unnecessary open/close (see #331690).
9681
9682 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * gst/gstutils.c:
9685           Docs enhancement: make it crystal clear what the
9686           gst_pad_add_*_probe() callbacks should look like.
9687
9688 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9689
9690         * libs/gst/base/gstbasesrc.c:
9691           Document how applications can stop recording from
9692           live sources (see #330996).
9693
9694 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9695
9696         * tests/check/Makefile.am:
9697         * tests/check/libs/basesrc.c: (eos_event_counter),
9698         (basesrc_eos_events_pull), (basesrc_eos_events_push),
9699         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9700         (gst_basesrc_suite), (main):
9701           ... and add some tests for the base source EOS stuff.
9702
9703 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9704
9705         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9706           Test case originally showed the problem fixed below,
9707           but was then amended. Add checks back at the place
9708           where they used to be.
9709
9710 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9711
9712         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9713         (gst_base_src_init), (gst_base_src_loop),
9714         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9715         (gst_base_src_change_state):
9716         * libs/gst/base/gstbasesrc.h:
9717           Don't unconditionally send EOS when going from PAUSED to
9718           READY state, esp. make sure we don't send two EOS events
9719           in some cases (e.g. one when reaching EOS and one when
9720           going from PAUSED to READY). Also, we don't want to send
9721           EOS events when operating in pull mode. However, we do
9722           want to send an EOS event when shutting down a live
9723           source explicitly, for example (fixes #330996).
9724           
9725 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9726
9727         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9728           Update src->read_position after a seek when not using mmap.
9729           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9730
9731 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
9732
9733         * gst/Makefile.am:
9734         * gst/gstparse.h:
9735         * gst/gstutils.c:
9736         * gst/gstutils.h:
9737         Make things work with --disable-parse as they do with 
9738         --disable-load-save - the symbols involved disappear, but the
9739         header is still installed and GST_DISABLE_PARSE is included via
9740         gstconfig.h
9741
9742 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9743
9744         * libs/gst/base/gstbasetransform.c:
9745         (gst_base_transform_change_state): Fix a stupid bug. I was 
9746         sure I compiled that.
9747
9748 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9749
9750         * gst/gstpad.c: (gst_pad_set_blocked_async):
9751         * gst/gstutils.c: (gst_pad_add_data_probe),
9752         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9753         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9754         (gst_pad_remove_buffer_probe): Make those function act on the
9755         ghostpad target when it's a ghostpad. (Closes #331727)
9756
9757 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9758
9759         * libs/gst/base/gstbasetransform.c:
9760         (gst_base_transform_change_state): Make basetransform reusable.
9761         (Closes #331898)
9762
9763 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
9764
9765         * docs/random/release:
9766         Move the current documentation of how to do a release to the top
9767         of the file.
9768
9769         * gst/gstbin.c: (gst_bin_class_init),
9770         (gst_bin_handle_message_func):
9771         Allow multiple state-recalculation threads. (Closes #328873)
9772
9773 2006-02-19  Julien MOUTTE  <julien@moutte.net>
9774
9775         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9776         * gst/gstpad.c: (gst_pad_set_event_function),
9777         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9778         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9779         2 strings. You can't use the STR_NULL macro on that.
9780
9781 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
9782
9783         * gst/gstpad.c: (gst_pad_set_event_function),
9784         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9785         (gst_pad_set_getcaps_function)
9786         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9787           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9788           So now, we can use --gst-debug-level=5 on Windows
9789         * win32/common/libgstcontroller.def:
9790           Added export of gst_controller_init
9791         * win32/vs6/libgstcontroller.dsp:
9792           Fixed Release post build configuration
9793
9794 2006-02-17  Wim Taymans  <wim@fluendo.com>
9795
9796         * tests/check/gst/gstquery.c: (GST_START_TEST):
9797         Added another check.
9798
9799 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
9800
9801         * plugins/elements/gsttypefindelement.c: (find_peek):
9802           We can do peeks at non-zero offsets, as long as they
9803           fall within the buffer we have.
9804
9805 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
9806
9807         * tests/check/Makefile.am:
9808         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9809         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9810         (parse_suite), (main):
9811           Add testsuite for parse launch syntax
9812
9813 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
9814
9815         * plugins/elements/gsttypefindelement.c:
9816         (gst_type_find_element_chain):
9817           When typefinding is unsuccessful in the chain function, don't
9818           error out immediately. Only error out with NO_CAPS_FOUND if
9819           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9820           otherwise simply wait for more data so we can try typefinding
9821           again with more data later. Also, don't attempt to typefind
9822           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9823           this should improve typefinding from network sources where the
9824           size of the first buffer can be somewhat random.
9825
9826 2006-02-14  Wim Taymans  <wim@fluendo.com>
9827
9828         * docs/gst/gstreamer-sections.txt:
9829         * gst/gstpadtemplate.c:
9830         * gst/gstpadtemplate.h:
9831         Fix padtemplate docs, fixes #328805.
9832
9833 2006-02-14  Wim Taymans  <wim@fluendo.com>
9834
9835         * tools/gst-launch.c: (main):
9836         NO_PREROLL is not an ERROR so don't send confusing messages
9837         to the user.
9838
9839 2006-02-14  Wim Taymans  <wim@fluendo.com>
9840
9841         Patch by: Torsten Schoenfeld
9842
9843         * gst/gstregistry.c: (gst_registry_get_default),
9844         (_gst_registry_cleanup):
9845         Protect default registry with lock and ref/sink it.
9846         Fixes #324818
9847
9848 2006-02-14  Wim Taymans  <wim@fluendo.com>
9849
9850         * gst/gstbuffer.c:
9851         * gst/gstquery.c: (gst_query_list_add_format),
9852         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9853         (gst_query_parse_formats_nth):
9854         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9855         Docs fixes.
9856
9857 2006-02-14  Wim Taymans  <wim@fluendo.com>
9858
9859         * docs/gst/gstreamer-sections.txt:
9860         Reworked query docs.
9861
9862         * gst/gstquery.c: (gst_query_new_formats),
9863         (gst_query_list_add_format), (gst_query_set_formats),
9864         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9865         (gst_query_parse_formats_nth):
9866         * gst/gstquery.h:
9867         Flesh out formats query, added some new methods.
9868         Fix part of #324398.
9869
9870         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9871         Added query creation tests.
9872
9873 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
9874
9875         * gst/gstpad.c: (fixate_value):
9876         Add a default fixation for fraction lists.
9877
9878 2006-02-13  Wim Taymans  <wim@fluendo.com>
9879
9880         * gst/gsttask.c: (gst_task_init), (gst_task_func),
9881         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9882         (gst_task_join):
9883         * gst/gsttask.h:
9884         Detect and warn for obvious deadlocks. fixes #320340
9885         Fix error case where lock was not released.
9886
9887         * tests/check/Makefile.am:
9888         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9889         (task_func), (gst_element_suite), (main):
9890         Add task check.
9891
9892 2006-02-13  Wim Taymans  <wim@fluendo.com>
9893
9894         * docs/gst/gstreamer-sections.txt:
9895         * gst/gstbus.c:
9896         Add new functions to docs.
9897
9898 2006-02-13  Wim Taymans  <wim@fluendo.com>
9899
9900         * docs/design/part-TODO.txt:
9901         Updated TODO list, basesrc supports seeking to non-bytes
9902         formats.
9903
9904         * docs/design/part-element-sink.txt:
9905         Update docs.
9906
9907         * gst/gstbin.c: (bin_replace_message),
9908         (gst_bin_handle_message_func):
9909         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9910         * gst/gstevent.c: (gst_event_finalize):
9911         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9912         (gst_pad_send_event):
9913         Use shiny new _TYPE_NAME macros.
9914
9915         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9916         Move debug statement up.
9917
9918         * gst/gstelement.c: (gst_element_set_locked_state):
9919         Add some debugging.
9920
9921 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
9922
9923         * docs/gst/gstreamer-sections.txt:
9924         * gst/gstmessage.h:
9925         * gst/gstquery.h:
9926           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9927           macros (#330906). Also, document the already existing
9928           GST_QUERY_TYPE macro.
9929
9930 2006-02-13  Wim Taymans  <wim@fluendo.com>
9931
9932         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9933         (event_probe), (GST_START_TEST):
9934         Only events up to the pipeline EOS are counted, there are
9935         some more when going to NULL currently which we don't care
9936         about for now.
9937
9938 2006-02-13  Wim Taymans  <wim@fluendo.com>
9939
9940         * gst/gstpad.c: (gst_pad_send_event):
9941         Correctly check flushing and emit probes. fixes #330125
9942
9943 2006-02-10  Andy Wingo  <wingo@pobox.com>
9944
9945         * gst/gstbus.c (gst_bus_class_init): Declare our private data
9946         structure.
9947         (gst_bus_init): Cache the location of the private data in the
9948         instance structure.
9949         (gst_bus_enable_sync_message_emission) 
9950         (gst_bus_disable_sync_message_emission): Implement new public
9951         functions.
9952         (gst_bus_post): Emit the sync-message signal if the user asked for
9953         it. Fixes #330684.
9954
9955         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9956         location of the bus-private structure.
9957         (gst_bus_enable_sync_message_emission)
9958         (gst_bus_disable_sync_message_emission): API addition
9959
9960 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
9961
9962         Patch by: Vincent Torri
9963
9964         * docs/pwg/building-boiler.xml:
9965         PWG patch from #326800
9966
9967 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * configure.ac:
9970         * docs/Makefile.am:
9971         * docs/design/Makefile.am:
9972           Dist design docs.
9973
9974 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
9975
9976         * configure.ac:
9977           back to CVS
9978
9979 === release 0.10.3 ===
9980
9981 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
9982
9983         * configure.ac:
9984           releasing 0.10.3, "Like a virgin"
9985
9986 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
9987
9988         * configure.ac:
9989           2nd prerelease of 0.10.3
9990           Bump libtool versioning.
9991
9992 2006-02-07  Andy Wingo  <wingo@pobox.com>
9993
9994         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9995         update last_stop if we're in TIME format and the timestamp is
9996         valid.
9997
9998         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
9999         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10000         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10001         If we get a new newsegment with a different format, adapt
10002         accordingly.
10003
10004         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10005         of 0. Not a problem, really.
10006
10007         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10008         warn if sync=true.
10009
10010 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10011
10012         * configure.ac:
10013           Prelease of 0.10.3
10014
10015 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10016
10017         * win32/vs7:
10018           project files updated to the default vs7 configuration
10019         * win32/common/libgstbase.def:
10020         * win32/common/libgstreamer.def:
10021           added new symbols,
10022           removed empty lines,
10023           sorted all exported symbols alphabetically
10024         * win32/common/dirent.c:
10025         * win32/common/dirent.h:
10026         * win32/common/gchar.h:
10027           use windows line end.
10028           
10029 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10030
10031         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10032           Send EOS event when stopping.
10033
10034 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10035
10036         * docs/README:
10037           Tell folks what to do if the plugin-foobar.xml file
10038           hasn't been generated for a newly-added plugin.
10039
10040 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10041
10042         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10043         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10044         (gst_collect_pads_start), (gst_collect_pads_stop),
10045         (gst_collect_pads_event): Collectpads now holds a reference
10046         to the GstPad that was added. Indeed we don't want to look
10047         at pads that might just go away with no warning...
10048
10049 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10050
10051         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10052         (gst_collect_pads_start), (gst_collect_pads_stop),
10053         (gst_collect_pads_event), (gst_collect_pads_chain):
10054         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10055         Mark Nauwelaerts's patch on bug #328491.
10056
10057 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10058
10059         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10060         (gst_utils_suite):
10061           Add some simple tests for gst_parse_bin_from_description() and
10062           gst_bin_find_unconnected_pad() (#329069).
10063
10064 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10065
10066         * tools/gst-launch.c: (event_loop), (main):
10067           Catch errors during preroll (#320084).
10068
10069 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10070
10071         * plugins/elements/gsttypefindelement.c:
10072         (gst_type_find_element_activate):
10073           Post TYPE_NOT_FOUND error message when typefinding
10074           is unsuccessful in the activate function as well.
10075
10076 2006-02-02  Wim Taymans  <wim@fluendo.com>
10077
10078         * docs/design/part-element-sink.txt:
10079         Updated doc.
10080
10081 2006-02-02  Wim Taymans  <wim@fluendo.com>
10082
10083         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10084         (gst_base_sink_render_object),
10085         (gst_base_sink_queue_object_unlocked):
10086         Only keep track of prerollable items when we are 
10087         prerolling.
10088         Before rendering after preroll, always check if we
10089         have queued items.
10090         Added some more debugging.
10091
10092 2006-02-02  Wim Taymans  <wim@fluendo.com>
10093
10094         * gst/gstelement.c: (gst_element_continue_state),
10095         (gst_element_set_state_func), (gst_element_change_state):
10096         Fixed #326576, been running this for quite some time with
10097         no regressions at all.
10098
10099 2006-02-02  Wim Taymans  <wim@fluendo.com>
10100
10101         * common/gst.supp:
10102         Added more suppressions
10103
10104 2006-02-02  Wim Taymans  <wim@fluendo.com>
10105
10106         * docs/design/part-element-sink.txt:
10107         Updated document.
10108
10109         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10110         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10111         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10112         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10113         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10114         (gst_base_sink_preroll_object),
10115         (gst_base_sink_queue_object_unlocked),
10116         (gst_base_sink_queue_object), (gst_base_sink_event),
10117         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10118         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10119         (gst_base_sink_get_position), (gst_base_sink_change_state):
10120         * libs/gst/base/gstbasesink.h:
10121         Totally refactored matching the design doc.
10122         Use two segments, one to clip incomming buffers and another to
10123         perform sync.
10124         Handle queueing correctly, bypass the queue when playing.
10125         Make EOS cancelable.
10126         Handle errors correctly when operating in pull based mode.
10127
10128         * tests/check/elements/fakesink.c: (GST_START_TEST),
10129         (fakesink_suite):
10130         Added new check for sinks.
10131
10132 2006-02-02  Wim Taymans  <wim@fluendo.com>
10133
10134         * gst/gstsegment.c: (gst_segment_clip):
10135         No reason to refuse to clip when start == -1
10136
10137 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10138
10139         * docs/README:
10140         * docs/manual/intro-basics.xml:
10141         * docs/manual/intro-preface.xml:
10142         * docs/manual/manual.xml:
10143         * docs/pwg/advanced-dparams.xml:
10144         * docs/pwg/intro-basics.xml:
10145         * docs/pwg/intro-preface.xml:
10146         * docs/pwg/pwg.xml:
10147           describe dparams (controller) for plugins
10148           unify docs a little more
10149
10150 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10151
10152         * docs/gst/gstreamer-sections.txt:
10153         * gst/gstutils.c: (element_find_unconnected_pad),
10154         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10155         * gst/gstutils.h:
10156           Add new API: gst_parse_bin_from_description() and
10157           gst_bin_find_unconnected_pad() (#329069).
10158
10159 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10160
10161         * docs/manual/README:
10162           uncover a nasty detail of the docs build
10163
10164 2006-01-31  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10167         Don't cache duration messages if we're not going to use or
10168         free them.
10169
10170 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10171
10172         * docs/manual/advanced-dparams.xml:
10173         * docs/pwg/advanced-dparams.xml:
10174           more dparam docs
10175         * gst/gstindex.c:
10176           fix docs
10177         * libs/gst/controller/lib.c: (gst_controller_init):
10178           init just once
10179
10180 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10181
10182         * gst/gstelement.c: (gst_element_message_full):
10183           also show file/line/func if no additional debug was given
10184
10185 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10186         
10187         * win32/vs7/grammar.vcproj:
10188           activate copy of autogenerated files for Release mode
10189
10190 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10191         
10192         * win32/common/libgstreamer.def:
10193           export gst_value_compare
10194
10195 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10196
10197         * plugins/elements/Makefile.am:
10198         * plugins/elements/gstelements.c:
10199         * plugins/elements/gstfdsink.c: (_do_init),
10200         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10201         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10202         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10203         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10204         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10205         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10206         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10207         * plugins/elements/gstfdsink.h:
10208         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10209
10210 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10211
10212         * docs/manual/advanced-dparams.xml:
10213           describe controller
10214         * docs/manual/advanced-position.xml:
10215         * docs/manual/basics-init.xml:
10216         * docs/manual/manual.xml:
10217         * docs/manual/titlepage.xml:
10218         * docs/pwg/pwg.xml:
10219         * docs/pwg/titlepage.xml:
10220           cleanup xml (more to come)
10221         * libs/gst/controller/gstcontroller.c:
10222           fix typo
10223
10224 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10225         
10226         * win32/vs6/grammar.dsp:
10227           add autogen of gstmarshal.c,h for Release mode
10228                 
10229 2006-01-30  Wim Taymans  <wim@fluendo.com>
10230
10231         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10232         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10233         (gst_base_sink_handle_object), (gst_base_sink_event),
10234         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10235         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10236         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10237         (gst_base_sink_deactivate), (gst_base_sink_activate),
10238         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10239         (gst_base_sink_query), (gst_base_sink_change_state):
10240         Basesink cleanups, remove some old code.
10241         Handle the case where a subclass can preroll in the render
10242         method (mostly audiosinks).
10243         Handle more events.
10244         Remove some locks around variables that are now protected
10245         with the PREROLL_LOCK (clock_id, flushing, ..).
10246         Optimize position query some more, do correct locking.
10247         Remove old code to push queue in state change, this is not
10248         needed anymore since preroll blocks on all prerollable items 
10249         now.
10250         Almost implemented as described in design doc.
10251
10252 2006-01-30  Wim Taymans  <wim@fluendo.com>
10253
10254         * tests/check/gst/gstbin.c: (GST_START_TEST):
10255         Wait for refcount to settle down before checking.
10256
10257 2006-01-30  Wim Taymans  <wim@fluendo.com>
10258
10259         * docs/design/part-element-sink.txt:
10260         Pseudo code overview of desired sink behaviour regarding
10261         preroll.
10262
10263 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10264         * win32/vs6/grammar.dsp:
10265           fix some bugs in Release mode for autogenerated files
10266                 
10267 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10268         * win32/common/libgstbase.def:
10269         * win32/common/libgstreamer.def:
10270           export some new symbols: gst_base_src_set_format,
10271           gst_iterator_next, gst_structure_set_valist
10272
10273 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10274
10275         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10276         Set pad functions unconditionally. Fixes #329105.
10277
10278 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10279         * win32/vs8:
10280           add vs8 project files created by Sergey Scobich
10281
10282 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10283
10284         * gst/gstutils.c: (gst_element_unlink_pads):
10285         Don't leak pad references.
10286
10287         * tests/check/elements/fakesink.c: (GST_START_TEST):
10288         * tests/check/generic/sinks.c: (GST_START_TEST):
10289         * tests/check/generic/states.c: (GST_START_TEST):
10290         * tests/check/gst/gstbin.c: (GST_START_TEST):
10291         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10292         * tests/check/gst/gstelement.c: (GST_START_TEST):
10293         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10294         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10295         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10296         Fix a bunch of leaks. Make generic/sinks.c
10297         use a bit less cpu by slowing the buffer rate
10298         between fakesrc and fakesink.
10299         
10300 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10301         * gst/gstcaps.c:
10302         * gst/gstelement.c: (gst_element_send_event):
10303         * gst/gstevent.c:
10304         * gst/gstinfo.c:
10305         * gst/gstiterator.c:
10306         * gst/gstiterator.h:
10307         * gst/gstpad.c: (gst_pad_send_event):
10308         * gst/gststructure.c:
10309         * gst/gsturi.c:
10310         * gst/gstutils.c:
10311         * gst/gstvalue.c:
10312         * libs/gst/base/gstadapter.c:
10313           doc fixes, to link to function, just write gst_cool_function(), don't
10314           prefix with '#'
10315
10316 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10317
10318         * plugins/elements/gsttee.c: (gst_tee_do_push),
10319         (gst_tee_handle_buffer):
10320         Always prefer an actual return value from a src
10321         pad in place of NOT_LINKED. This means we return
10322         WRONG_STATE when all src pads are WRONG_STATE
10323         instead of NOT_LINKED.
10324
10325         Lock when replacing the last message to prevent
10326         racing with the get_property method.
10327
10328         Add debug output
10329
10330 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10331
10332         * tests/check/Makefile.am:
10333         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10334         (main):
10335         Add a very simple check that should have caught the memleak I fixed
10336         last night (if not for the slice allocator hiding it)
10337
10338 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10339
10340         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10341         (gst_bin_remove_func), (gst_bin_handle_message_func),
10342         (bin_query_duration_fold), (bin_query_generic_fold):
10343         Clean up references to the clock provider when disposed or when
10344         handling a clock-lost message from it.
10345
10346         Unref sinks when performing a query via gst_iterator_fold, as the
10347         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10348
10349         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10350         (gst_clock_set_master):
10351         Drop our reference to the master clock, if any, when we are disposed.
10352
10353         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10354         Chain up in dispose. 
10355
10356 2006-01-26  Wim Taymans  <wim@fluendo.com>
10357
10358         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10359         Add some debugging.
10360
10361 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10362
10363         * plugins/elements/gsttee.c: (gst_tee_do_push),
10364         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10365         handles pad being NOT_LINKED or in WRONG_STATE.
10366
10367 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10368
10369         * win32/MANIFEST:
10370           more updating
10371
10372 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10373
10374         * win32/MANIFEST:
10375           remove obsolete entry
10376
10377 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10378
10379         * docs/gst/gstreamer-sections.txt:
10380         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10381         (gst_bin_iterate_sources), (gst_bin_send_event):
10382         * gst/gstbin.h:
10383         * gst/gstelement.c: (gst_element_send_event):
10384         * gst/gstevent.c:
10385         * gst/gstpad.c: (gst_pad_send_event):
10386           added code for downstream events, reviewed docs in gstevent.c
10387
10388 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10389
10390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10391         We only query position using the clock in the playing state.
10392         Query peer in the other cases.
10393         * win32/common/config.h: Updates.
10394
10395 2006-01-24  Wim Taymans  <wim@fluendo.com>
10396
10397         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10398         A clock entry that is scheduled for the exact time of the
10399         clock is still in time.
10400
10401         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10402         (gst_base_sink_do_sync):
10403         Add some more debug info.
10404
10405 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10406
10407         * win32/vs7:
10408           Add new vs7 project files and solution.
10409
10410 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10411
10412         * win32/vs7:
10413           all files removed as they were out-dated.
10414
10415 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10416
10417         * docs/random/release:
10418           update notes
10419         * gst/gstbin.c: (gst_bin_init):
10420         * gst/gstbus.c: (gst_bus_new):
10421         * gst/gstbus.h:
10422         * gst/gstpipeline.c: (gst_pipeline_init):
10423           use gst_bus_new(), improve logging, fix docs
10424         * win32/common/config.h:
10425           update for cvs build
10426
10427 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10428
10429         * autogen.sh:
10430           up required version of automake to 1.7
10431
10432 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10433
10434         * win32/common/libgstreamer.def:
10435           export gst_buffer_is_metadata_writable
10436
10437 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10438
10439         * docs/gst/gstreamer-sections.txt:
10440         * gst/gstevent.h:
10441           Add gst_event_replace() (#327001)
10442
10443 2006-01-20  Wim Taymans  <wim@fluendo.com>
10444
10445         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10446         Make it actually compile too..
10447
10448 2006-01-20  Wim Taymans  <wim@fluendo.com>
10449
10450         * gst/gstcaps.c:
10451         Clarify behaviour of _is_equal() when passing NULL parameters.
10452
10453         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10454         (gst_pad_set_caps):
10455         Cleanups. Don't unref NULL caps.
10456         When setting the same caps, protect caps of the pad with
10457         proper lock.
10458         Use full functionality of _is_equal() when comparing caps.
10459
10460 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10461
10462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10463         Don't loop infinitely if there are no buffers to present. Partially
10464         fixes #327197, but collectpads is just broken for reusing elements
10465         to do multiple encodes atm.
10466
10467 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10468
10469         * tools/gst-inspect.c: (print_element_features):
10470         * tools/gst-xmlinspect.c: (main):
10471         URL_HANDLER is not a plugin feature we can search for in
10472         the registry.
10473
10474 2006-01-19  Edward Hervey  <edward@fluendo.com>
10475
10476         * gst/gstelement.c: (gst_element_pads_activate): 
10477         When activating, do src pads first, then sink pads.
10478         When de-activating, do sink pads first, then src pads.
10479
10480 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10481
10482         * docs/gst/gstreamer-sections.txt:
10483         Add gst_index_add_associationv to the docs
10484
10485 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10486
10487         * gst/gstevent.c:
10488           Fix docs typo
10489
10490         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10491         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10492           Do some refactoring. Doesn't actually change functionality,
10493           but makes landing the DRAIN event easier later.
10494
10495 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10496
10497         * docs/pwg/advanced-scheduling.xml:
10498           Update from 0.9.x to 0.10 API and make example a bit
10499           clearer.
10500
10501 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10502
10503         * docs/gst/gstreamer-sections.txt:
10504         Add gst_buffer_(is|make)_metadata_writable methods.
10505
10506 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10507
10508         * docs/design/part-sparsestreams.txt:
10509         Update sparse streams doc, hopefully for greater clarity
10510
10511 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10512
10513         * docs/design/part-events.txt:
10514         Remove mention of FILLER events.
10515         Add DRAIN event.
10516
10517         * docs/design/part-sparsestreams.txt:
10518         Write some things about using NEWSEGMENT to keep sparse streams
10519         flowing.
10520
10521 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10522
10523         * gst/gstbin.c: (gst_bin_dispose):
10524           Guard gst_object_unref call against a NULL object (dispose
10525           can theoretically be called multiple times).
10526           
10527 2006-01-18  Wim Taymans  <wim@fluendo.com>
10528
10529         * gst/gstbin.c: (gst_bin_element_set_state):
10530         * gst/gstclock.c: (gst_clock_id_wait):
10531         Added some more debug info.
10532
10533         * libs/gst/base/gstadapter.c:
10534         Added more docs.
10535
10536         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10537         (gst_base_sink_do_sync), (gst_base_sink_chain):
10538         Added some comments.
10539
10540 2006-01-18  Wim Taymans  <wim@fluendo.com>
10541
10542         * tests/check/Makefile.am:
10543         * tests/check/elements/fakesink.c: (chain_async_buffer),
10544         (chain_async), (chain_async_return), (GST_START_TEST),
10545         (fakesink_suite), (main):
10546         Added fakesink test that checks prerolling and clipping
10547         behaviour.
10548
10549         * tests/check/gst/gstutils.c: (GST_START_TEST):
10550         Make check run faster so that buildbots don't timeout.
10551
10552 2006-01-18  Wim Taymans  <wim@fluendo.com>
10553
10554         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10555         (gst_base_sink_do_sync):
10556         Some cleanups.
10557         When the sink finishes blocking on the preroll buffer, it can
10558         immediatly render it instead of rendering when the next buffer
10559         arrives.
10560
10561 2006-01-18  Wim Taymans  <wim@fluendo.com>
10562
10563         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10564         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10565         (gst_base_sink_chain):
10566         Small cleanups.
10567         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10568         Don't store _last_stop if the buffer is dropped.
10569
10570 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10571
10572         * plugins/elements/gsttypefindelement.c:
10573         (gst_type_find_element_class_init):
10574           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10575           object method handler that sets the caps on the pad and we want
10576           that to happen before we emit the signal (fixes e.g. feeding a
10577           plain text file to decodebin).
10578
10579 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10580
10581         * gst/gstplugin.c: Add MPL and Proprietary as license options
10582
10583 2006-01-18  Andy Wingo  <wingo@pobox.com>
10584
10585         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10586         symbol was exported before, it appears this was just an oversight.
10587         Fixes #168703.
10588         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10589
10590         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10591         prototype to gint. OK since this prototype was not in the header.
10592
10593 2006-01-17  Andy Wingo  <wingo@pobox.com>
10594
10595         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10596         registry while we remove plugins.
10597
10598         * tools/gst-inspect.c (print_element_info): Don't unref the
10599         factory arg, that should be the responsibility of whatever code
10600         received the ref. Fixes a double-free when called from
10601         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10602         (main): Unref the factory if we have one.
10603         (print_element_list): No change -- relies on the
10604         plugin_feature_list_free to free the list of features.
10605
10606 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10607
10608         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10609         (gst_buffer_make_metadata_writable):
10610         * gst/gstbuffer.h:
10611         * libs/gst/base/gstbasetransform.c:
10612         (gst_base_transform_prepare_output_buf):
10613         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10614         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10615           Replace gst_buffer_(make|is)_metadata_writable patch now
10616           that the release is out.
10617
10618 2006-01-17  Andy Wingo  <wingo@pobox.com>
10619
10620         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10621         in the present tense without reference to versions.
10622
10623         * gst/gstregistry.c (gst_registry_add_plugin)
10624         (gst_registry_remove_plugin, gst_registry_remove_feature)
10625         (gst_registry_find_feature, gst_registry_get_feature_list)
10626         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10627         (gst_registry_lookup, gst_registry_scan_path)
10628         (_gst_registry_remove_cache_plugins)
10629         (gst_registry_get_feature_list_by_plugin): Add argument
10630         validation.
10631
10632 === release 0.10.2 ===
10633
10634 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10635
10636         * configure.ac:
10637           releasing 0.10.2, "If man is five"
10638
10639 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10640
10641         * gst/gstbuffer.c:
10642         * gst/gstbuffer.h:
10643         * libs/gst/base/gstbasetransform.c:
10644         (gst_base_transform_prepare_output_buf):
10645         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10646         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10647           Back out patch until after the release.
10648
10649 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10650
10651         * gst/gstminiobject.c:
10652           Spelling fix in docs.
10653         * ChangeLog - remove conflict indicator
10654
10655 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10656
10657         Reviewed By: Andy Wingo
10658
10659         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10660         (gst_buffer_make_metadata_writable):
10661         * gst/gstbuffer.h:
10662           Add gst_buffer_(is|make)_metadata_writable as analogues of
10663           gst_buffer_(is|make)_writable.
10664
10665         * libs/gst/base/gstbasetransform.c:
10666         (gst_base_transform_prepare_output_buf):
10667         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10668           Use name gst_buffer_(is|make)_metadata_writable functions.
10669
10670         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10671           Test gst_buffer_(is|make)_metadata_writable
10672         
10673           (Closes: #324162)
10674
10675 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10676
10677         * docs/manual/Makefile.am:
10678           don't do parallel make
10679         * configure.ac:
10680           AC_SUBST HOST_CPU
10681         * win32/common/config.h.in:
10682           add generations for HOST_CPU and GST_MAJORMINOR
10683         * win32/common/config.h:
10684           commit generated result
10685
10686 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
10687
10688         * docs/manual/appendix-integration.xml:
10689           Update GNOME integration section to use gst_init_get_option_group()
10690           instead of the old popt stuff (#322911). Also, GNOME applications
10691           should  now use gconf*sink and gconf*src instead of the old gconf
10692           helper lib we had.
10693
10694 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
10695
10696
10697         * docs/gst/gstreamer-docs.sgml:
10698         * docs/gst/gstreamer-sections.txt:
10699         * docs/libs/gstreamer-libs-sections.txt:
10700           add new API entries to the docs
10701         * libs/gst/controller/Makefile.am:
10702         * libs/gst/controller/gstcontroller.c:
10703         * libs/gst/controller/gstcontroller.h:
10704         * libs/gst/controller/gstcontrollerprivate.h:
10705         * libs/gst/controller/gsthelper.c:
10706         * libs/gst/controller/gstinterpolation.c:
10707           move private structs to private header
10708         * po/README:
10709           gstreamer-0.7 -> gstreamer-0.10
10710         * tests/check/libs/struct_i386.h:
10711           remove private structs
10712
10713 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10714
10715         * plugins/indexers/Makefile.am:
10716           Fixes as part of #317048
10717
10718 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10719
10720         * plugins/indexers/Makefile.am:
10721           fix #316086 - compilation when mmap is missing
10722
10723 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
10724
10725         * libs/gst/base/gstbasesink.c:
10726           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
10727           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10728         * win32/common/config.h:
10729           added some defines GST_MAJORMINOR and HOST_CPU
10730         * win32/common/libgstbase.def:
10731         * win32/common/libgstreamer.def:
10732           added some exported functions.
10733
10734 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10735
10736         * libs/gst/controller/gstcontroller.c:
10737         (gst_controlled_property_set_interpolation_mode),
10738         (gst_controlled_property_new):
10739         * libs/gst/controller/gstcontroller.h:
10740         * libs/gst/controller/gstinterpolation.c:
10741         (interpolate_none_get_string_value_array):
10742           make G_TYPE_STRING controlable
10743
10744 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10745
10746         * tools/README:
10747         * tools/gst-feedback.1.in:
10748         * tools/gst-inspect.1.in:
10749         * tools/gst-launch.1.in:
10750         * tools/gst-md5sum.1.in:
10751         * tools/gst-typefind.1.in:
10752         * tools/gst-xmlinspect.1.in:
10753         * tools/gst-xmllaunch.1.in:
10754           cleanup man-pages, remove reference to gst-register, document env-vars
10755
10756 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
10757
10758         * gst/gstbuffer.c: (gst_buffer_span):
10759           gst_buffer_span should copy the timestamp of the first buffer
10760           if they were both originally overlapping subbuffers of the 
10761           same parent, using the same logic as the 'slow copy' case.
10762
10763 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
10764
10765         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10766           Need to awaken ALL the pads when we pop a buffer, otherwise
10767           collectpads only works when there is 2 input streams.
10768
10769 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
10770
10771         * docs/random/ensonic/media-device-daemon.txt:
10772           more ideas (dbus)
10773         * gst/gstbuffer.c:
10774           fix doc example, add clarification
10775         * tools/gst-launch.1.in:
10776           add initial info about GST_PLUGIN_PATH, needs more work
10777
10778 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10779
10780         * docs/manual/basics-bins.xml:
10781         * docs/manual/basics-elements.xml:
10782         * docs/manual/intro-basics.xml:
10783           Some more minor docs additions and updates.
10784
10785 2006-01-11  Wim Taymans  <wim@fluendo.com>
10786
10787         * docs/manual/basics-bins.xml:
10788         * docs/manual/basics-elements.xml:
10789         Some small fixes as pointed out by Ser-ver on IRC.
10790
10791 2006-01-10  Edward Hervey  <edward@fluendo.com>
10792
10793         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10794         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10795         the single-segment mode.
10796
10797 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
10798
10799         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10800
10801         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10802         (gst_base_src_perform_seek), (gst_base_src_send_event),
10803         (gst_base_src_set_property), (gst_base_src_get_property),
10804         (gst_base_src_loop), (gst_base_src_start),
10805         (gst_base_src_activate_push):
10806         * libs/gst/base/gstbasesrc.h:
10807           Name (private) union; makes Sun's Forte compiler happy (#324900).
10808
10809 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10810
10811         * README:
10812           gst-register is gone.
10813
10814 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10815
10816         * gst/gstvalue.c: (_gst_value_initialize):
10817           make the G_TYPE_DATE instantiation work if debug is disabled
10818
10819 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
10820
10821         * gst/gstmessage.c: (gst_message_parse_tag),
10822         (gst_message_parse_error), (gst_message_parse_warning):
10823           Don't crash when return location for error/warning debug
10824           string is NULL; add fact that return locations can be
10825           NULL to docs where appropriate.
10826
10827 2006-01-05  Wim Taymans  <wim@fluendo.com>
10828
10829         * gst/gstplugin.c: (gst_plugin_load_file):
10830         Replace strdup by g_strdup.
10831
10832 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10833
10834         * docs/pwg/advanced-types.xml:
10835           fix doc borkage
10836
10837 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10838
10839         submitted by: Abel Cheung
10840
10841         * po/LINGUAS:
10842         * po/zh_TW.po:
10843           Added Chinese (traditional) translation
10844
10845 2006-01-04  Wim Taymans  <wim@fluendo.com>
10846
10847         * docs/manual/basics-pads.xml:
10848         * docs/plugins/Makefile.am:
10849         * docs/plugins/gstreamer-plugins-docs.sgml:
10850         * docs/plugins/gstreamer-plugins-sections.txt:
10851         * docs/pwg/advanced-clock.xml:
10852         * docs/pwg/advanced-scheduling.xml:
10853         * docs/pwg/advanced-types.xml:
10854         * plugins/elements/gstfdsink.c:
10855         * plugins/elements/gstfdsrc.c:
10856         * plugins/elements/gstfdsrc.h:
10857         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10858         * plugins/elements/gstidentity.h:
10859         * plugins/elements/gstqueue.h:
10860         * plugins/elements/gsttee.c:
10861         * plugins/elements/gsttee.h:
10862         * plugins/elements/gsttypefindelement.c:
10863         (gst_type_find_element_class_init):
10864         * plugins/elements/gsttypefindelement.h:
10865         Small updates to various docs.
10866         Added core plugins to docs.
10867
10868 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10869
10870         * common/gst.supp:
10871           add a suppression for liboil's uninitialized variable
10872
10873 2006-01-02  James Livingston  <jrl at ids dot org dot au>
10874
10875         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10876
10877         * gst/gstutils.h:
10878           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10879           macro, so that gcc doesn't complain if the -Wmissing-prototypes
10880           compiler switch is being used (#325429).
10881
10882 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
10883
10884         * gst/gstbin.c: (gst_bin_query):
10885           Disable duration query caching in bins until it gets
10886           fixed (see #324807).
10887
10888 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10889
10890         * tools/gst-inspect.c: (print_element_properties_info):
10891           Handle properties of POINTER and BOXED type.
10892
10893 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10894
10895         * gst/gst.c: (init_post):
10896           Init tags stuff and some other things before loading
10897           any static plugins (there may be other static plugins
10898           than just the GStreamer ones, and they may want to
10899           register their own tags or formats or whatever, and
10900           preferably without segfaulting).
10901
10902         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10903           Print at least a warning in the debug logs if we drop a
10904           query just because we don't know how to adjust the value
10905           in the particular format.
10906
10907 2005-12-24  David Schleef  <ds@schleef.org>
10908
10909         * tools/gstreamer-completion:
10910           Replacement for gst-complete written in sh and sed.  Only
10911           completes names of features, but that's 90% of what I want
10912           it for.  Properties are not available in registry.xml.  (Maybe
10913           they should be...)
10914
10915 === release 0.10.1 ===
10916
10917 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
10918
10919         * configure.ac:
10920           releasing 0.10.1, "Nollaig chridheil"
10921
10922 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
10923
10924         * docs/faq/cvs.xml:
10925           Add missing quote, should be make ERROR_CFLAGS="".
10926
10927 2005-12-20  Wim Taymans  <wim@fluendo.com>
10928
10929         * docs/design/part-trickmodes.txt:
10930         More documentation on trickmodes.
10931
10932 2005-12-20  Edward Hervey  <edward@fluendo.com>
10933
10934         * gst/gstcaps.c: (gst_static_caps_get_type):
10935         * gst/gstcaps.h:
10936           API addition: GST_TYPE_STATIC_CAPS
10937         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10938         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10939         * gst/gstpadtemplate.h:
10940           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10941         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10942         bindings.
10943
10944 2005-12-18  Wim Taymans  <wim@fluendo.com>
10945
10946         * libs/gst/base/gstadapter.c:
10947         * libs/gst/base/gstadapter.h:
10948         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10949         (gst_base_sink_get_position):
10950         * libs/gst/base/gstbasesink.h:
10951         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10952         (gst_base_src_default_query), (gst_base_src_default_do_seek),
10953         (gst_base_src_do_seek), (gst_base_src_perform_seek),
10954         (gst_base_src_send_event), (gst_base_src_update_length),
10955         (gst_base_src_get_range), (gst_base_src_loop),
10956         (gst_base_src_start):
10957         * libs/gst/base/gstbasesrc.h:
10958         * libs/gst/base/gstbasetransform.h:
10959         * libs/gst/base/gstcollectpads.h:
10960         * libs/gst/base/gstpushsrc.c:
10961         * libs/gst/base/gstpushsrc.h:
10962         * libs/gst/dataprotocol/dataprotocol.c:
10963         * libs/gst/dataprotocol/dataprotocol.h:
10964         * libs/gst/net/gstnetclientclock.h:
10965         * libs/gst/net/gstnettimeprovider.h:
10966         Documentation updates.
10967
10968 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
10969
10970         * docs/manual/basics-helloworld.xml:
10971           Remove superfluous closing bracket in helloworld example.
10972
10973 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
10974
10975         * tools/gst-launch.1.in:
10976           Update gst-launch man page; add a section with useful
10977           environment variables. Fixes #323882.
10978
10979 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
10980
10981         * gst/gst.c:
10982         * gst/gst_private.h:
10983           change some char* into char[]
10984
10985 2005-12-16  Wim Taymans  <wim@fluendo.com>
10986
10987         * gst/gstregistryxml.c: (load_feature):
10988         Cleanups.
10989         Don't use g_object_unref on GstObjects so that we avoid
10990         leaks on unsafe glibs.
10991
10992 2005-12-16  Wim Taymans  <wim@fluendo.com>
10993
10994         * gst/gstbin.c: (gst_bin_recalc_state):
10995         Small doc updates.
10996
10997 2005-12-16  Wim Taymans  <wim@fluendo.com>
10998
10999         * common/check.mak:
11000         Added make forever target for check.
11001
11002 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11003
11004         * gst/gst.c: (init_post):
11005           make the registry cache file HOST_CPU-dependent
11006
11007 2005-12-16  Andy Wingo  <wingo@pobox.com>
11008
11009         * plugins/elements/gstbufferstore.c
11010         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11011         return value.
11012
11013         * tests/check/gst/gstobject.c
11014         (test_fake_object_name_threaded_unique): Pay attention to
11015         g_list_sort return value.
11016
11017 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * tools/gst-feedback-m.m:
11020           Update for 0.9/0.10 (fixes #323870).
11021
11022 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11025           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11026           
11027         * tests/check/gst/gstminiobject.c: (my_foo_init),
11028         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11029         (test_value_collection), (gst_mini_object_suite):
11030           Add test to ensure refcounts end up as expected when passing
11031           GstMiniObjects through g_object_get() and g_object_set().
11032
11033 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11034
11035         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11036         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11037         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11038         of collectpads. This version removes a lot of races without
11039         touching API/ABI. Yay !
11040
11041 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11042
11043         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11044           Don't allow activation of a srcpad in pull_range if it has no
11045           getrange function.
11046           Change some debug statements to be a little clearer
11047
11048         * plugins/elements/gsttypefindelement.c:
11049         (gst_type_find_handle_src_query):
11050           Check that we have a peer before executing queries thereupon.
11051
11052         * tests/examples/metadata/read-metadata.c: (message_loop):
11053           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11054           immediately return us any available message with 0 timeout.
11055
11056 2005-12-12  Michael Smith  <msmith@fluendo.com>
11057
11058         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11059           Don't unref factories after calling them.
11060         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11061         * plugins/elements/gsttypefindelement.c:
11062         (gst_type_find_element_chain):
11063           Free lists of factories after using them. Fixing typefinding memory
11064           leaks.
11065
11066 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11067
11068         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11069         (gst_plugin_feature_load):
11070           more meaningful debug output
11071         * configure.ac:
11072         * tests/Makefile.am:
11073         * tests/old/examples/Makefile.am:
11074           make make distcheck happy again
11075
11076 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11077
11078         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11079           Catch the special case where we are operating chain-based,
11080           but the downstream peer pad has no chain function. Emit a
11081           custom error message in this case instead of letting the
11082           core generate one implying that this is some sort of core
11083           bug. It's not, it just means that whatever got plugged
11084           into the pipeline downstream when we announced the type
11085           can only operate pull-based, while our source can only
11086           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11087           Error string has not been marked for translation yet, as
11088           it probably needs some more work first.
11089
11090         (gst_type_find_element_get_best_possibility):
11091           Add helper function to find the best of all available
11092           found possibilities that qualify given the min. threshold.
11093
11094         (gst_type_find_element_handle_event):
11095           Fix the case where we get an EOS while still in TYPEFIND
11096           mode (we want to chose the best of all possible types,
11097           not just the first type that happens to be in our unsorted
11098           list of possible types).
11099
11100         (gst_type_find_element_chain):
11101           Make sure we return GST_FLOW_ERROR when we errored out
11102           in stop_typefinding(); also, don't just find the best of
11103           all found type entries and then use the last examined
11104           type entry, but actually use the best entry.
11105
11106 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11107
11108         * tests/examples/typefind/typefind.c: (type_found):
11109         * tests/examples/xml/runxml.c: (xml_loaded):
11110           More gcc4 fixes and a mem leak fix.
11111
11112 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11113
11114         * tests/examples/xml/createxml.c: (object_saved):
11115           gcc 4 fixes
11116
11117 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11118
11119         * tests/Makefile.am:
11120           enable the examples even more
11121
11122 2005-12-12  Andy Wingo  <wingo@pobox.com>
11123
11124         * libs/gst/net/gstnettimeprovider.c
11125         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11126         (gst_net_time_provider_set_property)
11127         (gst_net_time_provider_get_property):
11128         API addition: Export "active" as a GObject property.
11129         (gst_net_time_provider_thread): Only respond to time queries if
11130         the time provider is active.
11131
11132         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11133         NetTimeProvider, preserving binary compat.
11134
11135 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11136
11137         * tests/examples/controller/audio-example.c: (main):
11138         * tests/examples/launch/Makefile.am:
11139           convert comments again
11140
11141 2005-12-12  Wim Taymans  <wim@fluendo.com>
11142
11143         * libs/gst/base/gstpushsrc.c:
11144         Fix typo.
11145
11146 2005-12-12  Wim Taymans  <wim@fluendo.com>
11147
11148         * docs/libs/gstreamer-libs-sections.txt:
11149         Added new symbol to docs.
11150
11151         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11152         (gst_base_src_init), (gst_base_src_set_format),
11153         (gst_base_src_default_query), (gst_base_src_query),
11154         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11155         (gst_base_src_perform_seek), (gst_base_src_send_event),
11156         (gst_base_src_default_event), (gst_base_src_event_handler),
11157         (gst_base_src_set_property), (gst_base_src_get_property),
11158         (gst_base_src_wait), (gst_base_src_do_sync),
11159         (gst_base_src_update_length), (gst_base_src_get_range),
11160         (gst_base_src_check_get_range), (gst_base_src_loop),
11161         (gst_base_src_default_negotiate), (gst_base_src_start),
11162         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11163         (gst_base_src_change_state):
11164         * libs/gst/base/gstbasesrc.h:
11165         Implement seeking to other formats than _BYTES.
11166         Implement more seeking methods correctly.
11167         Doc updates.
11168         Added query vmethod.
11169         Added do_seek vmethod to make life easier for subclasses
11170         when seeking.
11171         API addition: gst_base_src_set_format()
11172
11173 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11174
11175         * tests/examples/Makefile.am:
11176           added that too
11177
11178 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11179
11180         * configure.ac:
11181         * docs/random/ensonic/media-device-daemon.txt:
11182         * tests/examples/controller/.cvsignore:
11183         * tests/examples/controller/Makefile.am:
11184         * tests/examples/controller/audio-example.c: (main):
11185         * tests/examples/helloworld/.cvsignore:
11186         * tests/examples/helloworld/Makefile.am:
11187         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11188         * tests/examples/launch/.cvsignore:
11189         * tests/examples/launch/Makefile.am:
11190         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11191         * tests/examples/metadata/.cvsignore:
11192         * tests/examples/metadata/Makefile.am:
11193         * tests/examples/metadata/read-metadata.c: (message_loop),
11194         (make_pipeline), (print_tag), (main):
11195         * tests/examples/queue/.cvsignore:
11196         * tests/examples/queue/Makefile.am:
11197         * tests/examples/queue/queue.c: (event_loop), (main):
11198         * tests/examples/typefind/.cvsignore:
11199         * tests/examples/typefind/Makefile.am:
11200         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11201         (main):
11202         * tests/examples/xml/.cvsignore:
11203         * tests/examples/xml/Makefile.am:
11204         * tests/examples/xml/createxml.c: (object_saved), (main):
11205         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11206         * tests/old/examples/Makefile.am:
11207         * tests/old/examples/TODO:
11208         * tests/old/examples/controller/.cvsignore:
11209         * tests/old/examples/controller/Makefile.am:
11210         * tests/old/examples/controller/audio-example.c:
11211         * tests/old/examples/helloworld/.cvsignore:
11212         * tests/old/examples/helloworld/Makefile.am:
11213         * tests/old/examples/helloworld/helloworld.c:
11214         * tests/old/examples/launch/.cvsignore:
11215         * tests/old/examples/launch/Makefile.am:
11216         * tests/old/examples/launch/mp3parselaunch.c:
11217         * tests/old/examples/launch/mp3play:
11218         * tests/old/examples/manual/Makefile.am:
11219         * tests/old/examples/metadata/Makefile.am:
11220         * tests/old/examples/metadata/read-metadata.c:
11221         * tests/old/examples/queue/.cvsignore:
11222         * tests/old/examples/queue/Makefile.am:
11223         * tests/old/examples/queue/queue.c:
11224         * tests/old/examples/typefind/.cvsignore:
11225         * tests/old/examples/typefind/Makefile.am:
11226         * tests/old/examples/typefind/typefind.c:
11227         * tests/old/examples/xml/.cvsignore:
11228         * tests/old/examples/xml/Makefile.am:
11229         * tests/old/examples/xml/createxml.c:
11230         * tests/old/examples/xml/runxml.c:
11231           applied some simple fixing to some examples
11232           re-enabled the working examples
11233
11234 2005-12-12  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstsegment.c: (gst_segment_init),
11237         (gst_segment_set_last_stop), (gst_segment_set_seek),
11238         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11239         (gst_segment_to_running_time):
11240         Added more documentation.
11241         Make sure the last_pos value is updated properly.
11242         Make sure to_stream_time and to_running_time don't
11243         operate on wrong values.
11244
11245         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11246         Update check.
11247
11248 2005-12-12  Michael Smith  <msmith@fluendo.com>
11249
11250         * plugins/elements/gsttypefindelement.c: (free_entry),
11251         (gst_type_find_element_chain):
11252           Now that we're not leaking factories, make sure we keep references
11253           to them while we need them.
11254
11255 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11256
11257         * tests/check/gst/struct_i386.h:
11258           ifdef out the XML structs
11259
11260 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11261
11262         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11263           floor is not needed, F is always positive; this obviates the
11264           need for adding -lm when building without libxml
11265
11266 2005-12-12  Wim Taymans  <wim@fluendo.com>
11267
11268         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11269         Take current playback rate into account when reporting
11270         the position.
11271
11272 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11273
11274         * docs/manual/mime-world.fig:
11275           Let's try this again, this time with a file that is
11276           actually in XFig format.
11277
11278 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11279
11280         * docs/manual/mime-world.fig:
11281           Add audioconvert element to diagram so that it
11282           matches the text and the code (fixes #319526).
11283
11284 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11285
11286         * docs/pwg/building-chainfn.xml:
11287         * docs/pwg/building-pads.xml:
11288         * docs/pwg/building-state.xml:
11289         * docs/pwg/other-source.xml:
11290           Update state change stuff for 0.10 (fixes #322969).
11291
11292 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11293
11294         * docs/manual/advanced-dataaccess.xml:
11295         * docs/manual/appendix-checklist.xml:
11296         * docs/manual/appendix-programs.xml:
11297         * docs/manual/basics-pads.xml:
11298         * docs/manual/highlevel-components.xml:
11299         * docs/manual/manual.xml:
11300           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11301           add converters in front of pipelines; remove curly
11302           brackets for threads stuff, they no longer exist; use
11303           GST_TYPE_FRACTION for framerates; update some pieces of
11304           code to 0.10, but there's plenty more to do.
11305
11306         * docs/manual/appendix-porting.xml:
11307           Expand on asynchroneous state changes; s/0.9/0.10/;
11308           mention disappearance of gst_init_get_popt_table()
11309           (fixes #322916).
11310
11311 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11312
11313         * docs/faq/using.xml:
11314           Spider no longer exists, and neither does gst-launch-ext.
11315           Update examples to use decodebin and playbin and put
11316           converters in front of sinks (fixes #323726).
11317
11318 2005-12-09  Michael Smith  <msmith@fluendo.com>
11319
11320         * plugins/elements/gsttypefindelement.c: (find_peek),
11321         (gst_type_find_element_chain):
11322           Fix leaking element factories in typefinding.
11323           Fix problem where we forgot about a probable type on non-seekable
11324           files, and thus later mis-typefound it.
11325
11326 2005-12-09  Michael Smith  <msmith@fluendo.com>
11327
11328         * common/m4/gst-makecontext.m4:
11329         * common/m4/gst-mcsc.m4:
11330         * configure.ac:
11331         * win32/common/config.h:
11332         * win32/common/config.h.in:
11333           Remove makecontext stuff; not used in 0.10 and causes problems on
11334           HPUX according to bug #322441
11335
11336 2005-12-07  Wim Taymans  <wim@fluendo.com>
11337
11338         * tests/check/Makefile.am:
11339         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11340         (main):
11341         * tests/check/libs/struct_i386.h:
11342         Added ABI check for libs
11343
11344 2005-12-07  Wim Taymans  <wim@fluendo.com>
11345
11346         * tests/check/Makefile.am:
11347         And add the struct_i386.h to dist.
11348
11349 2005-12-07  Wim Taymans  <wim@fluendo.com>
11350
11351         * tests/check/Makefile.am:
11352         * tests/check/gst/.cvsignore:
11353         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11354         (main):
11355         * tests/check/gst/struct_i386.h:
11356         Added check for ABI compatibility.
11357
11358 2005-12-07  Wim Taymans  <wim@fluendo.com>
11359
11360         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11361         (gst_fake_src_get_times), (gst_fake_src_create):
11362         Fix broken sync option, fixes #323259
11363
11364 2005-12-07  Wim Taymans  <wim@fluendo.com>
11365
11366         * gst/gstbuffer.c:
11367         Small docs update.
11368
11369         * gst/gstcaps.c: (gst_caps_is_equal):
11370         Don't assert on NULL <--> X. Fixes #323260
11371
11372         * gst/gstminiobject.c: (gst_mini_object_replace):
11373         If we're doing atomic operations, we might just as well use
11374         the proper way to get an atomic pointer.
11375
11376         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11377         Clean up debugging.
11378
11379 2005-12-07  Michael Smith  <msmith@fluendo.com>
11380
11381         * gst/parse/grammar.y:
11382           Remove handling of { } for threads.
11383
11384 2005-12-06  David Schleef  <ds@schleef.org>
11385
11386         * libs/gst/base/gstbasetransform.c: speling fix.
11387
11388 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11389
11390         * docs/libs/tmpl/gstdataprotocol.sgml:
11391         * docs/random/omega/testing/gstobject.c:
11392         * gst/gst.c:
11393         * gst/gstclock.c:
11394         * gst/gstelement.c:
11395         * gst/gstelementfactory.c:
11396         * gst/gsterror.c:
11397         * gst/gstevent.c:
11398         * gst/gstghostpad.c:
11399         * gst/gstinfo.c:
11400         * gst/gstpadtemplate.c:
11401         * gst/gstregistryxml.c:
11402         * gst/gsttaglist.c:
11403         * gst/gsttagsetter.c:
11404         * gst/gsttypefind.c:
11405         * gst/gstvalue.c:
11406         * libs/gst/base/gstbasesrc.c:
11407         * libs/gst/net/gstnetclientclock.c:
11408         * libs/gst/net/gstnettimeprovider.c:
11409         * plugins/elements/gstfakesrc.c:
11410         * plugins/elements/gstfdsrc.c:
11411         * plugins/elements/gstfilesrc.c:
11412         * plugins/elements/gstidentity.c:
11413         * plugins/elements/gstqueue.c:
11414         * plugins/elements/gsttypefindelement.c:
11415         * plugins/indexers/gstfileindex.c:
11416         * plugins/indexers/gstmemindex.c:
11417         * tests/check/gst/gsttag.c:
11418         * tests/old/examples/cutter/cutter.c:
11419         * tests/old/examples/mixer/mixer.c:
11420         * tests/old/examples/xml/runxml.c: (main):
11421         * tests/old/testsuite/caps/normalisation.c:
11422         * tests/old/testsuite/debug/global.c:
11423         * tests/old/testsuite/parse/parse1.c:
11424         * tools/gst-xmlinspect.c:
11425         * win32/common/dirent.c:
11426           expand tabs
11427
11428 === release 0.10.0 ===
11429
11430 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11431
11432         * configure.ac:
11433           releasing 0.10.0, "Maroilles"
11434
11435 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11436
11437         submitted by: Funda Wang <fundawang@linux.net.cn>
11438
11439         * po/LINGUAS:
11440         * po/zh_CN.po:
11441           added Chinese (Traditional) translation
11442
11443 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11444
11445         * docs/gst/gstreamer-sections.txt:
11446         * docs/libs/tmpl/gstdataprotocol.sgml:
11447         * docs/random/thomasvs/TODO:
11448         * gst/gstutils.c:
11449         * gst/gstutils.h:
11450           fix docs
11451
11452 2005-12-05  Andy Wingo  <wingo@pobox.com>
11453
11454         patch by: Wim Taymans <wim@fluendo.com>
11455
11456         * libs/gst/base/gstbasetransform.c
11457         (gst_base_transform_prepare_output_buf)
11458         (gst_base_transform_buffer_alloc):
11459         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11460         alloc_buffer_and_set_caps.
11461
11462         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11463         set_caps on the source pad.
11464         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11465         alloc_buffer used to do. Fixes #322874.
11466
11467         * docs/gst/gstreamer-sections.txt: 
11468         * docs/design/part-negotiation.txt: 
11469         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11470         changes.
11471
11472 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11473
11474         patch by: Sebastien Moutte
11475
11476         * win32/MANIFEST:
11477         * win32/common/config.h.in:
11478         * win32/vs6/libgstcontroller.dsp:
11479           win32 build fixes
11480
11481 2005-12-05  Wim Taymans  <wim@fluendo.com>
11482
11483         * gst/gstcaps.c: (gst_caps_is_equal):
11484         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11485         (gst_fake_src_create):
11486         Back out previous code changes, leave doc updates, file bugs 
11487         instead. 
11488
11489 2005-12-05  Wim Taymans  <wim@fluendo.com>
11490
11491         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11492         (gst_fake_src_get_times), (gst_fake_src_create):
11493         * plugins/elements/gstfakesrc.h:
11494         Fix broken sync code.
11495
11496 2005-12-05  Wim Taymans  <wim@fluendo.com>
11497
11498         * gst/gstcaps.c: (gst_caps_is_equal):
11499         Comparing NULL against !NULL yields different caps, not a
11500         failure.
11501
11502 2005-12-05  Wim Taymans  <wim@fluendo.com>
11503
11504         * gst/gstpipeline.c:
11505         Fix small typo in docs.
11506
11507 2005-12-05  Andy Wingo  <wingo@pobox.com>
11508
11509         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11510
11511         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11512         registries/plugins with a MAJORMINOR one.
11513         (plugin_desc): Rename library from gstcoreleements to
11514         staticelements. Fixes #323222.
11515
11516 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11517
11518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11519           Change debug category to 'collectpads' from 'collect_pads'
11520           (fixes #323250).
11521
11522 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11523
11524         patch by: Sebastien Moutte
11525
11526         * libs/gst/controller/gstinterpolation.c:
11527           use convert function for uint64/double
11528         * win32/vs6/libgstcontroller.dsp:
11529           link to GLib
11530
11531 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11532
11533         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11534         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11535         * gst/gstutils.h:
11536         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11537           add tests that seem to show that the guint64/gdouble conversions
11538           are correct.
11539
11540 2005-12-02  Wim Taymans  <wim@fluendo.com>
11541
11542         * gst/gstregistry.c: (gst_registry_add_path):
11543         * gst/gstregistry.h:
11544         * gst/gstregistryxml.c:
11545         Fix docs again.
11546
11547 2005-12-02  Wim Taymans  <wim@fluendo.com>
11548
11549         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11550         (gst_util_uint64_scale_int):
11551         Small cleanup.
11552
11553         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11554         Add debug log line.
11555
11556         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11557         Add FIXME.
11558
11559 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11560
11561         * win32/MANIFEST:
11562         * win32/common/config.h:
11563         * win32/vs6/gstreamer.dsw:
11564         * win32/vs6/libgstcoreelements.dsp:
11565         * win32/vs6/libgstelements.dsp:
11566           renamed core elements plugin
11567
11568 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11569
11570         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11571         (get_candidates):
11572           do piece-wise major/minor comparison so 0.9 < 0.10
11573           also allow .exe extensions for tools
11574
11575 2005-12-02  Michael Smith  <msmith@fluendo.com>
11576
11577         * gst/gst.c:
11578           Escape a % to make gtkdoc happier; bug 322958.
11579
11580 === release 0.9.7 ===
11581
11582 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11583
11584         * configure.ac:
11585           releasing 0.9.7, "My Dog Has No Nose"
11586
11587 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11588
11589         * common/gst-xmlinspect.py:
11590         * configure.ac:
11591         * docs/libs/tmpl/gstdataprotocol.sgml:
11592         * docs/random/release:
11593         * po/af.po:
11594         * po/az.po:
11595         * po/bg.po:
11596         * po/ca.po:
11597         * po/cs.po:
11598         * po/de.po:
11599         * po/en_GB.po:
11600         * po/fr.po:
11601         * po/it.po:
11602         * po/nb.po:
11603         * po/nl.po:
11604         * po/ru.po:
11605         * po/sq.po:
11606         * po/sr.po:
11607         * po/sv.po:
11608         * po/tr.po:
11609         * po/uk.po:
11610         * po/vi.po:
11611         * win32/common/config.h:
11612         * win32/common/config.h.in:
11613         * win32/vs6/gst_inspect.dsp:
11614         * win32/vs6/gst_launch.dsp:
11615         * win32/vs6/libgstbase.dsp:
11616         * win32/vs6/libgstelements.dsp:
11617         * win32/vs6/libgstreamer.dsp:
11618         * win32/vs7/GStreamer.vcproj:
11619         * win32/vs7/gst-inspect.vcproj:
11620         * win32/vs7/gst-launch.vcproj:
11621         * win32/vs7/libgstbase.vcproj:
11622           bump GST_MAJORMINOR to 0.10
11623           reset libtool version
11624
11625 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11626
11627         * po/LINGUAS:
11628         * po/bg.po:
11629           Added Bulgarian translation by (Alexander Shopov)
11630
11631 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11632
11633         * tests/check/gst/gstplugin.c:
11634           fix test
11635
11636 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11637
11638         * common/gst-xmlinspect.py:
11639         * common/gtk-doc-plugins.mak:
11640         * configure.ac:
11641         * docs/Makefile.am:
11642         * docs/gst/Makefile.am:
11643         * docs/gst/gstreamer-docs.sgml:
11644         * docs/gst/gstreamer-sections.txt:
11645         * docs/gst/gstreamer.types:
11646         * docs/gst/gstreamer.types.in:
11647         * docs/plugins/Makefile.am:
11648         * docs/plugins/gstreamer-plugins-docs.sgml:
11649         * docs/plugins/gstreamer-plugins-sections.txt:
11650         * docs/plugins/gstreamer-plugins.types:
11651         * docs/plugins/inspect.stamp:
11652         * docs/plugins/inspect/plugin-coreelements.xml:
11653         * docs/plugins/inspect/plugin-coreindexers.xml:
11654         * docs/plugins/scanobj-build.stamp:
11655         * gstreamer.spec.in:
11656         * plugins/elements/Makefile.am:
11657         * plugins/elements/gstelements.c:
11658         * plugins/elements/gstfakesink.c:
11659         * plugins/elements/gstfakesrc.c:
11660         * plugins/elements/gstfilesink.c:
11661         * plugins/elements/gstfilesrc.c:
11662         * plugins/elements/gstqueue.c:
11663         * plugins/indexers/Makefile.am:
11664         * plugins/indexers/gstindexers.c:
11665           document core plugins in a separate document just like all the
11666           others
11667           rename these plugins to something starting with core
11668
11669 2005-12-01  Andy Wingo  <wingo@pobox.com>
11670
11671         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11672         padding here before, but it missed the commit.
11673
11674 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11675
11676         * libs/gst/controller/gstinterpolation.c:
11677           whitespace prices have crashed, we should feel free to use some now
11678           use gst_guint64_to_gdouble
11679
11680 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11681
11682         * libs/gst/controller/gstcontroller.c:
11683         * libs/gst/controller/gsthelper.c:
11684         * libs/gst/controller/gstinterpolation.c:
11685         * libs/gst/controller/lib.c:
11686           wrap config.h include
11687
11688 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11689
11690         * docs/gst/gstreamer-sections.txt:
11691           update docs
11692
11693 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11694
11695         * plugins/elements/gstelements.c:
11696         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11697         (gst_fd_sink__class_init), (gst_fd_sink__init),
11698         (gst_fd_sink__chain), (gst_fd_sink__set_property),
11699         (gst_fd_sink__get_property):
11700         * plugins/elements/gstfdsink.h:
11701         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11702         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11703         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11704         (gst_fd_src_unlock), (gst_fd_src_set_property),
11705         (gst_fd_src_get_property), (gst_fd_src_create),
11706         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11707         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11708         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11709         (gst_fd_src_uri_handler_init):
11710         * plugins/elements/gstfdsrc.h:
11711         * plugins/elements/gstqueue.c: (gst_queue_get_type):
11712           more anal cleanup
11713
11714 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11715
11716         * docs/gst/Makefile.am:
11717         * docs/gst/gstreamer.types.in:
11718         * gst/Makefile.am:
11719           fix the docs build
11720
11721 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11722
11723         * configure.ac:
11724         * gst/Makefile.am:
11725         * gst/gst.c:
11726         * gst/gstplugin.h:
11727         * gst/gstregistry.h:
11728         * tests/benchmarks/complexity.c:
11729         * tests/benchmarks/mass-elements.c:
11730         * tests/check/Makefile.am:
11731         * tools/Makefile.am:
11732         * tools/gst-inspect.c:
11733         * tools/gst-xmlinspect.c:
11734           various fixes to make
11735           --disable-nls --disable-registry --disable-loadsave
11736           --disable-parse --disable-gst-debug
11737           work and get the core .so down to 360444 bytes after stripping
11738
11739 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11740
11741         * Makefile.am:
11742         * configure.ac:
11743           descend into tests
11744         * docs/random/thomasvs/TODO:
11745         * tests/Makefile.am:
11746         * tests/README:
11747           add a README
11748
11749 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11750
11751         * win32/GStreamer.vcproj:
11752         * win32/MANIFEST:
11753         * win32/Makefile:
11754         * win32/Makefile.inspect:
11755         * win32/Makefile.launch:
11756         * win32/Makefile.register:
11757         * win32/README.txt:
11758         * win32/gst-inspect.vcproj:
11759         * win32/gst-launch.vcproj:
11760         * win32/gst-register.vcproj:
11761         * win32/gstelements.vcproj:
11762         * win32/gstgetbits.def:
11763         * win32/gstgetbits.vcproj:
11764         * win32/gstreamer-dbg.def:
11765         * win32/gstreamer.def:
11766         * win32/libgstbase.def:
11767         * win32/libgstbase.vcproj:
11768         * win32/link_oldruntime.c:
11769         * win32/mman.c:
11770         * win32/mman.h:
11771         * win32/mman.inl:
11772         * win32/msvc71.sln:
11773           move even more stuff, win32/ is nice and clean now
11774
11775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11776
11777         * libs/gst/control/.cvsignore:
11778         * win32/MANIFEST:
11779         * win32/config.h:
11780         * win32/dirent.c:
11781         * win32/dirent.h:
11782         * win32/gstbytestream.def:
11783         * win32/gstbytestream.vcproj:
11784         * win32/gstconfig.h:
11785         * win32/gstenumtypes.c:
11786         * win32/gstenumtypes.h:
11787         * win32/gstoptimalscheduler.vcproj:
11788         * win32/gstversion.h:
11789         * win32/gtchar.h:
11790         * win32/testsuite/bins.vcproj:
11791         * win32/testsuite/bytestream.vcproj:
11792         * win32/testsuite/caps.vcproj:
11793         * win32/testsuite/cleanup.vcproj:
11794         * win32/testsuite/clock.vcproj:
11795         * win32/testsuite/debug.vcproj:
11796         * win32/testsuite/dlopen.vcproj:
11797         * win32/testsuite/dynparams.vcproj:
11798         * win32/testsuite/elements.vcproj:
11799         * win32/testsuite/ghostpads.vcproj:
11800         * win32/testsuite/indexers.vcproj:
11801         * win32/testsuite/negotiation.vcproj:
11802         * win32/testsuite/parse.vcproj:
11803         * win32/testsuite/plugin.vcproj:
11804         * win32/testsuite/refcounting.vcproj:
11805         * win32/testsuite/schedulers.vcproj:
11806         * win32/testsuite/states.vcproj:
11807         * win32/testsuite/tags.vcproj:
11808         * win32/testsuite/threads.vcproj:
11809           remove old win32 stuff that isn't maintained and should be
11810           reorganized
11811
11812 2005-11-30  Andy Wingo  <wingo@pobox.com>
11813
11814         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11815         loading the gst.interfaces python module bork.
11816
11817         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11818         available since GLib 2.2. Fixes #318031.
11819
11820 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11821
11822         * Makefile.am:
11823         * check/.cvsignore:
11824         * check/Makefile.am:
11825         * check/elements/.cvsignore:
11826         * check/elements/fakesrc.c:
11827         * check/elements/fdsrc.c:
11828         * check/elements/identity.c:
11829         * check/generic/.cvsignore:
11830         * check/generic/states.c:
11831         * check/gst-libs/.cvsignore:
11832         * check/gst-libs/controller.c:
11833         * check/gst-libs/gdp.c:
11834         * check/gst/.cvsignore:
11835         * check/gst/capslist.h:
11836         * check/gst/gst.c:
11837         * check/gst/gstbin.c:
11838         * check/gst/gstbuffer.c:
11839         * check/gst/gstbus.c:
11840         * check/gst/gstcaps.c:
11841         * check/gst/gstelement.c:
11842         * check/gst/gstevent.c:
11843         * check/gst/gstghostpad.c:
11844         * check/gst/gstiterator.c:
11845         * check/gst/gstmessage.c:
11846         * check/gst/gstminiobject.c:
11847         * check/gst/gstobject.c:
11848         * check/gst/gstpad.c:
11849         * check/gst/gstpipeline.c:
11850         * check/gst/gstplugin.c:
11851         * check/gst/gstsegment.c:
11852         * check/gst/gststructure.c:
11853         * check/gst/gstsystemclock.c:
11854         * check/gst/gsttag.c:
11855         * check/gst/gstutils.c:
11856         * check/gst/gstvalue.c:
11857         * check/net/.cvsignore:
11858         * check/net/gstnetclientclock.c:
11859         * check/net/gstnettimeprovider.c:
11860         * check/pipelines/.cvsignore:
11861         * check/pipelines/cleanup.c:
11862         * check/pipelines/simple_launch_lines.c:
11863         * check/pipelines/stress.c:
11864         * check/states/.cvsignore:
11865         * check/states/sinks.c:
11866         * configure.ac:
11867         * examples/Makefile.am:
11868         * examples/appreader/.cvsignore:
11869         * examples/appreader/Makefile.am:
11870         * examples/appreader/appreader.c:
11871         * examples/controller/.cvsignore:
11872         * examples/controller/Makefile.am:
11873         * examples/controller/audio-example.c:
11874         * examples/cutter/.cvsignore:
11875         * examples/cutter/Makefile.am:
11876         * examples/cutter/cutter.c:
11877         * examples/cutter/cutter.h:
11878         * examples/events/Makefile.am:
11879         * examples/events/seek.c:
11880         * examples/helloworld/.cvsignore:
11881         * examples/helloworld/Makefile.am:
11882         * examples/helloworld/helloworld.c:
11883         * examples/helloworld2/.cvsignore:
11884         * examples/helloworld2/Makefile.am:
11885         * examples/helloworld2/helloworld2.c:
11886         * examples/launch/.cvsignore:
11887         * examples/launch/Makefile.am:
11888         * examples/launch/mp3parselaunch.c:
11889         * examples/launch/mp3play:
11890         * examples/manual/.cvsignore:
11891         * examples/manual/Makefile.am:
11892         * examples/manual/extract.pl:
11893         * examples/metadata/Makefile.am:
11894         * examples/metadata/read-metadata.c:
11895         * examples/mixer/.cvsignore:
11896         * examples/mixer/Makefile.am:
11897         * examples/mixer/mixer.c:
11898         * examples/mixer/mixer.h:
11899         * examples/pingpong/.cvsignore:
11900         * examples/pingpong/Makefile.am:
11901         * examples/pingpong/pingpong.c:
11902         * examples/plugins/.cvsignore:
11903         * examples/plugins/Makefile.am:
11904         * examples/plugins/example.c:
11905         * examples/plugins/example.h:
11906         * examples/pwg/.cvsignore:
11907         * examples/pwg/Makefile.am:
11908         * examples/pwg/extract.pl:
11909         * examples/queue/.cvsignore:
11910         * examples/queue/Makefile.am:
11911         * examples/queue/queue.c:
11912         * examples/queue2/.cvsignore:
11913         * examples/queue2/Makefile.am:
11914         * examples/queue2/queue2.c:
11915         * examples/queue3/.cvsignore:
11916         * examples/queue3/Makefile.am:
11917         * examples/queue3/queue3.c:
11918         * examples/queue4/.cvsignore:
11919         * examples/queue4/Makefile.am:
11920         * examples/queue4/queue4.c:
11921         * examples/retag/.cvsignore:
11922         * examples/retag/Makefile.am:
11923         * examples/retag/retag.c:
11924         * examples/retag/transcode.c:
11925         * examples/thread/.cvsignore:
11926         * examples/thread/Makefile.am:
11927         * examples/thread/thread.c:
11928         * examples/typefind/.cvsignore:
11929         * examples/typefind/Makefile.am:
11930         * examples/typefind/typefind.c:
11931         * examples/xml/.cvsignore:
11932         * examples/xml/Makefile.am:
11933         * examples/xml/createxml.c:
11934         * examples/xml/runxml.c:
11935         * tests/Makefile.am:
11936         * tests/check/Makefile.am:
11937         * testsuite/.cvsignore:
11938         * testsuite/Makefile.am:
11939         * testsuite/Rules:
11940         * testsuite/caps/.cvsignore:
11941         * testsuite/caps/Makefile.am:
11942         * testsuite/caps/app_fixate.c:
11943         * testsuite/caps/audioscale.c:
11944         * testsuite/caps/caps.c:
11945         * testsuite/caps/caps.h:
11946         * testsuite/caps/caps_strings:
11947         * testsuite/caps/compatibility.c:
11948         * testsuite/caps/deserialize.c:
11949         * testsuite/caps/enumcaps.c:
11950         * testsuite/caps/eratosthenes.c:
11951         * testsuite/caps/filtercaps.c:
11952         * testsuite/caps/fixed.c:
11953         * testsuite/caps/fraction-convert.c:
11954         * testsuite/caps/fraction-multiply-and-zero.c:
11955         * testsuite/caps/intersect2.c:
11956         * testsuite/caps/intersection.c:
11957         * testsuite/caps/normalisation.c:
11958         * testsuite/caps/random.c:
11959         * testsuite/caps/renegotiate.c:
11960         * testsuite/caps/sets.c:
11961         * testsuite/caps/simplify.c:
11962         * testsuite/caps/string-conversions.c:
11963         * testsuite/caps/structure.c:
11964         * testsuite/caps/subtract.c:
11965         * testsuite/caps/union.c:
11966         * testsuite/debug/.cvsignore:
11967         * testsuite/debug/Makefile.am:
11968         * testsuite/debug/category.c:
11969         * testsuite/debug/commandline.c:
11970         * testsuite/debug/global.c:
11971         * testsuite/debug/output.c:
11972         * testsuite/debug/printf_extension.c:
11973         * testsuite/dlopen/.cvsignore:
11974         * testsuite/dlopen/Makefile.am:
11975         * testsuite/dlopen/dlopen_gst.c:
11976         * testsuite/dlopen/loadgst.c:
11977         * testsuite/elements/.cvsignore:
11978         * testsuite/elements/Makefile.am:
11979         * testsuite/elements/gst-inspect-check.in:
11980         * testsuite/elements/struct_i386.h:
11981         * testsuite/elements/struct_size.c:
11982         * testsuite/indexers/.cvsignore:
11983         * testsuite/indexers/Makefile.am:
11984         * testsuite/indexers/cache1.c:
11985         * testsuite/indexers/indexdump.c:
11986         * testsuite/parse/.cvsignore:
11987         * testsuite/parse/Makefile.am:
11988         * testsuite/parse/parse1.c:
11989         * testsuite/parse/parse2.c:
11990         * testsuite/plugin/.cvsignore:
11991         * testsuite/plugin/Makefile.am:
11992         * testsuite/plugin/README:
11993         * testsuite/plugin/dynamic.c:
11994         * testsuite/plugin/linked.c:
11995         * testsuite/plugin/loading.c:
11996         * testsuite/plugin/registry.c:
11997         * testsuite/plugin/static.c:
11998         * testsuite/plugin/static2.c:
11999         * testsuite/plugin/testplugin.c:
12000         * testsuite/plugin/testplugin2.c:
12001         * testsuite/plugin/testplugin2_s.c:
12002         * testsuite/plugin/testplugin_s.c:
12003         * testsuite/refcounting/.cvsignore:
12004         * testsuite/refcounting/Makefile.am:
12005         * testsuite/refcounting/bin.c:
12006         * testsuite/refcounting/element.c:
12007         * testsuite/refcounting/element_pad.c:
12008         * testsuite/refcounting/mainloop.c:
12009         * testsuite/refcounting/mem.c:
12010         * testsuite/refcounting/mem.h:
12011         * testsuite/refcounting/object.c:
12012         * testsuite/refcounting/pad.c:
12013         * testsuite/refcounting/sched.c:
12014         * testsuite/refcounting/thread.c:
12015         * testsuite/states/.cvsignore:
12016         * testsuite/states/Makefile.am:
12017         * testsuite/states/bin.c:
12018         * testsuite/states/locked.c:
12019         * testsuite/states/parent.c:
12020         * testsuite/threads/.cvsignore:
12021         * testsuite/threads/159566.c:
12022         * testsuite/threads/159852.c:
12023         * testsuite/threads/Makefile.am:
12024         * testsuite/threads/queue.c:
12025         * testsuite/threads/signals.c:
12026         * testsuite/threads/staticrec.c:
12027         * testsuite/threads/thread.c:
12028         * testsuite/threads/threadb.c:
12029         * testsuite/threads/threadc.c:
12030         * testsuite/threads/threadd.c:
12031         * testsuite/threads/threade.c:
12032         * testsuite/threads/threadf.c:
12033         * testsuite/threads/threadg.c:
12034         * testsuite/threads/threadh.c:
12035         * testsuite/threads/threadi.c:
12036           move all of these under tests
12037
12038 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12039
12040         * configure.ac:
12041         * tests/Makefile.am:
12042           fix distcheck
12043
12044 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12045
12046         * docs/gst/gstreamer-sections.txt:
12047         * tests/sched/.cvsignore:
12048         * tests/sched/Makefile.am:
12049         * tests/sched/cases/(fs-fs).xml:
12050         * tests/sched/cases/(fs-i-fs).xml:
12051         * tests/sched/cases/(fs-i-i-fs).xml:
12052         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12053         * tests/sched/dynamic-pipeline.c:
12054         * tests/sched/interrupt1.c:
12055         * tests/sched/interrupt2.c:
12056         * tests/sched/interrupt3.c:
12057         * tests/sched/runtestcases:
12058         * tests/sched/runxml.c:
12059         * tests/sched/sched-stress.c:
12060         * tests/sched/sort.c:
12061         * tests/sched/testcases:
12062         * tests/sched/testcases1.tc:
12063         * tests/seeking/.cvsignore:
12064         * tests/seeking/Makefile.am:
12065         * tests/seeking/seeking1.c:
12066         * tests/threadstate/.cvsignore:
12067         * tests/threadstate/Makefile.am:
12068         * tests/threadstate/test1.c:
12069         * tests/threadstate/test2.c:
12070         * tests/threadstate/threadstate1.c:
12071         * tests/threadstate/threadstate2.c:
12072         * tests/threadstate/threadstate3.c:
12073         * tests/threadstate/threadstate4.c:
12074         * tests/threadstate/threadstate5.c:
12075           remove obsolete tests
12076         * configure.ac:
12077         * tests/bench-complexity.scm:
12078         * tests/bench-mass_elements.scm:
12079         * tests/complexity.c:
12080         * tests/complexity.gnuplot:
12081         * tests/instantiate/.cvsignore:
12082         * tests/instantiate/Makefile.am:
12083         * tests/instantiate/caps.c:
12084         * tests/mass_elements.c:
12085         * tests/network-clock-utils.scm:
12086         * tests/network-clock.scm:
12087         * tests/plot-data:
12088         First pass at cleaning up tests/ dir before moving the rest
12089         Combined with CVS surgery
12090
12091 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12092
12093         * po/POTFILES.in:
12094           queue has moved, update
12095
12096 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12097
12098         * docs/gst/gstreamer-sections.txt:
12099           remove double entries from the docs
12100         * gst/gst_private.h:
12101         * gst/gstinfo.c: (_gst_debug_init):
12102           remove the THREAD debug category
12103         * gst/Makefile.am:
12104         * gst/gstqueue.c:
12105         * gst/gstqueue.h:
12106         * docs/gst/gstreamer.types:
12107         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12108         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12109           completely move queue and fix up debugging categories
12110
12111 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12112
12113         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12114           make initialization portable, using LL is not
12115
12116 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12117
12118         * win32/common/gstconfig.h:
12119           add large padding
12120
12121 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12122
12123         * win32/common/libgstreamer.def:
12124           rename symbols; sort base section
12125
12126 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12127
12128         * gst/gstclock.c: (do_linear_regression):
12129           remove crack non-portable handrolled DEBUG macro
12130
12131 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12132
12133         * docs/random/release:
12134           update notes
12135         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12136         (gst_object_flags_get_type), (register_gst_bin_flags),
12137         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12138         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12139         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12140         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12141         (gst_caps_flags_get_type), (register_gst_clock_return),
12142         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12143         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12144         (gst_clock_flags_get_type), (register_gst_state),
12145         (gst_state_get_type), (register_gst_state_change_return),
12146         (gst_state_change_return_get_type), (register_gst_state_change),
12147         (gst_state_change_get_type), (register_gst_element_flags),
12148         (gst_element_flags_get_type), (register_gst_core_error),
12149         (gst_core_error_get_type), (register_gst_library_error),
12150         (gst_library_error_get_type), (register_gst_resource_error),
12151         (gst_resource_error_get_type), (register_gst_stream_error),
12152         (gst_stream_error_get_type), (register_gst_event_type_flags),
12153         (gst_event_type_flags_get_type), (register_gst_event_type),
12154         (gst_event_type_get_type), (register_gst_seek_type),
12155         (gst_seek_type_get_type), (register_gst_seek_flags),
12156         (gst_seek_flags_get_type), (register_gst_format),
12157         (gst_format_get_type), (register_gst_index_certainty),
12158         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12159         (gst_index_entry_type_get_type),
12160         (register_gst_index_lookup_method),
12161         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12162         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12163         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12164         (gst_index_flags_get_type), (register_gst_debug_level),
12165         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12166         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12167         (gst_iterator_result_get_type), (register_gst_iterator_item),
12168         (gst_iterator_item_get_type), (register_gst_message_type),
12169         (gst_message_type_get_type), (register_gst_mini_object_flags),
12170         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12171         (gst_pad_link_return_get_type), (register_gst_flow_return),
12172         (gst_flow_return_get_type), (register_gst_activate_mode),
12173         (gst_activate_mode_get_type), (register_gst_pad_direction),
12174         (gst_pad_direction_get_type), (register_gst_pad_flags),
12175         (gst_pad_flags_get_type), (register_gst_pad_presence),
12176         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12177         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12178         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12179         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12180         (gst_plugin_flags_get_type), (register_gst_rank),
12181         (gst_rank_get_type), (register_gst_query_type),
12182         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12183         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12184         (gst_tag_flag_get_type), (register_gst_task_state),
12185         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12186         (gst_alloc_trace_flags_get_type),
12187         (register_gst_type_find_probability),
12188         (gst_type_find_probability_get_type), (register_gst_uri_type),
12189         (gst_uri_type_get_type), (register_gst_parse_error),
12190         (gst_parse_error_get_type):
12191         * win32/common/gstenumtypes.h:
12192         * win32/common/gstversion.h:
12193           update visual studio generated files
12194
12195 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12196
12197         * win32/vs6/libgstbase.dsp:
12198         * win32/vs6/libgstelements.dsp:
12199           update project files for new locations
12200
12201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12202
12203         * Makefile.am:
12204           remove some files
12205         * README:
12206           reinstate and update
12207         * DEVEL:
12208         * REQUIREMENTS:
12209           removed
12210         * LICENSE:
12211         * docs/random/LICENSE:
12212           moved to random
12213
12214 2005-11-30  Edward Hervey  <edward@fluendo.com>
12215
12216         * gst/gsttypefind.c: (gst_type_find_register):
12217         * gst/gsttypefind.h:
12218         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12219         (gst_type_find_factory_dispose):
12220         * gst/gsttypefindfactory.h:
12221         Fix memory leak in GstTypeFindFactory.
12222
12223 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12224
12225         * gst/gst.c:
12226         * plugins/elements/Makefile.am:
12227         * plugins/elements/gstelements.c:
12228         * plugins/elements/gstqueue.c:
12229           move queue from core to the elements plugin
12230
12231 2005-11-29  Andy Wingo  <wingo@pobox.com>
12232
12233         * libs/gst/base/gstbasetransform.h: 
12234         * libs/gst/base/gstbasesrc.h: 
12235         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12236
12237         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12238         of pointers by which to pad very extensible base classes (like the
12239         ones in libs/gst/base).
12240
12241 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12242
12243         * docs/gst/gstreamer-docs.sgml:
12244         * docs/gst/gstreamer-sections.txt:
12245         * docs/libs/gstreamer-libs-docs.sgml:
12246         * docs/libs/gstreamer-libs-sections.txt:
12247           moving documentation from core to lib
12248
12249 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12250
12251         * check/Makefile.am:
12252         * configure.ac:
12253         * docs/gst/Makefile.am:
12254         * gst/Makefile.am:
12255         * gst/base/.cvsignore:
12256         * gst/base/Makefile.am:
12257         * gst/base/README:
12258         * gst/base/gstadapter.c:
12259         * gst/base/gstadapter.h:
12260         * gst/base/gstbasesink.c:
12261         * gst/base/gstbasesink.h:
12262         * gst/base/gstbasesrc.c:
12263         * gst/base/gstbasesrc.h:
12264         * gst/base/gstbasetransform.c:
12265         * gst/base/gstbasetransform.h:
12266         * gst/base/gstcollectpads.c:
12267         * gst/base/gstcollectpads.h:
12268         * gst/base/gstpushsrc.c:
12269         * gst/base/gstpushsrc.h:
12270         * gst/base/gsttypefindhelper.c:
12271         * gst/base/gsttypefindhelper.h:
12272         * gst/check/Makefile.am:
12273         * gst/check/gstcheck.c:
12274         * gst/check/gstcheck.h:
12275         * gst/net/Makefile.am:
12276         * gst/net/gstnet.h:
12277         * gst/net/gstnetclientclock.c:
12278         * gst/net/gstnetclientclock.h:
12279         * gst/net/gstnettimepacket.c:
12280         * gst/net/gstnettimepacket.h:
12281         * gst/net/gstnettimeprovider.c:
12282         * gst/net/gstnettimeprovider.h:
12283         * libs/gst/Makefile.am:
12284         * libs/gst/base/Makefile.am:
12285         * libs/gst/base/gstbasetransform.c:
12286         * libs/gst/check/Makefile.am:
12287         * plugins/elements/Makefile.am:
12288         * po/POTFILES.in:
12289           CVS surgery + support to move base, check, and net out of gst
12290           and into libs/gst
12291
12292 2005-11-29  Andy Wingo  <wingo@pobox.com>
12293
12294         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12295
12296         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12297         padding.
12298
12299         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12300
12301         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12302
12303         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12304
12305         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12306         padding; reduces object size by about 30%. We don't expect
12307         anything else to go into gstobject.
12308
12309         * gst/gstminiobject.h (struct _GstMiniObject)
12310         (struct _GstMiniObjectClass): Only one pointer of padding; the
12311         payload is only a pointer and two ints anyway. For the class there
12312         are only two methods as well.
12313         
12314         * gst/gstelement.h (struct _GstElementClass): Removed
12315         the state_changed signal callback, it is not used.
12316
12317 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12318
12319         * docs/gst/gstreamer.types:
12320           fix includes, though they are a little dinky
12321
12322 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12323
12324         * check/Makefile.am:
12325           look in the right place for elements, a lot more chance of
12326           success
12327         * gst/Makefile.am:
12328           remove indexers and elements subdirs
12329         * plugins/Makefile.am:
12330           make indexers conditional
12331
12332 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12333
12334         * Makefile.am:
12335         * configure.ac:
12336         * plugins/elements/Makefile.am:
12337         * plugins/elements/gstcapsfilter.c:
12338         * plugins/elements/gstfilesink.c:
12339         * plugins/elements/gstfilesrc.c:
12340         * plugins/elements/gstidentity.c:
12341         * plugins/indexers/Makefile.am:
12342           do CVS surgery and related build fixery to move elements
12343           and indexers in a new gstreamer/plugins directory, out of the
12344           gst/ directory
12345
12346 2005-11-29  Andy Wingo  <wingo@pobox.com>
12347
12348         * check/Makefile.am:
12349         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12350         * pkgconfig/gstreamer-net.pc.in:
12351         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12352         #322257.
12353
12354 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12355
12356         * tools/Makefile.am:
12357         * tools/gst-complete.1.in:
12358         * tools/gst-complete.c:
12359         * tools/gst-compprep.1.in:
12360         * tools/gst-compprep.c:
12361           removing -compprep and -complete
12362
12363 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12364
12365         * gst/gstevent.c: (gst_event_new_new_segment),
12366         (gst_event_parse_new_segment):
12367         * gst/gstevent.h:
12368           fix #320529 - clean up new_segment API and structure.
12369           Let's hope everyone was using the methods, and not the structure.
12370
12371 2005-11-29  Edward Hervey  <edward@fluendo.com>
12372
12373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12374         (gst_base_sink_event), (gst_base_sink_do_sync),
12375         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12376         Properly handle non GST_FORMAT_TIME segment
12377         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12378         Properly handle non GST_FORMAT_TIME segment
12379         * gst/gstsegment.c:
12380         This function is valid if the accumulator is 0 and the format
12381         is different from the requested format.
12382         
12383 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12384
12385         * docs/gst/gstreamer-sections.txt:
12386         Add gst_query_new_seeking and gst_query_parse_seeking to the
12387         docs.
12388
12389 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12390
12391         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12392           Treat a pad alloc with new caps the same as if we were not
12393           negotiated, in order to allow a changing upstream output
12394           to produce a new format of data.
12395
12396 2005-11-29  Edward Hervey  <edward@fluendo.com>
12397
12398         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12399         (gst_base_transform_event), (gst_base_transform_eventfunc):
12400         The event virtual method is now properly implemented, with a default
12401         handler
12402         Sub classes should call the parent_class event method. They should
12403         return FALSE if they had a problem handling the given event, or don't
12404         want GstBaseTransform to send that even downstream
12405         * gst/elements/gstidentity.c: (gst_identity_class_init),
12406         (gst_identity_init), (gst_identity_event),
12407         (gst_identity_transform_ip), (gst_identity_set_property),
12408         (gst_identity_get_property):
12409         * gst/elements/gstidentity.h:
12410         Added the single-segment boolean property.
12411         If set to TRUE, it will output a single segment of data, starting from
12412         0, will eat up all incoming newsegment, and modify the timestamp of the
12413         buffers accordingly
12414
12415 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12416
12417         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12418           Don't ref NULL target pad (#322751). Improve docs.
12419
12420 2005-11-29  Michael Smith  <msmith@fluendo.com>
12421
12422         * gst/gstregistryxml.c: (load_plugin):
12423           Don't crash if we failed to load a feature from a plugin. 
12424
12425 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12426
12427         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12428         (GST_START_TEST):
12429           use more check API and less GLib API
12430
12431 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12432
12433         * Makefile.am:
12434           don't run checks if we don't have check
12435         * common/check.mak:
12436           remove the registry when running make torture
12437         * docs/gst/gstreamer-sections.txt:
12438           remove second multiply
12439         * gst/gstqueue.c: (gst_queue_loop):
12440           fix a compile warning when disabling debug
12441
12442 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12443
12444         * gst/gstinfo.h:
12445         Hey! Let's print the pad name if the pointer != NULL instead
12446         of when it == NULL :-)
12447
12448 2005-11-28  Wim Taymans  <wim@fluendo.com>
12449
12450         * check/gst/gstutils.c: (GST_START_TEST):
12451         Updated check, add some scaling accuracy checking code.
12452
12453         * gst/gstutils.c: (gst_util_div128_64),
12454         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12455         (gst_util_uint64_scale_int):
12456         Fix 6 times faster division code. Optimize for common 
12457         1/1 and less common X/1 cases.
12458
12459 2005-11-28  Wim Taymans  <wim@fluendo.com>
12460
12461         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12462         More checks.
12463
12464         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12465         (do_linear_regression), (gst_clock_add_observation):
12466         Cleanups.
12467         Release lock when the clock cannot be slaved.
12468         Catch the case where the regression returned an invalid denominator.
12469
12470         * gst/gstutils.c: (gst_util_div128_64_iterate),
12471         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12472         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12473         Add protentially more performant non-iterative 128/64 divide function
12474         that unfortunatly does not work yet.
12475         Shortcut the trivial 0/X = 0 case.
12476         Remove the warnings on overflow.
12477
12478 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12479
12480         * gst/gstplugin.c: (gst_plugin_register_func):
12481           everything causing a plugin not to load should be at least a WARNING
12482
12483 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12484
12485         * docs/random/ensonic/dparams.txt:
12486           some TODOs for the next dev cycle
12487         * libs/gst/controller/gstcontroller.c:
12488         (gst_controlled_property_set_interpolation_mode),
12489         (gst_controlled_property_new):
12490         * libs/gst/controller/gstcontroller.h:
12491           use base type to assign acccessor functions
12492
12493 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12494
12495         * check/Makefile.am:
12496         Oops, that should have been top_srcdir
12497
12498 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12499
12500         * check/Makefile.am:
12501         * check/elements/fdsrc.c: (GST_START_TEST):
12502         Use a cmdline define to specify the location of a file to use for
12503         testing, to avoid breaking distcheck.
12504
12505 2005-11-28  Andy Wingo  <wingo@pobox.com>
12506
12507         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12508
12509 2005-11-28  Edward Hervey  <edward@fluendo.com>
12510
12511         * tools/gst-launch.c: (main):
12512         Clarify the output strings, makes it easier to translate.
12513         Fixes #322626
12514
12515 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12516
12517         * gst/Makefile.am:
12518           don't try and build net if we don't even have <sys/socket.h>
12519
12520 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12521
12522         * check/Makefile.am:
12523         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12524         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12525           Add tests for fdsrc seekability
12526
12527         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12528         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12529         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12530         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12531         * gst/elements/gstfdsrc.h:
12532           fdsrc should not be a 'live' source.
12533           Implement seeking on seekable fd's.
12534
12535         * gst/gstquery.c: (gst_query_new_seeking),
12536         (gst_query_parse_seeking):
12537         * gst/gstquery.h:
12538           Implement SEEKING query functions: 
12539             *_new_seeking and *_parse_seeking
12540
12541 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12542
12543         * gst/gstelement.c: (gst_element_dispose):
12544           don't loop forever
12545
12546         * gst/gstiterator.c:
12547         * gst/gststructure.c:
12548           doc fixes
12549
12550         * libs/gst/controller/gstcontroller.c:
12551         (gst_controlled_property_set_interpolation_mode):
12552         * libs/gst/controller/gstcontroller.h:
12553         * libs/gst/controller/gstinterpolation.c:
12554         (interpolate_none_get_enum_value_array):
12555           support controlling enums
12556
12557 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12558
12559         * gst/gstvalue.c:
12560           Improve documentation for gst_value_union().
12561
12562         * gst/gstvalue.h:
12563           Change return value for union, intersect and subtract functions
12564           from gint to gboolean.
12565
12566 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12567
12568         * gst/gstvalue.c: (gst_value_serialize_any_list),
12569         (gst_value_transform_any_list_string),
12570         (gst_value_deserialize_list), (gst_value_deserialize_array),
12571         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12572         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12573         (gst_value_set_fraction_range_full),
12574         (gst_value_deserialize_fraction_range),
12575         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12576         (gst_value_deserialize_boolean),
12577         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12578         (gst_value_serialize_float), (gst_value_deserialize_float),
12579         (gst_string_wrap), (gst_value_deserialize_string),
12580         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12581         (gst_value_union_int_range_int_range),
12582         (gst_value_intersect_int_range_int_range),
12583         (gst_value_intersect_double_range_double_range),
12584         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12585         (gst_value_subtract_int_range_int_range),
12586         (gst_value_subtract_double_double_range),
12587         (gst_value_subtract_double_range_double_range),
12588         (gst_value_deserialize_fraction):
12589         * gst/gstvalue.h:
12590           Use gint, gdouble and gchar in our API instead of int, double and
12591           char (and make usage in gstvalue.c more consistent).
12592
12593 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12594
12595         * check/Makefile.am:
12596         * libs/gst/controller/Makefile.am:
12597         * libs/gst/dataprotocol/Makefile.am:
12598           fix up Makefile.am and remove GST_ENABLE_NEW
12599
12600 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12601
12602         * configure.ac:
12603         * gst/Makefile.am:
12604         * gst/base/Makefile.am:
12605         * gst/check/Makefile.am:
12606         * gst/elements/Makefile.am:
12607         * gst/net/Makefile.am:
12608           update LDFLAGS use some more
12609
12610 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12611
12612         * common/m4/gst-doc.m4:
12613           Fixes #312589
12614
12615 2005-11-26  Edward Hervey  <edward@fluendo.com>
12616
12617         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12618         This shouldn't issue a g_warning since it returns NULL if it
12619         couldn't find the plugin, and all functions using this behave
12620         properly on a NULL return. Switching to a GST_WARNING.
12621
12622 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12623
12624         * gst/gstbin.c: (gst_bin_handle_message_func):
12625         Don't leak clock messages.
12626
12627 2005-11-25  Wim Taymans  <wim@fluendo.com>
12628
12629         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12630         (gst_util_uint64_scale_int):
12631         Optimisations, remove unneeded vars.
12632
12633 2005-11-25  Wim Taymans  <wim@fluendo.com>
12634
12635         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12636         Added more checks for the high precision uint64 cases.
12637
12638         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12639         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12640         Implement high precision (guint64 * guint64) / guint64.
12641
12642 2005-11-24  Wim Taymans  <wim@fluendo.com>
12643
12644         * gst/base/gstbasesrc.c: (gst_base_src_query):
12645         Fix wrong percentage query.
12646
12647         * gst/gstutils.c: (gst_util_uint64_scale),
12648         (gst_util_uint64_scale_int):
12649         Add some more common cases that can be handled 
12650         efficiently to _scale.
12651
12652 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12653
12654         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12655         (gst_mini_object_suite):
12656           don't use check calls from threads; check probably isn't
12657           threadsafe and using a lock to make it threadsafe would
12658           defeat the purpose of this check
12659         * gst/check/gstcheck.c:
12660         * gst/check/gstcheck.h:
12661           use GST_DEBUG some more
12662
12663 2005-11-24  Wim Taymans  <wim@fluendo.com>
12664
12665         * gst/gstutils.c: (gst_util_uint64_scale),
12666         (gst_util_uint64_scale_int):
12667         Chain trivial case to _scale_int.
12668
12669 2005-11-24  Wim Taymans  <wim@fluendo.com>
12670
12671         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12672         Added test for scaling.
12673
12674         * gst/gstclock.h:
12675         Small doc fix.
12676
12677         * gst/gstutils.c: (gst_util_uint64_scale_int):
12678         Implemented high precision scaling code.
12679
12680 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
12681
12682         * gst/gstinfo.h:
12683           do not crash on pad==NULL
12684
12685 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12686
12687         Patch by: Stefan Kost
12688
12689         * common/gtk-doc.mak:
12690         * docs/gst/Makefile.am:
12691         * docs/libs/Makefile.am:
12692           Fix distcheck issues for the libraries docs build
12693           Closes #319599.
12694
12695 2005-11-24  Michael Smith <msmith@fluendo.com>
12696
12697         * docs/manual/basics-helloworld.xml:
12698           Fix bug #315027: memory leak in example code in docs.
12699
12700 2005-11-24  Michael Smith <msmith@fluendo.com>
12701
12702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12703           Unlock the PREROLL_LOCK in a failure case.
12704
12705 2005-11-24  Wim Taymans  <wim@fluendo.com>
12706
12707         * docs/gst/gstreamer-sections.txt:
12708         * gst/base/gstadapter.h:
12709         * gst/base/gstbasesink.h:
12710         * gst/base/gstbasesrc.h:
12711         * gst/base/gstbasetransform.h:
12712         * gst/base/gstpushsrc.h:
12713         * gst/elements/gstfakesink.h:
12714         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12715         * gst/elements/gstfakesrc.h:
12716         * gst/elements/gstfilesink.h:
12717         * gst/elements/gstfilesrc.h:
12718         * gst/gst.c:
12719         * gst/gstbin.c:
12720         * gst/gstbuffer.c: (_gst_buffer_copy):
12721         * gst/gstbus.h:
12722         * gst/gstcaps.c:
12723         * gst/gstchildproxy.c:
12724         * gst/gstclock.c:
12725         * gst/gstelement.c:
12726         * gst/gstelementfactory.c:
12727         * gst/gstelementfactory.h:
12728         * gst/gstevent.c:
12729         * gst/gstghostpad.h:
12730         * gst/gstindex.h:
12731         * gst/gstinterface.h:
12732         * gst/gstminiobject.c:
12733         * gst/gstminiobject.h:
12734         * gst/gstpad.c:
12735         * gst/gstpad.h:
12736         * gst/gstpadtemplate.h:
12737         * gst/gstpipeline.h:
12738         * gst/gstpluginfeature.h:
12739         * gst/gstquery.h:
12740         * gst/gstqueue.h:
12741         * gst/gsttaglist.c:
12742         * gst/gsttaglist.h:
12743         * gst/gsttagsetter.c:
12744         * gst/gsttagsetter.h:
12745         * gst/gsttrace.c:
12746         * gst/gsttrace.h:
12747         * gst/gsttypefind.h:
12748         * gst/gsturi.h:
12749         * gst/gstvalue.c:
12750         * gst/net/gstnetclientclock.c:
12751         * gst/net/gstnetclientclock.h:
12752         * gst/net/gstnettimepacket.c:
12753         * gst/net/gstnettimeprovider.c:
12754         * gst/net/gstnettimeprovider.h:
12755         Doc fixes.
12756
12757 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12758
12759         * configure.ac: back to HEAD
12760
12761 === release 0.9.6 ===
12762
12763 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
12764
12765         * configure.ac:
12766           releasing 0.9.6, "Always On Time"
12767
12768 2005-11-23  Wim Taymans  <wim@fluendo.com>
12769
12770         * docs/gst/gstreamer-sections.txt:
12771         * gst/glib-compat.c:
12772         * gst/gsttagsetter.c:
12773         * gst/gstvalue.c:
12774         * gst/net/gstnetclientclock.c:
12775         * gst/net/gstnettimepacket.h:
12776         Doc updates.
12777
12778 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12779
12780         * docs/faq/using.xml:
12781         * docs/libs/tmpl/gstcontrol.sgml:
12782         * docs/manual/advanced-dparams.xml:
12783         * docs/manual/appendix-checklist.xml:
12784         * docs/manual/basics-elements.xml:
12785         * docs/pwg/other-source.xml:
12786         * docs/random/moving-plugins:
12787         * gst/gstpad.c:
12788         * tools/gst-launch.1.in:
12789           remove mentions of sinesrc
12790
12791 2005-11-23  Michael Smith <msmith@fluendo.com>
12792
12793         * docs/gst/gstreamer-sections.txt:
12794           Update for new API and API changes.
12795         * gst/gstobject.h:
12796           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12797         * gst/gstvalue.c:
12798           Documentation typo fix.
12799         * gst/net/gstnettimepacket.c:
12800           Documentation fixes for arguments.
12801
12802 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
12803
12804         * gst/gststructure.c: (gst_structure_get_fraction),
12805         (gst_structure_parse_value),
12806         (gst_structure_fixate_field_nearest_fraction):
12807         * gst/gststructure.h:
12808         * gst/gstutils.c: (gst_util_uint64_scale_int):
12809         * gst/gstutils.h:
12810         * scripts/update-funcnames:
12811         API Changes. 
12812         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12813         Make gst_structure_fixate_field_nearest_fraction take a numerator
12814         and denominator argument instead of a GValue
12815         add gst_structure_get_fraction helper function.
12816
12817 2005-11-23  Wim Taymans  <wim@fluendo.com>
12818
12819         * docs/design/part-TODO.txt:
12820         Update TODO.
12821
12822         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12823         * gst/net/gstnetclientclock.h:
12824         Use parent fields for timeout and window_size.
12825
12826 2005-11-23  Andy Wingo  <wingo@pobox.com>
12827
12828         * check/net/gstnetclientclock.c (test_functioning): Adjust to
12829         rate_num/rate_denom change.
12830
12831         * gst/net/gstnetclientclock.c
12832         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12833         OBJECT_LOCK. Don't call add_observation with the lock.
12834
12835         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12836         fraction.
12837         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12838         rate fraction.
12839         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12840         deal with rate as a fraction whose numerator and denominator are
12841         GstClockTime values.
12842         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12843         master; the other fields are protected by the SLAVE_LOCK.
12844         (do_linear_regression): Note that this must be called with the
12845         SLAVE_LOCK.
12846         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12847         OBJECT_LOCK. Call set_calibration instead of touching the
12848         variables directly.
12849         (gst_clock_set_property, gst_clock_get_property): Protect
12850         master/slave parameters with the SLAVE_LOCK.
12851
12852         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12853         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12854         note that all of the instance variables that add_observation and
12855         the set_master functions use are protected by that lock and not
12856         the OBJECT_LOCK.
12857         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12858
12859         * gst/gstclock.c (gst_clock_add_observation): No longer requires
12860         the caller to take the object lock.
12861
12862 2005-11-23  Wim Taymans  <wim@fluendo.com>
12863
12864         * gst/gsterror.c: (_gst_core_errors_init):
12865         * gst/gsterror.h:
12866         Add error for clock stuff.
12867
12868         * gst/gstpipeline.c: (gst_pipeline_change_state),
12869         (gst_pipeline_set_clock):
12870         Post clock error when clock cannot be used in a pipeline.
12871
12872 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
12873
12874         * docs/gst/gstreamer-sections.txt:
12875           make two symbols from gstinfo private for the docs
12876         * gst/base/gstcollectpads.h:
12877         * gst/gstutils.c:
12878           fix doc typos, update docs
12879
12880 2005-11-22  Wim Taymans  <wim@fluendo.com>
12881
12882         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12883         (gst_base_sink_wait), (gst_base_sink_do_sync),
12884         (gst_base_sink_handle_event):
12885         * gst/base/gstbasesink.h:
12886         No need to store the clock, the parent element class already
12887         has it.
12888
12889         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12890         Updates for clock_set returning a gboolean
12891
12892         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12893         (gst_clock_id_wait_async), (gst_clock_class_init),
12894         (gst_clock_init), (gst_clock_finalize),
12895         (gst_clock_get_internal_time), (gst_clock_get_time),
12896         (gst_clock_slave_callback), (gst_clock_set_master),
12897         (gst_clock_get_master), (do_linear_regression),
12898         (gst_clock_add_observation), (gst_clock_set_property),
12899         (gst_clock_get_property):
12900         * gst/gstclock.h:
12901         Implement master/slave. When setting a clock as a slave, a
12902         periodic timeout is scheduled to sample master and slave times.
12903         Then the slave clock is recalibrated to match offset and rate
12904         of the master clock.
12905         Update logging a bit.
12906         Add flag so that a clock can state that is cannot be slaved to
12907         another clock.
12908
12909         * gst/gstelement.c: (gst_element_set_clock):
12910         * gst/gstelement.h:
12911         The set clock returns a gboolean for when an element cannot
12912         deal with the selected clock in the pipeline. 
12913
12914         * gst/gstpipeline.c: (gst_pipeline_change_state),
12915         (gst_pipeline_set_clock):
12916         * gst/gstpipeline.h:
12917         Handle the case where the selected clock cannot be set on
12918         the pipeline.
12919
12920         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12921         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12922         (gst_net_client_clock_set_property),
12923         (gst_net_client_clock_get_property),
12924         (gst_net_client_clock_observe_times):
12925         * gst/net/gstnetclientclock.h:
12926         Use regression code in GstClock parent, remove duplicated
12927         functionality.
12928
12929 2005-11-22  Michael Smith <msmith@fluendo.com>
12930
12931         * gst/gstutils.c: (gst_util_clock_time_scale):
12932         * gst/gstutils.h:
12933         * docs/gst/gstreamer-sections.txt:
12934           Rename method to have extra underscore.
12935
12936 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12937
12938         * gst/elements/Makefile.am:
12939         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12940         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12941         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12942         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12943         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12944         * gst/elements/gstfakesrc.h:
12945         * gst/gstqueue.c: (queue_leaky_get_type):
12946           correctly fix GEnumValues so that nick is the short lowercase
12947           dashed tag
12948         * tools/gst-inspect.c: (print_element_properties_info):
12949           also show the nick, since it's useful to use from parse_launch
12950           syntax
12951           Fixes #322139
12952
12953 2005-11-22  Michael Smith <msmith@fluendo.com>
12954
12955         * gst/gstutils.c: (gst_util_clocktime_scale):
12956         * gst/gstutils.h:
12957         * docs/gst/gstreamer-sections.txt:
12958           Add util method for scaling a clocktime by a fraction. Useful 
12959           implementation is left as an exercise for the reader.
12960
12961 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12962
12963         * gst/gstvalue.c: (gst_value_collect_fraction_range):
12964         If needed, allocate storage in the destination value during
12965         collection.
12966
12967 2005-11-22  Edward Hervey  <edward@fluendo.com>
12968
12969         * docs/gst/gstreamer-sections.txt:
12970         * gst/Makefile.am:
12971         * gst/gst.h:
12972         * gst/gsturitype.c:
12973         * gst/gsturitype.h:
12974         * gst/gstutils.c: (gst_util_set_object_arg):
12975         * tools/gst-compprep.c: (main):
12976         * tools/gst-inspect.c: (print_element_properties_info):
12977         Removed GstURI, closes bug #321061
12978
12979 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12980
12981         * check/gst/gststructure.c: (GST_START_TEST):
12982         * gst/gststructure.c: (gst_structure_parse_value):
12983           Oops, broke automatic string type parsing.
12984           Add a test to catch it in future.
12985
12986 2005-11-22  Andy Wingo  <wingo@pobox.com>
12987
12988         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
12989         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12990         Actually rename the function implementations. Grr.
12991
12992 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12993
12994         * check/gst/capslist.h:
12995           Comment test cases
12996         * check/gst/gststructure.c: (GST_START_TEST),
12997         (gst_structure_suite):
12998           Test automatic value type detection in gst_structure_from_string.
12999         * gst/gststructure.c: (gst_structure_parse_value):
13000           Add fraction as a type we try and guess automatically in
13001           caps/structure strings.
13002
13003 2005-11-22  Andy Wingo  <wingo@pobox.com>
13004
13005         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13006
13007         * gst/gsttagsetter.h:
13008         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13009         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13010         (gst_tag_setter_add_tag_valist)
13011         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13012         _add_values, _add_valist, and _add_valist_values. Since this is an
13013         interface the function suffixes should be more explicit so
13014         language binding don't end up with element.add_valist ->
13015         gst_tag_setter_add_valist, for example. Fixes #322069.
13016
13017 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13018
13019         * check/gst/gstcaps.c: (GST_START_TEST):
13020           Extend caps string tests to check that a caps to string
13021           conversion is reversible and produces the same caps.
13022
13023         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13024           Output "fraction" as the generic type fraction range, so caps
13025           serialisation and deserialisation works.
13026         * check/gst/capslist.h:
13027         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13028           Support 'MIN' and 'MAX' for deserialising fractions.
13029
13030 2005-11-22  Andy Wingo  <wingo@pobox.com>
13031
13032         * gst/gstevent.h (gst_event_new_new_segment)
13033         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13034         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13035         Renamed from *_newsegment, *_buffersize, *_notarget.
13036
13037         * scripts/update-funcnames: New script, performs the changes
13038         listed above.
13039
13040 2005-11-22  Wim Taymans  <wim@fluendo.com>
13041
13042         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13043         Make sure the GstFlowReturn is returned.
13044
13045         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13046         (gst_bus_add_signal_watch):
13047         * gst/gstbus.h:
13048         add gst_bus_add_signal_watch_full.
13049
13050         * gst/gstplugin.c: (gst_plugin_load_file):
13051         Small style cleanup.
13052
13053 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13054
13055         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13056           Block the fakesrc srcpad when we send an event, to avoid
13057           contention on the stream_lock causing random test failures.
13058
13059 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13060
13061         * check/gst/gstvalue.c: (GST_START_TEST):
13062         * gst/gstvalue.c: (gst_value_fraction_subtract):
13063           Fix subtraction.
13064
13065 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13066
13067         * gst/gst.h:
13068           include "gstchildproxy.h"
13069         * gst/gstchildproxy.h:
13070         * libs/gst/controller/gstcontroller.h:
13071           use G_GNUC_NULL_TERMINATED
13072
13073 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13074
13075         * check/gst/capslist.h:
13076         * check/gst/gstcaps.c: (GST_START_TEST):
13077         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13078         * gst/gststructure.c: (gst_structure_parse_range),
13079         (gst_structure_fixate_field_nearest_fraction):
13080         * gst/gststructure.h:
13081         * gst/gstvalue.c: (gst_value_init_fraction_range),
13082         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13083         (gst_value_collect_fraction_range),
13084         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13085         (gst_value_set_fraction_range_full),
13086         (gst_value_get_fraction_range_min),
13087         (gst_value_get_fraction_range_max),
13088         (gst_value_serialize_fraction_range),
13089         (gst_value_transform_fraction_range_string),
13090         (gst_value_compare_fraction_range),
13091         (gst_value_deserialize_fraction_range),
13092         (gst_value_intersect_fraction_fraction_range),
13093         (gst_value_intersect_fraction_range_fraction_range),
13094         (gst_value_subtract_fraction_fraction_range),
13095         (gst_value_subtract_fraction_range_fraction),
13096         (gst_value_subtract_fraction_range_fraction_range),
13097         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13098         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13099         (gst_value_transform_string_fraction), (_gst_value_initialize):
13100         * gst/gstvalue.h:
13101           Implement fraction ranges and extend GstFraction to support
13102           arithmetic subtraction, as well as deserialization from integer
13103           strings such as "100"
13104           Add a testsuite as for int and double range set operations
13105
13106 2005-11-21  Andy Wingo  <wingo@pobox.com>
13107
13108         * gst/gsttaglist.h: 
13109         * gst/gstcaps.h: 
13110         * gst/gststructure.h: Add glib-compat.h.
13111
13112 2005-11-21  Wim Taymans  <wim@fluendo.com>
13113
13114         * gst/gstbin.c: (gst_bin_change_state_func):
13115         Fix for #321595
13116
13117 2005-11-21  Wim Taymans  <wim@fluendo.com>
13118
13119         * gst/gstsegment.h:
13120         And add a nice define too.
13121
13122 2005-11-21  Wim Taymans  <wim@fluendo.com>
13123
13124         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13125         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13126         (gst_segment_set_duration), (gst_segment_set_last_stop),
13127         (gst_segment_set_seek), (gst_segment_set_newsegment),
13128         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13129         (gst_segment_clip):
13130         * gst/gstsegment.h:
13131         Make binding friendly.
13132
13133 2005-11-21  Andy Wingo  <wingo@pobox.com>
13134
13135         * gst/gsttagsetter.h: 
13136         * gst/gsttaglist.h: 
13137         * gst/gststructure.h: 
13138         * gst/gstcaps.h: 
13139         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13140         #319940.
13141
13142         * gst/gsterror.c (_gst_core_errors_init):
13143         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13144         category.
13145
13146         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13147         (noinst_HEADERS): noinst the -private.
13148
13149 2005-11-21  Michael Smith <msmith@fluendo.com>
13150
13151         * gst/gstplugin.h:
13152         * gst/gstregistry.h:
13153           Remove unimplemented declarations for which we can see no sensible
13154           use.
13155
13156 2005-11-21  Andy Wingo  <wingo@pobox.com>
13157
13158         * gst/gst.h: Include glib-compat.h.
13159
13160         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13161
13162         * gst/glib-compat.c: Include the public and the private header.
13163
13164         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13165
13166         * gst/gstvalue.c: 
13167         * gst/gstpad.c: 
13168         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13169
13170         * check/gst/gstevent.c (create_custom_events): Check that
13171         FLUSH_STOP is serialized.
13172
13173         * check/elements/identity.c (event_func): 
13174         * check/elements/fakesrc.c (event_func): No stream lock, the core
13175         takes it.
13176
13177         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13178         stream lock taking, yay.
13179
13180         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13181         ensure that core takes the stream lock.
13182
13183         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13184         lock name change.
13185
13186         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13187         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13188         it already. For the flush start we do take it though so we get the
13189         right preroll state change messages.
13190
13191         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13192         the stream lock here, the core does it for us.
13193
13194         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13195         GST_STREAM_GET_LOCK.
13196         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13197         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13198         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13199         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13200         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13201         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13202
13203         * gst/gstpad.c: Update for stream lock name change.
13204
13205         * gst/base/gstbasesink.c: Update for preroll lock name change.
13206
13207 2005-11-21  Wim Taymans  <wim@fluendo.com>
13208
13209         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13210         (gst_clock_get_master):
13211         * gst/gstclock.h:
13212         * gst/gstsystemclock.c: (gst_system_clock_init):
13213         Convert Clock flags to object flags.
13214         Added methods to manage master/slave clocks.
13215
13216 2005-11-21  Wim Taymans  <wim@fluendo.com>
13217
13218         * check/gst/gstsegment.c: (GST_START_TEST):
13219         * docs/design/part-TODO.txt:
13220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13221         (gst_base_sink_event), (gst_base_sink_do_sync),
13222         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13223         (gst_base_sink_query), (gst_base_sink_change_state):
13224         * gst/base/gstbasesink.h:
13225         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13226         (gst_base_src_default_newsegment),
13227         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13228         (gst_base_src_get_range), (gst_base_src_loop),
13229         (gst_base_src_change_state):
13230         * gst/base/gstbasesrc.h:
13231         * gst/base/gstbasetransform.c:
13232         (gst_base_transform_prepare_output_buf),
13233         (gst_base_transform_event), (gst_base_transform_change_state):
13234         * gst/base/gstbasetransform.h:
13235         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13236         (gst_collect_pads_event):
13237         * gst/base/gstcollectpads.h:
13238         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13239         (gst_fake_src_create):
13240         * gst/elements/gstfakesrc.h:
13241         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13242         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13243         (gst_segment_set_last_stop), (gst_segment_set_seek),
13244         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13245         (gst_segment_to_running_time), (gst_segment_clip):
13246         * gst/gstsegment.h:
13247         More segment updates, replace code in plugins with segment
13248         helper functions.
13249
13250 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13251
13252         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13253         Don't ignore sscanf results
13254
13255 2005-11-21  Andy Wingo  <wingo@pobox.com>
13256
13257         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13258
13259         * *.h:
13260         * *.c: Ran scripts/update-macros. Oh yes.
13261
13262         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13263         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13264         GST_GET_LOCK, etc.
13265
13266         * scripts/update-macros: New script. Run it on your files to
13267         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13268         well.
13269
13270 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13271
13272         * docs/gst/Makefile.am:
13273         * docs/gst/gstreamer-docs.sgml:
13274         * docs/gst/gstreamer-sections.txt:
13275         * docs/gst/gstreamer.types:
13276         * gst/gstinfo.h:
13277           more docs fixes, add new api to the docs
13278
13279 2005-11-21  Andy Wingo  <wingo@pobox.com>
13280
13281         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13282         state_broadcast call.
13283
13284         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13285
13286 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13287
13288         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13289         function calls for arrays.
13290
13291 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13292
13293         * docs/random/ensonic/media-device-daemon.txt:
13294           wild idea, can this be done?
13295         * docs/gst/gstreamer-sections.txt:
13296         * gst/gsterror.h:
13297         * gst/gstfilter.c:
13298         * gst/gstfilter.h:
13299         * gst/gstplugin.h:
13300         * gst/gstpluginfeature.c:
13301         * gst/gsttrace.c:
13302         * gst/gstvalue.c:
13303         * gst/gstvalue.h:
13304           doc fixes and additions
13305
13306 2005-11-21  Andy Wingo  <wingo@pobox.com>
13307
13308         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13309         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13310         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13311         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13312         private to the basesrc implementation.
13313
13314         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13315         behalf of event function if necessary. It should no longer be
13316         necessary to take the stream lock in pad's event functions. Fixes
13317         #320299.
13318
13319 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13320         * docs/gst/gstreamer-sections.txt:
13321         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13322         (gst_structure_fixate_field_nearest_double),
13323         (gst_structure_fixate_field_boolean):
13324         * gst/gststructure.h:
13325         * win32/common/libgstreamer.def:
13326         * win32/gstreamer.def:
13327
13328         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13329         (#322027)
13330
13331 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13332
13333         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13334         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13335         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13336         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13337         (gst_fdsrc_uri_handler_init):
13338         * gst/elements/gstfdsrc.h:
13339           Port fd:// URI handler from 0.8 to fdsrc
13340
13341 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13342
13343         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13344         (gst_value_serialize_fourcc):
13345         * gst/gstvalue.h:
13346           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13347           consistent with our other format defines (#320324).
13348
13349 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/gstvalue.c: (gst_value_is_fixed):
13352           Revert previous commit. Value lists are by definition
13353           not fixed, as they are a list of possible values.
13354
13355 2005-11-21  Andy Wingo  <wingo@pobox.com>
13356
13357         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13358         during the stable series if we need it. Fixes #319178.
13359
13360         * gst/gstevent.c (gst_event_new_filler): Removed.
13361
13362         * check/gst/gstevent.c: Update comment about filler events.
13363
13364 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13365
13366         * gst/gstvalue.c: (gst_value_is_fixed):
13367           Should handle both value arrays and value lists.
13368
13369 2005-11-21  Andy Wingo  <wingo@pobox.com>
13370
13371         patch by: Alessandro Dessina <alessandro nnva org>
13372
13373         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13374         functions to access arrays. Fixes #321962.
13375
13376 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13377
13378         * docs/gst/gstreamer.types:
13379           gst_collectpads_get_type => gst_collect_pads_get_type.
13380           
13381         * gst/base/gstbasetransform.c:
13382           Remove unused SIGNAL_HANDOFF enum.
13383
13384 2005-11-21  Andy Wingo  <wingo@pobox.com>
13385
13386         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13387         the event type (upstream, downstream, serialized). Renamed
13388         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13389         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13390         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13391
13392         * gst/gstevent.c: Update for new CUSTOM event names.
13393
13394         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13395
13396         * gst/gstevent.h:
13397         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13398         bug #319392.
13399
13400 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13401
13402         * docs/gst/gstreamer-sections.txt:
13403         * win32/common/libgstbase.def:
13404         * win32/libgstbase.def:
13405         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13406         (gst_collect_pads_class_init), (gst_collect_pads_init),
13407         (gst_collect_pads_finalize), (gst_collect_pads_new),
13408         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13409         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13410         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13411         (gst_collect_pads_start), (gst_collect_pads_stop),
13412         (gst_collect_pads_peek), (gst_collect_pads_pop),
13413         (gst_collect_pads_available), (gst_collect_pads_read),
13414         (gst_collect_pads_flush), (gst_collect_pads_event),
13415         (gst_collect_pads_chain):
13416         * gst/base/gstcollectpads.h:
13417           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13418           unimplemented functions as unimplemented. Add padding to
13419           GstCollectData. (#320766, #320423)
13420
13421 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13422
13423         * gst/gstmessage.c:
13424           Improve docs for DURATION message (usage of duration parameter)
13425           (#320113)
13426
13427 2005-11-20  Wim Taymans  <wim@fluendo.com>
13428
13429         * check/Makefile.am:
13430         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13431         (main):
13432         * gst/Makefile.am:
13433         * gst/gst.h:
13434         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13435         (gst_segment_set_seek), (gst_segment_set_newsegment),
13436         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13437         (gst_segment_clip):
13438         * gst/gstsegment.h:
13439         Added segment helper structure and methods. Not fully implemented
13440         yet.
13441         Added segment check.
13442
13443 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13444
13445         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13446           Add a deserialisation test for fractions
13447         * examples/metadata/read-metadata.c: (message_loop),
13448         (make_pipeline), (main):
13449           Fix up metadata reading sample.
13450         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13451           Debug format fix
13452         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13453           Don't try and fixate empty caps
13454         * gst/gst_private.h:
13455           Wrap in G_BEGIN_DECLS/G_END_DECLS
13456         * gst/gstvalue.c: (gst_value_collect_fraction),
13457         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13458         (gst_value_transform_string_fraction),
13459         (gst_value_compare_fraction):
13460           Add some extra guards to ensure that we don't end up 
13461           with an invalid denominator of 0 in a gstfraction and
13462           that fractions always get reduced.
13463
13464 2005-11-20  Wim Taymans  <wim@fluendo.com>
13465
13466         * docs/gst/gstreamer-sections.txt:
13467         * gst/gstbuffer.h:
13468         * gst/gstelement.c:
13469         * gst/gstformat.c:
13470         * gst/gstformat.h:
13471         * gst/gstindex.h:
13472         * gst/gstquery.c:
13473         * gst/gstquery.h:
13474         * gst/gstvalue.c:
13475         Doc fixes.
13476
13477 2005-11-20  Wim Taymans  <wim@fluendo.com>
13478
13479         * docs/design/part-TODO.txt:
13480         * gst/gstcaps.h:
13481         Make a proper enum of the flag.
13482
13483 2005-11-19  Wim Taymans  <wim@fluendo.com>
13484
13485         * docs/design/part-TODO.txt:
13486         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13487         (gst_format_to_quark), (gst_format_register):
13488         * gst/gstformat.h:
13489         * gst/gstquery.c: (_gst_query_initialize),
13490         (gst_query_type_get_name), (gst_query_type_to_quark),
13491         (gst_query_type_register):
13492         * gst/gstquery.h:
13493         Add type to quark and type to string conversions.
13494
13495 2005-11-19  Andy Wingo  <wingo@pobox.com>
13496
13497         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13498         #320097.
13499
13500 2005-11-19  Wim Taymans  <wim@fluendo.com>
13501
13502         * docs/design/part-TODO.txt:
13503         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13504         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13505         (gst_bin_handle_message_func):
13506         * gst/gstbin.h:
13507         Make message handling overridable.
13508
13509 2005-11-19  Andy Wingo  <wingo@pobox.com>
13510
13511         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13512
13513         * gst/gstclock.h:
13514         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13515         be a GstClockTime.
13516         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13517         is a GstClockTime. Fixes #321710.
13518
13519         * gst/gstclock.h (GstClock): Remove offset property. Add
13520         internal_calibration and external_calibration. Fix padding. Pad
13521         also by GstClockTime so we don't run into problems.
13522
13523         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13524         (gst_clock_get_rate_offset): Remove.
13525         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13526
13527         * gst/gstutils.h:
13528         * gst/gstutils.c (g_static_rec_cond_wait)
13529         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13530
13531         * gst/gstbin.c: Remove terrible continue_state prototype.
13532
13533         * gst/gstelement.h (gst_element_continue_state): Make public.
13534
13535         * gst/gstelement.h:
13536         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13537         by continue_state. Fixes #319389.
13538
13539         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13540         Really fixes #168438. However I don't see anywhere where the
13541         filter function is called... stupid GStreamer...
13542         
13543         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13544         don't have a dispose function, so it won't get called when the
13545         object is unreffed, but oh well!
13546
13547         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13548         allows a destroy function to be set so user_data can be freed.
13549         Fixes #168438.
13550         (gst_index_set_filter): Call gst_index_set_filter_full.
13551
13552         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13553
13554         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13555         string should produce an error, given the lack of a way to
13556         represent NULL strings. Fixes #165650.
13557         
13558         * gst/gstvalue.h: 
13559         * gst/gstvalue.c (gst_value_array_append_value) 
13560         (gst_value_array_prepend_value, gst_value_array_get_size) 
13561         (gst_value_array_get_value): New API, copied from
13562         gst_value_list_*, only operates on arrays.
13563         (gst_value_list_append_value, gst_value_list_prepend_value) 
13564         (gst_value_list_concat, gst_value_list_get_size) 
13565         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13566
13567         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13568         init_list, because it works on both.
13569         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13570         (gst_value_copy_list_or_array): Renamed from copy_list.
13571         (gst_value_free_list_or_array): Renamed from free_list.
13572         (gst_value_collect_list_or_array): Renamed from collect_list.
13573         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13574         (gst_value_list_or_array_peek_pointer): Renamed from
13575         list_peek_pointer.
13576         (_gst_value_array_value_table, _gst_value_list_value_table):
13577         Update value table functions.
13578         (gst_value_compare_list_or_array): Renamed from compare_list.
13579
13580         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13581         some constness.
13582
13583         * gst/gsttaglist.c:
13584         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13585         GstTagList*. Fixes #143472.
13586
13587         * gst/gststructure.h: Clarify what the foreach/map functions can
13588         or can't do to their arguments.
13589
13590 2005-11-18  Wim Taymans  <wim@fluendo.com>
13591
13592         * gst/gstclock.c: (gst_clock_set_calibration),
13593         (gst_clock_get_calibration):
13594         Doc and API fixes.
13595         Calibration can be set with internal time equal to current
13596         internal time too.
13597
13598 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13599
13600         * gst/gsterror.c:
13601         * gst/gsterror.h:
13602           document
13603
13604 2005-11-18  Andy Wingo  <wingo@pobox.com>
13605
13606         * configure.ac: 
13607         * pkgconfig/gstreamer-net.pc.in:
13608         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13609         * pkgconfig/Makefile.am: Add net pkgconfig files.
13610
13611 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13612
13613         * gst/gstcaps.c:
13614         * gst/gstghostpad.c:
13615         * gst/gsttrace.c:
13616         * gst/gstvalue.c:
13617         * gst/gstvalue.h:
13618           docs fixes
13619
13620 2005-11-18  Andy Wingo  <wingo@pobox.com>
13621
13622         * gst/net/gstnetclientclock.c: Turn off debugging.
13623
13624         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13625         times connverge somewhat. Can't make a real test.
13626
13627         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13628         integer arithmetic. Return the minimum of the domain, which can be
13629         set as "internal" for gst_clock_set_calibration.
13630         (gst_net_client_clock_observe_times): Call _set_calibration.
13631         (gst_net_client_clock_new): Call _set_calibration instead of
13632         rate_offset.
13633
13634         * check/net/gstnetclientclock.c (test_functioning): Use the right
13635         adjustment api.
13636
13637         * gst/gstclock.h:
13638         * gst/gstclock.c (gst_clock_get_calibration) 
13639         (gst_clock_set_calibration): New functions, obsolete the ones I
13640         added yesterday. Doh. Precision issues mean we have to extrapolate
13641         from a point in the more recent past than 1970.
13642         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13643         obsolete.
13644         (gst_clock_adjust_unlocked): Use the right calibration data.
13645
13646 2005-11-18  Edward Hervey  <edward@fluendo.com>
13647
13648         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13649         Also reset the ->current_* values in READY->PAUSED
13650
13651 2005-11-18  Andy Wingo  <wingo@pobox.com>
13652
13653         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13654         Whoops, check the right fd. Also add some debugging.
13655         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13656         (do_linear_regression): Add a crapload of debugging. Subtract off
13657         the minimum values from the input series to discard unneeded bits.
13658         Use only int arithmetic. There is still double arithmetic when
13659         calculating the intercept that needs fixing. Return boolean to
13660         indicate success; FALSE would mean the domain or range is too
13661         great. Still needs fixes.
13662
13663 2005-11-18  Wim Taymans  <wim@fluendo.com>
13664
13665         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13666         For the current position in stream time, we need to subtract
13667         accumulated time.
13668         
13669         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13670         Release lock before calling the callback function of async
13671         entries.
13672
13673 2005-11-18  Andy Wingo  <wingo@pobox.com>
13674
13675         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13676         Port goes all the way to MAXUINT16.
13677
13678         * gst/net/gstnettimeprovider.c: Make the port range the same as
13679         for the kernel: 0 assigns, otherwise ports are less than
13680         MAXUINT16.
13681
13682         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13683         port change.
13684
13685         * check/net/gstnetclientclock.c (test_functioning): Add the start
13686         of another test. 
13687
13688 2005-11-18  Wim Taymans  <wim@fluendo.com>
13689
13690         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13691         (gst_bin_remove_func), (bin_bus_handler):
13692         * gst/gstbin.h:
13693         Removing a clock provider from a bin, triggers a clock lost message
13694         so that a new clock will be selected.
13695         Adding a clock to a bin triggers a clock provider message.
13696         Make sure we reselect a clock when we received a clock lost message.
13697         Keep a reference to the element that provided the clock.
13698
13699 2005-11-18  Andy Wingo  <wingo@pobox.com>
13700
13701         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13702         the clock initially so it produces values around the base time.
13703         (gst_net_client_clock_class_init): Typo fix.
13704         (gst_net_client_clock_thread): Add note on when the socket gets
13705         closed.
13706
13707 2005-11-17  Wim Taymans  <wim@fluendo.com>
13708
13709         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13710         Free remote and local time arrays.
13711
13712 2005-11-17  Wim Taymans  <wim@fluendo.com>
13713
13714         * gst/net/gstnetclientclock.c: (do_linear_regression),
13715         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13716         Fix compilation, uninitialized vars and a forgotten continue.
13717
13718 2005-11-17  Andy Wingo  <wingo@pobox.com>
13719
13720         * check/Makefile.am (check_PROGRAMS): 
13721         * check/net/gstnetclientclock.c: Add a most minimal test for the
13722         net client clock. More to come later.
13723
13724         * gst/net/gstnet.h: 
13725         * gst/net/Makefile.am: Add netclientclock.
13726
13727         * gst/net/gstnetclientclock.h:
13728         * gst/net/gstnetclientclock.c: New files, implement an untested
13729         GstClock that takes its time from a network time provider.
13730         Implements the algorithm in network-clock.scm.
13731
13732         * tests/network-clock.scm (*window-size*): Rename from
13733         *queue-length*.
13734         * tests/network-clock.scm (network-time): 
13735         * tests/network-clock-utils.scm (q-push): Update callers.
13736
13737 2005-11-17  Wim Taymans  <wim@fluendo.com>
13738
13739         * gst/gstbin.c: (gst_bin_provide_clock_func),
13740         (gst_bin_sort_iterator_new):
13741         And unref the child too..
13742
13743 2005-11-17  Wim Taymans  <wim@fluendo.com>
13744
13745         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13746         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13747         Refactor the sort iterator so it can be used while holding the
13748         LOCK too.
13749         Make clock selection select a clock closest to the source.
13750
13751 2005-11-17  Michael Smith <msmith@fluendo.com>
13752
13753         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13754         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13755         * gst/gstclock.h:
13756           Anonymous structs are a gcc (and some other compilers) extension, so
13757           don't use them. Since this is only for ABI-compatibility, and our
13758           API/ABI freeze is over in a few days, this whole thing will only
13759           last a few days, so don't bother trying to think up a meaningful
13760           name for the struct.
13761
13762 2005-11-17  Andy Wingo  <wingo@pobox.com>
13763
13764         * gst/gstclock.h (GstClock): Add rate and offset properties,
13765         preserving ABI stability. Add rate/offset accessors. Will file bug
13766         for the freeze break.
13767
13768         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13769         and offset, trying to keep precision and avoiding
13770         underflow/overflow.
13771         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13772         functions. Make gst_clock_set_time_adjust obsolete.
13773         (gst_clock_set_time_adjust): Note that this function is obsolete.
13774         Will file bug soon.
13775
13776         * gst/base/gstbasetransform.h: Make the ABI-stability hack
13777         greppable by using GST_PADDING-1+1.
13778
13779 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
13780
13781         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13782
13783         * gst/gstmessage.c: (gst_message_parse_clock_lost):
13784           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13785
13786         * gst/gstpadtemplate.h:
13787         * gst/gstpluginfeature.h:
13788           Don't use c++ style comments in headers (#321638).
13789
13790 2005-11-16  Andy Wingo  <wingo@pobox.com>
13791
13792         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13793         buffer.
13794
13795         * check/net/gstnettimeprovider.c: Check to see that the time
13796         provider actually provides times. Works, yo!
13797
13798 2005-11-16  Wim Taymans  <wim@fluendo.com>
13799
13800         * check/Makefile.am:
13801         Enable more tests.
13802
13803         * check/elements/fakesrc.c: (GST_START_TEST):
13804         Set element to NULL before disposing it.
13805
13806 2005-11-16  Andy Wingo  <wingo@pobox.com>
13807
13808         * gst/net/Makefile.am:
13809         * gst/net/gstnet.h:
13810         * gst/net/gstnettimeprovider.c: 
13811         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13812         provider, include it from gstnet.h, and add it to the build.
13813
13814         * gst/net/gstnettimepacket.h: 
13815         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13816         sending and receiving.
13817
13818 2005-11-16  Wim Taymans  <wim@fluendo.com>
13819
13820         * check/Makefile.am:
13821         Enable valgrind check.
13822
13823         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13824         (gst_fake_src_alloc_buffer):
13825         Fix memleak.
13826
13827 2005-11-16  Wim Taymans  <wim@fluendo.com>
13828
13829         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13830         Call parent finalize too.
13831
13832 2005-11-16  Wim Taymans  <wim@fluendo.com>
13833
13834         * check/Makefile.am:
13835         Enable valgrind check that should work fine now.
13836
13837         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13838         * gst/gstqueue.c: (gst_queue_init):
13839         Fix memleaks in pad allocation.
13840
13841 2005-11-16  Andy Wingo  <wingo@pobox.com>
13842
13843         * gst/net/Makefile.am:
13844         * gst/net/gstnet.h: New part of core to hold network elements and
13845         objects. Put in core because it exposes API that applications want
13846         to use. The library is named libgstnet-tempname right now because
13847         of the existing libgstnet in gst-plugins-base. Solution is
13848         probably to rename the one in plugins-base; will file a bug for
13849         the freeze break.
13850
13851         * gst/net/gstnettimeprovider.c: 
13852         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13853         get_time call over the network.
13854
13855         * configure.ac: 
13856         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13857
13858         * check/Makefile.am:
13859         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13860         get additions shortly.
13861
13862 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * gst/gstpad.c: (gst_pad_new_from_static_template):
13865         * gst/gstpad.h:
13866           add gst_pad_new_from_static_template functions
13867         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13868         (gst_check_setup_sink_pad):
13869         * gst/elements/gsttee.c: (gst_tee_init):
13870           and use them
13871
13872 2005-11-16  Wim Taymans  <wim@fluendo.com>
13873
13874         * gst/gstpad.c: (gst_pad_pause_task):
13875         Removed warning, it's not really an error either.
13876
13877 2005-11-16  Wim Taymans  <wim@fluendo.com>
13878
13879         * gst/base/gstbasetransform.c:
13880         (gst_base_transform_prepare_output_buf),
13881         (gst_base_transform_event):
13882         Check if the caps are NULL, this can happen if the element
13883         is shutting down and the pad caps are set to NULL.
13884
13885 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13886
13887         * gst/elements/gsttee.c: (gst_tee_init):
13888           fix pad template leak in tee
13889
13890 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13891
13892         * gst/glib-compat.c: (g_value_dup_gst_object):
13893         * gst/glib-compat.h:
13894         * gst/gstpad.c: (gst_pad_set_property):
13895           use gst_object_ref when setting the pad template; this will
13896           trigger the pad template leaks on GLib 2.6 and the slaves
13897
13898 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13899
13900         * gst/glib-compat.c: (gst_flags_get_first_value):
13901         * gst/glib-compat.h:
13902         * gst/gstregistryxml.c:
13903           remove functions copied from GLib 2.6
13904
13905 2005-11-16  Michael Smith <msmith@fluendo.com>
13906
13907         * gst/Makefile.am:
13908           Don't link against VALGRIND_LIBS. That was always the wrong thing to
13909           do, but only breaks with newer valgrind versions. We're not a
13910           valgrind tool, we have no link-time dependencies on libcoregrind.
13911
13912 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13915           some debug changes
13916         * gst/gstmessage.h:
13917           typo fixes
13918
13919 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13920
13921         * gst/base/gstbasesrc.c: (gst_base_src_init):
13922         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13923         * gst/gstqueue.c: (gst_queue_init):
13924         * gst/gstregistryxml.c: (load_feature):
13925           Revert all these unrefs, they don't even pass make check !
13926
13927 2005-11-15  Johan Dahlin  <johan@gnome.org>
13928
13929         * gst/base/gstbasesrc.c: (gst_base_src_init):
13930         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13931         * gst/gstqueue.c: (gst_queue_init): 
13932         Free pad templates, fixes a couple of leaks.
13933
13934 2005-11-15  Daniel Fischer  <dan at f3c dot com>
13935
13936         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13937
13938         * gst/gstpad.c: (gst_pad_get_property):
13939           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13940           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13941           (#321452)
13942
13943 2005-11-15  Wim Taymans  <wim@fluendo.com>
13944
13945         * gst/gstevent.c:
13946         Small doc update.
13947
13948 2005-11-15  Andy Wingo  <wingo@pobox.com>
13949
13950         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13951
13952         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13953         using GST_CLOCK_TIME_NONE to disable base time management.
13954         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13955         time if it was NONE before.
13956         (gst_pipeline_change_state): Only munge the base time if
13957         stream_time != GST_CLOCK_TIME_NONE.
13958
13959         * check/gst/gstpipeline.c (test_base_time): Punt around the
13960         problem of the probe not being called, because that's not the
13961         issue I'm looking at. Add a check that setting stream_time to NONE
13962         disables base time management.
13963         
13964 2005-11-15  Wim Taymans  <wim@fluendo.com>
13965
13966         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13967         segment_stop == -1 at startup.
13968
13969         * gst/base/gstbasetransform.c: (gst_base_transform_event),
13970         (gst_base_transform_change_state):
13971         Init segment values at start.
13972
13973 2005-11-15  Wim Taymans  <wim@fluendo.com>
13974
13975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13976         0 segment values are 0 in any format.
13977
13978         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13979         * gst/base/gstbasetransform.h:
13980         Parse newsegment correctly in basetransform
13981
13982         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13983         Sync to clock using updated segment values.
13984
13985 2005-11-15  Andy Wingo  <wingo@pobox.com>
13986
13987         * check/gst/gstpipeline.c (test_base_time): Add check that the
13988         base time and stream time are reset correctly.
13989
13990 2005-11-15  Wim Taymans  <wim@fluendo.com>
13991
13992         * docs/design/part-TODO.txt:
13993         Some more TODO items.
13994
13995 2005-11-15  Andy Wingo  <wingo@pobox.com>
13996
13997         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13998         error if the user selected "no clock" as the clocking method.
13999
14000         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14001         timestamps with live capture.
14002
14003         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14004         is 0 but we are a live source, timestamp the buffers using the
14005         element's clock.
14006
14007 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14008
14009         * docs/gst/gstreamer-sections.txt:
14010         * gst/gsterror.c:
14011         * gst/gstghostpad.c:
14012         * gst/gstobject.h:
14013         * gst/gstxml.c:
14014           more section docs
14015
14016 2005-11-14  Wim Taymans  <wim@fluendo.com>
14017
14018         * common/gst.supp:
14019           add suppressions from Wim's Debian machine
14020
14021 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14022
14023         * common/gst.supp:
14024           add suppressions from Andy's AMD64 Ubuntu machine
14025
14026 2005-11-14  Andy Wingo  <wingo@pobox.com>
14027
14028         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14029         STATE_LOCK not necessary. Fixes #311489.
14030
14031         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14032         #305291.
14033
14034         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14035         this function is not implemented.
14036
14037 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14038
14039         * gst/base/gstbasetransform.c:
14040         (gst_base_transform_prepare_output_buf):
14041         Ref the source pad caps while we need them.
14042         Fixes (#321386)
14043
14044 2005-11-11  Wim Taymans  <wim@fluendo.com>
14045
14046         * docs/gst/gstreamer-sections.txt:
14047         Added some docs for GstCollectData.
14048
14049         * gst/base/gstadapter.c:
14050         Some small code example fix.
14051
14052         * gst/base/gstcollectpads.c:
14053         * gst/base/gstcollectpads.h:
14054         Document some more.
14055
14056 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14057
14058         * configure.ac: back to HEAD
14059
14060 === release 0.9.5 ===
14061
14062 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14063
14064         * configure.ac:
14065           releasing 0.9.5, "Bike Lunch Day"
14066
14067 2005-11-11  Wim Taymans  <wim@fluendo.com>
14068
14069         * gst/gstbuffer.c: (_gst_buffer_copy):
14070         Copy more flags.
14071
14072         * gst/gstcaps.c: (gst_caps_is_equal):
14073         Fix some docs.
14074         Make _is_equal fast in the trivial cases.
14075
14076         * gst/gstminiobject.c:
14077         * gst/gstminiobject.h:
14078         More docs. Spifify .h file.
14079
14080         * gst/gstutils.c:
14081         Small doc update.
14082
14083 2005-11-11  Wim Taymans  <wim@fluendo.com>
14084
14085         * gst/base/gstbasetransform.c:
14086         (gst_base_transform_prepare_output_buf),
14087         (gst_base_transform_handle_buffer):
14088         Small cleanups.
14089         If we're processing a buffer and need to allocate an output
14090         buffer, we cannot accept a format change. If we did get a 
14091         format change, we have to alloc a buffer ourselves of the 
14092         right size.
14093
14094 2005-11-11  Wim Taymans  <wim@fluendo.com>
14095
14096         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14097         While checking the flag for reentrancy in the gstcaps function
14098         is nice to detect recursive invocations, it also makes it 
14099         impossible to call getcaps from multiple threads, which must be
14100         possible. So, checking for recursive calls has to go.
14101
14102 2005-11-11  Michael Smith <msmith@fluendo.com>
14103
14104         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14105           Don't sync on buffers that fall partially outside our current
14106           segment. Prevents an assertion failure/abort playing some files.
14107
14108 2005-11-10  Andy Wingo  <wingo@pobox.com>
14109
14110         * check/gst/gstbin.c (test_message_state_changed_children): Style
14111         fix..
14112
14113         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14114         gst_bus_poll with the signal watch. Ensures that poll and a signal
14115         watch see the same messages.
14116
14117         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14118         a poll and a watch at the same time get the same messages.
14119
14120 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14121
14122         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14123         * gst/gstcaps.c: (gst_caps_intersect):
14124           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14125           and it's not needed.
14126
14127 2005-11-10  Wim Taymans  <wim@fluendo.com>
14128
14129         * docs/design/part-TODO.txt:
14130         Updated todo.
14131
14132 2005-11-10  Wim Taymans  <wim@fluendo.com>
14133
14134         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14135         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14136         (gst_base_src_do_sync), (gst_base_src_get_range):
14137         Implement clock sync in base class.
14138
14139 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14140
14141         patch by: Tim-Philipp Müller <tim at centricular dot net>
14142
14143         * gst/gststructure.c: (gst_structure_parse_field),
14144         (gst_structure_from_string):
14145           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14146           so that gst_parse_launch() can deal with spaces in filtered link
14147           caps (fixes #164479)
14148         * check/gst/capslist.h:
14149         * check/gst/gststructure.c: (GST_START_TEST):
14150           add unit tests for this change
14151
14152 2005-11-10  Wim Taymans  <wim@fluendo.com>
14153
14154         * docs/gst/gstreamer-sections.txt:
14155         * gst/gstelement.c:
14156         * gst/gstelement.h:
14157         Fix docs, move some STATE macros to private.
14158
14159 2005-11-10  Wim Taymans  <wim@fluendo.com>
14160
14161         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14162         Added check for bug #317341
14163
14164         * gst/gstbuffer.c:
14165         * gst/gstbuffer.h:
14166         Some more spiffifying.
14167
14168         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14169         Call peer linkfunction if we are a source pad. Totally fixes
14170         #317341
14171
14172         * gst/gstpad.c:
14173         Update docs, source pads should call the peer linkfunction
14174         so they can atomically perform the pad link.
14175
14176 2005-11-09  Wim Taymans  <wim@fluendo.com>
14177
14178         * gst/gstbuffer.c:
14179         * gst/gstbuffer.h:
14180         Uber-spiffy-spiffify some more.
14181
14182 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14183
14184         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14185         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14186         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14187         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14188         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14189         * gst/gstpad.c: (gst_pad_init):
14190           Use GST_DEBUG_FUNCPTR() more extensively.
14191
14192 2005-11-09  Wim Taymans  <wim@fluendo.com>
14193
14194         * gst/gstobject.c: (gst_object_class_init):
14195         * gst/gstobject.h:
14196         Documentation fixes.
14197
14198 2005-11-09  Edward Hervey  <edward@fluendo.com>
14199
14200         * gst/gsttypefindfactory.c:
14201         Fix docs.
14202         
14203 2005-11-09  Edward Hervey  <edward@fluendo.com>
14204
14205         * gst/base/gsttypefindhelper.c:
14206         * gst/gsttypefind.c:
14207         * gst/gsttypefind.h:
14208         Fix docs.
14209
14210 2005-11-09  Wim Taymans  <wim@fluendo.com>
14211
14212         * gst/gstiterator.c:
14213         Fix revision data.
14214
14215         * gst/gsttask.c:
14216         * gst/gsttask.h:
14217         Fix docs.
14218
14219 2005-11-09  Wim Taymans  <wim@fluendo.com>
14220
14221         * gst/gstevent.h:
14222         * gst/gsturi.h:
14223         Fix docs.
14224
14225 2005-11-09  Wim Taymans  <wim@fluendo.com>
14226
14227         * docs/gst/gstreamer-sections.txt:
14228         Moved the message async delivery private lock and cond
14229         to the private section.
14230
14231         * gst/gstmessage.c:
14232         * gst/gstmessage.h:
14233         Fixed docs.
14234
14235 2005-11-09  Edward Hervey  <edward@fluendo.com>
14236
14237         * docs/gst/gstreamer-sections.txt:
14238         * gst/gsturi.c:
14239         * gst/gsturi.h:
14240         Document GstURIHandler
14241
14242 2005-11-09  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14245         (gst_iterator_find_custom):
14246         * gst/gstiterator.h:
14247         Fix iterator docs.
14248
14249 2005-11-09  Wim Taymans  <wim@fluendo.com>
14250
14251         * gst/gstbin.h:
14252         Document another field.
14253
14254         * gst/gststructure.c:
14255         * gst/gststructure.h:
14256         Document.
14257
14258 2005-11-09  Wim Taymans  <wim@fluendo.com>
14259
14260         * gst/gstbin.h:
14261         Documented structs.
14262
14263 2005-11-09  Wim Taymans  <wim@fluendo.com>
14264
14265         * docs/gst/gstreamer-sections.txt:
14266         Added some new macros.
14267
14268         * gst/gstclock.c:
14269         * gst/gstclock.h:
14270         * gst/gstobject.h:
14271         Docs updates.
14272
14273 2005-11-09  Wim Taymans  <wim@fluendo.com>
14274
14275         * docs/design/part-TODO.txt:
14276         Some more items for the TODO
14277
14278         * gst/gstcaps.c:
14279         * gst/gstcaps.h:
14280         Document GstCaps.
14281
14282 2005-11-09  Andy Wingo  <wingo@pobox.com>
14283
14284         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14285         to work on something else now tho...
14286
14287         * gst/base/gstadapter.c: More adapter docs.
14288
14289         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14290         (gst_file_sink_stop): New functions, replace the state change
14291         handler.
14292         (gst_file_sink_class_init): Hook up the start and stop functions.
14293         (gst_file_sink_base_init): Don't set the state change handler any
14294         more. It was a bit ugly too, being set from here...
14295         (gst_file_sink_get_property, gst_file_sink_set_property):
14296         Cleanups...
14297         (gst_file_sink_set_location): More robust check that doesn't call
14298         GST_STATE. Ugggggg.
14299
14300 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14301
14302         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14303           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14304
14305 2005-11-08  Wim Taymans  <wim@fluendo.com>
14306
14307         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14308         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14309         (gst_base_sink_chain), (gst_base_sink_change_state):
14310         * gst/base/gstbasesink.h:
14311         * gst/base/gstbasesrc.h:
14312         * gst/gstelement.h:
14313         * gst/gstevent.h:
14314         Avoid excessive typechecking in macros.
14315
14316         * gst/gstminiobject.c: (gst_mini_object_get_type),
14317         (gst_mini_object_init), (gst_mini_object_new),
14318         (gst_mini_object_free):
14319         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14320         (gst_object_finalize):
14321         Remove cruft code, optimize alloc_trace.
14322
14323 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14324
14325         * docs/faq/gst-uninstalled:
14326           fix up PS1 for systems that try to reset it
14327
14328 2005-11-07  Wim Taymans  <wim@fluendo.com>
14329
14330         * gst/base/gstbasesrc.c: (gst_base_src_init),
14331         (gst_base_src_get_range):
14332         Set the segment_end to -1 initially. Fixed typefind.
14333
14334 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14335
14336         * gst/base/gstadapter.c:
14337           Debug category should be 'adapter', not 'GstAdapter'.
14338           
14339         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14340         (gst_collectpads_class_init), (gst_collectpads_init),
14341         (gst_collectpads_peek), (gst_collectpads_pop),
14342         (gst_collectpads_event), (gst_collectpads_chain):
14343           Add debug category and some debugging output. Use boilerplate
14344           macros. Remove some extraneous words from docs.
14345
14346 2005-11-05  Andy Wingo  <wingo@pobox.com>
14347
14348         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14349         macro.
14350
14351 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14352
14353         * docs/gst/gstreamer-sections.txt:
14354         * gst/gstcaps.h:
14355         * gst/gstinfo.c:
14356         * gst/gstminiobject.h:
14357         * gst/gstobject.h:
14358         * gst/gstutils.h:
14359           more docs added
14360
14361 2005-11-04  Wim Taymans  <wim@fluendo.com>
14362
14363         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14364         Small update to stop at the configured segment_end
14365         position.
14366
14367 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14368
14369         * gst/gstregistry.c:
14370         * gst/gstregistry.h:
14371           added missing docs
14372
14373 2005-11-04  Edward Hervey  <edward@fluendo.com>
14374
14375         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14376         Check if we are doing a segment seek and have arrived at the
14377         end of that segment.
14378
14379 2005-11-04  Wim Taymans  <wim@fluendo.com>
14380
14381         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14382         Don't leak a mutex unlock in case of an error.
14383
14384         * gst/gstbus.h:
14385         Doc fixes.
14386
14387 2005-11-04  Wim Taymans  <wim@fluendo.com>
14388
14389         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14390         (gst_bus_post):
14391         Get the context to wake up only once.
14392
14393 2005-11-03  Wim Taymans  <wim@fluendo.com>
14394
14395         * check/states/sinks.c: (GST_START_TEST):
14396         Uncomment fixed check.
14397
14398         * docs/design/part-TODO.txt:
14399         Updated TODO.
14400
14401         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14402         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14403         (gst_base_sink_get_position):
14404         If we are going to PLAYING, post the right pending state
14405         when we post the intermediate paused message.
14406
14407         * gst/gstelement.c: (gst_element_continue_state),
14408         (gst_element_set_state_func), (gst_element_change_state):
14409         Don't post state changes that were between the same state
14410         and were not ASYNC.
14411
14412 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14413
14414         * docs/gst/gstreamer-sections.txt:
14415         * gst/gstcaps.h:
14416         * gst/gstinfo.c:
14417         * gst/gstminiobject.h:
14418         * gst/gstobject.h:
14419         * gst/gstutils.h:
14420           more docs and doc style fixes
14421
14422 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14423
14424         * docs/gst/gstreamer-sections.txt:
14425         * gst/gstelement.c:
14426         * gst/gstminiobject.c:
14427         doc fixes
14428
14429 2005-11-03  Andy Wingo  <wingo@pobox.com>
14430
14431         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14432         state-changed messages actually have the right order and the right
14433         values.
14434
14435 2005-11-03  Wim Taymans  <wim@fluendo.com>
14436
14437         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14438         Added some more checks. Specifically the case where NO_PREROLL
14439         elements are in the pipeline.
14440
14441         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14442         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14443         (gst_base_sink_get_position):
14444         Post READY->PAUSED state change messages too.
14445         Fix bug where VOID was posted as pending state...
14446
14447         * gst/gstbin.c: (gst_bin_recalc_state):
14448         use _element_continue_state() to continue the state change.
14449
14450         * gst/gstelement.c: (gst_element_continue_state),
14451         (gst_element_commit_state), (gst_element_set_state_func),
14452         (gst_element_change_state), (gst_element_change_state_func):
14453         Lots of state change cleanups, assign the STATE_RETURN in
14454         a new continue_state() function that also propagates the
14455         last return value from a state change to the app.
14456         Update some debug statements with proper category.
14457
14458 2005-11-03  Wim Taymans  <wim@fluendo.com>
14459
14460         * docs/design/part-events.txt:
14461         * docs/design/part-gstpipeline.txt:
14462         * docs/design/part-messages.txt:
14463         * docs/design/part-overview.txt:
14464         * docs/design/part-seeking.txt:
14465         * docs/design/part-states.txt:
14466         * docs/design/part-trickmodes.txt:
14467         * docs/manual/advanced-position.xml:
14468         Small docs updates.
14469
14470         * gst/gstobject.h:
14471         People think !! is ugly, this looks better.
14472
14473         * gst/gstpad.c: (gst_pad_set_blocked_async):
14474         Remove !! since it's fixed elsewhere now.
14475
14476 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14477
14478         * gst/gstminiobject.h:
14479         * gst/gstobject.h:
14480           Add !! to _FLAG_IS_SET macros to make the result boolean.
14481
14482 2005-11-03  Edward Hervey  <edward@fluendo.com>
14483
14484         * gst/gstpad.c: (gst_pad_set_blocked_async):
14485         comparing a flag and a gboolean rarely returns coherent results...
14486         Added two characters (!!) to make that work correctly.
14487         
14488 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14489
14490         * gst/gstbus.c: (gst_bus_class_init):
14491           Fix some typos.
14492           
14493         * gst/gstqueue.c: (gst_queue_loop):
14494           Don't assume a miniobject that isn't a buffer is an
14495           event (it could be that there is a refcounting
14496           problem somewhere and the pointer is stale and
14497           refers to an already destroyed miniobject).
14498
14499 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14500
14501         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14502
14503 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14504
14505         * docs/manual/advanced-position.xml:
14506           Update seek example and explanations to current 0.9 API.
14507
14508         * gst/elements/gsttypefindelement.c:
14509         (gst_type_find_element_activate):
14510           Remove FIXME comment now that the found caps
14511           are unreffed.
14512
14513 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14514
14515         * gst/gstregistryxml.c: (load_feature):
14516           Add another GST_STR_NULL instance
14517
14518 2005-11-02  Edward Hervey  <edward@fluendo.com>
14519
14520         * gst/gstpad.c: (handle_pad_block):
14521         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14522         
14523 2005-11-02  Wim Taymans  <wim@fluendo.com>
14524
14525         * gst/gstbin.c:
14526         Fix typo in docs.
14527
14528         * gst/gstelement.c: (gst_element_commit_state):
14529         Remove unused value.
14530
14531         * gst/gstiterator.c:
14532         Mention that the returned element is reffed in the docs.
14533
14534 2005-11-02  Wim Taymans  <wim@fluendo.com>
14535
14536         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14537         (gst_pad_push), (gst_pad_push_event):
14538         Unlock blocked pads when they are flushed.
14539
14540 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14541
14542         * docs/README:
14543         * docs/gst/gstreamer-sections.txt:
14544         * gst/gstbin.c:
14545           doc updates
14546         * gst/gstregistry.c: (gst_registry_scan_path_level):
14547           fix for a nasty little missed situation where an installed plug-in
14548           which was in the cache did not get overridden by an uninstalled one
14549           which was earlier in the plugin path because the newly created plugin
14550           for the uninstalled one (not in the registry) didn't get its
14551           ->registered set to TRUE
14552
14553 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14554
14555         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14556         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14557         (gst_collectpads_is_active), (gst_collectpads_collect),
14558         (gst_collectpads_collect_range), (gst_collectpads_start),
14559         (gst_collectpads_stop), (gst_collectpads_peek),
14560         (gst_collectpads_pop), (gst_collectpads_available),
14561         (gst_collectpads_read), (gst_collectpads_flush):
14562           Guard public API with assertions.
14563         
14564         * gst/gstpad.c:
14565           Fix docs for gst_pad_set_link_function().
14566
14567 2005-11-02  Johan Dahlin  <johan@gnome.org>
14568
14569         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14570         Unref found_caps after we used it.
14571
14572 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14573
14574         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14575           Don't try to ref NULL.
14576
14577 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14578
14579         * win32/common/config.h.in:
14580           provide a GST_FUNCTION that just gives a string for now
14581
14582 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14583
14584         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14585         (gst_object_flags_get_type), (register_gst_bin_flags),
14586         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14587         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14588         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14589         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14590         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14591         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14592         (gst_clock_flags_get_type), (register_gst_state),
14593         (gst_state_get_type), (register_gst_state_change_return),
14594         (gst_state_change_return_get_type), (register_gst_state_change),
14595         (gst_state_change_get_type), (register_gst_element_flags),
14596         (gst_element_flags_get_type), (register_gst_core_error),
14597         (gst_core_error_get_type), (register_gst_library_error),
14598         (gst_library_error_get_type), (register_gst_resource_error),
14599         (gst_resource_error_get_type), (register_gst_stream_error),
14600         (gst_stream_error_get_type), (register_gst_event_type),
14601         (gst_event_type_get_type), (register_gst_seek_type),
14602         (gst_seek_type_get_type), (register_gst_seek_flags),
14603         (gst_seek_flags_get_type), (register_gst_format),
14604         (gst_format_get_type), (register_gst_index_certainty),
14605         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14606         (gst_index_entry_type_get_type),
14607         (register_gst_index_lookup_method),
14608         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14609         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14610         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14611         (gst_index_flags_get_type), (register_gst_debug_level),
14612         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14613         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14614         (gst_iterator_result_get_type), (register_gst_iterator_item),
14615         (gst_iterator_item_get_type), (register_gst_message_type),
14616         (gst_message_type_get_type), (register_gst_mini_object_flags),
14617         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14618         (gst_pad_link_return_get_type), (register_gst_flow_return),
14619         (gst_flow_return_get_type), (register_gst_activate_mode),
14620         (gst_activate_mode_get_type), (register_gst_pad_direction),
14621         (gst_pad_direction_get_type), (register_gst_pad_flags),
14622         (gst_pad_flags_get_type), (register_gst_pad_presence),
14623         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14624         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14625         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14626         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14627         (gst_plugin_flags_get_type), (register_gst_rank),
14628         (gst_rank_get_type), (register_gst_query_type),
14629         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14630         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14631         (gst_tag_flag_get_type), (register_gst_task_state),
14632         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14633         (gst_alloc_trace_flags_get_type),
14634         (register_gst_type_find_probability),
14635         (gst_type_find_probability_get_type), (register_gst_uri_type),
14636         (gst_uri_type_get_type), (register_gst_parse_error),
14637         (gst_parse_error_get_type):
14638         * win32/common/gstversion.h:
14639           update win32 copies
14640
14641 2005-11-01  Luca Ognibene  <luogni@tin.it>
14642
14643         * gst/gst.c:
14644           fix docs. popt is dead, long live GOption.
14645
14646 2005-10-31  Wim Taymans  <wim@fluendo.com>
14647
14648         * gst/gstbuffer.h:
14649         Small doc fix.
14650
14651 2005-10-31  Andy Wingo  <wingo@pobox.com>
14652
14653         * Boo!
14654
14655         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14656
14657         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14658         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14659         the possibility of deadlocks here if code calling notify() or
14660         set() has a lock that can be taken in another notify handler (ABBA
14661         with class lock and e.g. python GIL state lock).
14662
14663 2005-10-28  Julien MOUTTE  <julien@moutte.net>
14664
14665         * gst/gstbus.c: Doc updates.
14666
14667 2005-10-28  Wim Taymans  <wim@fluendo.com>
14668
14669         * docs/design/part-TODO.txt:
14670         * gst/gstiterator.c:
14671         * gst/gstsystemclock.c:
14672         * gst/gstsystemclock.h:
14673         Doc updates.
14674
14675 2005-10-28  Edward Hervey  <edward@fluendo.com>
14676
14677         * docs/gst/gstreamer-docs.sgml:
14678         * docs/gst/gstreamer-sections.txt:
14679         the GstURIType documentation page is private, it only defines GstURIType
14680         which should be defined in the GstURIHandler page
14681         
14682 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14683
14684         * gst/gstbin.c: (gst_bin_class_init):
14685         * gst/gstbin.h:
14686         * gst/gstutils.c:
14687         Documentation updates.
14688
14689 2005-10-28  Wim Taymans  <wim@fluendo.com>
14690
14691         * docs/gst/gstreamer-sections.txt:
14692         * gst/gstclock.c:
14693         * gst/gstclock.h:
14694         Documented the clocks.
14695
14696 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
14697
14698         * docs/gst/gstreamer-sections.txt:
14699           move some macros to private sections
14700         * gst/gstminiobject.c:
14701         * gst/gstminiobject.h:
14702           add descriptions provided by ds and some more
14703         * gst/gstpad.h:
14704           mark macro as to be removed
14705
14706 2005-10-28  Wim Taymans  <wim@fluendo.com>
14707
14708         * docs/design/part-TODO.txt:
14709         Add an item to TODO.
14710
14711         * gst/gstiterator.c: (gst_iterator_fold),
14712         (gst_iterator_find_custom):
14713         * gst/gstiterator.h:
14714         Add iterator docs.
14715
14716 2005-10-28  Wim Taymans  <wim@fluendo.com>
14717
14718         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14719         (gst_base_transform_init):
14720         Don't leak class.
14721
14722         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14723         An EOS event marks the queue as completely filled.
14724
14725 2005-10-27  Wim Taymans  <wim@fluendo.com>
14726
14727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14728         (gst_base_sink_do_sync), (gst_base_sink_get_position):
14729         Some more debugging.
14730
14731         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14732         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14733         (gst_base_transform_event), (gst_base_transform_getrange),
14734         (gst_base_transform_chain):
14735         * gst/base/gstbasetransform.h:
14736         Fix debugging,
14737         Protect transform and concurrent buffer alloc with a new lock.
14738         Try not to break ABI/API.
14739
14740 2005-10-27  Wim Taymans  <wim@fluendo.com>
14741
14742         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14743         (gst_base_src_init), (gst_base_src_query),
14744         (gst_base_src_default_newsegment),
14745         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14746         (gst_base_src_send_event), (gst_base_src_event_handler),
14747         (gst_base_src_pad_get_range), (gst_base_src_loop),
14748         (gst_base_src_unlock), (gst_base_src_default_negotiate),
14749         (gst_base_src_start), (gst_base_src_deactivate),
14750         (gst_base_src_activate_push), (gst_base_src_change_state):
14751         Move some stuff around and cleanup things.
14752
14753 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
14754
14755         * gst/base/gstbasesrc.c: (gst_base_src_query):
14756           Add missing break statements.
14757
14758 2005-10-27  Wim Taymans  <wim@fluendo.com>
14759
14760         * check/gst/gstbin.c: (GST_START_TEST):
14761         An extra refcount is taken in basesrc.
14762
14763         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14764         (gst_base_src_get_range), (gst_base_src_pad_get_range),
14765         (gst_base_src_loop):
14766         Small cleanups, check for flushing after being unlocked from the 
14767         LIVE_LOCK. take refcounts correctly (not yet everywhere).
14768         Don't send out EOS when going to READY.
14769
14770 2005-10-27  Wim Taymans  <wim@fluendo.com>
14771
14772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14773         (gst_base_sink_get_position):
14774         Some more debug.
14775
14776         * gst/gstbin.c: (message_check), (bin_replace_message),
14777         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14778         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14779         (bin_query_duration_init), (bin_query_duration_fold),
14780         (bin_query_duration_done), (bin_query_generic_fold),
14781         (gst_bin_query):
14782         * tools/gst-launch.c: (main):
14783         Remove old option.
14784
14785 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
14786
14787         * examples/controller/audio-example.c: (main):
14788         * examples/queue/queue.c: (event_loop):
14789         * gst/base/gstbasetransform.h:
14790         * gst/gstelement.c: (gst_element_send_event):
14791         * gst/gstevent.h:
14792         * gst/gstpad.c: (gst_pad_send_event):
14793           fixing examples
14794           fixing docs typos
14795           changing log priority in error situations
14796
14797 2005-10-25  Wim Taymans  <wim@fluendo.com>
14798
14799         * gst/gstbin.c: (message_check), (bin_replace_message),
14800         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14801         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14802         (bin_query_duration_init), (bin_query_duration_fold),
14803         (bin_query_duration_done), (bin_query_generic_fold),
14804         (gst_bin_query):
14805         Some doc and debug updates.
14806         Cache previously requested query DURATION for speed. invalidate
14807         cached duration if element posts a DURATION message.
14808
14809 2005-10-25  Wim Taymans  <wim@fluendo.com>
14810
14811         * docs/design/part-TODO.txt:
14812         Update TODO.
14813
14814         * gst/gstbin.c: (message_check), (bin_replace_message),
14815         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14816         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14817         (bin_query_duration_init), (bin_query_duration_fold),
14818         (bin_query_duration_done), (bin_query_generic_fold),
14819         (gst_bin_query):
14820         Handle SEGMENT_START/DONE messages correctly.
14821         More evolved query algorithm that handles duration queries
14822         correctly.
14823
14824         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14825         (gst_element_get_state_func), (gst_element_abort_state),
14826         (gst_element_commit_state), (gst_element_lost_state):
14827         Some more debugging.
14828
14829         * gst/gstmessage.h:
14830         Added doc.
14831
14832 2005-10-25  Wim Taymans  <wim@fluendo.com>
14833
14834         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14835         Don't use invalid stream_time.
14836
14837         * gst/gstevent.c: (gst_event_new_newsegment):
14838         stream_time in newsegment cannot be undefined.
14839
14840 2005-10-24  Wim Taymans  <wim@fluendo.com>
14841
14842         * gst/gstbus.c:
14843         Doc fix.
14844
14845         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14846         (gst_queue_loop):
14847         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14848
14849 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
14850
14851         * docs/libs/tmpl/gstdparam.sgml:
14852         * docs/libs/tmpl/gstdplinint.sgml:
14853         * docs/libs/tmpl/gstdpman.sgml:
14854         * docs/libs/tmpl/gstdpsmooth.sgml:
14855         * docs/libs/tmpl/gstunitconvert.sgml:
14856           these are obsolete
14857
14858 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14859
14860         * configure.ac:
14861           back to HEAD
14862
14863 === release 0.9.4 ===
14864
14865 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14866
14867         * configure.ac:
14868           releasing 0.9.4, "Tyrannosaurus Rex"
14869
14870 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
14871
14872         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14873         (gst_file_sink_get_current_offset):
14874           Use fseeko() and ftello() if available. When falling back on
14875           lseek() to get the current offset, fflush() first to make sure
14876           everything is up-to-date and we get the right offset.
14877
14878 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14879
14880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14881         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14882         * gst/gsterror.c: (_gst_stream_errors_init):
14883         * gst/gsterror.h:
14884         * gst/gstqueue.c: (gst_queue_loop):
14885         * po/POTFILES.in:
14886           remove prematurely added error category and clean up the instances
14887
14888 2005-10-21  Wim Taymans  <wim@fluendo.com>
14889
14890         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14891         (gst_base_sink_get_position), (gst_base_sink_query),
14892         (gst_base_sink_change_state):
14893         Simply set the right flag when going to playing, that's all
14894         we need to do instead of calling a function inside the object
14895         lock (that could take the lock as well and deadlock)
14896
14897 2005-10-21  Wim Taymans  <wim@fluendo.com>
14898
14899         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14900         (gst_base_src_loop):
14901         Don't warn, the peer element knows what to do best when
14902         the seek failed, it might try something else.
14903
14904 2005-10-21  Wim Taymans  <wim@fluendo.com>
14905
14906         * gst/base/gstbasesrc.c: (gst_base_src_init),
14907         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14908         Fix seeking.
14909
14910 2005-10-21  Wim Taymans  <wim@fluendo.com>
14911
14912         * docs/design/part-segments.txt:
14913         More docs.
14914
14915         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14916         Correctly set caps, even on the subbufer.
14917
14918 2005-10-21  Wim Taymans  <wim@fluendo.com>
14919
14920         * docs/gst/gstreamer-docs.sgml:
14921         * docs/gst/gstreamer-sections.txt:
14922         * gst/gstelement.h:
14923         * gst/gstevent.c:
14924         * gst/gstevent.h:
14925         * gst/gstmessage.h:
14926         * gst/gstpad.h:
14927         * gst/gstparse.h:
14928         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14929         * gst/gsttask.h:
14930         * gst/gstutils.c:
14931         * gst/gstutils.h:
14932         And 2% more doc coverage.
14933
14934 2005-10-21  Andy Wingo  <wingo@pobox.com>
14935
14936         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14937         position reporting.
14938
14939 2005-10-20  Wim Taymans  <wim@fluendo.com>
14940
14941         * gst/gsterror.c: (gst_error_get_message):
14942         * gst/gstparse.h:
14943         * gst/gstquery.h:
14944         * gst/gststructure.c:
14945         * gst/gsttrace.c:
14946         * gst/gstutils.c:
14947         More docs.
14948
14949 2005-10-20  Wim Taymans  <wim@fluendo.com>
14950
14951         * gst/gstbuffer.h:
14952         * gst/gstpad.c:
14953         * gst/gstparse.c:
14954         Another 1% more coverage.
14955
14956 2005-10-20  Wim Taymans  <wim@fluendo.com>
14957
14958         * docs/gst/gstreamer-sections.txt:
14959         * gst/gstelement.c: (gst_element_get_state_func),
14960         (gst_element_abort_state), (gst_element_commit_state),
14961         (gst_element_lost_state):
14962         * gst/gstevent.h:
14963         * gst/gstquery.c: (gst_query_set_position),
14964         (gst_query_parse_position), (gst_query_set_duration),
14965         (gst_query_parse_duration), (gst_query_new_convert):
14966         * gst/gstutils.c:
14967         Yay! 1% more docs coverage.
14968
14969 2005-10-20  Wim Taymans  <wim@fluendo.com>
14970
14971         * gst/gstpad.h:
14972         * gst/gstquery.c: (gst_query_set_position),
14973         (gst_query_parse_position), (gst_query_set_duration),
14974         (gst_query_parse_duration), (gst_query_new_convert):
14975         * gst/gstquery.h:
14976         * gst/gstutils.c: (gst_element_query_convert):
14977         * gst/gstutils.h:
14978         Docs and consistency fixes.
14979
14980 2005-10-20  Wim Taymans  <wim@fluendo.com>
14981
14982         * gst/gsttask.c:
14983         * gst/gsttask.h:
14984         More docs.
14985
14986 2005-10-20  Wim Taymans  <wim@fluendo.com>
14987
14988         * gst/gstbin.c: (message_check), (bin_replace_message),
14989         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14990         (update_degree), (gst_bin_sort_iterator_next),
14991         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14992         Reworked the message handling a bit, cache the messages instead of
14993         only the senders. alows us to do more in the future.
14994
14995 2005-10-20  Wim Taymans  <wim@fluendo.com>
14996
14997         * docs/design/part-TODO.txt:
14998         Update TODO
14999
15000         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15001         (gst_base_sink_query):
15002         Don't use clock time to report position when in EOS.
15003
15004 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15005
15006         * tools/gst-inspect.c: (print_interfaces),
15007         (print_element_properties_info), (print_element_info):
15008           Fix interface output with gst-inspect -a; don't print
15009           newlines after double/float properties.
15010
15011 2005-10-20  Wim Taymans  <wim@fluendo.com>
15012
15013         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15014         (gst_base_sink_query):
15015         Speed up current position calculation.
15016
15017         * gst/base/gstbasesrc.c: (gst_base_src_query),
15018         (gst_base_src_default_newsegment):
15019         Correctly set stream position in newsegment.
15020
15021         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15022         (update_degree), (gst_bin_sort_iterator_next),
15023         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15024         * gst/gstmessage.c: (gst_message_new_custom):
15025         Clean up debugging info
15026
15027         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15028         (gst_queue_loop), (gst_queue_handle_src_query):
15029         Pause task faster.
15030
15031 2005-10-19  Wim Taymans  <wim@fluendo.com>
15032
15033         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15034         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15035         Fix query handling again.
15036
15037 2005-10-19  Wim Taymans  <wim@fluendo.com>
15038
15039         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15040         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15041         * gst/base/gstbasesrc.c: (gst_base_src_query):
15042         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15043         * gst/elements/gsttypefindelement.c:
15044         (gst_type_find_handle_src_query), (find_element_get_length),
15045         (gst_type_find_element_activate):
15046         API change fix.
15047
15048         * gst/gstquery.c: (gst_query_new_position),
15049         (gst_query_set_position), (gst_query_parse_position),
15050         (gst_query_new_duration), (gst_query_set_duration),
15051         (gst_query_parse_duration), (gst_query_set_segment),
15052         (gst_query_parse_segment):
15053         * gst/gstquery.h:
15054         Bundling query position/duration is not a good idea since duration
15055         does not change much and we don't want to recalculate it for every
15056         position query, so they are separated again..
15057         Base value in segment query is not needed.
15058
15059         * gst/gstqueue.c: (gst_queue_handle_src_query):
15060         * gst/gstutils.c: (gst_element_query_position),
15061         (gst_element_query_duration), (gst_pad_query_position),
15062         (gst_pad_query_duration):
15063         * gst/gstutils.h:
15064         Updates for query API change.
15065         Added some docs here and there.
15066
15067 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15068
15069         * check/gst/gstbin.c: (GST_START_TEST):
15070         * check/gst/gstghostpad.c: (GST_START_TEST):
15071         * check/pipelines/cleanup.c: (GST_START_TEST):
15072           wait on thread to die so we can check refcount correctly
15073
15074 2005-10-18  Wim Taymans  <wim@fluendo.com>
15075
15076         * check/pipelines/stress.c: (GST_START_TEST):
15077         Make check a little more time consuming.
15078
15079 2005-10-18  Wim Taymans  <wim@fluendo.com>
15080
15081         * check/Makefile.am:
15082         * check/pipelines/stress.c: (GST_START_TEST),
15083         (simple_launch_lines_suite), (main):
15084         Small state change torture test.
15085
15086         * docs/design/part-states.txt:
15087         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15088         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15089         (gst_base_sink_change_state):
15090         Never take state lock from streaming thread, clean up ugly
15091         hacks. Unfortunatly core does not yet support nice ways to
15092         async commit state.
15093         
15094         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15095         (bin_bus_handler):
15096         Start state recalc if a STATE_DIRTY message is posted, but only
15097         on the toplevel bin.
15098
15099         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15100         (gst_element_get_state_func), (gst_element_abort_state),
15101         (gst_element_commit_state), (gst_element_lost_state),
15102         (gst_element_set_state_func), (gst_element_change_state):
15103         * gst/gstelement.h:
15104         State variables are now protected with the LOCK, the state
15105         lock is only used to serialize _set_state().
15106
15107 2005-10-18  Wim Taymans  <wim@fluendo.com>
15108
15109         * check/gst/gstbin.c: (GST_START_TEST):
15110         * check/gst/gstmessage.c: (GST_START_TEST):
15111         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15112         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15113         (bin_bus_handler):
15114         * gst/gstelement.c: (gst_element_abort_state),
15115         (gst_element_commit_state), (gst_element_lost_state):
15116         * gst/gstmessage.c: (gst_message_new_state_changed),
15117         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15118         (gst_message_new_segment_done), (gst_message_new_duration),
15119         (gst_message_parse_state_changed),
15120         (gst_message_parse_segment_start),
15121         (gst_message_parse_segment_done), (gst_message_parse_duration):
15122         * gst/gstmessage.h:
15123         * tools/gst-launch.c: (event_loop):
15124         Seriously, this is better than a previous commit as we only need
15125         to notify the fact that an element changed state in a streaming
15126         thread, marking the state of the parents dirty, hence the 
15127         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15128         message.
15129
15130 2005-10-18  Wim Taymans  <wim@fluendo.com>
15131
15132         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15133         (gst_bin_recalc_func):
15134         * gst/gstelement.c: (gst_element_set_clock),
15135         (gst_element_abort_state), (gst_element_lost_state):
15136         Cleanups, prepare for state change fixes.
15137
15138 2005-10-18  Wim Taymans  <wim@fluendo.com>
15139
15140         * gst/gstbin.h:
15141         * gst/gstelement.c: (gst_element_class_init),
15142         (gst_element_set_state), (gst_element_set_state_func):
15143         * gst/gstelement.h:
15144         Pending ABI changes.
15145         GThreadPool in GstBinClass to monitor async state changes.
15146         state_cookie in GstElement to detect concurrent gst/set state.
15147         set_state is now virtual too in case a very complicated element
15148         has to be constructed.
15149
15150 2005-10-18  Wim Taymans  <wim@fluendo.com>
15151
15152         * check/gst/gstbin.c: (GST_START_TEST):
15153         * check/gst/gstmessage.c: (GST_START_TEST):
15154         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15155         * gst/gstbin.c: (bin_bus_handler):
15156         * gst/gstelement.c: (gst_element_commit_state),
15157         (gst_element_lost_state):
15158         * gst/gstmessage.c: (gst_message_new_state_changed),
15159         (gst_message_new_segment_start), (gst_message_new_segment_done),
15160         (gst_message_new_duration), (gst_message_parse_state_changed),
15161         (gst_message_parse_segment_start),
15162         (gst_message_parse_segment_done), (gst_message_parse_duration):
15163         * gst/gstmessage.h:
15164         * tools/gst-launch.c: (event_loop):
15165         Make messages future proof.
15166         state-change gets a flag if it was a message comming from the
15167         streaming thread.
15168         segment-start/stop can also be specified in other formats.
15169         A message to notify an app that a pipeline changed playback 
15170         duration.
15171         Also fix a GstMessage leak in -launch
15172
15173 2005-10-18  Andy Wingo  <wingo@pobox.com>
15174
15175         * gst/gstelement.c (gst_element_dispose): More helpful message.
15176
15177 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15178
15179         reviewed by: <delete if not using a buddy>
15180
15181         * common/gtk-doc.mak:
15182
15183 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * gst/gstregistry.c: (gst_registry_scan_path_level):
15186           unref a plug-in we get that was already initialized
15187
15188 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15189
15190         * docs/gst/gstreamer-sections.txt:
15191         * docs/libs/gstreamer-libs-sections.txt:
15192         * gst/gstelement.h:
15193           add new api entries
15194           hide internal macro
15195
15196 2005-10-17  Andy Wingo  <wingo@pobox.com>
15197
15198         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15199         cleanup.
15200
15201         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15202
15203         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15204
15205         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15206         (gst_element_get_state_func): Better debug message.
15207         (gst_element_commit_state): s/INFO/DEBUG/.
15208         (gst_element_lost_state, gst_element_change_state): 
15209
15210         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15211         (gst_message_new_custom): s/INFO/LOG/.
15212
15213 2005-10-17  Michael Smith <msmith@fluendo.com>
15214
15215         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15216           Check if end time is valid using end time, not start time.
15217
15218 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15219
15220         * check/gst-libs/controller.c: (GST_START_TEST),
15221         (gst_controller_suite):
15222         * libs/gst/controller/gstcontroller.c:
15223         (gst_controlled_property_set_interpolation_mode):
15224         * libs/gst/controller/gstcontroller.h:
15225         * libs/gst/controller/gstinterpolation.c:
15226         * testsuite/controller/.cvsignore:
15227         * testsuite/controller/Makefile.am:
15228         * testsuite/controller/interpolator.c:
15229           merge controller testsuites
15230           fix broken tests
15231           remove mem-chunk from docs
15232
15233 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15234
15235         * gst/gstmemchunk.c:
15236         * gst/gstmemchunk.h:
15237         * gst/gsttrashstack.c:
15238         * gst/gsttrashstack.h:
15239           out.  get out.  you're fired.  to the Attic !
15240
15241 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15242
15243         * gst/gstcaps.c: (gst_caps_intersect):
15244           fix signedness issues in a (hopefully) correct way
15245         * gst/gstelement.c: (gst_element_pads_activate):
15246           some debugging
15247         * gst/gstobject.c: (gst_object_set_parent):
15248           some debugging
15249
15250 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15251
15252         * gst/gstvalue.h: Fix prototypes.
15253
15254 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15255
15256         * docs/gst/gstreamer-sections.txt:
15257         * gst/gst.c: (gst_version_string):
15258         * gst/gst.h:
15259         * gst/gstversion.h.in:
15260         * win32/common/libgstreamer.def:
15261           add gst_version_string ()
15262
15263 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15264
15265         * configure.ac:
15266           clean up further
15267         * gst/gst.c: (init_post):
15268         * win32/common/config.h.in:
15269           it's PLUGINDIR now
15270         * gst/gstcaps.c: (gst_caps_intersect):
15271           use gint64, the range could be bigger than a guint
15272
15273 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15274
15275         * gst/gstclock.h:
15276           document potential problem in 2038
15277
15278 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15279
15280         * gst/gstcaps.c: (gst_caps_intersect):
15281           Fix guint j diving under 0
15282
15283 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15284
15285         * configure.ac:
15286         * win32/common/config.h:
15287         * win32/common/config.h.in:
15288           check for process.h, declares getpid() on Windows
15289         * gst/gstinfo.c:
15290           include process.h if we have it
15291         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15292         * gst/gstmemchunk.h:
15293           fix signedness issues
15294         * win32/common/libgstreamer.def:
15295           fix get_type's
15296
15297 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15298
15299         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15300         fix. Because of unsigned ints, caps intersection was going nuts and
15301         trying to access structures with G_MAXUINT index. That fixes
15302         videotestsrc ! ffmpegcolorspace ! fakesink
15303         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15304         consistency.
15305
15306 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15307
15308         * configure.ac:
15309           use the gettext macro
15310         * gst/elements/gstelements.c:
15311         * gst/gst.c:
15312         * gst/indexers/gstindexers.c:
15313           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15314         * win32/common/config.h:
15315           updated config.h
15316         * win32/common/config.h.in:
15317           add the template to generate config.h
15318         * win32/common/gstenumtypes.c:
15319         * win32/common/gstversion.h:
15320           updated copies
15321
15322 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15323
15324         * gst/gst.c: (gst_version):
15325         * gst/gstversion.h.in:
15326           add the nano
15327
15328 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * gst/gstevent.h:
15331           Oops, add missing closing bracket.
15332
15333 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15334
15335         * configure.ac:
15336           use common m4's for argument checking
15337
15338 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15339
15340         * docs/gst/gstreamer-sections.txt:
15341         * gst/gstevent.h:
15342           Add GST_EVENT_TYPE_NAME() macro.
15343
15344 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15345
15346         * gst/gstinfo.c:
15347         * gst/gstpluginfeature.c:
15348         * gst/gsttask.c:
15349           privatize more symbols
15350
15351 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15352
15353         * configure.ac:
15354           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15355           everything that uses GStreamer API should have the includes
15356
15357 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15358
15359         * docs/gst/gstreamer-sections.txt:
15360         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15361         * gst/gstvalue.h:
15362           give each value a _get_type, removes the DATA exports
15363
15364 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15365
15366         * gst/gst.c:
15367         * gst/gst.h:
15368           remove _gst_registry_auto_load, not used anymore
15369         * gst/gstbin.c: (gst_bin_get_type):
15370         * gst/gstbin.h:
15371         * gst/gstelement.c: (gst_element_get_type):
15372         * gst/gstelement.h:
15373         * gst/gstobject.c: (gst_object_get_type):
15374         * gst/gstobject.h:
15375         * gst/gstpad.c: (gst_pad_get_type):
15376         * gst/gstpad.h:
15377           make _get_type functions similar, fixes data export from library
15378
15379 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15380
15381         * configure.ac:
15382           correctly make conditionals
15383         * gst/elements/Makefile.am:
15384         * gst/elements/gstelements.c:
15385           fix typo causing fdsrc not to build
15386
15387 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15388
15389         * testsuite/Makefile.am:
15390         * testsuite/bytestream/.cvsignore:
15391         * testsuite/bytestream/Makefile.am:
15392         * testsuite/bytestream/filepadsink.c:
15393         * testsuite/bytestream/gstbstest.c:
15394         * testsuite/bytestream/test1.c:
15395         * testsuite/bytestream/testfile1:
15396         * testsuite/caps/normalisation.c:
15397         * testsuite/caps/random.c: (main):
15398         * testsuite/cleanup/.cvsignore:
15399         * testsuite/cleanup/Makefile.am:
15400         * testsuite/cleanup/cleanup1.c:
15401         * testsuite/cleanup/cleanup2.c:
15402         * testsuite/cleanup/cleanup3.c:
15403         * testsuite/cleanup/cleanup4.c:
15404         * testsuite/cleanup/cleanup5.c:
15405         * testsuite/controller/interpolator.c:
15406         * testsuite/debug/printf_extension.c: (main):
15407         * testsuite/elements/tee.c:
15408         * testsuite/negotiation/.cvsignore:
15409         * testsuite/negotiation/Makefile.am:
15410         * testsuite/negotiation/pad_link.c:
15411         * testsuite/pad/Makefile.am:
15412         * testsuite/pad/chainnopull.c:
15413         * testsuite/pad/getnopush.c:
15414         * testsuite/pad/link.c:
15415         * testsuite/refcounting/sched.c: (create_pipeline):
15416         * testsuite/registry/Makefile.am:
15417         * testsuite/registry/gst-print-formats.c:
15418         * testsuite/schedulers/.cvsignore:
15419         * testsuite/schedulers/142183-2.c:
15420         * testsuite/schedulers/142183.c:
15421         * testsuite/schedulers/143777-2.c:
15422         * testsuite/schedulers/143777.c:
15423         * testsuite/schedulers/147713.c:
15424         * testsuite/schedulers/147819.c:
15425         * testsuite/schedulers/147894-2.c:
15426         * testsuite/schedulers/147894.c:
15427         * testsuite/schedulers/Makefile.am:
15428         * testsuite/schedulers/group_link.c:
15429         * testsuite/schedulers/queue_link.c:
15430         * testsuite/schedulers/relink.c:
15431         * testsuite/schedulers/unlink.c:
15432         * testsuite/schedulers/unref.c:
15433         * testsuite/schedulers/useless_iteration.c:
15434         * testsuite/states/bin.c:
15435           clean out/remove some stuff from the testsuite directories
15436
15437 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15438
15439         * configure.ac:
15440           check for some headers
15441         * gst/elements/Makefile.am:
15442         * gst/elements/gstelements.c:
15443           don't compile fdsrc without sys/socket.h
15444         * gst/indexers/Makefile.am:
15445         * gst/indexers/gstindexers.c: (plugin_init):
15446           don't compile fileindex without mmap
15447
15448 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15449
15450         * configure.ac:
15451           reorganize
15452           clean up
15453           document more
15454           remove cruft
15455         * check/Makefile.am:
15456         * docs/gst/Makefile.am:
15457         * examples/helloworld/Makefile.am:
15458         * gst/Makefile.am:
15459         * gst/base/Makefile.am:
15460         * gst/check/Makefile.am:
15461         * gst/elements/Makefile.am:
15462         * gst/indexers/Makefile.am:
15463         * gst/parse/Makefile.am:
15464         * libs/gst/controller/Makefile.am:
15465         * libs/gst/dataprotocol/Makefile.am:
15466         * examples/helloworld/helloworld.c: (event_loop):
15467           compile fixes, though it's not being compiled currently
15468
15469 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15470
15471         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15472           Add some simple tests for the new taglist date API.
15473
15474 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15475
15476         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15477         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15478           Beautify 'last-message' output: print 'none' for buffer timestamps
15479           and durations if none is set; improve alignment with next messages.
15480
15481 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15482
15483         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15484         * gst/gstpluginfeature.h:
15485         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15486         * gst/gstregistry.h:
15487         * docs/gst/gstreamer-sections.txt:
15488           Add new API to check plugin feature version requirements.
15489
15490         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15491           Some basic tests for the above.         
15492
15493 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15494
15495         * gst/gststructure.c: (gst_structure_to_string):
15496           guard against NULL printf - happens when for example
15497           a message structure with GstClock gets serialized
15498
15499 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15500
15501         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15502           Fix presumable copy'n'pasto.
15503
15504 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15505
15506         * gst/elements/gstfakesrc.h:
15507         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15508         * gst/elements/gsttypefindelement.c:
15509           fix some signedness
15510         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15511           I wonder if this could actually write +2GB files before
15512
15513 2005-10-13  Andy Wingo  <wingo@pobox.com>
15514
15515         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15516         Fix Timmeke Waymans bug.
15517         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15518         string of the proper length to gst_caps_from_string. There's a
15519         potential for, before this fix, that this could cause someone
15520         connecting over the network to cause a segfault if the payload is
15521         not NUL-terminated.
15522
15523 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15524
15525         * docs/design/draft-push-pull.txt:
15526         * docs/design/part-overview.txt:
15527         * docs/random/TODO-pre-0.9:
15528         * docs/random/old/ChangeLog.gstreamer:
15529         * gst/base/gstpushsrc.c:
15530         * gst/gstclock.c:
15531           fixed typos
15532
15533 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15534
15535         * gst/glib-compat.c: (gst_flags_get_first_value):
15536         * gst/glib-compat.h:
15537         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15538         (gst_value_compare_double), (gst_value_serialize_flags):
15539           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15540           infinite loop
15541
15542 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15543
15544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15545         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15546           fix up debugging
15547         * tools/gst-launch.c: (event_loop):
15548           print out clock nicely
15549
15550 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15551
15552         * docs/gst/gstreamer-sections.txt:
15553         * gst/gsttaglist.h:
15554         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15555         (gst_tag_list_get_date_index):
15556           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15557           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15558
15559 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15560
15561         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15562         (gst_collectpads_chain):
15563         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15564         in CollectData.
15565
15566 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15567
15568         * docs/gst/gstreamer-sections.txt:
15569         * gst/gst.c:
15570         * gst/gsterror.h:
15571         * tools/gst-inspect.c: (main):
15572         * tools/gst-launch.c: (main):
15573         * tools/gst-run.c: (main):
15574         * tools/gst-xmlinspect.c: (main):
15575           fix GOption context leaks
15576           doc fixes
15577
15578 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15579
15580         * gst/gstbus.c:
15581           use HAVE_UNISTD_H
15582         * win32/common/config.h:
15583           update config
15584         * win32/vs6/grammar.dsp:
15585         * win32/vs6/libgstelements.dsp:
15586         * win32/vs6/libgstreamer.dsp:
15587           update vs6 files
15588
15589 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15590
15591         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15592         * gst/base/gstbasesrc.c: (gst_base_src_query):
15593           fix more guint64<->gdouble conversions
15594
15595 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15596
15597         * Makefile.am:
15598           add win32-update target
15599         * win32/common/gstconfig.h:
15600         * win32/common/gstenumtypes.c:
15601         * win32/common/gstenumtypes.h:
15602         * win32/common/gstversion.h:
15603           add files that visual studio can't generate
15604
15605 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15606
15607         * Makefile.am:
15608           add a win32-update target
15609         * configure.ac:
15610
15611 2005-10-12  Wim Taymans  <wim@fluendo.com>
15612
15613         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15614         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15615         * gst/gstelement.c: (gst_element_commit_state),
15616         (gst_element_set_state):
15617         Protect flags with proper lock.
15618         unref provided cached clock in dispose.
15619
15620 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15621
15622         * gst/gst.c:
15623         * gst/gstminiobject.h:
15624         * gst/gstpad.h:
15625         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15626           removed unused flags from miniobject
15627           doc fixes
15628
15629 2005-10-12  Wim Taymans  <wim@fluendo.com>
15630
15631         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15632         (gst_file_sink_event), (gst_file_sink_render):
15633         Flush before seeking.
15634
15635 2005-10-12  Andy Wingo  <wingo@pobox.com>
15636
15637         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15638         always been the case.
15639
15640 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15641
15642         * check/gst/gstbin.c: (GST_START_TEST):
15643         * docs/gst/gstreamer-sections.txt:
15644         * gst/base/gstbasesink.c: (gst_base_sink_init):
15645         * gst/base/gstbasesrc.c: (gst_base_src_init),
15646         (gst_base_src_get_range), (gst_base_src_check_get_range),
15647         (gst_base_src_start), (gst_base_src_stop):
15648         * gst/base/gstbasesrc.h:
15649         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15650         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15651         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15652         (bin_bus_handler):
15653         * gst/gstbin.h:
15654         * gst/gstbuffer.h:
15655         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15656         * gst/gstbus.h:
15657         * gst/gstelement.c: (gst_element_is_locked_state),
15658         (gst_element_set_locked_state), (gst_element_commit_state),
15659         (gst_element_set_state):
15660         * gst/gstelement.h:
15661         * gst/gstindex.c: (gst_index_init):
15662         * gst/gstindex.h:
15663         * gst/gstminiobject.h:
15664         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15665         (gst_object_set_parent):
15666         * gst/gstobject.h:
15667         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15668         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15669         * gst/gstpad.h:
15670         * gst/gstpadtemplate.h:
15671         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15672         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15673         * gst/gstpipeline.h:
15674         * gst/indexers/gstfileindex.c: (gst_file_index_load),
15675         (gst_file_index_commit):
15676         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15677         * testsuite/pad/link.c: (gst_test_src_init),
15678         (gst_test_filter_init), (gst_test_sink_init):
15679         * testsuite/states/locked.c: (main):
15680           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15681           moved bitshift from macro to enum definition
15682
15683 2005-10-12  Wim Taymans  <wim@fluendo.com>
15684
15685         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15686         * gst/elements/gstfilesink.c: (gst_file_sink_event),
15687         (gst_file_sink_render):
15688         Some more debugging info.
15689
15690 2005-10-12  Wim Taymans  <wim@fluendo.com>
15691
15692         * docs/design/part-states.txt:
15693         * tools/gst-launch.c: (main):
15694         Some doc updates.
15695         Revert non-intentional change.
15696
15697 2005-10-12  Wim Taymans  <wim@fluendo.com>
15698
15699         * check/gst/gstbin.c: (GST_START_TEST):
15700         * check/gst/gstelement.c: (GST_START_TEST):
15701         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15702         * check/gst/gstghostpad.c: (GST_START_TEST):
15703         * check/gst/gstpipeline.c: (GST_START_TEST):
15704         * check/pipelines/simple_launch_lines.c: (run_pipeline):
15705         * check/states/sinks.c: (GST_START_TEST):
15706         * gst/elements/gsttypefindelement.c: (stop_typefinding):
15707         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15708         (gst_bin_remove_func), (gst_bin_get_state_func),
15709         (gst_bin_recalc_state), (gst_bin_change_state_func),
15710         (bin_bus_handler):
15711         * gst/gstelement.c: (gst_element_get_state_func),
15712         (gst_element_get_state), (gst_element_abort_state),
15713         (gst_element_commit_state), (gst_element_set_state),
15714         (gst_element_change_state), (gst_element_change_state_func):
15715         * gst/gstelement.h:
15716         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15717         (gst_pipeline_provide_clock_func):
15718         * gst/gstutils.c: (gst_element_link_pads_filtered):
15719         * tools/gst-launch.c: (main):
15720         * tools/gst-typefind.c: (main):
15721         Use GstClockTime in _get_state() instead of GTimeVal.
15722         Remove old code in gstutils.c
15723
15724 2005-10-12  Andy Wingo  <wingo@pobox.com>
15725
15726         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15727         removed.
15728
15729         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15730         there is no task. Shouldn't affect any code, as nothing in our
15731         plugins checks this return value.
15732         (gst_pad_stop_task): Also take the stream lock if the pad has no
15733         task. Docs updated.
15734
15735 2005-10-12  Wim Taymans  <wim@fluendo.com>
15736
15737         * gst/gstpad.c: (pre_activate), (post_activate),
15738         (gst_pad_activate_pull), (gst_pad_activate_push):
15739         Cleanup activation code. Reset old state if
15740         activation failed.
15741
15742 2005-10-12  Wim Taymans  <wim@fluendo.com>
15743
15744         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15745         (gst_base_sink_change_state):
15746         No need to prerol after receiving EOS.
15747
15748         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15749         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15750         * gst/elements/gstidentity.c: (gst_identity_event):
15751         Print events more verbosely.
15752
15753 2005-10-12  Wim Taymans  <wim@fluendo.com>
15754
15755         * check/Makefile.am:
15756         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15757         * check/states/sinks2.c:
15758         Moved sinks2 testcode in sinks check.
15759
15760         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15761         (gst_bin_remove_func), (gst_bin_recalc_state),
15762         (gst_bin_change_state_func), (bin_bus_handler):
15763         Fix potential race condition when _get_state() iterated over an
15764         ASYNC element right before it posted a state completion.
15765
15766         * gst/gstclock.h:
15767         Do proper cast here.
15768
15769         * gst/gstevent.c: (gst_event_new_newsegment),
15770         (gst_event_parse_newsegment):
15771         A playback rate of 0.0 is not allowed.
15772
15773 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15774
15775         * win32/common/config.h:
15776         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15777         (_trewinddir), (_ttelldir), (_tseekdir):
15778         * win32/common/dirent.h:
15779         * win32/common/gtchar.h:
15780         * win32/common/libgstbase.def:
15781         * win32/common/libgstreamer.def:
15782         * win32/vs6/grammar.dsp:
15783         * win32/vs6/gst_inspect.dsp:
15784         * win32/vs6/gst_launch.dsp:
15785         * win32/vs6/gstreamer.dsw:
15786         * win32/vs6/libgstbase.dsp:
15787         * win32/vs6/libgstelements.dsp:
15788         * win32/vs6/libgstreamer.dsp:
15789           Visual Studio 6 project files, and a new common directory.
15790           Phear.
15791
15792 2005-10-11  Wim Taymans  <wim@fluendo.com>
15793
15794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15795         (gst_base_sink_do_sync), (gst_base_sink_query),
15796         (gst_base_sink_change_state):
15797         * gst/base/gstbasesink.h:
15798         Correctly parse newsegment info.
15799
15800 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15801
15802         * gst/gst.c: (init_post):
15803           split plugin paths correctly
15804
15805 2005-10-11  Wim Taymans  <wim@fluendo.com>
15806
15807         * check/gst/gstevent.c: (GST_START_TEST):
15808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15809         (gst_base_sink_change_state):
15810         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15811         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15812         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15813         * gst/gstevent.c: (gst_event_new_newsegment),
15814         (gst_event_parse_newsegment):
15815         * gst/gstevent.h:
15816         Added extra flag to newsegment for future API freeze.
15817         Updated check and base elements.
15818
15819 2005-10-11  Julien MOUTTE  <julien@moutte.net>
15820
15821         * gst/base/gstcollectpads.c: (gst_collectpads_init),
15822         (gst_collectpads_add_pad), (gst_collectpads_pop),
15823         (gst_collectpads_event), (gst_collectpads_chain):
15824         * gst/base/gstcollectpads.h: Handle EOS correctly.
15825
15826 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15827
15828         * tools/gst-launch.c: (main):
15829           more null protecting
15830
15831 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15832
15833         * gst/gst-i18n-lib.h:
15834           check for ENABLE_NLS, not GETTEXT_PACKAGE
15835         * gst/gstregistry.c: (gst_registry_add_plugin),
15836         (gst_registry_scan_path_level),
15837         (_gst_registry_remove_cache_plugins):
15838           protect possibly NULL strings
15839         * gst/parse/types.h:
15840           config.h already included before
15841         * tools/gst-inspect.c: (main):
15842           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15843           check for ENABLE_NLS, not GETTEXT_PACKAGE
15844         * tools/gst-launch.c: (main):
15845           check for ENABLE_NLS, not GETTEXT_PACKAGE
15846
15847 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15848
15849         * configure.ac:
15850           if we don't have glib, fail before testing 2.8
15851         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15852           fix a leak, should fix plugins-base testsuite
15853
15854 2005-10-11  Andy Wingo  <wingo@pobox.com>
15855
15856         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15857         take the mode we're going to as an arg. Go head and set the mode
15858         and flushing flags now, so that if the activate function starts a
15859         thread all the flags will be in the right state.
15860         (post_activate): Renamed also. Just handle making sure streaming
15861         finishes for the deactivation case, and setting the deactivated
15862         mode.
15863         (gst_pad_set_active): Complain loudly if deactivation fails.
15864         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15865         (gst_pad_activate_push): Adapt to pre/post_activate changes,
15866         remove the terrible hack.
15867
15868 2005-10-11  Wim Taymans  <wim@fluendo.com>
15869
15870         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15871         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15872         (gst_bin_recalc_state), (gst_bin_change_state_func),
15873         (gst_bin_dispose), (bin_bus_handler):
15874         * gst/gstbin.h:
15875         Prepare to make current EOS message queue more generic.
15876         Fix some typos.
15877
15878         * gst/gstevent.c: (gst_event_new_newsegment),
15879         (gst_event_parse_newsegment):
15880         * gst/gstevent.h:
15881         Rename base to stream_time.
15882
15883         * gst/gstmessage.h:
15884         Fix typo in docs.
15885
15886 2005-10-11  Wim Taymans  <wim@fluendo.com>
15887
15888         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15889         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15890         (gst_bin_change_state_func), (bin_bus_handler):
15891         * gst/gstbin.h:
15892         Work on proper clock selection.
15893
15894 2005-10-11  Edward Hervey  <edward@fluendo.com>
15895
15896         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
15897         * libs/gst/controller/gstcontroller.h:
15898         Added GList* version of _remove_properties() in order to be able to wrap
15899         it in bindings.
15900
15901 2005-10-11  Wim Taymans  <wim@fluendo.com>
15902
15903         * docs/design/part-states.txt:
15904         Some more docs.
15905
15906         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15907         (gst_bin_change_state_func), (bin_bus_handler):
15908         Doc updates. Don't distribute the same clock over and over again.
15909
15910         * gst/gstclock.c:
15911         * gst/gstclock.h:
15912         Doc updates.
15913
15914         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15915         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15916         (gst_pad_send_event):
15917         * gst/gstpad.h:
15918         Make probe emission threadsafe again.
15919         Register quarks and move _get_name() from utils.
15920         Doc updates.
15921
15922         * gst/gstpipeline.c: (gst_pipeline_class_init),
15923         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15924         Only redistribute the clock of it changed.
15925
15926         * gst/gstsystemclock.h:
15927         Doc updates. 
15928
15929         * gst/gstutils.c:
15930         * gst/gstutils.h:
15931         Moved the _flow_get_name() to GstPad.
15932
15933 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15934
15935         * check/gst-libs/gdp.c: (GST_START_TEST):
15936         * check/gst/gstcaps.c: (GST_START_TEST):
15937         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15938         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15939         (gst_dp_packet_from_caps):
15940           fix more valgrind warnings before turning up the heat
15941
15942 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15943
15944         * gst/parse/grammar.y:
15945           some cleanup before the hacking
15946
15947 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15948
15949         * gst/base/gstbasesrc.c: (gst_base_src_query):
15950           use conversions
15951         * gst/gstutils.c: (gst_guint64_to_gdouble),
15952         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15953         * gst/gstutils.h:
15954           externalize, basesrc uses it
15955           obviously the implementation needs testing
15956
15957 2005-10-10  Wim Taymans  <wim@fluendo.com>
15958
15959         * tests/sched/Makefile.am:
15960         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15961         (make_pipeline3), (make_pipeline4), (print_elem), (main):
15962
15963 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15964
15965         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15966           apparently converting from guint64 to double is not implemented
15967           on MSVC
15968
15969 2005-10-10  Wim Taymans  <wim@fluendo.com>
15970
15971         * check/Makefile.am:
15972         * check/generic/states.c: (GST_START_TEST):
15973         * check/gst/gstbin.c: (GST_START_TEST):
15974         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15975         * check/states/sinks.c: (GST_START_TEST):
15976         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15977         (main):
15978         Check fixes, use API as stated in design docs, remove hacks.
15979
15980         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15981         (gst_base_sink_change_state):
15982         Catch stopping our task while we're shutting down.
15983
15984         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15985         (gst_bin_remove_func), (gst_bin_get_state_func),
15986         (gst_bin_recalc_state), (gst_bin_change_state_func),
15987         (bin_bus_handler):
15988         * gst/gstbin.h:
15989         * gst/gstelement.c: (gst_element_init),
15990         (gst_element_get_state_func), (gst_element_abort_state),
15991         (gst_element_commit_state), (gst_element_lost_state),
15992         (gst_element_set_state), (gst_element_change_state),
15993         (gst_element_change_state_func):
15994         * gst/gstelement.h:
15995         New state change algorithm (see #318116)
15996
15997         * gst/gstpipeline.c: (gst_pipeline_class_init),
15998         (gst_pipeline_init), (gst_pipeline_set_property),
15999         (gst_pipeline_get_property), (do_pipeline_seek),
16000         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16001         * gst/gstpipeline.h:
16002         Remove crude state change hacks.
16003
16004         * gst/gstutils.h:
16005         Remove crude hacks.
16006
16007         * tools/gst-launch.c: (main):
16008         Fixes for state change. Needs some more work to fully use the
16009         new stuff.
16010
16011 2005-10-10  Andy Wingo  <wingo@pobox.com>
16012
16013         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16014
16015         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16016         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16017         issue.
16018
16019 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16020
16021         * gst/gstiterator.c: (gst_iterator_new):
16022           Fix my previous commit: GTypes passed to gst_iterator_new()
16023           can be fundamental types.
16024
16025 2005-10-10  Wim Taymans  <wim@fluendo.com>
16026
16027         * gst/gstelement.c: (gst_element_iterate_pad_list),
16028         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16029         (gst_element_iterate_sink_pads):
16030         Use src/sink pads lists for the respective iterators instead
16031         of filtering.
16032
16033 2005-10-10  Andy Wingo  <wingo@pobox.com>
16034
16035         Merged in popt removal + GOption addition patch from Ronald, bug
16036         #169772.
16037
16038         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16039         GstElement macros around, remove popt-related symbols, add goption
16040         stuff.
16041
16042         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16043         
16044         * docs/gst/Makefile.am:
16045         * docs/libs/Makefile.am: No POPT_CFLAGS.
16046         
16047         * examples/manual/Makefile.am:
16048         * docs/manual/basics-init.xml: Doc updates with an example.
16049         
16050         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16051         (gst_init), (parse_one_option), (parse_goption_arg):
16052         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16053         bit of hand merging and debugging to get the GOption stuff working
16054         tho.
16055         
16056         * tests/Makefile.am:
16057         * tools/Makefile.am:
16058         * tools/gst-inspect.c: (main):
16059         * tools/gst-launch.c: (main):
16060         * tools/gst-run.c: (main):
16061         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16062
16063 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16064
16065         * gst/gstiterator.c: (gst_iterator_new):
16066           Add assertions to make sure passed GType is likely to really
16067           be a GType (as the compiler won't catch it if the size and
16068           GType arguments get mixed up, see #318447).
16069
16070 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16071
16072         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16073
16074         * gst/gstbin.c: (gst_bin_iterate_sorted):
16075           Pass GType and size arguments to gst_iterator_new() in the right
16076           order (maybe we should make _new() take the GType as first argument
16077           just like _new_list()?) (#318447).
16078           
16079
16080 2005-10-10  Wim Taymans  <wim@fluendo.com>
16081
16082         * gst/gstelement.c: (gst_element_finalize):
16083         And free the GStaticRecMutex too
16084
16085 2005-10-10  Andy Wingo  <wingo@pobox.com>
16086
16087         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16088         Allocate and free the mutex properly.
16089
16090         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16091         New macros.
16092         (GstElement): The state_lock is now recursive. Rebuild your
16093         plugins, suckers. Old macros adapted.
16094
16095         * docs/gst/gstreamer-sections.txt: Doc updates.
16096
16097         * gst/gstutils.h:
16098         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16099         (g_static_rec_cond_wait): Ported from state changes patch, while
16100         we wait on bug #317802 to be solved in a well-distributed GLib.
16101
16102         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16103         gst_element_change_state, variable name changes.
16104         (gst_element_change_state): Split out of gst_element_set_state in
16105         preparation for the state change merge. Doesn't pay attention to
16106         the 'transition' argument.
16107         (gst_element_set_state): Updates, hopefully purely cosmetic.
16108         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16109         state change patch.
16110         (gst_element_get_state_func): Renamed from get_state, cosmetic
16111         changes.
16112
16113 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16114
16115         * gst/elements/gstelements.c:
16116         * win32/GStreamer.vcproj:
16117         * win32/config.h:
16118         * win32/dirent.c: (_tseekdir):
16119         * win32/gst-inspect.vcproj:
16120         * win32/gst-launch.vcproj:
16121         * win32/gstconfig.h:
16122         * win32/gstelements.vcproj:
16123         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16124         * win32/gstreamer.def:
16125         * win32/msvc71.sln:
16126           updates for the win32 build (patch from Sebastien Moutte)
16127
16128 2005-10-10  Andy Wingo  <wingo@pobox.com>
16129
16130         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16131         gst_bin_get_state, cleaned up (but no logic changes).
16132         (bin_element_is_sink): Comment updates.
16133         (sink_iterator_filter): Remove needless cast.
16134         (gst_bin_iterate_sinks): Doc update.
16135         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16136         cleaned up (but no logic changes).
16137
16138         * check/states/sinks.c (test_src_sink): Cleanups from the state
16139         change patch.
16140         (test_livesrc_sink): Sync on the state.
16141
16142         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16143         the state change patch.
16144
16145         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16146         change patch.
16147
16148         * check/gst/gstbin.c: Merge in some style fixes and additional
16149         checks from Wim's state change patch.
16150
16151 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16152
16153         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16154         (gst_type_find_helper):
16155           Check whether we have the requested data already in our list of
16156           cached buffers before pulling a new buffer; also make the buffer
16157           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16158
16159 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16160
16161         * gst/gstcaps.c:
16162         * gst/gstevent.c:
16163           doc updates
16164         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16165           don't use long long, it's not portable.  Replacing with
16166           gint64 seems to work; let's hope no skeletons fall out of the closet.
16167
16168 2005-10-10  Andy Wingo  <wingo@pobox.com>
16169
16170         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16171
16172 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16173
16174         * docs/gst/gstreamer-sections.txt:
16175         * gst/gstevent.c:
16176         * gst/gstevent.h:
16177         * gst/gstinfo.c:
16178         * gst/gstinfo.h:
16179         * gst/gstmessage.c: (gst_message_parse_state_changed):
16180         * gst/gstpad.c:
16181         * gst/gstpad.h:
16182           more docs, fix compilation
16183
16184 2005-10-09  Philippe Khalaf <burger@speedy.org>
16185         * gst/gstmessage.c:
16186           Fixed a few forgotten variables on previous commit
16187
16188 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16189
16190         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16191           Fix evil typefind crasher: getrange() might return a short
16192           buffer at the end of a file, but gst_type_find_peek() must
16193           either return the full data as requested or NULL, but
16194           never a short buffer.
16195
16196 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         * gst/gstmessage.c: (gst_message_new_state_changed),
16199         (gst_message_parse_state_changed):
16200         * gst/gstmessage.h:
16201           don't use "new", it's a C++ keyword
16202
16203 2005-10-08  Wim Taymans  <wim@fluendo.com>
16204
16205         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16206         * gst/gstelement.c: (gst_element_post_message):
16207         * gst/gstpipeline.c: (gst_pipeline_change_state):
16208         Small docs and debug updates.
16209
16210 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16211
16212         * docs/gst/gstreamer-sections.txt:
16213         * gst/gstelementfactory.c:
16214         * gst/gstevent.c:
16215         * gst/gsttaglist.c:
16216           more docs
16217
16218 2005-10-08  Wim Taymans  <wim@fluendo.com>
16219
16220         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16221         (gst_bin_dispose), (bin_bus_handler):
16222         Fix typos, add comments.
16223         Clear EOS list when going to PAUSED from any direction and do it
16224         in a threadsafe way.
16225         Get base time in a threadsafe way too.
16226         Fix confusing debug in the change_state function.
16227         Various other small cleanups.
16228         
16229         * gst/gstelement.c: (gst_element_post_message):
16230         Fix very verbose bus posting code.
16231
16232         * gst/gstpipeline.c: (gst_pipeline_class_init),
16233         (gst_pipeline_set_property), (gst_pipeline_get_property),
16234         (gst_pipeline_change_state):
16235         Small ARG_ -> PROP_ cleanup
16236
16237 2005-10-08  Wim Taymans  <wim@fluendo.com>
16238
16239         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16240         Do a less CPU demanding EOS check because we can.
16241
16242 2005-10-08  Wim Taymans  <wim@fluendo.com>
16243
16244         * libs/gst/dataprotocol/dataprotocol.c:
16245         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16246         (gst_dp_packet_from_event):
16247         * libs/gst/dataprotocol/dataprotocol.h:
16248         * libs/gst/dataprotocol/dp-private.h:
16249         It's about time we bump the version number.
16250         Since event types don't fit in the guint8 anymore describing
16251         the payload type, make payload type 16 bits wide.
16252
16253 2005-10-08  Wim Taymans  <wim@fluendo.com>
16254
16255         * docs/design/part-TODO.txt:
16256         * docs/design/part-clocks.txt:
16257         * docs/design/part-events.txt:
16258         * docs/design/part-gstbin.txt:
16259         * docs/design/part-gstelement.txt:
16260         * docs/design/part-gstpipeline.txt:
16261         * docs/design/part-live-source.txt:
16262         * docs/design/part-messages.txt:
16263         * docs/design/part-overview.txt:
16264         * docs/design/part-states.txt:
16265         Many doc updates.
16266
16267 2005-10-08  Wim Taymans  <wim@fluendo.com>
16268
16269         * gst/gstevent.c:
16270         * gst/gstevent.h:
16271         Fix event quark registration.
16272         Add some space between events so we can insert them in the
16273         right groups.
16274
16275 2005-10-08  Wim Taymans  <wim@fluendo.com>
16276
16277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16278         (gst_base_sink_handle_buffer):
16279         Better log message.
16280
16281         * gst/gstbus.h:
16282         * gst/gstelement.h:
16283         More docs.
16284
16285         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16286         (gst_queue_set_property), (gst_queue_get_property):
16287         * gst/gstqueue.h:
16288         Remove old unused properties.
16289
16290 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16291         * docs/gst/gstreamer-sections.txt:
16292         * gst/gstmessage.c:
16293         * gst/gstmessage.h:
16294         * gst/gstminiobject.c:
16295         * gst/gstminiobject.h:
16296         * gst/gstobject.h:
16297         * gst/gstpad.h:
16298         * gst/gstutils.h:
16299           lots of new docs and doc fixes
16300
16301 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16302
16303         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16304         * gst/gstplugin.h:
16305         * gst/gstregistry.c: (gst_registry_lookup_locked),
16306         (gst_registry_scan_path_level):
16307         * gst/gstregistryxml.c: (load_plugin):
16308           Only ever load one plugin for a given plugin basename.
16309           This ensures correct overriding of GST_PLUGIN_PATH over
16310           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16311           system installed plugins.
16312
16313 2005-10-08  Wim Taymans  <wim@fluendo.com>
16314
16315         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16316         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16317         Prepare for doing QOS.
16318
16319 2005-10-08  Wim Taymans  <wim@fluendo.com>
16320
16321         * check/gst/gstbin.c: (GST_START_TEST):
16322         * check/pipelines/cleanup.c: (GST_START_TEST):
16323         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16324         Allow new clock message too.
16325
16326 2005-10-08  Wim Taymans  <wim@fluendo.com>
16327
16328         * gst/gstmessage.c: (gst_message_new_error),
16329         (gst_message_new_warning), (gst_message_new_tag),
16330         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16331         (gst_message_new_clock_lost), (gst_message_new_new_clock),
16332         (gst_message_new_segment_start), (gst_message_new_segment_done),
16333         (gst_message_parse_state_changed),
16334         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16335         (gst_message_parse_new_clock):
16336         * gst/gstmessage.h:
16337         Also carry the clock in question.
16338
16339 2005-10-08  Wim Taymans  <wim@fluendo.com>
16340
16341         * gst/gstmessage.c: (gst_message_new_custom),
16342         (gst_message_new_eos), (gst_message_new_error),
16343         (gst_message_new_warning), (gst_message_new_tag),
16344         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16345         (gst_message_new_new_clock), (gst_message_new_segment_start),
16346         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16347         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16348         * gst/gstmessage.h:
16349         Clean up.
16350         Added clock related messages.
16351
16352         * gst/gstpipeline.c: (gst_pipeline_change_state):
16353         Post message when the clock changed.
16354
16355         * tools/gst-launch.c: (event_loop):
16356         Print new clock.
16357
16358 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16359
16360         * tools/gst-inspect.c: (print_element_properties_info):
16361           Can't pass NULL strings to g_print() on windows.
16362
16363 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16364
16365         * docs/Makefile.am:
16366         * docs/gst/Makefile.am:
16367         * docs/gst/gstreamer-docs.sgml:
16368         * docs/gst/running.xml:
16369         * docs/version.entities.in:
16370           add a chapter on running GStreamer.
16371           document GST_DEBUG and GST_PLUGIN* env vars
16372
16373 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16374
16375         * Makefile.am:
16376           remove include dir
16377         * configure.ac:
16378           remove PLUGINS_BUILDDIR stuff
16379         * gst/gst.c: (init_post):
16380           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16381         * idiottest.mak:
16382           remove, it was condescending and not needed
16383
16384 2005-10-08  Wim Taymans  <wim@fluendo.com>
16385
16386         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16387         (gst_base_sink_handle_object), (gst_base_sink_event),
16388         (gst_base_sink_wait), (gst_base_sink_handle_event),
16389         (gst_base_sink_change_state):
16390         * gst/base/gstbasesink.h:
16391         Repost EOS message while going to PLAYING if still EOS.
16392         Make sure that when receiving a FLUSH_START we don't attempt
16393         to sync on the clock anymore.
16394
16395 2005-10-08  Wim Taymans  <wim@fluendo.com>
16396
16397         * tools/gst-launch.c: (event_loop):
16398         Better message printout.
16399
16400 2005-10-08  Wim Taymans  <wim@fluendo.com>
16401
16402         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16403         (gst_bin_child_proxy_get_children_count):
16404         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16405         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16406         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16407         (gst_child_proxy_set_valist):
16408         * gst/parse/grammar.y:
16409         Make ChildProxy threadsafe and fix mem leaks.
16410
16411 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16412
16413         * gst/gst.c: (init_post):
16414           debug the GST_PLUGIN_ env vars
16415
16416 2005-10-08  Wim Taymans  <wim@fluendo.com>
16417
16418         * check/gst/gstbin.c: (GST_START_TEST):
16419         * check/gst/gstmessage.c: (GST_START_TEST):
16420         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16421         * gst/gstelement.c: (gst_element_commit_state),
16422         (gst_element_lost_state):
16423         * gst/gstmessage.c: (gst_message_new_state_changed),
16424         (gst_message_parse_state_changed):
16425         * gst/gstmessage.h:
16426         * tools/gst-launch.c: (event_loop):
16427         Added extra field to STATE_CHANGE message with the pending
16428         state, which will be different from the new state soon.
16429
16430 2005-10-08  Wim Taymans  <wim@fluendo.com>
16431
16432         * gst/gstbus.c: (gst_bus_pop):
16433         * gst/gstclock.c:
16434         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16435         Small cleanups and doc updates.
16436
16437 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16438
16439         * gst/gst.c: (init_pre):
16440         * gst/gstbin.c: (gst_bin_add_func):
16441           log distributing clocks and base time
16442         * gst/gstregistry.c: (gst_registry_add_plugin),
16443         (gst_registry_scan_path_level), (gst_registry_scan_path):
16444           clean up the debugging output a little
16445         * gst/gstutils.c: (gst_element_state_get_name):
16446           warn about a memleak (I've actually seen this be used, though
16447           it was probably a bug)
16448
16449 2005-10-07  Wim Taymans  <wim@fluendo.com>
16450
16451         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16452         (gst_base_src_init), (gst_base_src_default_newsegment),
16453         (gst_base_src_newsegment), (gst_base_src_do_seek),
16454         (gst_base_src_loop), (gst_base_src_start):
16455         * gst/base/gstbasesrc.h:
16456         Make the newsegment event customizable by subclasses.
16457
16458 2005-10-07  Wim Taymans  <wim@fluendo.com>
16459
16460         * gst/gstevent.c: (gst_event_new_buffersize),
16461         (gst_event_parse_buffersize):
16462         * gst/gstevent.h:
16463         New event for future idea.
16464
16465 2005-10-07  Andy Wingo  <wingo@pobox.com>
16466
16467         * gst/gstelement.c (gst_element_post_message): Doc update.
16468
16469         * docs/gst/gstreamer-sections.txt: Update.
16470
16471         * gst/gstmessage.c (gst_message_new_application): Made into a
16472         function like honest API calls.
16473         (gst_message_new_element): New message type.
16474
16475         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16476
16477         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16478         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16479         times.
16480
16481         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16482         NO_PREROLL from gst_element_change_state to fall through.
16483
16484 2005-10-07  Wim Taymans  <wim@fluendo.com>
16485
16486         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16487         (gst_ghost_pad_do_activate_push):
16488         Activating a ghostpad with no internal pad in push mode
16489         is ok.
16490
16491 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16492
16493         * gst/gstobject.h:
16494           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16495           Fixes compilation on Windows.
16496
16497 2005-10-07  Michael Smith <msmith@fluendo.com>
16498
16499         * tools/gst-inspect.c:
16500           Print out feature and plugin count at the end when printing out
16501           all features.
16502
16503 2005-10-04  Michael Smith <msmith@fluendo.com>
16504
16505         * gst/gsterror.c: (_gst_stream_errors_init):
16506           Add another error string used in a few existing plugins.
16507
16508         * gst/gstplugin.c:
16509         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16510         * tools/gst-inspect.c: (print_element_info):
16511           When a feature disappears from a plugin (and the feature exists in
16512           the cached registry file), things went horribly wrong. This isn't a
16513           complete fix, we should actually be removing the 'missing' features
16514           from the features list when we load the actual plugin. That's not
16515           yet implemented. 
16516
16517 2005-10-04  Johan Dahlin  <johan@gnome.org>
16518
16519         * check/gst/gstiterator.c: (GST_START_TEST):
16520         * gst/gstbin.c: (gst_bin_iterate_elements),
16521         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16522         * gst/gstelement.c: (gst_element_iterate_pads):
16523         * gst/gstformat.c: (gst_format_iterate_definitions):
16524         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16525         (gst_iterator_new_list), (gst_iterator_filter):
16526         * gst/gstiterator.h:
16527         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16528         Add a GType to GstIterator, update callsites and tests.
16529
16530 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16531
16532         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16533           give events a chance to be handled by event probes when the pad
16534           is not linked
16535
16536 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16537
16538         * gst/gstevent.c: (gst_event_type_get_name),
16539         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16540         * gst/gstevent.h:
16541           add string representations for event types
16542
16543 2005-10-06  Wim Taymans  <wim@fluendo.com>
16544
16545         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16546         Don't use NULL pointers.
16547
16548 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16549
16550         * gst/gst_private.h:
16551         * gst/gstbus.c:
16552         * gst/gstelement.c:
16553         * gst/gstinfo.c:
16554         * gst/gstpluginfeature.c:
16555           widen the debug category in output to fit the biggest one we have
16556           add a bus category and use it
16557           play with the colors
16558           fix up some categories
16559
16560 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16561
16562         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16563           add push activation of sink ghost pads.
16564           Andye, please verify
16565
16566 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16567
16568         * gst/gstutils.c: (gst_element_link_pads):
16569           fix a bug in the case where neither element has a pad
16570         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16571           add a test for that case
16572
16573 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16574
16575         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16576           emit have-data before checking for peers.  This allows
16577           for probe handlers to connect elements.  This helps autopluggers.
16578         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16579         (gst_pad_suite):
16580           add six checks, linked/unlinked with no/true/false probe
16581
16582 2005-10-04  Wim Taymans  <wim@fluendo.com>
16583
16584         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16585         (gst_fake_sink_event), (gst_fake_sink_preroll),
16586         (gst_fake_sink_render), (gst_fake_sink_change_state):
16587         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16588         (gst_fake_src_get_property), (gst_fake_src_create),
16589         (gst_fake_src_stop):
16590         * gst/elements/gstidentity.c: (gst_identity_stop):
16591         Protect last_message with lock.
16592
16593 2005-10-04  Edward Hervey  <edward@fluendo.com>
16594
16595         * gst/gstformat.h: 
16596         Added precision in the comments for GST_FORMAT_DEFAULT
16597
16598 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16599
16600         * tools/gst-launch.c: (main):
16601           Don't try to run erroneous pipelines.
16602
16603 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16604
16605         * gst/gstbus.c: We don't need this header.
16606
16607 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16608
16609         * configure.ac:
16610           back to development
16611
16612 === release 0.9.3 ===
16613
16614 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16615
16616         * README:
16617         * configure.ac:
16618           Releasing 0.9.3, "Unregistered"
16619
16620 2005-10-03  Andy Wingo  <wingo@pobox.com>
16621
16622         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16623         whereby calling a pad's activatepush() function can start a thread
16624         that starts to push or pull before the pad gets the FLUSHING flag
16625         unset. Hack around it by holding the stream lock until the flag is
16626         set. Need to replace this with a proper solution. Together with
16627         the ghost pad fixes, this fixes mp3 playing/tagreading.
16628
16629         * docs/design/part-gstghostpad.txt: Add a note about activation of
16630         proxy pads outside of ghost pads.
16631
16632         * gst/gstghostpad.c: Implement the ghost pad activation design.
16633
16634 2005-10-02  Andy Wingo  <wingo@pobox.com>
16635
16636         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16637         It is volatile, after all.
16638
16639         * docs/design/part-gstghostpad.txt: Flesh out activation with
16640         ghost pads.
16641
16642         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16643         GST_DEBUG_FUNCPTR.
16644
16645 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16646
16647         * configure.ac:
16648           Fix (unused) AM_CONDITIONAL tests.
16649
16650 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16651
16652         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16653
16654         * gst/gstutils.c: (gst_pad_query_convert):
16655           Add assertion that makes sure src_val is >=0, just like
16656           gst_query_new_convert() has. (#315895)
16657
16658 2005-09-30  Edward Hervey  <edward@fluendo.com>
16659
16660         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16661         Let's not iterate pads we're not interested in, it avoids getting 
16662         sky-high refcounts on sinkpad.
16663
16664 2005-09-30  Wim Taymans  <wim@fluendo.com>
16665
16666         * gst/gstelement.c: (gst_element_set_state),
16667         (gst_element_change_state):
16668         Small tweak, element in ASYNC remains ASYNC.
16669
16670 2005-09-30  Wim Taymans  <wim@fluendo.com>
16671
16672         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16673         Only error is an error.
16674
16675         * gst/gstbin.c: (gst_bin_change_state):
16676         Better debugging.
16677
16678         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16679         Also call pad_block in pad alloc.
16680
16681         * gst/gstutils.c: (gst_flow_get_name):
16682         Better debugging.
16683
16684 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16685
16686         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16687         (gst_base_src_get_range):
16688           Fix documentation typos. Add some more debug info.
16689
16690 2005-09-29  David Schleef  <ds@schleef.org>
16691
16692         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16693           more end-user friendly.
16694         * tools/gst-inspect.c: (main): Check if command-line argument is
16695           a file and attempt to load that file as a plugin.
16696
16697 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16698
16699         * check/gst/gstbin.c:
16700         * check/states/sinks.c:
16701           fix tests for the new warning
16702         * check/gst/gstpipeline.c:
16703           add a test for pipeline and bus interaction
16704         * gst/gstelement.c:
16705           elements should be NULL if they get disposed; add a warning if not
16706
16707 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16708
16709         * gst/gstobject.c:
16710           for 2.6 refcounting, make debug log more correct by printing
16711           the actual refcounts at the time of swap (Wim)
16712
16713 2005-09-29  Andy Wingo  <wingo@pobox.com>
16714
16715         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16716         removes signal watches previously added via
16717         gst_bus_add_signal_watch.
16718         (gst_bus_add_signal_watch): Don't return the source id, just store
16719         it on the bus if there wasn't an id already.
16720
16721         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16722         add_signal_watch and remove_signal_watch.
16723
16724 2005-09-29  Edward Hervey  <edward@fluendo.com>
16725
16726         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
16727         Better if we actually iterate the list :)
16728
16729 2005-09-29  Wim Taymans  <wim@fluendo.com>
16730
16731         * check/gst/gstbin.c: (GST_START_TEST):
16732         Change for new bus API.
16733
16734         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16735         (send_messages), (GST_START_TEST), (gstbus_suite):
16736         Change for new bus signal API.
16737
16738         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16739         (gst_bus_source_prepare), (gst_bus_source_check),
16740         (gst_bus_create_watch), (gst_bus_add_watch_full),
16741         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16742         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16743         * gst/gstbus.h:
16744         Remove support for multiple GSources operating on different
16745         message types as it is too complex and unneeded when using
16746         signals.
16747         Added support for receiving signals from the bus.
16748
16749 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16750
16751         * docs/libs/tmpl/gstdataprotocol.sgml:
16752         * docs/manual/advanced-dataaccess.xml:
16753         * gst/elements/gstcapsfilter.c:
16754         * gst/gstutils.c:
16755           rename filter-caps to caps property
16756
16757 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16758
16759         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16760           More robust fraction string parsing.
16761
16762         * docs/pwg/appendix-porting.xml:
16763           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16764
16765 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16766
16767         * gst/gstcaps.c: (gst_caps_do_simplify):
16768           Thou shalt not free a structure and then continue using it
16769           in the next loop iteration.
16770
16771         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16772         (gst_caps_suite):
16773           Add test case for caps simplification.
16774
16775 2005-09-29  Wim Taymans  <wim@fluendo.com>
16776
16777         * check/gst/gstbin.c: (GST_START_TEST):
16778         Oops.
16779
16780 2005-09-29  Wim Taymans  <wim@fluendo.com>
16781
16782         * check/gst/gstbin.c: (GST_START_TEST):
16783         Add bus to bin.
16784
16785         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16786         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16787         (find_element), (gst_bin_sort_iterator_next),
16788         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16789         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16790         (gst_bin_change_state), (gst_bin_dispose):
16791         A bin does not have a bus, it gets the bus from the parent.
16792
16793         * gst/gstelement.c: (gst_element_requires_clock),
16794         (gst_element_provides_clock), (gst_element_is_indexable),
16795         (gst_element_is_locked_state), (gst_element_change_state),
16796         (gst_element_set_bus_func):
16797         Small cleanups.
16798
16799         * gst/gstpipeline.c: (gst_pipeline_class_init),
16800         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16801         The pipeline provides a bus.
16802
16803 2005-09-28  Johan Dahlin  <johan@gnome.org>
16804
16805         * gst/gstmessage.c (gst_message_parse_state_changed): Use
16806         gst_structure_get_enum instead of gst_structure_get_int
16807
16808         * gst/gststructure.c (gst_structure_get_enum): Impl.
16809
16810         * gst/gststructure.h (gst_structure_get_enum): Add
16811
16812         * docs/gst/gstreamer-sections.txt: Ditto
16813
16814         * gst/gstmessage.c (gst_message_new_state_changed): Use
16815         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16816         which does introspection.
16817         Reviewed by Christian Schaller
16818
16819 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16820
16821         * gst/gstinfo.c: (gst_debug_log_default):
16822           don't do dummy g_strdup()s
16823         * libs/gst/controller/gstcontroller.c:
16824         (on_object_controlled_property_changed),
16825         (gst_controlled_property_new), (gst_controller_new_valist),
16826         (gst_controller_new_list),
16827         (gst_controller_remove_properties_valist), (gst_controller_set),
16828         (gst_controller_get), (gst_controller_sync_values),
16829         (gst_controller_get_value_array), (_gst_controller_class_init),
16830         (gst_controller_get_type):
16831         * libs/gst/controller/gstcontroller.h:
16832         * libs/gst/controller/gstinterpolation.c:
16833         (gst_controlled_property_find_timed_value_node):
16834           convert // to /**/ comments
16835
16836 2005-09-28  Wim Taymans  <wim@fluendo.com>
16837
16838         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16839         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16840         (gst_bus_sync_signal_handler):
16841         * gst/gstbus.h:
16842         Added async-message and sync-message signals to the bus.
16843         Added helper BusFunc to emit signals for all posted messages.
16844
16845         * gst/gstmessage.c: (gst_message_type_get_name),
16846         (gst_message_type_to_quark), (gst_message_get_type):
16847         * gst/gstmessage.h:
16848         Register quarks for message names.
16849
16850 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16851
16852         * docs/libs/gstreamer-libs-sections.txt:
16853         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16854         (gst_controller_new_list):
16855         * libs/gst/controller/gstcontroller.h:
16856           added another constructor for language bindings
16857
16858 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16859
16860         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16861           add another check
16862         * gst/gstbus.c:
16863           add some doc
16864         * gst/gstinfo.c: (_gst_debug_init):
16865           slightly more readable color for refcount debugging
16866
16867 2005-09-28  Wim Taymans  <wim@fluendo.com>
16868
16869         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16870         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16871         (find_element), (gst_bin_sort_iterator_next),
16872         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16873         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16874         (gst_bin_change_state), (gst_bin_dispose):
16875         Small doc fixes. get_clock -> provide_clock.
16876
16877         * gst/gstelement.c: (gst_element_class_init),
16878         (gst_element_provides_clock), (gst_element_provide_clock),
16879         (gst_element_get_clock), (gst_element_commit_state),
16880         (gst_element_lost_state):
16881         * gst/gstelement.h:
16882         Make get/set_clock() symetric. Add provide_clock vmethod since
16883         that is actually what this function does.
16884
16885         * gst/gstpipeline.c: (gst_pipeline_class_init),
16886         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16887         (gst_pipeline_get_clock):
16888         get_clock -> provide_clock.
16889
16890 2005-09-28  Andy Wingo  <wingo@pobox.com>
16891
16892         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16893         lieu of real docs...
16894
16895         * gst/elements/gstfdsrc.c: Cleaned up a bit.
16896
16897 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
16898
16899         * gst/elements/gstcapsfilter.c:
16900         * gst/elements/gstfakesink.c:
16901         * gst/elements/gstfakesrc.c:
16902         * gst/elements/gstfdsink.c:
16903         * gst/elements/gstfdsrc.c:
16904         * gst/elements/gstfilesink.c:
16905         * gst/elements/gstfilesrc.c:
16906         * gst/elements/gstidentity.c:
16907         * gst/elements/gsttee.c:
16908         * gst/elements/gsttypefindelement.c:
16909           Make element details static.
16910
16911 2005-09-28  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16914         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16915         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16916         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16917         (gst_bin_change_state), (gst_bin_dispose):
16918         Some documentation updates.
16919         Clean up dispose handlers.
16920
16921         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16922         * gst/gstpad.c: (gst_pad_dispose):
16923         Clean up dispose handler.
16924
16925         * gst/gstpipeline.c: (gst_pipeline_change_state):
16926         Removed spurious UNLOCK.
16927
16928 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
16929
16930         * docs/gst/gstreamer-sections.txt:
16931         * gst/base/gstbasesrc.h:
16932         * gst/gstelement.h:
16933         * gst/gstevent.h:
16934         * gst/gstobject.h:
16935         * gst/gstpad.h:
16936         * gst/gstpipeline.c:
16937         * gst/gstpipeline.h:
16938         * gst/gstutils.h:
16939         * gst/gstxml.h:
16940           added two new functions to the docs
16941                 documents all undocumented GstXXXFlags
16942                 completed some incomplete docs 
16943
16944 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16945
16946         * gst/gstbin.c: (gst_bin_dispose):
16947         * gst/gstelement.c: (gst_element_dispose):
16948           remove now useless and leaky resurrection code in dispose
16949         * gst/base/gstbasesrc.c: (gst_base_src_init):
16950         * gst/gstelementfactory.c: (gst_element_factory_create):
16951         * gst/gstobject.c: (gst_object_set_parent):
16952           add some debugging
16953
16954 2005-09-27  Wim Taymans  <wim@fluendo.com>
16955
16956         * docs/design/part-TODO.txt:
16957         Update TODO.
16958
16959         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16960         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16961         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16962         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16963         (gst_bin_change_state):
16964         * gst/gstelement.h:
16965         Remove element variable, we keep element info in the iterator now.
16966
16967 2005-09-27  Andy Wingo  <wingo@pobox.com>
16968
16969         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16970         values.
16971
16972 2005-09-27  Wim Taymans  <wim@fluendo.com>
16973
16974         * check/gst/gstbin.c: (GST_START_TEST):
16975         Enable check that works now.
16976
16977         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16978         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16979         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16980         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16981         (gst_bin_change_state):
16982         * gst/gstbin.h:
16983         Redid the state change algorithm using a topological sort algo.
16984         Handles all cases correctly.
16985         Exposed iterator for state change order.
16986
16987         * gst/gstelement.h:
16988         Temp storage for state changes. Need to get rid of this soon.
16989
16990 2005-09-27  Wim Taymans  <wim@fluendo.com>
16991
16992         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16993         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16994         (link_fold_func), (gst_pad_proxy_setcaps):
16995         Leak fixes, the fold functions need to unref the passed object and
16996         _get_parent_*() returns ref to parent.
16997
16998 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
16999
17000         * check/gst/gstbuffer.c: (test_make_writable):
17001           Plug leak in test case and fix 'make check-valgrind'
17002
17003 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17004
17005         * gst/gstbuffer.c: (gst_subbuffer_init):
17006           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17007           works correctly in all circumstances (we could have just copied
17008           the parent buffer's readonly flag, but conceptually it seems
17009           cleaner to mark all subbuffers as read-only). (based on patch
17010           by Alessandro Decina, #314710).
17011         
17012         * check/gst/gstbuffer.c: (create_read_only_buffer),
17013         (test_make_writable), (test_subbuffer_make_writable),
17014         (gst_test_suite):
17015           Add some tests for gst_buffer_make_writable().
17016
17017 2005-09-27  Wim Taymans  <wim@fluendo.com>
17018
17019         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17020         use gst_object_has_ancestor().
17021
17022         * gst/gstobject.c: (gst_object_has_ancestor):
17023         * gst/gstobject.h:
17024         gst_object_has_ancestor() copied from gstbin.c as it is a
17025         useful function.
17026
17027         * tests/instantiate/create.c: (create_all_elements):
17028         * tests/lat.c: (handoff_src), (handoff_sink):
17029         * tests/sched/runxml.c: (main):
17030         * tests/seeking/seeking1.c: (main):
17031         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17032         (main):
17033         Fix compilation of some tests.
17034
17035 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17036
17037         * gst/gsterror.h:
17038           Remove comment. GST_TYPE_G_ERROR is here to stay,
17039           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17040           (#316961, #300610).
17041
17042 2005-09-26  Wim Taymans  <wim@fluendo.com>
17043
17044         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17045         Added check that shows error in state change order.
17046
17047 2005-09-26  Wim Taymans  <wim@fluendo.com>
17048
17049         * gst/gstbin.c: (gst_bin_change_state):
17050         Make state change function use 3 queues again, we were
17051         adding elements in the wrong order.
17052
17053         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17054         Some debug info,
17055
17056         * gst/gstpad.c: (gst_pad_dispose):
17057         Added some debug info first.
17058
17059 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17060
17061         * docs/design/draft-push-pull.txt:
17062         * docs/design/part-events.txt:
17063         * docs/design/part-overview.txt:
17064         * docs/design/part-scheduling.txt:
17065           Replace all _pull_region() with _pull_range()
17066           
17067 2005-09-26  Andy Wingo  <wingo@pobox.com>
17068
17069         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17070
17071         * check/gst-libs/controller.c: Update for controller api change.
17072
17073         * configure.ac: 
17074         * tests/Makefile.am:
17075         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17076         over by GLib bug 118439.
17077         
17078         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17079         routines to a function.
17080
17081         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17082
17083         * libs/gst/controller/gsthelper.c:
17084         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17085         (gst_object_sync_values): Renamed from sink_values. Ugh.
17086
17087         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17088
17089         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17090         Renamed from controller_key, as it is exported.
17091
17092         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17093
17094 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17095
17096         * gst/Makefile.am:
17097         * gst/gst.h:
17098         * gst/gstpad.h:
17099         * gst/gstpadtemplate.h:
17100         * gst/gstquery.c:
17101         * gst/gstquery.h:
17102         * gst/gstqueryutils.c:
17103         * gst/gstqueryutils.h:
17104           remove queryutils headers after moving the two used functions
17105           to gstquery.  also fixes build problem for gstsiddec
17106
17107 2005-09-26  Michael Smith <msmith@fluendo.com>
17108
17109         * tools/gst-launch.1.in:
17110         Correct documentation in manpage of debug syntax
17111
17112 2005-09-26  Wim Taymans  <wim@fluendo.com>
17113
17114         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17115         (gst_base_src_is_seekable), (gst_base_src_change_state):
17116         Some more debugging info.
17117
17118 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17119
17120         * docs/gst/gstreamer-sections.txt:
17121         * gst/base/gstbasetransform.h:
17122         * gst/gstindex.h:
17123           added more docs
17124
17125 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17126
17127         * docs/gst/.cvsignore:
17128         * docs/gst/tmpl/.cvsignore:
17129         * docs/gst/tmpl/gstpipeline.sgml:
17130         * docs/gst/tmpl/gstplugin.sgml:
17131         * gst/gstpipeline.c:
17132         * gst/gstplugin.c:
17133         * gst/gstplugin.h:
17134           inlined the last two docs files
17135           removed the tmpl directory from cvs (no more conflicts here!)
17136
17137 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17138
17139         * docs/gst/gstreamer-sections.txt:
17140         * docs/gst/tmpl/.cvsignore:
17141         * docs/gst/tmpl/gstpad.sgml:
17142         * docs/gst/tmpl/gstpadtemplate.sgml:
17143         * gst/Makefile.am:
17144         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17145         (gst_pad_finalize), (gst_pad_set_pad_template):
17146         * gst/gstpad.h:
17147         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17148         (gst_pad_template_class_init), (gst_pad_template_init),
17149         (gst_pad_template_dispose), (name_is_valid),
17150         (gst_static_pad_template_get), (gst_pad_template_new),
17151         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17152         (gst_pad_template_pad_created):
17153         * gst/gstpadtemplate.h:
17154           inlined two more docs
17155           factored gstpadtemplate out of gstpad
17156
17157 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17158
17159         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17160         (test_children_state_change_order_semi_sink):
17161           Fix test case: we can't rely on a fixed state change order when
17162           going from READY => PAUSED because the sink might commit its 
17163           new state first when the first buffer created by the source 
17164           reaches the sink before the source has finished its change state.
17165           (Test case still fails at times, see #316856, comment 5 onwards)
17166
17167 2005-09-24  Wim Taymans  <wim@fluendo.com>
17168
17169         * docs/design/part-events.txt:
17170         * docs/design/part-gstbus.txt:
17171         * docs/design/part-gstpipeline.txt:
17172         * docs/design/part-messages.txt:
17173         * docs/design/part-overview.txt:
17174         * docs/design/part-segments.txt:
17175         * gst/gstbin.c:
17176         * gst/gstbuffer.c:
17177         * gst/gstclock.c:
17178         * gst/gstelement.c:
17179         * gst/gstevent.c:
17180         * gst/gstfilter.c:
17181         * gst/gstiterator.c:
17182         Various documentation updates.
17183
17184 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17185
17186         * gst/gstclock.h:
17187           Well, that's embarassing.  Luckily we weren't using
17188           GST_CLOCK_DIFF anywhere.
17189
17190 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * common/gtk-doc.mak:
17193           don't fail on building XML, FC4 slave shows a bunch of doc
17194           missing bits that I don't get
17195         * gst/gstpad.c:
17196         * gst/gstpipeline.c:
17197         * gst/gststructure.c:
17198           some doc updates
17199
17200 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17201
17202         * docs/design/part-gstbin.txt:
17203         * docs/design/part-gstbus.txt:
17204         * gst/gstbus.c:
17205           Add blurb about how the bus goes into flushing mode and
17206           drops all messages when its bin goes from READY into NULL 
17207           state.
17208
17209 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17210
17211         * docs/gst/gstreamer-sections.txt:
17212         * gst/gststructure.c: (gst_structure_get_clock_time):
17213         * gst/gststructure.h:
17214           add a method to get a GstClockTime out of a structure
17215
17216 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17217
17218         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17219         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17220           Added test to check state change order in bins (can still be made
17221           to fail here under heavy disk load; bails out with 'Push on pad
17222           fakesink:sink0, but it was not activated in push mode').
17223
17224         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17225           Fix state change order when there is only a semi sink (#316856)
17226
17227         * gst/gstbus.c: (gst_bus_class_init):
17228           Use _class_peek_parent(), not _class_ref(); fix docs to say
17229           'default main context' instead of 'mainloop' where that is
17230           what's meant.
17231
17232         * gst/gstelement.c: (gst_element_commit_state),
17233         (gst_element_set_state):
17234           Fix typos in debug messages
17235
17236 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17237
17238         * docs/README:
17239         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17240         * gst/gstpluginfeature.c:
17241         * gst/gstutils.c:
17242           various doc updates
17243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17244           change an assert into an error until it gets fixed properly
17245
17246 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17247
17248         * docs/gst/gstreamer-sections.txt:
17249         * docs/gst/tmpl/.cvsignore:
17250         * docs/gst/tmpl/gstelement.sgml:
17251         * docs/gst/tmpl/gstinfo.sgml:
17252         * docs/gst/tmpl/gstobject.sgml:
17253         * gst/gstelement.c:
17254         * gst/gstelement.h:
17255         * gst/gstinfo.c:
17256         * gst/gstinfo.h:
17257         * gst/gstobject.c: (gst_object_class_init):
17258         * gst/gstobject.h:
17259           inlined 3 more biiiig doc files and added some missing docs on the fly
17260
17261 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17262
17263         * check/gst/.cvsignore:
17264         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17265         * gst/gstregistryxml.c: (load_plugin),
17266         (gst_registry_xml_save_plugin):
17267           put back source in registry.  add checks for find_plugin.
17268         * testsuite/states/bin.c: (assert_state), (empty_bin),
17269         (test_adding_one_element), (main):
17270         * testsuite/states/locked.c: (main):
17271           some compile/run fixes
17272
17273 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17274
17275         * check/gst/gstvalue.c: (GST_START_TEST):
17276           fix leaks in the test itself
17277
17278 2005-09-22  Wim Taymans  <wim@fluendo.com>
17279
17280         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17281         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17282         (gst_base_sink_query):
17283         Prepare for more accurate position reporting and query
17284         handling.
17285
17286         * gst/gstelement.c: (gst_element_send_event),
17287         (gst_element_set_state):
17288         Add some comment.
17289
17290 2005-09-22  Wim Taymans  <wim@fluendo.com>
17291
17292         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17293         (gst_query_parse_segment):
17294         * gst/gstquery.h:
17295         More documentation.
17296         Add segment query for future use.
17297
17298 2005-09-22  Wim Taymans  <wim@fluendo.com>
17299
17300         * gst/gstbin.c: (gst_bin_add_func):
17301         Some more debug info.
17302
17303         * gst/gstelement.c: (gst_element_send_event):
17304         Simplify send_event
17305
17306         * gst/gstelement.h:
17307         Don't know how flags got broken.
17308
17309         * gst/gstquery.h:
17310         Added new query.
17311
17312 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17313
17314         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17315           Add simplistic test suite for GST_TYPE_DATE serialisation and
17316           deserialisation.
17317
17318 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17319
17320         * docs/gst/gstreamer-sections.txt:
17321         * gst/gststructure.c: (gst_structure_set_valist),
17322         (gst_structure_get_date):
17323         * gst/gststructure.h:
17324         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17325         (gst_date_copy), (gst_value_compare_date),
17326         (gst_value_serialize_date), (gst_value_deserialize_date),
17327         (gst_value_transform_date_string),
17328         (gst_value_transform_string_date), (_gst_value_initialize):
17329         * gst/gstvalue.h:
17330           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17331           bunch of utility functions along with a hack that checks that
17332           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17333           is required. Part of the grand scheme in #170777.
17334
17335 2005-09-22  Andy Wingo  <wingo@pobox.com>
17336
17337         * gst/gstconfig.h.in: Psych out gtk-doc.
17338
17339         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17340
17341         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17342
17343         * tools/gst-inspect.c (print_element_list): Plug some
17344         inconsequential leaks.
17345
17346         * gst/gstregistry.c (gst_registry_get_default): Doc.
17347
17348         * check/gst/gstplugin.c: 
17349         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17350         * gst/gstelementfactory.c (gst_element_factory_create): 
17351         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17352         refcount changes.
17353
17354         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17355         (gst_plugin_feature_load): Doc, don't eat refs.
17356
17357         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17358         (gst_plugin_list_free): Doc.
17359         (gst_plugin_load_file): Doc updates.
17360
17361         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17362         accessors returning refcounted objects, return a ref.
17363
17364         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17365         accessor for caps. IDEMPOTENCE. Oh yes.
17366
17367 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17368
17369         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17370
17371         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17372         (_gst_debug_register_funcptr):
17373           Add mutex to serialise access to the hash table with
17374           the function pointer => function name string mapping;
17375           make that hash table static scope (#316809).
17376
17377         * gst/registries/.cvsignore:
17378           Remove left-over file.
17379
17380 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17381
17382         * docs/pwg/appendix-porting.xml:
17383           And something about newsegment events and caps-on-buffers to
17384           the porting guide (feel free to improve).
17385
17386 2005-09-21  Andy Wingo  <wingo@pobox.com>
17387
17388         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17389         data and event probes on the same pad.
17390         (test_buffer_probe_once): Test that removing probes from within
17391         the probe functions works.
17392
17393 2005-09-21  Andy Wingo  <wingo@pobox.com>
17394
17395         * check/gst/gstutils.c: New file.
17396         (test_buffer_probe_n_times): A simple buffer probe test. More to
17397         come, foolios.
17398
17399         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17400         have-data::buffer, not have-data.
17401         (gst_pad_add_event_probe): Likewise for have-data::event.
17402         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17403         peer' isn't quite right yet though.
17404         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17405         (gst_pad_remove_data_probe): Change to take the guint handler_id
17406         as their arg, not the function+data, which is more glib-like.
17407
17408         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17409         the signal emission to indicate if the data is a buffer or an
17410         event.
17411         (gst_pad_get_type): Initialize buffer and event quarks.
17412         (gst_pad_class_init): have-data is now a detailed signal, yes it
17413         is.
17414
17415 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17416
17417         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17418         * gst/gstutils.c: (gst_util_set_value_from_string),
17419         (gst_util_set_object_arg):
17420           Don't put functional code in g_return_if_fail() or
17421           g_return_val_if_fail() statements, otherwise things will 
17422           break when G_DISABLE_CHECKS is defined during compilation.
17423
17424 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17425
17426         * docs/gst/tmpl/.cvsignore:
17427         * docs/gst/tmpl/gstvalue.sgml:
17428         * gst/gstvalue.c:
17429         * gst/gstvalue.h:
17430           inlied another one and added  some obvious docs
17431
17432 2005-09-21  Wim Taymans  <wim@fluendo.com>
17433
17434         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17435         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17436         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17437         (gst_fdsrc_get_property), (gst_fdsrc_create):
17438         * gst/elements/gstfdsrc.h:
17439         Properly implement fdsrc. Removed signal and timeout,
17440         better implemented somewhere else.
17441
17442 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17443
17444         * docs/gst/tmpl/.cvsignore:
17445         * docs/gst/tmpl/gstimplementsinterface.sgml:
17446         * gst/gstinterface.c:
17447           inlined more docs
17448
17449 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17450
17451         * docs/gst/gstreamer-sections.txt:
17452         * docs/gst/tmpl/.cvsignore:
17453         * docs/gst/tmpl/gstenumtypes.sgml:
17454           remove obsolete doc file
17455
17456 2005-09-21  David Schleef  <ds@schleef.org>
17457
17458         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17459         little beer, fix a little leak.
17460
17461 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17462
17463         * docs/gst/gstreamer-docs.sgml:
17464         * docs/gst/gstreamer-sections.txt:
17465         * docs/gst/tmpl/.cvsignore:
17466         * gst/Makefile.am:
17467         * gst/gst.h:
17468         * gst/gstbin.c:
17469         * gst/gstelement.h:
17470         * gst/gstindex.c: (gst_index_class_init):
17471         * gst/gstindex.h:
17472         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17473         (gst_index_factory_class_init), (gst_index_factory_init),
17474         (gst_index_factory_finalize), (gst_index_factory_new),
17475         (gst_index_factory_destroy), (gst_index_factory_find),
17476         (gst_index_factory_create), (gst_index_factory_make):
17477         * gst/gstindexfactory.h:
17478         * gst/gstpluginfeature.c:
17479         * gst/gstpluginfeature.h:
17480         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17481           more docs inlined, splitted gstindex.{c,h}
17482
17483 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17484
17485         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17486           fix a leak
17487
17488 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17489
17490         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17491           Set sync to FALSE by default.
17492
17493 2005-09-20  Wim Taymans  <wim@fluendo.com>
17494
17495         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17496         (gst_base_sink_init):
17497         Make sync property settable from subclass.
17498
17499         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17500         (gst_fake_sink_change_state):
17501         Set sync to FALSE by default.
17502
17503 2005-09-20  Wim Taymans  <wim@fluendo.com>
17504
17505         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17506         * tools/gst-launch.c: (main):
17507         The timeout handler should have lower priority than the source
17508         so we don't timeout before popping a message with 0 timeout.
17509         Dump error messages after failed state change.
17510
17511 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17512
17513         * tools/gst-inspect.c: (print_element_properties_info):
17514           Fix two typos.
17515
17516 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17517
17518         * check/gst/gstevent.c:
17519         * gst/elements/gstfakesink.c:
17520         * gst/elements/gstfakesink.h:
17521           remove the sync property from fakesink.
17522           has the side effect of setting sync TRUE
17523           for fakesink, which is a change.  Anyone who knows how
17524           to fix this nicely in a GObject-y way, feel free.
17525
17526 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17527
17528         * docs/gst/gstreamer-docs.sgml:
17529           remove probe refsection
17530
17531 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17532
17533         * check/Makefile.am:
17534           disable valgrinding the controller test again
17535         * docs/gst/gstreamer-sections.txt:
17536           update for api-changes
17537
17538 2005-09-20  Wim Taymans  <wim@fluendo.com>
17539
17540         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17541         (gst_base_sink_set_property), (gst_base_sink_get_property),
17542         (gst_base_sink_do_sync):
17543         * gst/base/gstbasesink.h:
17544         Added sync property to basesink to disable clock sync.
17545
17546 2005-09-20  Andy Wingo  <wingo@pobox.com>
17547
17548         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17549         eating the caller's refcount.
17550
17551         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17552         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17553         refcount.
17554
17555         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17556         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17557         of GLib 2.8 public, so we can know which refcount to check in
17558         tests.
17559
17560         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17561         (gst_object_init): Only set the gst refcount if we're going ahead
17562         with the refcount hack.
17563
17564 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17565
17566         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17567         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17568           more leaks plumbed, added more debug-logging
17569         * gst/gstmacros.h:
17570           whitespace fix
17571
17572 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * gst/gstmessage.c:
17575           remove include of gstmemchunk.h
17576
17577 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17578
17579         * gst/gstclock.c: (_gst_clock_id_free):
17580           Commit from the Political Party For More Atomic CVS Commits,
17581           so that people don't waste too much of their day fishing
17582           out obvious leaks out of massive commits.
17583           Oh, and fix a pretty damn obvious leak in the memchunk
17584           removal code.
17585
17586 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17587
17588         * check/Makefile.am:
17589         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17590           plug mem-leak, re-add to valgrindable tests
17591
17592 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17593
17594         * gst/gstplugin.h:
17595           unbreak the build for those who have chronic arthritis
17596           and typing "make check" is just too taxing on the hands
17597
17598 2005-09-20  Andy Wingo  <wingo@pobox.com>
17599
17600         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17601         really want it out, you should fix plugins at the same time.
17602
17603 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17604
17605         * configure.ac:
17606         * docs/gst/gstreamer-sections.txt:
17607         * gst/gstobject.c:
17608           added missing symbols to api docs
17609           disable ref-count hack if we have glib >= 2.8
17610
17611 2005-09-19  David Schleef  <ds@schleef.org>
17612
17613         * docs/gst/Makefile.am: Ignore a few more internal headers
17614         * docs/gst/gstreamer-docs.sgml: Remove old sections
17615         * docs/gst/gstreamer-sections.txt: Remove old sections
17616         * docs/gst/tmpl/gstobject.sgml: update
17617         * docs/gst/tmpl/gstplugin.sgml: update
17618         * docs/gst/tmpl/gstpluginfeature.sgml: update
17619         * docs/random/ds/0.9-suggested-changes: update.
17620         * gst/Makefile.am: remove memchunk and trashstack, since they're
17621           not used.
17622         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17623         * gst/gst.h: don't include some headers
17624         * gst/gstchildproxy.c: add gstmarshal.h
17625         * gst/gstclock.c: Don't use memchunks
17626         * gst/gstminiobject.c: Add some docs
17627         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17628         * gst/gstobject.h: same
17629         * gst/gstplugin.c: include gstmacros.h
17630         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17631         * gst/gstquery.c: don't use memchunks
17632         * gst/gstregistry.c: rename gst_registry_deinit()
17633         * gst/gstregistry.h: same
17634
17635 2005-09-19  David Schleef  <ds@schleef.org>
17636
17637         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17638         * docs/libs/gstreamer-libs-sections.txt:
17639         * docs/libs/tmpl/gstgetbits.sgml:
17640         * docs/libs/tmpl/gstputbits.sgml:
17641
17642 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17643
17644         * win32/gstenumtypes.c:
17645         * win32/gstenumtypes.h:
17646           Update.
17647
17648 2005-09-19  Wim Taymans  <wim@fluendo.com>
17649
17650         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17651         Automatically PAUSE and RESUME a pipeline when a flushing seek
17652         is performed.
17653
17654 2005-09-19  Andy Wingo  <wingo@pobox.com>
17655
17656         * gst/gstregistry.h: Spacing fixen.
17657
17658 2005-09-19  Wim Taymans  <wim@fluendo.com>
17659
17660         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17661         Handle state change failure more correctly.
17662
17663 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17664
17665         * check/Makefile.am:
17666         * check/pipelines/cleanup.c: (run_pipeline):
17667         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17668         (GST_START_TEST):
17669           enable cleanup again after fixing the leak
17670         * docs/README:
17671           some more info on docs
17672
17673 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17674
17675         * check/Makefile.am:
17676           re-enable tests now that leaks are plugged
17677         * check/gst/gst.c:
17678         * check/gst/gstbin.c:
17679         * check/gst/gstpipeline.c:
17680           add some more tests while fixing leaks
17681         * common/check.mak:
17682           make sure binaries are uptodate when valgrinding/gdbing
17683         * gst/gst.c:
17684         * gst/gstelementfactory.c:
17685           remove a ref too many, and add a FIXME for when we get
17686           round to disposing of classes
17687         * gst/gstplugin.c:
17688           fix the refcounting when loading a plugin from a file and
17689           the code pretends that the pointer is the same even though
17690           of course it can change
17691         * gst/gstpluginfeature.c:
17692           unref plugins marked cached (a bit confusing as a name)
17693           as the docs state should be done
17694           various doc additions to explain refcounting
17695         * gst/gstregistry.c:
17696         * gst/gstregistryxml.c:
17697           debugging
17698
17699 2005-09-19  Wim Taymans  <wim@fluendo.com>
17700
17701         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17702         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17703         (send_messages), (GST_START_TEST), (gstbus_suite):
17704         * check/gst/gstpipeline.c: (GST_START_TEST):
17705         * check/pipelines/cleanup.c: (run_pipeline):
17706         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17707         (GST_START_TEST):
17708         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17709         (gst_bus_source_check), (gst_bus_source_dispatch),
17710         (gst_bus_create_watch), (gst_bus_add_watch_full),
17711         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17712         * gst/gstbus.h:
17713         * tools/gst-launch.c: (event_loop):
17714         * tools/gst-md5sum.c: (event_loop):
17715         GstBusHandler -> GstBusFunc, return value has the same meaning as
17716         any other GSource (FALSE == remove source).
17717         _add_watch() and _add_watch_full() now take a MessageType mask to
17718         only handle specific types of messages.
17719         _poll() returns the GstMessage instead of the message type to avoid
17720         race conditions.
17721         _have_pending() takes a MessageType mask now too.
17722         Added testsuite for multiple bus watches.
17723         Fix testsuites and applications for new bus API.
17724
17725 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17726
17727         * check/Makefile.am:
17728           mark a bunch of the tests as to fix until we fix them
17729
17730 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17731
17732         * common/check.mak:
17733           use GST_PLUGIN settings for valgrind tests as well, so we're
17734           valgrinding the correct thing
17735         * gst/gst.c: (init_post):
17736           plug another leak
17737
17738 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17739
17740         * gst/gst.c: (init_post), (gst_deinit):
17741         * gst/gstelementfactory.c: (gst_element_factory_class_init),
17742         (gst_element_factory_finalize), (gst_element_factory_cleanup):
17743         * gst/gstindex.c: (gst_index_factory_class_init),
17744         (gst_index_factory_finalize):
17745         * gst/gstobject.c: (gst_object_dispose):
17746         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17747         (gst_plugin_load_file), (gst_plugin_desc_free):
17748         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17749         (gst_plugin_feature_finalize):
17750         * gst/gstregistry.c: (gst_registry_class_init),
17751         (gst_registry_init), (gst_registry_finalize),
17752         (gst_registry_get_default), (gst_registry_deinit):
17753         * gst/gstregistry.h:
17754         * gst/gstregistryxml.c: (load_feature), (load_plugin):
17755           various cleanups and memleak plugging.  make valgrind is happy now.
17756
17757 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17758
17759         * common/check.mak:
17760           add a check-valgrind target
17761
17762 2005-09-18  David Schleef  <ds@schleef.org>
17763
17764         * tools/gst-inspect.c: Revert the GOption code.
17765
17766 2005-09-17  David Schleef  <ds@schleef.org>
17767
17768         * check/Makefile.am: Fix environment variables.
17769         * check/gst/gstplugin.c: Fix for API changes.
17770         * tools/gst-inspect.c: Fix for API changes.
17771         * tools/gst-xmlinspect.c: Fix for API changes.
17772         * gst/gstelementfactory.c:
17773         * gst/gstplugin.c:
17774         * gst/gstplugin.h:
17775         * gst/gstpluginfeature.c:
17776         * gst/gstpluginfeature.h:
17777         * gst/gstregistry.c:
17778         * gst/gstregistry.h:
17779         * gst/gstregistryxml.c:
17780         * gst/gsttypefind.c:
17781         * gst/gsttypefindfactory.c:
17782         * gst/indexers/gstfileindex.c:
17783         * gst/indexers/gstmemindex.c:
17784         * gst/schedulers/Makefile.am:
17785           Change registry to keep track of both plugins and features,
17786           removing the feature tracking from plugins themselves.
17787
17788 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17789
17790         * check/Makefile.am:
17791         * tools/gst-register.1.in:
17792           remove gst-register
17793
17794 2005-09-15  David Schleef  <ds@schleef.org>
17795
17796         * check/gst/gstplugin.c:
17797         * gst/gstelementfactory.c:
17798         * gst/gstplugin.c:
17799         * gst/gstpluginfeature.c:
17800         * gst/gstregistry.c:
17801           Getting tired of debugging.  Disabled all the unreffing of
17802           plugins and features, which fixes the segfaults, but of
17803           course leaks like crazy.  At least playbin works.
17804
17805 2005-09-15  David Schleef  <ds@schleef.org>
17806
17807         * check/gst/gstplugin.c: (register_check_elements),
17808         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17809         More testing
17810         * gst/elements/gsttypefindelement.c: Fix refcounting.
17811         * gst/gsttypefind.c:
17812         * gst/gsttypefindfactory.c:
17813         * gst/gsttypefindfactory.h:
17814
17815 2005-09-15  David Schleef  <ds@schleef.org>
17816
17817         * gst/gstindex.c: get refcounting correct.
17818         * gst/gstregistry.c: Handle the case where a feature/plugin is
17819           not found.
17820
17821 2005-09-15  David Schleef  <ds@schleef.org>
17822
17823         * check/Makefile.am:
17824         * check/gst/gstplugin.c: Add test
17825         * gst/gstplugin.c: Fix problems noticed by testsuite
17826         * gst/gstplugin.h:
17827         * gst/gstregistry.c: 
17828         * gst/gstregistry.h:
17829
17830 2005-09-15  David Schleef  <ds@schleef.org>
17831
17832         * gst/gstplugin.c: Implement semi-decent recounting and locking
17833           in plugins and plugin features.
17834         * gst/gstplugin.h:
17835         * gst/gstpluginfeature.c:
17836         * gst/gstpluginfeature.h:
17837         * gst/gstregistry.c:
17838
17839 2005-09-15  Michael Smith <msmith@fluendo.com>
17840
17841         * gst/gstregistry.c: (gst_registry_get_feature_list):
17842           Implement this. Makes oggdemux work; decodebin still broken.
17843
17844 2005-09-14  David Schleef  <ds@schleef.org>
17845
17846         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17847           #316076)
17848         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17849         * gst/check/Makefile.am:
17850         * libs/gst/controller/Makefile.am:
17851         * libs/gst/dataprotocol/Makefile.am:
17852
17853 2005-09-14  David Schleef  <ds@schleef.org>
17854
17855         * configure.ac: Remove getbits library.  Nothing uses it, and
17856           it should be in something like liboil if someone did want
17857           to use it.
17858         * libs/gst/Makefile.am:
17859         * libs/gst/getbits/Makefile.am:
17860         * libs/gst/getbits/gbtest.c:
17861         * libs/gst/getbits/getbits.c:
17862         * libs/gst/getbits/getbits.h:
17863         * libs/gst/getbits/gstgetbits_generic.c:
17864         * libs/gst/getbits/gstgetbits_i386.s:
17865         * libs/gst/getbits/gstgetbits_inl.h:
17866
17867 2005-09-14  David Schleef  <ds@schleef.org>
17868
17869         * gst/Makefile.am: Dist glib-compat.h
17870
17871 2005-09-14  David Schleef  <ds@schleef.org>
17872
17873         * configure.ac: Remove gst/registries, since it's no longer used.
17874         * gst/registries/Makefile.am:
17875         * gst/registries/gstlibxmlregistry.c:
17876         * gst/registries/gstlibxmlregistry.h:
17877         * gst/registries/gstxmlregistry.c:
17878         * gst/registries/gstxmlregistry.h:
17879         * gst/registries/registrytest.c:
17880
17881 2005-09-14  David Schleef  <ds@schleef.org>
17882
17883         * gst/glib-compat.h:
17884         * gst/gstregistryxml.c:
17885           Convergence is near.  Seriously.
17886
17887 2005-09-14  David Schleef  <ds@schleef.org>
17888
17889         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17890         * gst/glib-compat.h:
17891           Attempt #4 to appease the buildbots.
17892
17893 2005-09-14  David Schleef  <ds@schleef.org>
17894
17895         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17896           Attempt #3.
17897
17898 2005-09-14  David Schleef  <ds@schleef.org>
17899
17900         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17901         Attempt #2.
17902
17903 2005-09-14  David Schleef  <ds@schleef.org>
17904
17905         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17906           the new functions.
17907
17908 2005-09-14  David Schleef  <ds@schleef.org>
17909
17910         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17911         * gst/glib-compat.h: Add some functions that are in newer versions
17912           of glib than we care to require.
17913         * gst/gstregistryxml.c: Use them.
17914
17915 2005-09-14  David Schleef  <ds@schleef.org>
17916
17917         * po/POTFILES.in: remove gst-register.c
17918
17919 2005-09-14  David Schleef  <ds@schleef.org>
17920
17921         * docs/gst/gstreamer-docs.sgml:
17922         * docs/gst/gstreamer-sections.txt:
17923         * docs/gst/gstreamer.types:
17924         * docs/gst/tmpl/gstelement.sgml:
17925         * docs/gst/tmpl/gstplugin.sgml:
17926         * docs/gst/tmpl/gstpluginfeature.sgml:
17927           Documentation updates for registry changes.
17928
17929 2005-09-14  David Schleef  <ds@schleef.org>
17930
17931         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17932           because we don't require glib-2.8.
17933
17934 2005-09-14  David Schleef  <ds@schleef.org>
17935
17936         * gst/gstregistryxml.c: Added.  Essentially moved out of the
17937           registries directory.
17938
17939 2005-09-14  David Schleef  <ds@schleef.org>
17940
17941         * check/Makefile.am:
17942         * check/generic/states.c:
17943         * gst/Makefile.am:
17944         * gst/gst.c:
17945         * gst/gst.h:
17946         * gst/gst_private.h:
17947         * gst/gstelementfactory.c:
17948         * gst/gstindex.c:
17949         * gst/gstinfo.c:
17950         * gst/gstplugin.c:
17951         * gst/gstplugin.h:
17952         * gst/gstpluginfeature.c:
17953         * gst/gstpluginfeature.h:
17954         * gst/gstregistry.c:
17955         * gst/gstregistry.h:
17956         * gst/gstregistrypool.c: remove
17957         * gst/gstregistrypool.h: remove
17958         * gst/gsttypefind.c:
17959         * gst/gsttypefindfactory.c:
17960         * gst/gsturi.c:
17961         * tools/Makefile.am:
17962         * tools/gst-compprep.c:
17963         * tools/gst-inspect.c:
17964         * tools/gst-register.c: remove
17965         * tools/gst-xmlinspect.c:
17966           Registry rewrite.  Changes registry from being a file created
17967           by a tool into a simple cache file created automatically by 
17968           libgstreamer.  Removed gst-register (because it's no longer
17969           needed).  Remove registry pools, because we only have one
17970           registry implementation (XML).  Fix up other subsystems as
17971           necessary.
17972
17973 2005-09-13  Michael Smith <msmith@fluendo.com>
17974
17975         * gst/gstconfig.h.in:
17976           Don't Use windows linking attributes for MinGW. Fixes #316157
17977
17978 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17979
17980         * gst/gstutils.c: (set_state_async_thread_func),
17981         (gst_element_set_state_async):
17982           Apparently people think it's better if this function doesn't
17983           try to set the state to whatever state was asked for on the first
17984           call to this function for any object.  Seriously.
17985
17986 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17987
17988         * check/gst/gstpipeline.c: (GST_START_TEST):
17989         * docs/gst/gstreamer-sections.txt:
17990         * gst/gstutils.c: (set_state_async_thread_func),
17991         (gst_element_set_state_async):
17992         * gst/gstutils.h:
17993           add a "gst_element_set_state_async" method that
17994           sets the state and starts a thread to make sure the state
17995           change completes as best as it can
17996
17997 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17998
17999         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18000           codify design+behaviour in testsuite after discussion
18001
18002 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18003
18004         * docs/gst/tmpl/gstelement.sgml:
18005         * docs/manual/appendix-quotes.xml:
18006           add a quote
18007         * gst/gstelement.c: (gst_element_set_state):
18008           add some debug
18009
18010 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18011
18012         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18013         (gst_base_transform_prepare_output_buf),
18014         (gst_base_transform_handle_buffer):
18015         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18016         (gst_capsfilter_prepare_buf):
18017           Remove the requirement for sub-classes to call the parent
18018           implementation of prepare_output_buffer with a wrapper function.
18019           
18020         * gst/gsttaglist.h:
18021         * gst/gsttagsetter.h:
18022           Fix #define wrapper
18023
18024 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18025
18026         * docs/gst/gstreamer-sections.txt:
18027           more doc cleanups
18028
18029 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18030
18031         * docs/gst/gstreamer-sections.txt:
18032         * docs/gst/tmpl/gstelement.sgml:
18033         * docs/gst/tmpl/gstplugin.sgml:
18034         * gst/gstminiobject.c:
18035         * gst/gstvalue.h:
18036           docs now stop throwing warnings
18037
18038 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18039
18040         * docs/gst/gstreamer-sections.txt:
18041         * docs/gst/gstreamer.types:
18042         * docs/gst/tmpl/gstpad.sgml:
18043         * docs/gst/tmpl/gsttypes.sgml:
18044         * gst/base/gstadapter.h:
18045         * gst/base/gstbasesink.h:
18046         * gst/base/gstbasesrc.h:
18047         * gst/gstbin.h:
18048         * gst/gstbuffer.h:
18049         * gst/gstbus.h:
18050         * gst/gstcaps.h:
18051         * gst/gstclock.h:
18052         * gst/gstelement.h:
18053         * gst/gstevent.h:
18054         * gst/gstmessage.h:
18055         * gst/gstpad.h:
18056         * gst/gststructure.c:
18057         * gst/registries/gstlibxmlregistry.h:
18058           various documentation fixes
18059
18060 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18061
18062         * docs/gst/gstreamer-sections.txt:
18063         * docs/gst/tmpl/gstvalue.sgml:
18064           rearrange gstvalue section
18065         * gst/gstutils.c: (gst_element_state_get_name):
18066           NONE -> VOID
18067         * gst/gstvalue.c: (_gst_value_initialize):
18068         * gst/gstvalue.h:
18069           doc updates
18070
18071 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18072
18073         * check/gst-libs/controller.c:
18074           Header include fix.
18075         * gst/base/gstbasetransform.c:
18076         (gst_base_transform_default_prepare_buf),
18077         (gst_base_transform_handle_buffer):
18078         * gst/base/gstbasetransform.h:
18079           Some more basetransform changes and fixes to enable sub-classes
18080           that modify buffer metadata only.
18081         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18082         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18083         (gst_capsfilter_prepare_buf):
18084           If the output pad has fixed allowed caps and input buffers 
18085           don't have any, set the fixed caps on outgoing buffers.
18086
18087 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18088         * check/elements/identity.c: (GST_START_TEST):
18089           Make the error a little clearer when the test fails because
18090           identity made a copy of the buffer.
18091         * docs/gst/gstreamer-sections.txt:
18092           New symbols in gstbasetransform.h
18093         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18094         (gst_base_transform_init), (gst_base_transform_transform_size),
18095         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18096         (gst_base_transform_default_prepare_buf),
18097         (gst_base_transform_get_unit_size),
18098         (gst_base_transform_buffer_alloc),
18099         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18100         (gst_base_transform_change_state),
18101         (gst_base_transform_set_passthrough),
18102         (gst_base_transform_set_in_place),
18103         (gst_base_transform_is_in_place):
18104         * gst/base/gstbasetransform.h:
18105           Change BaseTransform to separate in_place operate from same_caps
18106           output. in_place implies that the element can perform the transform
18107           on incoming buffers in-place, even if the caps on the output are
18108           different.
18109           Sub-class elements can now implement special buffer allocation
18110           methods for outgoing buffers if they wish to.
18111           Big documentation addition.
18112         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18113         * gst/elements/gstelements.c:
18114           Changes for basetransform modifications.
18115         * gst/elements/Makefile.am:
18116         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18117           Compile fix. Extra debug output.
18118
18119 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18120
18121         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18122         (gst_pad_suite):
18123           add tests for valid pad naming
18124         * gst/check/gstcheck.c: (gst_check_log_message_func),
18125         (gst_check_log_critical_func):
18126           add ASSERT_WARNING
18127           remove printing of code, it is fragile when the code contains
18128           % and the line number is enough info
18129         * gst/check/gstcheck.h:
18130         * gst/gstpad.c: (gst_pad_template_new):
18131           fix memleaks
18132
18133 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18134
18135         * configure.ac:
18136           say what CHECK flags we use
18137         * docs/libs/gstreamer-libs.types:
18138         * libs/gst/controller/Makefile.am:
18139         * libs/gst/controller/gst-controller.c:
18140         * libs/gst/controller/gst-controller.h:
18141         * libs/gst/controller/gst-helper.c:
18142         * libs/gst/controller/gst-interpolation.c:
18143         * libs/gst/controller/gstcontroller.c:
18144         * libs/gst/controller/gsthelper.c:
18145         * libs/gst/controller/gstinterpolation.c:
18146         * tools/gst-inspect.c: (print_plugin_info):
18147           we don't use dashes in header names
18148
18149 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18150
18151         * check/Makefile.am:
18152         * check/gst/.cvsignore:
18153         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18154         (gst_pipeline_suite), (main):
18155           adding a test for pipelines and state changes
18156         * gst/gstutils.c: (get_state_func):
18157           add some debugging
18158         * gstreamer.spec.in:
18159           fix up spec file
18160
18161 2005-09-08  Michael Smith <msmith@fluendo.com>
18162
18163         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18164         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18165         (gst_file_src_is_seekable), (gst_file_src_get_size),
18166         (gst_file_src_start):
18167         * gst/elements/gstfilesrc.h:
18168           Various fixes for unseekable, unmmapable, and non-normal files, so
18169           that fallback to read() rather than mmap() works.
18170         * gst/gstevent.c: (gst_event_new_newsegment):
18171           Allow newsegment events with segment_start == segment_end, as will
18172           correctly happen if you use filesrc on a zero-size file, for
18173           example.
18174
18175 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18176
18177         * gst/gstplugin.c: (gst_plugin_load_file):
18178           Call g_module_close when we don't load the module
18179
18180         * gst/registries/gstlibxmlregistry.c:
18181         (gst_xml_registry_get_property):
18182           Port leak fix from 0.8
18183
18184 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18185
18186         * docs/gst/gstreamer-docs.sgml:
18187         * docs/gst/tmpl/.cvsignore:
18188         * docs/gst/tmpl/gsttrace.sgml:
18189         * docs/gst/tmpl/gsttrashstack.sgml:
18190         * gst/Makefile.am:
18191         * gst/gst.h:
18192         * gst/gstelement.h:
18193         * gst/gstevent.h:
18194         * gst/gstmessage.c:
18195         * gst/gstmessage.h:
18196         * gst/gsttag.c:
18197         * gst/gsttag.h:
18198         * gst/gsttaginterface.c:
18199         * gst/gsttaginterface.h:
18200         * gst/gsttaglist.c:
18201         * gst/gsttaglist.h:
18202         * gst/gsttagsetter.c:
18203         * gst/gsttagsetter.h:
18204         * gst/gsttrace.c:
18205         * gst/gsttrace.h:
18206         * gst/gsttrashstack.c:
18207           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18208           inlined docs for gsttrace, gsttrashstack
18209
18210 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18211
18212         * gst/Makefile.am:
18213         * gst/elements/gstbufferstore.h:
18214         * gst/elements/gsttypefindelement.c:
18215         * gst/elements/gsttypefindelement.h:
18216         * gst/gst.h:
18217         * gst/gsttypefind.c:
18218         * gst/gsttypefind.h:
18219         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18220         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18221         (gst_type_find_factory_dispose),
18222         (gst_type_find_factory_unload_thyself),
18223         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18224         (gst_type_find_factory_get_caps),
18225         (gst_type_find_factory_get_extensions),
18226         (gst_type_find_factory_call_function):
18227         * gst/gsttypefindfactory.h:
18228         * gst/registries/gstlibxmlregistry.c:
18229         * gst/registries/gstxmlregistry.c:
18230           splitted gsttypefind into gsttypefind, gsttypefindfactory
18231
18232 2005-09-07  Andy Wingo  <wingo@pobox.com>
18233
18234         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18235         condition whereby the pad's task function is entered before the
18236         pad_mode variable was set.
18237
18238 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18239
18240         * gst/gstpad.c: (gst_pad_alloc_buffer):
18241           Catch misbehaving pad_alloc functions that don't
18242           set up caps and do it for them.
18243
18244 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18245
18246         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18247           test for pipe!=NULL
18248         * docs/gst/tmpl/.cvsignore:
18249         * docs/gst/tmpl/gstmemchunk.sgml:
18250         * docs/gst/tmpl/gstparse.sgml:
18251         * docs/gst/tmpl/gsttaglist.sgml:
18252         * docs/gst/tmpl/gsttagsetter.sgml:
18253         * docs/gst/tmpl/gsttypefind.sgml:
18254         * docs/gst/tmpl/gsttypefindfactory.sgml:
18255         * gst/gstmemchunk.c:
18256         * gst/gstparse.c:
18257         * gst/gsttag.c:
18258         * gst/gsttaginterface.c:
18259         * gst/gsttypefind.c:
18260         * gst/gsttypefind.h:
18261           inlined more docs
18262
18263 === release 0.9.2 ===
18264
18265 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18266
18267         * NEWS:
18268         * RELEASE:
18269         * configure.ac:
18270           releasing 0.9.2, "South"
18271
18272 2005-09-05  Andy Wingo  <wingo@pobox.com>
18273
18274         * gst/registries/gstxmlregistry.h:
18275         * gst/registries/gstxmlregistry.c: Um... resurrect...
18276         
18277         * gst/registries/gstxmlregistry.h:
18278         * gst/registries/gstxmlregistry.c: and update to newer API.
18279         Incidentally they should be a bit faster now that they don't have
18280         to parse the caps.
18281         
18282 2005-09-05  Andy Wingo  <wingo@pobox.com>
18283
18284         * gst/registries/gstxmlregistry.h:
18285         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18286         replaced by the libxml registry a while back
18287
18288 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18289
18290         * docs/gst/tmpl/gstplugin.sgml:
18291         * gst/elements/gstelements.c:
18292         * gst/gst.c:
18293         * gst/gstplugin.c: (gst_plugin_register_func),
18294         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18295         (gst_plugin_get_source):
18296         * gst/gstplugin.h:
18297         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18298         (gst_xml_registry_save_plugin):
18299         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18300         (gst_xml_registry_save_plugin):
18301         * tools/gst-inspect.c: (print_plugin_info):
18302           add a "source" plugin description field, to represent the source
18303           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18304           will set it to PACKAGE, which is automake's idea of the name of
18305           the source project.
18306
18307 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18308
18309         * Makefile.am:
18310         * autogen.sh:
18311         * configure.ac:
18312         * docs/Makefile.am:
18313         * docs/faq/Makefile.am:
18314         * docs/gst/tmpl/gstelement.sgml:
18315         * docs/gst/tmpl/gsttypes.sgml:
18316         * docs/htmlinstall.mak:
18317         * docs/manual/Makefile.am:
18318         * docs/pwg/Makefile.am:
18319           reorganize doc build a little
18320           split out docbook and gtk-doc stuff
18321           have two separate --enable's and enable them through autogen
18322           but disable by default in configure (to be similar to other
18323           projects)
18324         * gstreamer.spec.in:
18325           clean up docs install
18326         * po/af.po:
18327         * po/az.po:
18328         * po/ca.po:
18329         * po/cs.po:
18330         * po/de.po:
18331         * po/en_GB.po:
18332         * po/fr.po:
18333         * po/it.po:
18334         * po/nb.po:
18335         * po/nl.po:
18336         * po/ru.po:
18337         * po/sq.po:
18338         * po/sr.po:
18339         * po/sv.po:
18340         * po/tr.po:
18341         * po/uk.po:
18342         * po/vi.po:
18343           translation updates
18344
18345 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18346
18347         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18348           Add comment.
18349           
18350         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18351         (gst_fake_sink_change_state):
18352           Make state change function thread-safe.
18353           
18354         * gst/gstpad.c: (gst_pad_alloc_buffer):
18355           Set offset on generic buffer allocated by fallback.
18356
18357 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18358
18359         * docs/gst/gstreamer-sections.txt:
18360         * docs/gst/tmpl/gstelement.sgml:
18361         * gst/gstpad.c:
18362         * libs/gst/controller/gst-controller.c:
18363         (gst_controlled_property_set_interpolation_mode),
18364         (gst_controlled_property_new),
18365         (gst_controller_find_controlled_property):
18366          run the wingo-magic script against the docs
18367
18368 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18369
18370         * docs/gst/gstreamer-docs.sgml:
18371         * docs/gst/gstreamer-sections.txt:
18372         * docs/gst/tmpl/.cvsignore:
18373         * docs/gst/tmpl/gstelementdetails.sgml:
18374         * docs/gst/tmpl/gstelementfactory.sgml:
18375         * gst/gst.c:
18376         * gst/gstbus.c:
18377         * gst/gstelementfactory.c:
18378         * gst/gstelementfactory.h:
18379           merged elementdetails docs into elementfactory docs
18380           inlined both
18381
18382 2005-09-02  Andy Wingo  <wingo@pobox.com>
18383
18384         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18385         consider this enum an enum and not a flags.
18386
18387 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18388
18389         * docs/gst/gstreamer-docs.sgml:
18390         * docs/gst/tmpl/.cvsignore:
18391         * docs/gst/tmpl/gstghostpad.sgml:
18392         * docs/gst/tmpl/gstiterator.sgml:
18393         * docs/gst/tmpl/gstmacros.sgml:
18394         * docs/gst/tmpl/gstrealpad.sgml:
18395         * docs/gst/tmpl/gstregistry.sgml:
18396         * docs/gst/tmpl/gstregistrypool.sgml:
18397         * docs/gst/tmpl/gststructure.sgml:
18398         * docs/gst/tmpl/gstsystemclock.sgml:
18399         * docs/gst/tmpl/gsttrace.sgml:
18400         * gst/gstghostpad.c:
18401         * gst/gstmacros.h:
18402         * gst/gstmemchunk.c:
18403         * gst/gstmemchunk.h:
18404         * gst/gstqueue.c:
18405         * gst/gstregistry.c:
18406         * gst/gstregistrypool.c:
18407         * gst/gststructure.c:
18408         * gst/gstsystemclock.c:
18409           more docs inlined
18410
18411 2005-09-02  Andy Wingo  <wingo@pobox.com>
18412
18413         * gst/gstelement.h (GstState): Renamed from GstElementState,
18414         changed to be a normal enum instead of flags.
18415         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18416         munged to be GST_STATE_CHANGE_*.
18417         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18418         work with the new state representation.
18419         (GstStateChange): New enumeration of possible state transitions.
18420         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18421         (GstElementClass::change_state): Pass the GstStateChange along as
18422         an argument. Helps language bindings, so they don't have to use
18423         tricky lock-needing macros like GST_STATE_CHANGE ().
18424
18425         * scripts/update-states (file): New script. Run it on a file to
18426         update it for state naming and API changes. Updates files in
18427         place.
18428
18429         * All files updated for the new API.
18430
18431 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18432
18433         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18434         * gst/gstutils.c: (gst_util_set_value_from_string),
18435         (gst_util_set_object_arg):
18436           fix a bunch of unchecked return values
18437         * tools/gst-complete.c: (main):
18438         * gstreamer.spec.in:
18439           clean up a little
18440
18441 2005-09-01  Wim Taymans  <wim@fluendo.com>
18442
18443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18444         (gst_base_sink_event), (gst_base_sink_do_sync),
18445         (gst_base_sink_handle_event):
18446         * gst/base/gstbasesink.h:
18447         Handle newsegments more correctly.
18448
18449         * gst/gstbus.c:
18450         Fix docs.
18451
18452         * gst/gstevent.c: (gst_event_new_newsegment):
18453         A newsegment cannot have a start_time of -1
18454
18455 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18456
18457         * win32/gstenumtypes.c:
18458         * win32/gstenumtypes.h:
18459           Update
18460
18461 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18462
18463         * libs/gst/controller/gst-controller.c:
18464         (gst_controlled_property_set_interpolation_mode),
18465         (gst_controlled_property_new):
18466          fixed boolean again
18467
18468 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18469
18470         * docs/faq/gst-uninstalled:
18471           add -good
18472         * gst/gstevent.c:
18473         * gst/gstevent.h:
18474           remove wrong docs
18475         * gst/gstutils.c: (gst_element_link_filtered):
18476         * gst/gstutils.h:
18477           add gst_element_link_filtered
18478
18479 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18480
18481         * docs/gst/gstreamer-docs.sgml:
18482         * docs/gst/gstreamer-sections.txt:
18483         * docs/gst/tmpl/.cvsignore:
18484         * docs/gst/tmpl/gsterror.sgml:
18485         * docs/gst/tmpl/gstfilter.sgml:
18486         * docs/gst/tmpl/gsturihandler.sgml:
18487         * docs/gst/tmpl/gsturitype.sgml:
18488         * docs/gst/tmpl/gstutils.sgml:
18489         * docs/gst/tmpl/gstxml.sgml:
18490         * gst/gsterror.c:
18491         * gst/gsterror.h:
18492         * gst/gstfilter.c:
18493         * gst/gsturi.c:
18494         * gst/gsturitype.c:
18495         * gst/gstutils.c:
18496         * gst/gstxml.c:
18497           inlined more docs, fixed double id-ref
18498
18499 2005-08-31  Wim Taymans  <wim@fluendo.com>
18500
18501         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18502         (gst_base_transform_handle_buffer):
18503         Passthrough elements don't need the caps as they don't care.
18504
18505 2005-08-31  Wim Taymans  <wim@fluendo.com>
18506
18507         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18508         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18509         Don't leak refcounts on buffers.
18510
18511 2005-08-31  Wim Taymans  <wim@fluendo.com>
18512
18513         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18514         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18515         (gst_base_transform_chain), (gst_base_transform_change_state):
18516         * gst/base/gstbasetransform.h:
18517         Handle the case where we are not negotiated more gracefully.
18518
18519 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18520
18521         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18522         (gst_file_src_map_region):
18523           Set READONLY flag on mmap'ed buffers, otherwise
18524           gst_buffer_make_writable() won't work properly (#314708).
18525
18526 2005-08-31  Wim Taymans  <wim@fluendo.com>
18527
18528         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18529         passthrough elements can even do inplace on non writable
18530         buffers (as they don't touch them).
18531
18532 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18533
18534         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18535         (gst_test_mono_source_set_property),
18536         (gst_test_mono_source_class_init), (GST_START_TEST),
18537         (gst_controller_suite):
18538           more tests (hehe I have the most)
18539         * gst/gstbus.c:
18540           describe popping messages whenusing mulltiple sources
18541         * libs/gst/controller/gst-controller.c:
18542         (gst_controlled_property_set_interpolation_mode),
18543         (gst_controlled_property_new):
18544         * libs/gst/controller/gst-controller.h:
18545         * libs/gst/controller/gst-interpolation.c:
18546           implement boolean properties
18547
18548 2005-08-31  Wim Taymans  <wim@fluendo.com>
18549
18550         * gst/gstminiobject.c: (gst_mini_object_ref):
18551         Cannot assert that the refcount has to be positive
18552         since a disposed object can be resurrected.
18553
18554 2005-08-31  Wim Taymans  <wim@fluendo.com>
18555
18556         * gst/gstpad.c: (gst_pad_init):
18557         Revert change, need to first fix badly behaving 
18558         apps.
18559
18560 2005-08-30  Wim Taymans  <wim@fluendo.com>
18561
18562         * check/elements/fakesrc.c: (setup_fakesrc):
18563         * check/elements/identity.c: (setup_identity):
18564         Activate pads before using them.
18565
18566 2005-08-30  Wim Taymans  <wim@fluendo.com>
18567
18568         * gst/base/gstadapter.c: (gst_adapter_flush):
18569         Flushing out 0 bytes is ok for this function.
18570
18571         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18572         no newsegment gives a warning and sets the start/stop to 
18573         invalid.
18574
18575         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18576         (gst_base_transform_set_passthrough):
18577         Some debug info.
18578
18579         * gst/gstminiobject.c: (gst_mini_object_ref):
18580         Check refcount here too.
18581
18582         * gst/gstpad.c: (gst_pad_init):
18583         Pads are initially flushing and refusing data.
18584
18585         * gst/gstutils.c: (gst_element_link_pads_filtered):
18586         When adding a capsfilter element make sure it has the
18587         same state as the parent bin.
18588
18589 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18590
18591         * docs/gst/tmpl/.cvsignore:
18592         * docs/gst/tmpl/gstformat.sgml:
18593         * docs/gst/tmpl/gstversion.sgml:
18594         * gst/gstbus.h:
18595         * gst/gstformat.c:
18596         * gst/gstformat.h:
18597         * gst/gstversion.h.in:
18598           more docs and two more inlined
18599
18600 2005-08-30  Wim Taymans  <wim@fluendo.com>
18601
18602         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18603         Don't sync to clock.
18604
18605 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18606
18607         * docs/gst/gstreamer-sections.txt:
18608           ultral33t func10ns deserve to appear in the docs actually
18609         * docs/gst/tmpl/.cvsignore:
18610         * docs/gst/tmpl/gstcompat.sgml:
18611         * docs/gst/tmpl/gstconfig.sgml:
18612         * gst/check/gstcheck.c:
18613         * gst/gstcompat.h:
18614         * gst/gstconfig.h.in:
18615           inlined more docs
18616
18617 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18618
18619         * docs/gst/tmpl/.cvsignore:
18620         * docs/gst/tmpl/gstquery.sgml:
18621         * docs/gst/tmpl/gstutils.sgml:
18622         * gst/gstquery.c:
18623         * gst/gstquery.h:
18624           inlined and extended docs
18625
18626 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18627
18628         * check/gst-libs/controller.c: (GST_START_TEST),
18629         (gst_controller_suite):
18630           more tests
18631         * docs/gst/tmpl/gstutils.sgml:
18632         * docs/libs/gstreamer-libs-sections.txt:
18633         * docs/libs/tmpl/gstdataprotocol.sgml:
18634           include path fixes
18635         * examples/controller/audio-example.c: (main):
18636           controller example works now
18637         * gst/gstclock.h:
18638           doc fixes
18639         * tools/gst-inspect.c: (print_element_properties_info):
18640           show param spec flags
18641
18642 2005-08-29  Andy Wingo  <wingo@pobox.com>
18643
18644         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18645
18646 2005-08-28  Andy Wingo  <wingo@pobox.com>
18647
18648         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18649         as having two arguments instead of just one. Allows superclasses
18650         to access information on subclasses -- see the terrible for() loop
18651         in gtype.c:g_type_create_instance for the reason why. All callers
18652         changed.
18653
18654 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18655
18656         * docs/design/part-messages.txt:
18657           update info
18658         * docs/gst/tmpl/.cvsignore:
18659         * docs/gst/tmpl/gstcaps.sgml:
18660         * docs/gst/tmpl/gstclock.sgml:
18661         * gst/gstbus.c:
18662         * gst/gstcaps.c:
18663         * gst/gstcaps.h:
18664         * gst/gstclock.c:
18665         * gst/gstclock.h:
18666         * gst/gstmessage.c:
18667           added descriptions for bus and message
18668           inline caps and clock docs
18669
18670 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18671
18672         * gst/gstmessage.c:
18673         * gst/gstmessage.h:
18674           doc fixes
18675
18676 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18677
18678         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18679           fix div-by-zero
18680
18681 2005-08-26  Andy Wingo  <wingo@pobox.com>
18682
18683         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18684         element_set_state's return val.
18685         (test_2_elements): Add test that's been disabled for months.
18686
18687         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18688         can-activate-pull properties.
18689
18690         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18691         can-activate-pull properties. Implement is_seekable so fakesrc can
18692         operate in pull mode.
18693
18694         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18695         properties.
18696         (gst_base_sink_activate, gst_base_sink_activate_pull)
18697         (gst_base_sink_activate_push): Make activation mode choosing work.
18698         Cleanups.
18699         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18700         is right. Make pull mode work. Post an eos before pausing in pull
18701         mode.
18702         (gst_base_sink_change_state): Pay attention to the core's
18703         change_state() return val.
18704         
18705         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18706         has-getrange properties. Cleanups.
18707         
18708         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18709         has_getrange and replace with can_activate_pull and
18710         can_activate_push.
18711
18712         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18713         locking comments. Remove has_loop, has_chain and replace with
18714         can_activate_pull and can_activate_push.
18715
18716 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
18717
18718         * configure.ac:
18719         * examples/Makefile.am:
18720         * examples/metadata/Makefile.am:
18721         * examples/metadata/read-metadata.c: (message_loop),
18722         (have_pad_handler), (make_pipeline), (print_tag), (main):
18723           Add metadata reading example that loops over a list of filenames,
18724           dumping any tags found.
18725
18726         * gst/gstbus.c: (gst_bus_dispose):
18727         * gst/gstelement.c: (gst_element_dispose):
18728           Release a few potentially-held references in dispose.
18729
18730 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18731
18732         * docs/gst/tmpl/gstminiobject.sgml:
18733           do *not* add tmpl/*.sgml files to CVS!
18734
18735 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18736
18737         * libs/gst/bytestream/.cvsignore:
18738         * libs/gst/bytestream/Makefile.am:
18739         * libs/gst/bytestream/adapter.c:
18740         * libs/gst/bytestream/adapter.h:
18741         * libs/gst/bytestream/bytestream.c:
18742         * libs/gst/bytestream/bytestream.h:
18743         * libs/gst/bytestream/filepad.c:
18744         * libs/gst/bytestream/filepad.h:
18745           removing obsolete files
18746
18747 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18748
18749         * docs/gst/gstreamer-docs.sgml:
18750         * docs/libs/gstreamer-libs-docs.sgml:
18751           disabed additional index entries again, as this makes docs-gen just
18752           slow and they aren't useful yet
18753         * docs/libs/gstreamer-libs-sections.txt:
18754           little -section.txt cleanup for libs
18755
18756 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18757
18758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18759         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18760           fix up some debugging
18761         (gst_base_transform_get_unit_size),
18762         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18763         (gst_base_transform_handle_buffer):
18764         * gst/base/gstbasetransform.h:
18765           handle and store timed NEWSEGMENT events so that subclasses that
18766           calculate time by counting samples have a segment_start time they
18767           need to add to their timestamps - see audioresample
18768
18769 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18770
18771         * gst/gstbin.h:
18772           removed ';' from the end of macro defs
18773         * docs/gst/gstreamer-docs.sgml:
18774         * docs/gst/gstreamer-sections.txt:
18775         * docs/gst/tmpl/.cvsignore:
18776         * gst/gstbus.h:
18777         * gst/gstelement.c: (gst_element_class_init),
18778         (gst_element_set_state), (activate_pads),
18779         (gst_element_save_thyself):
18780         * gst/gstevent.c: (gst_event_new_newsegment):
18781         * gst/gstevent.h:
18782         * gst/gstiterator.c:
18783         * gst/gstiterator.h:
18784         * gst/gstpad.c:
18785         * gst/gstprobe.h:
18786         * gst/gstutils.c: (gst_pad_query_convert):
18787         * gst/gstutils.h:
18788           fixed parameter name mismatches between source, header and docs
18789           added some more docs, resolved the last batch of unused elements in
18790           docs (now someone needs to doc them)
18791
18792 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18793
18794         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18795         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18796           don't walk through the plugins backwards.  Where is all this
18797           reversed logic coming from ?
18798
18799 2005-08-25  Wim Taymans  <wim@fluendo.com>
18800
18801         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18802         (gst_base_transform_transform_size),
18803         (gst_base_transform_configure_caps),
18804         (gst_base_transform_get_unit_size),
18805         (gst_base_transform_buffer_alloc),
18806         (gst_base_transform_change_state):
18807         * gst/base/gstbasetransform.h:
18808         Cache caps unit_size.
18809         Make sure we cannot negotiate up and downstream at the
18810         same time.
18811
18812 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18813
18814         * gst/gst.c: (init_pre), (init_post):
18815           register the installed plugin path after the env var
18816         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18817         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18818           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18819           directories, so the tests can prefer uninstalled over installed
18820
18821 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18822
18823         * gst/base/gstbasetransform.h:
18824           comment
18825         * gst/gstpad.c:
18826           add to docs
18827
18828 2005-08-25  Wim Taymans  <wim@fluendo.com>
18829
18830         * gst/gstbin.c: (bin_bus_handler):
18831         Be a bit more conservative about the posted message.
18832         
18833         * gst/gstbus.c: (gst_bus_post):
18834         Some cleanups, warn wrong return values.
18835
18836 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
18837
18838         * check/gst/gstbin.c: (GST_START_TEST):
18839         * gst/gstbin.c: (bin_bus_handler):
18840         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18841         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18842         (gst_message_new_warning), (gst_message_new_tag),
18843         (gst_message_new_state_changed), (gst_message_new_segment_start),
18844         (gst_message_new_segment_done), (gst_message_new_custom):
18845         * gst/gstmessage.h:
18846         * tools/gst-launch.c: (event_loop):
18847         * tools/gst-md5sum.c: (event_loop):
18848           Revert unpopular change for GST_MESSAGE_SRC to GObject.
18849
18850 2005-08-25  Wim Taymans  <wim@fluendo.com>
18851
18852         * check/generic/states.c: (GST_START_TEST):
18853         Cleanup can be done at the end.
18854
18855         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18856         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18857         (gst_task_get_state), (gst_task_start), (gst_task_pause):
18858         Oh boy.. Thanks for finding this, Thomas. 
18859
18860 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18861
18862         * docs/gst/gstreamer.types:
18863           added missing types
18864
18865 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18866
18867         * docs/gst/gstreamer-docs.sgml:
18868         * docs/gst/gstreamer-sections.txt:
18869         * docs/gst/tmpl/.cvsignore:
18870         * gst/gstbin.c:
18871         * gst/gstiterator.c:
18872         * gst/gstutils.c:
18873         * gst/registries/gstxmlregistry.h:
18874           added missing classes and symbols (123 more to go)
18875           removed removed symbols from section file
18876           fixed many doc-comments
18877
18878 2005-08-24  Wim Taymans  <wim@fluendo.com>
18879
18880         * check/generic/states.c: (GST_START_TEST):
18881         Make sure all tasks are stopped.
18882
18883         * check/gst/gstbin.c: (GST_START_TEST):
18884         Unref after usage for proper valgrinding.
18885
18886         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18887         Really wait for the task to stop before destroying the
18888         mutex.
18889
18890         * gst/gstqueue.c: (gst_queue_sink_activate_push),
18891         (gst_queue_src_activate_push):
18892         Small cleanups. Don't stop the task when we did not start
18893         it.
18894
18895         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18896         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18897         (gst_task_get_state), (gst_task_start), (gst_task_pause),
18898         (gst_task_join):
18899         * gst/gsttask.h:
18900         Protect the stream lock with the object lock.
18901         Disallow setting the stream lock when running.
18902         Add cleanup_all to wait for the threadpool to finish.
18903         Remove code to autoallocate a mutex if none was provided.
18904         Add _join() to wait for a task to stop.
18905         Protect the thread pool with a global lock.
18906
18907 2005-08-24  Wim Taymans  <wim@fluendo.com>
18908
18909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18910         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18911         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18912         * gst/base/gstbasesink.h:
18913         Handle newsegment events correctly.
18914         Drop buffers out of the segment range.
18915
18916 2005-08-22  Andy Wingo  <wingo@pobox.com>
18917
18918         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18919         macro, implements an interface and gstimplementsinterface for a
18920         new type.
18921
18922 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18923
18924         * check/Makefile.am:
18925         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18926           add a test that does a bunch of state changes on elements
18927           needs some fixing for valgrind
18928         * check/states/sinks.c: (gst_object_suite):
18929           whitespace
18930         * gst/gstcaps.h:
18931           add prototype for gst_caps_is_equal_fixed
18932         * gst/gstplugin.c:
18933         * gst/gstregistrypool.c:
18934           doc fixes
18935
18936 2005-08-24  Andy Wingo  <wingo@pobox.com>
18937
18938         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18939         convert a negative value. Doesn't make much sense. Mostly this is
18940         here to force callers to ensure -1 maps to -1.
18941
18942 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
18943
18944         * docs/pwg/advanced-types.xml:
18945           Well done to Michael for catching my deliberate introduction
18946           of this spelling mistake. 
18947         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18948         * gst/gstelement.h:
18949           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18950           unlink pads before removing the element from the bin.
18951
18952 2005-08-24  Andy Wingo  <wingo@pobox.com>
18953
18954         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18955         the same thing as GST_DEBUG=*:4.
18956         (parse_debug_level, parse_debug_category): New helper parsers.
18957
18958 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18959
18960         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18961         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18962         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18963         (gst_base_transform_buffer_alloc),
18964         (gst_base_transform_handle_buffer):
18965           use gboolean return values and pointers to size so we can use the
18966           full GST_BUFFER_SIZE range (guint) for buffer sizes
18967           use GstPadDirection for transform_caps
18968         * gst/base/gstbasetransform.h:
18969           rename get_size to get_unit_size since that's what it is
18970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18971           use GstPadDirection for transform_caps
18972         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18973         * gst/gstutils.h:
18974           cleanup and debugging
18975
18976 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
18977
18978         * gst/gstelement.c: (gst_element_class_init),
18979         (gst_element_set_state), (activate_pads),
18980         (gst_element_save_thyself):
18981         * tools/gst-compprep.c: (main):
18982         * tools/gst-inspect.c: (print_element_properties_info):
18983         * tools/gst-xmlinspect.c: (print_element_properties):
18984           Fixed long standing mem-leak
18985
18986 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
18987
18988         * check/gst/gstbin.c: (GST_START_TEST):
18989         * gst/gstbin.c: (bin_bus_handler):
18990         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18991         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18992         (gst_message_new_warning), (gst_message_new_tag),
18993         (gst_message_new_state_changed), (gst_message_new_segment_start),
18994         (gst_message_new_segment_done), (gst_message_new_custom):
18995         * gst/gstmessage.h:
18996         * tools/gst-launch.c: (event_loop):
18997         * tools/gst-md5sum.c: (event_loop):
18998           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18999           that applications can sensibly post custom messages with references
19000           to their own objects.
19001
19002 2005-08-24  Andy Wingo  <wingo@pobox.com>
19003
19004         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19005         already.
19006
19007 2005-08-24  Wim Taymans  <wim@fluendo.com>
19008
19009         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19010         (gst_base_transform_transform_caps),
19011         (gst_base_transform_transform_size),
19012         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19013         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19014         (gst_base_transform_handle_buffer):
19015         * gst/base/gstbasetransform.h:
19016         Many fixes and new features added by Thomas. Can now also do
19017         transforms with variable sizes and a custom fixate_caps function.
19018
19019 2005-08-24  Wim Taymans  <wim@fluendo.com>
19020
19021         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19022         Some debugging.
19023
19024         * gst/gstclock.h:
19025         Cast to ClockTime before formatting to time.
19026
19027         * gst/gstutils.h:
19028         Cleanups.
19029
19030 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19031
19032         * check/gst-libs/controller.c: (GST_START_TEST),
19033         (gst_controller_suite):
19034         * docs/gst/tmpl/gstcaps.sgml:
19035         * docs/gst/tmpl/gstghostpad.sgml:
19036         * docs/gst/tmpl/gstquery.sgml:
19037         * docs/gst/tmpl/gstutils.sgml:
19038         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19039         (gst_object_sink_values), (gst_object_get_value_arrays),
19040         (gst_object_get_value_array):
19041           gracefully handle helper method calls to objects that are not beeing
19042           controlled, added test case for that          
19043
19044 2005-08-23  Wim Taymans  <wim@fluendo.com>
19045
19046         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19047         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19048         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19049         (gst_event_parse_qos), (gst_event_new_seek),
19050         (gst_event_parse_seek):
19051         * gst/gstevent.h:
19052         Some more debugging output and doc cleanups.
19053
19054         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19055         Fix possible deadlock.
19056
19057 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19058
19059         * docs/gst/gstreamer-docs.sgml:
19060         * docs/gst/gstreamer-sections.txt:
19061         * docs/gst/gstreamer.types:
19062         * docs/gst/tmpl/.cvsignore:
19063         * gst/gstbin.h:
19064         * gst/gstbus.c:
19065         * gst/gstelement.c:
19066         * gst/gstevent.h:
19067           added 100 symbols from gstreamer-unused.txt to the right sections
19068           fixed more broken comments
19069           added GstBus to docs
19070
19071 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19072
19073         * docs/gst/gstreamer-sections.txt:
19074         * docs/gst/tmpl/.cvsignore:
19075         * docs/gst/tmpl/gstbin.sgml:
19076         * docs/gst/tmpl/gstbuffer.sgml:
19077         * gst/base/gstbasesrc.c:
19078         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19079         * gst/gstbuffer.c:
19080         * gst/gstbuffer.h:
19081         * tools/gst-launch.1.in:
19082           inlined more doc comments, added missing comments and fixed comments
19083           fixed typos
19084
19085 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19086
19087         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19088           some debugging
19089         * gst/gstcaps.h:
19090           whitespace fixes
19091         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19092           more debugging
19093         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19094         * gst/gststructure.h:
19095           add a fixate function for booleans; add a FIXME that these func
19096           names should probably be gst_structure_fixate_*
19097
19098 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19099
19100         * docs/gst/gstreamer-docs.sgml:
19101         * docs/gst/gstreamer-sections.txt:
19102         * gst/Makefile.am:
19103         * gst/gstbin.c: (gst_bin_get_type),
19104         (gst_bin_child_proxy_get_child_by_index),
19105         (gst_bin_child_proxy_get_children_count),
19106         (gst_bin_child_proxy_init):
19107         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19108         (gst_child_proxy_get_child_by_index),
19109         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19110         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19111         (gst_child_proxy_get), (gst_child_proxy_set_property),
19112         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19113         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19114         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19115         * gst/gstchildproxy.h:
19116         * gst/parse/grammar.y:
19117         * tools/gst-inspect.c: (print_interfaces),
19118         (print_element_properties_info), (print_element_info):
19119           ported gstchildproxy over from 0.8
19120           ported gst-inspect fixes and enhancements over from 0.8
19121
19122 2005-08-22  Wim Taymans  <wim@fluendo.com>
19123
19124         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19125         (gst_base_transform_handle_buffer):
19126         Also call the transform function if we have ANY caps.
19127
19128         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19129         Fix debug info.
19130
19131 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19132
19133         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19134           Don't pretend to handle seek events if the source is not seekable
19135
19136 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19137
19138         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19139           Remove extra parameter to debug output
19140
19141         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19142         (gst_base_src_do_seek), (gst_base_src_activate_push):
19143           Fix seek event handling.
19144
19145         * gst/gstpipeline.c: (gst_pipeline_change_state):
19146         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19147         (gst_queue_src_activate_push):
19148           Don't start the src pad task on FLUSH_STOP if the pad
19149           isn't linked.
19150           Debug changes.
19151
19152 2005-08-22  Wim Taymans  <wim@fluendo.com>
19153
19154         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19155         Added check for gst_static_caps_get() refcounting.
19156
19157 2005-08-22  Wim Taymans  <wim@fluendo.com>
19158
19159         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19160         Make _static_caps_get() refcounting sane.
19161         
19162         * gst/gstelement.c: (gst_element_set_state):
19163         Add g_return_val_if_fail() to protect against segfaults.
19164
19165 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19166
19167         * docs/gst/tmpl/gstevent.sgml:
19168         * gst/gstevent.c:
19169         * gst/gstevent.h:
19170           inlined remaining docs, added missing doc comments
19171
19172 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19173
19174         * check/gst/gstbin.c: (GST_START_TEST):
19175           since we don't know when preroll is done, use refcount range
19176           check for the sink
19177         * gst/check/gstcheck.h:
19178           add macro for checking refcount range
19179
19180 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * check/Makefile.am:
19183           clean up environment for when registry gets built versus
19184           when actual tests are run; valgrind seems to not report
19185           leaks if GST_PLUGIN_PATH is set to some specific values
19186         * check/gst/gstbin.c: (GST_START_TEST):
19187           add more refcounting checks; maybe this exposes a
19188           preroll lock bug ?
19189         * common/check.mak:
19190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19191         * gst/check/gstcheck.h:
19192         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19193         (gst_bin_change_state):
19194         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19195           add/fix debugging/whitespace
19196
19197 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19198
19199         * check/gst/gstevent.c: (event_probe), (test_event),
19200         (GST_START_TEST):
19201          Er, don't call gst_bin_watch_for_state_change you idiot.
19202
19203 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19204
19205         * check/Makefile.am:
19206           Use CHECK_CFLAGS and CHECK_LIBS
19207         * check/gst/gstevent.c: (event_probe), (test_event),
19208         (GST_START_TEST):
19209           Don't leak events.
19210         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19211         (gst_base_src_start), (gst_base_src_stop),
19212         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19213         (gst_base_src_change_state):
19214           Sprinkle gst_base_src_stop liberally around error paths to fix
19215           problems reusing a source after failed state changes.
19216         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19217         (helper_find_suggest), (gst_type_find_helper):
19218           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19219         * gst/gstevent.h:
19220         * docs/gst/tmpl/gstevent.sgml:
19221           Migrate part of the docs from the SGML file. Wait for ensonic to
19222           tell me how I did it wrong ;)
19223         * tools/gst-typefind.c: (main):
19224           Extra robustness to state changes between files.
19225
19226 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19227
19228         * check/Makefile.am:
19229           don't valgrind the controller test - it's leaking - Stefan, HELP
19230         * gst/check/gstcheck.c: (gst_check_message_error),
19231         (gst_check_chain_func), (gst_check_setup_element),
19232         (gst_check_teardown_element), (gst_check_setup_src_pad),
19233         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19234         (gst_check_teardown_sink_pad):
19235         * gst/check/gstcheck.h:
19236           add a bunch of methods to set up elements, and src and sink pads
19237         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19238         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19239         (GST_START_TEST):
19240           use them
19241         * gst/gstmessage.c:
19242         * gst/gsttag.h:
19243           whitespace/doc fixes
19244
19245 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         * gst/gstelement.h:
19248           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19249           be handled by the application and not always printed as well
19250
19251 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19252
19253         * check/Makefile.am:
19254           set GST_TOOLS_DIR
19255         * gst/check/gstcheck.c: (gst_check_message_error):
19256         * gst/check/gstcheck.h:
19257           add a fail_unless_equals_int
19258           add fail_unless for error messages
19259
19260 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19261
19262         * check/Makefile.am:
19263         * check/gst.supp:
19264         * common/Makefile.am:
19265         * common/check.mak:
19266         * common/gst.supp:
19267           factor out some of the common stuff so we can use it
19268
19269 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * check/Makefile.am:
19272         * check/gst/gstiterator.c: (GST_START_TEST):
19273         * check/gst/gstsystemclock.c: (GST_START_TEST),
19274         (gst_systemclock_suite):
19275         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19276         * gst/gstclock.c:
19277           valgrind more tests
19278
19279 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19280
19281         * check/elements/.cvsignore:
19282         * check/elements/gstfakesrc.c:
19283           rename to name of element
19284         * check/elements/identity.c: (chain_func), (event_func),
19285         (setup_identity), (cleanup_identity), (GST_START_TEST),
19286         (identity_suite), (main):
19287           add a test for identity
19288         * check/Makefile.am:
19289         * pkgconfig/Makefile.am:
19290         * pkgconfig/gstreamer-check.pc.in:
19291         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19292         * gst/check:
19293         * gst/Makefile.am:
19294         * configure.ac:
19295           move the check stuff to a library that gets installed
19296         * check/gst-libs/controller.c: (GST_START_TEST):
19297         * check/gst-libs/gdp.c:
19298         * check/gst/gst.c: (GST_START_TEST):
19299         * check/gst/gstbin.c:
19300         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19301         * check/gst/gstbus.c:
19302         * check/gst/gstcaps.c: (GST_START_TEST):
19303         * check/gst/gstelement.c:
19304         * check/gst/gstghostpad.c:
19305         * check/gst/gstiterator.c:
19306         * check/gst/gstmessage.c:
19307         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19308         * check/gst/gstobject.c:
19309         * check/gst/gstpad.c: (GST_START_TEST):
19310         * check/gst/gststructure.c: (GST_START_TEST):
19311         * check/gst/gstsystemclock.c: (GST_START_TEST),
19312         (gst_systemclock_suite):
19313         * check/gst/gsttag.c: (gst_tag_suite):
19314         * check/gst/gstvalue.c:
19315         * check/pipelines/cleanup.c:
19316         * check/pipelines/simple_launch_lines.c:
19317         * check/states/sinks.c:
19318           change include statement
19319
19320         * docs/gst/gstreamer-sections.txt:
19321         * docs/gst/tmpl/gstpad.sgml:
19322           document more pad stuff
19323         * gst/gstminiobject.c: (gst_mini_object_ref),
19324         (gst_mini_object_unref):
19325           debug refcounting
19326
19327 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19328
19329         * docs/gst/tmpl/gst.sgml:
19330         * gst/gst.c:
19331           eliminate another tmpl file, fix spelling in the long-description
19332
19333 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19334
19335         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19336         (test_event), (timediff), (gstevents_suite):
19337           Should fix build on 64-bit arch's
19338
19339 2005-08-18  Andy Wingo  <wingo@pobox.com>
19340
19341         Make sure that when a pipeline goes to PLAYING, that data has
19342         actually hit the sink.
19343
19344         * check/states/sinks.c (test_sink): A sink that doesn't get any
19345         data shouldn't return SUCCESS for going to either PLAYING or
19346         PAUSED. Test also the return values on the way back down.
19347
19348         * gst/gstelement.c (gst_element_set_state): When changing the
19349         state of an element currently changing state asynchronously, go to
19350         lost-state after commiting the pending state. Makes future calls
19351         to get_state continue to return ASYNC.
19352
19353         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19354         ASYNC when going to PLAYING if we still don't have preroll, as can
19355         happen with live sources.
19356
19357 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19358
19359         * docs/pwg/advanced-types.xml:
19360           Hack long paragraph into 2 chunks as a workaround for buggy
19361           jadetex version in sid and breezy that loops infinitely and
19362           eats all RAM.
19363
19364 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19365
19366         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19367         (test_event), (timediff), (gstevents_suite):
19368           Provide more error margin in clock measurements to allow for 
19369           g_get_current_time inaccuracies.
19370
19371 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19372
19373         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19374         (test_event), (timediff), (gstevents_suite):
19375            Fix error message output so I might be able to tell why the
19376            test works here but fails on the build farm.
19377
19378 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19379
19380         * check/Makefile.am:
19381         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19382         (test_event), (timediff), (gstevents_suite), (main):
19383           I wrote a test!
19384
19385         * docs/design/part-seeking.txt:
19386           Spelling correction
19387
19388         * docs/gst/tmpl/gstevent.sgml:
19389         * docs/gst/tmpl/gstfakesrc.sgml:
19390           Docs updates.
19391
19392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19393           Treat a buffer-without-newsegment the same as a receiving 
19394           a newsegment not in time format, and disable syncing to the clock
19395           with a warning.
19396
19397         * gst/gstbus.c: (gst_bus_set_sync_handler):
19398           Assert if anyone tries to replace the existing sync_handler for bus, 
19399           as only the owner should be setting it.
19400
19401         * gst/gstevent.h:
19402           Have a fixed set of custom event enums with events identified by
19403           their structure name (as in 0.8), rather than a free-for-all
19404           allowing collisions between enum values from different plugins.
19405
19406         * gst/gstpad.c: (gst_pad_class_init):
19407           Docs change.
19408           
19409         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19410           Handle out-of-band downstream events from the sending thread.
19411
19412 2005-08-17  Andy Wingo  <wingo@pobox.com>
19413
19414         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19415         play-timeout==0 to mean no timeout at all. In that case, don't
19416         bother with a get_state or a warning, just return directly, even
19417         if it's ASYNC.
19418
19419         * gst/base/gstbasetransform.c: Debug changes.
19420
19421         * gst/gstutils.h:
19422         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19423         ensure bins post state change messages. A bit of a hack but I can't
19424         think of a way to avoid it.
19425
19426         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19427
19428 2005-08-16  Andy Wingo  <wingo@pobox.com>
19429
19430         * gst/base/gstadapter.h:
19431         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19432         peek() but you own the data. Not terribly efficient atm.
19433
19434 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19435
19436         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19437         (gst_element_found_tags):
19438         * gst/gstutils.h:
19439           Add two utility functions for tag handling.
19440
19441 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19442
19443         * docs/manual/advanced-dataaccess.xml:
19444         * docs/manual/basics-helloworld.xml:
19445           Fix docs to use _bin_add() before _link(), which fixes the examples
19446           with recent core versions (reported by Madhan Raj M
19447           <raj_madan@rediffmail.com>, #313199).
19448
19449 2005-08-16  Wim Taymans  <wim@fluendo.com>
19450
19451         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19452         Added subtract checks.
19453
19454         * docs/design/part-events.txt:
19455         Some more docs about newsegment
19456
19457         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19458         Fix FIXME
19459
19460         * gst/gstcaps.c: (gst_caps_to_string):
19461         Add comments, cleanups.
19462         
19463         * gst/gstelement.c: (gst_element_save_thyself):
19464         cleanups
19465         
19466         * gst/gstvalue.c: (gst_value_collect_int_range),
19467         (gst_string_unwrap), (gst_value_union_int_int_range),
19468         (gst_value_union_int_range_int_range),
19469         (gst_value_intersect_int_int_range),
19470         (gst_value_intersect_int_range_int_range),
19471         (gst_value_intersect_double_double_range),
19472         (gst_value_intersect_double_range_double_range),
19473         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19474         (gst_value_subtract_int_range_int),
19475         (gst_value_subtract_double_range_double),
19476         (gst_value_subtract_double_range_double_range),
19477         (gst_value_subtract_from_list), (gst_value_subtract_list),
19478         (gst_value_can_compare), (gst_value_compare_fraction):
19479         Cleanups, add comments, remove unneeded asserts.
19480
19481 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19482
19483         * tools/gst-launch.c: (event_loop):
19484           don't convert NULL structures to strings
19485
19486 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19487
19488         * docs/gst/gstreamer-sections.txt:
19489           made some defines private
19490         * docs/gst/tmpl/gstconfig.sgml:
19491         * docs/gst/tmpl/gstqueue.sgml:
19492         * docs/gst/tmpl/gsttaglist.sgml:
19493         * docs/gst/tmpl/gsttypes.sgml:
19494         * docs/gst/tmpl/gstutils.sgml:
19495         * docs/pwg/appendix-porting.xml:
19496         * gst/base/gstbasesink.h:
19497         * gst/base/gstbasesrc.c:
19498         * gst/base/gstbasesrc.h:
19499         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19500         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19501         * gst/gstelement.c: (gst_element_class_init):
19502         * gst/gstpad.c: (gst_pad_class_init):
19503         * gst/gstqueue.c: (gst_queue_class_init):
19504         * gst/gstxml.c: (gst_xml_class_init):
19505           documented all undocumented signal inline
19506         * libs/gst/controller/gst-controller.h:
19507           added padding
19508
19509 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19510
19511         * docs/pwg/appendix-porting.xml:
19512           Document _set_link_function -> _set_setcaps_function.
19513
19514 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19515
19516         * check/Makefile.am:
19517           add a .check target for running the check
19518         * check/gst-libs/controller.c: (GST_START_TEST):
19519           cosmetic fixups
19520         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19521           complete checks for gstbuffer; would be nice if I could get the
19522           gcov stuff to work so I can see if I actually completed gstbuffer.c
19523         * check/gstcheck.h:
19524           add ASSERT_BUFFER_REFCOUNT
19525
19526 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19527
19528         * docs/gst/gstreamer-sections.txt:
19529         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19530         * gst/gsttag.h:
19531           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19532           spew out a warning if a tag that is already registered
19533           is re-registered, unless it is re-registered with a 
19534           different type (#308438).
19535
19536 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19537
19538         * docs/pwg/appendix-porting.xml:
19539         * docs/pwg/building-state.xml:
19540           Add some paragraphs about state changes in 0.9 to the PWG
19541           and the porting guide, in particular about the new meaning
19542           of GST_STATE_PAUSED and how to write state change functions
19543           with concurrent access by multiple threads in mind.
19544
19545 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19546
19547         * docs/gst/gstreamer-docs.sgml:
19548         * docs/libs/gstreamer-libs-docs.sgml:
19549           added deprecation and since indexes
19550         * libs/gst/controller/gst-controller.c:
19551         * libs/gst/controller/gst-helper.c:
19552           added since tags
19553
19554
19555 2005-08-11  Wim Taymans  <wim@fluendo.com>
19556
19557         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19558         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19559         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19560         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19561         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19562         (gst_ghost_pad_set_target):
19563         Actually implement (re)setting the target on a ghostpad
19564         as described in the docs.
19565
19566 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19567
19568         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19569           Check whether GST_DEBUG_NO_COLOR environment variable is
19570           set and disable coloured debug output if that is the case.
19571
19572 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19573
19574         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19575         (gst_type_find_helper):
19576           The memory returned by gst_type_find_peek() needs to
19577           stay valid until the end of a typefind function, and
19578           typefind functions may keep results from different 
19579           offsets around, so we can't just unref the buffer from
19580           the previous _peek(), but have to save all buffers 
19581           returned by _peek() until typefinding is done and only
19582           free them then.
19583
19584 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19585
19586         * docs/gst/gstreamer-sections.txt:
19587         * gst/gstutils.h:
19588           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19589
19590 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19591
19592         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19593           Fix a pretty good memleak.
19594
19595 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19596
19597         * gst/gstiterator.h:
19598           Fix wrong include and 'make distcheck'.
19599
19600 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19601
19602         * gst/gstbin.c: (bin_bus_handler):
19603           Use gst_element_post_message() instead.
19604
19605 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19606
19607         * gst/base/gstadapter.h:
19608         * gst/base/gstbasesink.h:
19609         * gst/base/gstbasesrc.h:
19610         * gst/base/gstbasetransform.h:
19611         * gst/base/gstcollectpads.h:
19612         * gst/base/gstpushsrc.h:
19613         * gst/gstiterator.h:
19614           Add padding to our base elements' class and instance structs and
19615           to GstIterator (you will need to rebuild all plugins and apps!)
19616
19617 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19618
19619         * gst/gstbin.c: (bin_bus_handler):
19620           Make default message forwarding from child->bus to bin->bus
19621           threadsafe and make it not emit warnings if the parent has no bus.
19622
19623 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19624
19625         * gst/gstelement.c: (activate_pads):
19626           On paused->ready, set pad->caps to NULL, as is the documented
19627           behaviour in this state change. Fixes playback of series of
19628           media files when visualization is enabled in Totem.
19629
19630 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19631
19632         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19633           Allow NULL as filter-caps (which means "any").
19634
19635 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19636
19637         * docs/libs/gstreamer-libs-sections.txt:
19638         * libs/gst/controller/gst-controller.c:
19639         * libs/gst/controller/gst-controller.h:
19640         * libs/gst/controller/gst-helper.c:
19641           adding more entries to the docs and fix small doc-bugs
19642
19643 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19644
19645         * docs/gst/gstreamer-docs.sgml:
19646         * docs/gst/gstreamer-sections.txt:
19647         * docs/gst/gstreamer.types:
19648         * docs/gst/tmpl/gstbasesink.sgml:
19649         * docs/gst/tmpl/gstbasesrc.sgml:
19650         * docs/gst/tmpl/gstbasetransform.sgml:
19651         * docs/gst/tmpl/gstfakesrc.sgml:
19652         * gst/base/gstcollectpads.c:
19653         * gst/base/gstcollectpads.h:
19654         * libs/gst/controller/gst-controller.c:
19655         * libs/gst/controller/gst-controller.h:
19656         * libs/gst/controller/gst-helper.c:
19657         * libs/gst/controller/gst-interpolation.c:
19658         * libs/gst/controller/lib.c:
19659           added long/short desc for controller docs
19660           added collectpads base class docs
19661           added correct includes to base-class docs
19662
19663 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19664
19665         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19666         (gst_test_mono_source_set_property),
19667         (gst_test_mono_source_class_init), (GST_START_TEST),
19668         (gst_controller_suite):
19669         * docs/gst/gstreamer-docs.sgml:
19670         * docs/gst/gstreamer-sections.txt:
19671         * docs/gst/gstreamer.types:
19672         * docs/libs/gstreamer-libs-docs.sgml:
19673         * docs/libs/gstreamer-libs-sections.txt:
19674         * gst/base/gstadapter.c:
19675         * libs/gst/controller/gst-controller.c:
19676         (gst_controlled_property_new), (gst_controlled_property_free),
19677         (gst_controller_new_valist),
19678         (gst_controller_remove_properties_valist),
19679         (gst_controller_sink_values), (_gst_controller_finalize):
19680         * libs/gst/controller/gst-controller.h:
19681         * libs/gst/controller/gst-helper.c:
19682         (gst_object_control_properties), (gst_object_uncontrol_properties),
19683         (gst_object_get_controller), (gst_object_set_controller),
19684         (gst_object_sink_values), (gst_object_get_value_arrays),
19685         (gst_object_get_value_array):
19686           more tests (and fixes) for the controller
19687           more docs for the controller
19688           integrated companies docs for the adapter 
19689
19690 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19691
19692         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19693         (GST_START_TEST), (fakesrc_suite):
19694           add tests for sizetype
19695
19696 2005-08-04  Andy Wingo  <wingo@pobox.com>
19697
19698         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19699         fixes buffer_alloc proxying among other things.
19700
19701         * gst/base/gstbasetransform.c:
19702         * gst/base/gstbasetransform.h:
19703         Revert patch to gstbasetransform from 7-28 removing
19704         delay_configure.
19705
19706         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19707         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19708         Semantics changed, should return not the size of the output buffer
19709         but the byte size of a buffer with a given caps.
19710
19711         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19712         debug object.
19713         (gst_base_transform_configure_caps): Don't set out_size here: (in,
19714         out) are not the pad caps until setcaps finishes.
19715         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19716         not-in-place case as well. Deal with changing from in-place to
19717         not-in-place within calling pad_alloc_buffer. Still a bit
19718         concerned about the overhead here...
19719
19720 2005-08-03  Andy Wingo  <wingo@pobox.com>
19721
19722         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19723         fixating is an error.
19724
19725 2005-08-04  Edward Hervey  <edward@fluendo.com>
19726
19727         * gst/base/gstadapter.h: 
19728         Added gst_adapter_get_type() to the header
19729
19730 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19731
19732         * check/Makefile.am:
19733         * check/gst-libs/controller.c:
19734         * libs/gst/controller/gst-controller.c:
19735         (gst_controller_new_valist):
19736           added check test suite for the controller
19737         * gst/base/gstpushsrc.c:
19738           fixed a doc typo
19739
19740 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19741
19742         * docs/gst/Makefile.am:
19743         * docs/gst/gstreamer-docs.sgml:
19744         * docs/gst/gstreamer-sections.txt:
19745         * docs/gst/gstreamer.types:
19746         * docs/gst/tmpl/gstfakesrc.sgml:
19747         * gst/base/README:
19748         * gst/base/gstbasesink.c:
19749         * gst/base/gstbasesink.h:
19750         * gst/base/gstbasesrc.c:
19751         * gst/base/gstbasesrc.h:
19752         * gst/base/gstbasetransform.c:
19753         * gst/base/gstpushsrc.c:
19754         * gst/base/gstpushsrc.h:
19755           add short/long description docs to base classes
19756           add pushsrc to the docs
19757           remove consolidated doc fragments
19758
19759 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19760
19761         * configure.ac:
19762         * docs/libs/Makefile.am:
19763         * docs/libs/gstreamer-libs-docs.sgml:
19764         * docs/libs/gstreamer-libs-sections.txt:
19765         * docs/libs/gstreamer-libs.types:
19766         * examples/Makefile.am:
19767         * examples/controller/.cvsignore:
19768         * examples/controller/Makefile.am:
19769         * examples/controller/audio-example.c: (main):
19770         * libs/gst/Makefile.am:
19771         * libs/gst/controller/.cvsignore:
19772         * libs/gst/controller/Makefile.am:
19773         * libs/gst/controller/gst-controller.c:
19774         (on_object_controlled_property_changed), (gst_timed_value_compare),
19775         (gst_timed_value_find),
19776         (gst_controlled_property_set_interpolation_mode),
19777         (gst_controlled_property_new), (gst_controlled_property_free),
19778         (gst_controller_find_controlled_property),
19779         (gst_controller_new_valist), (gst_controller_new),
19780         (gst_controller_remove_properties_valist),
19781         (gst_controller_remove_properties), (gst_controller_set),
19782         (gst_controller_set_from_list), (gst_controller_unset),
19783         (gst_controller_get), (gst_controller_get_all),
19784         (gst_controller_sink_values), (gst_controller_get_value_arrays),
19785         (gst_controller_get_value_array),
19786         (gst_controller_set_interpolation_mode),
19787         (_gst_controller_finalize), (_gst_controller_init),
19788         (_gst_controller_class_init), (gst_controller_get_type):
19789         * libs/gst/controller/gst-controller.h:
19790         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19791         (g_object_uncontrol_properties), (g_object_get_controller),
19792         (g_object_set_controller), (g_object_sink_values),
19793         (g_object_get_value_arrays), (g_object_get_value_array):
19794         * libs/gst/controller/gst-interpolation.c:
19795         (gst_controlled_property_find_timed_value_node),
19796         (interpolate_none_get), (interpolate_trigger_get),
19797         (interpolate_trigger_get_value_array):
19798         * libs/gst/controller/lib.c: (gst_controller_init):
19799         * pkgconfig/Makefile.am:
19800         * pkgconfig/gstreamer-control-uninstalled.pc.in:
19801         * pkgconfig/gstreamer-control.pc.in:
19802         * testsuite/Makefile.am:
19803         * testsuite/controller/.cvsignore:
19804         * testsuite/controller/Makefile.am:
19805         * testsuite/controller/interpolator.c: (main):
19806           added controller code
19807           removed dparam pc files
19808
19809 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19810         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19811         (gst_collectpads_stop):
19812           Broadcast the condition when shutting down, to make sure we wake all
19813           threads up. Shut down pads on finalize, for safety.
19814
19815 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19816         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19817         (gst_base_transform_handle_buffer),
19818         (gst_base_transform_change_state):
19819           Handle PAUSED->READY->PAUSED transition after negotiation
19820           occurred already.
19821         * gst/gstmessage.c: (gst_message_init):
19822           Extra piece of debug for new messages.
19823
19824 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
19825
19826         * configure.ac:
19827         * docs/gst/tmpl/gstbasesrc.sgml:
19828         * docs/gst/tmpl/gstelement.sgml:
19829         * docs/gst/tmpl/gstevent.sgml:
19830         * docs/gst/tmpl/gstfakesrc.sgml:
19831         * docs/gst/tmpl/gstformat.sgml:
19832         * docs/gst/tmpl/gstghostpad.sgml:
19833         * docs/gst/tmpl/gstpad.sgml:
19834         * docs/gst/tmpl/gstquery.sgml:
19835         * docs/gst/tmpl/gststructure.sgml:
19836         * docs/gst/tmpl/gsttaglist.sgml:
19837         * docs/gst/tmpl/gstvalue.sgml:
19838         * docs/libs/gstreamer-libs-docs.sgml:
19839         * docs/libs/gstreamer-libs-sections.txt:
19840         * docs/libs/gstreamer-libs.types:
19841         * libs/gst/Makefile.am:
19842         * libs/gst/control/.cvsignore:
19843         * libs/gst/control/Makefile.am:
19844         * libs/gst/control/control.c:
19845         * libs/gst/control/control.h:
19846         * libs/gst/control/dparam.c:
19847         * libs/gst/control/dparam.h:
19848         * libs/gst/control/dparam_smooth.c:
19849         * libs/gst/control/dparam_smooth.h:
19850         * libs/gst/control/dparamcommon.h:
19851         * libs/gst/control/dparammanager.c:
19852         * libs/gst/control/dparammanager.h:
19853         * libs/gst/control/dplinearinterp.c:
19854         * libs/gst/control/dplinearinterp.h:
19855         * libs/gst/control/unitconvert.c:
19856         * libs/gst/control/unitconvert.h:
19857         * testsuite/Makefile.am:
19858         * testsuite/dynparams/.cvsignore:
19859         * testsuite/dynparams/Makefile.am:
19860         * testsuite/dynparams/dparamstest.c:
19861         * tools/Makefile.am:
19862         * tools/gst-inspect.c: (print_element_info), (main):
19863         * tools/gst-xmlinspect.c: (print_element_info), (main):
19864           deactivate and remove dparams (libgstcontrol)
19865
19866 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19867
19868         * gst/elements/gsttypefindelement.c:
19869         (gst_type_find_element_have_type), (gst_type_find_element_init),
19870         (stop_typefinding), (gst_type_find_element_handle_event),
19871         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19872         * gst/elements/gsttypefindelement.h:
19873           Set caps on all outgoing buffers, not just the first one.
19874
19875 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19876
19877         * gst/elements/gsttypefindelement.c:
19878         (gst_type_find_element_have_type),
19879         (gst_type_find_element_check_set_buffer_caps),
19880         (gst_type_find_element_init), (stop_typefinding),
19881         (gst_type_find_element_handle_event),
19882         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19883         * gst/elements/gsttypefindelement.h:
19884           Set caps on first outgoing buffer when we've found the type.
19885
19886 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19887
19888         * docs/gst/gstreamer-docs.sgml:
19889         * docs/gst/gstreamer-sections.txt:
19890         * docs/gst/tmpl/gstscheduler.sgml:
19891         * docs/gst/tmpl/gstschedulerfactory.sgml:
19892           Remove some old cruft from docs.
19893
19894 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
19895
19896         * gst/gstpad.h:
19897           Fix inline docs for GstPadLinkReturn.
19898           
19899         * gst/gststructure.c: (gst_structure_has_name):
19900         * gst/gststructure.h:
19901         * docs/gst/gstreamer-sections.txt:
19902           New API: gst_structure_has_name().
19903
19904 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
19905
19906         * configure.ac:
19907           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19908           and _LARGEFILE_SOURCE in config.h as required. Do not 
19909           export those flags in our .pc files any longer (#142209).
19910
19911           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19912
19913         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19914         (gst_file_sink_do_seek), (gst_file_sink_event),
19915         (gst_file_sink_get_current_offset), (gst_file_sink_render):
19916           Redo seek/tell calls with large file support in mind; add some
19917           debugging messages; add log message that tells us when large
19918           file support is unavailable or not enabled for some reason.
19919
19920         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19921           Add log message that tells us when large file support 
19922           is unavailable or not enabled for some reason.
19923
19924 2005-07-29  Wim Taymans  <wim@fluendo.com>
19925
19926         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19927         Added test for removing an element with ghostpad from a bin.
19928         Fixed test as current implementation does the right thing.
19929
19930         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19931         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19932         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19933         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19934         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19935         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19936         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19937         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19938         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19939         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19940         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19941         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19942         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19943         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19944         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19945         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19946         * gst/gstghostpad.h:
19947         Clean up ghostpads, remove properties for internal stuff.
19948         Make threadsafe.
19949         Fix refcounting.
19950         Prepare for switching targets, not all use cases work yet.
19951
19952 2005-07-29  Wim Taymans  <wim@fluendo.com>
19953
19954         * docs/design/part-gstghostpad.txt:
19955         Small update.
19956
19957         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19958         (gst_bin_remove_func):
19959         Unlinking pads while holding the bin LOCK is not a good
19960         idea.
19961
19962         * gst/gstpad.c: (gst_pad_class_init),
19963         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19964         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19965         No prob setting template after creating the pad.
19966
19967 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
19968
19969         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19970         (gst_bus_peek), (gst_bus_source_dispatch),
19971         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19972         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19973           gst_bus_poll may be called from other threads. Handle
19974           this nicely by not making poll_data disappear off the
19975           stack once gst_bus_poll returns.
19976           gst_bus_peek now increments the refcount on the returned
19977           message.
19978
19979 2005-07-29  Wim Taymans  <wim@fluendo.com>
19980
19981         * docs/design/part-gstghostpad.txt:
19982         Overview of current GhostPad datastructures and use
19983         cases for changing the target.
19984
19985 2005-07-28  Wim Taymans  <wim@fluendo.com>
19986
19987         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19988         Added checks for hierarchy consistency whan adding linked
19989         elements to bins.
19990
19991         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19992         Added check to test element scheduling without bin/pipeline.
19993
19994         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19995         First add elements to bin, then link.
19996         
19997         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19998         (gst_bin_remove_func):
19999         Unlink pads from elements added/removed from bin to maintain
20000         hierarchy consistency.
20001
20002 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20003
20004         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20005         (gst_base_transform_handle_buffer):
20006         * gst/base/gstbasetransform.h:
20007           Remove broken delay_configure (fixes renegotiation of software
20008           scaling pipelines); remove some leftover printf()s.
20009
20010 2005-07-28  Wim Taymans  <wim@fluendo.com>
20011
20012         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20013         Added some more tests for wrong hierarchy
20014
20015         * docs/design/part-overview.txt:
20016         Some updates.
20017
20018         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20019         Cleanups.
20020
20021         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20022         (gst_element_dispose):
20023         Some more cleanups.
20024
20025         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20026         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20027         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20028         (gst_pad_set_caps), (gst_pad_send_event):
20029         Check for correct hierarchy when linking pads. Moving to
20030         strict requirement for ghostpads when linking elements in
20031         different bins.
20032
20033         * gst/gstpad.h:
20034         Clean ups. Added WRONG_HIERARCHY return value.
20035
20036 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20037
20038         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20039           Better debug if no transform is possible.
20040
20041 2005-07-27  Wim Taymans  <wim@fluendo.com>
20042
20043         * docs/random/wtay/network-transp:
20044         Some old doc I had.
20045
20046 2005-07-27  Wim Taymans  <wim@fluendo.com>
20047
20048         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20049         (gst_dp_event_from_packet):
20050         Fix serialization of seek events.
20051
20052 2005-07-27  Wim Taymans  <wim@fluendo.com>
20053
20054         * check/gst-libs/gdp.c: (GST_START_TEST):
20055         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20056         Fix compilation and fix event serialization.
20057
20058 2005-07-27  Wim Taymans  <wim@fluendo.com>
20059
20060         * CHANGES-0.9:
20061         * docs/design/part-TODO.txt:
20062         * docs/design/part-events.txt:
20063         Some docs updates
20064
20065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20066         (gst_base_sink_event), (gst_base_sink_do_sync),
20067         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20068         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20069         (gst_base_src_do_seek), (gst_base_src_event_handler),
20070         (gst_base_src_loop):
20071         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20072         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20073         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20074         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20075         (gst_base_transform_set_passthrough),
20076         (gst_base_transform_is_passthrough):
20077         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20078         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20079         Event updates.
20080
20081         * gst/gstbuffer.h:
20082         Use faster casts.
20083
20084         * gst/gstelement.c: (gst_element_seek):
20085         * gst/gstelement.h:
20086         Update gst_element_seek.
20087
20088         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20089         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20090         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20091         (gst_event_new_eos), (gst_event_new_newsegment),
20092         (gst_event_parse_newsegment), (gst_event_new_tag),
20093         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20094         (gst_event_parse_qos), (gst_event_new_seek),
20095         (gst_event_parse_seek), (gst_event_new_navigation):
20096         * gst/gstevent.h:
20097         Make GstEvent use GstStructure. Add parsing code, make sure the
20098         API is sufficiently generic.
20099         Mark possible directions of events and serialization.
20100
20101         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20102         (_gst_message_copy), (gst_message_new_segment_start),
20103         (gst_message_new_segment_done), (gst_message_new_custom),
20104         (gst_message_parse_segment_start),
20105         (gst_message_parse_segment_done):
20106         Small cleanups.
20107
20108         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20109         (gst_pad_set_caps), (gst_pad_send_event):
20110         Update for new events. 
20111         Catch events sent in wrong directions.
20112
20113         * gst/gstqueue.c: (gst_queue_link_src),
20114         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20115         (gst_queue_handle_src_query):
20116         Event updates.
20117
20118         * gst/gsttag.c:
20119         * gst/gsttag.h:
20120         Remove event code from this file.
20121
20122         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20123         (gst_dp_event_from_packet):
20124         Event updates.
20125
20126 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20127
20128         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20129         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20130         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20131           Make debugging actually useful.
20132
20133 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20134
20135         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20136         (gst_pad_fixate_caps):
20137           Implement default fixation once again, so that gst_pad_fixate()
20138           actually does anything at all. This probably needs to be some
20139           sort of a last resort, and use profile-based fixation first, but
20140           since that doesn't exist yet, this is the best we have. Fixes
20141           visualization in Totem.
20142
20143 2005-07-22  Wim Taymans  <wim@fluendo.com>
20144
20145         * docs/design/part-events.txt:
20146         Small update.
20147
20148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20149         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20150         (gst_base_sink_activate_pull):
20151         Some more comments.
20152
20153         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20154         (gst_fake_src_create):
20155         Fix handoff marshall.
20156
20157         * gst/elements/gstidentity.c: (gst_identity_class_init),
20158         (gst_identity_transform_ip):
20159         We're a real inplace element.
20160
20161         * gst/gstbus.c: (gst_bus_post):
20162         Added some comments.
20163
20164         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20165         * tests/muxing/case1.c: (main):
20166         * tests/sched/dynamic-pipeline.c: (main):
20167         * tests/sched/interrupt1.c: (main):
20168         * tests/sched/interrupt2.c: (main):
20169         * tests/sched/interrupt3.c: (main):
20170         * tests/sched/runxml.c: (main):
20171         * tests/sched/sched-stress.c: (main):
20172         * tests/seeking/seeking1.c: (event_received), (main):
20173         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20174         (main):
20175         * tests/threadstate/threadstate3.c: (main):
20176         * tests/threadstate/threadstate4.c: (main):
20177         * tests/threadstate/threadstate5.c: (main):
20178         Fix the tests.
20179
20180 2005-07-21  Wim Taymans  <wim@fluendo.com>
20181
20182         * docs/design/part-seeking.txt:
20183         Some small additions.
20184
20185         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20186         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20187         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20188         * gst/base/gstbasesink.h:
20189         discont values are gint64, handle the math correctly.
20190
20191         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20192         Make the basesrc report error if the source pad is not linked.
20193
20194         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20195         (gst_queue_loop), (gst_queue_handle_src_query),
20196         (gst_queue_src_activate_push):
20197         Make queue collect data even if the srcpad is not linked.
20198         Start pushing out data as soon as it is linked.
20199
20200         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20201         * gst/gstutils.h:
20202         Added gst_flow_get_name() to ease error reporting.
20203
20204 2005-07-20  Wim Taymans  <wim@fluendo.com>
20205
20206         * gst/gstmessage.c: (gst_message_new_segment_start),
20207         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20208         (gst_message_parse_segment_done):
20209         * gst/gstmessage.h:
20210         Added a bunch of messages for advanced seeking.
20211
20212         * gst/parse/grammar.y:
20213         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20214         (gst_dpman_state_changed):
20215         Fix some new-pad -> pad-added signals
20216
20217 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20218
20219         * docs/manual/appendix-porting.xml:
20220         * docs/pwg/appendix-porting.xml:
20221           Document new-pad/state-change signal renames and the FixedList
20222           type rename.
20223
20224 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20225
20226         * docs/manual/advanced-autoplugging.xml:
20227         * docs/manual/basics-helloworld.xml:
20228         * docs/manual/basics-pads.xml:
20229         * docs/random/ds/0.9-suggested-changes:
20230         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20231         * gst/gstelement.h:
20232         * gst/gstevent.h:
20233         * gst/gstformat.h:
20234         * gst/gstquery.h:
20235         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20236         (gst_structure_parse_array), (gst_structure_parse_value):
20237         * gst/gstvalue.c: (gst_type_is_fixed),
20238         (gst_value_list_prepend_value), (gst_value_list_append_value),
20239         (gst_value_list_get_size), (gst_value_list_get_value),
20240         (gst_value_transform_array_string), (gst_value_serialize_array),
20241         (gst_value_deserialize_array), (gst_value_intersect_array),
20242         (gst_value_is_fixed), (_gst_value_initialize):
20243         * gst/gstvalue.h:
20244           GstElement::new-pad -> pad-added, GstElement::state-change ->
20245           state-changed, GstValueFixedList -> GstValueArray, add format and
20246           flags as their own arguments in gst_element_seek() (should improve
20247           "bindeability"), remove function generators since they don't work
20248           under a whole bunch of compilers (they were deprecated already
20249           anyway).
20250
20251 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20252
20253         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20254         (_gst_debug_register_funcptr):
20255         * gst/gstinfo.h:
20256           Fix illegal cast on some platforms (#309253).
20257
20258 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20259
20260         * gst/gstmessage.c: (gst_message_new_custom):
20261         * gst/gstmessage.h:
20262           Add _new_custom, make _new_application a macro to _new_custom.
20263
20264 2005-07-20  Wim Taymans  <wim@fluendo.com>
20265
20266         * gst/base/gstbasesrc.c: (gst_base_src_init),
20267         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20268         * gst/base/gstbasesrc.h:
20269         Add a gboolean to decide when to push out a discont.
20270
20271         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20272         (gst_queue_loop), (gst_queue_handle_src_query),
20273         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20274         (gst_queue_set_property), (gst_queue_get_property):
20275         Some cleanups.
20276
20277         * tests/threadstate/threadstate1.c: (main):
20278         Make a thread test compile and run... very silly..
20279
20280
20281 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20282
20283         * docs/manual/appendix-porting.xml:
20284           Mention removal of libgstgconf-0.9.la and existence of gconf
20285           elements.
20286
20287 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20288
20289         * docs/pwg/advanced-clock.xml:
20290         * docs/pwg/appendix-porting.xml:
20291         * docs/pwg/intro-preface.xml:
20292         * docs/pwg/other-base.xml:
20293         * docs/pwg/other-manager.xml:
20294         * docs/pwg/other-nton.xml:
20295         * docs/pwg/other-ntoone.xml:
20296         * docs/pwg/other-oneton.xml:
20297         * docs/pwg/pwg.xml:
20298           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20299           demuxer), remove n-to-n (was never written), fix some code examples
20300           and links and update the porting section to include all this.
20301
20302 2005-07-19  Wim Taymans  <wim@fluendo.com>
20303
20304         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20305         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20306         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20307         (gst_queue_src_activate_push), (gst_queue_change_state),
20308         (gst_queue_get_property):
20309         * gst/gstqueue.h:
20310         Propagate GstFlowReturn more intelligently upstream and output
20311         an ERROR/EOS when streaming stopped due to fatal error.
20312
20313 2005-07-19  Wim Taymans  <wim@fluendo.com>
20314
20315         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20316         Don't block forever for the state change to complete, the
20317         pipeline already did with a sensible timeout.
20318
20319 2005-07-19  Wim Taymans  <wim@fluendo.com>
20320
20321         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20322         Make sure we never call the create function is we
20323         got deactivated.
20324
20325 2005-07-19  Andy Wingo  <wingo@pobox.com>
20326
20327         * gst/parse/parse.l: Attempt to solve bug #172815.
20328
20329 2005-07-19  Wim Taymans  <wim@fluendo.com>
20330
20331         * docs/design/part-clocks.txt:
20332         * docs/design/part-events.txt:
20333         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20334         Small docs updates.
20335         Only update the seeking values when we are not
20336         busy streaming.
20337
20338 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20339
20340         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20341           Oops, ignore the result of gst_pad_push_event here.
20342
20343 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20344
20345         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20346         (gst_base_src_activate_push):
20347           Send discont event from the loop function, as pads
20348           aren't activated yet in the activate_push handler.
20349
20350         * gst/gstbin.c: (bin_bus_handler):
20351           Don't leak element name.
20352
20353 2005-07-18  Andy Wingo  <wingo@pobox.com>
20354
20355         * configure.ac: Use AS_LIBTOOL_TAGS.
20356
20357 2005-07-18  Wim Taymans  <wim@fluendo.com>
20358
20359         * docs/gst/gstreamer.types:
20360         Remove deleted types.
20361
20362 2005-07-18  Wim Taymans  <wim@fluendo.com>
20363
20364         * check/elements/gstfakesrc.c: (GST_START_TEST):
20365         * configure.ac:
20366         * gst/Makefile.am:
20367         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20368         (init_popt_callback):
20369         * gst/gst.h:
20370         * gst/gst_private.h:
20371         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20372         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20373         * gst/gstbin.h:
20374         * gst/gstbus.h:
20375         * gst/gstconfig.h.in:
20376         * gst/gstelement.c: (gst_element_class_init),
20377         (gst_element_set_base_time), (gst_element_get_base_time),
20378         (iterator_fold_with_resync), (gst_element_change_state),
20379         (gst_element_dispose), (gst_element_get_bus):
20380         * gst/gstelement.h:
20381         * gst/gstelementfactory.h:
20382         * gst/gsterror.c: (_gst_core_errors_init):
20383         * gst/gsterror.h:
20384         * gst/gstevent.h:
20385         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20386         * gst/gstindex.c:
20387         * gst/gstinfo.c: (_gst_debug_init):
20388         * gst/gstmessage.c: (_gst_message_copy):
20389         * gst/gstmessage.h:
20390         * gst/gstminiobject.h:
20391         * gst/gstobject.c:
20392         * gst/gstobject.h:
20393         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20394         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20395         * gst/gstpad.h:
20396         * gst/gstparse.h:
20397         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20398         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20399         (gst_pipeline_get_last_stream_time):
20400         * gst/gstpipeline.h:
20401         * gst/gstpluginfeature.h:
20402         * gst/gstquery.h:
20403         * gst/gstscheduler.c:
20404         * gst/gstscheduler.h:
20405         * gst/gststructure.h:
20406         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20407         (gst_task_finalize), (gst_task_func), (gst_task_create),
20408         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20409         (gst_task_stop), (gst_task_pause):
20410         * gst/gsttask.h:
20411         * gst/gsttypefind.h:
20412         * gst/gsttypes.h:
20413         * gst/registries/gstlibxmlregistry.c: (load_feature),
20414         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20415         * gst/registries/gstxmlregistry.c:
20416         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20417         * gst/schedulers/threadscheduler.c:
20418         * libs/gst/control/dparammanager.h:
20419         * tools/gst-inspect.c: (print_element_list),
20420         (print_plugin_features), (print_element_features):
20421         * tools/gst-xmlinspect.c: (print_element_list),
20422         (print_plugin_info), (main):
20423         Removed plugable schedulers.
20424         Removed Scheduler/Manager from elements.
20425         Removed gsttypes.h, rearranged includes.
20426         Removed dependency pad<->element, element<>pipeline, and
20427         various others,  fix includes.
20428         implement gst_pad_get_parent() with gst_object_get_parent()
20429         Make GstTask sefcontained.
20430         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20431         timeout.
20432         Fix endless loop in iterator_fold_with_resync.
20433
20434
20435 2005-07-18  Wim Taymans  <wim@fluendo.com>
20436
20437         * gst/Makefile.am:
20438         * gst/gstarch.h:
20439         Remove old file.
20440
20441 2005-07-18  Wim Taymans  <wim@fluendo.com>
20442
20443         * gst/Makefile.am:
20444         No more cothreads.h
20445
20446 2005-07-18  Wim Taymans  <wim@fluendo.com>
20447
20448         * gst/cothreads.c:
20449         * gst/cothreads.h:
20450         Let's remove these.
20451
20452 2005-07-18  Wim Taymans  <wim@fluendo.com>
20453
20454         * docs/design/part-dynamic.txt:
20455         * docs/design/part-events.txt:
20456         * docs/design/part-seeking.txt:
20457         Some more docs in the works.
20458
20459         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20460         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20461         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20462         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20463         (gst_base_transform_handle_buffer),
20464         (gst_base_transform_sink_activate_push),
20465         (gst_base_transform_src_activate_pull),
20466         (gst_base_transform_set_passthrough),
20467         (gst_base_transform_is_passthrough):
20468         Refcounting fixes.
20469
20470         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20471         Cleanups.
20472
20473         * gst/gstevent.c: (gst_event_finalize):
20474         Set SRC to NULL.
20475
20476         * gst/gstutils.c: (gst_element_unlink),
20477         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20478         (gst_pad_proxy_setcaps):
20479         * gst/gstutils.h:
20480         Add _get_parent_element() to get a pads parent as an element.
20481
20482 2005-07-18  Wim Taymans  <wim@fluendo.com>
20483
20484         * check/gst/gstbin.c: (GST_START_TEST):
20485         Remove bogus test.
20486
20487 2005-07-18  Wim Taymans  <wim@fluendo.com>
20488
20489         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20490         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20491         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20492         (gst_base_sink_event), (gst_base_sink_do_sync),
20493         (gst_base_sink_chain), (gst_base_sink_loop),
20494         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20495         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20496         Refcounting fixes.
20497         Fix logic for returning ASYNC when not prerolled.
20498
20499 2005-07-18  Wim Taymans  <wim@fluendo.com>
20500
20501         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20502         Fix nasty refcount bug.
20503
20504 2005-07-16 Philippe Khalaf <burger@speedy.org>
20505
20506         * gst/elements/gstfdsrc.c:
20507         * gst/elements/gstfdsrc.h:
20508         * gst/elements/gstelements.c:
20509         * gst/elements/Makefile.am:
20510         Ported fdsrc to 0.9.
20511
20512 2005-07-16  Wim Taymans  <wim@fluendo.com>
20513
20514         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20515         (gst_base_sink_do_sync):
20516         Fix compile error.
20517
20518 2005-07-16  Wim Taymans  <wim@fluendo.com>
20519
20520         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20521         (gst_base_sink_event), (gst_base_sink_get_times),
20522         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20523         * gst/base/gstbasesink.h:
20524         Store and use discont values when syncing buffers as described
20525         in design docs.
20526         
20527         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20528         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20529         (gst_base_src_activate_push):
20530         Push discont event when starting.
20531
20532         * gst/elements/gstidentity.c: (gst_identity_transform):
20533         Small cleanups.
20534
20535         * gst/gstbin.c: (gst_bin_change_state):
20536         Small cleanups in base_time  distribution.
20537
20538         * gst/gstelement.c: (gst_element_set_base_time),
20539         (gst_element_get_base_time), (gst_element_change_state):
20540         * gst/gstelement.h:
20541         Added methods for the base_time of the element.
20542         Some MT fixes.
20543
20544         * gst/gstpipeline.c: (gst_pipeline_send_event),
20545         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20546         (gst_pipeline_get_last_stream_time):
20547         * gst/gstpipeline.h:
20548         MT fixes.
20549         Handle seeking as described in design doc, remove stream_time
20550         hack.
20551         Cleanups clock and stream_time selection code. Added accessors
20552         for the stream_time.
20553         
20554
20555 2005-07-16  Andy Wingo  <wingo@pobox.com>
20556
20557         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20558         (#305291).
20559
20560 2005-07-16  Wim Taymans  <wim@fluendo.com>
20561
20562         * check/gst/gstbin.c: (GST_START_TEST):
20563         Make elements silent as the deep_notify refs the
20564         parent, which might make the test fail.
20565
20566         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20567         Don't hold the lock for too long.
20568
20569 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20570
20571         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20572           Don't unref the caps we passed to gst_caps_make_writable() after
20573           passing them. gst_caps_make_writable() will do that for us.
20574
20575 2005-07-15  Andy Wingo  <wingo@pobox.com>
20576
20577         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20578         (#157311).
20579
20580         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20581         own marshalling function for the handoff signal. Properly type the
20582         buffer as a buffer. Fixes some warnings. Should do a more general
20583         solution.
20584         (gst_identity_class_init): Plug into the right marshaller.
20585
20586 2005-07-15  Wim Taymans  <wim@fluendo.com>
20587
20588         * docs/design/part-TODO.txt:
20589         * docs/design/part-clocks.txt:
20590         * docs/design/part-element-sink.txt:
20591         * docs/design/part-events.txt:
20592         * docs/design/part-gstpipeline.txt:
20593         Updated docs, mostly DISCONT related.
20594
20595 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20596
20597         * docs/pwg/building-pads.xml:
20598           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20599
20600 2005-07-15  Andy Wingo  <wingo@pobox.com>
20601
20602         * tools/gst-typefind.c: Update, add copyright block.
20603
20604         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20605         Normalize and truncate caps before fixation.
20606
20607         * gst/gstcaps.h:
20608         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20609         discards all but the first structure from its argument.
20610
20611 2005-07-15  Wim Taymans  <wim@fluendo.com>
20612
20613         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20614         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20615         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20616         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20617         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20618         (gst_base_transform_chain), (gst_base_transform_change_state),
20619         (gst_base_transform_set_passthrough),
20620         (gst_base_transform_is_passthrough):
20621         * gst/base/gstbasetransform.h:
20622         Make passthrough work using the bufferpools.
20623         Changed API a bit, subclasses have to write into a buffer
20624         provided by the base class.
20625         More debug info in nego functions.
20626         
20627         * gst/elements/gstidentity.c: (gst_identity_init),
20628         (gst_identity_transform):
20629         Port to new base class.
20630
20631 2005-07-15  Wim Taymans  <wim@fluendo.com>
20632
20633         * gst/gstmessage.c: (gst_message_new_state_changed):
20634         * tools/gst-launch.c: (event_loop), (main):
20635         Totally dump messages in -launch with the -m option.
20636         Fix message name for State messages,
20637
20638 2005-07-14  Wim Taymans  <wim@fluendo.com>
20639
20640         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20641         Post error messages on errors.
20642
20643 2005-07-14  Wim Taymans  <wim@fluendo.com>
20644
20645         * gst/gstcaps.c: (gst_caps_do_simplify):
20646         Remove debug info.
20647
20648         * gst/gsterror.h:
20649         Define error for stream stopped.
20650
20651         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20652         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20653         Do proper return values.
20654
20655         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20656         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20657         (gst_pad_get_range):
20658         Better return values.
20659
20660         * gst/gstpad.h:
20661         Reorganise return values, add macro to check for fatal errors.
20662
20663         * gst/gstqueue.c: (gst_queue_chain):
20664         Return proper GstFlowReturn values,
20665
20666 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * docs/gst/gstreamer-sections.txt:
20669         * docs/gst/gstreamer.types:
20670         * docs/gst/tmpl/gst.sgml:
20671         * docs/gst/tmpl/gstbasesink.sgml:
20672         * docs/gst/tmpl/gstbasesrc.sgml:
20673         * docs/gst/tmpl/gstbasetransform.sgml:
20674         * docs/gst/tmpl/gstbin.sgml:
20675         * docs/gst/tmpl/gstbuffer.sgml:
20676         * docs/gst/tmpl/gstcaps.sgml:
20677         * docs/gst/tmpl/gstclock.sgml:
20678         * docs/gst/tmpl/gstcompat.sgml:
20679         * docs/gst/tmpl/gstconfig.sgml:
20680         * docs/gst/tmpl/gstelement.sgml:
20681         * docs/gst/tmpl/gstelementdetails.sgml:
20682         * docs/gst/tmpl/gstelementfactory.sgml:
20683         * docs/gst/tmpl/gstenumtypes.sgml:
20684         * docs/gst/tmpl/gsterror.sgml:
20685         * docs/gst/tmpl/gstevent.sgml:
20686         * docs/gst/tmpl/gstfakesink.sgml:
20687         * docs/gst/tmpl/gstfakesrc.sgml:
20688         * docs/gst/tmpl/gstfilesink.sgml:
20689         * docs/gst/tmpl/gstfilesrc.sgml:
20690         * docs/gst/tmpl/gstfilter.sgml:
20691         * docs/gst/tmpl/gstformat.sgml:
20692         * docs/gst/tmpl/gstghostpad.sgml:
20693         * docs/gst/tmpl/gstimplementsinterface.sgml:
20694         * docs/gst/tmpl/gstindex.sgml:
20695         * docs/gst/tmpl/gstindexfactory.sgml:
20696         * docs/gst/tmpl/gstinfo.sgml:
20697         * docs/gst/tmpl/gstiterator.sgml:
20698         * docs/gst/tmpl/gstmacros.sgml:
20699         * docs/gst/tmpl/gstmemchunk.sgml:
20700         * docs/gst/tmpl/gstminiobject.sgml:
20701         * docs/gst/tmpl/gstobject.sgml:
20702         * docs/gst/tmpl/gstpad.sgml:
20703         * docs/gst/tmpl/gstpadtemplate.sgml:
20704         * docs/gst/tmpl/gstparse.sgml:
20705         * docs/gst/tmpl/gstpipeline.sgml:
20706         * docs/gst/tmpl/gstplugin.sgml:
20707         * docs/gst/tmpl/gstpluginfeature.sgml:
20708         * docs/gst/tmpl/gstquery.sgml:
20709         * docs/gst/tmpl/gstqueue.sgml:
20710         * docs/gst/tmpl/gstregistry.sgml:
20711         * docs/gst/tmpl/gstregistrypool.sgml:
20712         * docs/gst/tmpl/gstscheduler.sgml:
20713         * docs/gst/tmpl/gstschedulerfactory.sgml:
20714         * docs/gst/tmpl/gststructure.sgml:
20715         * docs/gst/tmpl/gstsystemclock.sgml:
20716         * docs/gst/tmpl/gsttaglist.sgml:
20717         * docs/gst/tmpl/gsttagsetter.sgml:
20718         * docs/gst/tmpl/gsttrace.sgml:
20719         * docs/gst/tmpl/gsttrashstack.sgml:
20720         * docs/gst/tmpl/gsttypefind.sgml:
20721         * docs/gst/tmpl/gsttypefindfactory.sgml:
20722         * docs/gst/tmpl/gsttypes.sgml:
20723         * docs/gst/tmpl/gsturihandler.sgml:
20724         * docs/gst/tmpl/gsturitype.sgml:
20725         * docs/gst/tmpl/gstutils.sgml:
20726         * docs/gst/tmpl/gstvalue.sgml:
20727         * docs/gst/tmpl/gstversion.sgml:
20728         * docs/gst/tmpl/gstxml.sgml:
20729         * docs/libs/tmpl/gstcontrol.sgml:
20730         * docs/libs/tmpl/gstdataprotocol.sgml:
20731         * docs/libs/tmpl/gstdparam.sgml:
20732         * docs/libs/tmpl/gstdplinint.sgml:
20733         * docs/libs/tmpl/gstdpman.sgml:
20734         * docs/libs/tmpl/gstdpsmooth.sgml:
20735         * docs/libs/tmpl/gstgetbits.sgml:
20736         * docs/libs/tmpl/gstunitconvert.sgml:
20737         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20738         (gst_push_src_base_init), (gst_push_src_class_init),
20739         (gst_push_src_init), (gst_push_src_create):
20740         * gst/base/gstpushsrc.h:
20741         * gst/elements/gstelements.c:
20742         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20743         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20744         (gst_fake_sink_init), (gst_fake_sink_set_property),
20745         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20746         (gst_fake_sink_event), (gst_fake_sink_preroll),
20747         (gst_fake_sink_render), (gst_fake_sink_change_state):
20748         * gst/elements/gstfakesink.h:
20749         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20750         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20751         (gst_fake_src_base_init), (gst_fake_src_class_init),
20752         (gst_fake_src_init), (gst_fake_src_event_handler),
20753         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20754         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20755         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20756         (gst_fake_src_create_buffer), (gst_fake_src_create),
20757         (gst_fake_src_start), (gst_fake_src_stop):
20758         * gst/elements/gstfakesrc.h:
20759         * gst/elements/gstfilesink.c: (_do_init),
20760         (gst_file_sink_base_init), (gst_file_sink_class_init),
20761         (gst_file_sink_init), (gst_file_sink_dispose),
20762         (gst_file_sink_set_location), (gst_file_sink_set_property),
20763         (gst_file_sink_get_property), (gst_file_sink_open_file),
20764         (gst_file_sink_close_file), (gst_file_sink_query),
20765         (gst_file_sink_event), (gst_file_sink_render),
20766         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20767         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20768         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20769         * gst/elements/gstfilesink.h:
20770         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20771         (gst_file_src_class_init), (gst_file_src_init),
20772         (gst_file_src_finalize), (gst_file_src_set_location),
20773         (gst_file_src_set_property), (gst_file_src_get_property),
20774         (gst_file_src_map_region), (gst_file_src_map_small_region),
20775         (gst_file_src_create_mmap), (gst_file_src_create_read),
20776         (gst_file_src_create), (gst_file_src_is_seekable),
20777         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20778         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20779         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20780         (gst_file_src_uri_handler_init):
20781         * gst/elements/gstfilesrc.h:
20782           more autistic cleanliness in functions/names/defines
20783
20784 2005-07-13  Andy Wingo  <wingo@pobox.com>
20785
20786         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20787         source couldn't negotiate.
20788
20789         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20790         connections again.
20791
20792         * gst/gstutils.h:
20793         * gst/gstutils.c (gst_element_link_pads_filtered): New old
20794         function. I am channeling Hades. Put your boots on suckers!!!
20795
20796 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20797
20798         * testsuite/caps/Makefile.am:
20799         * testsuite/caps/value_compare.c:
20800         * testsuite/caps/value_intersect.c:
20801         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20802           move two testsuite apps over to the check dir
20803
20804 2005-07-12  Wim Taymans  <wim@fluendo.com>
20805
20806         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20807         Added more debug info in the negotiate process.
20808
20809         * gst/gstmessage.h:
20810         Prepare for segment playback.
20811
20812         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20813         Better debugging.
20814
20815         * gst/gstutils.c:
20816         Some more docs.
20817
20818         * tools/gst-launch.c: (main):
20819         NULL pipeline on errors.
20820
20821 2005-07-12  Andy Wingo  <wingo@pobox.com>
20822
20823         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20824         not it comes from a malloc region. Make sure our copy gets freed.
20825
20826 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20827
20828         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20829         * check/gst/gstmessage.c: (GST_START_TEST):
20830         * check/gst/gststructure.c: (GST_START_TEST),
20831         (gst_structure_suite), (main):
20832           more testing
20833         * gst/gstelement.c: (gst_element_message_full):
20834           clean up GError and debug string now that they get copied
20835         * gst/gstmessage.c: (gst_message_new_error),
20836         (gst_message_new_warning), (gst_message_parse_error),
20837         (gst_message_parse_warning):
20838           use GST_TYPE_G_ERROR for structure_new, and take copies of
20839           arguments, so that we don't mess up refcounting
20840
20841 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20842
20843         * check/Makefile.am:
20844           add per-test valgrind targets
20845         * check/gst-libs/gdp.c: (GST_START_TEST),
20846         (gst_data_protocol_suite), (main):
20847           clean up
20848
20849 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20850
20851         * check/Makefile.am:
20852           instate more valgrindable tests
20853         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20854         (GST_START_TEST), (fakesrc_suite):
20855         * check/gst/gstpad.c: (GST_START_TEST):
20856         * check/gst/gststructure.c: (GST_START_TEST):
20857           fix test leaks
20858         * docs/gst/tmpl/gstminiobject.sgml:
20859         * gst/gstpad.c: (gst_pad_finalize):
20860           fix the static mutex leak
20861
20862 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20863
20864         * check/Makefile.am:
20865           add two more tests for valgrinding
20866         * check/gst/gstvalue.c: (GST_START_TEST):
20867           test refcount of deserialized buffer, found a leak
20868         * docs/gst/gstreamer-docs.sgml:
20869         * docs/gst/gstreamer-sections.txt:
20870         * docs/gst/gstreamer.types:
20871         * docs/gst/tmpl/gstminiobject.sgml:
20872           add miniobject to docs
20873         * gst/gstminiobject.c:
20874           add some docs
20875         * gst/gstvalue.c: (gst_value_deserialize_buffer),
20876         (gst_string_unwrap):
20877           fix a hard-to-find invalid write for one of the tests
20878           fix a leak for deserialized buffers
20879
20880 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20881
20882         * docs/pwg/advanced-events.xml:
20883         * docs/pwg/advanced-request.xml:
20884         * docs/pwg/advanced-scheduling.xml:
20885         * docs/pwg/appendix-porting.xml:
20886         * docs/pwg/building-boiler.xml:
20887         * docs/pwg/intro-preface.xml:
20888         * docs/pwg/other-ntoone.xml:
20889           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20890           of example code and explanation for pad activation, loop() and
20891           getrange() functions and a bit more. Remove old comments pointing
20892           to loop-functions.
20893         * examples/pwg/Makefile.am:
20894           Add loop/getrange examples.
20895
20896 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20897
20898         * configure.ac:
20899           check for valgrind binary + some fixes
20900         * check/gst.supp:
20901           valgrind suppressions for the tests
20902         * check/Makefile.am:
20903           add a valgrind: target that valgrinds the unit tests
20904         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20905         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20906         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20907         * check/gst/gstghostpad.c:
20908           added some cleanup
20909         * check/gst/gstdata.c:
20910           removed
20911         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20912         (thread_unref), (gst_mini_object_suite), (main):
20913           added
20914         * gst/gst.c: (gst_deinit):
20915         * gst/gst.h:
20916           add a method to clean up.
20917         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20918         (gst_system_clock_obtain):
20919           allow for disposing the system clock.
20920         * tools/gst-launch.c: (main):
20921           deinit
20922
20923 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20924
20925         * docs/gst/tmpl/gstbasesrc.sgml:
20926         * docs/gst/tmpl/gstfakesrc.sgml:
20927         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20928         (gst_base_src_init), (gst_base_src_set_property),
20929         (gst_base_src_get_property), (gst_base_src_get_range),
20930         (gst_base_src_start):
20931         * gst/base/gstbasesrc.h:
20932           add num-buffers property
20933         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20934         (gst_fakesrc_init), (gst_fakesrc_set_property),
20935         (gst_fakesrc_get_property), (gst_fakesrc_create),
20936         (gst_fakesrc_start):
20937           remove num-buffers property
20938
20939 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20940
20941         * docs/gst/gstreamer-sections.txt:
20942         * docs/gst/tmpl/gstbasesink.sgml:
20943         * docs/gst/tmpl/gstbasesrc.sgml:
20944         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20945         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20946         (gst_base_sink_finalize), (gst_base_sink_set_clock),
20947         (gst_base_sink_set_property), (gst_base_sink_get_property),
20948         (gst_base_sink_handle_object), (gst_base_sink_event),
20949         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20950         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20951         (gst_base_sink_loop), (gst_base_sink_deactivate),
20952         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20953         (gst_base_sink_change_state):
20954         * gst/base/gstbasesink.h:
20955         * gst/base/gstbasesrc.h:
20956         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20957         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20958         (gst_filesink_init):
20959           more macro splitting
20960
20961 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20962
20963         * gst/gstelement.c: (gst_element_get_bus):
20964           add debug
20965         * tools/gst-launch.c: (check_intr), (event_loop):
20966           fix bus leaks
20967
20968 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20969
20970         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20971           fix a caps leak
20972
20973 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20974
20975         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20976         (gst_base_src_finalize):
20977           add finalize method and clean up properly
20978         * gst/gstpipeline.c: (gst_pipeline_dispose):
20979           add debug
20980
20981 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20982
20983         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20984         (gst_bin_suite):
20985           add more things to check
20986         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20987         * gst/gstelement.c:
20988           more debug
20989
20990 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20991
20992         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20993         (GST_START_TEST), (fakesrc_suite):
20994         * check/gst-libs/gdp.c: (GST_START_TEST):
20995         * check/gst/gst.c: (GST_START_TEST):
20996         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20997         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20998         * check/gst/gstbus.c: (GST_START_TEST):
20999         * check/gst/gstcaps.c: (GST_START_TEST):
21000         * check/gst/gstdata.c: (GST_START_TEST):
21001         * check/gst/gstelement.c: (GST_START_TEST):
21002         * check/gst/gstghostpad.c: (GST_START_TEST):
21003         * check/gst/gstiterator.c: (GST_START_TEST):
21004         * check/gst/gstmessage.c: (GST_START_TEST):
21005         * check/gst/gstobject.c: (GST_START_TEST):
21006         * check/gst/gstpad.c: (GST_START_TEST):
21007         * check/gst/gststructure.c: (GST_START_TEST):
21008         * check/gst/gstsystemclock.c: (GST_START_TEST),
21009         (gst_systemclock_suite):
21010         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21011         * check/gst/gstvalue.c: (GST_START_TEST):
21012         * check/pipelines/cleanup.c: (GST_START_TEST):
21013         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21014         * check/states/sinks.c: (GST_START_TEST):
21015         * check/gstcheck.c: (gst_check_init):
21016         * check/gstcheck.h:
21017           add debugging category
21018           use GST_START_TEST now, so we add a debug line
21019
21020 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21021
21022         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21023           add test for state change message on a bin
21024         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21025           add another test
21026         * gst/gstbin.c: (gst_bin_init):
21027         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21028         * gst/gstelement.c: (gst_element_post_message),
21029         (gst_element_set_state):
21030         * gst/gstelementfactory.c: (gst_element_factory_create):
21031         * gst/gstmessage.c: (gst_message_new):
21032         * gst/gstscheduler.c:
21033           various debugging additions and cleanups
21034
21035 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21036
21037         * check/Makefile.am:
21038         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21039         (main):
21040           adding tests for elements
21041         * gst/gstelement.c: (gst_element_dispose):
21042
21043 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21044
21045         * gst/registries/gstlibxmlregistry.c: (load_feature):
21046           plug more leaks.  A simple gst_init() now is leakfree, yay.
21047
21048 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21049
21050         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21051         (gst_xml_registry_load):
21052           plug another memleak
21053
21054 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21055
21056         * configure.ac:
21057           use GST_SET_ERROR_CFLAGS
21058         * docs/faq/cvs.xml:
21059           change to ERROR_CFLAGS
21060
21061 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21062
21063         * configure.ac:
21064           make GST_ERROR_CFLAGS overridable and re-enable Werror
21065         * docs/faq/cvs.xml:
21066           add a note about error CFLAGS
21067         * docs/gst/tmpl/gstfakesrc.sgml:
21068         * gst/elements/gstfakesrc.c:
21069           comment out some unused code
21070         * gst/gst.c: (split_and_iterate):
21071         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21072         (load_feature):
21073           plug some memleaks
21074
21075 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21076
21077         * common/Makefile.am:
21078         * common/gtk-doc.mak:
21079         * docs/gst/Makefile.am:
21080           factor out gtk-doc.mak
21081
21082 2005-07-07  Wim Taymans  <wim@fluendo.com>
21083
21084         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21085         (gst_thread_scheduler_dispose):
21086         Unlock the STREAM_LOCK completely.
21087
21088 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21089
21090         * check/Makefile.am:
21091         * check/elements/.cvsignore:
21092         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21093         (START_TEST), (fakesrc_suite), (main):
21094         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21095         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21096         (gst_fakesrc_create), (gst_fakesrc_start):
21097         * gst/elements/gstfakesrc.h:
21098           adding a first element test
21099
21100 2005-07-07  Andy Wingo  <wingo@pobox.com>
21101
21102         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21103         debug message.
21104
21105 2005-07-07  Wim Taymans  <wim@fluendo.com>
21106
21107         * gst/gstquery.c:
21108         * gst/gstquery.h:
21109         Remove old types
21110
21111 2005-07-07  Wim Taymans  <wim@fluendo.com>
21112
21113         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21114         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21115         Allow subclasses to implement their own negotiation.
21116
21117 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21118
21119         * docs/design/part-gstbin.txt:
21120         * docs/design/part-gstpipeline.txt:
21121           Update design notes to reflect the movement of
21122           responsibility for bus handling from GstPipeline to
21123           GstBin
21124
21125 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21126
21127         * configure.ac:
21128           Remove unnecessary queue2/3/4 examples.
21129
21130 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21131
21132         * examples/Makefile.am:
21133         * examples/helloworld/helloworld.c: (event_loop), (main):
21134         * examples/queue/queue.c: (event_loop), (main):
21135         * examples/queue2/queue2.c: (main):
21136           Update a couple of the examples to work again.
21137
21138         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21139         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21140          Spelling corrections and extra debug.
21141         
21142         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21143         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21144         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21145         * gst/gstbin.h:
21146         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21147         (gst_pipeline_change_state):
21148         * gst/gstpipeline.h:
21149           Move the bus handler for children to the GstBin, and create a
21150           separate bus for receiving messages from children to the one the
21151           bus sends 'upwards' on.
21152
21153 2005-07-06  Wim Taymans  <wim@fluendo.com>
21154
21155         * gst/base/README:
21156         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21157         (gst_base_sink_handle_object), (gst_base_sink_loop),
21158         (gst_base_sink_change_state):
21159         * gst/base/gstbasesink.h:
21160         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21161         (gst_base_src_init), (gst_base_src_setcaps),
21162         (gst_base_src_getcaps), (gst_base_src_loop),
21163         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21164         (gst_base_src_start), (gst_base_src_change_state):
21165         * gst/base/gstbasesrc.h:
21166         Make basesrc negotiate.
21167         Handle the case where preroll fails in basesink.
21168         Update README.
21169
21170 2005-07-06  Wim Taymans  <wim@fluendo.com>
21171
21172         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21173         Implement the fixate function.
21174         Clean up acceptcaps.
21175
21176 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21177
21178         * docs/pwg/building-filterfactory.xml:
21179         * docs/pwg/pwg.xml:
21180           Remove never-written filter-factory chapter; I'll add the various
21181           base classes to part 4 ("other element types") later on.
21182
21183 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21184
21185         * docs/pwg/advanced-negotiation.xml:
21186         * docs/pwg/building-boiler.xml:
21187         * docs/pwg/building-pads.xml:
21188         * docs/pwg/pwg.xml:
21189         * examples/pwg/Makefile.am:
21190           Add a chapter on caps negotiation, simplify the original code
21191           samples a bit w.r.t. caps negotiation, add link to the advanced
21192           section. Add a bunch of examples showing different use cases of
21193           different types of caps negotiation. Upstream renegotiation isn't
21194           fully documented yet since nobody knows how that works.
21195
21196 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21197
21198         * check/gst/gstpad.c:
21199         * check/gstcheck.c:
21200         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21201           if pad has no parent, return NULL as list of internal links
21202
21203 2005-07-05  Andy Wingo  <wingo@pobox.com>
21204
21205         * gst/elements/gstfilesrc.c:
21206         * gst/elements/gstfakesrc.c: 
21207         * gst/base/gstpushsrc.c:
21208         * gst/base/gstbasesrc.h: 
21209         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21210         
21211 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21212
21213         * Makefile.am:
21214           better report generation target (lcov needs a patch)
21215
21216 2005-07-05  Andy Wingo  <wingo@pobox.com>
21217
21218         * gst/elements, testsuite: Null if we got it...
21219
21220 2005-07-05  Wim Taymans  <wim@fluendo.com>
21221
21222         * configure.ac:
21223         * libs/gst/dataprotocol/Makefile.am:
21224         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21225         * libs/gst/dataprotocol/dataprotocol.h:
21226         * pkgconfig/Makefile.am:
21227         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21228         * pkgconfig/gstreamer-dataprotocol.pc.in:
21229         Ported dataprotol to 0.9. 
21230         Added pkgconfig files.
21231
21232 2005-07-05  Andy Wingo  <wingo@pobox.com>
21233
21234         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21235         Default to returning TRUE for the case when tranform_caps returns
21236         a fixed caps, like for identity or volume.
21237
21238         * check/gst/gstbus.c (pound_bus_with_messages): 
21239         * check/gst/gstmessage.c (START_TEST): 
21240         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21241         message API change.
21242
21243         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21244         logic weaks here: always run transform_caps, trying passthrough
21245         operation only if the original caps intersects with the transform.
21246
21247         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21248         source and sink caps.
21249
21250         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21251         Intersect the peer caps with the pad template before going into
21252         transform_caps.
21253         (gst_base_transform_transform_caps): More debugging.
21254
21255         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21256         src argument.
21257
21258 2005-07-04  Edward Hervey  <edward@fluendo.com>
21259
21260         * gst/gstutils.c:
21261         * gst/gstutils.h:
21262         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21263         in bindings.
21264
21265 2005-07-04  Andy Wingo  <wingo@pobox.com>
21266
21267         * check/gst/gstpad.c: Only set explicit caps on pads.
21268
21269 2005-07-01  Andy Wingo  <wingo@pobox.com>
21270
21271         * tests/network-clock.scm: Commentary update.
21272
21273         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21274         Didn't really make sense, not implementable with basetransform,
21275         etc.
21276         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21277         attempt at implementing the sync property, needs an unlock method.
21278
21279         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21280         New func, by default returns the same caps (the identity
21281         transformation).
21282         (gst_base_transform_getcaps): Uses transform_caps to return
21283         something sensible.
21284         (gst_base_transform_setcaps): Complicated logic to get caps on
21285         both pads, even if they are different, and to call set_caps once
21286         for every time both pads get their caps set.
21287         (gst_base_transform_handle_buffer): Give the ref to the transform
21288         function. Allows in-place modification of the buffer.
21289
21290         * gst/base/gstbasetransform.h (transform_caps): New class method.
21291         Given caps on one side, what can I do on the other.
21292         (set_caps): Take two caps, one for each side of the element.
21293
21294         * gst/gstpad.h:
21295         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21296         caps in place. This is safe because we can check the mutability of
21297         the caps, and a good idea because fixate functions are just called
21298         as a matter of last resort. (Not actually implemented.)
21299         (gst_pad_set_caps): If the caps we're setting is actually the same
21300         as the existing pad caps, just update the pointer without calling
21301         setcaps. Assert that caps is either NULL or fixed, as per the
21302         docs.
21303
21304         * gst/gstghostpad.c: Update for fixate changes.
21305
21306 2005-07-02  Andy Wingo  <wingo@pobox.com>
21307
21308         * gst/gstcaps.c:
21309         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21310         two refcounts makes it immutable, which is enough. Doc more.
21311
21312 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21313
21314         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21315           Put the mini_object into GValue as a mini_object,
21316           not a gpointer, since that's how we declared
21317           the signal.
21318
21319 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21320
21321         * examples/pwg/Makefile.am:
21322           Fix buildbot again.
21323
21324 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21325
21326         * docs/pwg/building-testapp.xml:
21327           Add extra check.
21328         * examples/pwg/Makefile.am:
21329           Fix buildbot.
21330
21331 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21332
21333         * configure.ac:
21334         * examples/Makefile.am:
21335         * examples/pwg/Makefile.am:
21336         * examples/pwg/extract.pl:
21337           Enable building the PWG examples.
21338         * docs/pwg/advanced-interfaces.xml:
21339           Add URI interface stub.
21340         * docs/pwg/advanced-types.xml:
21341         * docs/pwg/other-autoplugger.xml:
21342         * docs/pwg/appendix-porting.xml:
21343         * docs/pwg/pwg.xml:
21344           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21345         * docs/pwg/building-boiler.xml:
21346         * docs/pwg/building-chainfn.xml:
21347         * docs/pwg/building-pads.xml:
21348         * docs/pwg/building-props.xml:
21349         * docs/pwg/building-state.xml:
21350         * docs/pwg/building-testapp.xml:
21351           Update the building-*.xml parts for 0.9 changes. All examples
21352           code blocks compile in examples/pwg/*.
21353
21354 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21355
21356         * docs/manual/advanced-autoplugging.xml:
21357         * docs/manual/appendix-checklist.xml:
21358         * docs/manual/appendix-integration.xml:
21359         * docs/manual/highlevel-components.xml:
21360           Fix playbin/decodebin examples, update docs a bit, mention bus
21361           instead of signals in various places, mention kmplayer and
21362           kaffeine since they have a working GStreamer backend in the KDE
21363           section.
21364
21365 2005-06-30  Wim Taymans  <wim@fluendo.com>
21366
21367         * CHANGES-0.9:
21368         * docs/design/draft-ghostpads.txt:
21369         * docs/design/draft-push-pull.txt:
21370         * docs/design/draft-query.txt:
21371         * docs/design/part-TODO.txt:
21372         * docs/design/part-query.txt:
21373         Added CHANGES-0.9 doc, updated status of other docs.
21374         
21375         * gst/gstquery.h:
21376         Remove "hmm" macro
21377
21378 2005-06-30  Wim Taymans  <wim@fluendo.com>
21379
21380         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21381         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21382         (gst_base_sink_change_state):
21383         * gst/base/gstbasesink.h:
21384         Some tweaks, only EOS and a buffer complete a preroll.
21385
21386 2005-06-30  Andy Wingo  <wingo@pobox.com>
21387
21388         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21389         activate_push down to the internal pad as well.
21390
21391 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21392
21393         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21394
21395         * gst/gsttaginterface.c:
21396           Some documentation fixes (#307394 and #307397).
21397
21398 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21399
21400         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21401
21402         * gst/gstvalue.c: (gst_value_intersect_list):
21403           Fix memleak (#309125).
21404
21405 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21406
21407         * docs/manual/advanced-dataaccess.xml:
21408           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21409         * docs/manual/basics-pads.xml:
21410           Add reference for filtered caps to above chapter.
21411
21412 2005-06-30  Wim Taymans  <wim@fluendo.com>
21413
21414         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21415         (gst_bin_change_state):
21416         Probes are gone.
21417         Lame attempt at making the state change function a bit
21418         more readable.
21419
21420 2005-06-30  Wim Taymans  <wim@fluendo.com>
21421
21422         * docs/design/part-clocks.txt:
21423         * docs/design/part-element-sink.txt:
21424         * docs/design/part-events.txt:
21425         * docs/design/part-preroll.txt:
21426         * docs/design/part-states.txt:
21427         Some more tweeks and additions to the docs.
21428
21429 2005-06-30  Wim Taymans  <wim@fluendo.com>
21430
21431         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21432         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21433         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21434         (gst_pad_check_pull_range), (gst_pad_get_range),
21435         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21436         * gst/gstpad.h:
21437         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21438         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21439         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21440         (gst_pad_remove_buffer_probe):
21441         Removed atomic operations, use existing LOCK.
21442         Move exception handling out of main code path.
21443
21444 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21445
21446         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21447         (silly_return_true_function), (gst_pad_class_init),
21448         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21449         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21450         (gst_pad_send_event):
21451           Fix accumulator, add default value by using _emitv() instead
21452           of _emit() for signal emission.
21453
21454 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21455
21456         * docs/manual/advanced-dataaccess.xml:
21457         * examples/manual/Makefile.am:
21458           Add probe example.
21459         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21460           Make work (??).
21461
21462 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21463
21464         * gst/elements/gstfilesink.c: (gst_filesink_render):
21465           Simplify code so that we don't have to handle short
21466           writes and return GST_FLOW_ERROR if an error occured.
21467
21468 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21469
21470         * docs/gst/gstreamer-docs.sgml:
21471           Remove probes more.
21472
21473 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21474
21475         * docs/gst/gstreamer-sections.txt:
21476         * docs/gst/tmpl/gstpad.sgml:
21477         * docs/gst/tmpl/gstprobe.sgml:
21478         * gst/Makefile.am:
21479         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21480         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21481         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21482         (gst_pad_push_event), (gst_pad_send_event):
21483         * gst/gstpad.h:
21484         * gst/gstutils.c: (gst_pad_add_data_probe),
21485         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21486         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21487         (gst_pad_remove_buffer_probe):
21488         * gst/gstutils.h:
21489           Remove old probes, add new g-signal-based probes and some utility
21490           functions.
21491
21492 2005-06-29  Edward Hervey  <edward@fluendo.com>
21493
21494         * gst/gstelementfactory.c:
21495         * gst/gstutils.h:
21496         * gst/gstutils.c:
21497         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21498         the definition to the header file.
21499
21500 2005-06-29  Andy Wingo  <wingo@pobox.com>
21501
21502         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21503         plugins from the source directory.
21504
21505 2005-06-29  Wim Taymans  <wim@fluendo.com>
21506
21507         * docs/gst/tmpl/gstbuffer.sgml:
21508         * docs/gst/tmpl/gstclock.sgml:
21509         Some fixings for blantently wrong text.
21510
21511 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21512
21513         * check/Makefile.am:
21514         * gst/gst.c: (add_path_func), (init_pre):
21515         * gst/gstregistry.c: (gst_registry_add_path):
21516           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21517           only scan the GST_PLUGIN_PATH locations, and not add
21518           system locations
21519
21520 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21521
21522         * docs/gst/gstreamer-sections.txt:
21523         * docs/gst/tmpl/gstbasesrc.sgml:
21524         * gst/gstelement.c:
21525         * gst/gstelement.h:
21526         * gst/gstevent.c:
21527         * gst/gstutils.c:
21528           doc fixes
21529
21530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21531
21532         * docs/manual/advanced-autoplugging.xml:
21533           Fix autoplugging example.
21534
21535 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21536
21537         * docs/manual/advanced-autoplugging.xml:
21538         * docs/manual/mime-world.fig:
21539           Try to get autoplugging working, fix type detection. Fix text
21540           in hello-world image.
21541
21542 2005-06-29  Wim Taymans  <wim@fluendo.com>
21543
21544         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21545         (gst_base_sink_change_state):
21546         Small debug line.
21547
21548         * gst/gstclock.h:
21549         map SIGNAL and BROADCAST to the right function.
21550
21551         * gst/gstobject.h:
21552         Remove redundant braces.
21553
21554         * gst/gstpad.c: (gst_pad_set_caps):
21555         Don't call setcaps function when reseting caps to NULL.
21556
21557         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21558         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21559         (gst_system_clock_id_unschedule):
21560         Use BROADCAST as this is what we do.
21561
21562 2005-06-29  Wim Taymans  <wim@fluendo.com>
21563
21564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21565         We are actually prerolling before commiting the state
21566         change. 
21567
21568 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21569
21570         * docs/manual/advanced-clocks.xml:
21571         * docs/manual/advanced-interfaces.xml:
21572         * docs/manual/advanced-metadata.xml:
21573         * docs/manual/advanced-position.xml:
21574         * docs/manual/advanced-schedulers.xml:
21575         * docs/manual/advanced-threads.xml:
21576         * docs/manual/appendix-porting.xml:
21577         * docs/manual/basics-bins.xml:
21578         * docs/manual/basics-bus.xml:
21579         * docs/manual/basics-elements.xml:
21580         * docs/manual/basics-helloworld.xml:
21581         * docs/manual/basics-pads.xml:
21582         * docs/manual/highlevel-components.xml:
21583         * docs/manual/manual.xml:
21584         * docs/manual/thread.fig:
21585           Update (until threads/scheduling) Application Development Manual;
21586           remove GstThread, add GstBus, add simple porting checklist, add
21587           documentation for tag writing, clocks, make all examples until this
21588           part compile and run.
21589         * examples/manual/Makefile.am:
21590           Update from changes to Application Development Manual; add bus
21591           example, remove thread example.
21592
21593 2005-06-28  Wim Taymans  <wim@fluendo.com>
21594
21595         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21596         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21597         (gst_bus_source_dispatch):
21598         Add debugging messages.
21599         Make internal methods static.
21600         Handle the case where the bus is flushed in the handler.
21601         
21602         * gst/gstelement.c: (gst_element_get_bus):
21603         Fix refcount in _get_bus();
21604
21605         * gst/gstpipeline.c: (gst_pipeline_change_state),
21606         (gst_pipeline_get_clock_func):
21607         Clock refcounting fixes.
21608         Handle the case where preroll timed out more gracefully.
21609         
21610         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21611         Clean up the internal thread in dispose. This is needed
21612         for subclasses that actually get disposed.
21613         
21614         * gst/schedulers/threadscheduler.c:
21615         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21616         (gst_thread_scheduler_dispose):
21617         Free thread pool in dispose.
21618
21619 2005-06-28  Andy Wingo  <wingo@pobox.com>
21620
21621         * tests/network-clock-utils.scm (debug, print-event): New utils.
21622
21623         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21624         (*packet-loss*): Unified loss probability.
21625         (network-time): Report out-of-band events.
21626
21627         * tests/plot-data: Add support for out-of-band events. Hack it
21628         into this script instead of passing it down the pipe; should fix
21629         this later.
21630
21631 2005-06-28  Wim Taymans  <wim@fluendo.com>
21632
21633         * docs/gst/gstreamer.types:
21634         * docs/gst/tmpl/gstbasesrc.sgml:
21635         * docs/gst/tmpl/gstpad.sgml:
21636         Docs fixes.
21637
21638 2005-06-28  Wim Taymans  <wim@fluendo.com>
21639
21640         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21641         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21642         (gst_proxy_pad_do_fixatecaps):
21643         Correctly proxy the check_pull_range function.
21644
21645 2005-06-28  Andy Wingo  <wingo@pobox.com>
21646
21647         * tests/network-clock.scm: Removed need for slib.
21648         
21649 2005-06-28  Wim Taymans  <wim@fluendo.com>
21650
21651         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21652         (gst_basesink_preroll_queue_flush):
21653         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21654         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21655         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21656         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21657         (gst_proxy_pad_set_property):
21658         * gst/gstpad.c:
21659         * gst/gstpad.h:
21660         * gst/gstqueue.c: (gst_queue_init):
21661         The deprecated pad loop function is removed now.
21662
21663 2005-06-28  Andy Wingo  <wingo@pobox.com>
21664
21665         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21666         New parameters, simulate network packet loss.
21667
21668         * tests/network-clock-utils.scm: Initialize the RNG.
21669
21670 2005-06-28  Wim Taymans  <wim@fluendo.com>
21671
21672         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21673         (gst_basesink_event), (gst_basesink_deactivate):
21674         Flushing the preroll queue always needs to unlock the waiters.
21675
21676 2005-06-28  Edward Hervey  <edward@fluendo.com>
21677
21678         * gst/gstpipeline.c: (gst_pipeline_send_event): 
21679         Wheen a seek was successful on a pipeline, set the stream_time to the
21680         seek offset in order to have a synchronized stream_time.
21681
21682 2005-06-28  Wim Taymans  <wim@fluendo.com>
21683
21684         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21685         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21686         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21687         (gst_proxy_pad_do_fixatecaps):
21688         Call wrapper function instead of just calling the function
21689         pointers. This takes care of any locking and whatmore.
21690
21691 2005-06-28  Wim Taymans  <wim@fluendo.com>
21692
21693         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21694         (gst_pad_pull_range):
21695         * gst/gstpad.h:
21696         CONNECTED -> LINKED.
21697
21698 2005-06-28  Andy Wingo  <wingo@pobox.com>
21699
21700         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21701         source-munging commit!!!
21702
21703         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
21704         (gst_object_sink): Take gpointer arguments, not GstObject --
21705         avoids casts. Like GLib.
21706
21707         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21708         activate.
21709
21710 2005-06-27  Andy Wingo  <wingo@pobox.com>
21711
21712         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21713         remaining buffer.
21714
21715         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21716         returns a sorted copy of the trace list.
21717         (gst_alloc_trace_print_live): New API, only prints traces with
21718         live objects. Sort the list.
21719         (gst_alloc_trace_print_all): Sort the list.
21720         (gst_alloc_trace_print): Align columns.
21721
21722         * gst/elements/gstttypefindelement.c:
21723         * gst/elements/gsttee.c:
21724         * gst/base/gstbasesrc.c:
21725         * gst/base/gstbasesink.c:
21726         * gst/base/gstbasetransform.c:
21727         * gst/gstqueue.c: Adapt for pad activation changes.
21728
21729         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21730         sched.
21731         (gst_pipeline_dispose): Drop ref on sched.
21732
21733         * gst/gstpad.c (gst_pad_init): Set the default activate func.
21734         (gst_pad_activate_default): Push mode by default.
21735         (pre_activate_switch, post_activate_switch): New stubs, things to
21736         do before and after switching activation modes on pads.
21737         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21738         the pad's activate function to choose which mode to activate.
21739         Shortcut on deactivation and call the right function directly.
21740         (gst_pad_activate_pull): New API, (de)activates a pad in pull
21741         mode.
21742         (gst_pad_activate_push): New API, same for push mode.
21743         (gst_pad_set_activate_function) 
21744         (gst_pad_set_activatepull_function) 
21745         (gst_pad_set_activatepush_function): Setters for new API.
21746
21747         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21748         Trace all miniobjects.
21749         (gst_mini_object_make_writable): Unref the arg if we copy, like
21750         gst_caps_make_writable.
21751
21752         * gst/gstmessage.c (_gst_message_initialize): No trace init.
21753
21754         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
21755         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21756         Adapt for new pad API.
21757
21758         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21759
21760         * gst/gstelement.h:
21761         * gst/gstelement.c (gst_element_iterate_src_pads) 
21762         (gst_element_iterate_sink_pads): New API functions.
21763         
21764         * gst/gstelement.c (iterator_fold_with_resync): New utility,
21765         should fold into gstiterator.c in some form.
21766         (gst_element_pads_activate): Simplified via use of fold and
21767         delegation of decisions to gstpad->activate.
21768
21769         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21770         help in debugging.
21771
21772         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21773         class once in init, like gstmessage. Didn't run into this issue
21774         but it seems correct. Don't initialize a trace, gstminiobject does
21775         that.
21776
21777         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21778         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21779         to the bus.
21780         (assert_live_count): New util function, uses alloc traces to check
21781         cleanup.
21782
21783         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21784         To be modified when unlink drops the internal pad.
21785
21786 2005-06-27  Wim Taymans  <wim@fluendo.com>
21787
21788         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21789         (gst_bin_change_state):
21790         Cleanup the get_state() function a little, make sure it
21791         iterates the same set of elements.
21792         Added stub iterate_state_order().
21793
21794 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21795
21796         * docs/gst/gstreamer-docs.sgml:
21797         * docs/gst/gstreamer-sections.txt:
21798         * docs/gst/gstreamer.types:
21799         * docs/gst/tmpl/gstbasesink.sgml:
21800         * docs/gst/tmpl/gstbasesrc.sgml:
21801         * docs/gst/tmpl/gstbasetransform.sgml:
21802         * docs/gst/tmpl/gstelement.sgml:
21803         * docs/gst/tmpl/gstiterator.sgml:
21804         * gst/base/gstbasesrc.c:
21805         * gst/base/gstbasesrc.h:
21806         * gst/base/gstbasetransform.h:
21807         * gst/gstelement.c:
21808         * gst/gstiterator.h:
21809           adding basetransform and iterator docs
21810
21811 2005-06-27  Andy Wingo  <wingo@pobox.com>
21812
21813         * docs/design/part-activation.txt: Notes on how activation should
21814         work -- not quite implemented yet.
21815
21816 2005-06-25  Wim Taymans  <wim@fluendo.com>
21817
21818         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21819         At least get the chain function correct, needs more
21820         fixing.
21821
21822 2005-06-25  Wim Taymans  <wim@fluendo.com>
21823
21824         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21825         (gst_basesink_handle_object), (gst_basesink_event),
21826         (gst_basesink_do_sync), (gst_basesink_handle_event),
21827         (gst_basesink_change_state):
21828         * gst/gsttask.h:
21829         Right, two problems here: ghostpads don't take locks and
21830         glib _rec_mutex_lock_full() with depth==0 still locks.
21831         Catch illegal locking and g_warn them.
21832
21833 2005-06-25  Wim Taymans  <wim@fluendo.com>
21834
21835         * check/states/sinks.c: (START_TEST), (gst_object_suite):
21836         Have to check for completion now...
21837
21838 2005-06-25  Wim Taymans  <wim@fluendo.com>
21839
21840         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21841         (gst_basesink_handle_object), (gst_basesink_event),
21842         (gst_basesink_do_sync), (gst_basesink_handle_event),
21843         (gst_basesink_change_state):
21844         * gst/gstpad.h:
21845         Unlock STREAM_LOCK whatever the recursion was.
21846
21847 2005-06-25  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/base/gstbasesink.c: (gst_basesink_set_property),
21850         (gst_basesink_preroll_queue_empty),
21851         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21852         (gst_basesink_event), (gst_basesink_do_sync),
21853         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21854         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21855         (gst_basesink_change_state):
21856         Reworked the base sink, handle event and buffer serialisation
21857         correctly and removed possible deadlock.
21858         Handle EOS correctly.
21859
21860 2005-06-25  Wim Taymans  <wim@fluendo.com>
21861
21862         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21863         (gst_pipeline_change_state):
21864         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21865         Allow elements to post EOS in the state change function.
21866         Fix up -launch, make it exit the poll loop when the
21867         pipeline actually changed state.
21868         Fix up warning parsing in -launch.
21869
21870 2005-06-25  Wim Taymans  <wim@fluendo.com>
21871
21872         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21873         (gst_tee_sink_activate):
21874         Core takes STREAM_LOCK for us now.
21875
21876 2005-06-25  Wim Taymans  <wim@fluendo.com>
21877
21878         * gst/gstelement.c: (gst_element_get_state_func),
21879         (gst_element_set_state):
21880         * gst/gstelement.h:
21881         * gst/gstmessage.c: (gst_message_parse_error),
21882         (gst_message_parse_warning):
21883         Keep track of current target state while performing a state
21884         change so that subclasses can do something interesting.
21885         Fix parsing of warning/error messages when GError is NULL.
21886
21887 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21888
21889         * docs/gst/Makefile.am:
21890         * docs/gst/gstreamer-docs.sgml:
21891         * docs/gst/gstreamer-sections.txt:
21892         * docs/gst/gstreamer.types:
21893         * docs/gst/tmpl/gstbasesink.sgml:
21894         * docs/gst/tmpl/gstbasesrc.sgml:
21895         * docs/gst/tmpl/gstbin.sgml:
21896         * docs/gst/tmpl/gstcompat.sgml:
21897         * docs/gst/tmpl/gstfakesink.sgml:
21898         * docs/gst/tmpl/gstfakesrc.sgml:
21899         * docs/gst/tmpl/gstfilesink.sgml:
21900         * docs/gst/tmpl/gstfilesrc.sgml:
21901         * docs/gst/tmpl/gstindex.sgml:
21902         * docs/manual/appendix-quotes.xml:
21903         * gst/base/gstbasesrc.h:
21904         * gst/elements/gstfakesrc.h:
21905         * gst/gstmessage.h:
21906           start pulling in base classes and elements in our docs
21907
21908 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
21909
21910         * docs/gst/Makefile.am:
21911         * docs/libs/Makefile.am:
21912           fixed make distcheck with gtk-doc 1.3
21913
21914 2005-06-23  Wim Taymans  <wim@fluendo.com>
21915
21916         * gst/gstelement.c: (gst_element_get_state_func),
21917         (gst_element_set_state), (gst_element_change_state):
21918         When the state did not change, also report NO_PREROLL
21919         when it matters.
21920
21921 2005-06-23  Wim Taymans  <wim@fluendo.com>
21922
21923         * gst/gstpad.c: (gst_pad_event_default):
21924         * gst/gstqueue.c: (gst_queue_loop):
21925         No unsafe task pausing please.
21926
21927 2005-06-23  Wim Taymans  <wim@fluendo.com>
21928
21929         * gst/schedulers/threadscheduler.c:
21930         (gst_thread_scheduler_task_start),
21931         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21932         Ref the task before pushing it on the threadpool. This
21933         makes sure that we have a ref when the threadfunction is
21934         actually called.
21935
21936 2005-06-23  Andy Wingo  <wingo@pobox.com>
21937
21938         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21939         offset is greater than the file's size.
21940
21941         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
21942         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21943         * gst/gstobject.c (gst_object_class_init): Make the class lock
21944         recursive. Wim won't let me drop deep_notify. Decodebin works
21945         again, whoopdy doo.
21946
21947         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21948         internal pad, and hacks accordingly. Doesn't do it on the target
21949         pad because we change its caps. Probably catches all cases of
21950         interest tho.
21951         (gst_ghost_pad_set_property): Connect to notify::caps as
21952         appropritate.
21953
21954         * tests/network-clock.scm (plot-simulation): Pipe data to the
21955         elite python skript.
21956
21957         * tests/network-clock-utils.scm (define-parameter): New macro,
21958         defines a parameter that can be set via the command line.
21959         (set-parameter!, parse-parameter-arguments): Command line args
21960         parser.
21961
21962         * tests/plot-data: Simple matplotlib-based plotter, takes input on
21963         stdin.
21964
21965 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
21966
21967         * gst/elements/gsttypefindelement.c:
21968         (gst_type_find_element_handle_event):
21969           Don't restart typefinding on a discont.
21970         * gst/gstelement.c: (gst_element_set_state):
21971           Debug spelling fix.
21972         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21973           Allow changing mode of an active pad.
21974           Debug output fixes.
21975         * gst/registries/gstlibxmlregistry.c: (load_feature):
21976           Don't cast a static pad template to a normal pad template.
21977
21978 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21979
21980         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21981         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21982           remove gst_strtoll completely, since it didn't actually do
21983           anything more than what g_ascii_strtoull already does.
21984           check for range errors when deserializing
21985           do a cast for the unsigned cases; but further fixing needs
21986           a decision on what the interpretation of "(int)" and
21987           deserialization should be for values that fall outside the
21988           type's boundaries (ie, refuse, or interpret as casting)
21989
21990 2005-06-23  Wim Taymans  <wim@fluendo.com>
21991
21992         * check/Makefile.am:
21993         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21994         * docs/design/part-live-source.txt:
21995         * docs/design/part-states.txt:
21996         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21997         (gst_basesrc_set_live), (gst_basesrc_is_live),
21998         (gst_basesrc_get_range), (gst_basesrc_activate),
21999         (gst_basesrc_change_state):
22000         * gst/base/gstbasesrc.h:
22001         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22002         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22003         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22004         * gst/gstelement.c: (gst_element_get_state_func),
22005         (gst_element_set_state):
22006         * gst/gstelement.h:
22007         * gst/gsttypes.h:
22008         * tools/gst-launch.c: (event_loop), (main):
22009         Added support for live sources and other elements that
22010         cannot do preroll.
22011         Updated design docs, added live-source design doc.
22012         Implemented live source functionality in basesrc
22013         Fix error condition in _bin_get_state()
22014         Implement live source handling in -launch.
22015         Added check for live sources.
22016         Fixed case in GstBin where elements were changed state
22017         multiple times.
22018
22019
22020 2005-06-23  Andy Wingo  <wingo@pobox.com>
22021
22022         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22023         borken refcounting.
22024
22025         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22026         gst_caps_replace takes care of this for us.
22027
22028         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22029         gst_pad_set_caps on the target, not just its setcaps() function.
22030
22031         * tests/network-clock.scm: 
22032         * tests/network-clock-utils.scm: A network clock simulator.
22033         Something of an algorithmic testbed before doing something in C.
22034
22035 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22036
22037         * check/Makefile.am:
22038         * check/gst/capslist.h:
22039           copy over from 0.8, and add two with bitmasks specified with
22040           (int) 0xFF...
22041         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22042           add test to parse everything from capslist.h
22043         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22044         (main):
22045           add test for structure deserialization
22046         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22047           add tests for deserialization of strings to int types
22048         * gst/gststructure.c: (gst_structure_nth_field_name):
22049         * gst/gststructure.h:
22050           add a way to get the name of a field referenced by index
22051         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22052           instead of checking if the resulting long long lies between
22053           min and max, we check if the long long would fit into
22054           a number of bytes for the final type.
22055           This fixes cases where a string represents 2^32 - 1, which
22056           when cast to int would be the (valid) -1, but is bigger than
22057           G_MAXINT
22058
22059 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22060
22061         * gst/parse/grammar.y:
22062           add a log line for type deserialization
22063
22064 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22065
22066         * check/gst/gstvalue.c: (START_TEST):
22067         * gst/gstvalue.c: (gst_value_deserialize):
22068           return long long, not int, so gint64 deserialization actually
22069           works.  Is there any flag that makes the compiler check this ?
22070           Fixes #308559
22071
22072 2005-06-22  Wim Taymans  <wim@fluendo.com>
22073
22074         * gst/gstbuffer.h:
22075         Added convenience macros for setting buffers in GValue.
22076
22077 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22078
22079         * check/gst/.cvsignore:
22080         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22081           add a test deserializing int64, and comment part out because
22082           it fails, yay !
22083
22084 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22085
22086         * check/Makefile.am:
22087         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22088         * testsuite/Makefile.am:
22089         * testsuite/caps/Makefile.am:
22090         * testsuite/caps/value_serialize.c:
22091         * testsuite/test_gst_init.c:
22092           move a value_serialize test over
22093
22094 2005-06-20  Wim Taymans  <wim@fluendo.com>
22095
22096         * gst/gstpad.c:
22097         Small doc updates.
22098         
22099         * gst/gstvalue.c: (gst_value_compare_buffer),
22100         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22101         (gst_value_compare_flags), (gst_value_serialize_flags),
22102         (gst_value_deserialize_flags), (_gst_value_initialize):
22103         Fix serialisation of buffers, they are not boxed types anymore
22104
22105 2005-06-20  Wim Taymans  <wim@fluendo.com>
22106
22107         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22108         Testcase to show error in buffer-on-caps serialisation.
22109
22110 2005-06-20  Andy Wingo  <wingo@pobox.com>
22111
22112         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22113         will be adding to later.
22114
22115         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22116         if its socks fill with rocks.
22117         (gst_system_clock_obtain): Set the name on object construction.
22118         Avoid double-checked locking.
22119
22120 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22121
22122         * gst/gsturi.c: (gst_element_make_from_uri):
22123           Fix potential endless loop.
22124
22125 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22126
22127         * check/Makefile.am:
22128           add gsttag
22129         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22130         (main):
22131           move over from testsuite dir and clean up
22132         * configure.ac:
22133         * gst/gsttag.c:
22134         * testsuite/Makefile.am:
22135         * testsuite/tags/.cvsignore:
22136         * testsuite/tags/Makefile.am:
22137         * testsuite/tags/merge.c:
22138           remove testsuite/tags
22139
22140 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22141
22142         * docs/gst/gstreamer-sections.txt:
22143         * docs/gst/tmpl/gstenumtypes.sgml:
22144         * win32/gstenumtypes.c:
22145           clean up documentation build a little
22146
22147 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22148
22149         * check/gstcheck.h:
22150           add macros for checking refcounts on objects and caps
22151         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22152           add some more unit tests
22153         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22154         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22155           fix leaked refcounts (I hope :)) so unittest works
22156         * gst/gstpad.h:
22157           whitespace removal
22158
22159 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22160
22161         * configure.ac: back to HEAD
22162
22163 === release 0.9.1 ===
22164
22165 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22166
22167         * NEWS:
22168         * RELEASE:
22169           updated
22170
22171 2005-06-17  Andy Wingo  <wingo@pobox.com>
22172
22173         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22174         assert; it's always possible that the pad gets deactivated in
22175         between the checks in gstpad.c and the implementation. Rely on
22176         finish_preroll() to return a FLUSHING or similar instead of on the
22177         assert.
22178         
22179         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22180         clock and post an EOS message if we come out of finish_preroll in
22181         the playing state.
22182
22183 2005-06-16  David Schleef  <ds@schleef.org>
22184
22185         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22186         (gst_capsfilter_set_property): Allow NULL as possible value
22187         for filter_caps property, indicating GST_CAPS_ANY.
22188
22189 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22190
22191         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22192           fix debug output
22193         * gst/schedulers/Makefile.am:
22194           use libgst prefix
22195         * gstreamer.spec.in:
22196           fix spec for it
22197
22198 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22199
22200         * gstreamer.spec.in:
22201           clean up
22202
22203 2005-06-08  Andy Wingo  <wingo@pobox.com>
22204
22205         * gst/gstutils.c: RPAD fixes all around.
22206         (gst_element_link_pads): Refcounting fixes.
22207
22208         * tools/gst-inspect.c:
22209         * tools/gst-xmlinspect.c:
22210         * parse/grammar.y:
22211         * gst/base/gsttypefindhelper.c:
22212         * gst/base/gstbasesink.c:
22213         * gst/gstqueue.c: RPAD fixes.
22214
22215         * gst/gstghostpad.h:
22216         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22217         pads. The tricky thing is they provide both source and sink
22218         interfaces, since they proxy the internal pad for the external
22219         pad, and vice versa. Implement with lower-level ProxyPad objects,
22220         with the interior proxy pad as a child of the exterior ghost pad.
22221         Should write a doc on this.
22222         
22223         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22224         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22225         gst_object API.
22226         
22227         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22228         pads are real pads. No ghost pads in this file. Not documenting
22229         the myriad s/RPAD/PAD/ and REALIZE fixes.
22230         (gst_pad_class_init): Add properties for "direction" and
22231         "template". Both are construct-only, so they can't change during
22232         the life of the pad. Fixes properly deriving from GstPad.
22233         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22234         derived objects, just set properties when creating the objects via
22235         g_object_new.
22236         (gst_pad_get_parent): Implement as a function, return NULL if the
22237         parent is not an element.
22238         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22239         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22240         
22241         * gst/gstobject.c (gst_object_class_init): Make name a construct
22242         property. Don't set it in the object init.
22243
22244         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22245         with UNKNOWN direction.
22246         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22247         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22248         (gst_element_remove_pad): Remove ghost-pad special cases.
22249         (gst_element_pads_activate): Remove rpad cruft.
22250
22251         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22252         catch the pad's-parent-not-an-element case.
22253
22254         * gst/gst.h: Include gstghostpad.h.
22255
22256         * gst/gst.c (init_post): No more real, ghost pads.
22257
22258         * gst/Makefile.am: Add gstghostpad.[ch].
22259
22260         * check/Makefile.am:
22261         * check/gst/gstbin.c:
22262         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22263         into a bin creates ghost pads, and that the refcounts are right.
22264         Partly moved from gstbin.c.
22265
22266 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22267
22268         * check/gst-libs/.cvsignore:
22269         * check/gst/.cvsignore:
22270         * check/pipelines/.cvsignore:
22271           ignore more
22272         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22273         (START_TEST), (cleanup_suite), (main):
22274           add some tests related to cleanup after running pipelines
22275
22276 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22277
22278         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22279           add a testsuite for GstBuffer
22280
22281 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22282
22283         * gst/gstminiobject.h:
22284           add defines for accessing the refcount
22285
22286 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22287
22288         * Makefile.am: added support for html unit test coverage reports
22289
22290 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22291
22292         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22293           Free existing caps if the capsfilter changes. Add a FIXME about
22294           setting those caps on the pads.
22295
22296         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22297           Before adding a ghost pad to a parent bin, check that there isn't
22298           already one for the element on the bin. Prevents infinite recursion
22299           when using decodebin in parse pipelines. Andy says he'll rewrite the
22300           way this works anyway, so ignore the hack.
22301
22302 2005-06-02  Andy Wingo  <wingo@pobox.com>
22303
22304         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22305         file size, pass it on to the type find helper.
22306
22307         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22308         segment_start and segment_end properly according to the seek
22309         method. Segment_end is still a bit flaky because offset can be
22310         negative for CUR and END cases, but it takes -1 as an "unset"
22311         value.
22312
22313 2005-06-02  Wim Taymans  <wim@fluendo.com>
22314
22315         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22316         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22317         (gst_basesink_activate):
22318         * gst/base/gstbasesink.h:
22319         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22320         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22321         (gst_pad_query), (gst_pad_start_task):
22322         * gst/gstpad.h:
22323         * gst/gstqueue.c: (gst_queue_bufferalloc),
22324         (gst_queue_handle_sink_event), (gst_queue_chain):
22325         Bufferalloc: return GstFlowReturn to more accuratly report
22326         why allocation failed.
22327
22328 2005-06-02  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/gstpipeline.c: (gst_pipeline_send_event):
22331         Take snapshot of state without blocking.
22332
22333 2005-06-02  Wim Taymans  <wim@fluendo.com>
22334
22335         * docs/design/part-TODO.txt:
22336         * docs/design/part-caps.txt:
22337         * docs/design/part-clocks.txt:
22338         * docs/design/part-negotiation.txt:
22339         * docs/design/part-preroll.txt:
22340         Small doc updates 
22341
22342 2005-05-30  Wim Taymans  <wim@fluendo.com>
22343
22344         * gst/elements/gstidentity.c: (gst_identity_event),
22345         (gst_identity_transform), (gst_identity_get_property):
22346         Protect last_message property as it is accessed from
22347         multiple threads.
22348
22349 2005-05-30  Wim Taymans  <wim@fluendo.com>
22350
22351         * gst/gstelement.c: (gst_element_init),
22352         (gst_element_pads_activate), (gst_element_change_state):
22353         Slicker pad activation code.
22354
22355 2005-05-30  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/Makefile.am:
22358         * gst/gstelement.h:
22359         * gst/gstelementfactory.h:
22360         * gst/gsttypes.h:
22361         Move elementfactory methods to separate .h file.
22362
22363 2005-05-30  Wim Taymans  <wim@fluendo.com>
22364
22365         * docs/design/part-overview.txt:
22366         * gst/gstsystemclock.h:
22367         Small typo fixes, doc updates.
22368
22369 2005-05-30  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22372         (init_popt_callback):
22373         Remove cpu-opt flag.
22374
22375 2005-05-30  Wim Taymans  <wim@fluendo.com>
22376
22377         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22378         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22379         * gst/gstbuffer.h:
22380         Avoid typechecking in places where not needed.
22381         Added accessor for malloc_data.
22382
22383 2005-05-30  Wim Taymans  <wim@fluendo.com>
22384
22385         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22386         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22387         (gst_pad_configure_sink), (gst_pad_configure_src),
22388         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22389         (gst_pad_start_task):
22390         Propagate errors from _set_caps() in configure_src/sink
22391         functions instead of returning TRUE.
22392         FLUSH events can travel up and downstream
22393
22394
22395 2005-05-30  Wim Taymans  <wim@fluendo.com>
22396
22397         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22398         (gst_basesink_activate):
22399         Handle EOS in preroll.
22400
22401 2005-05-30  Wim Taymans  <wim@fluendo.com>
22402
22403         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22404         (gst_queue_loop), (gst_queue_handle_src_event):
22405         Remove old pieces of code
22406         Flushing the queue in an upstream event is a very bad idea.
22407
22408 2005-05-26  Andy Wingo  <wingo@pobox.com>
22409
22410         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22411         gst_value_set_mini_object so as to add a ref on the object (which
22412         will be removed when the value is unset).
22413
22414         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22415         arg type in ::handoff.
22416
22417         * gst/gstelement.c (gst_element_change_state): Also deactivate
22418         pads in READY->NULL, just in case the element didn't make it to
22419         PAUSED. Wingo tested, Wim approved.
22420
22421 2005-05-26  Wim Taymans  <wim@fluendo.com>
22422
22423         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22424         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22425         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22426         A flushing pad cannot be used to alloc_buffer from.
22427
22428 2005-05-26  Wim Taymans  <wim@fluendo.com>
22429
22430         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22431         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22432         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22433         (gst_bus_create_watch), (gst_bus_add_watch_full):
22434         * gst/gstbus.h:
22435         Implement a real GSource and use g_main_context_wakeup() to
22436         signal new messages instead of the socketpair.
22437
22438 2005-05-25  Wim Taymans  <wim@fluendo.com>
22439
22440         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22441         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22442         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22443         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22444         (gst_pad_send_event), (gst_pad_start_task):
22445         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22446         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22447         (gst_queue_sink_activate), (gst_queue_src_activate),
22448         (gst_queue_change_state):
22449         * gst/gstqueue.h:
22450         Fix state changes for non sinks. We now change sinks, then elements
22451         with unconnected srcpads, then the rest.
22452         More efficient queue unlocking in flush and state changes.
22453         Set the pad activate mode even if it does not have an activate
22454         function.
22455
22456 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22457
22458         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22459           Don't go in pull mode for non-seekable sources.
22460         * gst/elements/gsttypefindelement.h:
22461         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22462         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22463         (free_entry), (stop_typefinding),
22464         (gst_type_find_element_handle_event), (find_peek),
22465         (gst_type_find_element_chain), (do_pull_typefind),
22466         (gst_type_find_element_change_state):
22467           Allow typefinding (w/o seeking) in push-mode, simplified version
22468           of what was in 0.8.
22469         * gst/gstutils.c: (gst_buffer_join):
22470         * gst/gstutils.h:
22471           gst_buffer_join() from 0.8.
22472
22473 2005-05-25  Wim Taymans  <wim@fluendo.com>
22474
22475         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22476         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22477         (gst_pad_send_event), (gst_pad_start_task):
22478         Disable attempt at mode switching until it is figured out.
22479
22480 2005-05-25  Wim Taymans  <wim@fluendo.com>
22481
22482         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22483         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22484         (gst_basesink_finish_preroll), (gst_basesink_chain),
22485         (gst_basesink_loop), (gst_basesink_activate),
22486         (gst_basesink_change_state):
22487         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22488         (gst_basesrc_get_range), (gst_basesrc_loop),
22489         (gst_basesrc_activate):
22490         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22491         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22492         (gst_real_pad_init), (gst_real_pad_set_property),
22493         (gst_real_pad_get_property), (gst_pad_set_active),
22494         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22495         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22496         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22497         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22498         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22499         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22500         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22501         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22502         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22503         (gst_pad_stop_task):
22504         * gst/gstpad.h:
22505         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22506         (gst_queue_loop), (gst_queue_src_activate):
22507         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22508         (gst_task_get_state):
22509         * gst/gsttask.h:
22510         * gst/schedulers/threadscheduler.c:
22511         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22512         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22513         in task function.
22514         Remove ACTIVE pad flag, use FLUSHING everywhere
22515         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22516         functions.
22517         Add locks around IS_FLUSHING when reading.
22518         Take STREAM lock in chain(), get_range() functions so plugins
22519         don't need to take it anymore.
22520         
22521
22522
22523 2005-05-25  Wim Taymans  <wim@fluendo.com>
22524
22525         * tools/gst-launch.c: (event_loop):
22526         Unref message after using its contents instead of
22527         before.
22528
22529 2005-05-24  Wim Taymans  <wim@fluendo.com>
22530
22531         * docs/design/draft-ghostpads.txt:
22532         * docs/design/draft-push-pull.txt:
22533         * docs/design/draft-query.txt:
22534         * docs/design/part-overview.txt:
22535         Docs updates, added general overview doc.
22536
22537 2005-05-21  David Schleef  <ds@schleef.org>
22538
22539         * docs/gst/tmpl/old/GstBin.sgml:
22540         * docs/gst/tmpl/old/GstBuffer.sgml:
22541         * docs/gst/tmpl/old/GstCaps.sgml:
22542         * docs/gst/tmpl/old/GstClock.sgml:
22543         * docs/gst/tmpl/old/GstCompat.sgml:
22544         * docs/gst/tmpl/old/GstData.sgml:
22545         * docs/gst/tmpl/old/GstElement.sgml:
22546         * docs/gst/tmpl/old/GstEvent.sgml:
22547         * docs/gst/tmpl/old/GstIndex.sgml:
22548         * docs/gst/tmpl/old/GstStructure.sgml:
22549         * docs/gst/tmpl/old/GstTag.sgml:
22550         * docs/gst/tmpl/old/cothreads.sgml:
22551         * docs/gst/tmpl/old/cothreads_compat.sgml:
22552         * docs/gst/tmpl/old/gettext.sgml:
22553         * docs/gst/tmpl/old/gobject2gtk.sgml:
22554         * docs/gst/tmpl/old/grammar.tab.sgml:
22555         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22556         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22557         * docs/gst/tmpl/old/gst_private.sgml:
22558         * docs/gst/tmpl/old/gstaggregator.sgml:
22559         * docs/gst/tmpl/old/gstarch.sgml:
22560         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22561         * docs/gst/tmpl/old/gstbufferstore.sgml:
22562         * docs/gst/tmpl/old/gstdata_private.sgml:
22563         * docs/gst/tmpl/old/gstdisksink.sgml:
22564         * docs/gst/tmpl/old/gstdisksrc.sgml:
22565         * docs/gst/tmpl/old/gstelementfactory.sgml:
22566         * docs/gst/tmpl/old/gstextratypes.sgml:
22567         * docs/gst/tmpl/old/gstfakesink.sgml:
22568         * docs/gst/tmpl/old/gstfakesrc.sgml:
22569         * docs/gst/tmpl/old/gstfdsink.sgml:
22570         * docs/gst/tmpl/old/gstfdsrc.sgml:
22571         * docs/gst/tmpl/old/gstfilesink.sgml:
22572         * docs/gst/tmpl/old/gstfilesrc.sgml:
22573         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22574         * docs/gst/tmpl/old/gstidentity.sgml:
22575         * docs/gst/tmpl/old/gstindexfactory.sgml:
22576         * docs/gst/tmpl/old/gstmarshal.sgml:
22577         * docs/gst/tmpl/old/gstmd5sink.sgml:
22578         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22579         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22580         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22581         * docs/gst/tmpl/old/gstpipefilter.sgml:
22582         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22583         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22584         * docs/gst/tmpl/old/gstshaper.sgml:
22585         * docs/gst/tmpl/old/gstspider.sgml:
22586         * docs/gst/tmpl/old/gstspideridentity.sgml:
22587         * docs/gst/tmpl/old/gststatistics.sgml:
22588         * docs/gst/tmpl/old/gsttee.sgml:
22589         * docs/gst/tmpl/old/gsttimecache.sgml:
22590         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22591         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22592         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22593         * docs/gst/tmpl/old/types.sgml:
22594           I didn't intend to add these or check them in.
22595
22596 2005-05-19  David Schleef  <ds@schleef.org>
22597
22598         * configure.ac: Use -no-common everywhere.  In a sane world, it
22599           would be the default in libtool, because without it, you can't
22600           build DLLs on Windows.
22601         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22602         * docs/gst/gstreamer-sections.txt:
22603         * docs/gst/tmpl/gstcpu.sgml:
22604         * docs/gst/tmpl/gstdata.sgml:
22605         * docs/gst/tmpl/gstthread.sgml:
22606
22607 2005-05-19  David Schleef  <ds@schleef.org>
22608
22609         * gst/gstminiobject.c: (gst_value_set_mini_object),
22610         (gst_value_take_mini_object), (gst_value_get_mini_object):
22611         * gst/gstminiobject.h: Add GValue set/get functions.
22612
22613 2005-05-19  Wim Taymans  <wim@fluendo.com>
22614
22615         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22616         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22617         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22618         * gst/gstbuffer.h:
22619         * gst/gstbus.c: (gst_bus_post):
22620         * gst/gstelement.c: (gst_element_get_random_pad):
22621         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22622         Make subbufer unref the parent in finalize.
22623         some more debugging info.
22624
22625
22626 2005-05-19  Wim Taymans  <wim@fluendo.com>
22627
22628         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22629         (gst_basesink_init), (gst_basesink_finalize),
22630         (gst_basesink_activate), (gst_basesink_change_state):
22631         Don't free preroll queue too early.
22632
22633 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22634
22635         * gst/Makefile.am:
22636         * gst/ROADMAP:
22637           Hi, I'm outdated. Please shoot me.
22638
22639 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22640
22641         * gst/gstpipeline.c: (gst_pipeline_send_event):
22642           Do not access variables after they have been deleted.
22643
22644 2005-05-19  Wim Taymans  <wim@fluendo.com>
22645
22646         * tools/gst-inspect.c: (print_plugin_features):
22647         A plugin feature does unfortunatly not use the
22648         object name yet...
22649
22650 2005-05-18  Wim Taymans  <wim@fluendo.com>
22651
22652         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22653         Port _span() functions to new subbuffers.
22654
22655 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22656
22657         * gst/gstbin.c: (gst_bin_add_func):
22658           Fix clock settery in bins when adding kids after the clock has
22659           been selected.
22660
22661 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22662
22663         * gst/elements/gstidentity.c: (gst_identity_class_init):
22664           Workaround until signals support GstMiniObject.
22665
22666 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
22667
22668         * gst/gstbuffer.c:
22669         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22670
22671 2005-05-18  Wim Taymans  <wim@fluendo.com>
22672
22673         * gst/base/Makefile.am:
22674         * gst/base/gstadapter.c: (gst_adapter_base_init),
22675         (gst_adapter_class_init), (gst_adapter_init),
22676         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22677         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22678         (gst_adapter_flush), (gst_adapter_available),
22679         (gst_adapter_available_fast):
22680         * gst/base/gstadapter.h:
22681         Ported and added adapter to the base classes.
22682
22683 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22684
22685         * gst/gst.c:
22686         * gst/gstmessage.c:
22687           Make sure the class is reffed/unreffed once before threads can be
22688           used.  Fixes #304551.
22689
22690 2005-05-17  Wim Taymans  <wim@fluendo.com>
22691
22692         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22693         (gst_basesink_chain_unlocked), (gst_basesink_activate):
22694         * gst/gstminiobject.c: (gst_mini_object_get_type),
22695         (gst_mini_object_free):
22696         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22697         (gst_pad_push), (gst_pad_push_event):
22698         * gst/gstqueue.c: (gst_queue_change_state):
22699         Don't queue buffers in basesink when we are flushing.
22700         Unref buffer when flushing in basesink.
22701         Flush queue when going to READY
22702         Unref buffer when _push() returns an error.
22703         Don't free MiniObject instance when refcount is incremented
22704         in _finalize() so that we can recover objects.
22705
22706 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22707
22708         * docs/manual/advanced-schedulers.xml:
22709         * docs/manual/appendix-checklist.xml:
22710         * docs/pwg/advanced-clock.xml:
22711         * docs/pwg/advanced-interfaces.xml:
22712         * docs/pwg/advanced-request.xml:
22713         * docs/pwg/advanced-types.xml:
22714         * docs/pwg/intro-preface.xml:
22715         * examples/plugins/example.c: (gst_example_get_type),
22716         (gst_example_class_init), (gst_example_chain),
22717         (gst_example_set_property), (gst_example_get_property),
22718         (gst_example_change_state), (plugin_init):
22719         * examples/plugins/example.h:
22720           small doc fixes
22721
22722 2005-05-17  Wim Taymans  <wim@fluendo.com>
22723
22724         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22725         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22726         * gst/gstqueue.c: (gst_queue_change_state):
22727         Clear queue when going to READY.
22728         Remove IN_SETCAPS flag too.
22729
22730 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
22731
22732         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22733           Remove implicit cast from gboolean to GstElementStateReturn;
22734           make sure we still return failure in paused => ready case if
22735           the parent class fails to change state and our own stop 
22736           vfunc succeeds.
22737
22738 2005-05-17  Wim Taymans  <wim@fluendo.com>
22739
22740         * tools/gst-launch.c: (event_loop):
22741         Message was unreffed too soon.
22742
22743 2005-05-16  Andy Wingo  <wingo@pobox.com>
22744
22745         * gst/gstbin.c (sink_iterator_filter): Err... um...
22746
22747         * check/gst/gstbin.c (test_ghost_pads): New test for the
22748         ghosting-if-elements-not-in-same-bin behavior.
22749
22750 2005-05-16  David Schleef  <ds@schleef.org>
22751
22752         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22753         accessing refcount directly.
22754
22755 2005-05-15  David Schleef  <ds@schleef.org>
22756
22757         * check/Makefile.am: remove GstData checks
22758         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22759         * gst/Makefile.am: add miniobject, remove data
22760         * gst/gst.h: add miniobject, remove data
22761         * gst/gstdata.c: remove
22762         * gst/gstdata.h: remove
22763         * gst/gstdata_private.h: remove
22764         * gst/gsttypes.h: remove GstEvent and GstMessage
22765         * gst/gstelement.c: (gst_element_post_message): fix for API changes
22766         * gst/gstmarshal.list: change BOXED -> OBJECT
22767
22768         Implement GstMiniObject.
22769         * gst/gstminiobject.c:
22770         * gst/gstminiobject.h:
22771
22772         Modify to be subclasses of GstMiniObject.
22773         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22774         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22775         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22776         (gst_subbuffer_get_type), (gst_subbuffer_init),
22777         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22778         (gst_buffer_span):
22779         * gst/gstbuffer.h:
22780         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22781         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22782         (_gst_event_copy), (gst_event_new):
22783         * gst/gstevent.h:
22784         * gst/gstmessage.c: (_gst_message_initialize),
22785         (gst_message_get_type), (gst_message_class_init),
22786         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22787         (gst_message_new), (gst_message_new_error),
22788         (gst_message_new_warning), (gst_message_new_tag),
22789         (gst_message_new_state_changed), (gst_message_new_application):
22790         * gst/gstmessage.h:
22791         * gst/gstprobe.c: (gst_probe_perform),
22792         (gst_probe_dispatcher_dispatch):
22793         * gst/gstprobe.h:
22794         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22795         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22796         (_gst_query_copy), (gst_query_new):
22797
22798         Update elements for GstData -> GstMiniObject changes
22799         * gst/gstquery.h:
22800         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22801         (gst_queue_chain), (gst_queue_loop):
22802         * gst/elements/gstbufferstore.c:
22803         (gst_buffer_store_add_buffer_func),
22804         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22805         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22806         (gst_fakesink_render):
22807         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22808         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22809         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22810         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22811         (gst_filesrc_create_read):
22812         * gst/elements/gstidentity.c: (gst_identity_class_init):
22813         * gst/elements/gsttypefindelement.c:
22814         (gst_type_find_element_src_event), (free_entry_buffers),
22815         (gst_type_find_element_handle_event):
22816         * libs/gst/dataprotocol/dataprotocol.c:
22817         (gst_dp_header_from_buffer):
22818         * libs/gst/dataprotocol/dataprotocol.h:
22819         * libs/gst/dataprotocol/dp-private.h:
22820
22821 2005-05-15  David Schleef  <ds@schleef.org>
22822
22823         * gst/elements/gstelements.c: Don't include headers that were
22824         just removed.
22825
22826 2005-05-15  David Schleef  <ds@schleef.org>
22827
22828         * gst/elements/Makefile.am: Remove some elements that don't
22829         need to be in the core (or even exist at all).
22830         * gst/elements/gstaggregator.c:
22831         * gst/elements/gstaggregator.h:
22832         * gst/elements/gstmd5sink.c:
22833         * gst/elements/gstmd5sink.h:
22834         * gst/elements/gstmultifilesrc.c:
22835         * gst/elements/gstmultifilesrc.h:
22836         * gst/elements/gstpipefilter.c:
22837         * gst/elements/gstpipefilter.h:
22838         * gst/elements/gstshaper.c:
22839         * gst/elements/gstshaper.h:
22840         * gst/elements/gststatistics.c:
22841         * gst/elements/gststatistics.h:
22842         * po/POTFILES.in: Remove above files.
22843
22844 2005-05-14  Andy Wingo  <wingo@pobox.com>
22845
22846         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22847         so as to get the refs right.
22848         (sink_iterator_filter): New function, wraps bin_element_is_sink,
22849         unreffing objects that don't pass the filter.
22850
22851         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22852         gst_element_set_bus.
22853         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22854         normal cases, this will destroy the bus.
22855
22856         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22857         object.
22858
22859         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22860         has no sinks.
22861
22862 2005-05-13  Andy Wingo  <wingo@pobox.com>
22863
22864         * gst/gstutils.c (gst_element_link_pads): Instead of calling
22865         gst_pad_link, call pad_link_maybe_ghosting,
22866         (pad_link_maybe_ghosting): Links pads, making sure that the
22867         elements being linked are in the same bin.
22868         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22869         Helpers for pad_link_maybe_ghosting.
22870
22871 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22872
22873         * configure.ac:
22874           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22875
22876 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22877
22878         * docs/design/part-element-source.txt:
22879           Mention GstPushSrc
22880
22881 2005-05-12  Wim Taymans  <wim@fluendo.com>
22882
22883         * gst/base/gstbasesink.c: (gst_basesink_init),
22884         (gst_basesink_activate):
22885         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22886         (gst_basesrc_is_seekable):
22887         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22888         (bin_element_is_sink), (gst_bin_change_state):
22889         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22890         * gst/gstelement.h:
22891         Identify sinks by their flag to avoid overly complicated
22892         checks (fow now).
22893         Do state changes even for elements not reachable from the
22894         sinks.
22895         BaseSink is a sink now :)
22896         Some more debugging info in the basesrc.
22897
22898
22899 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22900
22901         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22902           Implement _query on a bin, similar to _send_event.
22903
22904 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
22905
22906         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22907           Discont event offset format should be GST_FORMAT_BYTES,
22908           not GST_FORMAT_TIME.
22909
22910 2005-05-12  Wim Taymans  <wim@fluendo.com>
22911
22912         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22913         Same fix as Ronald's but without the signal. 
22914
22915 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22916
22917         * gst/gstutils.c: (gst_element_query_position):
22918           No, an element is not a pad.
22919
22920 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22921
22922         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22923         (gst_bin_get_state):
22924           If a child is removed from a bin while we remove the child from
22925           the bin and while we're retrieving its state, signal this to the
22926           get_state function so we abort the wait (instead of waiting for
22927           a timeout) and can immediately re-iterate over all other elements.
22928
22929 2005-05-12  Wim Taymans  <wim@fluendo.com>
22930
22931         * gst/base/Makefile.am:
22932         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22933         (gst_basesrc_start):
22934         * gst/base/gstbasesrc.h:
22935         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22936         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22937         (gst_pushsrc_init), (gst_pushsrc_create):
22938         * gst/base/gstpushsrc.h:
22939         Added is_seekable to BaseSrc
22940         Added simple PushSrc.
22941
22942 2005-05-11  Wim Taymans  <wim@fluendo.com>
22943
22944         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22945         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22946         (gst_element_link_pads), (gst_element_query_position),
22947         (gst_element_query_convert), (intersect_caps_func),
22948         (gst_pad_query_position), (gst_pad_query_convert):
22949         Fix refcounting in utils function.
22950         No point in trying to activate a pad when it's added, it could
22951         be added from the state change function and then we deadlock, the
22952         element has to decide what to do.
22953
22954 2005-05-10  Andy Wingo  <wingo@pobox.com>
22955
22956         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22957         *all* the arguments.
22958
22959         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22960         stream lock if it's a FLUSH_DONE; normal flushes don't get the
22961         lock (according to the docs -- if this is wrong change the docs).
22962
22963         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22964         flush messages in the NULL state.
22965
22966         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22967         message immediately and return.
22968         (gst_bus_set_flushing): New function. If a bus is flushing, it
22969         flushes out any queued messages and immediately unrefs new
22970         messages. This is so when an element goes to NULL, all of the
22971         unhandled messages coming from it can be freed, and their
22972         references to the element dropped. In other words: message source
22973         ref considered harmful :P
22974
22975         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22976         we're finished with it.
22977
22978         * gst/gstmessage.c (gst_message_new_state_changed): 
22979
22980 2005-05-10  Wim Taymans  <wim@fluendo.com>
22981
22982         * gst/gstvalue.c: (gst_value_compare_flags),
22983         (gst_value_serialize_flags), (gst_value_deserialize_flags),
22984         (_gst_value_initialize):
22985         Added flags serialize/deserialize/compare code.
22986
22987 2005-05-09  Andy Wingo  <wingo@pobox.com>
22988
22989         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22990         Intersect the peer's caps with our caps.
22991
22992 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22993
22994         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22995         * gst/elements/gsttypefindelement.c: (find_peek):
22996           Handle negative offsets better. Fixes decodebin.
22997
22998 2005-05-09  Wim Taymans  <wim@fluendo.com>
22999
23000         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23001         (gst_base_transform_event):
23002         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23003         Implement accept_caps.
23004         Fix silly lock/unlock mismatch in base class.
23005
23006 2005-05-09  Wim Taymans  <wim@fluendo.com>
23007
23008         * docs/design/draft-push-pull.txt:
23009         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23010         * gst/elements/gstfilesink.c: (gst_filesink_init),
23011         (gst_filesink_query):
23012         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23013         (gst_type_find_handle_src_query), (find_element_get_length):
23014         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23015         * gst/gstelement.h:
23016         * gst/gstmessage.c:
23017         * gst/gstmessage.h:
23018         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23019         (gst_real_pad_get_caps_unlocked),
23020         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23021         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23022         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23023         (gst_real_pad_dispose), (gst_real_pad_finalize),
23024         (gst_pad_load_and_link), (gst_pad_save_thyself),
23025         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23026         (gst_pad_check_pull_range), (gst_pad_pull_range),
23027         (gst_pad_template_get_type), (gst_pad_template_class_init),
23028         (gst_pad_template_init), (gst_pad_template_dispose),
23029         (name_is_valid), (gst_static_pad_template_get),
23030         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23031         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23032         (gst_pad_get_element_private), (gst_pad_start_task),
23033         (gst_pad_pause_task), (gst_pad_stop_task),
23034         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23035         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23036         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23037         (gst_ghost_pad_new):
23038         * gst/gstpad.h:
23039         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23040         (gst_query_new_position), (gst_query_set_position),
23041         (gst_query_parse_position), (gst_query_new_convert),
23042         (gst_query_set_convert), (gst_query_parse_convert):
23043         * gst/gstquery.h:
23044         * gst/gstqueryutils.c:
23045         * gst/gstqueryutils.h:
23046         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23047         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23048         (gst_queue_handle_src_query):
23049         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23050         (gst_element_query_position), (gst_element_query_convert),
23051         (intersect_caps_func), (gst_pad_query_position),
23052         (gst_pad_query_convert):
23053         * gst/gstutils.h:
23054         * tools/gst-inspect.c: (print_pad_info):
23055         * tools/gst-xmlinspect.c: (print_element_info):
23056         Remove old query functions. Ported old code.
23057         Added position/convert helper functions to gstutils.
23058         Reordered gstpad.c code, grouping relevant things.
23059         Remove gst_message_new(), always need to speficy a specific
23060         message.
23061
23062
23063 2005-05-09  Andy Wingo  <wingo@pobox.com>
23064
23065         * gst/gstiterator.h: Add some includes.
23066
23067         * gst/gstqueryutils.h: Include more headers.
23068
23069         * gst/gstpad.h:
23070         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23071         some uses of gst_pad_query.
23072
23073         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23074         NULL out parameters.
23075         (gst_query_new_position): New proc, allocates a new position
23076         query.
23077
23078         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23079         gstqueryutils.c to the build.
23080
23081         * gst/gststructure.c (gst_structure_set_valist): Implement with
23082         the generic G_VALUE_COLLECT.
23083         
23084 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23085
23086         * gst/Makefile.am: (gst_headers):
23087         Added gstqueryutils.h to the list of headers to install, that was
23088         a 'nachty' move wingo :)
23089
23090 2005-05-06  Andy Wingo  <wingo@pobox.com>
23091
23092         * gst/gstquery.h
23093         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23094         GstData, init a memchunk.
23095         (standard_definitions): Add a few query types, deprecate a few.
23096         (gst_query_get_type): New proc.
23097         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23098         implementation.
23099         (gst_query_new_application, gst_query_get_structure): New public
23100         procs.
23101
23102         * docs/design/draft-query.txt: Removed LINKS from the query types,
23103         because all the rest can be dispatched to other pads -- seemed
23104         ugly to have a query that couldn't be dispatched. internal_links
23105         is fine as a pad method.
23106
23107         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23108         in gstpad.c, but maintain binary compatibility for the moment.
23109         Will fix before 0.9 is out.
23110
23111         * gst/gstqueryutils.c: 
23112         * gst/gstqueryutils.h: New files, implement 3 methods for each
23113         query type: parse_query, parse_response, and set. Probably need an
23114         allocator as well.
23115
23116         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23117
23118         * gst/elements/gstfilesink.c (gst_filesink_query2):
23119         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23120         query_types, and formats methods.
23121
23122         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23123         (gst_pad_set_query2_function): New functions.
23124         (gst_real_pad_init): Set query2_default as the default query2
23125         function. Basically just dispatches to internally linked pads.
23126
23127         Needs review!
23128         
23129         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23130         without using the atomic operations. Only one thread can possibly
23131         be accessing the data at this point. Changed so as to avoid
23132         gst_atomic operations.
23133
23134 2005-05-06  Wim Taymans  <wim@fluendo.com>
23135
23136         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23137         Also set caps if we use the fallback buffer alloc.
23138
23139 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23140
23141         * docs/gst/Makefile.am:
23142         * docs/gst/gstreamer-docs.sgml:
23143         * docs/gst/gstreamer-sections.txt:
23144         * docs/gst/tmpl/gstatomic.sgml:
23145         * docs/gst/tmpl/gstmemchunk.sgml:
23146         * testsuite/elements/struct_i386.h:
23147         * win32/GStreamer.vcproj:
23148         * win32/Makefile:
23149           Purge GstAtomic stuff from docs and win32 makefiles as well
23150
23151 2005-05-06  Wim Taymans  <wim@fluendo.com>
23152
23153         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23154         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23155         * gst/gstpad.c: (gst_pad_peer_get_caps):
23156         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23157         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23158         (gst_queue_src_activate), (gst_queue_change_state):
23159         * gst/gstqueue.h:
23160         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23161         (intersect_caps_func):
23162         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23163         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23164         Some fixes for the peer_get_caps() change.
23165
23166 2005-05-06  Wim Taymans  <wim@fluendo.com>
23167
23168         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23169         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23170         (gst_basesink_activate):
23171         Actually do something with error codes returned from the push
23172         functions.
23173
23174 2005-05-06  Wim Taymans  <wim@fluendo.com>
23175
23176         * docs/design/part-element-sink.txt:
23177         * docs/design/part-element-source.txt:
23178         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23179         (gst_basesink_event), (gst_basesink_activate):
23180         * gst/base/gstbasesink.h:
23181         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23182         (gst_basesrc_activate):
23183         * gst/base/gstbasesrc.h:
23184         * gst/gstelement.c: (gst_element_pads_activate):
23185         Some more documentation.
23186         Fixed scheduling decision in _pads_activate().
23187
23188 2005-05-05  Andy Wingo  <wingo@pobox.com>
23189
23190         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23191         the test suite.
23192
23193 2005-05-05  Wim Taymans  <wim@fluendo.com>
23194
23195         * gst/base/Makefile.am:
23196         * gst/base/gstbasesink.h:
23197         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23198         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23199         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23200         (gst_collectpads_class_init), (gst_collectpads_init),
23201         (gst_collectpads_finalize), (gst_collectpads_new),
23202         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23203         (find_pad), (gst_collectpads_remove_pad),
23204         (gst_collectpads_is_active), (gst_collectpads_collect),
23205         (gst_collectpads_collect_range), (gst_collectpads_start),
23206         (gst_collectpads_stop), (gst_collectpads_peek),
23207         (gst_collectpads_pop), (gst_collectpads_available),
23208         (gst_collectpads_read), (gst_collectpads_flush),
23209         (gst_collectpads_chain):
23210         * gst/base/gstcollectpads.h:
23211         * gst/elements/Makefile.am:
23212         * gst/elements/gstelements.c:
23213         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23214         (gst_fakesink_get_times), (gst_fakesink_event),
23215         (gst_fakesink_preroll), (gst_fakesink_render):
23216         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23217         (gst_filesink_init), (gst_filesink_set_location),
23218         (gst_filesink_open_file), (gst_filesink_close_file),
23219         (gst_filesink_pad_query), (gst_filesink_event),
23220         (gst_filesink_render), (gst_filesink_change_state):
23221         * gst/elements/gstfilesink.h:
23222         Added object to help in making collect pad based elements.
23223         Ported filesink.
23224         Make event function in sink baseclass return gboolean.
23225
23226 2005-05-05  Wim Taymans  <wim@fluendo.com>
23227
23228         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23229         (gst_bin_get_by_name):
23230         * gst/gstbuffer.h:
23231         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23232         (gst_clock_finalize):
23233         * gst/gstdata.c: (gst_data_replace):
23234         * gst/gstdata.h:
23235         * gst/gstelement.c: (gst_element_request_pad),
23236         (gst_element_pads_activate):
23237         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23238         (gst_object_unref):
23239         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23240         (gst_pad_set_checkgetrange_function),
23241         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23242         (gst_pad_check_pull_range), (gst_pad_pull_range),
23243         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23244         (gst_pad_pause_task), (gst_pad_stop_task):
23245         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23246         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23247         Fix name lookup in GstBin.
23248         Added _data_replace() function and _buffer_replace()
23249         Use finalize method to clean up clock.
23250         Fix refcounting on request pads.
23251         Fix pad schedule mode error.
23252         Some more object refcounting debug info,
23253
23254
23255 2005-05-04  Andy Wingo <wingo@pobox.com>
23256
23257         * check/Makefile.am:
23258         * docs/gst/tmpl/gstatomic.sgml:
23259         * docs/gst/tmpl/gstplugin.sgml:
23260         * gst/base/gstbasesink.c: (gst_basesink_activate):
23261         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23262         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23263         (gst_basesrc_query), (gst_basesrc_set_property),
23264         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23265         (gst_basesrc_activate):
23266         * gst/base/gstbasesrc.h:
23267         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23268         (gst_base_transform_src_activate):
23269         * gst/elements/gstelements.c:
23270         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23271         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23272         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23273         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23274         (gst_type_find_element_checkgetrange),
23275         (gst_type_find_element_activate):
23276         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23277         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23278         (gst_caps_load_thyself):
23279         * gst/gstelement.c: (gst_element_pads_activate),
23280         (gst_element_save_thyself), (gst_element_restore_thyself):
23281         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23282         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23283         * gst/gstpad.h:
23284         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23285         (gst_xml_parse_file), (gst_xml_parse_memory),
23286         (gst_xml_get_element), (gst_xml_make_element):
23287         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23288         (_file_index_id_save_xml), (gst_file_index_commit):
23289         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23290         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23291         (load_paths):
23292         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23293         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23294         * tools/gst-complete.c: (main):
23295         * tools/gst-compprep.c: (main):
23296         * tools/gst-inspect.c: (print_element_properties_info):
23297         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23298         * tools/gst-xmlinspect.c: (print_element_properties):
23299         GCC 4 fixen.
23300         
23301 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23302
23303         * gst/gstplugin.c: (gst_plugin_check_module),
23304         (gst_plugin_check_file), (gst_plugin_load_file):
23305             apply patch from #172526 to make register work on MacOSX
23306
23307 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23308
23309         * docs/gst/tmpl/gstconfig.sgml:
23310         * gst/gstconfig.h.in:
23311           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23312         * testsuite/debug/printf_extension.c: (main):
23313           Do not use GST_PTR_FORMAT on pointers to types with
23314           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23315         * testsuite/elements/property.h:
23316           use correct printf format
23317
23318 2005-05-02  Wim Taymans  <wim@fluendo.com>
23319
23320         * docs/design/draft-push-pull.txt:
23321         * docs/design/draft-query.txt:
23322         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23323         (gst_basesrc_start):
23324         Added draft for new query API.
23325         Added draft for better selecting scheduling methods.
23326         Make basesrc ignore length if the subclass does not support
23327         it.
23328
23329 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23330
23331         * gst/Makefile.am:
23332           possible fixes for automake-1.5 - _LIBADD is reserved
23333
23334 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23335
23336         * docs/faq/Makefile.am:
23337         * docs/manual/Makefile.am:
23338         * docs/manuals.mak:
23339         * docs/pwg/Makefile.am:
23340         * gst/Makefile.am:
23341           possible fixes for automake-1.5
23342
23343 2005-04-28  Wim Taymans  <wim@fluendo.com>
23344
23345         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23346         (gst_basesink_pad_getcaps), (gst_basesink_init),
23347         (gst_basesink_do_sync):
23348         * gst/gstclock.c: (gst_clock_entry_new):
23349         * gst/gstevent.c: (gst_event_discont_get_value):
23350         * gst/gstpipeline.c: (pipeline_bus_handler),
23351         (gst_pipeline_change_state):
23352         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23353         Better debugging of clocking info.
23354         Allow NULL values when getting discont values.
23355
23356 2005-04-27  Wim Taymans  <wim@fluendo.com>
23357
23358         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23359         * check/gst/gstpad.c: (gst_pad_suite):
23360         Increase timeout for checks.
23361
23362 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23363
23364         * check/Makefile.am:
23365           fix the broken rule for cleanup.  Apparently this rule is
23366           only needed on FC2, so maybe this warrants further autotool
23367           inspection.
23368
23369 2005-04-26  Wim Taymans  <wim@fluendo.com>
23370
23371         * gst/gsttrashstack.h:
23372         Ooohh. a nasty one! After having a failed pop() from the stack,
23373         it's possible that the stack is empty. In that case, don't
23374         follow the NULL pointer.
23375
23376 2005-04-25  Wim Taymans  <wim@fluendo.com>
23377
23378         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23379         (gst_pad_set_checkgetrange_function),
23380         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23381         (gst_pad_check_pull_range), (gst_pad_pull_range),
23382         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23383         (gst_pad_pause_task), (gst_pad_stop_task):
23384         * gst/gstplugin.c: (gst_plugin_load):
23385         * gst/gstplugin.h:
23386         Remove gst_library_load as it does more harm than good with
23387         the new g_module flags.
23388         Revert bogus caps template check in pad linking, pad caps
23389         are important when linking not the template, which is more
23390         general than the current caps.
23391
23392 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23393
23394         * gst/autoplug/.cvsignore:
23395         * gst/autoplug/Makefile.am:
23396         * gst/autoplug/gstsearchfuncs.c:
23397         * gst/autoplug/gstsearchfuncs.h:
23398         * gst/autoplug/gstspider.c:
23399         * gst/autoplug/gstspider.h:
23400         * gst/autoplug/gstspideridentity.c:
23401         * gst/autoplug/gstspideridentity.h:
23402         * gst/autoplug/spidertest.c:
23403           Die, spider, die.
23404
23405 2005-04-25  Wim Taymans  <wim@fluendo.com>
23406
23407         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23408         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23409         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23410         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23411         * gst/gstpad.h:
23412         Added stubs for unimplemented functions. 
23413
23414 2005-04-24  David Schleef  <ds@schleef.org>
23415
23416         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23417         please fix.
23418
23419 2005-04-24  David Schleef  <ds@schleef.org>
23420
23421         Convert everything from GstAtomicInt to g_atomic_int_*, and
23422         remove gstatomic.
23423         * gst/Makefile.am:
23424         * gst/gstatomic.c:
23425         * gst/gstatomic.h:
23426         * gst/gstatomic_impl.h:
23427         * gst/gstbuffer.c:
23428         * gst/gstcaps.c:
23429         * gst/gstcaps.h:
23430         * gst/gstclock.c:
23431         * gst/gstclock.h:
23432         * gst/gstdata.c:
23433         * gst/gstdata.h:
23434         * gst/gstdata_private.h:
23435         * gst/gstevent.c:
23436         * gst/gstinfo.c:
23437         * gst/gstinfo.h:
23438         * gst/gstmessage.c:
23439         * gst/gstobject.c:
23440         * gst/gstobject.h:
23441         * gst/gststructure.c:
23442         * gst/gststructure.h:
23443         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23444         * gst/gstutils.h:
23445
23446 2005-04-24  David Schleef  <ds@schleef.org>
23447
23448         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23449         make the regressions tests work.  Remove some code that is no
23450         longer true.
23451         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23452         Disable warning for pads without templates.
23453
23454 2005-04-24  David Schleef  <ds@schleef.org>
23455
23456         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23457         functions that handle filtered links.
23458         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23459         removed functions.
23460         * gst/gstutils.c: Fix/remove utility functions that handle
23461         filtered caps.
23462         * gst/gstutils.h:
23463         * gst/gstvalue.c: Add serialization/deserialization of caps
23464         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23465         requires fixing so that the filter caps notation creates
23466         a capsfilter element and sets the filter_caps property.  I
23467         think everyone probably wants to keep the shorthand notation.
23468         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23469         * docs/gst/tmpl/gstpad.sgml:
23470
23471         * gst/elements/gstelements.c: Register capsfilter element.
23472         * gst/Makefile.am: fix spacing
23473         * docs/random/ds/0.9-suggested-changes: random
23474
23475 2005-04-23  David Schleef  <ds@schleef.org>
23476
23477         * gst/elements/Makefile.am:
23478         * gst/elements/gstcapsfilter.c: New element that acts like an
23479         identity, but filters caps.  Will eventually replace filtered
23480         caps in pad linking.
23481         * gst/gstutils.c: (gst_element_create_all_pads): New function
23482         to create all the ALWAYS pads that are registered with an
23483         element class.  This functionality should eventually be
23484         merged in with GstElement initialization.
23485         * gst/gstutils.h:
23486         * testsuite/trigger/README: part of trigger test code that should
23487         have been checked in a long time ago.
23488
23489 2005-04-23  David Schleef  <ds@schleef.org>
23490
23491         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23492         needed with new versions of libtool (nobody will confirm this),
23493         and hard to carry around.
23494         * gst/autoplug/Makefile.am:
23495         * gst/base/Makefile.am:
23496         * gst/elements/Makefile.am:
23497         * gst/indexers/Makefile.am:
23498         * gst/schedulers/Makefile.am:
23499         * libs/gst/bytestream/Makefile.am:
23500         * libs/gst/control/Makefile.am:
23501         * libs/gst/dataprotocol/Makefile.am:
23502         * libs/gst/getbits/Makefile.am:
23503
23504 2005-04-21  Wim Taymans  <wim@fluendo.com>
23505
23506         * docs/design/draft-push-pull.txt:
23507         * docs/design/part-MT-refcounting.txt:
23508         * docs/design/part-TODO.txt:
23509         * docs/design/part-caps.txt:
23510         * docs/design/part-events.txt:
23511         * docs/design/part-gstbus.txt:
23512         * docs/design/part-gstpipeline.txt:
23513         * docs/design/part-messages.txt:
23514         * docs/design/part-push-pull.txt:
23515         * docs/design/part-query.txt:
23516         Some more docs.
23517
23518 2005-04-21  Wim Taymans  <wim@fluendo.com>
23519
23520         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23521         (gst_message_new), (gst_message_new_error),
23522         (gst_message_new_warning), (gst_message_new_tag),
23523         (gst_message_new_state_changed), (gst_message_new_application),
23524         (gst_message_get_structure):
23525         * gst/gstmessage.h:
23526         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23527         (gst_structure_copy_conditional):
23528         Use parent refcount in GstMessage to ensure GstStructure
23529         consistency.
23530         Cleaned up headers a bit.
23531         
23532
23533 2005-04-20  Wim Taymans  <wim@fluendo.com>
23534
23535         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23536         (gst_basesink_pad_getcaps), (gst_basesink_init),
23537         (gst_basesink_chain_unlocked):
23538         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23539         (gst_type_find_helper):
23540         * gst/elements/gsttypefindelement.c:
23541         (gst_type_find_element_have_type), (gst_type_find_element_init),
23542         (stop_typefinding), (gst_type_find_element_handle_event),
23543         (find_suggest), (gst_type_find_element_chain),
23544         (gst_type_find_element_checkgetrange),
23545         (gst_type_find_element_getrange), (do_typefind),
23546         (gst_type_find_element_activate):
23547         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23548         (gst_buffer_default_free), (gst_buffer_default_copy),
23549         (gst_buffer_set_caps):
23550         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23551         (gst_caps_replace):
23552         * gst/gstmessage.c: (gst_message_new),
23553         (gst_message_new_state_changed):
23554         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23555         (gst_pad_set_checkgetrange_function),
23556         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23557         (gst_pad_set_caps), (gst_pad_check_pull_range),
23558         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23559         * gst/gstpad.h:
23560         * gst/gsttypefind.c: (gst_type_find_register):
23561         Make gst_caps_replace() work like other _replace() functions.
23562         Use _caps_replace() where possible.
23563         Make sure _message_new() initialises its field.
23564         Add gst_static_pad_template_get_caps()
23565
23566
23567 2005-04-18  Andy Wingo  <wingo@pobox.com>
23568
23569         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23570         on the peer, not the pad. I think that was a typo. Pass an extra
23571         arg to see if random access is possible. Activate the pads as
23572         PULL_RANGE if possible.
23573
23574         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23575
23576         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23577         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23578         to PROP_....
23579
23580 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23581
23582         * docs/faq/using.xml:
23583           Add note on gstreamer-properties (#154996).
23584
23585 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23586
23587         * docs/random/bbb/optional-properties:
23588           Some analysis on optional properties.
23589
23590 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23591
23592         * docs/gst/tmpl/gstelementfactory.sgml:
23593         * gst/gstelement.h:
23594         * gst/gstelementfactory.c: (gst_element_factory_init),
23595         (gst_element_factory_cleanup), (gst_element_register),
23596         (__gst_element_factory_add_static_pad_template),
23597         (gst_element_factory_get_static_pad_templates),
23598         (gst_element_factory_can_src_caps),
23599         (gst_element_factory_can_sink_caps):
23600         * gst/registries/Makefile.am:
23601         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23602         (gst_xml_registry_class_init), (gst_xml_registry_init),
23603         (gst_xml_registry_new), (gst_xml_registry_set_property),
23604         (gst_xml_registry_get_property), (get_time), (make_dir),
23605         (gst_xml_registry_get_perms_func),
23606         (plugin_times_older_than_recurse), (plugin_times_older_than),
23607         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23608         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23609         (add_to_char_array), (read_string), (read_uint), (read_enum),
23610         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23611         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23612         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23613         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23614         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23615         (gst_xml_registry_rebuild):
23616         * gst/registries/gstlibxmlregistry.h:
23617         * tools/gst-compprep.c: (main):
23618         * tools/gst-inspect.c: (print_pad_templates_info):
23619         * tools/gst-xmlinspect.c: (print_element_info):
23620           Use libxml2 for registry parsing, use staticpadtemplates in
23621           elementfactories. Makes gst_init() +/- 10x faster.
23622
23623 2005-04-12  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/base/Makefile.am:
23626         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23627         (gst_basesink_pad_getcaps), (gst_basesink_init),
23628         (gst_basesink_event), (gst_basesink_change_state):
23629         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23630         (gst_basesrc_init), (gst_basesrc_query),
23631         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23632         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23633         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23634         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23635         (gst_basesrc_stop), (gst_basesrc_activate),
23636         (gst_basesrc_change_state):
23637         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23638         (helper_find_suggest), (gst_type_find_helper):
23639         * gst/base/gsttypefindhelper.h:
23640         * gst/elements/Makefile.am:
23641         * gst/elements/gstelements.c:
23642         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23643         (gst_fakesink_get_times), (gst_fakesink_event),
23644         (gst_fakesink_preroll), (gst_fakesink_render):
23645         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23646         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23647         (gst_fakesrc_get_property), (gst_fakesrc_create),
23648         (gst_fakesrc_start), (gst_fakesrc_stop):
23649         * gst/elements/gstfakesrc.h:
23650         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23651         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23652         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23653         (gst_filesrc_create_read), (gst_filesrc_create),
23654         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23655         (gst_filesrc_start):
23656         * gst/elements/gsttypefindelement.c:
23657         (gst_type_find_element_have_type), (gst_type_find_element_init),
23658         (start_typefinding), (stop_typefinding), (push_buffer_store),
23659         (gst_type_find_element_handle_event),
23660         (gst_type_find_element_chain),
23661         (gst_type_find_element_checkgetrange),
23662         (gst_type_find_element_getrange), (do_typefind),
23663         (gst_type_find_element_activate),
23664         (gst_type_find_element_change_state):
23665         * gst/elements/gsttypefindelement.h:
23666         * gst/gstpipeline.c: (pipeline_bus_handler):
23667         Added typefind helper.
23668         Small preroll fix in the base sink.
23669         Disable typefind code in basesrc.
23670         Crude port of typefindelement.
23671         Fakesrc cleanups.
23672
23673
23674 2005-04-11  Wim Taymans  <wim@fluendo.com>
23675
23676         * check/gst/gstbus.c: (gstbus_suite):
23677         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23678         * check/gstcheck.h:
23679           Fix up the timeout so that the test does not fail.
23680
23681 2005-04-06  Wim Taymans  <wim@fluendo.com>
23682
23683         * gst/base/README:
23684         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23685         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23686         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23687         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23688         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23689         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23690         (gst_basesrc_stop), (gst_basesrc_activate),
23691         (gst_basesrc_change_state), (basesrc_find_peek),
23692         (basesrc_find_suggest), (gst_basesrc_type_find):
23693         * gst/base/gstbasesrc.h:
23694         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23695         (gst_filesrc_class_init), (gst_filesrc_init),
23696         (gst_filesrc_finalize), (gst_filesrc_set_location),
23697         (gst_filesrc_set_property), (gst_filesrc_get_property),
23698         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23699         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23700         (gst_filesrc_create_read), (gst_filesrc_create),
23701         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23702         * gst/elements/gstfilesrc.h:
23703         * gst/gstelement.c: (gst_element_get_state_func),
23704         (gst_element_lost_state), (gst_element_pads_activate):
23705         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23706         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23707         (gst_pad_pull_range):
23708         * gst/gstpad.h:
23709         More work on the generic source base class, implement seeking,
23710         query.
23711         Make filesrc extend the base source class.
23712         Added gst_pad_set_checkgetrange_function to GstPad.
23713
23714 2005-04-06  Andy Wingo  <wingo@pobox.com>
23715
23716         * pkgconfig/gstreamer-base.pc.in:
23717         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23718
23719         * pkgconfig/Makefile.am:
23720         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23721
23722 2005-04-04  Wim Taymans  <wim@fluendo.com>
23723
23724         * gst/base/Makefile.am:
23725         * gst/base/README:
23726         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23727         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23728         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23729         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23730         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23731         (gst_basesrc_base_init), (gst_basesrc_class_init),
23732         (gst_basesrc_init), (gst_basesrc_get_formats),
23733         (gst_basesrc_get_query_types), (gst_basesrc_query),
23734         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23735         (gst_basesrc_set_property), (gst_basesrc_get_property),
23736         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23737         (gst_basesrc_loop), (gst_basesrc_activate),
23738         (gst_basesrc_change_state):
23739         * gst/base/gstbasesrc.h:
23740         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23741         (gst_fakesrc_class_init), (gst_fakesrc_init),
23742         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23743         (gst_fakesrc_get_property), (gst_fakesrc_create):
23744         * gst/elements/gstfakesrc.h:
23745         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23746         (gst_filesrc_open_file), (gst_filesrc_loop),
23747         (gst_filesrc_activate), (filesrc_find_peek),
23748         (gst_filesrc_type_find):
23749         Made base source class, make fakesrc extend it.
23750         Add comments to basesink class.
23751         Some filesrc cleanup.
23752
23753 2005-03-31  David Schleef  <ds@schleef.org>
23754
23755         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23756         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23757         expected to link against libgstreamer.
23758         * gst/base/Makefile.am: link against libgstreamer
23759         * gst/elements/Makefile.am: same
23760
23761 2005-03-31  Andy Wingo  <wingo@pobox.com>
23762
23763         * tests/instantiate/Makefile.am:
23764         * tests/instantiate/caps.c: Add test to test speed of caps copy
23765         and free.
23766
23767         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23768         GMemChunk to be fair.
23769
23770         * gst/gsttrashstack.h: Remove warning about using the fallback
23771         trash stack implementation, it's still faster than malloc.
23772
23773 2005-03-30  Andy Wingo  <wingo@pobox.com>
23774
23775         * tests/complexity.c: Add a copyright.
23776
23777 2005-03-31  Wim Taymans  <wim@fluendo.com>
23778
23779         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23780         (gst_base_transform_class_init), (gst_base_transform_init),
23781         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23782         (gst_base_transform_get_property),
23783         (gst_base_transform_sink_activate),
23784         (gst_base_transform_src_activate),
23785         (gst_base_transform_change_state):
23786         * gst/base/gstbasetransform.h:
23787         * gst/elements/gstidentity.c: (gst_identity_class_init),
23788         (gst_identity_event), (gst_identity_check_perfect),
23789         (gst_identity_transform), (gst_identity_start),
23790         (gst_identity_stop):
23791         Added start/stop methods to transform base class so subclasses 
23792         don't need to deal with state changes even.
23793
23794 2005-03-31  Wim Taymans  <wim@fluendo.com>
23795
23796         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23797         (gst_event_new_discontinuous), (gst_event_discont_get_value):
23798         * gst/gstevent.h:
23799         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23800         (gst_pad_pull_range):
23801         Added rate to the discont event to prepare for variable speed
23802         and reverse playback.
23803
23804 2005-03-29  David Schleef  <ds@schleef.org>
23805
23806         * configure.ac:
23807         * testsuite/trigger/Makefile.am:
23808         * testsuite/trigger/trigger.c: A little example program to show
23809         how trigger-based elements can work.
23810
23811 2005-03-29  Wim Taymans  <wim@fluendo.com>
23812
23813         * gst/base/Makefile.am:
23814         * gst/base/README:
23815         * gst/base/gstbasesink.c: (gst_basesink_get_type),
23816         (gst_basesink_base_init), (gst_basesink_class_init),
23817         (gst_basesink_pad_getcaps), (gst_basesink_init),
23818         (gst_basesink_activate), (gst_basesink_change_state):
23819         * gst/base/gstbasesink.h:
23820         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23821         (gst_base_transform_base_init), (gst_base_transform_finalize),
23822         (gst_base_transform_class_init), (gst_base_transform_init),
23823         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23824         (gst_base_transform_event), (gst_base_transform_getrange),
23825         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23826         (gst_base_transform_set_property),
23827         (gst_base_transform_get_property),
23828         (gst_base_transform_sink_activate),
23829         (gst_base_transform_src_activate),
23830         (gst_base_transform_change_state):
23831         * gst/base/gstbasetransform.h:
23832         * gst/elements/gstidentity.c: (gst_identity_finalize),
23833         (gst_identity_class_init), (gst_identity_init),
23834         (gst_identity_event), (gst_identity_check_perfect),
23835         (gst_identity_transform), (gst_identity_set_property),
23836         (gst_identity_get_property), (gst_identity_change_state):
23837         * gst/elements/gstidentity.h:
23838         * gst/gstelement.c: (gst_element_get_state_func),
23839         (gst_element_lost_state), (gst_element_pads_activate):
23840         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23841         (gst_pad_check_pull_range), (gst_pad_pull_range):
23842         * gst/gstpad.h:
23843         Simplify pad activation.
23844         Added function to check if pull_range can be performed.
23845         Error out when pulling inactive or flushing pads.
23846         Removed const from refcounted types as it does not make sense.
23847         Simplify pad templates in basesink
23848         Added base class for simple 1-to-1 transforms.
23849         Make identity subclass the base transform.
23850
23851 2005-03-29  Andy Wingo  <wingo@pobox.com>
23852
23853         * docs/libs/gstreamer-libs-overrides.txt: 
23854         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23855         really don't understand what's going on, but like whatever. I want
23856         green buildbot!
23857
23858         * docs/gst/Makefile.am:
23859         * docs/libs/Makefile.am: Dist the overrides files.
23860
23861         * check/Makefile.am (clean-local): Remove .libs directories.
23862
23863         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23864         elements to EXTRA_DIST, so po/ files are happy.
23865
23866         * po/POTFILES.in: Er, remove it here.
23867
23868         * po/POTFILES: Remove gstspider.c.
23869
23870         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23871
23872         * docs/libs/gstreamer-libs-docs.sgml: 
23873         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23874         bytestream.
23875
23876         * tests/complexity.c (main): Set the length of the preroll queue
23877         on the sinks to prevent a lockup.
23878
23879         * libs/gst/dataprotocol/Makefile.am: 
23880         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23881         the same as the one in check/gst-libs/gdp.c.
23882
23883         * po/, docs/gst/: Commit automatic changes to docs and po files.
23884
23885         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23886         the versioned libgstbase.
23887
23888         * check/Makefile.am: Depend on an unversioned gst-register, seems
23889         to make autoconf happier.
23890
23891         * gst/base/Makefile.am: Make libgstbase a versioned lib.
23892
23893 2005-03-28  Wim Taymans  <wim@fluendo.com>
23894
23895         * configure.ac:
23896         * docs/design/part-gstelement.txt:
23897         * docs/design/part-negotiation.txt:
23898         * docs/design/part-preroll.txt:
23899         * docs/design/part-scheduling.txt:
23900         * docs/design/part-states.txt:
23901         * gst/Makefile.am:
23902         * gst/base/Makefile.am:
23903         * gst/base/README:
23904         * gst/base/gstbasesink.c: (gst_basesink_get_template),
23905         (gst_basesink_base_init), (gst_basesink_class_init),
23906         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23907         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23908         (gst_basesink_set_pad_functions),
23909         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23910         (gst_basesink_set_property), (gst_basesink_get_property),
23911         (gst_base_sink_get_template), (gst_base_sink_get_caps),
23912         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23913         (gst_basesink_preroll_queue_push),
23914         (gst_basesink_preroll_queue_empty),
23915         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23916         (gst_basesink_event), (gst_basesink_get_times),
23917         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23918         (gst_basesink_chain_unlocked), (gst_basesink_chain),
23919         (gst_basesink_loop), (gst_basesink_activate),
23920         (gst_basesink_change_state):
23921         * gst/base/gstbasesink.h:
23922         * gst/elements/Makefile.am:
23923         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23924         (gst_fakesink_class_init), (gst_fakesink_init),
23925         (gst_fakesink_set_property), (gst_fakesink_get_property),
23926         (gst_fakesink_get_times), (gst_fakesink_event),
23927         (gst_fakesink_preroll), (gst_fakesink_render),
23928         (gst_fakesink_change_state):
23929         * gst/elements/gstfakesink.h:
23930         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23931         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23932         * gst/gstelement.c: (gst_element_add_pad),
23933         (gst_element_get_state_func), (gst_element_abort_state),
23934         (gst_element_commit_state), (gst_element_lost_state),
23935         (gst_element_set_state), (gst_element_pads_activate):
23936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23937         * gst/gstpipeline.c: (gst_pipeline_send_event),
23938         (gst_pipeline_change_state):
23939         Added state change code.
23940         Added/updated docs.
23941         Added sink base class, make fakesink extend the base class.
23942         Small cleanups in GstPipeline.
23943
23944 2005-03-26  David Schleef  <ds@schleef.org>
23945
23946         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
23947         is broken and should be implemented in a different library.
23948         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23949         * gst/gst.h: remove gstcpu.h
23950         * gst/gstcpu.c: remove
23951         * gst/gstcpu.h: remove
23952         * gst/Makefile.am.future: Remove this file.  It's ancient.
23953
23954 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23955
23956         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23957         (gst_bin_send_event):
23958           Add default event/set_manager handlers. The set_manager handler
23959           takes care that the manager is distributed over kids that were
23960           already in the bin before the manager was set. The event handler
23961           is a utility virtual function that sends the event over all sinks,
23962           so that gst_element_send_event (bin, event); has the expected
23963           behaviour.
23964         * gst/gstpad.c: (gst_pad_event_default):
23965           Re-install default event handling for discontinuities, so that
23966           seeking works without requiring hacks in applications or extra
23967           code in sinks.
23968         * gst/gstpipeline.c: (gst_pipeline_class_init),
23969         (gst_pipeline_send_event):
23970           Half hack, half utility: set a pipeline to PAUSED for seek events,
23971           since that is the only way we can guarantee a/v sync. Means that
23972           you can do gst_element_seek (pipeline, method, pos); on a pipeline
23973           and it "just works".
23974
23975 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23976
23977         * gst/gstpipeline.c: (gst_pipeline_use_clock):
23978           Lock/unlock mismatch.
23979
23980 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23981
23982         * docs/faq/gst-uninstalled:
23983           add gst-plugins-base
23984         * docs/gst/Makefile.am:
23985           don't error out until docs are fixed
23986         * docs/gst/gstreamer.types:
23987           remove thread
23988
23989 2005-03-22  Wim Taymans  <wim@fluendo.com>
23990
23991         * check/Makefile.am:
23992         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23993         * gst/gststructure.c: (gst_structure_set_valist),
23994         (gst_structure_copy_conditional):
23995         Activated more tests.
23996         Added message test.
23997         Added G_TYPE_POINTER to GstStructure.
23998         
23999
24000 2005-03-22  Wim Taymans  <wim@fluendo.com>
24001
24002         * docs/design/part-TODO.txt:
24003         * docs/design/part-events.txt:
24004         * docs/design/part-gstbin.txt:
24005         * docs/design/part-gstbus.txt:
24006         * docs/design/part-gstpipeline.txt:
24007         * docs/design/part-messages.txt:
24008         * gst/gstbus.c:
24009         * gst/gstmessage.c:
24010         Docs updates
24011
24012 2005-03-21  Wim Taymans  <wim@fluendo.com>
24013
24014         * gst/gstbus.c: (gst_bus_post):
24015         Fix copy-and-paste error.
24016
24017 2005-03-21  Wim Taymans  <wim@fluendo.com>
24018
24019         * check/Makefile.am:
24020         * gst/Makefile.am:
24021         * gst/elements/Makefile.am:
24022         * gst/elements/gstelements.c:
24023         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24024         (gst_fakesink_event), (gst_fakesink_chain):
24025         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24026         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24027         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24028         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24029         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24030         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24031         (gst_fakesrc_loop), (gst_fakesrc_activate),
24032         (gst_fakesrc_change_state):
24033         * gst/elements/gstfakesrc.h:
24034         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24035         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24036         (gst_filesrc_open_file), (gst_filesrc_loop),
24037         (gst_filesrc_activate), (gst_filesrc_change_state),
24038         (filesrc_find_peek), (filesrc_find_suggest),
24039         (gst_filesrc_type_find):
24040         * gst/elements/gstidentity.c: (gst_identity_finalize),
24041         (gst_identity_class_init), (gst_identity_init),
24042         (gst_identity_proxy_getcaps), (identity_queue_push),
24043         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24044         (gst_identity_getrange), (gst_identity_chain),
24045         (gst_identity_sink_loop), (gst_identity_src_loop),
24046         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24047         (gst_identity_set_property), (gst_identity_get_property),
24048         (gst_identity_change_state):
24049         * gst/elements/gstidentity.h:
24050         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24051         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24052         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24053         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24054         (gst_tee_sink_activate):
24055         * gst/elements/gsttee.h:
24056         * gst/gst.c: (gst_register_core_elements), (init_post):
24057         * gst/gst.h:
24058         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24059         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24060         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24061         (gst_bin_change_state):
24062         * gst/gstbin.h:
24063         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24064         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24065         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24066         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24067         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24068         (bus_watch_callback), (bus_watch_destroy),
24069         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24070         (poll_timeout), (gst_bus_poll):
24071         * gst/gstbus.h:
24072         * gst/gstcaps.h:
24073         * gst/gstdata.h:
24074         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24075         (gst_element_post_message), (gst_element_message_full),
24076         (gst_element_get_state_func), (gst_element_get_state),
24077         (gst_element_abort_state), (gst_element_commit_state),
24078         (gst_element_lost_state), (gst_element_set_state),
24079         (gst_element_pads_activate), (gst_element_change_state),
24080         (gst_element_dispose), (gst_element_set_manager_func),
24081         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24082         (gst_element_set_manager), (gst_element_get_manager),
24083         (gst_element_set_bus), (gst_element_get_bus),
24084         (gst_element_set_scheduler), (gst_element_get_scheduler):
24085         * gst/gstelement.h:
24086         * gst/gstevent.c: (gst_event_new_segment_seek),
24087         (gst_event_new_flush):
24088         * gst/gstevent.h:
24089         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24090         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24091         (gst_message_new_eos), (gst_message_new_error),
24092         (gst_message_new_warning), (gst_message_new_tag),
24093         (gst_message_new_state_changed), (gst_message_new_application),
24094         (gst_message_get_structure), (gst_message_parse_tag),
24095         (gst_message_parse_state_changed), (gst_message_parse_error),
24096         (gst_message_parse_warning):
24097         * gst/gstmessage.h:
24098         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24099         (gst_real_pad_set_property), (gst_pad_set_active),
24100         (gst_pad_is_active), (gst_pad_set_blocked_async),
24101         (gst_pad_set_blocked), (gst_pad_is_blocked),
24102         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24103         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24104         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24105         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24106         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24107         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24108         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24109         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24110         (gst_pad_set_caps), (gst_pad_configure_sink),
24111         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24112         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24113         (gst_real_pad_dispose), (gst_real_pad_finalize),
24114         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24115         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24116         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24117         * gst/gstpad.h:
24118         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24119         (pipeline_bus_handler), (gst_pipeline_change_state),
24120         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24121         * gst/gstpipeline.h:
24122         * gst/gstprobe.h:
24123         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24124         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24125         (gst_queue_link_src), (gst_queue_bufferalloc),
24126         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24127         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24128         (gst_queue_loop), (gst_queue_handle_src_event),
24129         (gst_queue_handle_src_query), (gst_queue_src_activate),
24130         (gst_queue_change_state):
24131         * gst/gstqueue.h:
24132         * gst/gstscheduler.c: (gst_scheduler_init),
24133         (gst_scheduler_dispose), (gst_scheduler_create_task),
24134         (gst_scheduler_factory_create):
24135         * gst/gstscheduler.h:
24136         * gst/gststructure.c: (gst_structure_get_type),
24137         (gst_structure_copy_conditional):
24138         * gst/gststructure.h:
24139         * gst/gsttaginterface.h:
24140         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24141         (gst_task_init), (gst_task_dispose), (gst_task_create),
24142         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24143         (gst_task_pause):
24144         * gst/gsttask.h:
24145         * gst/gstthread.c:
24146         * gst/gstthread.h:
24147         * gst/gsttypes.h:
24148         * gst/schedulers/Makefile.am:
24149         * gst/schedulers/cothreads_compat.h:
24150         * gst/schedulers/entryscheduler.c:
24151         * gst/schedulers/faircothreads.c:
24152         * gst/schedulers/faircothreads.h:
24153         * gst/schedulers/fairscheduler.c:
24154         * gst/schedulers/gstbasicscheduler.c:
24155         * gst/schedulers/gstoptimalscheduler.c:
24156         * gst/schedulers/gthread-cothreads.h:
24157         * gst/schedulers/threadscheduler.c:
24158         (gst_thread_scheduler_task_get_type),
24159         (gst_thread_scheduler_task_class_init),
24160         (gst_thread_scheduler_task_init),
24161         (gst_thread_scheduler_task_start),
24162         (gst_thread_scheduler_task_stop),
24163         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24164         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24165         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24166         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24167         (plugin_init):
24168         * libs/gst/Makefile.am:
24169         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24170         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24171         (gst_file_pad_parent_set):
24172         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24173         (gst_dp_event_from_packet):
24174         * tests/complexity.c: (main):
24175         * tests/mass_elements.c: (main):
24176         * testsuite/states/locked.c: (message_received), (main):
24177         * testsuite/states/parent.c: (main):
24178         * tools/gst-inspect.c: (print_element_flag_info),
24179         (print_implementation_info), (print_pad_info):
24180         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24181         (main):
24182         * tools/gst-md5sum.c: (event_loop), (main):
24183         * tools/gst-typefind.c: (main):
24184         * tools/gst-xmlinspect.c: (print_element_info):
24185         Next big merge.
24186         Added GstBus for mainloop integration.
24187         Added GstMessage for sending notifications on the bus.
24188         Added GstTask as an abstraction for pipeline entry points.
24189         Removed GstThread.
24190         Removed Schedulers.
24191         Simplified GstQueue for multithreaded core.
24192         Made _link threadsafe, removed old capsnego.
24193         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24194         Added pad blocking functions.
24195         Reworked scheduling functions in GstPad to prepare for
24196         scheduling updates soon.
24197         Moved events out of data stream.
24198         Simplified GstEvent types.
24199         Added return values to push/pull.
24200         Removed clocking from GstElement.
24201         Added prototypes for state change function for next merge.
24202         Removed iterate from bins and state change management.
24203         Fixed some elements, disabled others for now.
24204         Fixed -inspect and -launch.
24205         Added check for GstBus.
24206
24207 2005-03-10  Wim Taymans  <wim@fluendo.com>
24208
24209         * docs/design/part-MT-refcounting.txt:
24210         * docs/design/part-clocks.txt:
24211         * docs/design/part-gstelement.txt:
24212         * docs/design/part-gstobject.txt:
24213         * docs/design/part-standards.txt:
24214         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24215         (gst_bin_remove_func), (gst_bin_remove):
24216         * gst/gstbin.h:
24217         * gst/gstbuffer.c:
24218         * gst/gstcaps.h:
24219         * testsuite/clock/clock1.c: (main):
24220         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24221         (main):
24222         * testsuite/dlopen/loadgst.c: (do_test):
24223         * testsuite/refcounting/bin.c: (add_remove_test1),
24224         (add_remove_test2), (main):
24225         * testsuite/refcounting/element.c: (main):
24226         * testsuite/refcounting/element_pad.c: (main):
24227         * testsuite/refcounting/pad.c: (main):
24228         * tools/gst-launch.c: (sigint_handler_sighandler):
24229         * tools/gst-typefind.c: (main):
24230         Doc updates.
24231         Added doc about clock.
24232         removed gst_bin_iterate_recurse_up(), marked methods
24233         for removal.
24234         Fix more testsuites.
24235
24236 2005-03-09  Wim Taymans  <wim@fluendo.com>
24237
24238         * gst/gstpad.c: (gst_pad_get_direction),
24239         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24240         (gst_pad_collect_valist):
24241         * testsuite/bins/interface.c: (main):
24242         * testsuite/caps/audioscale.c: (test_caps):
24243         * testsuite/caps/caps.c: (test1), (test2), (test3):
24244         * testsuite/caps/deserialize.c: (main):
24245         * testsuite/caps/enumcaps.c: (main):
24246         * testsuite/caps/filtercaps.c: (main):
24247         * testsuite/caps/intersect2.c: (main):
24248         * testsuite/caps/random.c: (main):
24249         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24250         * testsuite/caps/sets.c: (check_caps):
24251         * testsuite/caps/simplify.c: (check_caps), (main):
24252         * testsuite/caps/subtract.c: (check_caps):
24253         Fix _pad_get_direction wrt ghostpads.
24254         Fix caps testsuite.
24255
24256 2005-03-09  Wim Taymans  <wim@fluendo.com>
24257
24258         * check/Makefile.am:
24259         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24260         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24261         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24262         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24263         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24264         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24265         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24266         (bin_element_is_sink), (gst_bin_iterate_sinks),
24267         (gst_bin_iterate_all_by_interface):
24268         * gst/gstbin.h:
24269         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24270         (gst_element_change_state), (gst_element_dispose),
24271         (gst_element_finalize), (gst_element_set_loop_function):
24272         * gst/gstelement.h:
24273         * gst/gstiterator.c: (find_custom_fold_func):
24274         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24275         (gst_pad_collectv), (gst_pad_collect_valist),
24276         (gst_pad_template_new):
24277         * gst/gstpipeline.c: (gst_pipeline_class_init),
24278         (gst_pipeline_dispose), (gst_pipeline_set_property),
24279         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24280         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24281         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24282         * gst/gstutils.h:
24283         * gst/schedulers/entryscheduler.c:
24284         * gst/schedulers/gstbasicscheduler.c:
24285         (gst_basic_scheduler_cothreaded_chain),
24286         (gst_basic_scheduler_chain_add_element):
24287         * testsuite/bins/interface.c: (main):
24288         Added GstBin test.
24289         Added GstSystemClock test.
24290         Implemented clock distribution code in GstBin.
24291         Implemented iterate sinks method for future use.
24292         Rearranged gstelement.h
24293         Fix GstIterator comparison bug.
24294         Moved some code to GstPipeline, mostly clocking related.
24295
24296 2005-03-09  Wim Taymans  <wim@fluendo.com>
24297
24298         * configure.ac:
24299         * gst/gst_private.h:
24300         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24301         (gst_bin_remove_func), (gst_bin_remove),
24302         (gst_bin_get_by_name_recurse_up):
24303         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24304         (gst_clock_id_compare_func), (gst_clock_id_wait),
24305         (gst_clock_id_wait_async), (gst_clock_init),
24306         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24307         * gst/gstelement.h:
24308         * gst/gstinfo.c: (_gst_debug_init):
24309         * gst/gstobject.h:
24310         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24311         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24312         * gst/gstpad.h:
24313         Bump version number, we're now 0.9.0
24314         Add future debugging category.
24315         Fix NULL _unref() in _get_by_name_recurse_up
24316         Rearrange gstpad.h.
24317         Update some docs.
24318
24319 2005-03-08  Wim Taymans  <wim@fluendo.com>
24320
24321         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24322         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24323         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24324         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24325         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24326         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24327         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24328         * gst/elements/gstidentity.c: (gst_identity_class_init):
24329         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24330         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24331         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24332         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24333         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24334         (gst_tee_link):
24335         * gst/gstelement.c: (gst_element_class_init),
24336         (gst_element_base_class_init), (gst_element_init),
24337         (gst_element_get_random_pad), (gst_element_wait_state_change),
24338         (gst_element_change_state), (gst_element_dispose),
24339         (gst_element_finalize), (gst_element_set_loop_function):
24340         * gst/gstelement.h:
24341         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24342         * gst/gstthread.c: (gst_thread_class_init),
24343         (gst_thread_release_children_locks), (gst_thread_change_state):
24344         * gst/schedulers/gstbasicscheduler.c:
24345         (gst_basic_scheduler_loopfunc_wrapper),
24346         (gst_basic_scheduler_chain_wrapper),
24347         (gst_basic_scheduler_src_wrapper),
24348         (gst_basic_scheduler_remove_element):
24349         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24350         Remove threadsafe properties. Fix elements because GObject
24351         complains when installing a property before declaring a
24352         set/get_property handler.
24353         Rearrange gstelement.h file, use STATE macros for state locks.
24354         Free mutexes in the finalize method instead of dispose.
24355
24356 2005-03-08  Wim Taymans  <wim@fluendo.com>
24357
24358         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24359         * gst/gstthread.c: (gst_thread_release_children_locks):
24360         Added parentage check.
24361         Fix build og GstThread again.
24362
24363 2005-03-08  Wim Taymans  <wim@fluendo.com>
24364
24365         * docs/design/part-MT-refcounting.txt:
24366         * docs/design/part-conventions.txt:
24367         * docs/design/part-gstobject.txt:
24368         * docs/design/part-relations.txt:
24369         * docs/design/part-standards.txt:
24370         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24371         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24372         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24373         (gst_bin_iterate_all_by_interface):
24374         * gst/gstbuffer.h:
24375         * gst/gstclock.h:
24376         * gst/gstelement.c: (gst_element_class_init),
24377         (gst_element_change_state), (gst_element_set_loop_function):
24378         * gst/gstelement.h:
24379         * gst/gstiterator.c:
24380         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24381         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24382         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24383         (gst_object_set_parent), (gst_object_unparent),
24384         (gst_object_check_uniqueness):
24385         * gst/gstobject.h:
24386         Docs updates, clean up some headers.
24387
24388 2005-03-07  Wim Taymans  <wim@fluendo.com>
24389
24390         * check/.cvsignore:
24391         * check/Makefile.am:
24392         * check/gst-libs/.cvsignore:
24393         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24394         * check/gst/.cvsignore:
24395         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24396         (START_TEST), (gstbus_suite), (main):
24397         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24398         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24399         (gst_data_suite), (main):
24400         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24401         (add_fold_func), (gstiterator_suite), (main):
24402         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24403         (thread_name_object), (thread_name_object_default),
24404         (gst_object_name_compare), (gst_object_suite), (main):
24405         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24406         (gst_pad_suite), (main):
24407         * check/gstcheck.c: (gst_check_log_message_func),
24408         (gst_check_log_critical_func), (gst_check_init):
24409         * check/gstcheck.h:
24410         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24411         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24412         Added checks.
24413
24414 2005-03-07  Wim Taymans  <wim@fluendo.com>
24415
24416         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24417         (gst_list_iterator_next), (gst_list_iterator_resync),
24418         (gst_list_iterator_free), (gst_iterator_new_list),
24419         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24420         (gst_iterator_free), (gst_iterator_push), (filter_next),
24421         (filter_resync), (filter_uninit), (filter_free),
24422         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24423         (gst_iterator_foreach), (find_custom_fold_func),
24424         (gst_iterator_find_custom):
24425         * gst/gstiterator.h:
24426         Added missing files.
24427
24428 2005-03-07  Wim Taymans  <wim@fluendo.com>
24429
24430         * Makefile.am:
24431         * configure.ac:
24432         * docs/design/part-MT-refcounting.txt:
24433         * docs/design/part-conventions.txt:
24434         * docs/design/part-gstobject.txt:
24435         * docs/design/part-relations.txt:
24436         * examples/mixer/mixer.c: (main):
24437         * examples/thread/thread.c: (eos), (main):
24438         * gst/Makefile.am:
24439         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24440         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24441         (gst_spider_plug_from_srcpad):
24442         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24443         (gst_spider_identity_change_state),
24444         (gst_spider_identity_sink_loop_type_finding):
24445         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24446         * gst/elements/gstidentity.c: (gst_identity_init):
24447         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24448         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24449         * gst/elements/gsttypefindelement.c: (free_entry):
24450         * gst/gst.c:
24451         * gst/gst.h:
24452         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24453         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24454         (gst_bin_set_index), (gst_bin_set_element_sched),
24455         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24456         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24457         (gst_bin_iterate_elements), (iterate_child_recurse),
24458         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24459         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24460         (compare_interface), (gst_bin_get_by_interface),
24461         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24462         * gst/gstbin.h:
24463         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24464         (gst_buffer_default_free), (gst_buffer_default_copy),
24465         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24466         (gst_buffer_create_sub):
24467         * gst/gstbuffer.h:
24468         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24469         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24470         (gst_caps_unref), (gst_static_caps_get),
24471         (gst_caps_remove_and_get_structure), (gst_caps_append),
24472         (gst_caps_append_structure), (gst_caps_remove_structure),
24473         (gst_caps_copy_nth), (gst_caps_set_simple),
24474         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24475         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24476         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24477         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24478         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24479         (gst_caps_structure_figure_out_union),
24480         (gst_caps_switch_structures), (gst_caps_do_simplify),
24481         (gst_caps_replace), (gst_caps_from_string),
24482         (gst_caps_copy_conditional):
24483         * gst/gstcaps.h:
24484         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24485         (_gst_clock_id_free), (gst_clock_id_unref),
24486         (gst_clock_id_compare_func), (gst_clock_id_wait),
24487         (gst_clock_id_wait_async), (gst_clock_class_init),
24488         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24489         (gst_clock_get_time), (gst_clock_set_time_adjust),
24490         (gst_clock_set_property), (gst_clock_get_property):
24491         * gst/gstclock.h:
24492         * gst/gstcompat.h:
24493         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24494         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24495         * gst/gstdata.h:
24496         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24497         (gst_element_requires_clock), (gst_element_provides_clock),
24498         (gst_element_set_clock), (gst_element_clock_wait),
24499         (gst_element_wait), (gst_element_set_time_delay),
24500         (gst_element_is_indexable), (gst_element_add_pad),
24501         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24502         (pad_compare_name), (gst_element_get_static_pad),
24503         (gst_element_request_pad), (gst_element_get_request_pad),
24504         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24505         (gst_element_class_get_pad_template_list),
24506         (gst_element_class_get_pad_template), (gst_element_error_func),
24507         (gst_element_get_random_pad), (gst_element_get_event_masks),
24508         (gst_element_send_event), (gst_element_seek),
24509         (gst_element_get_query_types), (gst_element_query),
24510         (gst_element_get_formats), (gst_element_convert),
24511         (gst_element_is_locked_state), (gst_element_set_locked_state),
24512         (gst_element_sync_state_with_parent), (gst_element_change_state),
24513         (gst_element_finalize), (gst_element_yield),
24514         (gst_element_interrupt), (gst_element_set_scheduler),
24515         (gst_element_get_scheduler), (gst_element_set_loop_function):
24516         * gst/gstelement.h:
24517         * gst/gstevent.h:
24518         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24519         (gst_format_get_by_nick), (gst_format_get_details),
24520         (gst_format_iterate_definitions):
24521         * gst/gstformat.h:
24522         * gst/gstindex.c: (gst_index_gtype_resolver):
24523         * gst/gstinfo.c:
24524         * gst/gstinfo.h:
24525         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24526         (gst_mem_chunk_free):
24527         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24528         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24529         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24530         (gst_object_dispatch_properties_changed),
24531         (gst_object_set_name_default), (gst_object_set_name),
24532         (gst_object_get_name), (gst_object_set_name_prefix),
24533         (gst_object_get_name_prefix), (gst_object_set_parent),
24534         (gst_object_get_parent), (gst_object_unparent),
24535         (gst_object_check_uniqueness), (gst_object_save_thyself),
24536         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24537         (gst_object_set_property), (gst_object_get_property),
24538         (gst_object_get_path_string):
24539         * gst/gstobject.h:
24540         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24541         (gst_real_pad_init), (gst_real_pad_get_property),
24542         (gst_pad_custom_new), (gst_pad_get_direction),
24543         (gst_pad_set_active), (gst_pad_is_active),
24544         (gst_pad_set_event_function), (gst_pad_is_linked),
24545         (gst_pad_link_free), (gst_pad_link_intersect),
24546         (gst_pad_link_fixate), (gst_pad_set_caps),
24547         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24548         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24549         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24550         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24551         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24552         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24553         (gst_pad_realize), (gst_pad_get_allowed_caps),
24554         (gst_real_pad_dispose), (gst_real_pad_finalize),
24555         (gst_pad_collectv), (gst_pad_collect_valist),
24556         (gst_pad_template_dispose), (gst_pad_template_new),
24557         (gst_pad_get_internal_links):
24558         * gst/gstpad.h:
24559         * gst/gstpipeline.c: (gst_pipeline_dispose),
24560         (gst_pipeline_change_state):
24561         * gst/gstpipeline.h:
24562         * gst/gstplugin.c:
24563         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24564         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24565         * gst/gstpluginfeature.h:
24566         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24567         * gst/gstquery.c: (_gst_query_type_initialize),
24568         (gst_query_type_register), (gst_query_type_get_by_nick),
24569         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24570         * gst/gstquery.h:
24571         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24572         * gst/gstscheduler.c: (gst_scheduler_add_element),
24573         (gst_scheduler_factory_create):
24574         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24575         (gst_structure_free), (gst_structure_set_name),
24576         (gst_structure_id_set_value), (gst_structure_set_value),
24577         (gst_structure_set_valist), (gst_structure_remove_field),
24578         (gst_structure_remove_fields),
24579         (gst_structure_remove_fields_valist),
24580         (gst_structure_remove_all_fields), (gst_structure_foreach),
24581         (gst_structure_map_in_place),
24582         (gst_caps_structure_fixate_field_nearest_int),
24583         (gst_caps_structure_fixate_field_nearest_double):
24584         * gst/gststructure.h:
24585         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24586         (gst_system_clock_init), (gst_system_clock_dispose),
24587         (gst_system_clock_async_thread),
24588         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24589         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24590         * gst/gstsystemclock.h:
24591         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24592         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24593         * gst/gsttaginterface.c:
24594         * gst/gstthread.c: (gst_thread_dispose),
24595         (gst_thread_release_children_locks), (gst_thread_change_state),
24596         (gst_thread_main_loop):
24597         * gst/gsttrashstack.h:
24598         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24599         * gst/gsttypes.h:
24600         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24601         (gst_element_request_pad), (gst_element_get_pad_from_template),
24602         (gst_element_request_compatible_pad),
24603         (gst_element_get_compatible_pad_filtered),
24604         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24605         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24606         (gst_element_link_many), (gst_element_link),
24607         (gst_element_link_pads), (gst_element_unlink_pads),
24608         (gst_element_unlink_many), (gst_element_unlink),
24609         (gst_pad_can_link_filtered), (gst_pad_can_link),
24610         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24611         (gst_object_default_error), (gst_bin_add_many),
24612         (gst_bin_remove_many), (gst_element_populate_std_props),
24613         (gst_element_class_install_std_props), (gst_buffer_merge),
24614         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24615         (link_fold_func), (gst_pad_proxy_setcaps):
24616         * gst/gstutils.h:
24617         * gst/gstvalue.c: (gst_value_deserialize_string):
24618         * gst/parse/grammar.y:
24619         * gst/schedulers/gstbasicscheduler.c:
24620         (gst_basic_scheduler_cothreaded_chain),
24621         (gst_basic_scheduler_chain_recursive_add),
24622         (gst_basic_scheduler_pad_link):
24623         * gst/schedulers/gstoptimalscheduler.c:
24624         (get_group_schedule_function),
24625         (gst_opt_scheduler_state_transition),
24626         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24627         * libs/gst/bytestream/bytestream.c:
24628         * libs/gst/dataprotocol/dataprotocol.c:
24629         (gst_dp_header_from_buffer):
24630         * po/nb.po:
24631         * po/ru.po:
24632         * tests/threadstate/threadstate2.c: (eos):
24633         * tools/gst-compprep.c: (main):
24634         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24635         (print_pad_info), (print_children_info):
24636         * tools/gst-launch.c: (idle_func), (main):
24637         * tools/gst-md5sum.c: (idle_func), (main):
24638         * tools/gst-xmlinspect.c: (print_element_info):
24639         First THREADED backport attempt, focusing on adding locks and
24640         making sure the API is threadsafe. Needs more work. More docs
24641         follow this week.
24642
24643 2005-02-24  Andy Wingo  <wingo@pobox.com>
24644
24645         * tests/bench-complexity.scm:
24646         * tests/complexity.gnuplot: New files, good for running complexity
24647         benchmarks.
24648
24649         * tests/Makefile.am:
24650         * tests/complexity.c: New test, sets up N elements, at each level
24651         teeing into M streams per element. Eeeenteresting.
24652
24653         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24654         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24655         running bench-mass_elements.scm.
24656
24657         * tests/bench-mass_elements.scm: New script, runs mass_elements
24658         for various numbers of identities, outputting the results to a
24659         file. Requires guile 1.6. Just for testing.
24660
24661 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24662
24663         * gst/schedulers/fairscheduler.c:
24664           compile with debug disabled
24665
24666 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24667
24668         * configure.ac:
24669           hunting season on 0.9 is now OPEN