3499df1c7efcd49cfd6b59944ea232a76dc16e8b
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4         (gst_plugin_feature_set_name):
5         Revert patch from #459466 until after the release and we can work
6         out exactly what the problem is (if any).
7
8 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9
10         * docs/gst/gstreamer-sections.txt:
11         * gst/gsttaglist.c:
12         * gst/gsttaglist.h:
13           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
14
15 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
16
17         * docs/libs/Makefile.am:
18         Include our build-prefix libs and includes before the generic ones to
19         avoid linking against the installed libs when we want the build-tree
20         ones.
21
22 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
23
24         Patch by: Steve Fink  <sphink gmail com>
25
26         * docs/pwg/building-testapp.xml:
27           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
28           if people try to build or install the example from the plugin
29           template against a GStreamer from package using the configure
30           defaults.
31
32 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
33
34         Patch by: Steve Fink  <sphink gmail com>
35
36         * tools/gst-inspect.1.in:
37           Document --print-all and --print-plugin-auto-install-info command
38           line options in man page.
39
40 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
41
42         * docs/gst/gstreamer-sections.txt:
43         Add docs for new api function.
44
45 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
46
47         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
48         * gst/gstelementfactory.h:
49         API: gst_element_factory_has_interface()
50         Added method to check if an element factory implements a named
51         interface.
52
53 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
54
55         * configure.ac:
56         * docs/gst/gstreamer.types.in:
57           Another conditional doc check.
58
59         * gst/gstmessage.c:
60         * gst/gstparamspecs.h:
61         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
62         * gst/gstvalue.c:
63         * gst/gstxml.h:
64           API-doc fixes.
65
66 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
67
68         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
69         (gst_registry_binary_load_feature),
70         (gst_registry_binary_load_plugin),
71         (gst_registry_binary_read_cache):
72           Print error just once and with additional info.
73
74 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
75
76         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
77         (helper_find_suggest), (helper_find_get_length),
78         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
79         (gst_type_find_helper_for_buffer):
80           Cleanup the typefindhelper code and add private doc comments.
81
82 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
83
84         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
85         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
86         Fix capsfilter for cases where the caps set on capsfilter will provide
87         additional information.
88         Fixes #449197
89
90 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
91
92         * gst/gsttypefindfactory.c:
93           Fix docs that recommened wrong function to use.
94
95 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
96
97         * tools/gst-inspect.c: (print_plugin_features):
98           Also give media-type for typefinders in element output.
99
100 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
101
102         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
103         (gst_registry_remove_features_for_plugin_unlocked),
104         (gst_registry_add_feature), (gst_registry_remove_feature),
105         (gst_registry_lookup_feature_locked):
106         * gst/gstregistry.h:
107           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
108           Fixes #459501.
109
110 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
111
112         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
113         (gst_plugin_feature_set_name):
114           Avoid double memory usage for pluginfeature names. Fixes #459466.
115
116 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
117
118         * gst/gstpad.h:
119           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
120           driving the pipeline may need to explicitly check for NOT_LINKED as
121           well, since IS_FATAL doesn't cover that.
122
123 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
124
125         * docs/pwg/advanced-types.xml:
126           Fix typo and duplicate entry in video formats list.
127
128 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
129
130         * libs/gst/controller/gstinterpolation.c:
131         Also round to the nearest int when using cubic interpolation.
132
133 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
134
135         * libs/gst/controller/gstinterpolation.c:
136         When linearly interpolating integer types, round to the nearest int
137         by adding 0.5. Don't do it for float/double types.
138         Fixes the failing controller test on my machine, which is somehow
139         rounding differently than on the buildbots.
140
141 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
142
143         * tools/gst-plot-timeline.py:
144           Better log parsing (categories can have -). Adjust text vs. lines, so
145           that they span the same y-range.        
146
147 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
148
149         * docs/random/ensonic/audiobaseclasses.txt:
150         * docs/random/ensonic/dynlink.txt:
151         * docs/random/ensonic/profiling.txt:
152           Save my thoughts.
153
154         * docs/random/moving-plugins:
155           Add note to use g_assert type macros.
156
157 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
158
159         * configure.ac:
160         * libs/gst/check/Makefile.am:
161           Add libm check as we use in for plugins.
162
163 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
164
165         * gst/gstbin.c: (gst_bin_continue_func):
166         Check that the state_cookie hasn't changed since the continue_func
167         was scheduled. Avoids problems where the state changes back to
168         something it shouldn't be because it was changed in the meantime.
169
170 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
171
172         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
173         (gst_registry_binary_save_string),
174         (gst_registry_binary_save_pad_template),
175         (gst_registry_binary_save_feature),
176         (gst_registry_binary_save_plugin),
177         (gst_registry_binary_load_feature),
178         (gst_registry_binary_load_plugin),
179         (gst_registry_binary_read_cache):
180           Fix memory leak. Be less verbose in the log.
181
182 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
183
184         * tests/check/elements/.cvsignore:
185         Add file to cvsignore as commanded.
186
187 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
188
189         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
190         (mq_dummypad_event), (run_output_order_test):
191         Use a GStaticMutex to protect all cases where libcheck
192         fail_if/fail_unless macros might be called from multiple threads
193         simultaneously to avoid errors like:
194           "check_pack.c:107: :-1081725400:Bad message type arg"
195
196 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
197
198         * tests/check/pipelines/stress.c: (GST_START_TEST):
199         Make sure we set the pipeline back to the NULL state before
200         dropping our final reference.
201
202 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
203
204         * tests/check/elements/tee.c: (GST_START_TEST):
205         Make the tee stress-test a little less stressful so it doesn't just
206         time out on slow-machines, and remove a small race when it's starting 
207         up by adding a get_state() call.
208
209 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
210
211         * gst/gst.c:
212           Avoid reading registry twice on startup. Fixes #457322.
213
214 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
215
216         * pkgconfig/gstreamer-check-uninstalled.pc.in:
217         * pkgconfig/gstreamer-check.pc.in:
218         Substitute the CFLAGS for libcheck into our .pc file too so that
219         dependent modules will pick it up properly if libcheck is installed
220         into some other prefix.
221
222 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
223
224         * configure.ac:
225         Revert the pkg-config check for libcheck, since it pulls in the
226         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
227         a proper solution, either from the check project, or something else.
228
229 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
230
231         * configure.ac:
232           Use pkg-config to locate check.
233
234 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
235
236         * gst/gsttaglist.c:
237           Fix doc syntax.
238
239         * gst/gstutils.c:
240         * gst/gstutils.h:
241           Add deprecation guards.
242
243         * libs/gst/base/gstcollectpads.h:
244           Don't document object (this is implicitly private).
245
246 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
247
248         * gst/gststructure.c: (gst_structure_parse_value):
249           When deserialising foo=bar without a type cast, check if it's a
250           boolean before falling back to a string type, otherwise things like
251           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
252           because the filtercaps end up having a signed=(string)true field,
253           which causes problems later when intersection caps.
254
255         * tests/check/gst/gststructure.c: (GST_START_TEST):
256           Add a unit test for this.
257
258 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
259
260         Reviewed by: Stefan Kost <ensonic@users.sf.net>
261
262         * libs/gst/controller/Makefile.am:
263         * libs/gst/controller/gstcontroller.c:
264         (gst_controlled_property_add_interpolation_control_source),
265         (gst_controlled_property_new), (gst_controlled_property_free),
266         (gst_controller_find_controlled_property),
267         (gst_controller_new_valist), (gst_controller_new_list),
268         (gst_controller_new), (gst_controller_remove_properties_valist),
269         (gst_controller_remove_properties_list),
270         (gst_controller_remove_properties),
271         (gst_controller_set_property_disabled),
272         (gst_controller_set_disabled), (gst_controller_set_control_source),
273         (gst_controller_get_control_source), (gst_controller_get),
274         (gst_controller_sync_values), (gst_controller_get_value_array),
275         (_gst_controller_dispose), (gst_controller_get_type),
276         (gst_controlled_property_set_interpolation_mode),
277         (gst_controller_set), (gst_controller_set_from_list),
278         (gst_controller_unset), (gst_controller_unset_all),
279         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
280         * libs/gst/controller/gstcontroller.h:
281         * libs/gst/controller/gstcontrollerprivate.h:
282         * libs/gst/controller/gstcontrolsource.c:
283         (gst_control_source_class_init), (gst_control_source_init),
284         (gst_control_source_get_value),
285         (gst_control_source_get_value_array), (gst_control_source_bind):
286         * libs/gst/controller/gstcontrolsource.h:
287         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
288         (gst_object_get_control_source):
289         * libs/gst/controller/gstinterpolation.c:
290         (gst_interpolation_control_source_find_control_point_node),
291         (gst_interpolation_control_source_get_first_value),
292         (_interpolate_none_get), (interpolate_none_get),
293         (interpolate_none_get_boolean_value_array),
294         (interpolate_none_get_enum_value_array),
295         (interpolate_none_get_string_value_array),
296         (_interpolate_trigger_get), (interpolate_trigger_get),
297         (interpolate_trigger_get_boolean_value_array),
298         (interpolate_trigger_get_enum_value_array),
299         (interpolate_trigger_get_string_value_array):
300         * libs/gst/controller/gstinterpolationcontrolsource.c:
301         (gst_control_point_free), (gst_interpolation_control_source_reset),
302         (gst_interpolation_control_source_new),
303         (gst_interpolation_control_source_set_interpolation_mode),
304         (gst_interpolation_control_source_bind),
305         (gst_control_point_compare), (gst_control_point_find),
306         (gst_interpolation_control_source_set_internal),
307         (gst_interpolation_control_source_set),
308         (gst_interpolation_control_source_set_from_list),
309         (gst_interpolation_control_source_unset),
310         (gst_interpolation_control_source_unset_all),
311         (gst_interpolation_control_source_get_all),
312         (gst_interpolation_control_source_get_count),
313         (gst_interpolation_control_source_init),
314         (gst_interpolation_control_source_finalize),
315         (gst_interpolation_control_source_dispose),
316         (gst_interpolation_control_source_class_init):
317         * libs/gst/controller/gstinterpolationcontrolsource.h:
318         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
319         API: Refactor GstController into the core controller which can take
320         a GstControlSource for providing actual values for timestamps.
321         Implement a interpolation control source and use this for backward
322         compatibility, deprecate a bunch of functions that are now handled
323         by GstControlSource or GstInterpolationControlSource.
324         Make it possible to disable the controller completely or only for
325         specific properties. Fixes #450711.
326         * docs/libs/gstreamer-libs-docs.sgml:
327         * docs/libs/gstreamer-libs-sections.txt:
328         * docs/libs/gstreamer-libs.types:
329         Add new functions and classes to the docs.
330         * tests/check/libs/controller.c: (GST_START_TEST),
331         (gst_controller_suite):
332         * tests/examples/controller/audio-example.c: (main):
333         Port unit test and example to the new API and add some new
334         unit tests.
335
336 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
337
338         Patch by: Mark Nauwelaerts <manauw at skynet be>
339
340         * plugins/elements/gstmultiqueue.c:
341         (gst_multi_queue_get_internal_links), (apply_buffer),
342         (single_queue_overrun_cb), (gst_single_queue_new):
343         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
344         the pipeline layout can be tracked correctly. Fixes #453732.
345
346 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
347
348         * docs/gst/Makefile.am:
349         * docs/libs/Makefile.am:
350         * docs/plugins/Makefile.am:
351           Simplify --extra-dir as gtkdoc scans recursively.
352
353 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
354
355         * tools/gst-launch.c: (main):
356         When we got an error, there is no point in waiting for preroll when
357         shutting down.
358
359 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
360
361         * plugins/elements/gsttee.c: (gst_tee_base_init),
362         (gst_tee_request_new_pad), (gst_tee_release_pad),
363         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
364         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
365         (gst_tee_chain):
366         Be a lot smarter when deciding what srcpad to use for proxying
367         the buffer_alloc. Also handle pad added/removed when doing so.
368         Fixes #357959.
369         Keep track of what pads we already pushed on in case we have pads
370         added/removed while pushing. Fixes #374639 
371
372         * tests/check/Makefile.am:
373         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
374         (tee_suite):
375         Added unit test for pad resync.
376
377 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
378
379         * po/nl.po:
380         * po/sv.po:
381           Updated translations.
382
383 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
384
385         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
386
387         * po/LINGUAS:
388         * po/fi.po:
389           Added new Finnish translation.
390
391 2007-06-28  Wim Taymans  <wim@fluendo.com>
392
393         * plugins/elements/gstmultiqueue.c: (apply_buffer),
394         (single_queue_overrun_cb):
395         When figuring out when a queue is filled, use our internal time estimate
396         based on segments, just like check_full does.
397
398 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
399
400         * gst/gstminiobject.c: (gst_mini_object_get_type):
401           Remove 3 do-nothing methods.
402
403 2007-06-27  Wim Taymans  <wim@fluendo.com>
404
405         Patch by: Tim Angus <tim at ngus dot net>
406
407         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
408         (gst_capsfilter_set_property):
409         Take a reference instead of a copy when setting "caps".
410         Fix documentation to clarify this behaviour. Fixes #449414.
411
412 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
413
414         * gst/gstindexfactory.c: (gst_index_factory_get_type):
415         * gst/gstplugin.c: (gst_plugin_init):
416         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
417         * gst/gstquery.c: (gst_query_get_type):
418         * gst/gstregistry.c: (gst_registry_init):
419         * gst/gsturi.c: (gst_uri_handler_base_init):
420           Remove empty instance_init() functions to save relocs and lessen the
421           noise. Remove some of the function prototypes that are doubled by
422           G_DEFINE_TYPE.
423           
424 2007-06-27  Wim Taymans  <wim@fluendo.com>
425
426         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
427
428         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
429         Add peer and direction in the XML serialisation of ghostpads.
430         Fixes #449226.
431
432 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
433
434         * configure.ac:
435           Preserve useful information, thanks Tim.
436
437 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
438
439         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
440         (gst_single_queue_flush), (apply_segment), (apply_buffer),
441         (gst_single_queue_push_one), (gst_multi_queue_loop),
442         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
443         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
444         (compute_high_id), (gst_single_queue_new):
445         * plugins/elements/gstmultiqueue.h:
446         Take the multiqueue lock when updating the fill level so we don't get
447         confused. 
448
449         After applying a buffer or event on the src pad segment, make sure to
450         call gst_data_queue_limits_changed() to get the data queue to unblock
451         and check the filled state again.
452         
453         Rework the not-linked pad handling so the logic is that not-linked 
454         pads can push as fast as they like, but only so they never get 
455         ahead of any linked pads.
456
457         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
458         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
459         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
460
461         Add a test to check that not-linked pads always stay behind
462         linked pads.
463
464         Fixes: #430682
465
466 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
467
468         * docs/random/release:
469           Some updates to the release procedure.
470
471 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
472
473         * gst/gstelementfactory.c: (__gst_element_details_clear):
474           Microoptimization that saves stunning 80 bytes.
475
476 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
477
478         * docs/plugins/gstreamer-plugins.args:
479         * docs/plugins/inspect/plugin-coreelements.xml:
480         * docs/plugins/inspect/plugin-coreindexers.xml:
481           Update docs with caps info.
482
483 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
484
485         * po/it.po:
486           Updated Italian translation.
487
488 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
489
490         * ChangeLog:
491         * po/vi.po:
492           Update Vietnamese translations.
493
494 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
495
496         * libs/gst/base/gstbasesink.c:
497           Remove unused signal enum.
498
499 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
500
501         * docs/gst/gstreamer-sections.txt:
502         * gst/gstelement.c:
503         * gst/gstutils.c: (gst_type_register_static_full):
504         Beef up and include the docs for gst_type_register_static_full and
505         gst_element_class_set_details_simple and add the API keyword
506         in the ChangeLog.
507
508 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
509
510         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
511         (update_time_level), (gst_single_queue_push_one),
512         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
513         (single_queue_overrun_cb), (single_queue_underrun_cb),
514         (single_queue_check_full):
515         Fix setting max-* properties after adding queues.
516         Use IS_FILLED for checking visible items.
517         Signal overrun if multiple queues overrun.
518         Add extra debug output.
519         Patch by: Wim Taymans <wim@fluendo.com>
520
521 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
522
523         * gst/gstelement.c: (gst_element_class_set_details_simple):
524         * gst/gstelement.h:
525         * gst/gstutils.c: (gst_type_register_static_full):
526         * gst/gstutils.h:
527         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
528         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
529         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
530         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
531         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
532         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
533         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
534         * plugins/elements/gstidentity.c: (gst_identity_base_init):
535         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
536         * plugins/elements/gstqueue.c: (gst_queue_base_init),
537         (apply_buffer), (gst_queue_chain):
538         * plugins/elements/gsttee.c: (gst_tee_base_init):
539         * plugins/elements/gsttypefindelement.c:
540         (gst_type_find_element_base_init),
541         (gst_type_find_element_class_init):
542           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
543           API: add gst_type_register_static_full
544           API: add gst_element_class_set_details_simple
545
546 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
547
548         * docs/pwg/advanced-types.xml:
549           Fix typo in iana.org URI.
550
551 2007-06-19  Andy Wingo  <wingo@pobox.com>
552
553         * tests/check/pipelines/simple-launch-lines.c
554         (test_state_change_returns): Enable pull-mode tests now that
555         basesink has been fixed.
556
557         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
558         Changed from gst_base_sink_is_prerolled, reversing the sense of
559         the return value. Returns FALSE also if the sink is in pull mode,
560         in which case it needs no preroll.
561         (gst_base_sink_query, gst_base_sink_change_state): Update for
562         needs_preroll change.
563         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
564         chaining up, in which we return SUCCESS directly if we activated
565         in pull mode instead of ASYNC. Involves countering an async_start
566         message sent before chaining up; not sure if this is correct, in
567         an ideal world we only send async-start when activating in push
568         mode.
569
570         * tests/check/pipelines/simple-launch-lines.c
571         (test_state_change_returns): New test, partially disabled until
572         basesink is fixed.
573
574 2007-06-19  Wim Taymans  <wim@fluendo.com>
575
576         * plugins/elements/gstmultiqueue.c: (apply_buffer),
577         (gst_multi_queue_sink_event):
578         Fix event leak.
579
580 2007-06-19  Wim Taymans  <wim@fluendo.com>
581
582         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
583         (gst_bin_change_state_func), (bin_push_state_continue),
584         (bin_handle_async_start), (bin_handle_async_done),
585         (gst_bin_handle_message_func):
586         Move the common code for posting state-change messages into
587         one function.
588         Broadcast the state signal after we posted the messages.
589         Mark the bin as busy when it's doing a state-change.
590         Make sure async-start/done messages don't interfere with the bin's
591         state when it's busy.
592         After the state change, let the bin check which elements completed the
593         state change while it was busy so that it can update its state.
594
595 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
596
597         * docs/random/release:
598         Add a note about updating the doap file to the release checklist
599
600 2007-06-18  Wim Taymans  <wim@fluendo.com>
601
602         * plugins/elements/gstmultiqueue.c: (apply_buffer),
603         (gst_single_queue_push_one), (gst_multi_queue_chain),
604         (gst_multi_queue_sink_event):
605         Make sure we don't reference the buffer/event after we have given away
606         ownership in the queue.
607
608 2007-06-18  Wim Taymans  <wim@fluendo.com>
609
610         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
611         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
612         Update queue state _after_ adding the item in the queue because else we
613         could end up being full without the element added yet.
614
615 2007-06-18  Wim Taymans  <wim@fluendo.com>
616
617         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
618         (gst_bin_remove_func), (gst_bin_get_state_func),
619         (gst_bin_element_set_state), (gst_bin_continue_func),
620         (bin_push_state_continue), (bin_handle_async_start),
621         (bin_handle_async_done), (gst_bin_handle_message_func):
622         * gst/gstbin.h:
623         Immediatly commit the toplevel bin state when receiving an async-done
624         message. This enables us to avoid spawning a thread to commit the state
625         in some common cases and it also avoids some races.
626         Avoid spawning a state thread when adding/removing async elements to a
627         toplevel bin. Instead we immediatly update the bin state.
628         Get rid of iterating all the children when getting the state in the bin
629         because it is now always up-to-date.
630         Fix bug where locked elements would always return _SUCCESS even it they
631         returned NO_PREROLL before being locked.
632         Fix the order of the state_change, async-start/done messages that was
633         sometimes incorrect.
634         Mark the state_dirty field as deprecated, we don't need it anymore as we
635         are always up-to-date.
636
637         * gst/gstelement.c: (gst_element_get_state_func),
638         (gst_element_continue_state):
639         Small debug inprovements.
640         Return the previous element state return when nothing is pending instead
641         of blindly returning SUCCESS.
642
643         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
644         (gst_sinks_suite):
645         Add a whole bunch of new testcases.
646
647 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
648
649         * po/uk.po:
650         * po/vi.po:
651           Update translations.
652
653 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
654
655         * gst/gstpad.c:
656         Fix typo in the docs.
657
658 2007-06-15  Wim Taymans  <wim@fluendo.com>
659
660         * docs/libs/gstreamer-libs-sections.txt:
661         Add docs for new methods.
662
663 2007-06-15  Wim Taymans  <wim@fluendo.com>
664
665         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
666         (gst_multi_queue_item_new):
667         Don't use GSlice because we don't depend on >= 2.10 yet.
668
669 2007-06-15  Wim Taymans  <wim@fluendo.com>
670
671         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
672         (update_time_level), (apply_segment), (apply_buffer),
673         (gst_single_queue_push_one), (gst_multi_queue_item_new),
674         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
675         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
676         (single_queue_underrun_cb), (single_queue_check_full):
677         Remove debug printf.
678
679 2007-06-15  Wim Taymans  <wim@fluendo.com>
680
681         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
682         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
683         (gst_data_queue_set_flushing), (gst_data_queue_push),
684         (gst_data_queue_pop), (gst_data_queue_drop_head),
685         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
686         * libs/gst/base/gstdataqueue.h:
687         Various cleanups.
688         Added methods to get the current levels and to inform the queue that the
689         'full' limits changed.
690
691         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
692         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
693         (gst_single_queue_flush), (update_time_level), (apply_segment),
694         (apply_buffer), (gst_single_queue_push_one),
695         (gst_multi_queue_item_steal_object),
696         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
697         (gst_multi_queue_loop), (gst_multi_queue_chain),
698         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
699         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
700         (gst_multi_queue_src_query), (single_queue_overrun_cb),
701         (single_queue_underrun_cb), (single_queue_check_full),
702         (gst_single_queue_new):
703         Keep track of time in the queue by measuring the difference between
704         running_time on input and output. This gives more accurate results and
705         can compensate for segments correctly.
706         Make a queue by default only 5 buffers deep. We will now increase the
707         buffer size depending on the filledness of the other queues.
708         Factor out commong flush code.
709         Make sure we don't add additional refcounts to buffers when we can avoid
710         it.
711         Propagate GstFlowReturn differently.
712         Use GSlice for intermediate GstMultiQueueItems.
713         Keep track of EOS.
714         Resize queues on over and underruns based on filled level of other
715         queues.
716         When checking if the queue is filled, prefer to measure in time if we
717         can and fall back to bytes when no time is known.
718
719         * plugins/elements/gstqueue.c:
720         Fix return value.
721
722 2007-06-15  Wim Taymans  <wim@fluendo.com>
723
724         * libs/gst/base/gstbasetransform.c:
725         (gst_base_transform_sink_event):
726         Work around the brokenness of the event vmethod in basetransform. Prefer
727         to return TRUE when the subclass returned FALSE (meaning don't forward
728         the event). 
729
730         * libs/gst/base/gstbasetransform.h:
731         Clarify the docs.
732
733 2007-06-15  Wim Taymans  <wim@fluendo.com>
734
735         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
736         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
737         (gst_base_src_default_query), (gst_base_src_get_range),
738         (gst_base_src_start):
739         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
740         Improve debugging.
741
742 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
743
744         * docs/pwg/advanced-types.xml:
745           Added more formats to caps table.
746
747 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
748
749         * tools/gst-launch.c: (main):
750           Remove crufy code. GOption does not need this workaround.
751
752 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
753
754         * libs/gst/controller/gstcontroller.c:
755         (gst_controlled_property_set_interpolation_mode):
756           Fix wrong getter for enums in controller.
757
758 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
759
760         * libs/gst/check/gstcheck.c: (gst_check_init):
761           Intercept criticals and warnings in the Gst-Phonon log domain, so
762           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
763           well.
764         
765 2007-06-14  Edward Hervey  <edward@fluendo.com>
766
767         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
768         Since this file doesn't include "gst.h" it will not go through the
769         macros that disable GST_LOG if debugging was disabled.
770
771 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
772
773         * libs/gst/check/Makefile.am:
774         * libs/gst/check/gstcheck.h:
775         * pkgconfig/gstreamer-check-uninstalled.pc.in:
776         * pkgconfig/gstreamer-check.pc.in:
777           Ugly 'fix' for the controller unit test on the p5 bot: in
778           fail_unless_equals_float() check whether the values are 'almost
779           equal' by allowing a small absolute error, which should be good
780           enough for our use cases (normal numbers and values close to 0).
781           Proper fixage left to floating point arithmetic aficionados.
782
783 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
784
785         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
786         (gst_base_sink_render_object), (gst_base_sink_get_position):
787           Add two breaks thats where missing.
788
789 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
790
791         * docs/libs/gstreamer-libs-sections.txt:
792         * libs/gst/check/gstcheck.h:
793           API: add fail_unless_equals_float() and assert_equals_float().
794           Add documentation for some of the macros.
795
796         * tests/check/libs/controller.c: (GST_START_TEST):
797           Use newly-added asserts.
798
799 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
800
801         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
802           Show the caps change in the log to help spotting the case of not
803           exactly matching caps.
804
805 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
806
807         * docs/pwg/building-boiler.xml:
808           Fix typos, spotted by Thijs Vermeir (#447190).
809
810 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
811
812         * docs/plugins/tmpl/.cvsignore:
813         Ignore file to keep the buildbots happy
814
815 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
816
817         * docs/plugins/Makefile.am:
818         * docs/plugins/gstreamer-plugins-docs.sgml:
819         * docs/plugins/gstreamer-plugins-sections.txt:
820         Pull fdsink into the docs too.
821
822 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
823
824         * libs/gst/controller/gstinterpolation.c:
825         Actually use the new functions with min/max checks for the trigger and
826         none interpolation modes for get() and get_value_array() instead of
827         just the latter.
828
829 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
830
831         * libs/gst/controller/gstcontroller.c:
832         (gst_controlled_property_free):
833         Unset the minimum and maximum GValues when freeing the corresponding
834         GstControllerProperty struct.
835
836 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
837
838         * libs/gst/controller/gstcontroller.c:
839         (gst_controlled_property_new):
840         * libs/gst/controller/gstcontrollerprivate.h:
841         * libs/gst/controller/gstinterpolation.c:
842         (gst_controlled_property_find_control_point_node),
843         (interpolate_none_get), (interpolate_none_get_enum_value_array),
844         (interpolate_none_get_string_value_array),
845         (interpolate_trigger_get),
846         (interpolate_trigger_get_enum_value_array),
847         (interpolate_trigger_get_string_value_array):
848         Protect against values larger or smaller than the minimum or maximum
849         allowed value for the property when using values that can be compared.
850
851         Optimize trigger interpolator a bit by taking the last requested value
852         into account instead of always looping through the complete list.
853
854         Fix coding style a bit, everywhere else we use "return foo" instead
855         of "return (foo)".
856         
857         * tests/check/libs/controller.c: (GST_START_TEST),
858         (gst_controller_suite):
859         Add unit test for the protection against too large or too small
860         values.
861
862 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
863
864         * docs/random/slomo/controller.txt:
865         Add some thoughts about the future of the controller.
866
867 2007-06-08  Wim Taymans  <wim@fluendo.com>
868
869         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
870         Don't overflow in retimestamping code.
871
872 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
873
874         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
875         Use gst_util_guint64_to_gdouble for conversions.
876         * win32/common/libgstreamer.def:
877         Add new exported functions.
878
879 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
880
881         * gst/gstutils.c:
882           Small docs addition.
883
884 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
885
886         * README:
887           Remove that test line again.
888
889 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
890
891         * README:
892           Test commit mail sending.
893
894 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
895
896         * configure.ac:
897           Fix typo and test commit mail sending.
898
899 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
900
901         * tests/examples/controller/audio-example.c:
902           Improve comment and test commit mail sending.
903
904 2007-06-07  Wim Taymans  <wim@fluendo.com>
905
906         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
907         (gst_bin_remove_func), (gst_bin_element_set_state),
908         (bin_handle_async_start), (bin_handle_async_done),
909         (gst_bin_handle_message_func):
910         Add helper function to find messages.
911         Generate the async-done messages together with the state change
912         messages.
913         Small cleanups in handling toplevel bins.
914
915 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
916
917         * libs/gst/base/gstdataqueue.c:
918         * libs/gst/base/gstdataqueue.h:
919         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
920         (gst_multi_queue_item_new), (gst_multi_queue_chain),
921         (gst_multi_queue_sink_event):
922         * tests/check/elements/multiqueue.c: (multiqueue_suite):
923           Fix multiqueue leaking buffers and events when downstream or the
924           queue are flushing. Make refcounting assumptions explicit and
925           document them (shouldn't break existing code that uses it other than
926           maybe leak miniobjects, but that already happens anyway). Add unit
927           test for the most common flushing case. Fixes #423700.
928           
929 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
930
931         * libs/gst/controller/gstcontroller.c:
932         Clarify docs: The get_all, get_value_array(s) functions
933         don't modify the GObject properties.
934
935 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
936
937         * libs/gst/controller/gstcontroller.c:
938         (gst_controlled_property_set_interpolation_mode),
939         (gst_controlled_property_prepend_default),
940         (gst_controlled_property_new), (gst_controller_set_unlocked),
941         (gst_controller_set), (gst_controller_set_from_list),
942         (gst_controller_unset), (gst_controller_unset_all):
943         * libs/gst/controller/gstcontrollerprivate.h:
944         * libs/gst/controller/gstinterpolation.c:
945         Factor out the 'set' logic into gst_controller_set_unlocked for the
946         gst_controller_set and gst_controller_set_from_list functions.
947
948         To make life of the interpolators easier always add a control point
949         at timestamp zero with the default value.
950
951         In the linear interpolator make things more obvious by better variable
952         naming (slope).
953
954         Implement cubic interpolation mode (by using a natural cubic spline)
955         and map the quadratic interpolation mode to this too (as quadratic
956         doesn't make much sense, see discussion on the list).
957
958         * tests/check/libs/controller.c: (GST_START_TEST),
959         (gst_controller_suite):
960         Add unit test for the cubic interpolation mode and check everywhere
961         if the interpolation mode could be set as expected.
962
963 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
964
965         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
966           Don't use GLib-2.10 functions, we still depend on
967           GLib-how-old-is-it-again-2.8.
968
969 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
970
971         * docs/gst/gstreamer-sections.txt:
972         * gst/Makefile.am:
973         * gst/gst.c:
974         * gst/gst.h:
975         * gst/gstparamspecs.c: (_gst_param_fraction_init),
976         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
977         (_gst_param_fraction_values_cmp),
978         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
979         * gst/gstparamspecs.h:
980         * gst/gstvalue.c:
981         * tests/check/Makefile.am:
982         * tests/check/gst/.cvsignore:
983         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
984         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
985         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
986         (GST_START_TEST), (gst_param_spec_suite):
987           API: add GstParamSpecFraction, so elements can have fraction
988           properties without lots of painful string parsing (#444648).
989
990 2007-06-05  Wim Taymans  <wim@fluendo.com>
991
992         * gst/gstobject.c: (gst_object_class_init):
993         Fix signal signature.
994
995         * gst/gstsegment.c:
996         Add small clarification in the api docs.
997
998         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
999         States are protected with object lock.
1000
1001 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1002
1003         * AUTHORS:
1004         I should probably be listed as an author by now.
1005
1006         * docs/random/release:
1007         Update the release doc
1008
1009 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
1010
1011         * gst/gstvalue.c:
1012           Make docs for gst_value_compare() mention return enums that
1013           actually exist.
1014
1015 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
1016
1017         * configure.ac:
1018           Back to CVS
1019
1020 === release 0.10.13 ===
1021
1022 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
1023
1024         * configure.ac:
1025           releasing 0.10.13, "With or without you"
1026
1027 2007-05-25  Wim Taymans  <wim@fluendo.com>
1028
1029         * gst/gstbin.c: (bin_handle_async_done):
1030         Make sure that the child bin stops after completing the async state
1031         change so that the parent can continue the state change to PLAYING.
1032         Fixes #441159.
1033
1034 2007-05-25  Wim Taymans  <wim@fluendo.com>
1035
1036         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1037         (unref_data), (gst_collect_pads_remove_pad),
1038         (gst_collect_pads_check_pads):
1039         Use additional refcounting to avoid crashes when dynamically adding and
1040         removing pads. Fixes #420206.
1041
1042 2007-05-24  Wim Taymans  <wim@fluendo.com>
1043
1044         * tools/gst-launch.c: (event_loop):
1045         When buffering goes from a two digit to a single digit number, make sure
1046         to remove the old second digit by writing a blank over it.
1047
1048 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1049
1050         * libs/gst/base/gstdataqueue.c:
1051           Eliminate tabs and trailing comma in enum list; fix some typos.
1052
1053 2007-05-24  Wim Taymans  <wim@fluendo.com>
1054
1055         * tests/check/gst/gstbin.c: (GST_START_TEST):
1056         Allow refcount of 3 and 4 because some state thread might still be busy
1057         with it.
1058
1059 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1060
1061         * plugins/elements/Makefile.am:
1062         * plugins/elements/gstmultiqueue.h:
1063         * plugins/elements/gstqueue.h:
1064           These are not installed headers, no need for padding.
1065
1066 2007-05-24  Wim Taymans  <wim@fluendo.com>
1067
1068         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1069         (gst_bin_continue_func):
1070         Enable latency for next release.
1071         Restore STATE_LOCK around recalc_state that was left out during the
1072         rewrite and could result in racy behaviour when _get_state and
1073         recalc_state are run concurrently. See #440463.
1074
1075 2007-05-23  Wim Taymans  <wim@fluendo.com>
1076
1077         * tests/check/gst/gstsystemclock.c: (store_callback),
1078         (GST_START_TEST):
1079         Improve test_async_order to also work when both timers are already
1080         expired when we get scheduled to check it.
1081
1082 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1083
1084         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1085         (gst_bin_set_property), (gst_bin_get_property),
1086         (gst_bin_remove_func), (gst_bin_handle_message_func):
1087         * gst/gstbin.h:
1088           'private' is a c++ keyword, let's not use that in header files,
1089           otherwise c++ compilers will throw a tantrum.
1090
1091 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1092
1093         * plugins/elements/gstelements.c:
1094         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1095         (gst_file_sink_get_current_offset):
1096         * plugins/indexers/gstindexers.c: (plugin_init):
1097           Use #ifdef for HAVE_XYZ for consistency.
1098
1099         * tests/check/Makefile.am:
1100         * tests/check/elements/.cvsignore:
1101         * tests/check/elements/filesink.c: (setup_filesink),
1102         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1103           Add some unit tests for filesink.
1104
1105 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1106
1107         Patch by: Mark Nauwelaerts <manauw at skynet be>
1108
1109         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1110         (gst_file_sink_query), (gst_file_sink_do_seek),
1111         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1112         * plugins/elements/gstfilesink.h:
1113           Fix position reporting; rename data_written member to current_pos to
1114           reflect its real meaning (fixes #412648).
1115
1116 2007-05-22  Edward Hervey  <edward@fluendo.com>
1117
1118         * docs/gst/gstreamer-sections.txt:
1119         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1120         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1121         (gst_bin_remove_func), (gst_bin_handle_message_func):
1122         * gst/gstbin.h:
1123         Add a property for bins that handle the state change of their childs.
1124         Fixes #435880
1125
1126 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1127
1128         * libs/gst/controller/gstinterpolation.c:
1129         Use an array of the correct type when using _get_value_array with
1130         linear interpolation.
1131
1132 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1133
1134         * gst/gstelement.c (gst_element_requires_clock,
1135           gst_element_provides_clock, gst_element_request_pad,
1136           gst_element_class_set_details, gst_element_class_set_details_simple,
1137           gst_element_default_send_event, gst_element_abort_state,
1138           gst_element_continue_state, gst_element_set_state,
1139           gst_element_set_state_func, iterator_activate_fold_with_resync):
1140         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1141           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1142           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1143           gst_pad_get_range, gst_pad_pull_range):
1144         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1145           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1146           GstPadActivateModeFunction, GstPadChainFunction,
1147           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1148           GstPadFixateCapsFunction, GstPadTemplate):
1149         * gst/gstpipeline.c (gst_pipeline_change_state,
1150           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1151           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1152           gst_pipeline_get_delay):
1153           Whitespace and docs fixes.
1154
1155 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1156
1157         * libs/gst/controller/gstinterpolation.c:
1158         (interpolate_trigger_get_enum_value_array),
1159         (interpolate_trigger_get_string_value_array):
1160         Add support for retrieving value arrays when using the trigger
1161         interpolation mode. 
1162
1163 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1164
1165         * libs/gst/controller/gstcontroller.c:
1166         (gst_controller_get_value_array):
1167         * libs/gst/controller/gstcontroller.h:
1168         Clarify the docs of gst_controller_get_value_array(): The array where
1169         the values should be written to must be allocated as there seems to be
1170         no way to get the size of a random GType. This doesn't change any
1171         behaviour. Also fix some typos all over the place and remove an unused,
1172         commented function that is not necessary as g_object_set() could be
1173         used instead.
1174         * tests/check/libs/controller.c: (GST_START_TEST),
1175         (gst_controller_suite):
1176         Add unit test for gst_controller_get_value_array().
1177
1178 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1179
1180         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1181
1182         Disable part of the gst_buffer_try_new_and_alloc test, because
1183         it can happily succeed on 64-bit systems where there's more address
1184         space available.
1185
1186 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1187
1188         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1189         Add unit test for the improved caps checking from bug #421543.
1190
1191 2007-05-21  Wim Taymans  <wim@fluendo.com>
1192
1193         * docs/design/part-synchronisation.txt:
1194         Small addition.
1195
1196         * gst/gstbin.c: (gst_bin_query):
1197         * plugins/elements/gstqueue.c: (apply_segment):
1198         Improve debugging.
1199
1200         * gst/gstmessage.h:
1201         Improve docs.
1202
1203 2007-05-21  Wim Taymans  <wim@fluendo.com>
1204
1205         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1206         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1207         (gst_pad_configure_src):
1208         Added simple version of improved caps checking. It was previously
1209         assumed that a setcaps function would check the validity of the caps but
1210         people prefer us to check caps against the template automatically. 
1211         Fixes #421543.
1212
1213 2007-05-21  Wim Taymans  <wim@fluendo.com>
1214
1215         * libs/gst/base/gstbasetransform.h:
1216         Fix macro for locking/unlocking the transform lock.
1217
1218 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1219
1220         * docs/plugins/tmpl/.cvsignore:
1221           Ignore more.
1222
1223 2007-05-18  Edward Hervey  <edward@fluendo.com>
1224
1225         * plugins/elements/gstqueue.c: (gst_queue_loop):
1226         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1227         for the subtle art of warning a potentially blocking thread that it
1228         should check the source pad return value, and relay the information
1229         upstream.
1230
1231 2007-05-18  Edward Hervey  <edward@fluendo.com>
1232
1233         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1234         Release the queue lock !
1235
1236 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1237
1238         * docs/libs/gstreamer-libs-sections.txt:
1239         Add the two new controller functions to the appropiate places.
1240
1241 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1242
1243         reviewed by: Stefan Kost <ensonic@users.sf.net>
1244
1245         * libs/gst/controller/gstcontroller.c:
1246         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1247         (_gst_controller_get_property), (_gst_controller_set_property),
1248         (_gst_controller_init), (_gst_controller_class_init):
1249         * libs/gst/controller/gstcontroller.h:
1250         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1251         (gst_object_get_control_rate), (gst_object_set_control_rate):
1252         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1253         Add API that provides sync suggestion timestamps for elements that
1254         call gst_object_sync_values() from which those elements can subdivide
1255         their processing loop to get the best results for the controlled
1256         properties. For now it just suggests last_sync + control_rate as
1257         new timestamp but this will be improved in the future.
1258
1259         While doing that change the control-rate property to a GstClockTime
1260         from guint and change it's meaning from samples to nanoseconds as
1261         the GstController doesn't know anything about sampling rate. Strictly
1262         speaking this breaks ABI but as the control-rate property didn't do
1263         anything in the past and as such couldn't be used this should be no
1264         problem.        
1265
1266 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1267
1268         reviewed by: Stefan Kost <ensonic@users.sf.net>
1269
1270         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1271         (gst_controller_unset_all):
1272         * libs/gst/controller/gstcontrollerprivate.h:
1273         * libs/gst/controller/gstinterpolation.c:
1274         (gst_controlled_property_find_control_point_node):
1275         Save last synced value from the list to continue searching from there
1276         in future syncs. This speeds everything up a bit.
1277         
1278 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1279
1280         reviewed by: Stefan Kost <ensonic@users.sf.net>
1281
1282         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1283         (gst_control_point_find), (gst_controlled_property_new),
1284         (gst_control_point_free), (gst_controlled_property_free),
1285         (gst_controller_set), (gst_controller_set_from_list),
1286         (gst_controller_unset), (gst_controller_unset_all),
1287         (gst_controller_sync_values):
1288         * libs/gst/controller/gstcontroller.h:
1289         * libs/gst/controller/gstcontrollerprivate.h:
1290         * libs/gst/controller/gstinterpolation.c:
1291         (gst_controlled_property_find_control_point_node),
1292         (interpolate_none_get), (interpolate_trigger_get):
1293         Add a new private GstControlPoint struct which "inherits" from
1294         GstTimedValue to allow different interpolators to store internal
1295         values next to each control point. From the outside everything is
1296         still a GstControlPoint so we don't loose binary compatibility.
1297         Also fixup all the GValue handling to not leak GValues or list nodes.
1298         * tests/check/libs/controller.c: (GST_START_TEST):
1299         Free the list nodes and GValues in the controller_misc test.
1300
1301 2007-05-17  Edward Hervey  <edward@fluendo.com>
1302
1303         * gst/gstsegment.c:
1304         Small doc fix.
1305
1306 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1307
1308         * gst/gstplugin.c: (gst_plugin_load_file):
1309           If we fail to load a plugin because of unresolved symbols or missing
1310           libraries and spew a warning to stderr, we may just as well mention
1311           which plugin it was that failed to load.
1312
1313 2007-05-13  David Schleef  <ds@schleef.org>
1314
1315         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1316           handles the case when ENABLE_GTK_DOC is false, and installs
1317           the prebuilt documentation.  So gtk-doc subdirs are 
1318           unconditionally enabled.  Fixes: #349099.
1319
1320 2007-05-13  David Schleef  <ds@schleef.org>
1321
1322         * gst/gstutils.h: Reword some documentation.
1323
1324 2007-05-12  David Schleef  <ds@schleef.org>
1325
1326         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1327           do anything with the passed "module" parameter, so remove it.
1328           Allows removal of additional vestigal code.
1329
1330 2007-05-12  David Schleef  <ds@schleef.org>
1331
1332         * gst/gstplugin.c:
1333           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1334           Switch to using g_stat() because it's more portable.
1335
1336 2007-05-12  David Schleef  <ds@schleef.org>
1337
1338         * gst/gst.c:
1339           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1340           parsing for embedded systems.
1341         * gst/gstelementfactory.c:
1342           Allow gst_element_register() to be called with plugin==NULL.
1343           Did nobody notice that static elements were broken?
1344
1345 2007-05-12  Wim Taymans  <wim@fluendo.com>
1346
1347         * tools/gst-launch.c: (event_loop):
1348         Give more interesting info when buffering starts and stops.
1349         Fix case where buffering starts but we fail to update the buffering flag
1350         because the target state is not PLAYING.
1351
1352 2007-05-12  Wim Taymans  <wim@fluendo.com>
1353
1354         * plugins/elements/gstqueue.c: (gst_queue_init),
1355         (gst_queue_finalize), (update_time_level), (apply_segment),
1356         (apply_buffer), (gst_queue_locked_flush),
1357         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1358         (gst_queue_handle_sink_event), (gst_queue_chain),
1359         (gst_queue_push_one), (gst_queue_loop):
1360         * plugins/elements/gstqueue.h:
1361         Refactor an cleanup queue a bit.
1362         Do better time level calculations that also work when the srcpad is not
1363         yet running.
1364         Remove some unneeded debug lines.
1365
1366         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1367         Added testcase for time level measurement.
1368         Try to make some stuff more racefree.
1369
1370 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * gst/gsturi.c: (gst_element_make_from_uri):
1373           Don't leak plugin feature.
1374
1375         * tests/check/Makefile.am:
1376         * tests/check/gst/.cvsignore:
1377         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1378           Add brain-dead unit test.
1379
1380 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1381
1382         Patch by: Jeroen Wouters <woutersj at gmail com>
1383
1384         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1385           Treat protocol strings in a case-insensitive way (#437563).
1386
1387 2007-05-11  Michael Smith <msmith@fluendo.com>
1388
1389         * gst/gstplugin.c: (gst_plugin_load_file):
1390         * gst/gstregistry.c: (gst_registry_scan_path_level):
1391           Don't print a g_warning for any failure to load a shared object.
1392           Instead, push this down into gstplugin.c, and warn _only_ if we
1393           failed to open the module (i.e. failure to link).
1394           Avoids warnings on normal, working, non-plugin .so files.
1395
1396 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1397
1398         * gst/gstplugin.c (gst_plugin_load_file):
1399         * gst/gstregistry.c (GST_CAT_DEFAULT,
1400           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1401           Print a g_warning if there was an error when loading a plugins during
1402           registry scan. The shuld help beginners starting with gst-plugin
1403           template.
1404
1405 2007-05-10  Wim Taymans  <wim@fluendo.com>
1406
1407         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1408         (update_time_level), (gst_queue_locked_flush),
1409         (gst_queue_handle_sink_event), (gst_queue_chain),
1410         (gst_queue_push_one), (gst_queue_loop):
1411         * plugins/elements/gstqueue.h:
1412         Be smarter when calculating the current amount of data in the queue by
1413         measuring the difference between start and end timestamps (in running
1414         time) inside the queue. Fixes #432876.
1415         API: GstQueue::pushing to notify elements that we are pushing data again
1416         since the running signal is rather broken for this purpose.
1417
1418 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1421           gst_queue_base_init, gst_queue_init):
1422           use GST_BOILERPLATE
1423
1424 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1425
1426         * win32/common/libgstreamer.def:
1427         Add new exported functions.
1428         * win32/vs6/grammar.dsp:
1429         Use grammar pre-generated files.
1430
1431 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1432
1433         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1434
1435         * gst/Makefile.am:
1436         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1437         * gst/gstparse.h:
1438         * gst/gstutils.c: (gst_parse_bin_from_description):
1439         * gst/gstutils.h:
1440           Maintain API and ABI when --disable-parse is used. Now that
1441           we have an appropriate error code, we can just return NULL and the
1442           appropriate error when gst_parse_launch() is used despite it having
1443           been disabled (#342564).
1444
1445         * tests/check/Makefile.am:
1446         * tests/check/pipelines/.cvsignore:
1447         * tests/check/pipelines/parse-disabled.c:
1448           Make sure these functions exist and return NULL plus a GError when
1449           --disable-parse is used.
1450
1451 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1452
1453         * tests/benchmarks/complexity.c: (main):
1454         * tests/benchmarks/mass-elements.c: (main):
1455           Set a good example and don't leak messages.
1456
1457 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1458
1459         * docs/gst/Makefile.am:
1460         * docs/libs/Makefile.am:
1461           Correct fixxrefs options.
1462
1463         * docs/plugins/Makefile.am:
1464         * docs/plugins/gstreamer-plugins-docs.sgml:
1465         * docs/plugins/gstreamer-plugins-sections.txt:
1466         * plugins/elements/Makefile.am:
1467         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1468         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1469           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1470           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1471           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1472           _GstCapsFilterClass, trans_class):
1473         * plugins/elements/gstelements.c (name, rank, type, _elements):
1474         * plugins/elements/gstidentity.c
1475           (gst_identity_check_imperfect_timestamp,
1476           gst_identity_check_imperfect_offset):
1477           Document capsfilter and add doc-blurb to identity.
1478
1479 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1480
1481         * libs/gst/controller/gstcontroller.c:
1482         (gst_controlled_property_set_interpolation_mode):
1483         * libs/gst/controller/gstinterpolation.c:
1484           Don't crash if someone tries to set an interpolation mode that
1485           is invalid or that isn't supported yet. Fixes #422295.
1486
1487         * tests/check/libs/controller.c: (GST_START_TEST),
1488         (gst_controller_suite):
1489           Add a test case for the above.
1490
1491 2007-05-03  Edward Hervey  <edward@fluendo.com>
1492
1493         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1494         Properly set the last_stop position on GstSegment. This will only happen
1495         if there is a buffer to push out.
1496
1497 2007-05-03  Wim Taymans  <wim@fluendo.com>
1498
1499         * libs/gst/base/gstbasetransform.c:
1500         (gst_base_transform_buffer_alloc):
1501         always_in_place does not mean that the sink and source caps are the
1502         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1503
1504 2007-05-03  Wim Taymans  <wim@fluendo.com>
1505
1506         * docs/libs/gstreamer-libs-sections.txt:
1507         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1508         (gst_base_src_default_query), (gst_base_src_get_range):
1509         * libs/gst/base/gstbasesrc.h:
1510         API: gst_base_src_query_latency(). Added method so that subclasses can
1511         easily get the latency values of the base source class.
1512
1513 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1514
1515         * tools/gst-inspect.c (print_implementation_info):
1516         Remove 0.8 cruft.
1517
1518 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1519
1520         * tools/Makefile.am:
1521         * tools/gst-launch.1.in:
1522           Don't create a customised man page based on the host architecture,
1523           describe the default registry path generically. That way the man
1524           page is the same for all architectures and packagers have one
1525           multilib issue less to deal with. Fixes #434926.
1526
1527 2007-05-02  Wim Taymans  <wim@fluendo.com>
1528
1529         * gst/gstpad.c:
1530         Fix documentation as spotted by rg on IRC. 
1531
1532 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1533
1534         * gst/gstutils.c:
1535           Improve docs for gst_element_{link,unlink}.
1536
1537 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1538
1539         * docs/design/part-events.txt:
1540         * docs/design/part-overview.txt:
1541         * gst/gstevent.c:
1542         * gst/gsturi.c:
1543         * gst/gsturi.h:
1544         * libs/gst/base/gstbasesink.c:
1545           Typo fixes; minor docs addition.
1546
1547 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1548
1549         * docs/gst/gstreamer-sections.txt:
1550         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1551         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1552         * gst/gsturi.h:
1553         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1554         or src that supports a given URI protocol exists.
1555
1556 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1557
1558         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1559         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1560         Set the location to NULL if "file://" is set as URI. Otherwise
1561         some random previous URI would still be set if "file://" is
1562         set on an already used filesink/filesrc.
1563
1564 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1565
1566         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1567         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1568         Special case the "file://" URI as as this is used by some
1569         applications to test with gst_element_make_from_uri if there's
1570         an element that supports the URI protocol.
1571         Also move the g_path_is_absolute() check for the location part
1572         of the URI to also check this for "file://localhost/bla" URIs.
1573
1574 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1575
1576         * docs/gst/gstreamer-sections.txt:
1577         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1578         * gst/gstbuffer.h:
1579         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1580         (gst_buffer_suite):
1581           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1582
1583 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1584
1585         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1586         (gst_registry_binary_load_pad_template),
1587         (gst_registry_binary_load_plugin),
1588         (gst_registry_binary_read_cache):
1589         * gst/gstregistrybinary.h:
1590           Implement no-mmap alternative for registry reading. Do code cleanups.
1591           Add more comments about avoiding strdups for all text data. Comments
1592           welcome.
1593
1594 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1595
1596         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1597           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1598           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1599           Comment structs and reformat to fix the build (that stuff should go
1600           into a priv. header).
1601
1602 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1603
1604         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1605         (gst_registry_binary_load_feature):
1606         * gst/gstregistrybinary.h:
1607           Refactor so that we can implement multiple features. Add support for
1608           TypeFindFactory features.
1609
1610 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1611
1612         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1613
1614         * configure.ac:
1615           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1616
1617 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1618
1619         * gst/gstbin.c: (gst_bin_element_set_state),
1620         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1621         (bin_handle_async_done), (gst_bin_handle_message_func):
1622           Fix build with --gst-disable-gst-debug
1623
1624 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1625
1626         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1627           Make sure streaming has finished before calling the ::stop() vfunc,
1628           since that vfunc might clear state which is being used in the
1629           streaming thread. This fixes a race that caused crashes in
1630           audioresample when shutting down a pipeline (#420106).
1631
1632 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * docs/gst/gstreamer-sections.txt:
1635           That was one byte missing.
1636
1637 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1638
1639         * configure.ac:
1640         * docs/gst/gstreamer-sections.txt:
1641         * gst/Makefile.am:
1642         * gst/gstconfig.h.in:
1643         * gst/gstobject.c: (gst_object_class_init),
1644         (gst_signal_object_class_init):
1645         * gst/gstobject.h:
1646           2nd attempt to have a xml-less build as a joined effort of #413123
1647           and #421480.
1648
1649 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1650
1651         * docs/design/draft-tagreading.txt:
1652           Added open issues/thoughts to draft.
1653
1654 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1655
1656         * gst/parse/grammar.tab.pre.c:
1657         * gst/parse/grammar.tab.pre.h:
1658         * gst/parse/lex._gst_parse_yy.pre.c:
1659         Update the prebuild parser sources.
1660
1661 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1662
1663         * gst/parse/Makefile.am:
1664         And now fix the building of the flex sources. Now everything should
1665         work as expected.
1666
1667 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1668
1669         * gst/parse/Makefile.am:
1670         Now hopefully fix the build failures by setting proper rule
1671         dependencies and moving instead of copying.
1672
1673 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * tests/benchmarks/complexity.gnuplot:
1676         * tests/benchmarks/complexity.scm:
1677         * tests/benchmarks/mass-elements.gnuplot:
1678         * tests/benchmarks/mass-elements.scm:
1679           Total licensification.
1680
1681 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * gst/parse/Makefile.am:
1684           Fix the build by correcting the rule that gave wrong files to flex.
1685
1686 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1687
1688         * tests/benchmarks/complexity.c:
1689         * tests/benchmarks/mass-elements.c:
1690           Change licence to LGPL as granted by Benjamin and Andy.
1691
1692 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1693
1694         * gst/parse/Makefile.am:
1695         Add correct grammar.tab.h dependency if compiling without new enough
1696         flex. Fixes #431150.
1697
1698 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1699
1700         * gst/parse/Makefile.am:
1701         Fix typo and use outdated sources if the flex/bison sources are newer
1702         than the pregenerated ones but flex is too old. Print a warning in
1703         that case. This should fix the build on the build bot.
1704
1705 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1706
1707         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1708         * gst/parse/Makefile.am:
1709         * gst/parse/grammar.y:
1710         * gst/parse/parse.l:
1711         Make the parser reentrant and recursively callable. This requires flex
1712         >= 2.5.31, for older versions pregenerated sources are used as we
1713         can't bump the build dependency. Finally fixes #349180.
1714
1715         * gst/gstparse.c: (gst_parse_launch):
1716         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1717         now anyway.
1718
1719         * docs/gst/Makefile.am:
1720         * docs/gst/Makefile.am:
1721         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1722         (__gst_parse_strfree), (__gst_parse_link_new),
1723         (__gst_parse_link_free), (__gst_parse_chain_new),
1724         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1725         (gst_parse_element_set), (gst_parse_free_link),
1726         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1727         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1728         (_gst_parse_launch):
1729         * gst/parse/grammar.tab.pre.h:
1730         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1731         (yy_get_previous_state), (yy_try_NUL_trans), (input),
1732         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1733         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1734         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1735         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1736         (_gst_parse_yypop_buffer_state),
1737         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1738         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1739         (yy_fatal_error), (_gst_parse_yyget_extra),
1740         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1741         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1742         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1743         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1744         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1745         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1746         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1747         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1748         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1749         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1750         (_gst_parse_yyfree):
1751         If the installed flex version is too old use pre-generated parser
1752         sources. These pre-generated parser sources are always updated when
1753         the actual flex/bison sources change but require everybody who wants
1754         to change something in the parser to have flex >= 2.5.31 installed.
1755
1756 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
1757
1758         * common/m4/gst-gettext.m4:
1759         * gst/gst-i18n-lib.h:
1760           Make --disable-nls to work
1761
1762 2007-04-17  Wim Taymans  <wim@fluendo.com>
1763
1764         * gst/gstconfig.h.in:
1765         Revert previous change that broke the build.
1766
1767 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
1768
1769         * configure.ac:
1770         * gst/Makefile.am:
1771         * gst/gstconfig.h.in:
1772           Drop libxml2 dependency when building with 
1773           --enable-binary-registry --disable-loadsave
1774
1775 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
1776
1777         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1778         (gst_registry_binary_read_cache):
1779         * gst/gstregistrybinary.h:
1780           Remove unnecessary <sys/mman.h> include which broke the win32 build
1781           with MingW; move includes from header file to .c file, even if the
1782           header file isn't installed; use g_strerror() where UTF-8 strings
1783           are expected, such as in GST_DEBUG messages.
1784
1785 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1786
1787         * docs/libs/gstreamer-libs-sections.txt:
1788         Remove bogus addition for API I didn't end up keeping.
1789
1790         * libs/gst/base/gstbasesrc.h:
1791         Mention Since: 0.10.13 in the documentation.
1792
1793         Add the API keyword to the previous ChangeLog entry.
1794
1795 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1796
1797         * docs/libs/gstreamer-libs-sections.txt:
1798         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1799         (gst_base_src_default_prepare_seek_segment),
1800         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1801         * libs/gst/base/gstbasesrc.h:
1802         Allow basesrc derived classes to execute seeks in other formats
1803         by providing a prepare_seek_segment vmethod. Sub-classes can choose
1804         to prepare the GstSegment in any format that their perform_seek method
1805         will be able to understand. The default implementation provides the
1806         old behaviour of attempting to convert the seek offsets to the 
1807         configured native format.
1808
1809         API: basesrc::prepare_seek_segment vmethod.
1810
1811 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1812
1813         * gst/gstelement.c: (gst_element_get_state_func):
1814         Don't output the same debug statement twice.
1815
1816         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1817         (gst_adapter_peek), (gst_adapter_take_buffer):
1818         Optimise the case where we have buffers at the head of the queue that
1819         can be joined quickly (because they're contiguous sub-buffers) by
1820         merging them together rather than copying data out into new memory.
1821
1822         * gst/parse/grammar.y:
1823         * tests/check/pipelines/parse-launch.c:
1824         Fix a leak in an error path for parse_launch, and add a check 
1825         for it to the testsuite.
1826
1827 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1828
1829         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1830           Don't deadlock when releasing a pad - gst_pad_set_active may try
1831           and take the multiqueue lock too.
1832
1833 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1834
1835         * gst/gsterror.c: (_gst_core_errors_init):
1836         * gst/gsterror.h:
1837           API: add GST_CORE_ERROR_DISABLED (#392804).
1838
1839 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1840
1841         * docs/faq/gst-uninstalled:
1842           don't get empty paths on the PATH variables
1843         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1844           Don't format for the uncommon terminal width of 84 characters.
1845
1846 2007-04-06  Wim Taymans  <wim@fluendo.com>
1847
1848         * gst/gstpipeline.c: (reset_stream_time),
1849         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1850         Only try to select a different pipeline clock when we went back to
1851         PAUSED and not when we merely got flushed.
1852
1853 2007-04-05  Michael Smith  <msmith@fluendo.com>
1854
1855         * tools/gst-launch.1.in:
1856           fractions are better supported in gstreamer than ractions, so
1857           suggest using those.
1858
1859 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1860
1861         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1862
1863         * po/LINGUAS:
1864         * po/da.po:
1865           Added Danish translation.
1866
1867 2007-04-05  Wim Taymans  <wim@fluendo.com>
1868
1869         * libs/gst/base/gstbasesink.c:
1870         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1871         Fix leak caused when refusing newsegment after EOS.
1872
1873         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1874         (gst_fake_sink_init), (gst_fake_sink_set_property),
1875         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1876         (gst_fake_sink_render), (gst_fake_sink_change_state):
1877         * plugins/elements/gstfakesink.h:
1878         Add num-buffers property to make the element generate EOS after a
1879         configurable amount of buffers.
1880         API: fakesink::num-buffers property.
1881
1882         * tests/check/elements/fakesink.c: (GST_START_TEST),
1883         (fakesink_suite):
1884         Fix GstBus leak in test.
1885         Test for fakesink num-buffers.
1886
1887 2007-04-05  Wim Taymans  <wim@fluendo.com>
1888
1889         * libs/gst/base/gstbasesink.c:
1890         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1891         (gst_base_sink_change_state):
1892         Don't accept anything after an EOS, return UNEXPECTED instead.
1893
1894         * tests/check/elements/fakesink.c: (GST_START_TEST),
1895         (fakesink_suite):
1896         Unit test for new EOS behaviour.
1897
1898 2007-04-05  Wim Taymans  <wim@fluendo.com>
1899
1900         * gst/gstelement.c: (gst_element_get_request_pad):
1901         Make padtemplates also work when they don't contain %s or %d.
1902
1903 2007-04-05  Wim Taymans  <wim@fluendo.com>
1904
1905         * docs/gst/gstreamer-sections.txt:
1906         * gst/gstclock.c: (gst_clock_adjust_unlocked),
1907         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1908         * gst/gstclock.h:
1909         Improve _adjust_unlocked() so that it overflows less.
1910         Add gst_clock_unadjust_unlocked to convert from external time to
1911         internal time based on calibration.
1912         Add some more debug.
1913         API: GstClock::gst_clock_unadjust_unlocked()
1914
1915 2007-04-03  Wim Taymans  <wim@fluendo.com>
1916
1917         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1918
1919         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1920         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1921         when releasing sink pad. Fixes #425400.
1922
1923 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
1924
1925         * docs/random/ensonic/dynlink.txt:
1926           More work on proposal for new core api.
1927
1928         * docs/libs/gstreamer-libs-sections.txt:
1929         * libs/gst/base/gstbasetransform.h:
1930           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1931           
1932         * libs/gst/controller/gstcontroller.c:
1933         (on_object_controlled_property_changed),
1934         (gst_controller_sync_values),
1935         (gst_controller_set_interpolation_mode):
1936         * libs/gst/controller/gstcontroller.h:
1937           Less verbose logging add docs for unimplemented parts and correctly
1938           return when using unavailable parts.
1939
1940 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1941
1942         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1943         Move all the debug to the CLOCK category, and associate it with
1944         the clock object.
1945
1946 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1947
1948         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1949         Make take_buffer a bit quicker by removing redundant checks
1950         caused by calling gst_adapter_take.
1951
1952 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1953
1954         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1955           Don't leak GCond.
1956
1957         * tests/check/Makefile.am:
1958         * tests/check/elements/.cvsignore:
1959         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1960         (GST_START_TEST), (multiqueue_suite):
1961           Add some dead simple unit tests for the 'multiqueue' element
1962           (some bits don't work yet and are disabled for now).
1963
1964 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1965
1966         * gst/gstelement.c: (gst_element_get_request_pad),
1967         (gst_element_class_get_request_pad_template):
1968           Make gst_element_get_request_pad() create request pads only for
1969           request pad templates and not for, say, sometimes pad templates.
1970
1971 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
1972
1973         * docs/design/draft-klass.txt:
1974           Add example that needs more thinking.
1975         
1976         * docs/design/draft-missing-plugins.txt:
1977           More thoughts about wrapper plugins.
1978         
1979         * docs/random/ensonic/embedded.txt:
1980         * docs/random/ensonic/profiling.txt:
1981           More design work.
1982
1983 2007-03-25  Wim Taymans  <wim@fluendo.com>
1984
1985         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1986         (gst_base_src_loop):
1987         Only push the segment events in the PLAYING state for live sources.
1988
1989 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
1990
1991         * gst/gstpipeline.c: (gst_pipeline_change_state):
1992         Modify the clock distribution path in PAUSED->PLAYING so that we 
1993         never attempt to choose a new clock unless we're actually leaving
1994         the PAUSED state for the first time. This prevents choosing a
1995         different clock when the state_change gets called for a 2nd time due
1996         to some element doing an async state change.
1997
1998 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1999
2000         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2001         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2002         (gst_pad_chain_unchecked), (gst_pad_push):
2003         Revert last commit. This needs some more thoughts.
2004
2005 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2006
2007         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2008         (gst_pad_chain_unchecked), (gst_pad_push):
2009         Check in set_caps if the caps are compatible with the pad and remove
2010         two functions that are redundant now. Fixes #421543.
2011
2012 2007-03-22  Wim Taymans  <wim@fluendo.com>
2013
2014         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2015         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2016         Unref some more to make valgrind happy.
2017
2018 2007-03-22  Wim Taymans  <wim@fluendo.com>
2019
2020         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2021         (gst_system_clock_id_wait_jitter),
2022         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2023         Fix anoying regression that survived a few releases. When adding an
2024         async entry while blocking on a sync entry, the sync entry will unblock
2025         but still be busy, so it should continue to wait instead of returning
2026         _BUSY to the app.
2027         Add some comments here and there.
2028
2029         * tests/check/gst/gstsystemclock.c: (mixed_thread),
2030         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2031         Add testcase for this.
2032
2033 2007-03-22  Wim Taymans  <wim@fluendo.com>
2034
2035         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2036         Handle errors from the clock sync better, only UNSCHEDULED indicates a
2037         WRONG_STATE and can silently pause the task. All other cases should
2038         error out.
2039
2040 2007-03-22  Wim Taymans  <wim@fluendo.com>
2041
2042         Patch by: Ville Syrjala <syrjala at sci dot fi>
2043
2044         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2045         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
2046         Improve debugging.
2047
2048 2007-03-21  Michael Smith  <msmith@fluendo.com>
2049
2050         * docs/pwg/advanced-types.xml:
2051           Fix some errors in the typefinding docs pointed out on irc.
2052
2053 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
2054
2055         * libs/gst/base/gstbasesrc.c:
2056         Clarify FIXME comment in the face of having added unlock_stop()
2057
2058 2007-03-21  Wim Taymans  <wim@fluendo.com>
2059
2060         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2061         Prepare for release where we warn against possible app breakage in the
2062         case of live pipelines along with an env var to enable/disable live
2063         preroll mode (GST_COMPAT=[no-]live-preroll).
2064
2065 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2066
2067         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2068         So we should use correct constants for checking for None offset.
2069
2070 2007-03-20  Wim Taymans  <wim@fluendo.com>
2071
2072         * docs/design/part-block.txt:
2073         Mention the fact that the newly switched element should be set to at
2074         least PAUSED.
2075
2076 2007-03-20  Wim Taymans  <wim@fluendo.com>
2077
2078         * gst/gst.c:
2079         Fix compilation with registry disabled as spotted by Saur.
2080
2081 2007-03-20  Wim Taymans  <wim@fluendo.com>
2082
2083         Patch by: Olivier Crete <tester at tester dot ca>
2084
2085         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2086         Look at the pending state too when syncing the element state to the
2087         parent. Fixes #420133.
2088
2089 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2090
2091         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2092         (gst_base_sink_change_state):
2093         * libs/gst/base/gstbasesink.h:
2094         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2095         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2096         (gst_base_src_deactivate):
2097         * libs/gst/base/gstbasesrc.h:
2098         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2099         for sub-classes to correctly clear any state they set trying to
2100         unlock, such as clearing out unlock commands from a command fd.
2101         API: basesrc::unlock_stop
2102         API: basesink::unlock_stop
2103
2104         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2105         (gst_fd_sink_render), (gst_fd_sink_unlock),
2106         (gst_fd_sink_unlock_stop):
2107         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2108         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2109         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2110
2111         Implement unlock_stop in fdsrc and fdsink.
2112         Implement seeking in fdsrc when a seekable fd is passed, as in
2113         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2114
2115 2007-03-19  Wim Taymans  <wim@fluendo.com>
2116
2117         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2118
2119         * gst/gstelement.c: (gst_element_class_init):
2120         Fix pad-added and pad-removed signal signatures so that the pad type is
2121         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2122
2123 2007-03-19  Wim Taymans  <wim@fluendo.com>
2124
2125         * docs/gst/gstreamer-sections.txt:
2126         Add new element field and method.
2127
2128         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2129         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2130         (gst_bin_recalc_state), (gst_bin_get_state_func),
2131         (gst_bin_element_set_state), (gst_bin_change_state_func),
2132         (gst_bin_continue_func), (bin_bus_handler),
2133         (bin_push_state_continue), (bin_handle_async_start),
2134         (bin_handle_async_done), (gst_bin_handle_message_func):
2135         Make async state changes a bit smarter by using new ASYNC_START and
2136         ASYNC_DONE messages. This reduces the number of times we run the state
2137         recalculation thread.
2138         Don't change state of element with a pending ASYNC_START message.
2139         Deprecate STATE_DIRTY messages.
2140         
2141         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2142         (gst_element_get_state_func), (gst_element_continue_state),
2143         (gst_element_lost_state), (gst_element_set_state_func),
2144         (gst_element_change_state):
2145         * gst/gstelement.h:
2146         Keep the state that was last set by the app in a new element field.
2147         Don't allow state changes when handling an element event.
2148         Post ASYNC_START and ASYNC_DONE messages.
2149         Change lost_state so that we go to PAUSED and wait for the parent to set
2150         us to PLAYING again (so latency calculation can be performed)
2151         Export gst_element_change_state() method so that subclasses can use it.
2152         API: gst_element_change_state()
2153         API: GST_STATE_TARGET
2154
2155         * gst/gstpipeline.c: (gst_pipeline_class_init),
2156         (reset_stream_time), (gst_pipeline_change_state),
2157         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2158         Using the new ASYNC_START message we can reset the base_time when
2159         needed. This can then be used to implement base_time redistribution in
2160         flushing seeks so that we can remove the explicit seek handling.
2161         Perform latency query and configuration when going to PLAYING.
2162
2163         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2164         (gst_base_sink_query), (gst_base_sink_change_state):
2165         Post new ASYNC_START/ASYNC_DONE messages.
2166
2167         * tests/check/generic/sinks.c: (GST_START_TEST):
2168         Fix test because the bin will not set the async element to PLAYING right
2169         away.
2170
2171         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2172         Make the message check a little stronger.
2173         Handle ASYNC messages.
2174
2175         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2176         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2177         Expect ASYNC_DONE messages.
2178
2179 2007-03-19  Wim Taymans  <wim@fluendo.com>
2180
2181         * docs/gst/gstreamer-sections.txt:
2182         * gst/gstmessage.c: (gst_message_new_async_start),
2183         (gst_message_new_async_done), (gst_message_parse_info),
2184         (gst_message_parse_async_start):
2185         * gst/gstmessage.h:
2186         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2187         support.
2188
2189 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2190
2191         * tools/gst-inspect.c:
2192         (print_plugin_automatic_install_info_codecs):
2193           Now that we don't check for the 'Codec' keyword any longer in the
2194           klass, we shouldn't spew a warning if the klass isn't a decoder or
2195           encoder (since it might be a Source/Network, for example).
2196
2197 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2198
2199         * tools/gst-inspect.c:
2200         (print_plugin_automatic_install_info_codecs):
2201           Don't require decoder/demuxer/depayloader elements or
2202           encoder/muxer/paylader elements to have 'Codec' as part of their
2203           factory class string when introspecting a plugin's capabilities.
2204           draft-klass.txt mentions that it might be removed in future, and
2205           flump3dec doesn't have it as part of its class string, so chances
2206           are others might also not have it.
2207
2208 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2209
2210         * po/af.po:
2211         * po/az.po:
2212         * po/bg.po:
2213         * po/ca.po:
2214         * po/cs.po:
2215         * po/de.po:
2216         * po/en_GB.po:
2217         * po/fr.po:
2218         * po/it.po:
2219         * po/nb.po:
2220         * po/nl.po:
2221         * po/ru.po:
2222         * po/sq.po:
2223         * po/sr.po:
2224         * po/sv.po:
2225         * po/tr.po:
2226         * po/uk.po:
2227         * po/vi.po:
2228         * po/zh_CN.po:
2229         * po/zh_TW.po:
2230           Update translations from translation project
2231
2232 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2233
2234         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2235         (gst_child_proxy_set_property):
2236           Invert precondition check to be alike the ones in the mimiced gobject
2237           api.
2238
2239 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2240
2241         * docs/design/draft-tagreading.txt:
2242         * docs/random/ensonic/audiobaseclasses.txt:
2243           Do some Architect work.
2244
2245         * gst/gstobject.c: (gst_object_set_name):
2246           Add a WARNING.
2247
2248         * gst/gstpad.c:
2249           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2250
2251 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2252
2253         * gst/gstsystemclock.c: (gst_system_clock_init),
2254         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2255         Defer starting the async system clock thread until the first async
2256         wait is scheduled. Fixes #414986.
2257
2258 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2259
2260         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2261         (gst_single_queue_free):
2262           Fix small leak (free GstSingleQueue structure too, not only contents).
2263
2264 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2265
2266         * gst/gstbin.c:(gst_bin_add):
2267         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2268         * win32/common/libgstbase.def:
2269         * win32/common/libgstreamer.def:
2270         Add new exported functions.
2271
2272 2007-03-09  Wim Taymans  <wim@fluendo.com>
2273
2274         * docs/plugins/gstreamer-plugins-sections.txt:
2275         Fix GstTee docs.
2276
2277 2007-03-09  Wim Taymans  <wim@fluendo.com>
2278
2279         * docs/gst/gstreamer-sections.txt:
2280         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2281         * gst/gstbuffer.h:
2282         Add metadata copy functions. Fixes #393099.
2283         API: gst_buffer_copy_metadata()
2284
2285         * gst/gstutils.c: (gst_buffer_stamp):
2286         * libs/gst/base/gstbasetransform.c:
2287         (gst_base_transform_prepare_output_buffer):
2288         Use new metadata copy functions.
2289
2290 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2291
2292         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2293         (gst_identity_init), (gst_identity_check_perfect),
2294         (gst_identity_check_imperfect_timestamp),
2295         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2296         (gst_identity_set_property), (gst_identity_get_property):
2297         * plugins/elements/gstidentity.h:
2298         Separate out check-imperfect-timestamp and check-imperfect-offset.
2299         Put back check-perfect as it was to keep compatibility.
2300
2301 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2302
2303         * gst/gstelement.c: (gst_element_dispose):
2304         There's no need to warn if VOID_PENDING is not NONE here, as
2305         long as the state is NULL it's ok, and that's checked immediately
2306         above.
2307
2308 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2309
2310         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2311         Fix check for perfect stream to ignore buffers with -1 
2312         offsets/offset ends when checking data contiguity.
2313
2314 2007-03-08  Wim Taymans  <wim@fluendo.com>
2315
2316         * tools/gst-launch.c: (event_loop):
2317         Print INFO messages.
2318
2319 2007-03-08  Wim Taymans  <wim@fluendo.com>
2320
2321         * libs/gst/base/gstbasetransform.c:
2322         (gst_base_transform_sink_eventfunc),
2323         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2324         (gst_base_transform_activate):
2325         * libs/gst/base/gstbasetransform.h:
2326         Add support for dropping buffers with custom GstFlowReturn.
2327         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2328         buffers or dropped buffers.
2329
2330         * docs/libs/gstreamer-libs-sections.txt:
2331         docs for new custom return code.
2332
2333         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2334         Use drop support in base class to implement drop-probability.
2335
2336 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * gst/gst.c: (load_plugin_func):
2339         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2340         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2341         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2342           Remove newlines at end of debug log strings.
2343
2344 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2345
2346         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2347         Only post bus message at max, once per buffer received.
2348
2349 2007-03-07  Wim Taymans  <wim@fluendo.com>
2350
2351         * docs/design/Makefile.am:
2352         * docs/design/part-synchronisation.txt:
2353         Add doc about synchronisation
2354
2355         * docs/design/draft-latency.txt:
2356         * docs/design/part-TODO.txt:
2357         * docs/design/part-clocks.txt:
2358         * docs/design/part-events.txt:
2359         * docs/design/part-gstbus.txt:
2360         * docs/design/part-gstpipeline.txt:
2361         * docs/design/part-live-source.txt:
2362         * docs/design/part-messages.txt:
2363         * docs/design/part-overview.txt:
2364         * docs/design/part-streams.txt:
2365         * docs/design/part-trickmodes.txt:
2366         Documentation updates.
2367
2368 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2369
2370         * gstreamer.doap:
2371         Update the doap file.
2372
2373 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2374
2375         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2376         Rename non-perfect to imperfect for Mike and for the sanctity of the
2377         language.
2378         Also make sure bus message gets emitted for data-incontiguities.
2379
2380 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2381
2382         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2383         (gst_identity_start):
2384         * plugins/elements/gstidentity.h:
2385         Emit bus message if check-perfect is true and we encounter a
2386         non-perfect stream between 2 consecutive buffers.
2387         Fixes #415394.
2388
2389 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2390
2391         * configure.ac:
2392         Back to CVS
2393
2394 === release 0.10.12 ===
2395
2396 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2397
2398         * configure.ac:
2399           releasing 0.10.12, "Inevitable Demise"
2400
2401 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2402
2403         * configure.ac:
2404          Version 0.10.11.2 (0.10.12 pre-release)
2405          Bump libtool versioning.
2406
2407 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2408
2409         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2410           Log flow-names and not numbers.
2411
2412 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2413
2414         * configure.ac:
2415           Convert to new AG_GST style.
2416
2417 2007-02-28  Wim Taymans  <wim@fluendo.com>
2418
2419         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2420         Don't unref query twice.
2421
2422 2007-02-28  Wim Taymans  <wim@fluendo.com>
2423
2424         * gst/gstvalue.c: (gst_value_transform_object_string),
2425         (_gst_value_initialize):
2426         Implement GstObject -> string transform so we print object names
2427         when serializing GValues containing GstObjects.
2428
2429 2007-02-28  Wim Taymans  <wim@fluendo.com>
2430
2431         * docs/gst/gstreamer-sections.txt:
2432         Add new stuff to docs.
2433
2434 2007-02-28  Wim Taymans  <wim@fluendo.com>
2435
2436         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2437         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2438         (gst_base_sink_change_state):
2439         Improve latency query code.
2440         Don't leak latency events.
2441
2442         * tests/check/gst/gstbin.c: (GST_START_TEST):
2443         Improve debugging.
2444
2445 2007-02-28  Wim Taymans  <wim@fluendo.com>
2446
2447         * gst/gstelement.c: (gst_element_message_full),
2448         (gst_element_get_state_func):
2449         * gst/gstelement.h:
2450         Improve docs a little. Added Since: for new macro.
2451
2452         * gst/gstobject.c: (gst_object_sink):
2453         * gst/gstpipeline.c: (gst_pipeline_change_state),
2454         (gst_pipeline_set_new_stream_time):
2455         * gst/gstpipeline.h:
2456         Improve debugging and docs.
2457
2458         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2459         Improve debugging.
2460
2461 2007-02-28  Wim Taymans  <wim@fluendo.com>
2462
2463         * gst/gstelement.c: (gst_element_message_full),
2464         (gst_element_set_locked_state), (gst_element_get_state_func),
2465         (gst_element_change_state):
2466         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2467         Documentation updates.
2468         Small code cleanups.
2469
2470         * gst/gstmessage.c: (gst_message_new_info),
2471         (gst_message_parse_info):
2472         * gst/gstmessage.h:
2473         API: gst_message_new_info()
2474         API: gst_message_parse_info()
2475         Add INFO message create and parse code.
2476
2477 2007-02-28  Wim Taymans  <wim@fluendo.com>
2478
2479         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2480         (bin_query_latency_done):
2481         Also report the live parameter of a latency query.
2482
2483 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2484
2485         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2486           Copy the current generic/states example from -base and adapt so
2487           we can use the exact same code everywhere.
2488           Check a STATES_IGNORE_ELEMENTS env var which can be used
2489           to ignore certain element factories for this test, which is
2490           what is being done in -base
2491         * tests/check/Makefile.am:
2492           Mention this environment variable.
2493
2494 2007-02-27  Wim Taymans  <wim@fluendo.com>
2495
2496         * docs/gst/gstreamer-sections.txt:
2497         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2498         (gst_bus_timed_pop), (gst_bus_pop):
2499         * gst/gstbus.h:
2500         API: gst_bus_timed_pop()
2501         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2502         message to arrive on the bus.
2503
2504         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2505         (gst_bus_suite):
2506         Two unit tests for new _timed_pop() function.
2507
2508 2007-02-23  Wim Taymans  <wim@fluendo.com>
2509
2510         * gst/gstpipeline.c: (gst_pipeline_change_state),
2511         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2512         Don't ref a NULL clock in _provide_clock_func().
2513         Don't allow an INVALID delay.
2514         Don't try to calculate base_time with an invalid start_time.
2515         Also distribute and notify a NULL clock when it was selected.
2516
2517         * tools/gst-launch.c: (event_loop):
2518         Don't crash when a NULL clock was selected in the pipeline.
2519
2520 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2521
2522         * docs/design/Makefile.am:
2523         * docs/design/draft-missing-plugins.txt:
2524         * docs/random/draft-missing-plugins.txt:
2525           Some small updates: update plugin system identifier prefix
2526           ('gstreamer.net' to 'gstreamer'), mention our new install
2527           API in libgstbaseutils rather than libgimme-codec, add
2528           reference to the online docs.
2529
2530 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2531
2532         * win32/common/config.h:
2533           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2534           use moap cl ci to only check in what is mentioned in the ChangeLog.
2535
2536 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2537
2538         * docs/gst/gstreamer-sections.txt:
2539         * gst/gstelement.h:
2540           Fix up documentation to link to the correct GstGError section.
2541           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2542
2543 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2544
2545         * tools/gst-launch.c: (event_loop):
2546           Make sure that we actually show the important message part of a
2547           warning message.
2548           No need to check if the gerror is not NULL to free; first of all
2549           g_free accepts NULL; and second the default error handler would
2550           segfault if gerror was NULL.
2551
2552 2007-02-21  Wim Taymans  <wim@fluendo.com>
2553
2554         * docs/gst/gstreamer-sections.txt:
2555         Removed docs as well.
2556
2557 2007-02-21  Wim Taymans  <wim@fluendo.com>
2558
2559         * gst/gstmessage.c: (gst_message_parse_duration):
2560         * gst/gstmessage.h:
2561         Remove new messages for release.
2562
2563 2007-02-20  Wim Taymans  <wim@fluendo.com>
2564
2565         * docs/design/part-gstghostpad.txt:
2566         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2567         (gst_ghost_pad_new_full):
2568         Make the ghostpad a parent of the internal pad again for better backward
2569         compatibility. Don't write code that relies on this however.
2570
2571         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2572         (gst_pad_link_check_hierarchy):
2573         Require that parents should be GstElements in the hierarchy check.
2574
2575 2007-02-20  Wim Taymans  <wim@fluendo.com>
2576
2577         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2578         (gst_bin_change_state_func), (bin_query_min_max_init),
2579         (bin_query_latency_fold), (bin_query_latency_done),
2580         (gst_bin_query):
2581         Improve debug info.
2582         Implement latency query.
2583
2584 2007-02-20  Wim Taymans  <wim@fluendo.com>
2585
2586         * docs/design/part-gstghostpad.txt:
2587         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2588         (gst_ghost_pad_internal_do_activate_push),
2589         (gst_ghost_pad_internal_do_activate_pull),
2590         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2591         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2592         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2593         Do not set the internal pad as a parent anymore so we can avoid
2594         hierarchy linking errors when the ghostpad has no parent yet. This also
2595         fixes failed activation because of unlinked internal pads, which in
2596         turn fixes the impossible case where you have to activate a pad before
2597         you can add it to a running element.
2598         Also fix the docs.
2599
2600         * gst/gstpad.c: (pre_activate), (post_activate),
2601         (gst_pad_set_active), (gst_pad_activate_pull),
2602         (gst_pad_activate_push), (gst_pad_check_pull_range):
2603         Add some more debug info.
2604         Mark activation mode in pre_activate so that we don't try to activate in
2605         endless loops. Fixes #385084.
2606
2607 2007-02-19  Wim Taymans  <wim@fluendo.com>
2608
2609         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2610         (gst_base_transform_check_get_range):
2611         Implement a checkgetrange function instead of relying on the default
2612         core behaviour that assumes we can operate in pull mode if we have a
2613         getrange function. First step at fixing #385084.
2614
2615 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2616
2617         * gst/gstchildproxy.h:
2618         * libs/gst/base/gstbasesink.h:
2619         * libs/gst/base/gstbasesrc.h:
2620         * libs/gst/base/gstbasetransform.h:
2621         More docs coverage and some ChangeLog surgery (add missing names)
2622
2623 2007-02-15  Wim Taymans  <wim@fluendo.com>
2624
2625         * docs/design/part-TODO.txt:
2626         * docs/design/part-activation.txt:
2627         * docs/design/part-block.txt:
2628         * docs/design/part-buffering.txt:
2629         * docs/design/part-clocks.txt:
2630         * docs/design/part-element-source.txt:
2631         * docs/design/part-events.txt:
2632         * docs/design/part-gstbin.txt:
2633         * docs/design/part-gstbus.txt:
2634         * docs/design/part-gstpipeline.txt:
2635         * docs/design/part-live-source.txt:
2636         * docs/design/part-messages.txt:
2637         * docs/design/part-overview.txt:
2638         * docs/design/part-qos.txt:
2639         * docs/design/part-query.txt:
2640         * docs/design/part-states.txt:
2641         * docs/design/part-trickmodes.txt:
2642         Some doc updates. Start renaming from stream_time to running_time where
2643         it was used wrongly.
2644
2645 2007-02-15  Wim Taymans  <wim@fluendo.com>
2646
2647         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2648         Answer LATENCY query.
2649
2650 2007-02-15  Wim Taymans  <wim@fluendo.com>
2651
2652         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2653         (GST_START_TEST):
2654         Improve debugging.
2655
2656 2007-02-15  Wim Taymans  <wim@fluendo.com>
2657
2658         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2659         (gst_pad_dispatcher):
2660         Improve debugging of default pad dispatcher and query functions.
2661
2662 2007-02-15  Wim Taymans  <wim@fluendo.com>
2663
2664         * docs/gst/gstreamer-sections.txt:
2665         Remove old unused method.
2666
2667 2007-02-13  Wim Taymans  <wim@fluendo.com>
2668
2669         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2670         Fix check
2671
2672 2007-02-13  Wim Taymans  <wim@fluendo.com>
2673
2674         * docs/design/part-seeking.txt:
2675         Some small update.
2676
2677         * gst/gstsegment.c: (gst_segment_set_seek):
2678         Revert old bogus change that should make seeking work again.
2679
2680 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2681
2682         * docs/random/ensonic/dynlink.txt:
2683         * docs/random/ensonic/interfaces.txt:
2684         * docs/random/ensonic/receipies.txt:
2685           Possible dynamic reconnection api, plus some type fixes the other two
2686           docs.
2687
2688 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
2689
2690         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2691         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2692         Also check for an absolute path following file:// in the filesrc
2693         element. Remove redundant check and call g_path_is_absolute() on the
2694         unescaped location.
2695
2696 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2697
2698         * docs/design/draft-klass.txt:
2699           Add existing category analysis.
2700           
2701         * gst/gstcaps.c:
2702           Fix doc example, framerate is a fraction.
2703
2704 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2705
2706         * configure.ac:
2707         * docs/gst/Makefile.am:
2708         * docs/gst/gstreamer-sections.txt:
2709         * docs/libs/Makefile.am:
2710           Erm, forgot a bunch of --extra-dir.
2711
2712 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2713
2714         * configure.ac:
2715         * docs/gst/Makefile.am:
2716         * docs/libs/Makefile.am:
2717         * docs/plugins/Makefile.am:
2718           Add crossreferences to glib/gobject docs.
2719
2720 2007-02-12  Wim Taymans  <wim@fluendo.com>
2721
2722         * docs/design/draft-latency.txt:
2723         Small update.
2724
2725         * docs/libs/gstreamer-libs-sections.txt:
2726         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2727         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2728         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2729         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2730         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2731         (gst_base_sink_get_position), (gst_base_sink_query),
2732         (gst_base_sink_change_state):
2733         * libs/gst/base/gstbasesink.h:
2734         API: gst_base_sink_query_latency() to let subclasses query the upstream
2735         latency.
2736         API: gst_base_sink_get_latency() to let subclasses query the configured
2737         latency in the sink.
2738         Implement query and set latency.
2739         Update some docs.
2740         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2741         don't continue preroll when we are flushing. Fixes #405284.
2742
2743         * tests/check/pipelines/stress.c: (change_state_timeout),
2744         (quit_timeout), (GST_START_TEST), (stress_suite):
2745         Test for #405284.
2746
2747 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2748
2749         Patch by: René Stadler <mail at renestadler de>
2750
2751         * docs/gst/gstreamer-sections.txt:
2752         * gst/gsttaglist.c: (_gst_tag_initialize):
2753         * gst/gsttaglist.h:
2754           API: add GST_TAG_REFERENCE_LEVEL (#403597).
2755
2756 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
2757
2758         * docs/libs/Makefile.am:
2759           Fix path to core docs.
2760
2761         * gst/gstbin.c: (gst_bin_get_by_interface),
2762         (gst_bin_iterate_all_by_interface):
2763           Refix docs by also renaming 'interface' to 'iface' in implementation.
2764
2765         * docs/gst/gstreamer-sections.txt:
2766         * gst/gstcaps.c:
2767         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2768         * gst/gstchildproxy.h:
2769         * gst/gstelementfactory.c:
2770         * gst/gstpadtemplate.h:
2771         * libs/gst/controller/gstcontroller.c:
2772         (gst_controlled_property_new):
2773           Document more.
2774
2775 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
2776
2777         * gst/gstbin.h:(gst_bin_get_by_interface),
2778         (gst_bin_iterate_all_by_interface):
2779         Replace interface parameter name by iface as interface is 
2780         a reserved keyword in Visual Studio for C++ projects so it removes
2781         a build error for application developpers using VS.
2782         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2783         Fix a bug on Windows in uri format check. Now the prefix checked
2784         is file:// and next we check if the path after file:// is absolute.
2785         * win32/common/libgstbase.def:
2786         * win32/common/libgstdataprotocol.def:
2787         * win32/common/libgstgstreamer.def:
2788         Add new exported functions.
2789
2790 2007-02-09  Andy Wingo  <wingo@pobox.com>
2791
2792         * tests/check/pipelines/simple-launch-lines.c
2793         (simple_launch_lines_suite, test_tee): Disable tee test until I
2794         have time to fix it :-(
2795
2796         * tests/check/Makefile.am (noinst_HEADERS): 
2797         * tests/check/libs/libsabi.c: 
2798         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2799         * tests/check/gst/gstabi.c: 
2800         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2801
2802         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2803         tests for push and pull tee behavior.
2804
2805         * plugins/elements/gsttee.h: 
2806         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2807         mark as deprecated as well as unimplemented. It was a crack idea.
2808         Add support for tee operating in pull mode, off by default.
2809
2810         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2811         normal-case logs down to LOG, raise errors to WARNING.
2812         (gst_registry_xml_read_cache): Don't log before calling a function
2813         that logs.
2814
2815         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2816         exit (registry finalize).
2817         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2818         DEBUG log when we emit signals that people don't even have the
2819         chance to connect to.
2820         (gst_registry_scan_path_level): Less logging in the normal case.
2821
2822 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         Patch by: Michal Benes <michal dot benes at itonis dot tv>
2825
2826         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2827         Correctly generate EOS for non-seekable files. We don't have a total
2828         length for them and would get an unexpected end of file if we only
2829         special-cased for regular files. (Fixes: #404569)
2830
2831 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2832
2833         * tests/check/elements/filesrc.c: (GST_START_TEST),
2834         (filesrc_suite):
2835         Add unit test for the GstURIHandler interface in filesrc. This also
2836         tests the newly added file://localhost/foo/bar support.
2837
2838 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2839
2840         * gst/gstelementfactory.h:
2841           The klass string is not a hierarchy. Add reference to the design doc
2842           for more information and common types.
2843
2844 2007-02-02  Wim Taymans  <wim@fluendo.com>
2845
2846         * gst/gstquery.c: (gst_query_new_latency):
2847         Remove old structure field.
2848
2849 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * tools/gst-launch.1.in:
2852           Give example for network streaming (#351998)
2853
2854 2007-02-02  Wim Taymans  <wim@fluendo.com>
2855
2856         * docs/gst/gstreamer-sections.txt:
2857         Add docs for new methods.
2858
2859         * gst/gstevent.c: (gst_event_new_latency),
2860         (gst_event_parse_latency):
2861         * gst/gstevent.h:
2862         Add new LATENCY event to configure latency in a pipeline.
2863         API: gst_event_new_latency
2864         API: gst_event_parse_latency
2865
2866         * gst/gstmessage.c: (gst_message_new_buffering),
2867         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2868         (gst_message_new_latency), (gst_message_parse_buffering),
2869         (gst_message_parse_lost_preroll):
2870         * gst/gstmessage.h:
2871         Added messages used in draft-latency.
2872         API: gst_message_new_lost_preroll
2873         API: gst_message_parse_lost_preroll
2874         API: gst_message_new_prerolled
2875         API: gst_message_new_latency
2876
2877         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2878         (gst_query_parse_latency):
2879         * gst/gstquery.h:
2880         Implemented new latency query as in design doc.
2881         API: gst_query_new_latency
2882         API: gst_query_set_latency
2883         API: gst_query_parse_latency
2884
2885 2007-02-02  Wim Taymans  <wim@fluendo.com>
2886
2887         * docs/design/draft-latency.txt:
2888         Slight redesign to allow for dynamic latency adjustments.
2889
2890         * docs/design/part-negotiation.txt:
2891         Fix some typos.
2892
2893 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2894
2895         reviewed by: Wim Taymans <wim@fluendo.com>
2896
2897         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2898         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2899         Allow file://localhost/foo/bar URLs and correctly fail for every other
2900         hostname that one sets. This was gnomevfssrc is linked for those if
2901         installed as it can handle it (#403172)
2902
2903 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2904
2905         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2906
2907         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2908         (unref_data), (gst_collect_pads_add_pad_full):
2909         * libs/gst/base/gstcollectpads.h:
2910         Don't put the previously added destroy notify in the GstCollectData
2911         struct as all it's padding is already used and we don't want to break
2912         ABI. Instead put in the pad's GObject data for now. This should be
2913         cleaned up for 0.11 (#402393).
2914
2915 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2916
2917         reviewed by: Wim Taymans <wim@fluendo.com>
2918
2919         * docs/libs/gstreamer-libs-sections.txt:
2920         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2921         (unref_data), (gst_collect_pads_add_pad),
2922         (gst_collect_pads_add_pad_full):
2923         * libs/gst/base/gstcollectpads.h:
2924         API: Add function to specify a destroy notification for custom
2925         GstCollectData when adding new pads in GstCollectPads (#402393).
2926
2927 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
2928
2929         * po/sv.po:
2930           Update Swedish translation (#378255).
2931
2932 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2933
2934         * docs/design/draft-klass.txt:
2935           Fix the previous change, this is a list of categories and not a hierarchy.
2936
2937 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2938
2939         * docs/design/draft-klass.txt:
2940           Add info about how to get a list of used classes.
2941
2942 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
2943
2944         * plugins/elements/gsttypefindelement.c:
2945         (gst_type_find_element_chain_do_typefinding),
2946         (gst_type_find_element_change_state):
2947           Don't leak found caps in chain function (no idea why that never
2948           showed up as a leak anywhere).
2949
2950 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
2951
2952         * gst/gstplugin.h:
2953           Fix and expand GstPluginDesc API docs.
2954
2955 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2956
2957         * gst/gstcaps.c:
2958         * gst/gstelementfactory.c:
2959         * gst/gstpadtemplate.h:
2960           api doc fixes
2961
2962         * libs/gst/controller/gstcontroller.c:
2963         (gst_controlled_property_new):
2964         * tests/examples/controller/audio-example.c:
2965           comment fixes
2966
2967 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2968
2969         * configure.ac:
2970           comment about refining the xml deps
2971
2972         * docs/manuals.mak:
2973           comments about moving away from jade for docs
2974         
2975         * gst/gst.c:
2976           recommit the ifdefs to use the binary registry
2977         
2978         * gst/gstbin.c: (gst_bin_change_state_func):
2979           this break is obsolete
2980
2981         * gst/gstelementfactory.h:
2982           better GST_ELEMENT_DETAILS docs, add comment about translation
2983
2984         * gst/gstinfo.h:
2985           remove eol slash
2986
2987         * gst/gstobject.c: (gst_signal_object_get_type):
2988           add G_UNLIKELY as usual
2989
2990         * gst/gstpad.c: (gst_pad_event_default):
2991           add fall trhu comment
2992
2993         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2994         (gst_registry_binary_initialize_magic),
2995         (gst_registry_binary_save_string),
2996         (gst_registry_binary_save_pad_template),
2997         (gst_registry_binary_save_feature),
2998         (gst_registry_binary_save_plugin),
2999         (gst_registry_binary_write_cache),
3000         (gst_registry_binary_check_magic),
3001         (gst_registry_binary_load_pad_template),
3002         (gst_registry_binary_load_feature),
3003         (gst_registry_binary_load_plugin),
3004         (gst_registry_binary_read_cache):
3005           comment typo and formatting
3006
3007         * gst/gstutils.c: (gst_element_state_get_name),
3008         (gst_element_state_change_return_get_name):
3009           remove obsolete breaks
3010
3011         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3012           add FIXME 0.11 and remove cpp comment
3013
3014 2007-01-29  Edward Hervey  <edward@fluendo.com>
3015
3016         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3017         Fix print statement in an even more portable way.
3018
3019 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
3020
3021         * docs/gst/gstreamer-sections.txt:
3022         * gst/gstutils.h:
3023           API: add GST_ROUND_DOWN_* macros (#401781).
3024
3025 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
3026
3027         * docs/gst/gstreamer.types.in:
3028         * gst/gstregistry.c: (gst_registry_class_init):
3029           Document registry signals and make gtk-doc pick them up (#401381).
3030
3031 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3032
3033         * docs/pwg/building-testapp.xml:
3034           Add some audioconverts and audioresample to the pipeline, and some
3035           more comments and error handling.
3036
3037 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         * docs/manual/manual.xml:
3040         * docs/pwg/pwg.xml:
3041           Fix typo (#400987).
3042
3043 2007-01-26  Wim Taymans  <wim@fluendo.com>
3044
3045         * gst/gstcaps.c: (gst_static_caps_get):
3046         Init caps flags too.
3047
3048 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
3049
3050         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3051
3052         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3053         If not using mmap'ed files try to seek to the end instead of the
3054         start to determine whether we can seek at all. This fixes the case
3055         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3056         seeks for everything afterwards fail. Fixes #400656
3057
3058 2007-01-25  Wim Taymans  <wim@fluendo.com>
3059
3060         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3061         Add some refcount debugging.
3062         Make gst_static_caps_get threadsafe, which is needed when autoplugging
3063         in multiple streaming threads.
3064
3065 2007-01-25  Wim Taymans  <wim@fluendo.com>
3066
3067         Patch by: David Schleef <ds at schleef dot org>
3068
3069         * docs/libs/gstreamer-libs-sections.txt:
3070         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3071         * libs/gst/base/gstadapter.h:
3072         API: gst_adapter_copy() that can reduce the amount of memcpy when
3073         getting data from the adapter. Fixes #388201.
3074
3075 2007-01-25  Edward Hervey  <edward@fluendo.com>
3076
3077         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3078         In print statements, "%x" is for guint. Fixes build on macosx.
3079
3080 2007-01-24  Edward Hervey  <edward@fluendo.com>
3081
3082         * plugins/elements/gstmultiqueue.c:
3083         (gst_multi_queue_loop):
3084         Small fix.
3085         (single_queue_overrun_cb), (single_queue_underrun_cb),
3086         (single_queue_check_full), (gst_single_queue_new):
3087         Implement single queue growth system.
3088         This uses the extra-size properties, and will grow single queues by
3089         that much if one goes full whereas there are others empty. This is
3090         called extra-mode in the code.
3091         When a single queue's levels go back below the initial max-size
3092         limits, it is no longer in extra-mode. This is to ensure we don't
3093         consume too much memory.
3094         Fixes #399875
3095
3096 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3097
3098         * gst/gst.c: (gst_init_get_option_group):
3099           Make warning about late g_thread_init() calls a bit more explicit,
3100           so that it's more obvious to application developers what they need
3101           to do if a user files a bug against their application.
3102
3103 2007-01-22  Edward Hervey  <edward@fluendo.com>
3104
3105         * plugins/elements/gstmultiqueue.c:
3106         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3107         Remove previous hack of unsetting the flushing flag for the source pad
3108         instead of activating it. Instead, fix the source pad activate function
3109         so that it no longer depends on having a parent set or not.
3110
3111 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3114
3115         * docs/manual/basics-bus.xml:
3116           Fix example code, gst_element_unref() doesn't exist any longer.
3117
3118 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3119
3120         Patch by: Mark Nauwelaerts <manauw at skynet be>
3121
3122         * gst/gstpad.c:
3123           Fix two docs typoes (#399094).
3124
3125 2007-01-19  Edward Hervey  <edward@fluendo.com>
3126
3127         * docs/faq/gst-uninstalled:
3128         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3129         depending on libgstbaseutils can work in uninstalled environment.
3130
3131 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3132
3133         * gst/gsttaglist.h:
3134         * gst/gsttagsetter.c:
3135         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3136         statement for new tag.
3137
3138 2007-01-17  Edward Hervey  <edward@fluendo.com>
3139
3140         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3141         When dynamically creating single queues, activate sinkpad before adding
3142         it.
3143         We should be doing the same thing for the source pad, but we can't
3144         since it would call a method which needs the parent to be set in order
3145         to work propertly. Instead of activating the source pad, we just unset
3146         the flushing flag, which is the minimal requirement for adding a pad
3147         to an element in a state greater than READY.
3148
3149 2007-01-17  Edward Hervey  <edward@fluendo.com>
3150
3151         * docs/faq/gst-uninstalled:
3152         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3153         Mac OS X.
3154
3155 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3156
3157         * tests/check/gst/gstabi.c:
3158         * tests/check/gst/struct_hppa.h:
3159         * tests/check/libs/libsabi.c:
3160         * tests/check/libs/struct_hppa.h:
3161           Add ABI structs for HPPA (see #393796).
3162
3163 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3164
3165         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3166           Actually write ABI structs to the file specified in the GST_ABI
3167           environment variable, as the message we print claims we would.
3168
3169 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3170
3171         * tests/check/gst/gsttask.c:
3172           Fix header comment.
3173
3174 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3175
3176         * gst/gsttaglist.c: (_gst_tag_initialize):
3177           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3178           previous two entries.
3179
3180 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3181
3182         * docs/gst/gstreamer-sections.txt:
3183         * gst/gsttaglist.c: (_gst_tag_initialize):
3184         * gst/gsttaglist.h:
3185           Add tag support for beat-per-minute.
3186
3187 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3188
3189         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3190         (gst_registry_binary_initialize_magic),
3191         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3192         (gst_registry_binary_save_pad_template),
3193         (gst_registry_binary_save_feature),
3194         (gst_registry_binary_save_plugin),
3195         (gst_registry_binary_write_cache),
3196         (gst_registry_binary_check_magic),
3197         (gst_registry_binary_load_pad_template),
3198         (gst_registry_binary_load_feature),
3199         (gst_registry_binary_load_plugin),
3200         (gst_registry_binary_read_cache):
3201         * gst/gstregistrybinary.h:
3202           Use glib types, cleanup comments, impement interfaces and uri-types.
3203
3204 2007-01-13  Andy Wingo  <wingo@pobox.com>
3205
3206         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3207         getrange() to return buffers with other caps, while we fix
3208         demuxers and typefind, or otherwise change part-negotiation.txt.
3209
3210 2007-01-12  Andy Wingo  <wingo@pobox.com>
3211
3212         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3213         Factor start/stop into this private function instead of partially
3214         in activate functions and partially in the change_state function.
3215         Fixes setup before the element has changed from READY->PAUSED, as
3216         is the case in pull-mode pipelines.
3217         (gst_base_transform_sink_activate_push)
3218         (gst_base_transform_src_activate_pull): Refactor to use
3219         gst_base_transform_activate().
3220         (gst_base_transform_change_state): Removed, not needed any more.
3221
3222         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3223         Truncate before fixating.
3224         
3225         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3226         Don't set_caps() if the result of fixating is ANY, as it's not
3227         supported, and not necessary in the case of a link with no
3228         template caps on either side. Fixes tests/check/libs/basesrc in
3229         some pull-mode tests.
3230
3231         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3232         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3233         (gst_base_transform_src_activate_pull): 
3234         Track the activation mode.
3235         (gst_base_transform_setcaps): In pull mode, when activating the
3236         src pad, after activating the sink pad, activate the sink pad's
3237         peer, as discussed in part-negotiation.txt.
3238
3239         * libs/gst/base/gstbasesrc.h: 
3240         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3241         vmethod, as in basesink.
3242
3243         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3244
3245         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3246         mode, first proxy the setcaps to the peer pad.
3247         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3248         new fixate vmethod.
3249         (gst_base_sink_default_activate_pull): Rename from
3250         gst_base_sink_activate_pull.
3251         (gst_base_sink_negotiate_pull): New function, performs negotiation
3252         in pull mode before calling ::activate_pull().
3253         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3254         vmethod instead of the default implementation. I have no idea how
3255         this worked before. Negotiate before calling activate_pull.
3256
3257         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3258         sink pads in pull mode. In addition to being correct, fixes
3259         filesrc ! decodebin ! identity ! fakesink.
3260         (gst_pad_get_range, gst_pad_pull_range): Don't call
3261         gst_pad_set_caps() if the caps changes; instead error out with
3262         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3263
3264 2007-01-12  Andy Wingo  <wingo@pobox.com>
3265
3266         * docs/design/part-negotiation.txt: Update with more policy.
3267
3268 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3269
3270         * libs/gst/check/gstbufferstraw.h:
3271         * libs/gst/check/gstcheck.h:
3272           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3273           belongs.
3274
3275 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3276
3277         * tests/check/Makefile.am:
3278         * tests/check/gst/.cvsignore:
3279         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3280         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3281         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3282         (GST_START_TEST), (gst_tag_setter_suite):
3283           Add minimal unit test for beforementioned GstTagSetter bug.
3284
3285 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3286
3287         Patch by: René Stadler <mail at renestadler dot de>
3288
3289         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3290           gst_tag_list_merge() returns a new list, so it's not the best idea
3291           to ingore its return value. Effectively meant that tags could only
3292           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3293           Also add function guard to require a non-NULL taglist as input (has
3294           always been so due to gst_tag_list_copy(), just making it explicit).
3295
3296 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * docs/random/draft-missing-plugins.txt:
3299           Some additions: mention new API that is supposed to be used at the
3300           various stages; short blob about new gst-inspect introspection
3301           option; mention potential future problem with plugins that have
3302           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3303
3304 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         * tools/gst-inspect.c:
3307         (print_plugin_automatic_install_info_codecs),
3308         (print_plugin_automatic_install_info_protocols),
3309         (print_plugin_automatic_install_info), (main):
3310         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3311         introspect plugin files and get machine-parsable output that corresponds
3312         to the last bit of the missing-plugin installer string (small gotcha:
3313         doesn't take into account ranks).
3314
3315 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * configure.ac:
3318         * docs/gst/gstreamer-sections.txt:
3319         * gst/Makefile.am:
3320         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3321         (gst_registry_lookup_locked):
3322         * gst/gstregistry.h:
3323         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3324         (gst_registry_binary_initialize_magic),
3325         (gst_registry_binary_save_string),
3326         (gst_registry_binary_save_pad_template),
3327         (gst_registry_binary_save_feature),
3328         (gst_registry_binary_save_plugin),
3329         (gst_registry_binary_write_cache),
3330         (gst_registry_binary_check_magic),
3331         (gst_registry_binary_load_pad_template),
3332         (gst_registry_binary_load_feature),
3333         (gst_registry_binary_load_plugin),
3334         (gst_registry_binary_read_cache):
3335         * gst/gstregistrybinary.h:
3336         * gst/gstregistryxml.c: (load_feature),
3337         (gst_registry_xml_read_cache):
3338           commit binary registry (disabled by default, see #359653)
3339
3340 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3343           Fix 'make check' too.
3344
3345 2007-01-10  Andy Wingo  <wingo@pobox.com>
3346
3347         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3348         notes.
3349         
3350         * docs/design/part-negotiation.txt: Update with, um, one way that
3351         pull-mode negotiation might work?
3352
3353         * gst/gstpad.h: 
3354         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3355         that the pad must be a src pad; makes sense to call it the other
3356         way in pull mode, and the logic is symmetric anyway.
3357
3358 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3359
3360         * plugins/elements/gstfilesink.c:
3361           Include <stdio.h> for fseeko().
3362
3363 2007-01-10  Wim Taymans  <wim@fluendo.com>
3364
3365         * gst/gstevent.c:
3366         * gst/gstevent.h:
3367         Reserve LATENCY event.
3368
3369 2007-01-09  Wim Taymans  <wim@fluendo.com>
3370
3371         * docs/design/draft-latency.txt:
3372         Updates.
3373
3374 2007-01-09  Wim Taymans  <wim@fluendo.com>
3375
3376         * docs/design/draft-latency.txt:
3377         Updates.
3378
3379         * gst/gstelement.h:
3380         * gst/gststructure.c:
3381         * gst/gsttrace.c:
3382         Small typo fixes.
3383
3384 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3385
3386         * tests/check/.cvsignore:
3387           Ignore test-registry.xml as well.
3388
3389 2007-01-09  Wim Taymans  <wim@fluendo.com>
3390
3391         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3392         unref data at the end when we are done with the pad.
3393
3394 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3395
3396         * docs/gst/gstreamer-sections.txt:
3397         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3398         (init_post), (gst_deinit), (gst_update_registry):
3399         * gst/gst.h:
3400           API: add gst_update_registry() (#391296).
3401
3402         * tests/check/Makefile.am:
3403         * tests/check/gst/gstregistry.c:
3404         * tests/check/gst/.cvsignore:
3405           Simple unit test for the above.
3406
3407 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * gst/gstregistry.c: (gst_registry_scan_path_level):
3410           Plugin extension on HP-UX is .sl, add that to the list of approved
3411           plugin extensions (see #393796).
3412
3413         * tests/check/gst/gstpad.c: (GST_START_TEST):
3414           ulong => gulong. Fixes compilation with HP-UX compiler.
3415
3416         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3417           Fix compilation if valgrind headers are not available.
3418
3419 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3420
3421         * win32/common/libgstreamer.def: 
3422           Add new exported function.
3423         * win32/vs6/libgstbase.dsp: 
3424           Add gstdataqueue.c to the build.
3425         * win32/vs6/libgstcoreelements.dsp:
3426           Add gstmultiqueue.c to the build.
3427         
3428 2007-01-06  Andy Wingo  <wingo@pobox.com>
3429
3430         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3431         activate_pull(), providing for a way to specialize the process of
3432         spawning a thread to pull on the sink pad. There is a default
3433         implementation.
3434
3435         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3436         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3437         (gst_base_sink_init): Renamed pad activation functions (inserting
3438         "_pad" in their names). Refactor to use the new activate_pull
3439         vmethod, as appropriate.
3440         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3441         default activate_pull function to start a task pulling from the
3442         sink pad, as before.
3443
3444         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3445         on the pads if necessary, as in push()/chain(). Update docs.
3446         Shouldn't affect existing pull() usage as it is currently only
3447         being used on buffers without caps.
3448
3449 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3450
3451         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3452         (init_pre):
3453           Call g_thread_init() first thing in gst_init() / gst_check_init().
3454           When initialisation is done via gst_init_get_option_group() and
3455           GOption parsing, issue a warning if the GLib thread system has not
3456           been initialised yet by the time gst_init_get_option_group() is
3457           called, as it's quite likely other GLib functions such as
3458           g_option_context_new() have been called already then, and
3459           g_thread_init() must be called before any other GLib function. The
3460           application in question must be fixed in that case, since memory
3461           corruption might happen otherwise.
3462           We issue the warning because even if the GLib folks decide to work
3463           around the problem on their end in future, this is still an issue
3464           with all GLib versions >= 2.10.0, so we should warn until we depend
3465           on a GLib version we know to be safe.
3466           Update documentation as well.
3467           Closes bug #391278.
3468
3469 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3470
3471         * tools/gst-inspect.c: (main):
3472         * tools/gst-launch.c: (main):
3473         * tools/gst-typefind.c: (main):
3474         * tools/gst-xmlinspect.c: (main):
3475           Call g_thread_init() really really early, before any other GLib
3476           function (see #342564 and recent discussion on gtk-devel-list).
3477
3478 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3479
3480         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3481
3482         * gst/gst_private.h:
3483         * gst/gstconfig.h.in:
3484         * gst/gstinfo.h:
3485           On win32, all the __declspec stuff for symbol exporting is
3486           apparently only needed with MSVC, but doesn't work with MingW.
3487           Fixes compilation with MingW and #391909.
3488
3489 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3490
3491         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3492           Change some GST_ERROR_OBJECT that aren't really errors to
3493           GST_WARNING_OBJECT in order to reduce terminal spam.
3494
3495 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3496
3497         * tests/check/Makefile.am:
3498           disable test again, as there seem to be still race problems
3499
3500 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3501
3502         * tests/check/Makefile.am:
3503         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3504         (GST_START_TEST), (queue_suite):
3505           enable queue test again, add tests for the leaky behaviour
3506
3507 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3508
3509         * configure.ac:
3510         * tests/examples/Makefile.am:
3511           Compile adapter test/example only if the required headers are
3512           available (fixes #391915).
3513
3514 2007-01-01  David Schleef  <ds@schleef.org>
3515
3516         * gst/gstplugin.c:
3517           Restore the previous signal handler for SIGSEGV instead of
3518           setting to default, since we may have stolen it away from
3519           someone.  (i.e., Mono)
3520
3521 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3522
3523         * docs/random/draft-missing-plugins.txt:
3524           Some small additions and clarifications.
3525
3526 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3527
3528         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3529           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3530           since that can lead to random memory corruptions and crashes
3531           (may or may not be related to #383244, #386711, and #386711).
3532
3533 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * tests/check/.cvsignore:
3536         * tests/check/Makefile.am:
3537           sync .cvsignome and CLEANFILES
3538
3539 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3540
3541         * tests/check/Makefile.am:
3542           fix distcheck
3543
3544 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3545
3546         * docs/design/part-states.txt:
3547           two tiny additional comments
3548         
3549         * gst/gststructure.c:
3550           doc fixing
3551
3552         * tests/check/Makefile.am:
3553         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3554         (GST_START_TEST):
3555           disable test for now, unless it gets fixed
3556
3557 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3558
3559         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3560         (GST_START_TEST):
3561           fix race in underrun test
3562
3563 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3564
3565         * tests/check/elements/.cvsignore:
3566           ignore more
3567
3568         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3569         (GST_START_TEST):
3570           try to narrow test failure
3571
3572 2006-12-21  David Schleef  <ds@schleef.org>
3573
3574         * plugins/elements/gstfakesrc.c:
3575           Use g_random_int_range(), since it produces better random
3576           numbers in a range than almost-correct floating point code.
3577
3578 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3579
3580         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3581         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3582         (gst_check_teardown_sink_pad):
3583           do not automatically (de)activate pads
3584
3585         * tests/check/Makefile.am:
3586         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3587         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3588           add new, yet simple tests for queue
3589
3590         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3591         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3592         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3593         (GST_START_TEST):
3594         * tests/check/elements/identity.c: (cleanup_identity):
3595           consistent pad (de)activation
3596
3597 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3598
3599         Patch by: Sebastian Dröge  <slomo ubuntu com>
3600
3601         * libs/gst/base/gstcollectpads.c:
3602           Fix two doc typos (#387866).
3603
3604 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3605
3606         * docs/manual/advanced-dparams.xml:
3607           Fix typo (g_object_control_properties() doesn't exist).
3608
3609 2006-12-19  Edward Hervey  <edward@fluendo.com>
3610
3611         * gst/gstsegment.c: (gst_segment_set_seek):
3612         Fine tune the cases where the segment start/stop values are really
3613         updated.
3614         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3615         Add tests for the return values of gst_segment_set_seek().
3616
3617 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3618
3619         * gst/gst.c:
3620           Docs typo fix.
3621
3622         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3623         (gst_queue_init):
3624           Fix incorrect documentation and flesh it out a bit more.
3625           Set default values for the max properties on the GParamSpec as well,
3626           so it shows up correctly in gst-inspect.
3627
3628 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3629
3630         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3631           Correct docs of queue, add more detail and crosslink it more.
3632
3633 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3636           Print additional debug info when the stream isn't perfectly
3637           timestamped; don't try to use invalid durations.
3638
3639 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3640
3641         * docs/design/Makefile.am:
3642           Dist new design docs.
3643
3644 2006-12-16  Wim Taymans  <wim@fluendo.com>
3645
3646         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3647
3648         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3649         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3650         (gst_collect_pads_stop), (gst_collect_pads_event),
3651         (gst_collect_pads_chain):
3652         * libs/gst/base/gstcollectpads.h:
3653         Add refcounting to the collectpads data so we can track when it's safe
3654         to free the data. Fixes #383382.
3655
3656 2006-12-15  Wim Taymans  <wim@fluendo.com>
3657
3658         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3659         (gst_collect_pads_remove_pad):
3660         Automatically activate/deactivate pads when they are added to a
3661         started/stoped collectpads.
3662
3663 2006-12-15  Wim Taymans  <wim@fluendo.com>
3664
3665         * gst/gstelement.c: (gst_element_add_pad):
3666         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3667         * gst/gstpad.c: (gst_pad_init):
3668         Set pads to FLUSHING when they are created. Check, warn and fix when a
3669         demuxer adds an inactive pad to itself when running. Fixes #339326.
3670
3671 2006-12-15  Wim Taymans  <wim@fluendo.com>
3672
3673         * gst/gstelement.c: (gst_element_class_init),
3674         (gst_element_default_send_event), (gst_element_send_event),
3675         (gst_element_default_query), (gst_element_query):
3676         Expose default element send_event and query handling as vmethods that
3677         subclasses can chain up to.
3678
3679 2006-12-15  Wim Taymans  <wim@fluendo.com>
3680
3681         * gst/gstelement.c: (gst_element_set_state_func):
3682         Small documentation fixes.
3683
3684 2006-12-15  Wim Taymans  <wim@fluendo.com>
3685
3686         * docs/design/draft-latency.txt:
3687         Checked in draft for handling latency in pipelines.
3688
3689 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3690
3691         * Makefile.am:
3692         * gstreamer.doap:
3693         * gstreamer.spec.in:
3694           adding .doap file
3695
3696 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
3697
3698         * gst/gst.c: (init_pre), (init_post):
3699           init_pre() and init_post() might be called via our GOptionGroup or
3700           from gst_init(), and we should skip both of them if we've already
3701           been initialised, otherwise we will init some things twice or add
3702           two default log functions.
3703
3704 2006-12-13  Edward Hervey  <edward@fluendo.com>
3705
3706         * docs/manual/basics-bus.xml:
3707         No, gst_main_loop does not exist. Its g_main_loop.
3708         Discovered by somebody who abused the copy-paste technique of coding :)
3709
3710 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3711
3712         * gst/gstghostpad.c:
3713           Log ghostpad debug stuff to the GST_PADS category as well rather
3714           than just to the default category.
3715
3716 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3717
3718         * configure.ac:
3719         * gst/gst.c: (init_pre):
3720           Add some basic system details such as OS and architecture
3721           to the debug output if possible, courtesy of uname().
3722
3723 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
3724
3725         * docs/gst/running.xml:
3726           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3727           environment variables.
3728
3729 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3730
3731         * tests/check/gst/gstbin.c: (GST_START_TEST):
3732         It is acceptable to have a refcount of 2 or 3 at this point in the
3733         test, because the pipeline might be just posting its state_change
3734         message. The next line then waits for that message to appear using
3735         bus_poll, so that should be fine too.
3736
3737 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3738
3739         * gst/gst.c: (ensure_current_registry_forking):
3740         Ignore EINTR when reading from the child registry pipe.
3741         Explicitly ignore the return value from close, since it makes no
3742         difference.
3743
3744         * gst/gstminiobject.c: (gst_mini_object_ref),
3745         (gst_mini_object_unref):
3746         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3747
3748         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3749         When removing cached plugins, remove their features too, so they're
3750         not visible after they've disappeared.
3751
3752         * gst/gstutils.c: (prepare_link_maybe_ghosting):
3753         In the unlikely case that we are linking pads with no parents, don't
3754         crash trying to get the non-existent parent bin.
3755
3756         * gst/parse/grammar.y:
3757         Output debug in the PIPELINE category
3758
3759 2005-03-08  Wim Taymans  <wim@fluendo.com>
3760
3761         Patch by: René Stadler <mail at renestadler dot de>
3762
3763         * gst/gstclock.c: (gst_clock_new_periodic_id):
3764         Reject invalid clock times for interval of periodic ids.
3765         Fixes ##383506.
3766
3767 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3768
3769         * gst/gstelementfactory.c: (gst_element_factory_create):
3770         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3771         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3772         * tools/gst-inspect.c: (print_element_info):
3773         Fix refcounting of gst_plugin_feature_load to match the docs. 
3774         Fixes: #380129
3775
3776 2006-12-07  Wim Taymans  <wim@fluendo.com>
3777
3778         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3779         (gst_base_sink_get_position):
3780         Improve debugging of events.
3781
3782 2006-12-07  Wim Taymans  <wim@fluendo.com>
3783
3784         Patch by: René Stadler <mail at renestadler dot de>
3785
3786         * gst/gstclock.c: (gst_clock_id_wait):
3787         Make period ids add the interval to the origial requested time instead
3788         of the possibly updated time which can be wrong when there are multiple
3789         waiters for the same id. Fixes #382592.
3790
3791         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3792         (gst_system_clock_id_wait_jitter_unlocked),
3793         (gst_system_clock_id_wait_jitter):
3794         Fix restart in the async notify thread when an async entry is added to
3795         the front of the list. Fixes #381492. 
3796
3797         * tests/check/gst/gstsystemclock.c: (store_callback),
3798         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3799         Added test for multiple async waits.
3800         Added test for async wait order.
3801
3802 2006-12-07  Wim Taymans  <wim@fluendo.com>
3803
3804         * gst/gstbin.c: (gst_bin_query):
3805         Add some more docs about the POSITION query.
3806
3807 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3808
3809         * configure.ac:
3810         Bump version nano - back to CVS.
3811
3812 === release 0.10.11 ===
3813
3814 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
3815
3816         * configure.ac:
3817           releasing 0.10.11, "Love never runs on time"
3818
3819 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
3820
3821         * win32/common/libgstbase.def:
3822         * win32/common/libgstreamer.def:
3823         * win32/vs8/libgstbase.vcproj:
3824         * win32/vs8/libgstcoreelements.vcproj:
3825         * win32/vs8/libgstreamer.vcproj:
3826         Fix compilation on win32 under VS8
3827         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3828         Partially fixes #381175
3829
3830 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
3831
3832         * gst/gstvalue.c: (gst_value_compare_fraction):
3833         If someone is foolish enough to compare 2 fractions with denominator =
3834         0, return UNORDERED rather than aborting.
3835
3836 2006-11-28  Edward Hervey  <edward@fluendo.com>
3837
3838         * libs/gst/base/Makefile.am:
3839         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3840         (gst_data_queue_base_init), (gst_data_queue_class_init),
3841         (gst_data_queue_init), (gst_data_queue_new),
3842         (gst_data_queue_cleanup), (gst_data_queue_finalize),
3843         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3844         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3845         (gst_data_queue_is_empty), (gst_data_queue_is_full),
3846         (gst_data_queue_set_flushing), (gst_data_queue_push),
3847         (gst_data_queue_pop), (gst_data_queue_drop_head),
3848         (gst_data_queue_set_property), (gst_data_queue_get_property):
3849         * libs/gst/base/gstdataqueue.h:
3850         New GstDataQueue object for threadsafe queueing. Most useful for
3851         elements that need some queueing functionnality.
3852         * docs/libs/gstreamer-libs-docs.sgml:
3853         * docs/libs/gstreamer-libs-sections.txt:
3854         Insert documentation for GstDataQueue
3855         * plugins/elements/Makefile.am:
3856         * plugins/elements/gstelements.c:
3857         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3858         (gst_multi_queue_class_init), (gst_multi_queue_init),
3859         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3860         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3861         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3862         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3863         (gst_multi_queue_loop), (gst_multi_queue_chain),
3864         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3865         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3866         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3867         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3868         (wake_up_next_non_linked), (compute_next_non_linked),
3869         (single_queue_overrun_cb), (single_queue_underrun_cb),
3870         (single_queue_check_full), (gst_single_queue_new):
3871         * plugins/elements/gstmultiqueue.h:
3872         New multiqueue element, using GstDataQueue. Used for queuing multiple
3873         streams.
3874         Closes #344639 and #347785
3875
3876 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
3877
3878         * docs/pwg/advanced-types.xml:
3879           add more missing type details
3880
3881         * tools/gst-run.c: (main):
3882           remove unused variable
3883
3884 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
3885
3886         * docs/libs/Makefile.am:
3887         * docs/libs/gstreamer-libs.types:
3888           add types of base classes to enable gobject specific stuff in the docs
3889
3890         * docs/random/ensonic/embedded.txt:
3891           more ideas about isolating platform specific things
3892
3893 2006-11-20  Wim Taymans  <wim@fluendo.com>
3894
3895         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3896
3897         * libs/gst/check/gstcheck.h:
3898         Fix compilation and running against 0.9.4. Fixes #377332.
3899
3900 2006-11-20  Wim Taymans  <wim@fluendo.com>
3901
3902         * gst/gstsegment.c: (gst_segment_set_seek),
3903         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3904         (gst_segment_to_running_time):
3905         Fix boundary checking in to_running_time() and to_stream_time().
3906         Fixes #377183.
3907
3908         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3909         stream and running time can now be calculated for the complete
3910         clipped segment.
3911
3912 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
3913
3914         * gst/gstpad.c: (gst_pad_push_event):
3915           Can't access event structure after giving away ownership of
3916           the event.
3917
3918 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
3919
3920         * docs/random/ensonic/embedded.txt:
3921         * docs/random/ensonic/profiling.txt:
3922         * docs/random/ensonic/receipies.txt:
3923           more thinking
3924
3925 2006-11-13  Wim Taymans  <wim@fluendo.com>
3926
3927         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3928
3929         * gst/gstpad.c:
3930         Fix documentation for gst_pad_dispatcher. Fixes #374475.
3931
3932 2006-11-13  Wim Taymans  <wim@fluendo.com>
3933
3934         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3935
3936         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3937         Store new length in segment duration so we don't keep on calling the
3938         potentially expensize get_size() call. Fixes #370865.
3939
3940 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
3941
3942         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
3943
3944         * win32/common/libgstreamer.def:
3945           Add two missing symbols (#366492).
3946
3947 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
3948
3949         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3950         (gst_adapter_take_buffer):
3951         Fix format string to use all its arguments.
3952         Remove useless >= check on a guint
3953
3954 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3955
3956         * tests/examples/adapter/.cvsignore:
3957         Ignore build file as commanded by the build-bot
3958
3959 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3960
3961         * tests/examples/adapter/Makefile.am:
3962         * tests/examples/adapter/adapter_test.c: (run_test_take),
3963         (run_test_take_buffer), (run_tests), (main):
3964
3965         Add new files from the previous commit
3966
3967 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3968
3969         * Makefile.am:
3970         * configure.ac:
3971         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3972         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3973         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3974         * libs/gst/base/gstadapter.h:
3975         * tests/check/libs/adapter.c: (create_and_fill_adapter),
3976         (GST_START_TEST), (gst_adapter_suite):
3977         * tests/examples/Makefile.am:
3978         Do some optimisation work in GstAdapter to avoid copies in more cases.
3979         It could still do slightly better by merging buffers when
3980         gst_buffer_is_span_fast is true, but is already faster. 
3981
3982         Also, avoid traversing a single-linked list to append each incoming 
3983         buffer inside the adapter.
3984
3985         Add simple test app that times the adapter behaviour in different
3986         situations, and extend the unit test to check that bytes enter and
3987         exit the adapter in their original order.
3988
3989 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3990
3991         * docs/random/draft-missing-plugins.txt:
3992           Update: use element message instead of adding a new message
3993           type to the core; don't provide GStreamer API to initiate the
3994           plugin download, just provide API to compose the strings needed
3995           and let an external libgimmestuff handle the rest.
3996
3997 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
3998
3999         * tools/gst-inspect.c: (print_element_properties_info):
4000         Print a string instead of 'unknown type' for GValueArray properties
4001
4002 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
4003
4004         * docs/random/draft-missing-plugins.txt:
4005         More small fixes.
4006
4007 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4008
4009         * tests/examples/typefind/typefind.c: (type_found), (main):
4010           Make typefind element example work again (#371894); add a
4011           license header.
4012
4013 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4014
4015         * docs/random/draft-missing-plugins.txt:
4016           Commit initial draft about how to deal with missing plugins,
4017           needs work (API too).
4018
4019 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
4020
4021         * docs/pwg/advanced-types.xml:
4022           documents the new caps elements (see #363118)
4023
4024 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4025
4026         * gst/gstplugin.c: (gst_plugin_load_file):
4027         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4028         (gst_file_src_map_region), (gst_file_src_start):
4029         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4030         (gst_file_index_commit):
4031           Use g_strerror() instead of strerror() - we want UTF-8.
4032
4033 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4034
4035         Patch by: Peter Kjellerstedt <pkj at axis com>
4036
4037         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4038           Another printf fix (#371493).
4039
4040 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4041
4042         * tests/check/gst/gsttag.c:
4043           relicence (okay with author=company)
4044
4045 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4046
4047         * gst/gstpad.c: (gst_pad_event_default_dispatch),
4048         (gst_pad_push_event):
4049           Enhance debug and improve docs
4050         
4051         * gst/gsturi.c:
4052           Fix docs
4053
4054 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4055
4056         * docs/random/ensonic/distributed.txt:
4057         * docs/random/ensonic/profiling.txt:
4058           more ideas
4059
4060 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
4061
4062         * docs/gst/gstreamer-sections.txt:
4063           add new API and fix the build
4064           
4065         * gst/gstbin.c: (gst_bin_recalc_state):
4066         * gst/gstelement.c: (gst_element_message_full),
4067         (gst_element_get_state_func), (gst_element_set_state_func):
4068           use new API and improve logging
4069         
4070         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4071         * gst/gstutils.h:
4072           API: add function to get StateChangereturn names to improve logs 
4073
4074 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4075
4076         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4077           I'm considering shooting the next person to put strerror stuff
4078           in the translateable part of the message.
4079
4080 2006-11-03  Wim Taymans  <wim@fluendo.com>
4081
4082         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4083         Get the type and printf conversion specifiers right.
4084
4085 2006-11-03  Wim Taymans  <wim@fluendo.com>
4086
4087         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4088
4089         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4090         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4091         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4092         Some small cleanups. Improve debugging.
4093         * gst/gstpad.h:
4094         Signal all waiting threads with a broadcast instead of just one.
4095         Fixes #369942.
4096
4097 2006-11-03  Wim Taymans  <wim@fluendo.com>
4098
4099         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4100         (gst_fd_src_create):
4101         Add some debugging. 
4102         Only update fd when it's different from the old.
4103
4104 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4105
4106         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4107           Printf fixes for PPC/OSX, take two (#369366).
4108
4109 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4110
4111         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4112
4113         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4114         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4115         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4116           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4117           don't cast to long long for portability reasons, but use
4118           GLib's types instead.
4119
4120 2006-10-30  Michael Smith  <msmith@fluendo.com>
4121
4122         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4123           Get the arguments to lseek() the right way around.
4124           Fixes 367677.
4125
4126 2006-10-30  Wim Taymans  <wim@fluendo.com>
4127
4128         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4129
4130         * gst/gstinfo.h:
4131         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4132
4133 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4134
4135         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4136
4137         * docs/design/part-MT-refcounting.txt:
4138         * docs/random/wtay/capsnego2-docs:
4139         * gst/gstclock.c:
4140         * gst/gstxml.c:
4141           Typo fixes (#366212).
4142
4143 2006-10-28  Wim Taymans  <wim@fluendo.com>
4144
4145         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4146
4147         * gst/gst.c:
4148         * win32/common/libgstbase.def:
4149         * win32/common/libgstreamer.def:
4150         * win32/vs8/libgstbase.vcproj:
4151         * win32/vs8/libgstcontroller.vcproj:
4152         Add needed entries in .def files.
4153         Use HAVE_UNISTD_H.
4154         Rearrange def files in vs8 solutions. Fixes #366286.
4155
4156 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4157
4158         * win32/common/gstconfig.h:
4159           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4160           hand-made win32 gstconfig.h. Fixes #366321.
4161
4162 2006-10-27  Wim Taymans  <wim@fluendo.com>
4163
4164         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4165         (gst_ghost_pad_new_full):
4166         Make acceptcaps return TRUE when we don't have a target, just like
4167         setcaps does.
4168
4169 2006-10-27  Wim Taymans  <wim@fluendo.com>
4170
4171         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4172         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4173
4174 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4175
4176         * gst/gststructure.c: (gst_structure_id_set_value):
4177           If someone tries to set a non-UTF8 string field on a structure,
4178           don't just print a warning, but also ignore the request and do
4179           not change/add that field to the structure.
4180
4181         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4182           Test for the above.
4183
4184 2006-10-25  David Schleef  <ds@schleef.org>
4185
4186         * gst/gstinfo.c:
4187           g_hash_table_insert() needs a cast to a non-const pointer duh.
4188
4189 2006-10-25  David Schleef  <ds@schleef.org>
4190
4191         * gst/gstinfo.c:
4192         * gst/gstinfo.h:
4193           Change name parameter of _gst_debug_register_funcptr to const
4194           to reflect the constness of its use in the function as well
4195           as to quiet a gcc warning.
4196
4197 2006-10-25  Edward Hervey  <edward@fluendo.com>
4198
4199         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4200         Don't push the buffer if it's empty.
4201         Closes #363095
4202
4203 2006-10-24  Wim Taymans  <wim@fluendo.com>
4204
4205         * gst/gstevent.h:
4206         Add small comment.
4207
4208         * libs/gst/base/gstbasetransform.c:
4209         (gst_base_transform_sink_eventfunc):
4210         Debug segment values *after* updating them as this is more
4211         interesting.
4212
4213 2006-10-23  Wim Taymans  <wim@fluendo.com>
4214
4215         * docs/design/part-events.txt:
4216         Update some docs.
4217
4218         * docs/design/part-block.txt:
4219         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4220         (gst_pad_push_event):
4221         Revert BLOCKING patch, it tries to be smart without really having a
4222         clear idea what or how. So, now we discard all FLUSHING events again on
4223         a blocking pad. Should fix gnonlin again.
4224
4225 2006-10-23  Wim Taymans  <wim@fluendo.com>
4226
4227         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4228
4229         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4230         (gst_base_src_start), (gst_base_src_activate_push):
4231         Make sure size is always initialized. Fixes #364388.
4232
4233 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4234
4235         * docs/random/ensonic/distributed.txt:
4236           add some ideas about doing distributed processing
4237
4238         * docs/random/ensonic/profiling.txt:
4239           get_rusage look promising
4240
4241 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4242
4243         * docs/manual/basics-helloworld.xml:
4244           Add a cast in example to fix compile warning
4245
4246 2006-10-18  Wim Taymans  <wim@fluendo.com>
4247
4248         * gst/gstsegment.c: (gst_segment_set_last_stop),
4249         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4250         Relax arg checking again, -1 is allowed.
4251
4252 2006-10-18  Wim Taymans  <wim@fluendo.com>
4253
4254         * gst/gstsegment.c: (gst_segment_set_last_stop),
4255         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4256         _set_last_stop() must be with a value != -1
4257         A _TYPE_SET to -1 means seek to 0.
4258         Calc last_stop correctly for negative rates.
4259         Make sure we work with positive durations when updating a segment.
4260
4261 2006-10-18  Wim Taymans  <wim@fluendo.com>
4262
4263         * docs/design/part-live-source.txt:
4264         * gst/gstclock.h:
4265         Small docs fixes.
4266
4267 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4268
4269         * gst/gstbuffer.h:
4270           Add an explicit cast to GstBuffer** to keep old code that added an
4271           explicit cast to GstMiniObject** for gst_mini_object_replace()
4272           compiling without warning.
4273
4274 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4275
4276         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4277           check for validity of dates
4278
4279 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4280
4281         * docs/gst/gstreamer-sections.txt:
4282           Forgot this one, makes gtk-doc shut up.
4283
4284 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4285
4286         Patch by: Peter Kjellerstedt <pkj at axis com>
4287
4288         * gst/gstobject.h:
4289           Don't define xmlNodePtr to gpointer if the core was built with
4290           --disable-loadsave and --disable-registry, this will break
4291           applications that want to use libxml2 but are buildling against a
4292           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4293           instead so we don't have to mess with the libxml2 namespace
4294           (#361675).
4295
4296 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4297
4298         * gst/gstbuffer.h:
4299           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4300           type-punned pointer warnings.
4301
4302 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4303
4304         * gst/gstelement.h:
4305           Add casts to the correct return type to state <=> state transition
4306           macros.
4307
4308 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4309
4310         * docs/design/part-live-source.txt:
4311           describe howto handle latency
4312         
4313         * docs/random/ensonic/profiling.txt:
4314           more ideas
4315
4316         * tools/gst-plot-timeline.py:
4317           fix log parsing for solaris, remove unused function
4318
4319 2006-10-16  Wim Taymans  <wim@fluendo.com>
4320
4321         * docs/design/part-trickmodes.txt:
4322         * gst/gstevent.c:
4323         Update some docs regarding reverse playback.
4324
4325 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4328
4329         * win32/vs8/grammar.vcproj:
4330           Error out with a warning if glib-genmarshal.exe is not in path,
4331           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4332
4333 2006-10-13  Wim Taymans  <wim@fluendo.com>
4334
4335         * gst/gstsegment.c: (gst_segment_set_seek):
4336         When seeking to stop -1, set last_stop (current position) to the
4337         duration of the segment.
4338
4339 2006-10-13  Wim Taymans  <wim@fluendo.com>
4340
4341         * gst/gstelement.h:
4342         Clarify _NO_PREROLL a bit more.
4343
4344         * gst/gstevent.c:
4345         Fix docs.
4346
4347         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4348         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4349         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4350         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4351         due to wrong locking order. Fixes #361769.
4352         Remove some redundant/misplaced checks in pad_block.
4353
4354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4355         For negative rates, count backwards from the duration.
4356
4357 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4358
4359         * gst/gsterror.c: (_gst_library_errors_init):
4360           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4361           up with something better).
4362
4363 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4364
4365         * win32/vs6/libgstreamer.dsp:
4366         * win32/vs7/libgstreamer.vcproj:
4367         * win32/vs8/libgstreamer.vcproj:
4368           Don't reference glib-compat.c which is currently not used and not
4369           disted; add gstquark.c which was recently added. Fixes #361730.
4370
4371 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * win32/common/libgstbase.def:
4374         * win32/common/libgstcontroller.def:
4375         * win32/common/libgstreamer.def:
4376           Add gst_caps_merge() and a bunch of other recently-added functions.
4377           Fixes #361732.
4378
4379 2006-10-11  Wim Taymans  <wim@fluendo.com>
4380
4381         * docs/plugins/gstreamer-plugins.args:
4382         * docs/plugins/inspect/plugin-coreelements.xml:
4383         * docs/plugins/inspect/plugin-coreindexers.xml:
4384         Update element args.
4385
4386         * gst/gstsystemclock.c:
4387         Small comment update.
4388
4389         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4390         (gst_tee_request_new_pad), (gst_tee_release_pad),
4391         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4392         (gst_tee_sink_activate_pull):
4393         * plugins/elements/gsttee.h:
4394         Some tee loving:
4395         Add default property defines.
4396         Implement release pad function.
4397         Give properties better blubs etc.
4398         Activate pads before adding them to a running tee.
4399         Do simple buffer_alloc on the first requested pad.
4400         Post error when activation fails.
4401
4402 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * gst/gst.c: (ensure_current_registry_forking):
4405           Check return value of write() to make compiler happy.
4406
4407 2006-10-11  Wim Taymans  <wim@fluendo.com>
4408
4409         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4410
4411         * plugins/elements/gstqueue.c: (gst_queue_chain):
4412         Recheck queue filledness after signalling the overrun when we're about
4413         to leak downstream because we released the lock when emitting the signal
4414         and the queue could be empty again. Fixes #352345.
4415
4416 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4417
4418         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4419           Fix refcounting here too, just like we did for _new_valist() a few
4420           days ago (#357180) (thanks to René Stadler). Also remove all those
4421           'Since: 0.9' from the gtk-doc blobs.
4422
4423         * tests/check/libs/controller.c: (controller_refcount_new_list),
4424         (gst_controller_suite):
4425           Unit test for the above.
4426
4427 2006-10-10  Wim Taymans  <wim@fluendo.com>
4428
4429         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4430
4431         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4432         (gst_pad_save_thyself):
4433         Update some docs.
4434         Write pad direction in XML output. Fixes #345496.
4435
4436 2006-10-10  Wim Taymans  <wim@fluendo.com>
4437
4438         Patch by: René Stadler <mail at renestadler dot de>
4439
4440         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4441         (gst_controller_new_list), (_gst_controller_dispose),
4442         (_gst_controller_finalize), (_gst_controller_class_init):
4443         Take ref to controlled object so that it cannot disappear. 
4444         Fixes #357432.
4445
4446 2006-10-10  Wim Taymans  <wim@fluendo.com>
4447
4448         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4449         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4450         (gst_check_teardown_sink_pad):
4451         Activate/deactivate pads in setup/teardown respectively.
4452
4453 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4454
4455         Patch by: Josep Torre Valles <josep@fluendo.com>
4456
4457         * gst/Makefile.am:
4458         Cast values when making gstenumtypes.h.  This pacifies Forte
4459         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4460         in the enumeration.
4461
4462 2006-10-09  Wim Taymans  <wim@fluendo.com>
4463
4464         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4465         Rename some more @cur to @start to fix docs. 
4466
4467         * gst/gstsegment.c: (gst_segment_set_seek):
4468         Fix typo.
4469         time and start must always stay in sync as defined in design doc.
4470
4471         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4472         Rename param to fix docs.
4473
4474         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4475         Check that start and time are in sync.
4476
4477         * tests/check/pipelines/parse-launch.c:
4478         (gst_parse_test_element_change_state):
4479         Activate pad before adding to the element.
4480
4481 2006-10-09  Wim Taymans  <wim@fluendo.com>
4482
4483         * docs/design/part-qos.txt:
4484         Fix typo.
4485
4486         * gst/gstevent.c:
4487         * gst/gstevent.h:
4488         Update seek event docs regarding negative rates.
4489         Rename @cur to @start. 
4490
4491         * gst/gstsegment.c: (gst_segment_set_seek):
4492         * gst/gstsegment.h:
4493         Update set_seek docs regarding negative rates.
4494         Correctly update last_stop to @stop when dealing with negative
4495         rates.
4496         Rename @cur to @start. 
4497
4498         * tests/check/gst/gstpad.c: (GST_START_TEST):
4499         Activate pads before trying to use them.
4500
4501         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4502         (gst_segment_suite):
4503         Add simple check for segments and negative rates.
4504
4505 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4506
4507         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4508         * gst/gsttaglist.h:
4509         * docs/gst/gstreamer-sections.txt:
4510           API: add gst_tag_list_is_empty() (#360467).
4511
4512         * tests/check/gst/gsttag.c: (GST_START_TEST):
4513           And a test case.
4514
4515 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4516
4517         * gst/gstmessage.h:
4518         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4519         a value that doesn't fit on enumeration.
4520
4521 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4522
4523         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4524         Remove local debugging system and use Gstreamer's instead.
4525
4526 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4527
4528         Patch by: Josep Torre Valles <josep@fluendo.com>
4529
4530         * common/m4/gst-error.m4:
4531         Disable warning of statement not reached on Forte.
4532         * gst/gstmessage.h:
4533         Fix warning on Forte (value doesn't fit on enumeration).
4534         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4535         Fix warning on Forte (value doesn't fit on enumeration).
4536         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4537         DEBUG macro says it takes minimum of 2 args and so Forte
4538         complains about the use with just 1 arg.
4539         * plugins/elements/gstfdsink.c:
4540         * plugins/elements/gstfdsrc.c:
4541         * plugins/elements/gstfilesink.c:
4542         * plugins/elements/gstfilesrc.c:
4543         Use correct return type for the uri handler implementations.
4544
4545         All these fix warnings in Forte.  Fixes bug #360860.
4546
4547 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4548
4549         * gst/gstelement.h:
4550           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4551           format string, so don't use G_GNUC_PRINTF for those versions.
4552
4553 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4554
4555         * gst/gsttaglist.c: (gst_is_tag_list):
4556         * gst/gsttaglist.h:
4557           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4558
4559         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4560           Small test for the above.
4561
4562 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4563
4564         * gst/gsttaglist.h:
4565           Less tabs, more spaces.
4566
4567 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * gst/gstinfo.h:
4570           Those two function declarations do actually belong there, revert
4571           commit from yesterday that turned them intro macros.
4572
4573 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4574
4575         Patch by: Josep Torre Valles <josep@fluendo.com>
4576
4577         * gst/gst.c: (gst_init_get_option_group):
4578         Fix empty declaration and type mismatch.
4579         * gst/gstbin.c: (gst_bin_change_state_func):
4580         Fix type mismatch.
4581         * gst/gstelement.c: (gst_element_continue_state),
4582         (gst_element_set_state_func), (gst_element_change_state),
4583         (gst_element_change_state_func):
4584         Fix type mismatches.
4585         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4586         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4587         Cast as appropriate.
4588         * gst/gstobject.c: (gst_class_signal_connect):
4589         Cast as appropriate.  The function pointer parameter really
4590         has the wrong type but would break API if we change it.
4591         * gst/gstquery.c:
4592         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4593         order of including string.h.
4594         * gst/gstutils.c: (gst_element_state_get_name):
4595         Remove unreachable line.
4596         * gst/gstxml.c: (gst_xml_parse_doc):
4597         Fix type mismatch.
4598         All these caught by Forte.
4599
4600 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4601
4602         Patch by: Josep Torre Valles <josep@fluendo.com>
4603
4604         * common/m4/gst-error.m4:
4605         Fixed bug #360151.
4606         We need to disable warnings on Forte for empty declarations
4607         due to gst-indent adding ;s to lines that just use macros
4608         where the macro actually doesn't need a ; at end to end
4609         statement.
4610
4611 2006-10-06  Wim Taymans  <wim@fluendo.com>
4612
4613         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4614         (gst_file_sink_close_file), (gst_file_sink_event),
4615         (gst_file_sink_render):
4616         Add some FIXME for the NEWSEGMENT handling.
4617
4618 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4619
4620         * gst/parse/grammar.y:
4621         Remove static function gst_parse_element_lock as all it does
4622         is return.  Looks like cruft from 0.8.
4623
4624 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4625
4626         Patch by: Josep Torre Valles <josep@fluendo.com>
4627
4628         * common/m4/gst-error.m4:
4629         * configure.ac:
4630         * libs/gst/net/Makefile.am:
4631         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4632         libresolv.
4633
4634 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         * gst/gstpad.c: (pre_activate):
4637         * gst/gstregistry.c: (gst_registry_scan_path_level):
4638         * gst/gstregistryxml.c: (load_plugin):
4639         * libs/gst/controller/gstcontroller.c:
4640         (gst_controlled_property_set_interpolation_mode):
4641         * libs/gst/dataprotocol/dataprotocol.c:
4642         (gst_dp_packet_from_event_1_0):
4643         * libs/gst/net/gstnetclientclock.c:
4644         (gst_net_client_clock_observe_times):
4645         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4646           Printf fixes.
4647
4648 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4649
4650         * configure.ac:
4651         * docs/gst/gstreamer-sections.txt:
4652         * gst/gstconfig.h.in:
4653         * gst/gstelement.h:
4654         * gst/gstinfo.h:
4655           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4656           whether we can use G_GNUC_PRINTF in other header files and at
4657           least check the printf format/arguments of debug messages and
4658           GST_ELEMENT_ERROR messages when the printf extension is not
4659           being used.
4660           Replace more tabs with spaces in gstinfo.h and remove two spurious
4661           function declarations in GST_DISABLE_DEBUG part with macros.
4662
4663 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4664
4665         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4666           More docs for the sync-message signal (mention that it is not
4667           emitted by default); log message structures of messages posted on
4668           the bus as well.
4669
4670 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4671
4672         * gst/gst.c: (ensure_current_registry_forking):
4673         Use a pipe pair to receive status results from the forked child, and
4674         ignore the result from waitpid. Fixes #355499
4675
4676 2006-10-02  Wim Taymans  <wim@fluendo.com>
4677
4678         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4679         (gst_ghost_pad_suite):
4680         Fix leak in check.
4681
4682 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4683
4684         * gst/gstpad.c:
4685           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4686
4687 2006-10-02  Edward Hervey  <edward@fluendo.com>
4688
4689         * docs/design/part-block.txt:
4690         Further explain the use of flushing on blocked pads.
4691         * docs/gst/gstreamer-sections.txt:
4692         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4693         (gst_pad_push_event):
4694         * gst/gstpad.h:
4695         Added new GstPadFlag : GST_PAD_BLOCKING.
4696         Adds the notion of pads really blocking, which enables to properly
4697         handle FLUSH_START/FLUSH_STOP events on blocked pads.
4698         Fixes #358999
4699         API: gst_pad_is_blocking()
4700         API: GST_PAD_IS_BLOCKING() macro
4701         API: GST_PAD_BLOCKING GstPadFlag
4702         
4703 2006-10-02  Wim Taymans  <wim@fluendo.com>
4704
4705         Patch by: mrcgran <mrc.gran at gmail dot com>
4706
4707         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4708         Filter the proxied caps against the padtemplate if we have one.
4709
4710         * gst/gstquery.c: (gst_query_new_segment):
4711         Add include for gstinfo.h so that compilation with
4712         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4713
4714 2006-10-02  Wim Taymans  <wim@fluendo.com>
4715
4716         Patch by: Alessandro Decina  <alessandro at nnva org>
4717
4718         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4719         (gst_file_sink_set_location), (gst_file_sink_open_file),
4720         (gst_file_sink_close_file), (gst_file_sink_event),
4721         (gst_file_sink_render):
4722         Set file to NULL when closing filesink so that we can set a new filename
4723         in READY. Fixes #358613.
4724
4725 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4726
4727         Patch by: Alessandro Decina  <alessandro at nnva org>
4728
4729         * gst/gstevent.c: (_gst_event_copy):
4730           Fix gst_mini_object_make_writable() and gst_event_copy() for events
4731           with event structures by setting the parent refcount address of the
4732           copied structure to the address of the refcount member of the newly
4733           copied event rather than the address of the refcount member of the
4734           original event. Fixes #358737.
4735
4736         * tests/check/gst/gstevent.c: (GST_START_TEST):
4737           Unit test for the above.
4738
4739 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
4740
4741         * docs/design/Makefile.am:
4742           Dist some more files.
4743
4744 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4745
4746         * tests/check/libs/controller.c: (GST_START_TEST),
4747         (gst_controller_suite):
4748           Add test for the previous fix; add some more tests
4749           for correct refcounting behaviour; fix a few leaks
4750           in test cases; call gst_controller_init() at start
4751           of all tests.
4752
4753 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4754
4755         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4756         (gst_controller_set_from_list):
4757           Don't g_return_val_if_fail() on timed values with invalid timestamps
4758           inside a critical section without unlocking the mutex. Spotted by
4759           René Stadler. (#357617)
4760           Also, fix up refcounting properly: when returning an existing
4761           controller, we should increase the reference only once and not
4762           once per property and when trying to control a property again
4763           we should also increase the refcount.
4764
4765 2006-09-29  Wim Taymans  <wim@fluendo.com>
4766
4767         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4768         * libs/gst/net/gstnettimeprovider.c:
4769         (gst_net_time_provider_thread):
4770         Stop reading commands when EOF as well.
4771
4772         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4773         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4774         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4775         Unify description of the dump property.
4776
4777 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4778
4779         * tests/examples/manual/.cvsignore:
4780         OK, so it's actually cvsignore that needs changing. Stop laughing.
4781
4782 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4783
4784         * tests/examples/manual/Makefile.am:
4785         Gah, declare vars *before* using them
4786
4787 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4788
4789         * gst/gst.c: (init_pre), (scan_and_update_registry),
4790         (ensure_current_registry_nonforking),
4791         (ensure_current_registry_forking), (ensure_current_registry),
4792         (init_post), (gst_debug_help), (gst_deinit):
4793         * gst/gst_private.h:
4794         * gst/gstregistry.c: (gst_registry_finalize),
4795         (gst_registry_remove_features_for_plugin_unlocked),
4796         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4797         (gst_registry_scan_path),
4798         (_priv_gst_registry_remove_cache_plugins),
4799         (_priv_gst_registry_cleanup):
4800         * gst/gstregistry.h:
4801         Re-commit the registry changes, along with an extra fix:
4802           When a cached plugin is encountered at a different file path,
4803           update the stored path in the registry cache so that the parent
4804           process knows where it actually is now when it re-reads the registry
4805           cache. Fixes the thing that broke distcheck with the previous commit.
4806
4807         * tests/check/Makefile.am:
4808         Clean up files named 'core' too when running make clean.
4809
4810         * tests/examples/manual/Makefile.am:
4811         Set up a registry path for running these tests, and clean it properly
4812         for distcheck.
4813
4814 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4815
4816         * configure.ac:
4817         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4818         want gmodule-no-export-2.0.pc instead so that we don't drag in
4819         --export-dynamic on every project that links to GStreamer.
4820
4821         Also, make our export regex only match the start of symbols, rather 
4822         than any symbol that contains '_gst' somewhere.
4823
4824         * libs/gst/check/Makefile.am:
4825         The libgstcheck we build does however need export-dynamic, as it
4826         produces some symbols that don't match our _gst... style regex.
4827         Fixes: #318031
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         * gst/gst_private.h:
4836         * gst/gstregistry.c: (gst_registry_finalize),
4837         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4838         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4839         (_gst_registry_cleanup):
4840         * gst/gstregistry.h:
4841           Revert previous change until I figure out why it breaks distcheck.
4842
4843 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4844
4845         * gst/gst.c: (init_pre), (scan_and_update_registry),
4846         (ensure_current_registry_nonforking),
4847         (ensure_current_registry_forking), (ensure_current_registry),
4848         (init_post), (gst_debug_help), (gst_deinit):
4849
4850           Make init_pre and init_post take the full complement of GOptionFunc
4851           args so they can return useful GErrors. Make the registry updating
4852           functions do so.
4853
4854           Call _priv_gst_registry_remove_cache_plugins after scanning files to
4855           ensure that the registry we're about to write out doesn't contain
4856           stale information about old-deleted plugin files.
4857
4858           Make _priv_gst_registry_remove_cache_plugins return a boolean so
4859           that deletion of plugin files is considered a registry change.
4860
4861         * gst/gst_private.h:
4862         * gst/gstregistry.c: (gst_registry_finalize),
4863         (gst_registry_remove_features_for_plugin_unlocked),
4864         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4865         (gst_registry_scan_path),
4866         (_priv_gst_registry_remove_cache_plugins),
4867         (_priv_gst_registry_cleanup):
4868         * gst/gstregistry.h:
4869         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4870         by adding _priv prefix, so that they won't appear in the global
4871         symbol table. They still do atm though because of #318031. Move the
4872         prototypes to gst_private.h
4873
4874         When removing a plugin, remove all features for that plugin too. 
4875         Fixes #340878.
4876
4877 2006-09-27  Wim Taymans  <wim@fluendo.com>
4878
4879         * docs/random/moving-plugins:
4880         Make it clear that the "compiled-in descriptions" really mean
4881         the element details.
4882
4883         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4884         (gst_base_sink_wait_preroll):
4885         Update docs.
4886
4887         * docs/libs/gstreamer-libs-sections.txt:
4888         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4889         (gst_base_src_get_range), (gst_base_src_activate_push):
4890         * libs/gst/base/gstbasesrc.h:
4891         Added function to block while waiting for PLAYING, this function
4892         is used by live sources that block on the clock.
4893         API: gst_base_src_wait_playing()
4894
4895 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4896
4897         Patch by: Peter Kjellerstedt <pkj at axis com>
4898
4899         * Makefile.am:
4900           gst-element-check.m4 is generated and should therefore be
4901           copied from the build dir rather than the source dir (#357593).
4902           'make distcheck' hasn't noticed this because we were disting
4903           the file as well, so stop doing that.
4904
4905 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4906
4907         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4908           Add some tests for gst_caps_intersect().
4909
4910         * tools/gst-launch.c: (event_loop):
4911           Print all buffering percentages we get, even the 100% one.
4912
4913 2006-09-26  Wim Taymans  <wim@fluendo.com>
4914
4915         * tools/gst-inspect.c: (print_element_properties_info),
4916         (print_signal_info):
4917         Fix printing of flags to match the look of enums.
4918
4919 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4920
4921         * gst/gstelementfactory.c:
4922           Fix typo in docs blurb.
4923
4924 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4925
4926         * gst/gsturi.c: (search_by_entry):
4927           Don't assert/crash here if a uri handler doesn't return any
4928           supported protocols. The list of protocols could be generated
4929           dynamically at runtime or at plugin registration, and an error
4930           in the underlying library shouldn't be fatal (#353301).
4931
4932 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4933
4934         * gst/gstinfo.c:
4935           Fix warning if HAVE_PRINTF_EXTENSION is undefined
4936           (spotted by Peter Kjellerstedt).
4937
4938 2006-09-23  Wim Taymans  <wim@fluendo.com>
4939
4940         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4941
4942         * libs/gst/base/gstbasesrc.c:
4943         (gst_base_src_default_check_get_range), (gst_base_src_start),
4944         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4945         (gst_base_src_change_state):
4946         Match _start/_stop calls in the activate functions. Remove redundant
4947         _stop call from the state change function. Fixes #356910.
4948         Turn failure DEBUG into ERROR. 
4949
4950 2006-09-22  Wim Taymans  <wim@fluendo.com>
4951
4952         * docs/design/part-buffering.txt:
4953         * gst/gstmessage.c: (gst_message_new_buffering),
4954         (gst_message_parse_buffering):
4955         Update docs about buffering.
4956
4957         * docs/design/part-trickmodes.txt:
4958         Fix typo.
4959
4960 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
4961
4962         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4963         (gst_controller_new_list):
4964           Ref instances when returning them again (fixes #357180)
4965
4966 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4969           Don't forget to release proxy lock when there's an error.
4970
4971 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
4972
4973         * gst/gstcaps.h:
4974           Add extra initialisers for Caps things, to fix some plugin warnings
4975           when using -Wextra
4976
4977 2006-09-18  Wim Taymans  <wim@fluendo.com>
4978
4979         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4980           Also set template on the internal pad so that a getcaps from the 
4981           target pad returns the template caps.
4982
4983 2006-09-18  Wim Taymans  <wim@fluendo.com>
4984
4985         * gst/gstelement.c: (gst_element_post_message),
4986         (gst_element_dispose):
4987         Use _DEBUG_OBJECT some more.
4988
4989         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4990         Avoid typechecks.
4991
4992         * tools/gst-launch.c: (main):
4993         If the toplevel element is not a GstPipeline, it must be put in a
4994         pipeline so that a bus and clock is selected.
4995
4996 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
4997
4998         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4999           JITTER, RATE, and LATENCY query should be handled by the
5000           default case and not by the CONVERT query code.
5001
5002 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * gst/gstformat.c: (gst_format_register):
5005           Fix locking order (must take lock before using n_values).
5006
5007         * gst/gstvalue.c: (gst_value_serialize_enum),
5008         (gst_value_deserialize_enum_iter_cmp),
5009         (gst_value_deserialize_enum):
5010           Fix serialisation/deserialisation of custom registered GstFormats.
5011
5012         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5013           Unit test for custom format serialisation/deserialisation.
5014
5015 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
5016
5017         * docs/pwg/building-boiler.xml:
5018         * plugins/elements/gstcapsfilter.c:
5019         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5020         section.
5021
5022 2006-09-16  Edward Hervey  <edward@fluendo.com>
5023
5024         * libs/gst/base/gstbasetransform.c:
5025         (gst_base_transform_buffer_alloc):
5026         Check if requested caps are the same as the sinks caps IF
5027         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5028         is FALSE.
5029         This fixes the renegotiation issues stated in #352827.
5030
5031 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5032
5033         * configure.ac:
5034         * docs/manual/advanced-autoplugging.xml:
5035         * tests/examples/Makefile.am:
5036         * tests/examples/manual/.cvsignore:
5037         * tests/examples/manual/Makefile.am:
5038         * tests/examples/manual/extract.pl:
5039           Extract the manual examples again like we used to do.
5040           Fix one of them.
5041
5042 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5043
5044         * win32/common/config.h:
5045           update for version
5046
5047 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
5048
5049         * gst/gsterror.c:
5050           Documents how to receive errors.
5051
5052 2006-09-15  Wim Taymans  <wim@fluendo.com>
5053
5054         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5055         (event_loop), (main):
5056         Added some comments here and there.
5057         Post an application message when an interrupt is caught instead of doing
5058         an uncontrolled state change.
5059         Clean up the event loop.
5060         Handle buffering messages, pause/resume the pipeline.
5061         Make shutdown because of an interrupt more reliable.
5062
5063 2006-09-15  Wim Taymans  <wim@fluendo.com>
5064
5065         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5066         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5067         (gst_base_sink_preroll_object):
5068         Make sure that our internal state is correct when we commit our state
5069         asynchronously. This solves a race where a state change to PLAYING
5070         could cause the sink to remain blocked in preroll in some situations.
5071
5072 2006-09-15  Wim Taymans  <wim@fluendo.com>
5073
5074         * tools/gst-inspect.c: (print_element_properties_info),
5075         (print_signal_info):
5076         List flags as hex so it's easier to deal with.
5077
5078 2006-09-15  Wim Taymans  <wim@fluendo.com>
5079
5080         * docs/libs/gstreamer-libs-sections.txt:
5081         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5082         (gst_base_sink_do_sync):
5083         * libs/gst/base/gstbasesink.h:
5084         Expose logic to wait for preroll so that subclasses such as audiosink
5085         can also use this method.
5086         API: gst_base_sink_wait_preroll()
5087
5088 2006-09-15  Wim Taymans  <wim@fluendo.com>
5089
5090         * gst/gstobject.c: (gst_object_set_parent):
5091         * gst/gstpipeline.c: (do_pipeline_seek):
5092         Small cleanups in docs and code.
5093
5094         * gst/gstsegment.c: (gst_segment_clip):
5095         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5096         if stop == start and start is in the segment, no clipping should be
5097         done. Also add a test for this.
5098
5099 2006-09-15  Wim Taymans  <wim@fluendo.com>
5100
5101         * docs/design/part-buffering.txt:
5102         * docs/gst/gstreamer-sections.txt:
5103         * gst/gstmessage.c: (gst_message_new_buffering),
5104         (gst_message_parse_buffering):
5105         * gst/gstmessage.h:
5106         Added methods to create and parse BUFFERING messages.
5107         Added preliminary docs about buffering.
5108         API: gst_message_new_buffering
5109         API: gst_message_parse_buffering
5110
5111 2006-09-06  Wim Taymans  <wim@fluendo.com>
5112
5113         * gst/gstbin.c:
5114         Update documentation.
5115
5116         * gst/gstelement.c: (gst_element_class_init),
5117         (gst_element_release_request_pad), (gst_element_set_clock),
5118         (gst_element_get_index), (gst_element_add_pad),
5119         (gst_element_remove_pad), (gst_element_get_random_pad),
5120         (gst_element_send_event), (gst_element_get_query_types),
5121         (gst_element_query), (gst_element_post_message),
5122         (gst_element_message_full), (gst_element_continue_state),
5123         (gst_element_lost_state), (gst_element_save_thyself),
5124         (gst_element_restore_thyself):
5125         Documentation updates.
5126         Rename last bit of the new-pad -> pad-added signal rename.
5127         Fix the case where an element query would only work if the source
5128         pad was linked.
5129         Avoid some useless type checking in message handling.
5130
5131         * gst/gstevent.c:
5132         * gst/gstevent.h:
5133         * gst/gstutils.c:
5134         Documentation updates.
5135
5136 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5137
5138         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5139           add an INFO line for when we actually update the fd
5140
5141 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5142
5143         * configure.ac:
5144           back to TRUNK
5145
5146 === release 0.10.10 ===
5147
5148 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5149
5150         * configure.ac:
5151           releasing 0.10.10, "Pais"
5152
5153 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5154
5155         * docs/manual/advanced-position.xml:
5156           Fix typo in sample code.
5157
5158 2006-09-05  Wim Taymans  <wim@fluendo.com>
5159
5160         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5161         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5162         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5163         * libs/gst/net/gstnetclientclock.h:
5164         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5165         * libs/gst/net/gstnettimepacket.h:
5166         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5167         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5168         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5169         * libs/gst/net/gstnettimeprovider.h:
5170         Make stuff compile on windows. Fixes #345295.
5171
5172 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5173
5174         * gst/gst.c: (ensure_current_registry_forking):
5175           Print better details when child was terminated by signal.
5176
5177 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5180           Print a warning rather than g_assert() if a plugin feature
5181           is a URI handler but returns no protocols (#353976).
5182
5183 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5184
5185         * docs/random/moving-plugins:
5186         Fix two typos.         
5187
5188 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5191           Fix locking order, handle NULL function values properly.
5192
5193         * gst/gstinfo.h:
5194           Fix docs.
5195
5196         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5197           Initialise variable before using it and fix debug statement to
5198           print the address of the function rather than the address of the
5199           variable on the stack holding the address of the function.
5200
5201 2006-09-01  Wim Taymans  <wim@fluendo.com>
5202
5203         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5204         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5205         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5206         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5207         (gst_ghost_pad_parent_unset),
5208         (gst_ghost_pad_internal_do_activate_push),
5209         (gst_ghost_pad_internal_do_activate_pull),
5210         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5211         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5212         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5213         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5214         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5215         (gst_ghost_pad_new_no_target_from_template),
5216         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5217         More cleanups.
5218         Avoid needless typechecking in macros.
5219         Since the internal pad is always present and never changes, there is
5220         no need to locking or ref when retrieving it.
5221         Improve debugging a bit.
5222         Handle link errors when setting the target. Fixes #341029.
5223
5224 2006-09-01  Wim Taymans  <wim@fluendo.com>
5225
5226         * docs/libs/gstreamer-libs-sections.txt:
5227         * docs/plugins/gstreamer-plugins-sections.txt:
5228         Fix docs some more.
5229
5230         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5231         (gst_collect_pads_event):
5232         * libs/gst/base/gstcollectpads.h:
5233         Documentation updates.
5234         Free queued buffer when removing a pad.
5235
5236 2006-08-31  Michael Smith  <msmith@fluendo.com>
5237
5238         * gst/gstutils.c: (gst_element_link_pads),
5239         (gst_element_link_pads_filtered):
5240           Ensure that we set a capsfilter to NULL if we failed to link it
5241           when doing filtered linking, to avoid criticals.
5242
5243           No need to check for unreffing srcpad, which is explicly NULLed
5244           above (a trivial code cleanup).
5245
5246 2006-08-31  Wim Taymans  <wim@fluendo.com>
5247
5248         * docs/design/part-gstghostpad.txt:
5249         Update ascii art in documentation.
5250
5251         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5252         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5253         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5254         (gst_ghost_pad_internal_do_activate_push),
5255         (gst_ghost_pad_internal_do_activate_pull),
5256         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5257         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5258         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5259         (gst_ghost_pad_set_target):
5260         Small cleanups and leak fixes.
5261         Remove some checks now that the internal pad is never NULL.
5262         Fix the case where linking pads without a target would create nasty
5263         criticals. Fixes #341029.
5264         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5265         value of _set_target().
5266
5267         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5268         (gst_ghost_pad_suite):
5269         Some more tests for creating and linking untargeted ghostpads.
5270
5271 2006-08-31  Edward Hervey  <edward@fluendo.com>
5272
5273         * docs/gst/gstreamer-sections.txt:
5274         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5275         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5276         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5277         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5278         (gst_ghost_pad_new_from_template),
5279         (gst_ghost_pad_new_no_target_from_template):
5280         * gst/gstghostpad.h:
5281         Refactored *_new() functions.
5282         Templates are now used as a g_object_new() parameter.
5283         Use template in _do_getcaps() if we don't have a target.
5284         Small documentation cleanups.
5285         Added two new constructors:
5286         gst_ghost_pad_new_from_template()
5287         gst_ghost_pad_new_no_target_from_template()
5288         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5289         (gst_ghost_pad_suite):
5290         Added tests for new ghostpad instanciation functions.
5291
5292         API additions: gst_ghost_pad_new_from_template,
5293         gst_ghost_pad_new_no_target_from_template
5294
5295 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5296
5297         * docs/random/ensonic/profiling.txt:
5298           Ideas about qos profiling.
5299
5300 2006-08-29  Wim Taymans  <wim@fluendo.com>
5301
5302         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5303         Code cleanups.
5304         Fix memleak.
5305
5306 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5307
5308         * gst/gstxml.c:
5309           Improve and detypofy docs.
5310
5311         * tests/check/Makefile.am:
5312         * tests/check/gst/.cvsignore:
5313         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5314           Add a basic test suite for GstXML.
5315
5316 2006-08-29  Wim Taymans  <wim@fluendo.com>
5317
5318         * gst/gstelement.c: (activate_pads), (clear_caps),
5319         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5320         Clear the pad caps when the element shut down all of the pads and
5321         is not streaming data that could modify the caps. 
5322         Fixes #352958.
5323
5324 2006-08-28  Michael Smith  <msmith@fluendo.com>
5325
5326         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5327           Revert previous change; I misunderstood single-segment mode.
5328
5329 2006-08-28  Michael Smith  <msmith@fluendo.com>
5330
5331         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5332           Unset DISCONT on buffers when using single-segment mode.
5333
5334 2006-08-28  Wim Taymans  <wim@fluendo.com>
5335
5336         * gst/gstcaps.c: (gst_caps_merge_structure):
5337         * gst/gstcaps.h:
5338         Fix docs and indentation again.
5339
5340         * tests/check/gst/gstquery.c: (GST_START_TEST):
5341         Fix leak in tests and add some more tests.
5342
5343 2006-08-28  Edward Hervey  <edward@fluendo.com>
5344
5345         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5346         Inform GstSegment of the last stop position in order for the current
5347         segment to have a proper duration if it doesn't have a specific stop
5348         position from which a duration could be calculated.
5349         This bug was noticeable when a non-flushing, non-update new segment was
5350         followed by another segment (all buffers from the new segment were being
5351         dropped).
5352
5353 2006-08-28  Wim Taymans  <wim@fluendo.com>
5354
5355         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5356         Small comment update.
5357
5358         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5359         (gst_identity_transform_ip):
5360         Drop-probability is broken, mention this in the code with a 
5361         FIXME and also in the property description.
5362         Make silent also be silent about the drop messages.
5363
5364 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         * docs/manual/appendix-win32.xml:
5367           Remove mention of popt, we don't depend on that any
5368           longer (#353136). Add some comments pointing out that
5369           this section is slightly outdated.
5370
5371 2006-08-28  Wim Taymans  <wim@fluendo.com>
5372
5373         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5374
5375         * gst/gstquery.c: (gst_query_new_segment):
5376         * tests/check/gst/gstquery.c: (GST_START_TEST):
5377         Initialize variables when creating a new segment query.
5378         Fixes #353121.
5379
5380 2006-08-28  Wim Taymans  <wim@fluendo.com>
5381
5382         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5383
5384         * gst/gstelement.c: (gst_element_get_bus):
5385         * tests/check/gst/gstelement.c: (GST_START_TEST):
5386         Check for NULL before _reffing the bus. Fixes #353122.
5387
5388 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5389
5390         * docs/manual/basics-bus.xml:
5391           Docs update: fix wrong callback return value explanation; add
5392           some lines about the implicit relationship between main loop
5393           and main context; remove duplicate main loop variable declaration.
5394
5395 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5396
5397         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5398           Don't leak caps in unit test; add a few more simple
5399           checks. 
5400
5401 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5402
5403         * docs/gst/gstreamer-sections.txt:
5404         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5405         (gst_caps_structure_is_subset), (gst_caps_merge),
5406         (gst_caps_merge_structure):
5407         * gst/gstcaps.h:
5408         * libs/gst/base/gstbasetransform.c:
5409         (gst_base_transform_transform_caps):
5410         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5411           implement caps merging (fixes #352580)
5412
5413 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5414
5415         * tools/Makefile.am:
5416         * tools/gst-plot-timeline.py:
5417           add debug-log plotting developer tool (#340674)
5418
5419 2006-08-23  Wim Taymans  <wim@fluendo.com>
5420
5421         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5422         (gst_pad_stop_task):
5423         Improve debugging for task functions.
5424
5425         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5426         (gst_task_start), (gst_task_pause), (gst_task_join):
5427         Make sure that the task function started and finished after a 
5428         join(). 
5429         Don't try to push the task function on the threadpool multiple
5430         times.
5431         Improve the g_warning message with some useful suggestions
5432         about how to fix the problem. 
5433
5434 2006-08-23  Wim Taymans  <wim@fluendo.com>
5435
5436         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5437         Handle RESYNC correctly in _proxy_getcaps.
5438
5439 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5440
5441         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5442         (gst_xml_parse_memory), (gst_xml_get_element):
5443           Chain up to parent class in dispose function and also
5444           unref the elements in the toplevel_elements GList.
5445           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5446           Always return a reference in gst_xml_get_element() rather
5447           than only sometimes.
5448
5449         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5450           Don't leak GstXml object.
5451
5452 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5453
5454         * docs/gst/gstreamer-sections.txt:
5455         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5456         (gst_caps_merge):
5457         * gst/gstcaps.h:
5458         * libs/gst/base/gstbasetransform.c:
5459         (gst_base_transform_transform_caps):
5460           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5461           in a better way
5462
5463 2006-08-21  Edward Hervey  <edward@fluendo.com>
5464
5465         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5466         Implement GObject::dispose virtual method in GstXML so we can free the
5467         top_elements GList.
5468
5469 2006-08-21  Wim Taymans  <wim@fluendo.com>
5470
5471         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5472         (gst_buffer_create_sub):
5473         Copy duration/offset_end/caps when creating a subbuffer of the
5474         complete parent.
5475         Make the subbuffer read-only when we make the metadata writable for
5476         now. Fixes #351768.
5477
5478         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5479         Added check for metadata copy when creating subbuffers.
5480
5481 2006-08-21  Edward Hervey  <edward@fluendo.com>
5482
5483         * libs/gst/base/gstbasetransform.c:
5484         (gst_base_transform_buffer_alloc):
5485         Only call downstream buffer_alloc if transform element is passthrough
5486         or always_in_place. Closes #350449.
5487
5488 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5489
5490         * ChangeLog:
5491           ChangeLog surgery to add comments to previous changes
5492
5493 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * gst/gst.c:
5496           Add comments
5497
5498         * gst/gstpad.c: (gst_pad_set_active):
5499           Be more verbose in the log
5500
5501         * libs/gst/base/gstbasetransform.c:
5502         (gst_base_transform_transform_caps):
5503           Simplify caps to get rid of duplicates, fixes #345444
5504
5505 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * gst/gstvalue.c:
5508         * gst/gstvalue.h:
5509           Use these optimizations only internally.
5510
5511 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5512
5513         * gst/gstvalue.c: (gst_value_compare_list),
5514         (gst_value_compare_fraction_range),
5515         (gst_value_intersect_fraction_fraction_range),
5516         (gst_value_intersect_fraction_range_fraction_range),
5517         (gst_value_subtract_fraction_fraction_range),
5518         (gst_value_subtract_fraction_range_fraction_range),
5519         (gst_value_get_compare_func), (gst_value_compare),
5520         (gst_value_compare_with_func):
5521         * gst/gstvalue.h:
5522           Saves the expensive lookup of the compare function in many cases
5523          (#345444)
5524
5525 2006-08-18  Edward Hervey  <edward@fluendo.com>
5526
5527         * tests/check/gst/gstinfo.c: (gst_info_suite):
5528         Disable test that require gstdebug if it wasn't built in core.
5529
5530 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5531
5532         * docs/random/ensonic/logging.txt:
5533           update ideas
5534           
5535         * gst/gstinfo.c: (gst_debug_log_default):
5536           reorder fields, save some columns, add optional color codes for log
5537           levels
5538
5539 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5540
5541         * docs/random/ensonic/logging.txt:
5542           add ideas about making the logs a bit more useful
5543
5544 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5545
5546         * docs/pwg/advanced-events.xml:
5547         * docs/pwg/titlepage.xml:
5548           Update for 0.10 API (#340627). Add myself
5549           to authors list.
5550
5551 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5552
5553         * docs/libs/gstreamer-libs-docs.sgml:
5554         * docs/libs/gstreamer-libs-sections.txt:
5555         * libs/gst/check/gstbufferstraw.c:
5556           Make gstcheck stuff show up in docs (still needs to
5557           be documented properly though).
5558
5559 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5560
5561         * docs/gst/gstreamer-sections.txt:
5562         * gst/Makefile.am:
5563         * gst/gst.c: (init_post):
5564         * gst/gst_private.h:
5565         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5566         * gst/gstquark.h:
5567         * gst/gstquery.c: (gst_query_new_position),
5568         (gst_query_set_position), (gst_query_parse_position),
5569         (gst_query_new_duration), (gst_query_set_duration),
5570         (gst_query_parse_duration), (gst_query_new_convert),
5571         (gst_query_set_convert), (gst_query_parse_convert),
5572         (gst_query_new_segment), (gst_query_set_segment),
5573         (gst_query_parse_segment), (gst_query_new_seeking),
5574         (gst_query_set_seeking), (gst_query_parse_seeking):
5575         Add internal helpers for pre-registering quarks from static strings
5576         and using the quark values directly instead of looking them up when
5577         creating and parsing queries. Can be used for event construction too.
5578         Closes #350432.
5579
5580 2006-08-16  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstbin.c:
5583         Fix bogus docs.
5584
5585 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5586
5587         * gst/gstutils.c: (gst_util_set_value_from_string):
5588           Fix memleak (#351502).
5589
5590         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5591           Add unit test for most of gst_util_set_value_from_string()
5592           (not that one would want to encourage use of this function).
5593
5594 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5595
5596         * libs/gst/check/gstcheck.h:
5597           Use const gchar * variables in fail_unless_equals_string
5598           macro to avoid compiler warnings (and don't use tabs for
5599           indenting).
5600
5601 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5602
5603         * tools/gst-launch.c: (print_tag):
5604           More space on the left for the tag names, to cater
5605           for the 'extended comment' tag (not touching the
5606           string for the first line since it's translated).
5607
5608 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5609
5610         * libs/gst/check/gstcheck.h:
5611           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5612           print something when they fail.
5613
5614 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5615
5616         * docs/gst/gstreamer-sections.txt:
5617         * gst/gsttaglist.c: (_gst_tag_initialize):
5618         * gst/gsttaglist.h:
5619           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5620           Also change merge function for GST_TAG_COMMENT to
5621           use_first.
5622
5623 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5624
5625         * gst/gstinfo.c: (gst_debug_print_object):
5626           Make GST_PTR_FORMAT print messages as well.
5627
5628         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5629         (GST_START_TEST), (gst_info_suite):
5630           More tests.
5631
5632 2006-08-14  Edward Hervey  <edward@fluendo.com>
5633
5634         * gst/gstelementfactory.c: (gst_element_register):
5635         If the GstElementClass doesn't have a GstElementDetails with all fields
5636         filled up correctly (longname, description AND author), then error out
5637         nicely instead of crashing.
5638
5639 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         * gst/gststructure.c:
5642           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5643
5644         * gst/gstvalue.h:
5645           Expand on the difference between arrays and lists as we use them.
5646           
5647 2006-08-14  Wim Taymans  <wim@fluendo.com>
5648
5649         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5650         If the parent state change function failed, don't assume we can safely
5651         stop the source, this will be done when the pads are deactivated.
5652
5653 2006-08-14  Wim Taymans  <wim@fluendo.com>
5654
5655         * gst/gstbuffer.c:
5656         * gst/gsttask.c: (gst_task_join):
5657         Small doc updates.
5658
5659         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5660         (gst_pad_stop_task):
5661         When pad (de)activation failed for some reason, restore the old
5662         activation mode and set the pad to flushing instead of assuming the
5663         pad is deactivated.
5664         If the _task_join() failed, reinstall the task on the pad so that it can
5665         be stopped later and return an error.
5666
5667 2006-08-11  Andy Wingo  <wingo@pobox.com>
5668
5669         * configure.ac:
5670         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5671         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5672         is only for users of API that don't want to see deprecated
5673         functions in the headers; people that want to compile out
5674         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5675         CFLAGS. Fixes the build of multifdsink, or will soon..
5676
5677 2006-08-11  Wim Taymans  <wim@fluendo.com>
5678
5679         * docs/gst/gstreamer-sections.txt:
5680         Add GstClockClass vmethod docs.
5681
5682         * gst/gstcaps.h:
5683         Mark #endif with comment for associated #if
5684
5685         * gst/gstclock.c: (gst_clock_id_wait):
5686         * gst/gstclock.h:
5687         Add vmethod wait_jitter to avoid an unneeded _get_time() for
5688         most clock implementations.
5689         Document vmethods.
5690         Flesh out docs about resolution methods.
5691         API: GstClockClass::wait_jitter
5692
5693         * gst/gstsystemclock.c: (gst_system_clock_class_init),
5694         (gst_system_clock_async_thread),
5695         (gst_system_clock_id_wait_jitter_unlocked),
5696         (gst_system_clock_id_wait_jitter):
5697         Use base class wait_jitter variant for improved performance
5698         due to less clock polling.
5699
5700 2006-08-11  Edward Hervey  <edward@fluendo.com>
5701
5702         * gst/gst.c: (gst_init_check), (init_post):
5703         Set gst as being initialized before scanning/updating the registry,
5704         since there might be my python plugin loader that calls gst_init() and
5705         we don't want to loop back in.
5706         Closes #350879
5707
5708 2006-08-11  Wim Taymans  <wim@fluendo.com>
5709
5710         * docs/design/part-qos.txt:
5711         Bring docs in line with the code. Mostly the sign of the jitter was
5712         wrong in the docs. Fixes #349943.
5713
5714         * gst/gstclock.c:
5715         Fix the docs for the jitter.
5716
5717         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5718         (gst_event_parse_tag), (gst_event_new_buffer_size),
5719         (gst_event_parse_buffer_size), (gst_event_parse_qos),
5720         (gst_event_new_seek), (gst_event_parse_seek),
5721         (gst_event_new_navigation):
5722         Make sure the GstStructure has no parent when creating custom
5723         events.
5724         Add some more argument checking so that we avoid 0.0 rates.
5725         Flesh out the docs for the QoS event some more.
5726
5727 2006-08-11  Wim Taymans  <wim@fluendo.com>
5728
5729         * docs/gst/gstreamer-sections.txt:
5730         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5731         (ensure_current_registry_forking), (ensure_current_registry),
5732         (parse_one_option), (parse_goption_arg), (gst_deinit),
5733         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5734         * gst/gst.h:
5735         Doc updates.
5736         Added API and command line option to disable registry forking in
5737         addition to the environment variable.
5738         Constify some static arrays.
5739         Added some more debug.
5740         Don't deinit twice.
5741         API: gst_registry_fork_is_enabled()
5742         API: gst_registry_fork_set_enabled()
5743         API: --gst-disable-registry-fork command line option
5744         Fixes #348918.
5745
5746 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * gst/gst.c: (gst_init):
5749           Fix typo in error message.
5750
5751 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5752
5753         * libs/gst/controller/gstcontroller.h:
5754           fix ABI size-correction
5755
5756         * tests/check/libs/gdp.c: (gst_dp_suite):
5757           make tests that use deprecated API conditional
5758
5759 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * docs/libs/gstreamer-libs-sections.txt:
5762         * libs/gst/controller/gstcontroller.c:
5763         (_gst_controller_get_property), (_gst_controller_set_property),
5764         (_gst_controller_init), (_gst_controller_class_init):
5765         * libs/gst/controller/gstcontroller.h:
5766         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5767         (gst_object_set_control_rate):
5768           API: add gst_object_{s,g}et_control_rate(), add private data section,
5769           fix docs
5770
5771         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5772         * libs/gst/dataprotocol/dataprotocol.h:
5773           add deprecation guards to make gtk-doc happy and allow disabling cruft
5774
5775 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5776
5777         * tests/check/Makefile.am:
5778         * tests/check/gst/.cvsignore:
5779           Let's enable the new unit test as well.
5780
5781 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5782
5783         * configure.ac:
5784         * docs/gst/gstreamer-sections.txt:
5785         * gst/gstconfig.h.in:
5786         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5787         (_gst_info_printf_extension_ptr),
5788         (_gst_info_printf_extension_segment):
5789           API: add GST_SEGMENT_FORMAT, which is a printf extension we
5790           register that lets us easily dump GstSegments into debug
5791           logs (#350419).
5792
5793         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5794         (info_segment_format_printf_extension), (gst_info_suite):
5795           Add simple unit test that logs a bunch of different segments (not
5796           valgrinded at the moment because of leaks in
5797           gst_debug_add_log_function).
5798
5799 2006-08-09  Edward Hervey  <edward@fluendo.com>
5800
5801         * libs/gst/base/gstbasetransform.c:
5802         (gst_base_transform_buffer_alloc):
5803         Even if we can't figure out the proper format to request downstream,
5804         call buffer_alloc() downstream with the input parameters without setting
5805         the caps on the srcpad. This will force negotiation in the chain
5806         function.
5807         Closes #350449
5808
5809 2006-08-08  Edward Hervey  <edward@fluendo.com>
5810
5811         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5812         Unlinking from a pad without a target is now a perfectly valid case
5813         which should NOT raise an assertion.
5814         This case would happen if a linked ghostpad its target set to NULL after
5815         it was previously linked.
5816
5817 2006-08-08  Edward Hervey  <edward@fluendo.com>
5818
5819         * tests/check/libs/gdp.c:
5820         Also comment out the test (see below).
5821
5822 2006-08-08  Edward Hervey  <edward@fluendo.com>
5823
5824         * tests/check/libs/gdp.c: (gst_dp_suite):
5825         Use the architecture information from config.h and not gcc macros
5826         in order to properly disable a test that fails on PPC64.
5827
5828 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
5829
5830         * gst/gstelement.c: (gst_element_remove_pad):
5831           Don't crash printing the warning if the pad has no parent.
5832
5833 2006-08-02  Wim Taymans  <wim@fluendo.com>
5834
5835         * libs/gst/dataprotocol/dataprotocol.c:
5836         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5837         (gst_dp_crc), (gst_dp_header_payload_length),
5838         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5839         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5840         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5841         (gst_dp_event_from_packet), (gst_dp_validate_header),
5842         (gst_dp_validate_payload):
5843         Make debug category static
5844         Constify the crc table.
5845         Do some more arg checking in public functions.
5846         Fix some docs and do some small cleanups.
5847
5848         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5849         Add some more checks to see if GDP deals with bogus input.
5850
5851 2006-07-31  Wim Taymans  <wim@fluendo.com>
5852
5853         * gst/gstvalue.c: (gst_value_compare_list):
5854         Fix GstValueList comparison code. Fixes #347293.
5855
5856         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5857         Check to test GstValueList comparison.
5858
5859 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5860
5861         * gst/gstelementfactory.c: (gst_element_factory_create):
5862         Remove unnecessary ref/unref pair
5863
5864         * gst/parse/grammar.y:
5865         Make sure to free the parse buffer on all code paths.
5866         Move a g_free up to the error handler where it's easier to see.
5867
5868         * tests/check/gst/gstevent.c: (test_event):
5869         Extending timeout for downstream travelling events to 10 seconds to
5870         hopefully avoid intermittent failure on the buildbots.
5871
5872         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5873         Don't manually set the state of the src element - it will happen as a
5874         natural consequence of the pipeline changing state, and that way it
5875         will do it in the right order too.
5876
5877 2006-07-31  Wim Taymans  <wim@fluendo.com>
5878
5879         * libs/gst/base/gstbasetransform.c:
5880         (gst_base_transform_buffer_alloc):
5881         Use OBJECT_LOCK and refcounting to get the pad caps in the
5882         buffer_alloc function because the caps could change while we are
5883         busy with them. Fixes #349105
5884
5885 2006-07-31  Wim Taymans  <wim@fluendo.com>
5886
5887         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5888         Protect _PAD_CAPS with OBJECT_LOCK.
5889
5890 2006-07-31  Wim Taymans  <wim@fluendo.com>
5891
5892         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5893         (gst_pad_get_property), (gst_pad_activate_pull),
5894         (gst_pad_activate_push), (gst_pad_set_blocked_async),
5895         (gst_pad_set_activate_function),
5896         (gst_pad_set_activatepull_function),
5897         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5898         (gst_pad_set_getrange_function),
5899         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5900         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5901         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5902         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5903         (gst_pad_set_acceptcaps_function),
5904         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5905         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5906         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5907         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5908         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5909         (gst_pad_configure_sink), (gst_pad_configure_src),
5910         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5911         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5912         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5913         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5914         (gst_pad_send_event):
5915         Use _DEBUG_OBJECT when it makes sense.
5916         Protect GST_PAD_CAPS with the OBJECT_LOCK.
5917         Small cleanups and code reflows.
5918         Avoid caps refcounting in _accept_caps.
5919         Refactor alloc_buffer so that the code performed on the peer is in a
5920         separate function. Also if the pad does not implement a buffer alloc
5921         function, we should still check if the pad is flushing before falling
5922         back to the default allocator.
5923
5924 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5925
5926         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5927         Make all uses of identity and fakesink have silent=true to avoid
5928         serialising every passing data structure, which is breaking tests
5929         on FC4 for some unknown reason.
5930
5931 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5932
5933         * gst/parse/Makefile.am:
5934         * gst/parse/grammar.y:
5935         * gst/parse/parse.l:
5936           Reverted previous patch as it required to bump the flex dependency to
5937           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5938
5939 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5940
5941         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5942
5943         * gst/parse/Makefile.am:
5944         * gst/parse/grammar.y:
5945         * gst/parse/parse.l:
5946           push & pop the state of the lexer for reentrant use case
5947           Fixes #349180
5948
5949 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
5950
5951         * libs/gst/base/gstbasesrc.h:
5952           Note in the docs that the ::newsegment vfunc is not actually used by
5953           GstBaseSrc.
5954
5955 2006-07-28  Wim Taymans  <wim@fluendo.com>
5956
5957         * libs/gst/base/gstcollectpads.c:
5958         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5959         (gst_collect_pads_clear), (gst_collect_pads_flush),
5960         (gst_collect_pads_event), (gst_collect_pads_chain):
5961         When flushing a pad, also clear the queued buffer so that we don't
5962         accidentally use it when we shouldn't.
5963         Fix leaks by inreffing incomming buffer.
5964         Flush out queued buffers in case of errors.
5965         Fixes #347452.
5966
5967 2006-07-28  Wim Taymans  <wim@fluendo.com>
5968
5969         * docs/random/phonon-gst:
5970         Random notes about a Phonon backend.
5971
5972 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
5973
5974         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5975         Extra debug output
5976         * tests/check/libs/gdp.c: (gst_dp_suite):
5977         Take a whack at fixing the ppc compile using a different define to
5978         disable the broken test.
5979
5980         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5981         Remove excess g_print()
5982
5983 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5984
5985         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5986         Oops, meant to uncomment this line too to dampen the noise a bit.
5987
5988 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5989
5990         * gst/parse/grammar.y:
5991         * gst/parse/parse.l:
5992         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5993         (GST_START_TEST), (parse_suite):
5994         Fix some of the leaks exposed by extending the parse-launch testsuite,
5995         and move the 3 I can't figure out into a separate test that won't run
5996         the pipelines unless the appropriate line is uncommented.
5997
5998 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
5999
6000         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6001           Requesting 0 bytes before the end of the file should result in
6002           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6003           unit test.
6004
6005 2006-07-27  Wim Taymans  <wim@fluendo.com>
6006
6007         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6008         Fix useless assert, a uint is always positive.
6009
6010         * gst/gststructure.c: (gst_structure_nth_field_name),
6011         (gst_structure_foreach), (gst_structure_map_in_place):
6012         Check input arguments for public functions to avoid obvious crashes.
6013
6014         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6015         * plugins/elements/gstfakesink.h:
6016         Do less useless typechecking.
6017
6018 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6021           Do not use mmap() by default since there are a number of error
6022           conditions that we would like to handle in a non-fatal way that
6023           will result in a SIGBUS if we use mmap(). Examples: external
6024           devices (USB harddrive, portable music player) being unplugged
6025           while in use; file on mounted CD/DVD that can't be read because
6026           the medium is partly damaged. Fixes #348455 and #348475.
6027
6028 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
6029
6030         * gst/gstquery.h:
6031         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6032         rates are a gdouble
6033
6034 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
6035
6036         * gst/gstregistry.c:
6037           Move big documentation comment into class section header, so that it
6038           appears in the API docs.
6039
6040 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6041
6042         * docs/gst/gstreamer-sections.txt:
6043         Oops. Commit the docs additions too for new API.
6044         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6045
6046 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6047
6048         * gst/gststructure.c: (gst_structure_id_set),
6049         (gst_structure_id_set_valist):
6050         * gst/gststructure.h:
6051         Add API for setting values into structures without performing
6052         a quark lookup, if the appropriate quark is already known.
6053
6054         API: gst_structure_id_set
6055         API: gst_structure_id_set_valist
6056
6057         * gst/parse/grammar.y:
6058         * gst/parse/parse.l:
6059         Remove some dead code shown by the coverage information.
6060         Don't throw a critical g_warning when encountering a syntax error,
6061         just warn and let the normal error path handle it.
6062
6063         * plugins/elements/gstelements.c:
6064         Bump the rank of filesink up to PRIMARY so that it is preferred over
6065         gnomevfssink for file:// sink uri's
6066
6067         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6068         (GST_START_TEST), (run_delayed_test),
6069         (gst_parse_test_element_base_init),
6070         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6071         (gst_parse_test_element_change_state),
6072         (gst_register_parse_element), (parse_suite):
6073         Beef up the tests for parse syntax to check that more error cases
6074         fail as they are supposed to. Increases the test coverage a bit.
6075
6076 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         * docs/manual/basics-elements.xml:
6079           Fix gst_element_link() example.
6080
6081         * gst/gstutils.c:
6082           Mention in API docs that one should usually gst_bin_add()
6083           elements to a bin or pipeline before doing the linking.
6084           
6085 2006-07-26  Wim Taymans  <wim@fluendo.com>
6086
6087         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6088         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6089         Avoid function call for known types by keeping the buffer and
6090         subbuffer GType global.
6091
6092         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6093         Random silly optimisations in read() path.
6094
6095 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6096
6097         * tools/gst-launch.c: (main):
6098           If the top-level of the parse is a normal bin, it doesn't do the
6099           right logic to run as a top-level element, so place it inside a
6100           pipeline.
6101
6102 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6105           Remove superfluous g_object_notify() calls, GObject does
6106           that for us automatically.
6107
6108 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6109
6110         * gst/gstinfo.h:
6111           on Win32, use dllspec to export the debug category symbols
6112
6113 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * gst/gsttaglist.c: (_gst_tag_initialize):
6116           Allow more than one GST_TAG_IMAGE per taglist.
6117
6118 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6119
6120         * gst/gstminiobject.c:
6121           update docs
6122         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6123         (gst_fd_src_create):
6124           log recurring events at LOG level
6125           add more debug for when the fd gets set
6126
6127 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6128
6129         * gst/gstparse.c: (gst_parse_launch):
6130           Also remove reentrance checks if flex is MT safe (#348179)
6131          Fix my empty ChangeLog entry below
6132
6133 2006-07-21  Andy Wingo  <wingo@pobox.com>
6134
6135         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6136
6137         * libs/gst/check/Makefile.am
6138         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6139         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6140         * libs/gst/check/gstbufferstraw.h:
6141         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6142         functions, thus proving I am still a GStreamer haxor. OK I wrote
6143         them a long time ago, but anyways.
6144
6145 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6146
6147         * configure.ac:
6148         * gst/gstparse.c: (gst_parse_launch):
6149           Check for flex version and omit mutex if we have a MT save flex
6150           (fixes #348179)
6151
6152 2006-07-21  Wim Taymans  <wim@fluendo.com>
6153
6154         * gst/gstparse.c: (gst_parse_launch):
6155         Protect recursive calls to _parse with a recursive mutex
6156         and busy flag.
6157
6158 2006-07-21  Wim Taymans  <wim@fluendo.com>
6159
6160         * tests/check/gst/gstpad.c: (GST_START_TEST):
6161         Fix leak in test.
6162
6163 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6164
6165         * gst/gstparse.c: (gst_parse_launch):
6166           Do not hang on recursive usage of gst_parse_launch()
6167
6168 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * gst/gsttaglist.c:
6171           Add some more docs, comments and FIXME 0.11s here and there
6172           and also fix some typos.
6173
6174 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6175
6176         * gst/gstsegment.h:
6177           Convert tabs to spaces for better readability. 
6178
6179 2006-07-20  Edward Hervey  <edward@fluendo.com>
6180
6181         * tests/check/libs/gdp.c: (gst_dp_suite):
6182         the test_buffer test fails at line 140 on ppc64 at the following
6183         check:
6184         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6185                 GST_BUFFER_FLAG_IN_CAPS),
6186                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6187         See bug #348114 for more details.
6188
6189 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6190
6191         * docs/pwg/advanced-scheduling.xml:
6192         * gst/gstpad.c:
6193           Fix typos (#348000).
6194
6195 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * docs/pwg/intro-basics.xml:
6198           Fix wrong links (#347927).
6199
6200 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6201
6202         * gst/gstregistry.h:
6203         * gst/gstregistryxml.c: (load_feature),
6204         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6205         * win32/common/config.h:
6206           make --disable-index work (#342564)
6207
6208 2006-07-18  Wim Taymans  <wim@fluendo.com>
6209
6210         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6211
6212         * gst/Makefile.am:
6213         * gst/gsttrace.h:
6214         The attached patch adds two missing defines to gsttrace.h when tracing
6215         is disabled.  It also corrects one existing define.
6216         Fixes #347756.
6217
6218 2006-07-17  Wim Taymans  <wim@fluendo.com>
6219
6220         * docs/gst/gstreamer-sections.txt:
6221         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6222         * gst/gst.h:
6223         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6224         Add two functions to check and change the SIGSEGV behaviour
6225         when loading plugins.
6226         Don't mess with the SIGSEGV handler when we were told not to.
6227         Fixes #347794.
6228         API: gst_segtrap_is_enabled
6229         API: gst_segtrap_set_enabled
6230
6231 2006-07-14  Wim Taymans  <wim@fluendo.com>
6232
6233         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6234         * tests/check/elements/filesrc.c: (GST_START_TEST):
6235         Revert fix for regression in #347408 after release.
6236
6237 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         Patch by: Antoine Tremblay <hexa00 at gmail com>
6240
6241         * gst/gstutils.c: (gst_element_unlink):
6242           Free iterator when done (#347311).
6243
6244         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6245           And add a test case for this.
6246
6247 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6248
6249         * configure.ac:
6250         Bump nano back to CVS
6251
6252 === release 0.10.9 ===
6253
6254 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6255
6256         * configure.ac:
6257           releasing 0.10.9, "On the road again"
6258
6259 2006-07-13  Wim Taymans  <wim@fluendo.com>
6260
6261         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6262         * tests/check/elements/filesrc.c: (GST_START_TEST):
6263         Revert pull-0 fix for release. Disable check. Fixes #347408.
6264
6265 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6266
6267         * libs/gst/dataprotocol/dataprotocol.c:
6268         (gst_dp_event_from_packet_1_0):
6269           Fixes #347337: failure to deserialize event packets with
6270           empty payload (only event type)
6271
6272 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6273
6274         * gst/Makefile.am:
6275           do not install a .c file in the header directory
6276
6277 2006-07-13  Edward Hervey  <edward@fluendo.com>
6278
6279         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6280         GhostPad no longer implicitely use the padtemplates of the targets.
6281         Fixes #347384
6282
6283 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6284
6285         * gst/gstvalue.c: (gst_value_compare_list),
6286         (gst_value_compare_array), (_gst_value_initialize):
6287         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6288         Make GstValueArray comparison be order dependent as designed.
6289         Add checks for value lists and value array comparisons.
6290         Fixes #347221
6291
6292 2006-07-11  Edward Hervey  <edward@fluendo.com>
6293
6294         * gst/gstbin.c: (activate_pads),
6295         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6296         (gst_bin_change_state_func):
6297         (de)activate src pads before calling state_change on the childs.
6298         This is to avoid the case where a src ghostpad is blocked (holding the
6299         stream lock), which would block the deactivation of the ghostpad's
6300         target pad.
6301         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6302         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6303         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6304         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6305         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6306         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6307         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6308         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6309         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6310         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6311         (gst_ghost_pad_class_init),
6312         (gst_ghost_pad_internal_do_activate_push),
6313         (gst_ghost_pad_internal_do_activate_pull),
6314         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6315         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6316         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6317         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6318         GhostPads now create their internal GstProxyPad at creation (and not
6319         when they're linked, as it was being done previously).
6320         The internal and target pads are linked straight away.
6321         The data will also travel through the other pad in order to make
6322         pad blocking and probes non-hackish (the probe/block now really happens
6323         on the GhostPad and not on the target).
6324         * gst/gstpad.c: (gst_pad_set_blocked_async),
6325         (gst_pad_link_prepare), (gst_pad_push_event):
6326         Remove previous ghostpad cruft.
6327         * gst/gstutils.c: (gst_pad_add_data_probe),
6328         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6329         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6330         (gst_pad_remove_buffer_probe):
6331         Remove previous ghost pad cruft.
6332         Added more detailed debug statements.
6333         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6334         Fix the testsuite for refcounting changes.
6335         The comments about who has references were correct, but the refcount
6336         being checked wasn't the same (!?!).
6337
6338         Fixes #341029
6339
6340 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6341
6342         * docs/gst/gstreamer-sections.txt:
6343         * gst/gstconfig.h.in:
6344         More docs for configuration options, add docs to gtk-doc.
6345
6346 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6347
6348         * gst/Makefile.am:
6349         * gst/gstconfig.h.in:
6350         * win32/common/config.h:
6351         Fix build when disabling tracing (fixes #344016). Also start to document
6352         the defines that disable the sub-systems.
6353
6354 2006-07-10  Edward Hervey  <edward@fluendo.com>
6355
6356         * gst/gst.c: (ensure_current_registry_forking):
6357         let's make valgrind happy...
6358
6359 2006-07-09  Wim Taymans  <wim@fluendo.com>
6360
6361         * gst/gstelement.c: (activate_pads),
6362         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6363         Better pad activation code: Reset the collect value too on resync.
6364         Add some comments.
6365
6366 2006-07-09  Wim Taymans  <wim@fluendo.com>
6367
6368         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6369         (gst_pad_activate_push):
6370         Use some more macros where it makes sense.
6371         Allow pad mode switching instead of asserting. When a pad
6372         is activated in one mode and we activate it in another, 
6373         deactivate it first before activating it in a different mode.
6374         Fixes #329198.
6375
6376 2006-07-08  Andy Wingo  <wingo@pobox.com>
6377
6378         * tools/gst-launch.c (main): Handle err == NULL.
6379
6380         * gst/gst.c (init_post, ensure_current_registry)
6381         (ensure_current_registry_forking)
6382         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6383         factoring out the registry scanning into separate functions. Don't
6384         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6385         Better environment var name/interface suggestions accepted.
6386
6387 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * gst/gstobject.c: (gst_object_set_name_default),
6390         (gst_object_set_name):
6391           Random micro-optimisation: don't use a hash table
6392           with strings as keys and the usual strdup/strcmp
6393           involved, but rather just use the GQuark of the
6394           type name as key, since it needs to be looked up
6395           anyway to get the type name string.
6396
6397         * tests/check/gst/gstobject.c: (GST_START_TEST):
6398           Fix various leaks.
6399
6400 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6403         (gst_bin_iterate_all_by_interface):
6404           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6405           GTypes are gulongs and thus the top 4 bytes might be cut
6406           off on some platforms when doing GPOINTER_TO_INT, leading
6407           to invalid GTypes and bad things happening (see RH bug #179654).
6408           Also add a check to make sure the type passed in is really
6409           an interface type.
6410
6411 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6412
6413         * .cvsignore:
6414           Ignore more.
6415
6416 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * Makefile.am:
6419         * configure.ac:
6420         * gst-element-check.m4:
6421         * gst-element-check.m4.in:
6422           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6423           instead of the unversioned gst-inspect (#324176, #168659).
6424
6425 2006-07-06  Wim Taymans  <wim@fluendo.com>
6426
6427         * gst/gstmessage.h:
6428         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6429         warnings.
6430
6431 2006-07-06  Wim Taymans  <wim@fluendo.com>
6432
6433         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6434         (gst_base_src_wait), (gst_base_src_update_length),
6435         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6436         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6437         (gst_base_src_loop), (gst_base_src_start),
6438         (gst_base_src_activate_pull):
6439         Update docs.
6440         blocksize == 0 now means the default blocksize when working in push
6441         based mode.
6442         Remove some pointless asserts in _wait function.
6443         Fix offset/length calculations and EOS handling. We can now pull 0
6444         bytes as well, which is allowed.
6445         use _check_get_range() to decide if we can operate in _pull based
6446         mode.
6447         Fix refcounting leak when check_get_range function was not 
6448         implemented.
6449         API GstBaseSrc::blocksize range can be 0 too now (default)
6450
6451         * tests/check/elements/filesrc.c: (GST_START_TEST),
6452         (filesrc_suite):
6453         Added check to test _get_range() behaviour.
6454
6455 2006-07-06  Wim Taymans  <wim@fluendo.com>
6456
6457         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6458         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6459         (gst_pad_pull_range):
6460         * gst/gstpad.h:
6461         Lots of comments and docs added to the pad functions.
6462         Flesh out the expected behaviour of the get_range() functions.
6463
6464 2006-07-06  Wim Taymans  <wim@fluendo.com>
6465
6466         * gst/gstbus.h:
6467         * gst/gstclock.h:
6468         * gst/gstevent.h:
6469         * gst/gstiterator.h:
6470         * gst/gstpad.h:
6471         * gst/gstplugin.h:
6472         * gst/gsttask.h:
6473         Remove comma at end of enumerator list. 
6474
6475 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6476
6477         * win32/common/libgstbase.def:
6478         * win32/common/libgstdataprotocol.def:
6479         * win32/common/libsgtreamer.def:
6480         Add new exported functions.
6481
6482 2006-07-05  Wim Taymans  <wim@fluendo.com>
6483
6484         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6485         Add some more docs here and there.
6486
6487 2006-07-05  Wim Taymans  <wim@fluendo.com>
6488
6489         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6490         (gst_base_sink_loop), (gst_base_sink_get_position):
6491         When operating in pull mode update the offset so that we
6492         read sequentially.
6493
6494 2006-07-05  Wim Taymans  <wim@fluendo.com>
6495
6496         * gst/gstregistryxml.c: (read_string):
6497         Avoid strdup. (will happen in libxml, but hey!)
6498
6499         * gst/gsturi.c:
6500         Add some more docs.
6501
6502 2006-07-05  Wim Taymans  <wim@fluendo.com>
6503
6504         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6505         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6506         (gst_buffer_suite):
6507         No point in checking if the size of the subbuffer > 0, the
6508         code handles it correclty as demonstrated by unit test.
6509         Also add a unit test for the zero sized _new_and_alloc and
6510         _copy. Fixes #346663.
6511
6512 2006-07-05  Wim Taymans  <wim@fluendo.com>
6513
6514         * libs/gst/base/gstbasetransform.c:
6515         (gst_base_transform_prepare_output_buffer),
6516         (gst_base_transform_buffer_alloc),
6517         (gst_base_transform_handle_buffer):
6518         Make sure the buffer we pass to transform_ip has a refcount of
6519         1 and thus is writable. Fixes #343196
6520
6521 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6522
6523         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6524         (gst_file_src_init), (gst_file_src_set_property),
6525         (gst_file_src_get_property), (gst_file_src_map_region):
6526         * plugins/elements/gstfilesrc.h:
6527         Add "sequential" property, off by default, to use madvise and hint
6528         to the kernel that sequential access is desired.
6529         Touch all retrieved pages by default to ensure they are pulled
6530         into memory. (Closes #345720)
6531
6532 2006-07-03  Wim Taymans  <wim@fluendo.com>
6533
6534         * docs/design/part-block.txt:
6535         * docs/design/part-dynamic.txt:
6536         Small docs updates.
6537
6538 2006-07-03  Wim Taymans  <wim@fluendo.com>
6539
6540         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6541         (gst_caps_unref), (gst_static_caps_get),
6542         (gst_caps_append_structure):
6543         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6544         Use GSlice when the glib we build against is >= 2.10
6545
6546 2006-07-03  Wim Taymans  <wim@fluendo.com>
6547
6548         * gst/gstelement.c: (gst_element_pads_activate):
6549         Small cleanup in pad activation code.
6550
6551 2006-07-03  Wim Taymans  <wim@fluendo.com>
6552
6553         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6554
6555         * gst/gst-i18n-app.h:
6556         * gst/gst-i18n-lib.h:
6557         * tools/gst-inspect.c: (print_signal_info):
6558         The attached patch will make the inclusion of gettext.h unconditional in
6559         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6560         libintl.h in tools/gst-inspect.c.
6561         This allows use of --disable-nls again and fixes #344642.
6562
6563 2006-07-03  Edward Hervey  <edward@fluendo.com>
6564
6565         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6566         Implement pad blocking on events according to part-block.txt.
6567         More comments on behaviour.
6568         * tests/check/gst/gstevent.c: (test_event):
6569         Send event to peer pad of blocked pad (else it will block).
6570
6571 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6572
6573         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6574         (gst_check_run_suite):
6575           if we get the wrong message, give us the types as string
6576         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6577           Fix a translatable
6578         * tests/check/elements/filesrc.c: (GST_START_TEST):
6579           add a test for trying to open a non-existing file
6580
6581 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6582
6583         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6584           add a test for adding self
6585
6586 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6587
6588         * libs/gst/check/gstcheck.h:
6589           add some assert_ as alias for fail_unless_*
6590         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6591           increase test coverage
6592
6593 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6594
6595         * Makefile.am:
6596           include lcov.mak for lcov coverage generation
6597         * tools/Makefile.am:
6598           add to CLEANFILES
6599
6600 2006-07-02  Edward Hervey  <edward@fluendo.com>
6601
6602         * tests/check/elements/.cvsignore:
6603         moaping
6604
6605 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6606
6607         * configure.ac:
6608           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6609         * tests/check/Makefile.am:
6610           clean up gcov files
6611
6612 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6613
6614         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6615           remove gst_caps_simplify; it was not declared and not used
6616           and deprecated in 0.8
6617
6618 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * docs/faq/gst-uninstalled:
6621           don't put empty paths on PYTHONPATH
6622         * docs/gst/gstreamer-sections.txt:
6623           remove some symbols that are not there
6624
6625 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6626
6627         * gst/gstcaps.c: (gst_caps_compare_structures):
6628           whitespace fixes
6629         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6630         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6631           add more tests
6632
6633 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6634
6635         * libs/gst/dataprotocol/Makefile.am:
6636           build dataprotocol test by linking to the lib, instead of
6637           compiling the source, so we get coverage
6638         * tests/check/Makefile.am:
6639         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6640         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6641           add a test for filesrc
6642
6643 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6644
6645         * tests/check/gst/gststructure.c: (GST_START_TEST),
6646         (gst_structure_suite):
6647           Push coverage from 59.04% to 70.00%
6648
6649 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6650
6651         * tests/check/Makefile.am:
6652           gst-inspect every element; this makes sure that we also get
6653           coverage on element's get/set functions
6654
6655 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6656
6657         * configure.ac:
6658           set CFLAGS and friends to -O0 if gcov is being used
6659           add GCOV LIBS
6660         * gst/Makefile.am:
6661         * libs/gst/base/Makefile.am:
6662         * libs/gst/check/Makefile.am:
6663         * libs/gst/controller/Makefile.am:
6664         * libs/gst/dataprotocol/Makefile.am:
6665         * libs/gst/net/Makefile.am:
6666         * plugins/elements/Makefile.am:
6667         * plugins/indexers/Makefile.am:
6668           add makefile rules to generate gcov data and clean up
6669         * tests/check/Makefile.am:
6670           add a coverage target that generates an html overview
6671           of coverage data
6672
6673 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6674
6675         * tests/check/elements/fakesink.c:
6676         * tests/check/elements/fakesrc.c:
6677         * tests/check/elements/fdsrc.c:
6678         * tests/check/elements/identity.c:
6679         * tests/check/generic/sinks.c: (gst_sinks_suite):
6680         * tests/check/generic/states.c:
6681         * tests/check/gst/gst.c:
6682         * tests/check/gst/gstabi.c:
6683         * tests/check/gst/gstbin.c:
6684         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6685         * tests/check/gst/gstbus.c: (gst_bus_suite):
6686         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6687         * tests/check/gst/gstelement.c:
6688         * tests/check/gst/gstevent.c: (gst_event_suite):
6689         * tests/check/gst/gstghostpad.c:
6690         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6691         * tests/check/gst/gstmessage.c: (gst_message_suite):
6692         * tests/check/gst/gstminiobject.c:
6693         * tests/check/gst/gstobject.c:
6694         * tests/check/gst/gstpad.c:
6695         * tests/check/gst/gstpipeline.c:
6696         * tests/check/gst/gstplugin.c:
6697         * tests/check/gst/gstquery.c: (gst_query_suite):
6698         * tests/check/gst/gstsegment.c: (gst_segment_suite):
6699         * tests/check/gst/gststructure.c:
6700         * tests/check/gst/gstsystemclock.c:
6701         * tests/check/gst/gsttag.c:
6702         * tests/check/gst/gsttask.c: (gst_task_suite):
6703         * tests/check/gst/gstutils.c:
6704         * tests/check/gst/gstvalue.c:
6705         * tests/check/libs/adapter.c:
6706         * tests/check/libs/basesrc.c:
6707         * tests/check/libs/collectpads.c:
6708         * tests/check/libs/controller.c:
6709         * tests/check/libs/gdp.c: (gst_dp_suite):
6710         * tests/check/libs/gstnetclientclock.c:
6711         * tests/check/libs/gstnettimeprovider.c:
6712         * tests/check/libs/libsabi.c: (libsabi_suite):
6713         * tests/check/libs/typefindhelper.c:
6714         * tests/check/pipelines/cleanup.c:
6715         * tests/check/pipelines/parse-launch.c:
6716         * tests/check/pipelines/simple-launch-lines.c:
6717         * tests/check/pipelines/stress.c: (stress_suite):
6718           use the new macro
6719
6720 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6721
6722         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6723         * libs/gst/check/gstcheck.h:
6724           create a macro and function so that the simple unit test
6725           case can be just one macro to create main()
6726
6727 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * gst/gstbin.c: (gst_bin_restore_thyself):
6730         * gst/gstxml.c: (gst_xml_make_element):
6731           Fix deserialisation from XML. Set parent manually
6732           instead of using gst_bin_add(), since gst_bin_add()
6733           will unlink all pads of the element being added.
6734           Fixes #341667.
6735
6736 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
6737
6738         Patch by: Peter Kjellerstedt <pkj at axis com>
6739
6740         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6741           Fix missing g_strdup() and double free when using the
6742           --gst-plugin-load command line option (#346097).
6743
6744 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6745
6746         * gst/gstinfo.c:
6747           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6748
6749         * libs/gst/net/gstnetclientclock.c:
6750         * libs/gst/net/gstnettimeprovider.c:
6751           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6752
6753 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6754
6755         * docs/manual/advanced-dataaccess.xml:
6756           Fix buffer probe example compilation in
6757           ADM (#345708).
6758         
6759 2006-06-22  Edward Hervey  <edward@fluendo.com>
6760
6761         * gst/gstelement.c: (gst_element_pads_activate):
6762         We need to deactivate src pads first and then sink pads.
6763         The reason is the src pads might be blocking while holding the streaming
6764         lock, so we need to deactivate them first so that deactivating the sink
6765         pads doesn't block (since it will require the streaming lock).
6766
6767 2006-06-22  Wim Taymans  <wim@fluendo.com>
6768
6769         * libs/gst/base/gstbasetransform.c:
6770         (gst_base_transform_buffer_alloc):
6771         Forgot to remove two unneeded unrefs.
6772         Simplify a check _is_equal allready checks the obvious case.
6773
6774 2006-06-22  Wim Taymans  <wim@fluendo.com>
6775
6776         * docs/design/part-block.txt:
6777         Some docs about what pad_block should do.
6778
6779 2006-06-22  Wim Taymans  <wim@fluendo.com>
6780
6781         * gst/gstcaps.c: (gst_caps_replace):
6782         Fix crasher when passed NULL. Doc clarification.
6783         Optimize for the trivial case.
6784
6785         * gst/gstpipeline.c: (gst_pipeline_change_state):
6786         Small cleanups.
6787
6788         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6789         Small documentation cleanup.
6790
6791         * libs/gst/base/gstbasetransform.c:
6792         (gst_base_transform_buffer_alloc):
6793         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6794         is what we need and it avoids a whole lot of redundant 
6795         refcount operations.
6796
6797 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
6798
6799         Patch by: Philip Jägenstedt  <philip at lysator liu se>
6800
6801         * docs/manual/advanced-dataaccess.xml:
6802           Fix 'Embedding static elements' section to use
6803           GST_PLUGIN_DEFINE_STATIC (#345607).
6804
6805 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6806
6807         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6808           Attempt to 'fix' spuriously failing test case: it seems like the
6809           timeout of half a second is simply too small when the system is under
6810           load otherwise, and the timeout doesn't really seem to serve any
6811           particular purpose here. Give the pipeline a few seconds to preroll
6812           first, and then give it another half a second to go from PAUSED to
6813           PLAYING and marshal the message into the main thread.
6814
6815 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6816
6817         * tools/gst-feedback-m.m:
6818           Don't only use unversioned tools, try versioned tools as well
6819           (#345086).
6820
6821 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6822
6823         * gst/gstbus.c: (gst_bus_class_init):
6824           Fix some typos, make docs more explicit.
6825
6826 2006-06-20  Wim Taymans  <wim@fluendo.com>
6827
6828         * tests/check/gst/gstghostpad.c: (block_callback),
6829         (GST_START_TEST), (gst_ghost_pad_suite):
6830         Added some more ghostpad tests, mainly blocking
6831         and probes.
6832
6833 2006-06-16  Wim Taymans  <wim@fluendo.com>
6834
6835         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6836         (gst_file_sink_close_file), (gst_file_sink_do_seek),
6837         (gst_file_sink_event), (gst_file_sink_render):
6838         * plugins/elements/gstfilesink.h:
6839         Check if we can seek in the file instead of assuming
6840         we always can. Post an error when we are asked to seek in a
6841         non-seekable file (like a fifo). Fixes #343312.
6842         Some cleanups.
6843
6844 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6845
6846         * tools/gst-launch.1.in:
6847           Un-garble (fourcc) bit in filtered caps section.
6848
6849 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6850
6851         * docs/manual/advanced-autoplugging.xml:
6852         * docs/manual/basics-helloworld.xml:
6853         * docs/manual/highlevel-components.xml:
6854           Don't leak bus reference in sample code.
6855
6856 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
6857
6858         * autogen.sh:
6859           Add default for new --enable-plugin-docs switch.
6860
6861         * configure.ac:
6862           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6863           Fixes #344039.
6864
6865         * docs/Makefile.am:
6866           Use new ENABLE_PLUGIN_DOCS conditional.
6867
6868 2006-06-14  Wim Taymans  <wim@fluendo.com>
6869
6870         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6871         Make it clear with a FIXME and a real define what the #if 0
6872         previously disabled.
6873
6874 2006-06-14  Wim Taymans  <wim@fluendo.com>
6875
6876         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6877         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6878         * libs/gst/base/gstbasetransform.c:
6879         (gst_base_transform_sink_eventfunc):
6880         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6881         Don't randomly and silently reset a segment when the format 
6882         changes as this is a bug somewhere upstream. Fixes #330379.
6883
6884 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6885
6886         Patch by: Wouter Paesen  <wouter at kangaroot net>
6887
6888         * libs/gst/controller/gstcontroller.c:
6889         (gst_controlled_property_new):
6890           Fix controlling of float properties (#344849).
6891
6892         * tests/check/libs/controller.c:
6893         (gst_test_mono_source_get_property),
6894         (gst_test_mono_source_set_property),
6895         (gst_test_mono_source_class_init), (GST_START_TEST):
6896           While we're at it, add some float stuff to unit test.
6897
6898 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6899
6900         * docs/README:
6901         * docs/images/gdp-header.svg:
6902           add a gdp image
6903         * docs/libs/Makefile.am:
6904         * docs/libs/gdp-header.png:
6905         * libs/gst/dataprotocol/dataprotocol.c:
6906           add it to the API docs
6907         * docs/manual/intro-motivation.xml:
6908           fix typo
6909
6910 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6911
6912         * gst/gst.c: (scan_and_update_registry), (init_post):
6913           If the fork()'ed child process can't write the updated registry cache
6914           file to disk for some reason, make it exit with a failure exit code,
6915           so that the parent can then re-scan the plugins itself and update the
6916           registry structures in memory and work with that (rather than failing
6917           when creating elements because seemingly no plugins are available).
6918           Refactor registry scanning code into separate function for this and
6919           also separate fork() and non-fork() code paths. Fixes #344748.
6920
6921 2006-06-13  Wim Taymans  <wim@fluendo.com>
6922
6923         * docs/manual/advanced-dataaccess.xml:
6924         Fix wrong PluginDesc. Fixes #344755.
6925
6926 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6927
6928         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6929           Fix silly bug that prevented us from creating
6930           ~/.gstreamer-0.10 and writing the registry in one
6931           go (the first call to g_mkstemp() would overwrite the
6932           placeholder in the template string, so the second call
6933           to g_mkstemp() after creating the missing directory
6934           would then error out with 'invalid argument').
6935
6936 2006-06-13  Edward Hervey  <edward@fluendo.com>
6937
6938         * gst/gst.c: (init_post):
6939         Free string.
6940
6941 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6942
6943         * gst/glib-compat-private.h:
6944         * gst/glib-compat.c:
6945         * gst/glib-compat.h:
6946         * gst/gstvalue.c: (gst_value_serialize_flags):
6947           remove GLib 2.6 compatibility code
6948
6949 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
6950
6951         * gst/parse/Makefile.am:
6952           Fix build with 'make -j N' even more (#340016).
6953
6954 2006-06-12  Wim Taymans  <wim@fluendo.com>
6955
6956         * docs/gst/gstreamer-sections.txt:
6957         Fix docs.
6958
6959 2006-06-12  Wim Taymans  <wim@fluendo.com>
6960
6961         * gst/gstsegment.c: (gst_segment_set_duration),
6962         (gst_segment_set_last_stop), (gst_segment_set_seek),
6963         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6964         (gst_segment_to_running_time), (gst_segment_clip):
6965         Use G_UNLIKELY to help the compiler a bit.
6966
6967 2006-06-12  Wim Taymans  <wim@fluendo.com>
6968
6969         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6970
6971         * gst/gstevent.c: (gst_event_get_type):
6972         * gst/gstmessage.c:
6973         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6974         (gst_pad_push):
6975         constify quark registration strings. Fixes #344115
6976         Avoid unneeded type checking is _pad_push() by internally
6977         calling gst_pad_chain_unchecked().
6978
6979 2006-06-12  Wim Taymans  <wim@fluendo.com>
6980
6981         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6982         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6983         (gst_subbuffer_finalize), (gst_buffer_create_sub),
6984         (gst_buffer_is_span_fast), (gst_buffer_span):
6985         Init _type for consistency.
6986         Use _FLAGS macro to avoid type check.
6987         Avoid unneeded type checks in subbufer code.
6988
6989 2006-06-12  Wim Taymans  <wim@fluendo.com>
6990
6991         * gst/gst.c: (gst_debug_help):
6992         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6993         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6994         (gst_plugin_feature_list_free):
6995         * gst/gstregistry.c: (gst_registry_add_plugin),
6996         (gst_registry_add_feature), (gst_registry_plugin_filter),
6997         (gst_registry_feature_filter), (gst_registry_find_plugin),
6998         (gst_registry_find_feature), (gst_registry_get_plugin_list),
6999         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7000         * gst/gstregistryxml.c: (load_feature),
7001         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7002         * gst/gstminiobject.c: (gst_mini_object_unref),
7003         (gst_mini_object_replace), (gst_value_mini_object_free),
7004         (gst_value_mini_object_copy):
7005         Use _CAST macros to avoid unneeded type checking.
7006         Added some more G_UNLIKELY.
7007
7008 2006-06-12  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/gstbuffer.h:
7011         Avoid unneeded type checking.
7012         API: GST_BUFFER_IS_DISCONT
7013
7014         * gst/gstminiobject.h:
7015         Avoid type check in flag accessor.
7016
7017         * gst/gstelementfactory.h:
7018         * gst/gstplugin.h:
7019         * gst/gstpluginfeature.h:
7020         Add _CAST macros.
7021         API: GST_ELEMENT_FACTORY_CAST
7022         API: GST_PLUGIN_CAST
7023         API: GST_PLUGIN_FEATURE_CAST
7024
7025 2006-06-12  Wim Taymans  <wim@fluendo.com>
7026
7027         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7028         (gst_object_unref):
7029         Add G_UNLIKELY in type registration.
7030         Avoid type check in _ref/_unref since that is also
7031         done in glib.
7032
7033 2006-06-12  Wim Taymans  <wim@fluendo.com>
7034
7035         * gst/gsterror.c: (gst_g_error_get_type):
7036         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7037         (gst_static_pad_template_get_type):
7038         * gst/gsttaglist.c: (gst_tag_list_get_type):
7039         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7040         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7041         * gst/gsturi.c: (gst_uri_handler_get_type):
7042         * gst/gstvalue.c: (gst_date_get_type):
7043         * gst/gstxml.c: (gst_xml_get_type):
7044         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7045         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7046         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7047         Add G_UNLIKELY in type registration.
7048
7049 2006-06-12  Wim Taymans  <wim@fluendo.com>
7050
7051         * tools/gst-inspect.c: (print_signal_info):
7052         Properly print enum values.
7053
7054 2006-06-12  Wim Taymans  <wim@fluendo.com>
7055
7056         * gst/gstinfo.c: (gst_debug_set_active),
7057         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7058         * gst/gstinfo.h:
7059         Add some G_[UN]LIKELY.
7060         Maintain __gst_debug_min to avoid formatting the arguments of
7061         debug messages that will be dropped anyway to avoid a lot of 
7062         overhead from the debugging system.
7063
7064 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7065
7066         * po/POTFILES.in:
7067         * po/POTFILES.skip:
7068           add missing files containing translatable strings, tell intltool about
7069           one exception
7070
7071 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7072
7073         * tests/check/libs/.cvsignore:
7074         add test-binary to ignore list
7075
7076 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
7077
7078         * docs/libs/gstreamer-libs-docs.sgml:
7079         reorder (put dp into a chapter) and indent
7080
7081 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7082
7083         * configure.ac:
7084           back to HEAD
7085
7086 === release 0.10.8 ===
7087
7088 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7089
7090         * configure.ac:
7091           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7092
7093 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7094
7095         * gst/gst.c: (init_post):
7096           move pid declaration to declaration block
7097
7098 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7099
7100         * gst/gst.c: (init_post):
7101           use _exit() instead of exit() in our forked child; this ensures
7102           that none of the registered exit handlers from whatever is using
7103           GStreamer get executed.  This fixes gnome-mixer-applet failing
7104           to load, because ORBit would shut down.
7105           Spotted by: Edward Hervey  <edward@fluendo.com>
7106           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7107           Fixes #344474
7108
7109 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7110
7111         * configure.ac:
7112           back to TRUNK
7113
7114 === release 0.10.7 ===
7115
7116 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7117
7118         * configure.ac:
7119           releasing 0.10.7, "Soepeke, ik zie ou"
7120
7121 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7122
7123         * configure.ac:
7124         * po/af.po:
7125         * po/az.po:
7126         * po/bg.po:
7127         * po/ca.po:
7128         * po/cs.po:
7129         * po/de.po:
7130         * po/en_GB.po:
7131         * po/fr.po:
7132         * po/it.po:
7133         * po/nb.po:
7134         * po/nl.po:
7135         * po/ru.po:
7136         * po/sq.po:
7137         * po/sr.po:
7138         * po/sv.po:
7139         * po/tr.po:
7140         * po/uk.po:
7141         * po/vi.po:
7142         * po/zh_CN.po:
7143         * po/zh_TW.po:
7144         * win32/common/config.h:
7145           0.10.6.2 prerelease
7146
7147 2006-06-07  Wim Taymans  <wim@fluendo.com>
7148
7149         * gst/gstindex.c: (gst_index_gtype_resolver):
7150         * tools/gst-xmlinspect.c: (print_plugin_info):
7151         Fix leak spotted by coverity checker. Fixes #343827
7152         Fix another other leak found by paolo borelli.
7153
7154 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7155
7156         * libs/gst/dataprotocol/dataprotocol.c:
7157         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7158         (gst_dp_version_get_type), (gst_dp_init),
7159         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7160         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7161         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7162         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7163         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7164         (gst_dp_packetizer_free):
7165         * libs/gst/dataprotocol/dataprotocol.h:
7166           API: add a GstDPPacketizer object, and create/free functions
7167           API: add GstDPVersion enum
7168           Add 1.0 event function that uses the string serialization
7169           Serialize more useful buffer flags
7170           Fixes #343988
7171
7172 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7173
7174         * tests/check/Makefile.am:
7175         * tests/check/gst/gstabi.c:
7176         * tests/check/gst/struct_ppc64.h:
7177         * tests/check/libs/libsabi.c:
7178         * tests/check/libs/struct_ppc64.h:
7179           add ppc64 structure sizes
7180
7181 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7182
7183         * tests/check/Makefile.am:
7184         * tests/check/gst/gstabi.c:
7185         * tests/check/gst/struct_x86_64.h:
7186         * tests/check/libs/libsabi.c:
7187         * tests/check/libs/struct_x86_64.h:
7188           generate and add structure size lists for x86_64
7189
7190 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7191
7192         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7193         * libs/gst/check/gstcheck.h:
7194           factor out the method from tests that checks size of structures,
7195           and add code to generate the header containing these sizes
7196         * tests/check/gst/gstabi.c: (GST_START_TEST):
7197         * tests/check/gst/struct_i386.h:
7198         * tests/check/libs/libsabi.c: (GST_START_TEST):
7199         * tests/check/libs/struct_i386.h:
7200           use it
7201
7202 2006-06-06  Michael Smith  <msmith@fluendo.com>
7203
7204         * gst/gstsegment.h:
7205           Don't use c++-style comments, fixes #343929
7206
7207 2006-06-05  Edward Hervey  <edward@fluendo.com>
7208
7209         * gst/gst.c:
7210         plugin_paths is not used if we build without registry support.
7211
7212         * gst/gstsegment.c: (gst_segment_copy): 
7213         _copy() was always returning NULL...
7214
7215 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7216
7217         * libs/gst/dataprotocol/dataprotocol.c:
7218         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7219         (gst_dp_packet_from_event):
7220           factor out CRC code
7221
7222 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7223
7224         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7225           make sure we unset caps
7226
7227 2006-06-02  Michael Smith  <msmith@fluendo.com>
7228
7229         * libs/gst/check/gstcheck.c: (gst_check_init),
7230         (gst_check_chain_func):
7231         * libs/gst/check/gstcheck.h:
7232           Add a cond/mutex to the check support lib, signal this whenever we
7233           add to the buffers list. This will allow tests to not busy-wait on
7234           the buffer-list.
7235
7236 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7237
7238         * libs/gst/dataprotocol/dataprotocol.c:
7239         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7240         (gst_dp_packet_from_event):
7241           factor out some common header init code
7242
7243 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7244
7245         * docs/libs/gstreamer-libs-sections.txt:
7246         * docs/libs/tmpl/gstdataprotocol.sgml:
7247         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7248         * libs/gst/dataprotocol/dataprotocol.h:
7249           API: make gst_dp_crc() public
7250
7251 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7252
7253         * plugins/indexers/gstindexers.c: (plugin_init):
7254         conditionally register fileindexer (fixes #343598)
7255
7256 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7257
7258         * gst/gsttagsetter.h:
7259         Can't cast ifaces to a class
7260
7261         * libs/gst/net/gstnetclientclock.h:
7262         * libs/gst/net/gstnettimeprovider.h:
7263         * plugins/elements/gstfakesink.h:
7264         * plugins/elements/gstfakesrc.h:
7265         * plugins/elements/gstfdsink.h:
7266         * plugins/elements/gstfdsrc.h:
7267         * plugins/elements/gstfilesink.h:
7268         * plugins/elements/gstfilesrc.h:
7269         * plugins/elements/gstidentity.h:
7270         * plugins/elements/gstqueue.h:
7271         * plugins/elements/gsttee.h:
7272         * plugins/indexers/gstfileindex.c:
7273         * plugins/indexers/gstmemindex.c:
7274         * tests/old/examples/plugins/example.h:
7275         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7276
7277 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7278
7279         * libs/gst/dataprotocol/dataprotocol.c:
7280         (gst_dp_header_from_buffer):
7281           make sure we zero the whole ABI-compatible area
7282
7283 2006-06-01  Wim Taymans  <wim@fluendo.com>
7284
7285         Patch by: Alessandro Decina <alessandro at nnva dot org>
7286
7287         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7288         Make sure the EOS flag is cleared from pads after a flush
7289         or stop. Fixes #343538.
7290
7291         * tests/check/libs/collectpads.c: (GST_START_TEST),
7292         (gst_collect_pads_suite):
7293         Added test for collectpads reusage after EOS.
7294
7295 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7296
7297         * gst/gst.c:
7298          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7299         * win32/common/libgstbase.def:
7300          export gst_collect_pads_set_flushing
7301         * win32/common/libgstreamer.def:
7302          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7303          gst_value_fraction_multiply
7304         * win32/vs6/gst_inspect.dsp:
7305          add a link to intl.lib
7306
7307 2006-05-30  Wim Taymans  <wim@fluendo.com>
7308
7309         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7310         (gst_collect_pads_chain):
7311         Handle the case where a pad is removed from the collection
7312         that could cause the other pads to become collectable.
7313
7314 2006-05-30  Wim Taymans  <wim@fluendo.com>
7315
7316         * gst/gstelement.c:
7317         Clarify the use of _release_request_pad() and
7318         _get_request_pad() a bit better.
7319
7320         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7321         (gst_adapter_take_buffer):
7322         Fix some doc and comment typos.
7323
7324 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7325
7326         * docs/gst/gstreamer-sections.txt:
7327         * docs/libs/gstreamer-libs-sections.txt:
7328           add declared symbols
7329
7330 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7331
7332         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7333         Add debug that can be enabled using a #define at the top of the file,
7334         for dumping stats about how late/early we were when waking up from
7335         waiting on the clock.
7336
7337 2006-05-30  Wim Taymans  <wim@fluendo.com>
7338
7339         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7340         When rebuilding the pad list, don't leak the previous list.
7341
7342 2006-05-30  Wim Taymans  <wim@fluendo.com>
7343
7344         Patch by: Lutz Mueller <lutz at topfrose dot de>
7345
7346         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7347         (gst_base_src_get_query_types), (gst_base_src_update_length):
7348         Publish supported query types.
7349         Update last_stop field in get_range mode so the position
7350         query works. Fixes #342321.
7351
7352 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7353
7354         * docs/gst/gstreamer-sections.txt:
7355         * gst/gsttaglist.c: (_gst_tag_initialize):
7356         * gst/gsttaglist.h:
7357           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7358
7359 2006-05-30  Wim Taymans  <wim@fluendo.com>
7360
7361         Patch by: Alessandro Decina <alessandro at nnva dot org>
7362
7363         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7364         Unlock mutex when removing an unknown pad.
7365         Fixes #343334.
7366
7367         * tests/check/Makefile.am:
7368         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7369         (push_event), (setup), (teardown), (GST_START_TEST),
7370         (gst_collect_pads_suite), (main):
7371         Added collecpads check, disabled for now as check crashes for
7372         some reason.
7373
7374 2006-05-29  Wim Taymans  <wim@fluendo.com>
7375
7376         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7377         Don't leak pads lists.
7378
7379 2006-05-29  Wim Taymans  <wim@fluendo.com>
7380
7381         * docs/libs/gstreamer-libs-sections.txt:
7382         * libs/gst/base/gstcollectpads.c:
7383         (gst_collect_pads_set_flushing_unlocked),
7384         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7385         (gst_collect_pads_stop):
7386         * libs/gst/base/gstcollectpads.h:
7387         API: gst_collect_pads_set_flushing()
7388         Added api to set the pads to flushing, useful for seeking
7389         code in elements using collectpads.
7390         Clear segment when receiving a flush.
7391
7392 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7393
7394         * gst/gst.c: (add_path_func), (init_post):
7395           Don't scan registry paths passed via --gst-plugin-path immediately
7396           (will crash, because absolutely nothing is set up and no types are
7397           registered etc.); do this later in init_post(). Fixes #343057.
7398
7399 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7400
7401         * gst/gst.c: (init_post):
7402           if we have fork, fork while reading/rebuilding the registry
7403           so the parent doesn't take the hit of having all plugins loaded
7404           in memory.  Fixes #342777.
7405         * configure.ac:
7406           Check if we have fork()
7407         * win32/common/config.h.in:
7408           no fork() on win32
7409
7410 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7411
7412         * plugins/elements/gstelements.c:
7413         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7414         (gst_file_src_init), (gst_file_src_set_property),
7415         (gst_file_src_get_property), (gst_file_src_start):
7416         * plugins/elements/gstfilesrc.h:
7417           API: GstFileSrc::use-mmap
7418
7419         Add a use-mmap property to enable easier testing of all code paths.
7420         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7421         in the absence of gnomevfssrc. (Closes #340501)
7422
7423 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7424
7425         * tools/gst-inspect.c:
7426         Add missing include, removes warning of ngettext not being defined on
7427         some arches.
7428
7429 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7430
7431         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7432         Handle NULL input and output pointers silently as a failed conversion,
7433         rather than g_warnings.
7434
7435 2006-05-25  Wim Taymans  <wim@fluendo.com>
7436
7437         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7438         Initialize variable before using. Fixes #342820.
7439
7440 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7441
7442         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7443           Fix off-by-one bug that would only allow peeks of N-1 bytes
7444           from the start even if the buffer to typefind on contains
7445           in fact N bytes of data (makes vorbis typefinding from a
7446           vorbis identification header buffer work).
7447
7448         * tests/check/Makefile.am:
7449         * tests/check/libs/.cvsignore:
7450         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7451         (gst_typefindhelper_suite), (main), (foobar_typefind),
7452         (plugin_init):
7453           Add very basic unit test for gst_type_find_helper_for_buffer()
7454           that checks for the problem fixed above.
7455
7456 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7457
7458         * tools/gst-inspect.c: (print_interfaces),
7459         (print_element_properties_info), (print_element_list), (main):
7460           add more translatable strings
7461
7462 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7463
7464         Patch by: Julien Moutte  <julien at moutte net>
7465
7466         * docs/gst/gstreamer-sections.txt:
7467           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7468           
7469         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7470         (gst_fake_sink_preroll):
7471         * plugins/elements/gstfakesink.h:
7472           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7473
7474 2006-05-23  Wim Taymans  <wim@fluendo.com>
7475
7476         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7477         * gst/gstpad.h:
7478         Added _CUSTOM error and success GstFlowReturn that can be
7479         used be elements internally. 
7480         Added macro to check for SUCCESS flowreturns.
7481         API: GST_FLOW_CUSTOM_SUCCESS
7482         API: GST_FLOW_CUSTOM_ERROR
7483         API: GST_FLOW_IS_SUCCESS
7484
7485         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7486         Added check for GstFlowReturn sanity.
7487
7488 2006-05-23  Wim Taymans  <wim@fluendo.com>
7489
7490         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7491
7492         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7493         (gst_collect_pads_event):
7494         clear/reset segment info in FLUSH_STOP.
7495         Fixes #336929.
7496
7497 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7498
7499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7500         (gst_collect_pads_check_collected):
7501         Flush queued buffer on _stop(), fixes playing again (#342454)
7502
7503 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7504
7505         * tests/check/gst/gststructure.c: (GST_START_TEST),
7506         (gst_structure_suite):
7507           add a test for a complete structure
7508
7509 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7510
7511         * docs/faq/developing.xml:
7512         * docs/faq/faq.xml:
7513         * docs/faq/troubleshooting.xml:
7514         * docs/faq/using.xml:
7515           Some minor FAQ updates that won't change the fact that
7516           our FAQ is badly structured, full of information hardly
7517           anyone new to GStreamer needs to know and lacking lots
7518           of information people constantly ask for.
7519           
7520 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7521
7522         * gst/gstpad.c: (gst_pad_set_caps):
7523           Short-circuit gst_pad_set_caps if setting the existing
7524           caps pointer again, and avoid printing debug and 
7525           reffing/unreffing the caps.
7526
7527         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7528           There's actually no need to set the caps before pushing -
7529           the acceptcaps method will handle it anyway.
7530
7531 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7532
7533         * docs/gst/gstreamer-sections.txt:
7534         * win32/common/libgstreamer.def:
7535         * gst/gstutils.c: (gst_element_seek_simple):
7536         * gst/gstutils.h:
7537           API: add gst_element_seek_simple() (#342238).
7538
7539 2006-05-18  Edward Hervey  <edward@fluendo.com>
7540
7541         * gst/gsttypefind.c: (gst_type_find_get_type):
7542         * gst/gsttypefind.h:
7543         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7544         registered for GstTypeFind pointers. This allows wrapping the structure
7545         in bindings (i.e. gst-python).
7546
7547 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7548
7549         * gst/gsttagsetter.c:
7550           Docs additions and fixes (see #339918).
7551
7552 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7553
7554         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7555         The caps intersection algorithm can produce multiple copies of the
7556         caps. Until that is fixed, we need to simplify the result to be
7557         sure whether the allowed caps are fixed or not.
7558
7559         * plugins/elements/gstqueue.c: (gst_queue_init),
7560         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7561         (gst_queue_push_one):
7562         Proxied buffer alloc should not set the caps on the source pad.
7563         When pushing buffers, we always accept the caps change that triggers.
7564         This prevents negotiation errors caused by caps changing mid-stream 
7565         and then being refused on our source pad (because upstream is now
7566         refusing those caps).
7567
7568 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7569
7570         * tests/examples/helloworld/helloworld.c: (main):
7571           Must plug audioconvert and audioresample between decoder
7572           and audio sink.
7573
7574 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7575
7576         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7577         (load_feature), (load_plugin):
7578         Allow empty strings for some of the plugin fields so we don't 
7579         drop valid plugin entries that were written out correctly
7580         (Fixes #341479)
7581
7582 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7583         
7584         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7585           Use g_remove and g_rename instead of remove and rename that don't 
7586           handle utf8 characters. rename was failing for users who had specific
7587           characters in their name then the registry was built at each 
7588           gstreamer init.
7589         * win32/vs6/gst_inspect.dsp:
7590         * win32/vs6/gst_launch.dsp:
7591         * win32/vs6/libgstbase.dsp:
7592         * win32/vs6/libgstcoreelements.dsp:
7593         * win32/vs6/libgstreamer.dsp:
7594           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7595           build of libgstreamer and clean unused libraries in projects link 
7596           settings.
7597
7598 2006-05-17  Edward Hervey  <edward@fluendo.com>
7599
7600         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7601         The queue is not responsible for pushing an EOS when receiving a fatal
7602         flow error. It's up to the real element driving the pipeline to do that.
7603
7604 2006-05-16  Edward Hervey  <edward@fluendo.com>
7605
7606         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7607         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7608         buffer returned a fatal error. It should just send an EOS and stop
7609         its task.
7610         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7611         when pushing buffers on the queue and will be able to handle the event.
7612
7613 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7614
7615         * docs/manual/basics-bins.xml:
7616         * docs/manual/basics-init.xml:
7617           Fix typos and minor errors in sample code (#341856).
7618
7619 2006-05-16  Wim Taymans  <wim@fluendo.com>
7620
7621         * docs/design/part-qos.txt:
7622         Fix indexes in formulas to make more sense.
7623
7624 2006-05-15  Wim Taymans  <wim@fluendo.com>
7625
7626         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7627         Don't report POSITION based on clock time if sync is
7628         disabled in a sink.
7629
7630 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7631
7632         * gst/gstobject.h:
7633           Add cast to make compiler happy - refcount variable was a gint
7634           in GstObject but is a guint in GObject and g_atomic_int_get()
7635           wants a gint *.
7636
7637 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7638
7639         * gst/parse/Makefile.am:
7640           chain commands using &&, which also makes parallel make work
7641
7642 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7643
7644         * docs/gst/gstreamer-sections.txt:
7645         * gst/gstevent.c:
7646         * gst/gstevent.h:
7647         * gst/gstmessage.h:
7648           Minor docs fixes.
7649
7650 === release 0.10.6 ===
7651
7652 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7653
7654         * configure.ac:
7655           releasing 0.10.6, "Take the cannoli"
7656
7657 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7658
7659         * tools/gst-launch.c: (print_tag):
7660           Fix use of uninitialized variable in the hypothetical
7661           case that some broken plugin creates a GST_TAG_IMAGE
7662           tag containing a NULL buffer (#341667).
7663
7664 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7665
7666         * tools/gst-launch.c: (print_tag):
7667           Print something more intelligible for image tags when
7668           using the -t switch (#341556).
7669
7670 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7671
7672         * Makefile.am:
7673           updates for win32
7674         * configure.ac:
7675           define GST_MAJORMINOR so we have it available in win32/common/config.h
7676           Possibly remove it from our Makefile.am files later
7677         * win32/common/config.h:
7678         * win32/common/config.h.in:
7679           added GST_MAJORMINOR
7680         * win32/common/gstenumtypes.c: (register_gst_resource_error):
7681         * win32/common/gstversion.h:
7682           updated
7683
7684 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
7685
7686         * win32/MANIFEST:
7687           Update win32 files listing.
7688         * win32/common/gstversion.h:
7689           Add GST_MAJORMINOR definition.
7690         * win32/common/libgstreamer.def:
7691           Add new exported functions.
7692           
7693 2006-05-12  Michael Smith  <msmith@fluendo.com>
7694
7695         * gst/gstplugin.c: (gst_plugin_load_file):
7696           If an so file has no plugin entry point, unload the module.
7697
7698 2006-05-11  Wim Taymans  <wim@fluendo.com>
7699
7700         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7701         (gst_queue_set_property):
7702         Don't forget to signal the _chain or _loop function 
7703         when the queue size or thresholds change since that might
7704         cause them to make progres again.
7705
7706 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
7707
7708         * gst/gstclock.c: (gst_clock_class_init):
7709         * gst/gstindex.c: (gst_index_class_init):
7710         * gst/gstobject.c: (gst_object_class_init):
7711         * gst/gstpad.c: (gst_pad_class_init):
7712         * gst/gstpipeline.c: (gst_pipeline_class_init):
7713         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7714         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7715         * libs/gst/base/gstbasetransform.c:
7716         (gst_base_transform_class_init):
7717         * libs/gst/net/gstnetclientclock.c:
7718         (gst_net_client_clock_class_init):
7719         * libs/gst/net/gstnettimeprovider.c:
7720         (gst_net_time_provider_class_init):
7721         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7722         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7723         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7724         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7725         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7726         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7727         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7728         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7729         * plugins/elements/gsttee.c: (gst_tee_class_init):
7730         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7731         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7732           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7733
7734 2006-05-11  Wim Taymans  <wim@fluendo.com>
7735
7736         * gst/gstbuffer.c: (_gst_buffer_initialize):
7737         Register subbufer along with the buffer type so that
7738         it does not accidentally gets registered from N
7739         different streaming threads in a non threadsafe way.
7740
7741 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7742
7743         * gst/gstbuffer.h:
7744         * gst/gstevent.h:
7745         * gst/gstmessage.h:
7746           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7747           gst_event_ref() and gst_message_ref() functions again
7748           (ugly hack, please do fix if there's a better way besides
7749           overrides.txt, which doesn't seem to work).
7750
7751 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7752
7753         * libs/gst/check/gstcheck.h:
7754           add an assert for setting state to avoid lots of repetitive code
7755           in the future
7756
7757 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * gst/gstvalue.c: (gst_value_serialize_flags):
7760           fix a leak if no flags are set
7761         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7762           fix leak in tests
7763
7764 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7765
7766         * docs/manual/basics-pads.xml:
7767           Expand a bit on caps and filtered links and update
7768           examples that were still using the no longer existing
7769           gst_pad_link_filtered() (#338206).
7770
7771 2006-05-10  Wim Taymans  <wim@fluendo.com>
7772
7773         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7774         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7775         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7776         (gst_collect_pads_stop):
7777         * libs/gst/base/gstcollectpads.h:
7778         No need to call _stop in _finalize.
7779         Iterate the main pad list in _finalize.
7780         Added some more debug.
7781         Free lists and data in the right order.
7782         Also free data whem doing _remove_pad when stopped for
7783         backward compatibility protect ::started with PAD_LOCK as
7784         well.
7785
7786 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7787
7788         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7789         (gst_structure_parse_value):
7790           add some comments
7791           rename a method so that it actually says what it does better
7792
7793 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7794
7795         * gst/gstevent.c: (_gst_event_initialize):
7796         * gst/gstformat.c: (_gst_format_initialize):
7797           make sure some essential types used by events are registered
7798           as part of gst_init()
7799         * gst/gstvalue.c: (gst_value_serialize_flags):
7800           if no flags are set, serialize them to a value that represents NONE
7801           so that deserializing them works
7802         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7803           add tests for serialization and deserialization of flags
7804
7805 2006-05-10  Wim Taymans  <wim@fluendo.com>
7806
7807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7808         (gst_collect_pads_collect_range), (gst_collect_pads_available),
7809         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7810         (gst_collect_pads_event), (gst_collect_pads_chain):
7811         Update docs.
7812         Better debug info.
7813         Catch and return errors from the collect function
7814         Refuse data on eos pads.
7815
7816 2006-05-10  Edward Hervey  <edward@fluendo.com>
7817
7818         * gst/gstinterface.h:
7819         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7820         GInterface type checking.
7821         They were previously using non-defined macros.
7822
7823 2006-05-09  Wim Taymans  <wim@fluendo.com>
7824
7825         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7826         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7827         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7828         (gst_collect_pads_start), (gst_collect_pads_stop),
7829         (gst_collect_pads_peek), (gst_collect_pads_pop),
7830         (gst_collect_pads_available), (gst_collect_pads_read),
7831         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7832         (gst_collect_pads_is_collected), (gst_collect_pads_event),
7833         (gst_collect_pads_chain):
7834         * libs/gst/base/gstcollectpads.h:
7835         Clean up the mess that is collectpads, add comments and
7836         FIXMEs where needed.
7837         Maintain a separate pad list so we can add pads while
7838         collecting the other ones. For this we need a new separate 
7839         lock (see comics).
7840         Fix memory leak in finalize.
7841         Refactor some weird code to set/unset pad flushing flags, mark
7842         with comments.
7843         Don't crash in _available, _read, _flush when we're EOS.
7844
7845         * tests/check/libs/.cvsignore:
7846         Ignore adapter check binary.
7847
7848 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7849
7850         * gst/gstindex.c: (gst_index_resolver_get_type):
7851         * plugins/elements/gstfakesink.c:
7852         (gst_fake_sink_state_error_get_type):
7853         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7854         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7855         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7856           Const-ify GEnumValue arrays.
7857
7858 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7859
7860         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7861           Add test case for flags + gst_buffer_make_metadata_writable().
7862
7863 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7864
7865         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7866           gst_buffer_make_metadata_writable() should maintain the
7867           buffer flags (those that make sense at least) (see #340859).
7868
7869 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7870
7871         * tools/gst-inspect.c:
7872         * tools/gst-launch.c:
7873         * tools/gst-typefind.c:
7874         * tools/gst-xmlinspect.c:
7875         * tools/tools.h:
7876           Fix up includes: need to include stdlib.h in tools.h for exit().
7877
7878 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7879
7880         * gst/gsttaglist.c: (_gst_tag_initialize):
7881         * gst/gsttaglist.h:
7882           API: add GST_TAG_IMAGE tag (#340721).
7883
7884 2006-05-08  Wim Taymans  <wim@fluendo.com>
7885
7886         * gst/gstquery.c:
7887         Added some docs for the segment query.
7888
7889 2006-05-08  Wim Taymans  <wim@fluendo.com>
7890
7891         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7892         (gst_base_src_loop), (gst_base_src_change_state):
7893         Always push non-flushing serialized events in the streaming 
7894         thread.
7895
7896 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7897
7898         * gst/gsterror.c: (_gst_stream_errors_init):
7899           Add a missing error string.
7900
7901 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
7902
7903         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7904         Add applied_rate to the debug
7905
7906         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7907         Copy applied_rate into the outgoing NEWSEGMENT event
7908
7909 2006-05-08  Wim Taymans  <wim@fluendo.com>
7910
7911         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7912
7913         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7914         (gst_base_sink_change_state):
7915         call ::unlock before taking the PREROLL_LOCK so we can safely
7916         handle elements that lock in ::render.
7917         Fixes #340174.
7918
7919 2006-05-08  Edward Hervey  <edward@fluendo.com>
7920
7921         * autogen.sh: (CONFIGURE_DEF_OPT): 
7922         Darwin's libtoolize is in fact called glibtoolize.
7923         Adding glibtoolize to the list of accepted names for libtoolize.
7924
7925 2006-05-08  Wim Taymans  <wim@fluendo.com>
7926
7927         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7928         Unify error handling, don't post an error message
7929         when a push() returns EOS but perform our normal EOS
7930         handling code. Fixes #340772.
7931
7932 2006-05-08  Wim Taymans  <wim@fluendo.com>
7933
7934         * docs/design/part-overview.txt:
7935         Make upsteam/downstream concepts more clear.
7936         Give an example of serialized/non-serialized events.
7937
7938         * docs/design/part-events.txt:
7939         * docs/design/part-streams.txt:
7940         Mention applied_rate.
7941
7942         * docs/design/part-trickmodes.txt:
7943         Mention applied rate, flesh out some more use cases.
7944
7945         * gst/gstevent.c: (gst_event_new_new_segment),
7946         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7947         (gst_event_parse_new_segment_full), (gst_event_new_tag),
7948         (gst_event_parse_tag), (gst_event_new_buffer_size),
7949         (gst_event_parse_buffer_size), (gst_event_new_qos),
7950         (gst_event_parse_qos), (gst_event_parse_seek),
7951         (gst_event_new_navigation):
7952         * gst/gstevent.h:
7953         Add applied_rate field to NEWSEGMENT event.
7954         API: gst_event_new_new_segment_full()
7955         API: gst_event_parse_new_segment_full()
7956
7957         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7958         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7959         (gst_segment_to_stream_time), (gst_segment_to_running_time):
7960         * gst/gstsegment.h:
7961         Add applied_rate to GstSegment structure.
7962         Make calculation of stream_time and running_time more correct
7963         wrt rate/applied_rate.
7964         Add some more docs.
7965         API: GstSegment::applied_rate field
7966         API: gst_segment_set_newsegment_full();
7967
7968         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7969         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7970         * libs/gst/base/gstbasetransform.c:
7971         (gst_base_transform_sink_eventfunc),
7972         (gst_base_transform_handle_buffer):
7973         Parse and use applied_rate in the GstSegment field.
7974
7975         * tests/check/gst/gstevent.c: (GST_START_TEST):
7976         Add check for applied_rate field.
7977
7978         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7979         (gstsegments_suite):
7980         Add more checks for various GstSegment operations.
7981
7982 2006-05-08  Wim Taymans  <wim@fluendo.com>
7983
7984         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7985         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7986         (gst_base_sink_get_position), (gst_base_sink_change_state):
7987         Store the sync time of the buffer end position separatly in a
7988         new variable eos_rtime so we can properly sync the EOS event.
7989         Fixes #340697.
7990         Fix the docs for gst_base_sink_set_qos_enabled().
7991         Don't set segment start to invalid value when we receive a 
7992         non TIME newsegment.
7993         get closer to handling position reporting for negative rates 
7994         correctly.
7995
7996 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * gst/gstcaps.c:
7999         Docs about how to print caps for debug purposes.
8000
8001         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8002         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8003
8004 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
8005
8006         * gst/gstelement.c:
8007           use full enum names and preprend a '%' in docs strings to make recent 
8008           gtk-doc turn that into a link
8009
8010 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8011
8012         * docs/manual/basics-bins.xml:
8013         * docs/manual/basics-bus.xml:
8014         * docs/manual/basics-pads.xml:
8015           Some typo fixes, some additions, some clarifications. 
8016
8017 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8018
8019         * tools/gst-inspect.c: (main):
8020         * tools/gst-launch.c: (main):
8021         * tools/gst-run.c: (main):
8022         * tools/gst-typefind.c: (main):
8023         * tools/gst-xmlinspect.c: (main):
8024           Use the string passed to g_option_context_new() for
8025           what it's intended for - the program name is already
8026           printed elsewhere.
8027
8028 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8029
8030         * tools/Makefile.am:
8031         * tools/gst-inspect.c: (main):
8032         * tools/gst-launch.c: (main):
8033         * tools/gst-xmlinspect.c: (main):
8034         * tools/tools.h:
8035           Add back --version command line option (#340460).
8036
8037         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8038           Add --version option and use GOption for argument parsing; refactor a
8039           bit; accept directories as arguments and recurse into them; lastly,
8040           print a decent error message when things go wrong.
8041
8042 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8043
8044         * docs/manual/basics-bins.xml:
8045         Don't mention GstThread (#340611)
8046         * docs/manual/basics-elements.xml:
8047         Update link to GObject tutorial (#340607)
8048         
8049 2006-05-05  Wim Taymans  <wim@fluendo.com>
8050
8051         * gst/gstbuffer.h:
8052         * gst/gstminiobject.c:
8053         Add note about refcounting and miniobject/buffer writeability
8054         to docs. Fixes #340604
8055
8056         * gst/gstelementfactory.h:
8057         Added some explanation about @klass.
8058
8059 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8060
8061         * docs/manual/intro-motivation.xml:
8062         * docs/manual/manual.xml:
8063         Avoid CORBA & Bonobo references (#340598)
8064
8065 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8066
8067         * docs/manual/basics-bus.xml:
8068         * docs/manual/basics-pads.xml:
8069         Fix up some inaccuracies and omissions (#340609)
8070         
8071 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
8072
8073         * gst/gstghostpad.c:
8074           Small typo in docs (#340625)
8075
8076 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8077
8078         * gst/parse/Makefile.am:
8079           Make 'make -j' proof (see #340698).
8080
8081 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8082
8083         * configure.ac:
8084           Require GLib-2.8 here as well.
8085
8086 2006-05-05  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/glib-compat.c:
8089         * gst/gst.c: (init_pre):
8090         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8091         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8092         (gst_object_dispatch_properties_changed):
8093         * gst/gstobject.h:
8094         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8095         * gst/gststructure.c: (gst_structure_set_valist):
8096         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8097         Remove pre glib2.8 compatibility, fixes #340508
8098
8099 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8100
8101         * gst/gsttaglist.h:
8102           Mention type of tags in doc blurbs.
8103
8104 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8105
8106         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8107         (gst_pad_configure_src), (gst_pad_push):
8108         Restore acceptcaps checking behaviour now that good plugins have
8109         been released.
8110
8111 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8112
8113         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8114
8115         * gst/gst.c:
8116         * gst/gstbus.c:
8117         * gst/gstclock.c:
8118         * gst/gstevent.c:
8119         * gst/gstformat.c:
8120         * gst/gstmessage.c:
8121         * gst/gstparse.c:
8122         * gst/gstquery.c:
8123         * gst/gstutils.c:
8124         * gst/parse/Makefile.am:
8125         * libs/gst/base/gstadapter.c:
8126         * libs/gst/base/gstbasesrc.c:
8127         * libs/gst/base/gstpushsrc.c:
8128         * libs/gst/base/gsttypefindhelper.c:
8129         * plugins/elements/gstfakesrc.c:
8130         * plugins/elements/gstidentity.c:
8131           Make sure gstprivate.h and/or config.h are
8132           always included first, otherwise some of our
8133           defines (like _FILE_OFFSET_BITS) might be
8134           redefined in the system headers. Fixes build
8135           on opensolaris (#340016).
8136
8137 2006-05-04  Wim Taymans  <wim@fluendo.com>
8138
8139         * docs/libs/gstreamer-libs-sections.txt:
8140         API: addition: gst_adapter_take_buffer()
8141         
8142         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8143         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8144         (gst_adapter_available_fast):
8145         * libs/gst/base/gstadapter.h:
8146         Prepare for optimizing the hell out of this hugely inefficient
8147         piece of code. 
8148         Added gst_adapter_take_buffer() so we can at least start thinking
8149         about subbuffering and merging.
8150         Added some comments.
8151
8152         * tests/check/Makefile.am:
8153         * tests/check/libs/adapter.c: (GST_START_TEST),
8154         (gst_adapter_suite), (main):
8155         Added GstAdapter check.
8156
8157 2006-05-04  Wim Taymans  <wim@fluendo.com>
8158
8159         * docs/design/part-overview.txt:
8160         Fix some typos, add blurb about buffer flags.
8161
8162 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8163
8164         * docs/libs/gstreamer-libs-sections.txt:
8165           make sure GstBaseTransformClass shows up in the docs
8166         * libs/gst/base/gstbasetransform.c:
8167         * libs/gst/base/gstbasetransform.h:
8168           move docs so gtk-doc picks it up now
8169
8170 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8171
8172         * docs/libs/gstreamer-libs-sections.txt:
8173           add missing symbols to docs
8174
8175 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8176
8177         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8178           back out the newsegment handling change, see #340060 for ongoing
8179           discussion
8180
8181 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8182
8183         * tools/gst-run.c: (get_candidates), (main):
8184           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8185           work); fix typo in error message. Fixes #340079.
8186
8187 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8188
8189         * common/Makefile.am:
8190         * docs/Makefile.am:
8191         * docs/faq/Makefile.am:
8192         * docs/gst/Makefile.am:
8193         * docs/libs/Makefile.am:
8194         * docs/manual/Makefile.am:
8195         * docs/plugins/Makefile.am:
8196         * docs/pwg/Makefile.am:
8197         * docs/slides/Makefile.am:
8198         * docs/upload.mak:
8199         * common/upload.mak:
8200           move upload.mak to common
8201
8202 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8203
8204         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8205           add more asserts on refcounts
8206           do more cleanup at end of tests
8207           fix test leaks showing in FC5
8208
8209 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8210
8211         * plugins/elements/gsttypefindelement.c:
8212         (gst_type_find_element_handle_event):
8213         reverted wrong change and reflowed code to avoid others falling into
8214         this trap
8215
8216 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8217
8218         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8219           fix changelog entry about last collectpads change,
8220           add notes about proper fix
8221
8222 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8223
8224         * gst/gst.c:
8225         * gst/gstregistry.c: (gst_registry_scan_path_level),
8226         (gst_registry_scan_path):
8227         * gst/gstregistry.h:
8228           only write out registry if it has changed, fixes #338339
8229
8230 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8231
8232         * gst/gstbin.c:
8233         * gst/gstpipeline.c:
8234         * plugins/elements/gstcapsfilter.c:
8235         * plugins/elements/gstfakesink.c:
8236         * plugins/elements/gstfakesrc.c:
8237         * plugins/elements/gstfdsink.c:
8238         * plugins/elements/gstfdsrc.c:
8239         * plugins/elements/gstfilesink.c:
8240         * plugins/elements/gstfilesrc.c:
8241         * plugins/elements/gstidentity.c:
8242         * plugins/elements/gstqueue.c:
8243         * plugins/elements/gsttee.c:
8244         * plugins/elements/gsttypefindelement.c:
8245         (gst_type_find_element_handle_event):
8246           make GstElementDetails const
8247
8248 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8249
8250         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8251         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8252         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8253           more detailed debug and formatting cleanup,
8254           forward newsegments to src-pad (so that e.g. adder not eats them)
8255
8256 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8257
8258         * gst/gstutils.c: (gst_element_link_pads):
8259           cleanup double code
8260
8261 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8262
8263         * libs/gst/controller/gstcontroller.c:
8264         (gst_controller_sync_values):
8265           some little tuning
8266         * tests/check/libs/controller.c: (GST_START_TEST),
8267         (gst_controller_suite):
8268           a new test for live value handling
8269
8270 2006-04-28  Wim Taymans  <wim@fluendo.com>
8271
8272         * gst/gstutils.c: (push_and_ref):
8273         Added some more docs.
8274         Fix refcount issue whith gst_element_found_tags() helper 
8275         function. Fixes #338335
8276
8277         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8278         Added testsuite for gst_element_found_tags().
8279
8280 2006-04-28  Michael Smith  <msmith@fluendo.com>
8281
8282         * gst/gstvalue.c: (gst_value_serialize_flags):
8283           Avoid NULL dereference when trying to serialize flags containing
8284           invalid values.
8285
8286 2006-04-28  Michael Smith  <msmith@fluendo.com>
8287
8288         * plugins/elements/gsttypefindelement.c:
8289         (gst_type_find_element_handle_event):
8290           If we get EOS before any data is accumulated, don't use
8291           uninitialised local variables.
8292
8293 2006-04-28  Michael Smith  <msmith@fluendo.com>
8294
8295         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8296         (gst_dp_event_from_packet):
8297           Fixes in reading/writing events over GDP (not currently used?) - 
8298           dereferencing NULL events for unknown/invalid event types, memory
8299           leak, and change g_warning to GST_WARNING.
8300
8301 2006-04-28  Wim Taymans  <wim@fluendo.com>
8302
8303         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8304         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8305         (gst_base_sink_get_position), (gst_base_sink_change_state):
8306         When frame dropping is enabled, we should not ignore frames
8307         without a duration.
8308         Update some documentation.
8309
8310 2006-04-28  Wim Taymans  <wim@fluendo.com>
8311
8312         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8313         (gst_base_src_send_event), (gst_base_src_change_state):
8314         Documentation updates.
8315
8316 2006-04-28  Wim Taymans  <wim@fluendo.com>
8317
8318         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8319         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8320         handle EAGAIN, EINTR and short writes correctly. Also clean
8321         up some error cases, avoid a deadlock on bad file descriptors and
8322         use GST_DEBUG_OBJECT.
8323         Fixes #339843
8324
8325 2006-04-28  Wim Taymans  <wim@fluendo.com>
8326
8327         * gst/gstvalue.c: (gst_value_serialize_buffer),
8328         (gst_value_deserialize_buffer):
8329         Don't try to serialize a GValue with a NULL buffer. 
8330         Fixes #339821.
8331
8332         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8333         Added check for serialisation of NULL buffers.
8334
8335 2006-04-28  Wim Taymans  <wim@fluendo.com>
8336
8337         * gst/gstminiobject.c: (gst_value_take_mini_object):
8338         Taking a NULL miniobject is valid, fix the case where
8339         we try to unref the NULL miniobject.
8340
8341 2006-04-28  Wim Taymans  <wim@fluendo.com>
8342
8343         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8344
8345         * gst/gstbin.c: (gst_bin_handle_message_func):
8346         Update docs.
8347         Don't leak bin refcount when a state recalc is
8348         in progress and we delay another one #339808.
8349
8350 2006-04-28  Wim Taymans  <wim@fluendo.com>
8351
8352         * docs/design/part-TODO.txt:
8353         Mention QoS as an ongoing work item.
8354
8355         * docs/design/part-buffering.txt:
8356         New doc about buffering that needs to be fleshed out
8357         at some point.
8358
8359         * docs/design/part-qos.txt:
8360         More QoS policy for decoders/demuxers/transforms
8361
8362         * docs/design/part-trickmodes.txt:
8363         Small update.
8364
8365 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8366
8367         * configure.ac:
8368           back to HEAD
8369
8370 === release 0.10.5 ===
8371
8372 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8373
8374         * configure.ac:
8375           releasing 0.10.5, "Fogo"
8376
8377 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8378
8379         patch by: Wim Taymans
8380
8381         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8382         (gst_pad_configure_src), (gst_pad_push):
8383         * gst/gstpipeline.c: (gst_pipeline_init):
8384           Fix internal data flow errors.  Fixes #338711.
8385
8386 2006-04-12  Wim Taymans  <wim@fluendo.com>
8387
8388         * tests/check/gst/gstelement.c: (GST_START_TEST):
8389         Don't leak the factory.
8390
8391 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8392
8393         * configure.ac:
8394         * win32/common/config.h:
8395           prerelease
8396
8397 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8398
8399         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8400         (gst_controller_unset_all):
8401           Free allocated GstTimedValues when freeing list nodes.
8402           Should fix leaks 'make check-valgrind' complains about.
8403
8404         * win32/common/libgstcontroller.def:
8405           Add gst_controller_unset_all.
8406
8407 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8408
8409         * docs/libs/gstreamer-libs-sections.txt:
8410         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8411         (gst_controller_unset_all):
8412         * libs/gst/controller/gstcontroller.h:
8413         API: Added new method gst_controller_unset_all()
8414         fixed gst_controller_unset()
8415         * tests/check/libs/controller.c: (GST_START_TEST),
8416         (gst_controller_suite):
8417         Added two testcases for new and fixed method
8418
8419 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8420
8421         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8422           MSG_DONTWAIT is not defined on Cygwin, so work
8423           around that (fixes #317048).
8424           
8425 2006-04-11  Wim Taymans  <wim@fluendo.com>
8426
8427         * gst/gstelementfactory.c: (gst_element_register),
8428         (gst_element_factory_create), (gst_element_factory_make):
8429         Some cleanups.
8430         Fixed a FIXME.
8431         Updated docs (Fixes #131079)
8432
8433         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8434         Small cleanups.
8435
8436         * tests/check/gst/gstelement.c: (GST_START_TEST),
8437         (gst_element_suite):
8438         Added testcase for elementfactory class field.
8439
8440 2006-04-10  Wim Taymans  <wim@fluendo.com>
8441
8442         * gst/gstsegment.c:
8443         Added some more docs.
8444
8445         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8446         (gst_base_sink_reset_qos):
8447         Calculate more accurate rate values.
8448
8449 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8450
8451         * gst/gst_private.h:
8452           add a new #ifdef to use __declspec(dllimport) only for
8453           other modules and not for gstreamer core
8454         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8455           use gst_guint64_to_gdouble for conversion
8456         * win32/common/libgstreamer.def:
8457           add new exported functions
8458         * win32/vs6/gst_inspect.dsp:
8459         * win32/vs6/gst_launch.dsp:
8460         * win32/vs6/libgstbase.dsp:
8461         * win32/vs6/libgstcontroller.dsp:
8462         * win32/vs6/libgstcoreelements.dsp:
8463         * win32/vs6/libgstdataprotocol.dsp:
8464         * win32/vs6/libgstnet.dsp:
8465           update project files
8466
8467 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8468
8469         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8470         * gst/gstclock.c: (gst_clock_class_init):
8471         * gst/gstelement.c: (gst_element_class_init):
8472         * gst/gstindex.c: (gst_index_class_init):
8473         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8474         * gst/gstobject.c: (gst_object_class_init),
8475         (gst_signal_object_class_init):
8476         * gst/gstpad.c: (gst_pad_class_init):
8477         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8478         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8479         * gst/gstregistry.c: (gst_registry_class_init):
8480         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8481         * gst/gsttask.c: (gst_task_class_init):
8482         * gst/gstxml.c: (gst_xml_class_init):
8483         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8484         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8485         (gst_base_src_loop):
8486         * libs/gst/controller/gstcontroller.c:/
8487         (_gst_controller_class_init):
8488         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8489         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8490         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8491         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8492         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8493         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8494
8495 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8496
8497         * gst/gstpad.c: (gst_pad_link):
8498           Must set peer pads before calling the link function, otherwise
8499           a task started from a link function might get a flow-not-linked
8500           result when trying to push because the other thread where the
8501           linking happens hasn't had a chance to set the peers yet. This
8502           might happen for example when a queue gets linked to a downstream
8503           element, as queue starts a streaming task when its source pad
8504           gets linked. Happens in real life when playing back flac/musepack
8505           files in playbin (#332390).
8506           
8507 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8508
8509         * gst/gstindex.h:
8510         * gst/gstxml.h:
8511         * libs/gst/base/gstadapter.h:
8512         * libs/gst/base/gstbasesink.h:
8513         * libs/gst/base/gstbasesrc.h:
8514         * libs/gst/base/gstbasetransform.h:
8515         * libs/gst/base/gstcollectpads.h:
8516         * libs/gst/base/gstpushsrc.h:
8517         Fix broken GObject macros
8518
8519 2006-04-07  Wim Taymans  <wim@fluendo.com>
8520
8521         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8522         Initialize start and stop times, thanks valgrind.
8523
8524 2006-04-07  Wim Taymans  <wim@fluendo.com>
8525
8526         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8527         Be a bit nicer to badly behaving upstream elements that expect
8528         us to deal with non TIME segments and timestamps (such as fakesrc
8529         in the testsuite).
8530
8531 2006-04-07  Wim Taymans  <wim@fluendo.com>
8532
8533         * gst/gstbus.c:
8534         Small documentation clarification about the signal watch.
8535
8536         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8537         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8538         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8539         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8540         (gst_base_sink_get_position_last),
8541         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8542         Convert and store timestamps in stream time and running time, the
8543         raw timestamps are not useful, also document this better.
8544         Use different window sizes for good and bad QoS observations so
8545         we react to badness a little quicker.
8546         Keep track of the amount of rendered and dropped buffers.
8547         Send QoS timestamps in running time.
8548
8549         * libs/gst/base/gstbasetransform.c:
8550         (gst_base_transform_sink_eventfunc),
8551         (gst_base_transform_handle_buffer):
8552         Compare QoS timestamps against running time.
8553
8554 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8555
8556         * gst/gstpad.c:
8557           Typo fixes in docs.
8558
8559 2006-04-06  Michael Smith  <msmith@fluendo.com>
8560
8561         * gst/gstpad.c: (gst_pad_set_property):
8562           Use g_value_get_object() instead of g_value_dup_gst_object(),
8563           to avoid double-reffing the pad template (which we then sink,
8564           so this worked previously if (and only if) the pad template
8565           was floating.
8566
8567         * gst/gstpadtemplate.c: (gst_pad_template_init),
8568         (gst_pad_template_pad_created):
8569           Never return floating references to pad templates, create
8570           them as initially-sunken.
8571
8572           Document an extra function (and make this stop sinking our
8573           pad template, since that is now guaranteed to do nothing,
8574           since we created it sunken).
8575
8576         * gst/gstghostpad.c:
8577           Fix docs typo.
8578
8579 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8580
8581         * gst/gstinfo.c: (__gst_in_valgrind):
8582           Add some newlines.
8583
8584         * plugins/elements/gsttypefindelement.c:
8585         (gst_type_find_element_chain):
8586           Don't leak buffer caps.
8587
8588 2006-04-06  Michael Smith  <msmith@fluendo.com>
8589
8590         * gst/parse/grammar.y:
8591           Fix a leak in parse-launch for any source-or-sink named element 
8592           references used.
8593
8594         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8595           Unref the pipeline if it exists after we've failed parsing.
8596
8597 2006-04-05  Michael Smith  <msmith@fluendo.com>
8598
8599         * gst/gstpipeline.c: (gst_pipeline_init):
8600           When we create a pipeline bus, initially create it in flushing mode.
8601           Fixes leaks in at least one test, and makes a new pipeline work the
8602           same as one that has gone to READY and then back to NULL.
8603
8604         * gst/gstelement.c:
8605           Typo fix in docs.
8606
8607 2006-04-05  Michael Smith  <msmith@fluendo.com>
8608
8609         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8610           Unref a pad we reffed.
8611         * tests/check/gst/gstutils.c: (GST_START_TEST):
8612           Unref bins
8613
8614 2006-04-05  Michael Smith  <msmith@fluendo.com>
8615
8616         * gst/gstquery.c: (gst_query_set_formats),
8617         (gst_query_set_formatsv):
8618           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8619
8620 2006-04-05  Michael Smith  <msmith@fluendo.com>
8621
8622         * tests/check/generic/sinks.c: (GST_START_TEST):
8623           Fix a variety of memleaks in sinks check, which are only sometimes 
8624           shown by running the tests under valgrind (weird?).
8625
8626 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8627
8628         * docs/version.entities.in:
8629           Fix the substituted entity name after thomas' changes on the
8630           weekend.
8631
8632 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8633
8634         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8635         VALGRIND_PRINTF
8636         
8637 2006-04-05  Andy Wingo  <wingo@pobox.com>
8638
8639         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8640
8641         * libs/gst/base/gstbasetransform.c
8642         (gst_base_transform_sink_eventfunc): When resetting our segment on
8643         FLUSH_STOP, also update the flag saying we haven't seen a
8644         newsegment.
8645
8646 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8647
8648         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8649
8650         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8651         (gst_plugin_check_license):
8652           minor clean-ups: G_DEFINE_TYPE already takes care of the
8653           parent_class stuff, no need to do it twice. Mark array of
8654           license strings as constant. (#337103)
8655           
8656 2006-04-04  Michael Smith  <msmith@fluendo.com>
8657
8658         * tools/gst-inspect.c: (print_element_list):
8659           Free the right plugin list; fixes a memory leak.
8660
8661 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8662
8663         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8664
8665         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8666           Don't error out on empty buffers (#336945).
8667           
8668 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8669
8670         * docs/libs/gstreamer-libs-sections.txt:
8671         * gst/gsttaglist.c:
8672         * libs/gst/base/gstbasesink.c:
8673         * libs/gst/base/gstbasesink.h:
8674         * libs/gst/base/gstbasesrc.c:
8675         * libs/gst/base/gstbasesrc.h:
8676           Documentation updates. Make BaseSink and BaseSrc docs contain the
8677           class structure so that people can actually see the prototypes for
8678           virtual functions they're supposed to be overriding.
8679
8680 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8681
8682         * plugins/elements/gsttypefindelement.c:
8683         (gst_type_find_element_chain):
8684           More debug info; when skipping typefinding, send cached
8685           events in all cases.
8686
8687 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8688
8689         * configure.ac:
8690           use new AS_VERSION and AS_NANO macros
8691         * gst/gst-i18n-lib.h:
8692         * gst/gst.c:
8693         * gst/gsterror.c:
8694         * gst/gstversion.h.in:
8695         * win32/common/config.h:
8696         * win32/common/config.h.in:
8697           update accordingly
8698
8699 2006-03-31  Michael Smith  <msmith@fluendo.com>
8700
8701         * plugins/elements/gsttypefindelement.c:
8702         (gst_type_find_element_chain):
8703           Do not typefind content if the buffers already have caps.
8704           Neccesary for icydemux (#333657), and the right thing to do anyway.
8705
8706 2006-03-30  Wim Taymans  <wim@fluendo.com>
8707
8708         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8709         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8710         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8711         (gst_base_sink_record_qos_observation),
8712         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8713         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8714         (gst_base_sink_change_state):
8715         More QoS measurements as described in the design doc.
8716         Get rid of ringbuffer with observations, running average is
8717         more simple and equally good.
8718         Calculates valid proportion now.
8719         Added beginning of flood measurement.
8720
8721 2006-03-29  Wim Taymans  <wim@fluendo.com>
8722
8723         * docs/design/part-qos.txt:
8724         * gst/gstclock.c:
8725         Small documentation updates and additions.
8726
8727 2006-03-29  Wim Taymans  <wim@fluendo.com>
8728
8729         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8730         (gst_base_src_send_event), (gst_base_src_loop),
8731         (gst_base_src_change_state):
8732         Perform the EOS logic when we reach the segment stop position.
8733         Fix compilation on gcc4.1
8734
8735 2006-03-29  Wim Taymans  <wim@fluendo.com>
8736
8737         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8738
8739         * plugins/elements/gstqueue.c: (gst_queue_init),
8740         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8741         (gst_queue_set_property):
8742         * plugins/elements/gstqueue.h:
8743         In queue, when EOS is received, if minimum threshold > max_size -
8744         current_level, there is chance that queue blocks forever in conditional
8745         item del wait. This is because the queue is not emptied completely due
8746         to minimum threshold.  Here is another approach. Instead of setting
8747         cur_levels to max in EOS, just zero all minimum threshold levels. This
8748         should make sure that queue gives out all data. When going to READY
8749         (stop) state, just reset the original minimum threshold levels.
8750         Fixes #336336.
8751
8752 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
8753
8754         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8755         (gst_type_find_element_handle_event),
8756         (gst_type_find_element_send_cached_events),
8757         (gst_type_find_element_change_state):
8758         * plugins/elements/gsttypefindelement.h:
8759           When typefinding is done in push mode, we should cache
8760           events we receive during typefinding instead of just
8761           dropping them (e.g. newsegment, custom events from
8762           dvdreadsrc etc.) and then send them out once we've
8763           determined the type of the stream (and decodebin
8764           has had a chance to plug in a decoder/demuxer).
8765           
8766 2006-03-27  Wim Taymans  <wim@fluendo.com>
8767
8768         * docs/design/part-qos.txt:
8769         First QoS ideas.
8770
8771 2006-03-27  Wim Taymans  <wim@fluendo.com>
8772
8773         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8774
8775         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8776         (gst_base_src_send_event), (gst_base_src_change_state):
8777         Handle element seek correctly when we are streaming.
8778         Fixes #326998.
8779
8780 2006-03-24  Michael Smith  <msmith@fluendo.com>
8781
8782         * docs/faq/gst-uninstalled:
8783           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8784           allow you to correctly run intalled applications built against old 
8785           core, using plugins that require updated core (e.g. running
8786           installed totem against a full uninstalled gstreamer stack)
8787
8788 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8789
8790         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8791         more debug details
8792
8793 2006-03-24  Wim Taymans  <wim@fluendo.com>
8794
8795         * docs/gst/gstreamer-sections.txt:
8796         Rearrange the order of the methods so that related methods
8797         are grouped together in sections.
8798
8799 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8800
8801         * gst/gstelement.c:
8802           Little clarification in the docs
8803
8804 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8805
8806         * docs/README:
8807         formatting fix
8808         * plugins/elements/gstidentity.c:
8809         * plugins/elements/gstqueue.c:
8810         * plugins/elements/gsttee.c:
8811         * plugins/elements/gsttypefindelement.c:
8812         GST_ELEMENT_DETAILS formatting
8813
8814 2006-03-24  Wim Taymans  <wim@fluendo.com>
8815
8816         * libs/gst/base/gstbasesink.h:
8817         Only add fields, not insert or we break ABI.
8818
8819 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8820
8821         * win32/common/libgstbase.def:
8822         * win32/common/libgstreamer.def:
8823           Update, add recently added functions.
8824
8825 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * docs/gst/gstreamer-sections.txt:
8828         * gst/gstutils.c: (gst_pad_query_peer_position),
8829         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8830         * gst/gstutils.h:
8831           API: add some new utility functions:
8832            - gst_pad_query_peer_position()
8833            - gst_pad_query_peer_duration()
8834            - gst_pad_query_peer_convert()
8835           
8836 2006-03-23  Wim Taymans  <wim@fluendo.com>
8837
8838         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8839         (gst_base_sink_init), (gst_base_sink_finalize),
8840         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8841         (gst_base_sink_set_property), (gst_base_sink_get_property),
8842         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8843         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8844         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8845         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8846         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8847         (gst_base_sink_preroll_object), (gst_base_sink_event),
8848         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8849         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8850         (gst_base_sink_query), (gst_base_sink_change_state):
8851         Decouple max-lateness and the fact that QoS messages are generated
8852         with a new property (qos).
8853         added API: GstBaseSink::async_play()
8854         Add vmethod so subclasses can be notified of ASYNC playing
8855         state changes.
8856         Collect timestamp start and stop to report better current
8857         position in EOS/PLAYING/PAUSED/READY/NULL.
8858         Refactor QoS/frame dropping and other measurements.
8859         API: GstBaseSrc::qos
8860         Fixes #326311
8861
8862         * libs/gst/base/gstbasesink.h:
8863         Added Private struct.
8864         API: gst_base_sink_set_qos_enabled()
8865         API: gst_base_sink_is_qos_enabled()
8866
8867 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8868
8869         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8870           If compiling against GLib-2.8 or newer, try to read the
8871           registry file using GMappedFile first before falling back
8872           to fopen() + fread() (#332151).
8873
8874 2006-03-22  Wim Taymans  <wim@fluendo.com>
8875
8876         * gst/gstinfo.c: (gst_debug_set_active),
8877         (gst_debug_category_set_threshold):
8878         Disable debugging unless explicitly activated.
8879         Fixes #335480.
8880
8881 2006-03-22  Wim Taymans  <wim@fluendo.com>
8882
8883         * gst/gstelement.c: (gst_element_set_locked_state),
8884         (gst_element_dispose):
8885         Cleanup the error case.
8886
8887         * gst/gstobject.c: (gst_object_dispose):
8888         print a critical when some object was disposed with
8889         a parent, also revive the object since it might
8890         crash the parent.
8891
8892 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
8893
8894         * tools/gst-launch.1.in:
8895           Fix another typo.
8896
8897 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8898
8899         * configure.ac:
8900         * tests/check/Makefile.am:
8901           disable some tests when we don't have a registry
8902         * tests/check/gst/gstutils.c: (gst_utils_suite):
8903           don't build the part that needs parsing
8904
8905 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8906
8907         * gst/Makefile.am
8908         * tests/examples/Makefile.am:
8909           fix --disable-parse build
8910
8911 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         * tools/gst-feedback.1.in:
8914           Fix typo: s/feeback/feedback/ (#133494).
8915
8916 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8917
8918         * tools/Makefile.am:
8919         * tools/gst-launch.1.in:
8920           Add FILES section and correct entry about GST_REGISTRY_PATH
8921           environment variable (#133495; #133494).
8922
8923 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8924
8925         * tools/Makefile.am:
8926         * tools/gst-md5sum.1.in:
8927         * tools/gst-md5sum.c:
8928           Remove gst-md5sum and man page (the md5sink element
8929           required was removed ages ago)
8930
8931 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8932
8933         * gst/gststructure.c: (gst_structure_id_set_value):
8934           Make sure that string fields in structures/taglists
8935           contain valid UTF-8 - we don't want to pass rubbish to
8936           applications because of a buggy plugin (cp. #334167).
8937
8938 2006-03-21  Edward Hervey  <edward@fluendo.com>
8939
8940         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8941         (gst_bin_handle_message_func):
8942         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8943         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8944         (gst_element_set_bus_func):
8945         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8946         * gst/gstminiobject.c: (gst_value_set_mini_object),
8947         (gst_value_take_mini_object):
8948         * gst/gstpad.c: (gst_pad_set_pad_template):
8949         * gst/gstpipeline.c: (gst_pipeline_dispose),
8950         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8951         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8952         (gst_collect_pads_chain):
8953         * libs/gst/net/gstnettimeprovider.c:
8954         (gst_net_time_provider_set_property):
8955         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8956         It's in fact all issues with gst_*object_replace().
8957
8958 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8959
8960         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
8961         
8962         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8963         * pkgconfig/gstreamer-check.pc.in:
8964           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8965
8966 2006-03-21  Edward Hervey  <edward@fluendo.com>
8967
8968         * gst/gstbuffer.h:
8969         * gst/gstevent.h:
8970         * gst/gstmessage.h:
8971         gst_[buffer|event|message]_ref() macros are replaced by a static
8972         inline functions because gcc-4.1 will about if the return value
8973         isn't used.
8974         * tests/check/gst/gstevent.c: (event_probe):
8975         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8976
8977 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
8978
8979         * gst/gstutils.h:
8980         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8981         the type' case. (Closes: #335195 for now). In the future, when we
8982         depend on GLib 2.10, we could also intern the type name using
8983         g_intern_static_string()
8984
8985 2006-03-20  Wim Taymans  <wim@fluendo.com>
8986
8987         * gst/gstbin.c: (gst_bin_handle_message_func),
8988         (bin_query_max_init), (bin_query_position_fold),
8989         (bin_query_position_done), (gst_bin_query):
8990         Position query should also take max of all streams.
8991
8992 2006-03-20  Wim Taymans  <wim@fluendo.com>
8993
8994         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8995         (gst_fake_src_finalize):
8996         Fix leaks in fakesrc.
8997
8998         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8999         Fix leaks in the testcase.
9000
9001 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
9002
9003         * gst/gst_private.h:
9004           add win32 specific import decoration(__declspec(dllimport)) 
9005           for all extern GstDebugCategory * variables
9006         * win32/common/libgstbase.def:
9007         * win32/common/libgstcontroller.def:
9008         * win32/common/libgstreamer.def:
9009           Add some exports, remove empty lines
9010         * win32/common/libgstdataprotocol.def:
9011         * win32/common/libgstdataprotocol.dsp:
9012         * win32/common/libgstnet.def:
9013         * win32/common/libgstnet.dsp:
9014           new project files and exportation files added
9015         
9016 2006-03-19  Wim Taymans  <wim@fluendo.com>
9017
9018         * tests/check/libs/basesrc.c: (eos_event_counter):
9019         Use proper return value for probe.
9020
9021 2006-03-17  Wim Taymans  <wim@fluendo.com>
9022
9023         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9024         (gst_pad_push):
9025         Don't leak buffers, caps and pads on negotiation errors.
9026
9027 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
9028
9029         * docs/faq/cvs.xml:
9030         * docs/faq/dependencies.xml:
9031         * docs/faq/developing.xml:
9032         * docs/faq/faq.xml:
9033         * docs/faq/general.xml:
9034         * docs/faq/getting.xml:
9035         * docs/faq/legal.xml:
9036         * docs/faq/troubleshooting.xml:
9037         * docs/faq/using.xml:
9038         Faq review and update.
9039
9040 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
9041
9042         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9043         (gst_pad_push):
9044         Don't pound the cpu to pieces by checking get_caps when accept_caps
9045         is called with the same caps as the pad already has.
9046         Use GST_DEBUG_OBJECT when outputting caps change information.
9047
9048 2006-03-15  Wim Taymans  <wim@fluendo.com>
9049
9050         * gst/gstclock.c: (gst_clock_class_init):
9051         Fix docs.
9052
9053 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
9054
9055         * gst/gstbuffer.h:
9056         Documentation fix.
9057
9058         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9059         (gst_pad_accept_caps), (gst_pad_configure_sink),
9060         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9061         Make the default acceptcaps behaviour be to check the requested 
9062         caps against the gst_pad_get_caps output. 
9063
9064         Ensure that gst_pad_accept_caps is used to check caps when a pad
9065         doesn't have a setcaps function, so that pads automatically refuse 
9066         caps that they don't allow in their pad template. (Fixes #332986)
9067
9068         When a buffer with attached caps is pushed, ensure that the source 
9069         pad receives those caps even if the element didn't call
9070         gst_pad_set_caps first.
9071
9072 2006-03-15  Wim Taymans  <wim@fluendo.com>
9073
9074         * libs/gst/base/gstadapter.c:
9075         Add some docs.
9076
9077 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9078
9079         * win32/common/libgstbase.def:
9080         * win32/common/libgstcontroller.def:
9081         * win32/common/libgstreamer.def:
9082           Add a whole bunch of missing functions (#334434).
9083
9084 2006-03-14  Wim Taymans  <wim@fluendo.com>
9085
9086         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9087         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9088         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9089         Better debug info when we receive a segment event.
9090         Reorganize a bit so we can pass the get_times() results around.
9091         Use the segment format when calculating the running time.
9092         Don't do QoS is sync is disabled or we have no clock or the
9093         element does not want us to sync to the clock.
9094         Don't drop buffers if QoS is disabled for now.
9095
9096 2006-03-14  Wim Taymans  <wim@fluendo.com>
9097
9098         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9099         Marked the stats property as unimplemented so people don't get
9100         wild ideas.
9101         Add debug message when regression goes wrong.
9102         Added some more docs.
9103
9104 2006-03-14  Wim Taymans  <wim@fluendo.com>
9105
9106         * gst/gstsegment.c: (gst_segment_to_stream_time):
9107         Return correct return type in case of errors.
9108
9109 2006-03-14  Wim Taymans  <wim@fluendo.com>
9110
9111         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9112           Don't segfault on invalid formats.
9113
9114 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9115
9116         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9117           Can't use gst_segment_to_running_time() when the segment
9118           is not in GST_TIME_FORMAT (like with filesink, for example).
9119           Stops flac encoding pipelines from spewing critical warnings
9120           at EOS (#331248).
9121           
9122 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9123
9124         * gst/gstpipeline.c: (gst_pipeline_class_init):
9125           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9126
9127         * plugins/elements/gsttypefindelement.c:
9128         (gst_type_find_element_handle_event):
9129           Don't try to typefind empty streams.
9130
9131 2006-03-14  Wim Taymans  <wim@fluendo.com>
9132
9133         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9134         (gst_base_sink_do_qos):
9135         Separate QoS calculation.
9136         Only drop buffers when lateness is bigger than the 
9137         duration of the buffer.
9138
9139 2006-03-13  Wim Taymans  <wim@fluendo.com>
9140
9141         * gst/gstpipeline.c: (gst_pipeline_set_property),
9142         (gst_pipeline_get_property), (do_pipeline_seek),
9143         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9144         (gst_pipeline_get_delay):
9145         Don't deadlock when reading properties.
9146
9147 2006-03-13  Wim Taymans  <wim@fluendo.com>
9148
9149         * libs/gst/base/gstbasetransform.c:
9150         (gst_base_transform_class_init), (gst_base_transform_init),
9151         (gst_base_transform_sink_event),
9152         (gst_base_transform_sink_eventfunc),
9153         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9154         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9155         (gst_base_transform_set_property),
9156         (gst_base_transform_get_property),
9157         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9158         (gst_base_transform_set_qos_enabled),
9159         (gst_base_transform_is_qos_enabled):
9160         * libs/gst/base/gstbasetransform.h:
9161         Make basetransform virtual method for src events too.
9162         Handle QOS in basetransform.
9163         API: gst_base_transform_update_qos()
9164         API: gst_base_transform_set_qos_enabled()
9165         API: gst_base_transform_is_qos_enabled()
9166
9167 2006-03-13  Wim Taymans  <wim@fluendo.com>
9168
9169         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9170         (gst_base_sink_do_sync):
9171         Small cleanups.
9172         Use QOS debug category.
9173
9174 2006-03-13  Wim Taymans  <wim@fluendo.com>
9175
9176         * plugins/elements/gstqueue.c:
9177         Very small doc update.
9178
9179 2006-03-13  Wim Taymans  <wim@fluendo.com>
9180
9181         * gst/gst_private.h:
9182         * gst/gstinfo.c: (_gst_debug_init):
9183         Added QOS debug category
9184
9185 2006-03-13  Wim Taymans  <wim@fluendo.com>
9186
9187         * docs/gst/gstreamer-sections.txt:
9188         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9189         * gst/gstbin.h:
9190         * gst/gstbus.c: (gst_bus_class_init):
9191         * gst/gstbus.h:
9192         * gst/gstclock.c:
9193         * gst/gstelement.c: (gst_element_set_locked_state):
9194         * gst/gstsegment.c:
9195         Documentation updates.
9196
9197         * gst/gstpipeline.c: (gst_pipeline_get_type),
9198         (gst_pipeline_class_init), (gst_pipeline_init),
9199         (gst_pipeline_dispose), (gst_pipeline_set_property),
9200         (gst_pipeline_get_property), (do_pipeline_seek),
9201         (gst_pipeline_send_event), (gst_pipeline_change_state),
9202         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9203         (gst_pipeline_get_delay):
9204         * gst/gstpipeline.h:
9205         Added methods for setting the delay.
9206         API: gst_pipeline_set_delay()
9207         API: gst_pipeline_get_delay()
9208         Add pipeline debug category
9209         Various cleanups.
9210         Updated docs.
9211         Don't reset stream time when seek failed.
9212
9213 2006-03-13  Wim Taymans  <wim@fluendo.com>
9214
9215         * docs/design/draft-klass.txt:
9216         * docs/design/part-clocks.txt:
9217         * docs/design/part-events.txt:
9218         * docs/design/part-gstbin.txt:
9219         * docs/design/part-gstpipeline.txt:
9220         * docs/design/part-messages.txt:
9221         * docs/design/part-negotiation.txt:
9222         * docs/design/part-overview.txt:
9223         * docs/design/part-preroll.txt:
9224         * docs/design/part-seeking.txt:
9225         * docs/design/part-states.txt:
9226         * docs/design/part-streams.txt:
9227         Documentation updates.
9228
9229 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9230
9231         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9232         us to leak strings...
9233
9234 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9235
9236         * libs/gst/net/gstnettimeprovider.c:
9237           fix docs
9238         * win32/common/config.h:
9239           update
9240
9241 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9242
9243         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9244
9245         * configure.ac:
9246           Don't check for libgnomeui (leftover from old examples
9247           that aren't built or disted any longer) (#334303).
9248           
9249 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9250
9251         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9252         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9253           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9254           there's no space left on the device.
9255
9256 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9257
9258         * gst/gstclock.h:
9259           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9260           to cast the input to GstClockTime before comparing with
9261           another GstClockTime value.
9262
9263 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9264
9265         * configure.ac:
9266           back to trunk
9267
9268 === release 0.10.4 ===
9269
9270 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9271
9272         * configure.ac:
9273           releasing 0.10.4, "Light"
9274
9275 2006-03-10  Michael Smith  <msmith@fluendo.com>
9276
9277         * libs/gst/dataprotocol/dataprotocol.c:
9278           Fix docs for dataprocotol to not get the return types completely
9279           wrong for a few functions.
9280
9281 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9282
9283         * docs/gst/gstreamer-sections.txt:
9284         * gst/gstpipeline.c: (gst_pipeline_class_init),
9285         (gst_pipeline_init), (gst_pipeline_set_property),
9286         (gst_pipeline_get_property), (gst_pipeline_change_state),
9287         (gst_pipeline_set_auto_flush_bus),
9288         (gst_pipeline_get_auto_flush_bus):
9289         * gst/gstpipeline.h:
9290           Add new API: gst_pipeline_set_auto_flush_bus() and
9291           gst_pipeline_get_auto_flush_bus() to disable automatic
9292           flushing of the pipeline's GstBus when going from READY
9293           to NULL state (#332045).
9294
9295 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * docs/gst/gstreamer-sections.txt:
9298         * gst/gsturi.c: (gst_uri_has_protocol):
9299         * gst/gsturi.h:
9300            Add new API: gst_uri_has_protocol() (#333779).
9301
9302 2006-03-09  Wim Taymans  <wim@fluendo.com>
9303
9304         * gst/gstclock.c: (gst_clock_entry_new),
9305         (gst_clock_id_compare_func), (gst_clock_id_wait),
9306         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9307         (gst_clock_init), (gst_clock_get_internal_time),
9308         (gst_clock_set_master), (do_linear_regression),
9309         (gst_clock_add_observation), (gst_clock_set_property):
9310         * gst/gstclock.h:
9311         Review docs.
9312         Small cleanups.
9313         Fix a possible segfault when the window-size is made smaller.
9314         Calculate jitter before performing the clock wait. Ideally
9315         the clock implementation should calculate jitter but we need
9316         API breakage for that.
9317
9318         * gst/gstsystemclock.c: (gst_system_clock_init):
9319         Docs review.
9320         
9321         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9322         Remove leftover else
9323
9324         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9325         (gst_systemclock_suite):
9326         Added check to test GST_CLOCK_DIFF.
9327
9328 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9329
9330         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9331         (gst_type_find_helper_get_range):
9332           If we are provided with the size, we should implement
9333           GstTypeFind::get_length, so that typefind functions who
9334           want to can actually peek at the middle of a file.
9335
9336 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9337
9338         * docs/manual/advanced-dataaccess.xml:
9339           Add some very very basic error checking.
9340
9341         * docs/pwg/appendix-checklist.xml:
9342           Some updates to the list of things to check when writing an element.
9343
9344 2006-03-08  Wim Taymans  <wim@fluendo.com>
9345
9346         * docs/design/part-element-transform.txt:
9347         Added some docs about the design of tranform elements.
9348
9349         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9350         (gst_base_src_loop), (gst_base_src_change_state):
9351         Mark buffers with the DISCONT flag.
9352
9353 2006-03-08  Michael Smith  <msmith@fluendo.com>
9354
9355         * gst/gstregistry.h:
9356         * gst/gstregistryxml.c: (gst_registry_save),
9357         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9358         (gst_registry_xml_save_pad_template),
9359         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9360         (gst_registry_xml_write_cache):
9361           Rewrite registry-saving to avoid race conditions and check for
9362           failed writes.
9363
9364 2006-03-08  Wim Taymans  <wim@fluendo.com>
9365
9366         * libs/gst/base/gstbasetransform.c:
9367         (gst_base_transform_transform_caps),
9368         (gst_base_transform_transform_size),
9369         (gst_base_transform_prepare_output_buffer),
9370         (gst_base_transform_get_unit_size),
9371         (gst_base_transform_buffer_alloc),
9372         (gst_base_transform_handle_buffer),
9373         (gst_base_transform_change_state):
9374         Cleanups, separate normal flow from errors, add sensible
9375         DEBUG lines.
9376         Don't try to renegotiate when allocating an output buffer.
9377         Also copy DISCONT buffer flag when copying a buffer.
9378         Reset the transform after we finish streaming, not during.
9379
9380 2006-03-08  Wim Taymans  <wim@fluendo.com>
9381
9382         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9383         Use last buffer timestamp in qos message.
9384
9385 2006-03-07  Wim Taymans  <wim@fluendo.com>
9386
9387         Patch by: Christophe Fergeau
9388
9389         * docs/pwg/advanced-tagging.xml:
9390         * docs/pwg/building-pads.xml:
9391           fixes #333416
9392
9393 2006-03-07  Wim Taymans  <wim@fluendo.com>
9394
9395         * docs/libs/gstreamer-libs-sections.txt:
9396         Added basesink new methods.
9397
9398         * gst/gstevent.c:
9399         * gst/gstevent.h:
9400         Docs updates. Flesh out the QoS docs.
9401
9402         * libs/gst/base/gstadapter.c:
9403         Small doc clarification about ownership and flushing.
9404
9405         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9406         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9407         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9408         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9409         * libs/gst/base/gstbasesink.h:
9410         API additions: 
9411         Added new methods to allow subclass to control max-lateness 
9412         and sync.
9413         Generate very basic QoS events based on last sync observation.
9414         Updated docs, fix typo, added some QoS blurb.
9415
9416         * libs/gst/base/gstbasesrc.c:
9417         Remove obsolete _get_state() calls from docs.
9418
9419 2006-03-07  Wim Taymans  <wim@fluendo.com>
9420
9421         * docs/libs/gstreamer-libs-sections.txt:
9422         * libs/gst/base/gstbasetransform.h:
9423         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9424         Fix docs for GstBaseSrc.
9425
9426 2006-03-07  Wim Taymans  <wim@fluendo.com>
9427
9428         * docs/gst/gstreamer-sections.txt:
9429         * gst/gstbuffer.h:
9430         * gst/gstvalue.c:
9431         * libs/gst/base/gstbasetransform.h:
9432         Small documentation fixes.
9433
9434 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9435
9436         * gst/gstvalue.c:
9437           Document thread-unsafety of gst_value_register_foo_func()
9438           when used at the same time as gst_value_foo() (#322628).
9439
9440 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9443         (gst_push_src_check_get_range):
9444           Push sources don't support pull mode by default.
9445
9446 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9447
9448         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9449         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9450         (gst_base_src_default_check_get_range):
9451         * libs/gst/base/gstbasesrc.h:
9452           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9453           provide default implementation, and rename
9454           gst_base_src_check_get_range() to
9455           gst_base_src_pad_check_get_range() for clarity.
9456
9457 2006-03-06  Wim Taymans  <wim@fluendo.com>
9458
9459         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9460         Make property overridable.
9461
9462 2006-03-06  Wim Taymans  <wim@fluendo.com>
9463
9464         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9465         (gst_base_sink_init), (gst_base_sink_set_property),
9466         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9467         * libs/gst/base/gstbasesink.h:
9468         API addition: Make max-lateness a property.
9469
9470 2006-03-06  Wim Taymans  <wim@fluendo.com>
9471
9472         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9473         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9474         Don't ever draw a frame that is >10ms late.
9475
9476 2006-03-06  Michael Smith  <msmith@fluendo.com>
9477
9478         * gst/gstmessage.c: (_gst_message_copy):
9479           When copying a message, set the parent_refcount of the enclosed
9480           structure to point at the copy, not the original message.
9481
9482 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9483
9484         Patch by: Christophe Fergeau
9485
9486         * gst/gstutils.h:
9487           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9488           usable in c++ code (#333417)
9489
9490 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * gst/gstclock.h:
9493           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9494
9495 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9496
9497         * libs/gst/base/gstbasetransform.c:
9498         (gst_base_transform_transform_caps):
9499           Make sure caps are writable before passing them to
9500           gst_caps_append().
9501
9502 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9503
9504         * gst/gsterror.h:
9505           Fix some minor docs errors.
9506
9507 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9508
9509           Patch by: Ross Burton <ross at burtonini dot com>
9510
9511         * gst/gsterror.c: (_gst_resource_errors_init):
9512         * gst/gsterror.h:
9513           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9514
9515 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9516
9517         * gst/gst.c:
9518         Add a check and output a g_warning when GStreamer is built
9519         against GLib 2.6 but running against 2.8 or higher, and vice 
9520         versa. (Closes: #323542)
9521
9522 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9523
9524         * gst/parse/parse.l:
9525           Commit patch for parse_launch syntax from #331255. Removes 
9526           support for quoted strings and mimetypes when writing filtered 
9527           caps. See the bug report for more details - I'm pretty sure this
9528           obscure feature is not in use by _anyone_ anywhere.
9529
9530           With this simple change, the size of the gstreamer.so here 
9531           drops from 2193KB to 1565KB.
9532
9533 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9534
9535         * plugins/elements/gsttypefindelement.h:
9536         * plugins/elements/gsttypefindelement.c:
9537         (gst_type_find_element_src_event), (start_typefinding),
9538         (stop_typefinding), (gst_type_find_element_handle_event),
9539         (gst_type_find_element_chain),
9540         (gst_type_find_element_chain_do_typefinding):
9541           Use gst_type_find_helper_for_buffer() for chain-based
9542           typefinding.
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_class_init),
9548         (gst_type_find_element_set_property),
9549         (gst_type_find_element_get_property):
9550           Deprecate "maximum" property (not only was it only taken into
9551           account for typefinding in push-mode anyway, it also was never
9552           actually possible to set it in the first place because the
9553           property was registered with the numeric property ID for the
9554           "minimum" property). Register "maximum" property correctly,
9555           for the sake of future copy'n'pasters. Remove some cruft
9556           from property get/set functions.
9557
9558 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9559
9560         * plugins/elements/gsttypefindelement.c:
9561         (gst_type_find_element_activate):
9562           Use gst_type_find_helper_get_range() here, so we
9563           can honour the "minimum" property and also emit
9564           the signal with the correct probability of the found caps.
9565
9566 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9567
9568         * docs/libs/gstreamer-libs-sections.txt:
9569         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9570         (helper_find_suggest), (gst_type_find_helper_get_range),
9571         (gst_type_find_helper):
9572         * libs/gst/base/gsttypefindhelper.h:
9573           New API: gst_type_find_helper_get_range() (#333042).
9574
9575 2006-03-02  Michael Smith  <msmith@fluendo.com>
9576
9577         * gst/gstregistryxml.c: (load_feature):
9578           Asserting on a failure to read part of the registry is Not Cool.
9579           Just log a warning and return NULL (which is already handled)
9580
9581 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9582
9583         * win32/common/libgstbase.def:
9584           added export of gst_type_find_helper_for_buffer
9585         * win32/common/libgstbase.def:
9586           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9587           gst_ghost_pad_get_target
9588
9589 2006-02-28  Wim Taymans  <wim@fluendo.com>
9590
9591         * docs/design/draft-klass.txt:
9592         We use Filter now.
9593         Added Connector to mark elements that are only used to
9594         allow pipeline connections.
9595         Moved Debug to extra feature since most of them are 
9596         functionally something else.
9597
9598 2006-02-28  Wim Taymans  <wim@fluendo.com>
9599
9600         * docs/design/draft-klass.txt:
9601         Some updates and clarifications.
9602
9603 2006-02-28  Wim Taymans  <wim@fluendo.com>
9604
9605         * docs/design/draft-klass.txt:
9606         Proposal for klass field values.
9607
9608         * docs/design/part-streams.txt:
9609         Start of a doc describing stream anatomy.
9610
9611 2006-02-28  Wim Taymans  <wim@fluendo.com>
9612
9613         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9614         Help the compiler a bit with type registration.
9615         Use existing forward cod path instead of duplicating it when 
9616         handling a message.
9617         
9618         * gst/gstbus.c: (gst_bus_get_type):
9619         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9620         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9621         * gst/gstclock.c: (gst_clock_get_type):
9622         * gst/gstelement.c: (gst_element_get_type),
9623         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9624         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9625         * gst/gstminiobject.c: (gst_mini_object_get_type):
9626         * gst/gstpad.c: (gst_pad_get_type):
9627         * gst/gstsegment.c: (gst_segment_get_type):
9628         * gst/gststructure.c: (gst_structure_get_type):
9629         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9630         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9631         * gst/gstvalue.c:
9632         Help compiler with type registration.
9633
9634         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9635         Small doc update.
9636
9637 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9638
9639         * plugins/elements/gsttypefindelement.c:
9640         (gst_type_find_element_handle_event):
9641           When we get an EOS event and have not found a type yet
9642           (most likely because we had not yet accumulated
9643           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9644           type given the data we have so far. Fixes typefinding
9645           for very short streams again, most notably quicktime
9646           redirections as used on Apple's trailer site (#331701).
9647
9648 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9651         (gst_type_find_helper):
9652           Try typefinding factories with the highest rank first.
9653
9654 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9655
9656         * docs/libs/gstreamer-libs-docs.sgml:
9657         * docs/libs/gstreamer-libs-sections.txt:
9658         * libs/gst/base/gsttypefindhelper.c:
9659           Add section for typefind helper and add documentation
9660           for the old and the new function.
9661
9662 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9663
9664         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9665         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9666         (gst_type_find_helper_for_buffer):
9667         * libs/gst/base/gsttypefindhelper.h:
9668           New API: gst_type_find_helper_for_buffer() (#332723).
9669           
9670 2006-02-27  Michael Smith  <msmith@fluendo.com>
9671
9672         Patch by: Loïc Minier
9673
9674         * configure.ac:
9675         * docs/Makefile.am:
9676         * docs/slides/Makefile.am:
9677           prevent CVS directories getting disted.
9678
9679 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9680
9681         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9682           Use the REFCOUNTING category for caps refcounting.
9683           
9684 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9685
9686         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9687           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9688
9689 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9690
9691         * plugins/elements/gsttypefindelement.c:
9692         (gst_type_find_element_activate):
9693           Use gst_pad_check_pull_range() before _activate_pull()
9694           to avoid unnecessary open/close (see #331690).
9695
9696 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9697
9698         * gst/gstutils.c:
9699           Docs enhancement: make it crystal clear what the
9700           gst_pad_add_*_probe() callbacks should look like.
9701
9702 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9703
9704         * libs/gst/base/gstbasesrc.c:
9705           Document how applications can stop recording from
9706           live sources (see #330996).
9707
9708 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9709
9710         * tests/check/Makefile.am:
9711         * tests/check/libs/basesrc.c: (eos_event_counter),
9712         (basesrc_eos_events_pull), (basesrc_eos_events_push),
9713         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9714         (gst_basesrc_suite), (main):
9715           ... and add some tests for the base source EOS stuff.
9716
9717 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9718
9719         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9720           Test case originally showed the problem fixed below,
9721           but was then amended. Add checks back at the place
9722           where they used to be.
9723
9724 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9727         (gst_base_src_init), (gst_base_src_loop),
9728         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9729         (gst_base_src_change_state):
9730         * libs/gst/base/gstbasesrc.h:
9731           Don't unconditionally send EOS when going from PAUSED to
9732           READY state, esp. make sure we don't send two EOS events
9733           in some cases (e.g. one when reaching EOS and one when
9734           going from PAUSED to READY). Also, we don't want to send
9735           EOS events when operating in pull mode. However, we do
9736           want to send an EOS event when shutting down a live
9737           source explicitly, for example (fixes #330996).
9738           
9739 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9742           Update src->read_position after a seek when not using mmap.
9743           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9744
9745 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
9746
9747         * gst/Makefile.am:
9748         * gst/gstparse.h:
9749         * gst/gstutils.c:
9750         * gst/gstutils.h:
9751         Make things work with --disable-parse as they do with 
9752         --disable-load-save - the symbols involved disappear, but the
9753         header is still installed and GST_DISABLE_PARSE is included via
9754         gstconfig.h
9755
9756 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9757
9758         * libs/gst/base/gstbasetransform.c:
9759         (gst_base_transform_change_state): Fix a stupid bug. I was 
9760         sure I compiled that.
9761
9762 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9763
9764         * gst/gstpad.c: (gst_pad_set_blocked_async):
9765         * gst/gstutils.c: (gst_pad_add_data_probe),
9766         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9767         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9768         (gst_pad_remove_buffer_probe): Make those function act on the
9769         ghostpad target when it's a ghostpad. (Closes #331727)
9770
9771 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9772
9773         * libs/gst/base/gstbasetransform.c:
9774         (gst_base_transform_change_state): Make basetransform reusable.
9775         (Closes #331898)
9776
9777 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
9778
9779         * docs/random/release:
9780         Move the current documentation of how to do a release to the top
9781         of the file.
9782
9783         * gst/gstbin.c: (gst_bin_class_init),
9784         (gst_bin_handle_message_func):
9785         Allow multiple state-recalculation threads. (Closes #328873)
9786
9787 2006-02-19  Julien MOUTTE  <julien@moutte.net>
9788
9789         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9790         * gst/gstpad.c: (gst_pad_set_event_function),
9791         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9792         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9793         2 strings. You can't use the STR_NULL macro on that.
9794
9795 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
9796
9797         * gst/gstpad.c: (gst_pad_set_event_function),
9798         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9799         (gst_pad_set_getcaps_function)
9800         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9801           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9802           So now, we can use --gst-debug-level=5 on Windows
9803         * win32/common/libgstcontroller.def:
9804           Added export of gst_controller_init
9805         * win32/vs6/libgstcontroller.dsp:
9806           Fixed Release post build configuration
9807
9808 2006-02-17  Wim Taymans  <wim@fluendo.com>
9809
9810         * tests/check/gst/gstquery.c: (GST_START_TEST):
9811         Added another check.
9812
9813 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
9814
9815         * plugins/elements/gsttypefindelement.c: (find_peek):
9816           We can do peeks at non-zero offsets, as long as they
9817           fall within the buffer we have.
9818
9819 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
9820
9821         * tests/check/Makefile.am:
9822         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9823         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9824         (parse_suite), (main):
9825           Add testsuite for parse launch syntax
9826
9827 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
9828
9829         * plugins/elements/gsttypefindelement.c:
9830         (gst_type_find_element_chain):
9831           When typefinding is unsuccessful in the chain function, don't
9832           error out immediately. Only error out with NO_CAPS_FOUND if
9833           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9834           otherwise simply wait for more data so we can try typefinding
9835           again with more data later. Also, don't attempt to typefind
9836           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9837           this should improve typefinding from network sources where the
9838           size of the first buffer can be somewhat random.
9839
9840 2006-02-14  Wim Taymans  <wim@fluendo.com>
9841
9842         * docs/gst/gstreamer-sections.txt:
9843         * gst/gstpadtemplate.c:
9844         * gst/gstpadtemplate.h:
9845         Fix padtemplate docs, fixes #328805.
9846
9847 2006-02-14  Wim Taymans  <wim@fluendo.com>
9848
9849         * tools/gst-launch.c: (main):
9850         NO_PREROLL is not an ERROR so don't send confusing messages
9851         to the user.
9852
9853 2006-02-14  Wim Taymans  <wim@fluendo.com>
9854
9855         Patch by: Torsten Schoenfeld
9856
9857         * gst/gstregistry.c: (gst_registry_get_default),
9858         (_gst_registry_cleanup):
9859         Protect default registry with lock and ref/sink it.
9860         Fixes #324818
9861
9862 2006-02-14  Wim Taymans  <wim@fluendo.com>
9863
9864         * gst/gstbuffer.c:
9865         * gst/gstquery.c: (gst_query_list_add_format),
9866         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9867         (gst_query_parse_formats_nth):
9868         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9869         Docs fixes.
9870
9871 2006-02-14  Wim Taymans  <wim@fluendo.com>
9872
9873         * docs/gst/gstreamer-sections.txt:
9874         Reworked query docs.
9875
9876         * gst/gstquery.c: (gst_query_new_formats),
9877         (gst_query_list_add_format), (gst_query_set_formats),
9878         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9879         (gst_query_parse_formats_nth):
9880         * gst/gstquery.h:
9881         Flesh out formats query, added some new methods.
9882         Fix part of #324398.
9883
9884         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9885         Added query creation tests.
9886
9887 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
9888
9889         * gst/gstpad.c: (fixate_value):
9890         Add a default fixation for fraction lists.
9891
9892 2006-02-13  Wim Taymans  <wim@fluendo.com>
9893
9894         * gst/gsttask.c: (gst_task_init), (gst_task_func),
9895         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9896         (gst_task_join):
9897         * gst/gsttask.h:
9898         Detect and warn for obvious deadlocks. fixes #320340
9899         Fix error case where lock was not released.
9900
9901         * tests/check/Makefile.am:
9902         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9903         (task_func), (gst_element_suite), (main):
9904         Add task check.
9905
9906 2006-02-13  Wim Taymans  <wim@fluendo.com>
9907
9908         * docs/gst/gstreamer-sections.txt:
9909         * gst/gstbus.c:
9910         Add new functions to docs.
9911
9912 2006-02-13  Wim Taymans  <wim@fluendo.com>
9913
9914         * docs/design/part-TODO.txt:
9915         Updated TODO list, basesrc supports seeking to non-bytes
9916         formats.
9917
9918         * docs/design/part-element-sink.txt:
9919         Update docs.
9920
9921         * gst/gstbin.c: (bin_replace_message),
9922         (gst_bin_handle_message_func):
9923         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9924         * gst/gstevent.c: (gst_event_finalize):
9925         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9926         (gst_pad_send_event):
9927         Use shiny new _TYPE_NAME macros.
9928
9929         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9930         Move debug statement up.
9931
9932         * gst/gstelement.c: (gst_element_set_locked_state):
9933         Add some debugging.
9934
9935 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
9936
9937         * docs/gst/gstreamer-sections.txt:
9938         * gst/gstmessage.h:
9939         * gst/gstquery.h:
9940           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9941           macros (#330906). Also, document the already existing
9942           GST_QUERY_TYPE macro.
9943
9944 2006-02-13  Wim Taymans  <wim@fluendo.com>
9945
9946         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9947         (event_probe), (GST_START_TEST):
9948         Only events up to the pipeline EOS are counted, there are
9949         some more when going to NULL currently which we don't care
9950         about for now.
9951
9952 2006-02-13  Wim Taymans  <wim@fluendo.com>
9953
9954         * gst/gstpad.c: (gst_pad_send_event):
9955         Correctly check flushing and emit probes. fixes #330125
9956
9957 2006-02-10  Andy Wingo  <wingo@pobox.com>
9958
9959         * gst/gstbus.c (gst_bus_class_init): Declare our private data
9960         structure.
9961         (gst_bus_init): Cache the location of the private data in the
9962         instance structure.
9963         (gst_bus_enable_sync_message_emission) 
9964         (gst_bus_disable_sync_message_emission): Implement new public
9965         functions.
9966         (gst_bus_post): Emit the sync-message signal if the user asked for
9967         it. Fixes #330684.
9968
9969         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9970         location of the bus-private structure.
9971         (gst_bus_enable_sync_message_emission)
9972         (gst_bus_disable_sync_message_emission): API addition
9973
9974 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
9975
9976         Patch by: Vincent Torri
9977
9978         * docs/pwg/building-boiler.xml:
9979         PWG patch from #326800
9980
9981 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9982
9983         * configure.ac:
9984         * docs/Makefile.am:
9985         * docs/design/Makefile.am:
9986           Dist design docs.
9987
9988 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
9989
9990         * configure.ac:
9991           back to CVS
9992
9993 === release 0.10.3 ===
9994
9995 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
9996
9997         * configure.ac:
9998           releasing 0.10.3, "Like a virgin"
9999
10000 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
10001
10002         * configure.ac:
10003           2nd prerelease of 0.10.3
10004           Bump libtool versioning.
10005
10006 2006-02-07  Andy Wingo  <wingo@pobox.com>
10007
10008         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10009         update last_stop if we're in TIME format and the timestamp is
10010         valid.
10011
10012         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
10013         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
10014         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10015         If we get a new newsegment with a different format, adapt
10016         accordingly.
10017
10018         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10019         of 0. Not a problem, really.
10020
10021         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10022         warn if sync=true.
10023
10024 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
10025
10026         * configure.ac:
10027           Prelease of 0.10.3
10028
10029 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
10030
10031         * win32/vs7:
10032           project files updated to the default vs7 configuration
10033         * win32/common/libgstbase.def:
10034         * win32/common/libgstreamer.def:
10035           added new symbols,
10036           removed empty lines,
10037           sorted all exported symbols alphabetically
10038         * win32/common/dirent.c:
10039         * win32/common/dirent.h:
10040         * win32/common/gchar.h:
10041           use windows line end.
10042           
10043 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10044
10045         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10046           Send EOS event when stopping.
10047
10048 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
10049
10050         * docs/README:
10051           Tell folks what to do if the plugin-foobar.xml file
10052           hasn't been generated for a newly-added plugin.
10053
10054 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10055
10056         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10057         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10058         (gst_collect_pads_start), (gst_collect_pads_stop),
10059         (gst_collect_pads_event): Collectpads now holds a reference
10060         to the GstPad that was added. Indeed we don't want to look
10061         at pads that might just go away with no warning...
10062
10063 2006-02-05  Julien MOUTTE  <julien@moutte.net>
10064
10065         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10066         (gst_collect_pads_start), (gst_collect_pads_stop),
10067         (gst_collect_pads_event), (gst_collect_pads_chain):
10068         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10069         Mark Nauwelaerts's patch on bug #328491.
10070
10071 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10072
10073         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10074         (gst_utils_suite):
10075           Add some simple tests for gst_parse_bin_from_description() and
10076           gst_bin_find_unconnected_pad() (#329069).
10077
10078 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10079
10080         * tools/gst-launch.c: (event_loop), (main):
10081           Catch errors during preroll (#320084).
10082
10083 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10084
10085         * plugins/elements/gsttypefindelement.c:
10086         (gst_type_find_element_activate):
10087           Post TYPE_NOT_FOUND error message when typefinding
10088           is unsuccessful in the activate function as well.
10089
10090 2006-02-02  Wim Taymans  <wim@fluendo.com>
10091
10092         * docs/design/part-element-sink.txt:
10093         Updated doc.
10094
10095 2006-02-02  Wim Taymans  <wim@fluendo.com>
10096
10097         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10098         (gst_base_sink_render_object),
10099         (gst_base_sink_queue_object_unlocked):
10100         Only keep track of prerollable items when we are 
10101         prerolling.
10102         Before rendering after preroll, always check if we
10103         have queued items.
10104         Added some more debugging.
10105
10106 2006-02-02  Wim Taymans  <wim@fluendo.com>
10107
10108         * gst/gstelement.c: (gst_element_continue_state),
10109         (gst_element_set_state_func), (gst_element_change_state):
10110         Fixed #326576, been running this for quite some time with
10111         no regressions at all.
10112
10113 2006-02-02  Wim Taymans  <wim@fluendo.com>
10114
10115         * common/gst.supp:
10116         Added more suppressions
10117
10118 2006-02-02  Wim Taymans  <wim@fluendo.com>
10119
10120         * docs/design/part-element-sink.txt:
10121         Updated document.
10122
10123         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10124         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10125         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10126         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10127         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10128         (gst_base_sink_preroll_object),
10129         (gst_base_sink_queue_object_unlocked),
10130         (gst_base_sink_queue_object), (gst_base_sink_event),
10131         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10132         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10133         (gst_base_sink_get_position), (gst_base_sink_change_state):
10134         * libs/gst/base/gstbasesink.h:
10135         Totally refactored matching the design doc.
10136         Use two segments, one to clip incomming buffers and another to
10137         perform sync.
10138         Handle queueing correctly, bypass the queue when playing.
10139         Make EOS cancelable.
10140         Handle errors correctly when operating in pull based mode.
10141
10142         * tests/check/elements/fakesink.c: (GST_START_TEST),
10143         (fakesink_suite):
10144         Added new check for sinks.
10145
10146 2006-02-02  Wim Taymans  <wim@fluendo.com>
10147
10148         * gst/gstsegment.c: (gst_segment_clip):
10149         No reason to refuse to clip when start == -1
10150
10151 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10152
10153         * docs/README:
10154         * docs/manual/intro-basics.xml:
10155         * docs/manual/intro-preface.xml:
10156         * docs/manual/manual.xml:
10157         * docs/pwg/advanced-dparams.xml:
10158         * docs/pwg/intro-basics.xml:
10159         * docs/pwg/intro-preface.xml:
10160         * docs/pwg/pwg.xml:
10161           describe dparams (controller) for plugins
10162           unify docs a little more
10163
10164 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * docs/gst/gstreamer-sections.txt:
10167         * gst/gstutils.c: (element_find_unconnected_pad),
10168         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10169         * gst/gstutils.h:
10170           Add new API: gst_parse_bin_from_description() and
10171           gst_bin_find_unconnected_pad() (#329069).
10172
10173 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10174
10175         * docs/manual/README:
10176           uncover a nasty detail of the docs build
10177
10178 2006-01-31  Wim Taymans  <wim@fluendo.com>
10179
10180         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10181         Don't cache duration messages if we're not going to use or
10182         free them.
10183
10184 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10185
10186         * docs/manual/advanced-dparams.xml:
10187         * docs/pwg/advanced-dparams.xml:
10188           more dparam docs
10189         * gst/gstindex.c:
10190           fix docs
10191         * libs/gst/controller/lib.c: (gst_controller_init):
10192           init just once
10193
10194 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10195
10196         * gst/gstelement.c: (gst_element_message_full):
10197           also show file/line/func if no additional debug was given
10198
10199 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10200         
10201         * win32/vs7/grammar.vcproj:
10202           activate copy of autogenerated files for Release mode
10203
10204 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10205         
10206         * win32/common/libgstreamer.def:
10207           export gst_value_compare
10208
10209 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10210
10211         * plugins/elements/Makefile.am:
10212         * plugins/elements/gstelements.c:
10213         * plugins/elements/gstfdsink.c: (_do_init),
10214         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10215         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10216         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10217         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10218         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10219         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10220         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10221         * plugins/elements/gstfdsink.h:
10222         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10223
10224 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10225
10226         * docs/manual/advanced-dparams.xml:
10227           describe controller
10228         * docs/manual/advanced-position.xml:
10229         * docs/manual/basics-init.xml:
10230         * docs/manual/manual.xml:
10231         * docs/manual/titlepage.xml:
10232         * docs/pwg/pwg.xml:
10233         * docs/pwg/titlepage.xml:
10234           cleanup xml (more to come)
10235         * libs/gst/controller/gstcontroller.c:
10236           fix typo
10237
10238 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10239         
10240         * win32/vs6/grammar.dsp:
10241           add autogen of gstmarshal.c,h for Release mode
10242                 
10243 2006-01-30  Wim Taymans  <wim@fluendo.com>
10244
10245         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10246         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10247         (gst_base_sink_handle_object), (gst_base_sink_event),
10248         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10249         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10250         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10251         (gst_base_sink_deactivate), (gst_base_sink_activate),
10252         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10253         (gst_base_sink_query), (gst_base_sink_change_state):
10254         Basesink cleanups, remove some old code.
10255         Handle the case where a subclass can preroll in the render
10256         method (mostly audiosinks).
10257         Handle more events.
10258         Remove some locks around variables that are now protected
10259         with the PREROLL_LOCK (clock_id, flushing, ..).
10260         Optimize position query some more, do correct locking.
10261         Remove old code to push queue in state change, this is not
10262         needed anymore since preroll blocks on all prerollable items 
10263         now.
10264         Almost implemented as described in design doc.
10265
10266 2006-01-30  Wim Taymans  <wim@fluendo.com>
10267
10268         * tests/check/gst/gstbin.c: (GST_START_TEST):
10269         Wait for refcount to settle down before checking.
10270
10271 2006-01-30  Wim Taymans  <wim@fluendo.com>
10272
10273         * docs/design/part-element-sink.txt:
10274         Pseudo code overview of desired sink behaviour regarding
10275         preroll.
10276
10277 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10278         * win32/vs6/grammar.dsp:
10279           fix some bugs in Release mode for autogenerated files
10280                 
10281 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10282         * win32/common/libgstbase.def:
10283         * win32/common/libgstreamer.def:
10284           export some new symbols: gst_base_src_set_format,
10285           gst_iterator_next, gst_structure_set_valist
10286
10287 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10288
10289         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10290         Set pad functions unconditionally. Fixes #329105.
10291
10292 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10293         * win32/vs8:
10294           add vs8 project files created by Sergey Scobich
10295
10296 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10297
10298         * gst/gstutils.c: (gst_element_unlink_pads):
10299         Don't leak pad references.
10300
10301         * tests/check/elements/fakesink.c: (GST_START_TEST):
10302         * tests/check/generic/sinks.c: (GST_START_TEST):
10303         * tests/check/generic/states.c: (GST_START_TEST):
10304         * tests/check/gst/gstbin.c: (GST_START_TEST):
10305         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10306         * tests/check/gst/gstelement.c: (GST_START_TEST):
10307         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10308         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10309         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10310         Fix a bunch of leaks. Make generic/sinks.c
10311         use a bit less cpu by slowing the buffer rate
10312         between fakesrc and fakesink.
10313         
10314 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10315         * gst/gstcaps.c:
10316         * gst/gstelement.c: (gst_element_send_event):
10317         * gst/gstevent.c:
10318         * gst/gstinfo.c:
10319         * gst/gstiterator.c:
10320         * gst/gstiterator.h:
10321         * gst/gstpad.c: (gst_pad_send_event):
10322         * gst/gststructure.c:
10323         * gst/gsturi.c:
10324         * gst/gstutils.c:
10325         * gst/gstvalue.c:
10326         * libs/gst/base/gstadapter.c:
10327           doc fixes, to link to function, just write gst_cool_function(), don't
10328           prefix with '#'
10329
10330 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10331
10332         * plugins/elements/gsttee.c: (gst_tee_do_push),
10333         (gst_tee_handle_buffer):
10334         Always prefer an actual return value from a src
10335         pad in place of NOT_LINKED. This means we return
10336         WRONG_STATE when all src pads are WRONG_STATE
10337         instead of NOT_LINKED.
10338
10339         Lock when replacing the last message to prevent
10340         racing with the get_property method.
10341
10342         Add debug output
10343
10344 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10345
10346         * tests/check/Makefile.am:
10347         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10348         (main):
10349         Add a very simple check that should have caught the memleak I fixed
10350         last night (if not for the slice allocator hiding it)
10351
10352 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10353
10354         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10355         (gst_bin_remove_func), (gst_bin_handle_message_func),
10356         (bin_query_duration_fold), (bin_query_generic_fold):
10357         Clean up references to the clock provider when disposed or when
10358         handling a clock-lost message from it.
10359
10360         Unref sinks when performing a query via gst_iterator_fold, as the
10361         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10362
10363         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10364         (gst_clock_set_master):
10365         Drop our reference to the master clock, if any, when we are disposed.
10366
10367         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10368         Chain up in dispose. 
10369
10370 2006-01-26  Wim Taymans  <wim@fluendo.com>
10371
10372         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10373         Add some debugging.
10374
10375 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10376
10377         * plugins/elements/gsttee.c: (gst_tee_do_push),
10378         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10379         handles pad being NOT_LINKED or in WRONG_STATE.
10380
10381 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10382
10383         * win32/MANIFEST:
10384           more updating
10385
10386 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10387
10388         * win32/MANIFEST:
10389           remove obsolete entry
10390
10391 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10392
10393         * docs/gst/gstreamer-sections.txt:
10394         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10395         (gst_bin_iterate_sources), (gst_bin_send_event):
10396         * gst/gstbin.h:
10397         * gst/gstelement.c: (gst_element_send_event):
10398         * gst/gstevent.c:
10399         * gst/gstpad.c: (gst_pad_send_event):
10400           added code for downstream events, reviewed docs in gstevent.c
10401
10402 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10403
10404         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10405         We only query position using the clock in the playing state.
10406         Query peer in the other cases.
10407         * win32/common/config.h: Updates.
10408
10409 2006-01-24  Wim Taymans  <wim@fluendo.com>
10410
10411         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10412         A clock entry that is scheduled for the exact time of the
10413         clock is still in time.
10414
10415         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10416         (gst_base_sink_do_sync):
10417         Add some more debug info.
10418
10419 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10420
10421         * win32/vs7:
10422           Add new vs7 project files and solution.
10423
10424 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10425
10426         * win32/vs7:
10427           all files removed as they were out-dated.
10428
10429 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10430
10431         * docs/random/release:
10432           update notes
10433         * gst/gstbin.c: (gst_bin_init):
10434         * gst/gstbus.c: (gst_bus_new):
10435         * gst/gstbus.h:
10436         * gst/gstpipeline.c: (gst_pipeline_init):
10437           use gst_bus_new(), improve logging, fix docs
10438         * win32/common/config.h:
10439           update for cvs build
10440
10441 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10442
10443         * autogen.sh:
10444           up required version of automake to 1.7
10445
10446 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10447
10448         * win32/common/libgstreamer.def:
10449           export gst_buffer_is_metadata_writable
10450
10451 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10452
10453         * docs/gst/gstreamer-sections.txt:
10454         * gst/gstevent.h:
10455           Add gst_event_replace() (#327001)
10456
10457 2006-01-20  Wim Taymans  <wim@fluendo.com>
10458
10459         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10460         Make it actually compile too..
10461
10462 2006-01-20  Wim Taymans  <wim@fluendo.com>
10463
10464         * gst/gstcaps.c:
10465         Clarify behaviour of _is_equal() when passing NULL parameters.
10466
10467         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10468         (gst_pad_set_caps):
10469         Cleanups. Don't unref NULL caps.
10470         When setting the same caps, protect caps of the pad with
10471         proper lock.
10472         Use full functionality of _is_equal() when comparing caps.
10473
10474 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10475
10476         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10477         Don't loop infinitely if there are no buffers to present. Partially
10478         fixes #327197, but collectpads is just broken for reusing elements
10479         to do multiple encodes atm.
10480
10481 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10482
10483         * tools/gst-inspect.c: (print_element_features):
10484         * tools/gst-xmlinspect.c: (main):
10485         URL_HANDLER is not a plugin feature we can search for in
10486         the registry.
10487
10488 2006-01-19  Edward Hervey  <edward@fluendo.com>
10489
10490         * gst/gstelement.c: (gst_element_pads_activate): 
10491         When activating, do src pads first, then sink pads.
10492         When de-activating, do sink pads first, then src pads.
10493
10494 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10495
10496         * docs/gst/gstreamer-sections.txt:
10497         Add gst_index_add_associationv to the docs
10498
10499 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10500
10501         * gst/gstevent.c:
10502           Fix docs typo
10503
10504         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10505         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10506           Do some refactoring. Doesn't actually change functionality,
10507           but makes landing the DRAIN event easier later.
10508
10509 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10510
10511         * docs/pwg/advanced-scheduling.xml:
10512           Update from 0.9.x to 0.10 API and make example a bit
10513           clearer.
10514
10515 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10516
10517         * docs/gst/gstreamer-sections.txt:
10518         Add gst_buffer_(is|make)_metadata_writable methods.
10519
10520 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10521
10522         * docs/design/part-sparsestreams.txt:
10523         Update sparse streams doc, hopefully for greater clarity
10524
10525 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10526
10527         * docs/design/part-events.txt:
10528         Remove mention of FILLER events.
10529         Add DRAIN event.
10530
10531         * docs/design/part-sparsestreams.txt:
10532         Write some things about using NEWSEGMENT to keep sparse streams
10533         flowing.
10534
10535 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10536
10537         * gst/gstbin.c: (gst_bin_dispose):
10538           Guard gst_object_unref call against a NULL object (dispose
10539           can theoretically be called multiple times).
10540           
10541 2006-01-18  Wim Taymans  <wim@fluendo.com>
10542
10543         * gst/gstbin.c: (gst_bin_element_set_state):
10544         * gst/gstclock.c: (gst_clock_id_wait):
10545         Added some more debug info.
10546
10547         * libs/gst/base/gstadapter.c:
10548         Added more docs.
10549
10550         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10551         (gst_base_sink_do_sync), (gst_base_sink_chain):
10552         Added some comments.
10553
10554 2006-01-18  Wim Taymans  <wim@fluendo.com>
10555
10556         * tests/check/Makefile.am:
10557         * tests/check/elements/fakesink.c: (chain_async_buffer),
10558         (chain_async), (chain_async_return), (GST_START_TEST),
10559         (fakesink_suite), (main):
10560         Added fakesink test that checks prerolling and clipping
10561         behaviour.
10562
10563         * tests/check/gst/gstutils.c: (GST_START_TEST):
10564         Make check run faster so that buildbots don't timeout.
10565
10566 2006-01-18  Wim Taymans  <wim@fluendo.com>
10567
10568         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10569         (gst_base_sink_do_sync):
10570         Some cleanups.
10571         When the sink finishes blocking on the preroll buffer, it can
10572         immediatly render it instead of rendering when the next buffer
10573         arrives.
10574
10575 2006-01-18  Wim Taymans  <wim@fluendo.com>
10576
10577         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10578         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10579         (gst_base_sink_chain):
10580         Small cleanups.
10581         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10582         Don't store _last_stop if the buffer is dropped.
10583
10584 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10585
10586         * plugins/elements/gsttypefindelement.c:
10587         (gst_type_find_element_class_init):
10588           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10589           object method handler that sets the caps on the pad and we want
10590           that to happen before we emit the signal (fixes e.g. feeding a
10591           plain text file to decodebin).
10592
10593 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10594
10595         * gst/gstplugin.c: Add MPL and Proprietary as license options
10596
10597 2006-01-18  Andy Wingo  <wingo@pobox.com>
10598
10599         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10600         symbol was exported before, it appears this was just an oversight.
10601         Fixes #168703.
10602         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10603
10604         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10605         prototype to gint. OK since this prototype was not in the header.
10606
10607 2006-01-17  Andy Wingo  <wingo@pobox.com>
10608
10609         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10610         registry while we remove plugins.
10611
10612         * tools/gst-inspect.c (print_element_info): Don't unref the
10613         factory arg, that should be the responsibility of whatever code
10614         received the ref. Fixes a double-free when called from
10615         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10616         (main): Unref the factory if we have one.
10617         (print_element_list): No change -- relies on the
10618         plugin_feature_list_free to free the list of features.
10619
10620 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10621
10622         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10623         (gst_buffer_make_metadata_writable):
10624         * gst/gstbuffer.h:
10625         * libs/gst/base/gstbasetransform.c:
10626         (gst_base_transform_prepare_output_buf):
10627         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10628         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10629           Replace gst_buffer_(make|is)_metadata_writable patch now
10630           that the release is out.
10631
10632 2006-01-17  Andy Wingo  <wingo@pobox.com>
10633
10634         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10635         in the present tense without reference to versions.
10636
10637         * gst/gstregistry.c (gst_registry_add_plugin)
10638         (gst_registry_remove_plugin, gst_registry_remove_feature)
10639         (gst_registry_find_feature, gst_registry_get_feature_list)
10640         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10641         (gst_registry_lookup, gst_registry_scan_path)
10642         (_gst_registry_remove_cache_plugins)
10643         (gst_registry_get_feature_list_by_plugin): Add argument
10644         validation.
10645
10646 === release 0.10.2 ===
10647
10648 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10649
10650         * configure.ac:
10651           releasing 0.10.2, "If man is five"
10652
10653 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10654
10655         * gst/gstbuffer.c:
10656         * gst/gstbuffer.h:
10657         * libs/gst/base/gstbasetransform.c:
10658         (gst_base_transform_prepare_output_buf):
10659         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10660         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10661           Back out patch until after the release.
10662
10663 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10664
10665         * gst/gstminiobject.c:
10666           Spelling fix in docs.
10667         * ChangeLog - remove conflict indicator
10668
10669 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10670
10671         Reviewed By: Andy Wingo
10672
10673         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10674         (gst_buffer_make_metadata_writable):
10675         * gst/gstbuffer.h:
10676           Add gst_buffer_(is|make)_metadata_writable as analogues of
10677           gst_buffer_(is|make)_writable.
10678
10679         * libs/gst/base/gstbasetransform.c:
10680         (gst_base_transform_prepare_output_buf):
10681         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10682           Use name gst_buffer_(is|make)_metadata_writable functions.
10683
10684         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10685           Test gst_buffer_(is|make)_metadata_writable
10686         
10687           (Closes: #324162)
10688
10689 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10690
10691         * docs/manual/Makefile.am:
10692           don't do parallel make
10693         * configure.ac:
10694           AC_SUBST HOST_CPU
10695         * win32/common/config.h.in:
10696           add generations for HOST_CPU and GST_MAJORMINOR
10697         * win32/common/config.h:
10698           commit generated result
10699
10700 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
10701
10702         * docs/manual/appendix-integration.xml:
10703           Update GNOME integration section to use gst_init_get_option_group()
10704           instead of the old popt stuff (#322911). Also, GNOME applications
10705           should  now use gconf*sink and gconf*src instead of the old gconf
10706           helper lib we had.
10707
10708 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
10709
10710
10711         * docs/gst/gstreamer-docs.sgml:
10712         * docs/gst/gstreamer-sections.txt:
10713         * docs/libs/gstreamer-libs-sections.txt:
10714           add new API entries to the docs
10715         * libs/gst/controller/Makefile.am:
10716         * libs/gst/controller/gstcontroller.c:
10717         * libs/gst/controller/gstcontroller.h:
10718         * libs/gst/controller/gstcontrollerprivate.h:
10719         * libs/gst/controller/gsthelper.c:
10720         * libs/gst/controller/gstinterpolation.c:
10721           move private structs to private header
10722         * po/README:
10723           gstreamer-0.7 -> gstreamer-0.10
10724         * tests/check/libs/struct_i386.h:
10725           remove private structs
10726
10727 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10728
10729         * plugins/indexers/Makefile.am:
10730           Fixes as part of #317048
10731
10732 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10733
10734         * plugins/indexers/Makefile.am:
10735           fix #316086 - compilation when mmap is missing
10736
10737 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
10738
10739         * libs/gst/base/gstbasesink.c:
10740           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
10741           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10742         * win32/common/config.h:
10743           added some defines GST_MAJORMINOR and HOST_CPU
10744         * win32/common/libgstbase.def:
10745         * win32/common/libgstreamer.def:
10746           added some exported functions.
10747
10748 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10749
10750         * libs/gst/controller/gstcontroller.c:
10751         (gst_controlled_property_set_interpolation_mode),
10752         (gst_controlled_property_new):
10753         * libs/gst/controller/gstcontroller.h:
10754         * libs/gst/controller/gstinterpolation.c:
10755         (interpolate_none_get_string_value_array):
10756           make G_TYPE_STRING controlable
10757
10758 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10759
10760         * tools/README:
10761         * tools/gst-feedback.1.in:
10762         * tools/gst-inspect.1.in:
10763         * tools/gst-launch.1.in:
10764         * tools/gst-md5sum.1.in:
10765         * tools/gst-typefind.1.in:
10766         * tools/gst-xmlinspect.1.in:
10767         * tools/gst-xmllaunch.1.in:
10768           cleanup man-pages, remove reference to gst-register, document env-vars
10769
10770 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
10771
10772         * gst/gstbuffer.c: (gst_buffer_span):
10773           gst_buffer_span should copy the timestamp of the first buffer
10774           if they were both originally overlapping subbuffers of the 
10775           same parent, using the same logic as the 'slow copy' case.
10776
10777 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
10778
10779         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10780           Need to awaken ALL the pads when we pop a buffer, otherwise
10781           collectpads only works when there is 2 input streams.
10782
10783 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
10784
10785         * docs/random/ensonic/media-device-daemon.txt:
10786           more ideas (dbus)
10787         * gst/gstbuffer.c:
10788           fix doc example, add clarification
10789         * tools/gst-launch.1.in:
10790           add initial info about GST_PLUGIN_PATH, needs more work
10791
10792 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10793
10794         * docs/manual/basics-bins.xml:
10795         * docs/manual/basics-elements.xml:
10796         * docs/manual/intro-basics.xml:
10797           Some more minor docs additions and updates.
10798
10799 2006-01-11  Wim Taymans  <wim@fluendo.com>
10800
10801         * docs/manual/basics-bins.xml:
10802         * docs/manual/basics-elements.xml:
10803         Some small fixes as pointed out by Ser-ver on IRC.
10804
10805 2006-01-10  Edward Hervey  <edward@fluendo.com>
10806
10807         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10808         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10809         the single-segment mode.
10810
10811 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
10812
10813         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10814
10815         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10816         (gst_base_src_perform_seek), (gst_base_src_send_event),
10817         (gst_base_src_set_property), (gst_base_src_get_property),
10818         (gst_base_src_loop), (gst_base_src_start),
10819         (gst_base_src_activate_push):
10820         * libs/gst/base/gstbasesrc.h:
10821           Name (private) union; makes Sun's Forte compiler happy (#324900).
10822
10823 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10824
10825         * README:
10826           gst-register is gone.
10827
10828 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10829
10830         * gst/gstvalue.c: (_gst_value_initialize):
10831           make the G_TYPE_DATE instantiation work if debug is disabled
10832
10833 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
10834
10835         * gst/gstmessage.c: (gst_message_parse_tag),
10836         (gst_message_parse_error), (gst_message_parse_warning):
10837           Don't crash when return location for error/warning debug
10838           string is NULL; add fact that return locations can be
10839           NULL to docs where appropriate.
10840
10841 2006-01-05  Wim Taymans  <wim@fluendo.com>
10842
10843         * gst/gstplugin.c: (gst_plugin_load_file):
10844         Replace strdup by g_strdup.
10845
10846 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10847
10848         * docs/pwg/advanced-types.xml:
10849           fix doc borkage
10850
10851 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10852
10853         submitted by: Abel Cheung
10854
10855         * po/LINGUAS:
10856         * po/zh_TW.po:
10857           Added Chinese (traditional) translation
10858
10859 2006-01-04  Wim Taymans  <wim@fluendo.com>
10860
10861         * docs/manual/basics-pads.xml:
10862         * docs/plugins/Makefile.am:
10863         * docs/plugins/gstreamer-plugins-docs.sgml:
10864         * docs/plugins/gstreamer-plugins-sections.txt:
10865         * docs/pwg/advanced-clock.xml:
10866         * docs/pwg/advanced-scheduling.xml:
10867         * docs/pwg/advanced-types.xml:
10868         * plugins/elements/gstfdsink.c:
10869         * plugins/elements/gstfdsrc.c:
10870         * plugins/elements/gstfdsrc.h:
10871         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10872         * plugins/elements/gstidentity.h:
10873         * plugins/elements/gstqueue.h:
10874         * plugins/elements/gsttee.c:
10875         * plugins/elements/gsttee.h:
10876         * plugins/elements/gsttypefindelement.c:
10877         (gst_type_find_element_class_init):
10878         * plugins/elements/gsttypefindelement.h:
10879         Small updates to various docs.
10880         Added core plugins to docs.
10881
10882 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10883
10884         * common/gst.supp:
10885           add a suppression for liboil's uninitialized variable
10886
10887 2006-01-02  James Livingston  <jrl at ids dot org dot au>
10888
10889         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10890
10891         * gst/gstutils.h:
10892           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10893           macro, so that gcc doesn't complain if the -Wmissing-prototypes
10894           compiler switch is being used (#325429).
10895
10896 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
10897
10898         * gst/gstbin.c: (gst_bin_query):
10899           Disable duration query caching in bins until it gets
10900           fixed (see #324807).
10901
10902 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10903
10904         * tools/gst-inspect.c: (print_element_properties_info):
10905           Handle properties of POINTER and BOXED type.
10906
10907 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10908
10909         * gst/gst.c: (init_post):
10910           Init tags stuff and some other things before loading
10911           any static plugins (there may be other static plugins
10912           than just the GStreamer ones, and they may want to
10913           register their own tags or formats or whatever, and
10914           preferably without segfaulting).
10915
10916         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10917           Print at least a warning in the debug logs if we drop a
10918           query just because we don't know how to adjust the value
10919           in the particular format.
10920
10921 2005-12-24  David Schleef  <ds@schleef.org>
10922
10923         * tools/gstreamer-completion:
10924           Replacement for gst-complete written in sh and sed.  Only
10925           completes names of features, but that's 90% of what I want
10926           it for.  Properties are not available in registry.xml.  (Maybe
10927           they should be...)
10928
10929 === release 0.10.1 ===
10930
10931 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
10932
10933         * configure.ac:
10934           releasing 0.10.1, "Nollaig chridheil"
10935
10936 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
10937
10938         * docs/faq/cvs.xml:
10939           Add missing quote, should be make ERROR_CFLAGS="".
10940
10941 2005-12-20  Wim Taymans  <wim@fluendo.com>
10942
10943         * docs/design/part-trickmodes.txt:
10944         More documentation on trickmodes.
10945
10946 2005-12-20  Edward Hervey  <edward@fluendo.com>
10947
10948         * gst/gstcaps.c: (gst_static_caps_get_type):
10949         * gst/gstcaps.h:
10950           API addition: GST_TYPE_STATIC_CAPS
10951         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10952         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10953         * gst/gstpadtemplate.h:
10954           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10955         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10956         bindings.
10957
10958 2005-12-18  Wim Taymans  <wim@fluendo.com>
10959
10960         * libs/gst/base/gstadapter.c:
10961         * libs/gst/base/gstadapter.h:
10962         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10963         (gst_base_sink_get_position):
10964         * libs/gst/base/gstbasesink.h:
10965         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10966         (gst_base_src_default_query), (gst_base_src_default_do_seek),
10967         (gst_base_src_do_seek), (gst_base_src_perform_seek),
10968         (gst_base_src_send_event), (gst_base_src_update_length),
10969         (gst_base_src_get_range), (gst_base_src_loop),
10970         (gst_base_src_start):
10971         * libs/gst/base/gstbasesrc.h:
10972         * libs/gst/base/gstbasetransform.h:
10973         * libs/gst/base/gstcollectpads.h:
10974         * libs/gst/base/gstpushsrc.c:
10975         * libs/gst/base/gstpushsrc.h:
10976         * libs/gst/dataprotocol/dataprotocol.c:
10977         * libs/gst/dataprotocol/dataprotocol.h:
10978         * libs/gst/net/gstnetclientclock.h:
10979         * libs/gst/net/gstnettimeprovider.h:
10980         Documentation updates.
10981
10982 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * docs/manual/basics-helloworld.xml:
10985           Remove superfluous closing bracket in helloworld example.
10986
10987 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
10988
10989         * tools/gst-launch.1.in:
10990           Update gst-launch man page; add a section with useful
10991           environment variables. Fixes #323882.
10992
10993 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
10994
10995         * gst/gst.c:
10996         * gst/gst_private.h:
10997           change some char* into char[]
10998
10999 2005-12-16  Wim Taymans  <wim@fluendo.com>
11000
11001         * gst/gstregistryxml.c: (load_feature):
11002         Cleanups.
11003         Don't use g_object_unref on GstObjects so that we avoid
11004         leaks on unsafe glibs.
11005
11006 2005-12-16  Wim Taymans  <wim@fluendo.com>
11007
11008         * gst/gstbin.c: (gst_bin_recalc_state):
11009         Small doc updates.
11010
11011 2005-12-16  Wim Taymans  <wim@fluendo.com>
11012
11013         * common/check.mak:
11014         Added make forever target for check.
11015
11016 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11017
11018         * gst/gst.c: (init_post):
11019           make the registry cache file HOST_CPU-dependent
11020
11021 2005-12-16  Andy Wingo  <wingo@pobox.com>
11022
11023         * plugins/elements/gstbufferstore.c
11024         (gst_buffer_store_cleared_func): Pay attention to g_list_append
11025         return value.
11026
11027         * tests/check/gst/gstobject.c
11028         (test_fake_object_name_threaded_unique): Pay attention to
11029         g_list_sort return value.
11030
11031 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11032
11033         * tools/gst-feedback-m.m:
11034           Update for 0.9/0.10 (fixes #323870).
11035
11036 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
11037
11038         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11039           Fix lcopy for mini objects, the mini object needs to be ref'ed.
11040           
11041         * tests/check/gst/gstminiobject.c: (my_foo_init),
11042         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11043         (test_value_collection), (gst_mini_object_suite):
11044           Add test to ensure refcounts end up as expected when passing
11045           GstMiniObjects through g_object_get() and g_object_set().
11046
11047 2005-12-14  Julien MOUTTE  <julien@moutte.net>
11048
11049         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11050         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11051         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11052         of collectpads. This version removes a lot of races without
11053         touching API/ABI. Yay !
11054
11055 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
11056
11057         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11058           Don't allow activation of a srcpad in pull_range if it has no
11059           getrange function.
11060           Change some debug statements to be a little clearer
11061
11062         * plugins/elements/gsttypefindelement.c:
11063         (gst_type_find_handle_src_query):
11064           Check that we have a peer before executing queries thereupon.
11065
11066         * tests/examples/metadata/read-metadata.c: (message_loop):
11067           Use gst_bus_pop instead of gst_bus_poll when we just want it to
11068           immediately return us any available message with 0 timeout.
11069
11070 2005-12-12  Michael Smith  <msmith@fluendo.com>
11071
11072         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11073           Don't unref factories after calling them.
11074         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11075         * plugins/elements/gsttypefindelement.c:
11076         (gst_type_find_element_chain):
11077           Free lists of factories after using them. Fixing typefinding memory
11078           leaks.
11079
11080 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11081
11082         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11083         (gst_plugin_feature_load):
11084           more meaningful debug output
11085         * configure.ac:
11086         * tests/Makefile.am:
11087         * tests/old/examples/Makefile.am:
11088           make make distcheck happy again
11089
11090 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11091
11092         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11093           Catch the special case where we are operating chain-based,
11094           but the downstream peer pad has no chain function. Emit a
11095           custom error message in this case instead of letting the
11096           core generate one implying that this is some sort of core
11097           bug. It's not, it just means that whatever got plugged
11098           into the pipeline downstream when we announced the type
11099           can only operate pull-based, while our source can only
11100           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11101           Error string has not been marked for translation yet, as
11102           it probably needs some more work first.
11103
11104         (gst_type_find_element_get_best_possibility):
11105           Add helper function to find the best of all available
11106           found possibilities that qualify given the min. threshold.
11107
11108         (gst_type_find_element_handle_event):
11109           Fix the case where we get an EOS while still in TYPEFIND
11110           mode (we want to chose the best of all possible types,
11111           not just the first type that happens to be in our unsorted
11112           list of possible types).
11113
11114         (gst_type_find_element_chain):
11115           Make sure we return GST_FLOW_ERROR when we errored out
11116           in stop_typefinding(); also, don't just find the best of
11117           all found type entries and then use the last examined
11118           type entry, but actually use the best entry.
11119
11120 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11121
11122         * tests/examples/typefind/typefind.c: (type_found):
11123         * tests/examples/xml/runxml.c: (xml_loaded):
11124           More gcc4 fixes and a mem leak fix.
11125
11126 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11127
11128         * tests/examples/xml/createxml.c: (object_saved):
11129           gcc 4 fixes
11130
11131 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11132
11133         * tests/Makefile.am:
11134           enable the examples even more
11135
11136 2005-12-12  Andy Wingo  <wingo@pobox.com>
11137
11138         * libs/gst/net/gstnettimeprovider.c
11139         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11140         (gst_net_time_provider_set_property)
11141         (gst_net_time_provider_get_property):
11142         API addition: Export "active" as a GObject property.
11143         (gst_net_time_provider_thread): Only respond to time queries if
11144         the time provider is active.
11145
11146         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11147         NetTimeProvider, preserving binary compat.
11148
11149 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11150
11151         * tests/examples/controller/audio-example.c: (main):
11152         * tests/examples/launch/Makefile.am:
11153           convert comments again
11154
11155 2005-12-12  Wim Taymans  <wim@fluendo.com>
11156
11157         * libs/gst/base/gstpushsrc.c:
11158         Fix typo.
11159
11160 2005-12-12  Wim Taymans  <wim@fluendo.com>
11161
11162         * docs/libs/gstreamer-libs-sections.txt:
11163         Added new symbol to docs.
11164
11165         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11166         (gst_base_src_init), (gst_base_src_set_format),
11167         (gst_base_src_default_query), (gst_base_src_query),
11168         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11169         (gst_base_src_perform_seek), (gst_base_src_send_event),
11170         (gst_base_src_default_event), (gst_base_src_event_handler),
11171         (gst_base_src_set_property), (gst_base_src_get_property),
11172         (gst_base_src_wait), (gst_base_src_do_sync),
11173         (gst_base_src_update_length), (gst_base_src_get_range),
11174         (gst_base_src_check_get_range), (gst_base_src_loop),
11175         (gst_base_src_default_negotiate), (gst_base_src_start),
11176         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11177         (gst_base_src_change_state):
11178         * libs/gst/base/gstbasesrc.h:
11179         Implement seeking to other formats than _BYTES.
11180         Implement more seeking methods correctly.
11181         Doc updates.
11182         Added query vmethod.
11183         Added do_seek vmethod to make life easier for subclasses
11184         when seeking.
11185         API addition: gst_base_src_set_format()
11186
11187 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11188
11189         * tests/examples/Makefile.am:
11190           added that too
11191
11192 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11193
11194         * configure.ac:
11195         * docs/random/ensonic/media-device-daemon.txt:
11196         * tests/examples/controller/.cvsignore:
11197         * tests/examples/controller/Makefile.am:
11198         * tests/examples/controller/audio-example.c: (main):
11199         * tests/examples/helloworld/.cvsignore:
11200         * tests/examples/helloworld/Makefile.am:
11201         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11202         * tests/examples/launch/.cvsignore:
11203         * tests/examples/launch/Makefile.am:
11204         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11205         * tests/examples/metadata/.cvsignore:
11206         * tests/examples/metadata/Makefile.am:
11207         * tests/examples/metadata/read-metadata.c: (message_loop),
11208         (make_pipeline), (print_tag), (main):
11209         * tests/examples/queue/.cvsignore:
11210         * tests/examples/queue/Makefile.am:
11211         * tests/examples/queue/queue.c: (event_loop), (main):
11212         * tests/examples/typefind/.cvsignore:
11213         * tests/examples/typefind/Makefile.am:
11214         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11215         (main):
11216         * tests/examples/xml/.cvsignore:
11217         * tests/examples/xml/Makefile.am:
11218         * tests/examples/xml/createxml.c: (object_saved), (main):
11219         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11220         * tests/old/examples/Makefile.am:
11221         * tests/old/examples/TODO:
11222         * tests/old/examples/controller/.cvsignore:
11223         * tests/old/examples/controller/Makefile.am:
11224         * tests/old/examples/controller/audio-example.c:
11225         * tests/old/examples/helloworld/.cvsignore:
11226         * tests/old/examples/helloworld/Makefile.am:
11227         * tests/old/examples/helloworld/helloworld.c:
11228         * tests/old/examples/launch/.cvsignore:
11229         * tests/old/examples/launch/Makefile.am:
11230         * tests/old/examples/launch/mp3parselaunch.c:
11231         * tests/old/examples/launch/mp3play:
11232         * tests/old/examples/manual/Makefile.am:
11233         * tests/old/examples/metadata/Makefile.am:
11234         * tests/old/examples/metadata/read-metadata.c:
11235         * tests/old/examples/queue/.cvsignore:
11236         * tests/old/examples/queue/Makefile.am:
11237         * tests/old/examples/queue/queue.c:
11238         * tests/old/examples/typefind/.cvsignore:
11239         * tests/old/examples/typefind/Makefile.am:
11240         * tests/old/examples/typefind/typefind.c:
11241         * tests/old/examples/xml/.cvsignore:
11242         * tests/old/examples/xml/Makefile.am:
11243         * tests/old/examples/xml/createxml.c:
11244         * tests/old/examples/xml/runxml.c:
11245           applied some simple fixing to some examples
11246           re-enabled the working examples
11247
11248 2005-12-12  Wim Taymans  <wim@fluendo.com>
11249
11250         * gst/gstsegment.c: (gst_segment_init),
11251         (gst_segment_set_last_stop), (gst_segment_set_seek),
11252         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11253         (gst_segment_to_running_time):
11254         Added more documentation.
11255         Make sure the last_pos value is updated properly.
11256         Make sure to_stream_time and to_running_time don't
11257         operate on wrong values.
11258
11259         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11260         Update check.
11261
11262 2005-12-12  Michael Smith  <msmith@fluendo.com>
11263
11264         * plugins/elements/gsttypefindelement.c: (free_entry),
11265         (gst_type_find_element_chain):
11266           Now that we're not leaking factories, make sure we keep references
11267           to them while we need them.
11268
11269 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11270
11271         * tests/check/gst/struct_i386.h:
11272           ifdef out the XML structs
11273
11274 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11275
11276         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11277           floor is not needed, F is always positive; this obviates the
11278           need for adding -lm when building without libxml
11279
11280 2005-12-12  Wim Taymans  <wim@fluendo.com>
11281
11282         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11283         Take current playback rate into account when reporting
11284         the position.
11285
11286 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11287
11288         * docs/manual/mime-world.fig:
11289           Let's try this again, this time with a file that is
11290           actually in XFig format.
11291
11292 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11293
11294         * docs/manual/mime-world.fig:
11295           Add audioconvert element to diagram so that it
11296           matches the text and the code (fixes #319526).
11297
11298 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11299
11300         * docs/pwg/building-chainfn.xml:
11301         * docs/pwg/building-pads.xml:
11302         * docs/pwg/building-state.xml:
11303         * docs/pwg/other-source.xml:
11304           Update state change stuff for 0.10 (fixes #322969).
11305
11306 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11307
11308         * docs/manual/advanced-dataaccess.xml:
11309         * docs/manual/appendix-checklist.xml:
11310         * docs/manual/appendix-programs.xml:
11311         * docs/manual/basics-pads.xml:
11312         * docs/manual/highlevel-components.xml:
11313         * docs/manual/manual.xml:
11314           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11315           add converters in front of pipelines; remove curly
11316           brackets for threads stuff, they no longer exist; use
11317           GST_TYPE_FRACTION for framerates; update some pieces of
11318           code to 0.10, but there's plenty more to do.
11319
11320         * docs/manual/appendix-porting.xml:
11321           Expand on asynchroneous state changes; s/0.9/0.10/;
11322           mention disappearance of gst_init_get_popt_table()
11323           (fixes #322916).
11324
11325 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11326
11327         * docs/faq/using.xml:
11328           Spider no longer exists, and neither does gst-launch-ext.
11329           Update examples to use decodebin and playbin and put
11330           converters in front of sinks (fixes #323726).
11331
11332 2005-12-09  Michael Smith  <msmith@fluendo.com>
11333
11334         * plugins/elements/gsttypefindelement.c: (find_peek),
11335         (gst_type_find_element_chain):
11336           Fix leaking element factories in typefinding.
11337           Fix problem where we forgot about a probable type on non-seekable
11338           files, and thus later mis-typefound it.
11339
11340 2005-12-09  Michael Smith  <msmith@fluendo.com>
11341
11342         * common/m4/gst-makecontext.m4:
11343         * common/m4/gst-mcsc.m4:
11344         * configure.ac:
11345         * win32/common/config.h:
11346         * win32/common/config.h.in:
11347           Remove makecontext stuff; not used in 0.10 and causes problems on
11348           HPUX according to bug #322441
11349
11350 2005-12-07  Wim Taymans  <wim@fluendo.com>
11351
11352         * tests/check/Makefile.am:
11353         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11354         (main):
11355         * tests/check/libs/struct_i386.h:
11356         Added ABI check for libs
11357
11358 2005-12-07  Wim Taymans  <wim@fluendo.com>
11359
11360         * tests/check/Makefile.am:
11361         And add the struct_i386.h to dist.
11362
11363 2005-12-07  Wim Taymans  <wim@fluendo.com>
11364
11365         * tests/check/Makefile.am:
11366         * tests/check/gst/.cvsignore:
11367         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11368         (main):
11369         * tests/check/gst/struct_i386.h:
11370         Added check for ABI compatibility.
11371
11372 2005-12-07  Wim Taymans  <wim@fluendo.com>
11373
11374         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11375         (gst_fake_src_get_times), (gst_fake_src_create):
11376         Fix broken sync option, fixes #323259
11377
11378 2005-12-07  Wim Taymans  <wim@fluendo.com>
11379
11380         * gst/gstbuffer.c:
11381         Small docs update.
11382
11383         * gst/gstcaps.c: (gst_caps_is_equal):
11384         Don't assert on NULL <--> X. Fixes #323260
11385
11386         * gst/gstminiobject.c: (gst_mini_object_replace):
11387         If we're doing atomic operations, we might just as well use
11388         the proper way to get an atomic pointer.
11389
11390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11391         Clean up debugging.
11392
11393 2005-12-07  Michael Smith  <msmith@fluendo.com>
11394
11395         * gst/parse/grammar.y:
11396           Remove handling of { } for threads.
11397
11398 2005-12-06  David Schleef  <ds@schleef.org>
11399
11400         * libs/gst/base/gstbasetransform.c: speling fix.
11401
11402 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11403
11404         * docs/libs/tmpl/gstdataprotocol.sgml:
11405         * docs/random/omega/testing/gstobject.c:
11406         * gst/gst.c:
11407         * gst/gstclock.c:
11408         * gst/gstelement.c:
11409         * gst/gstelementfactory.c:
11410         * gst/gsterror.c:
11411         * gst/gstevent.c:
11412         * gst/gstghostpad.c:
11413         * gst/gstinfo.c:
11414         * gst/gstpadtemplate.c:
11415         * gst/gstregistryxml.c:
11416         * gst/gsttaglist.c:
11417         * gst/gsttagsetter.c:
11418         * gst/gsttypefind.c:
11419         * gst/gstvalue.c:
11420         * libs/gst/base/gstbasesrc.c:
11421         * libs/gst/net/gstnetclientclock.c:
11422         * libs/gst/net/gstnettimeprovider.c:
11423         * plugins/elements/gstfakesrc.c:
11424         * plugins/elements/gstfdsrc.c:
11425         * plugins/elements/gstfilesrc.c:
11426         * plugins/elements/gstidentity.c:
11427         * plugins/elements/gstqueue.c:
11428         * plugins/elements/gsttypefindelement.c:
11429         * plugins/indexers/gstfileindex.c:
11430         * plugins/indexers/gstmemindex.c:
11431         * tests/check/gst/gsttag.c:
11432         * tests/old/examples/cutter/cutter.c:
11433         * tests/old/examples/mixer/mixer.c:
11434         * tests/old/examples/xml/runxml.c: (main):
11435         * tests/old/testsuite/caps/normalisation.c:
11436         * tests/old/testsuite/debug/global.c:
11437         * tests/old/testsuite/parse/parse1.c:
11438         * tools/gst-xmlinspect.c:
11439         * win32/common/dirent.c:
11440           expand tabs
11441
11442 === release 0.10.0 ===
11443
11444 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11445
11446         * configure.ac:
11447           releasing 0.10.0, "Maroilles"
11448
11449 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11450
11451         submitted by: Funda Wang <fundawang@linux.net.cn>
11452
11453         * po/LINGUAS:
11454         * po/zh_CN.po:
11455           added Chinese (Traditional) translation
11456
11457 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11458
11459         * docs/gst/gstreamer-sections.txt:
11460         * docs/libs/tmpl/gstdataprotocol.sgml:
11461         * docs/random/thomasvs/TODO:
11462         * gst/gstutils.c:
11463         * gst/gstutils.h:
11464           fix docs
11465
11466 2005-12-05  Andy Wingo  <wingo@pobox.com>
11467
11468         patch by: Wim Taymans <wim@fluendo.com>
11469
11470         * libs/gst/base/gstbasetransform.c
11471         (gst_base_transform_prepare_output_buf)
11472         (gst_base_transform_buffer_alloc):
11473         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11474         alloc_buffer_and_set_caps.
11475
11476         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11477         set_caps on the source pad.
11478         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11479         alloc_buffer used to do. Fixes #322874.
11480
11481         * docs/gst/gstreamer-sections.txt: 
11482         * docs/design/part-negotiation.txt: 
11483         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11484         changes.
11485
11486 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11487
11488         patch by: Sebastien Moutte
11489
11490         * win32/MANIFEST:
11491         * win32/common/config.h.in:
11492         * win32/vs6/libgstcontroller.dsp:
11493           win32 build fixes
11494
11495 2005-12-05  Wim Taymans  <wim@fluendo.com>
11496
11497         * gst/gstcaps.c: (gst_caps_is_equal):
11498         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11499         (gst_fake_src_create):
11500         Back out previous code changes, leave doc updates, file bugs 
11501         instead. 
11502
11503 2005-12-05  Wim Taymans  <wim@fluendo.com>
11504
11505         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11506         (gst_fake_src_get_times), (gst_fake_src_create):
11507         * plugins/elements/gstfakesrc.h:
11508         Fix broken sync code.
11509
11510 2005-12-05  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/gstcaps.c: (gst_caps_is_equal):
11513         Comparing NULL against !NULL yields different caps, not a
11514         failure.
11515
11516 2005-12-05  Wim Taymans  <wim@fluendo.com>
11517
11518         * gst/gstpipeline.c:
11519         Fix small typo in docs.
11520
11521 2005-12-05  Andy Wingo  <wingo@pobox.com>
11522
11523         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11524
11525         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11526         registries/plugins with a MAJORMINOR one.
11527         (plugin_desc): Rename library from gstcoreleements to
11528         staticelements. Fixes #323222.
11529
11530 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11531
11532         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11533           Change debug category to 'collectpads' from 'collect_pads'
11534           (fixes #323250).
11535
11536 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11537
11538         patch by: Sebastien Moutte
11539
11540         * libs/gst/controller/gstinterpolation.c:
11541           use convert function for uint64/double
11542         * win32/vs6/libgstcontroller.dsp:
11543           link to GLib
11544
11545 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11546
11547         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11548         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11549         * gst/gstutils.h:
11550         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11551           add tests that seem to show that the guint64/gdouble conversions
11552           are correct.
11553
11554 2005-12-02  Wim Taymans  <wim@fluendo.com>
11555
11556         * gst/gstregistry.c: (gst_registry_add_path):
11557         * gst/gstregistry.h:
11558         * gst/gstregistryxml.c:
11559         Fix docs again.
11560
11561 2005-12-02  Wim Taymans  <wim@fluendo.com>
11562
11563         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11564         (gst_util_uint64_scale_int):
11565         Small cleanup.
11566
11567         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11568         Add debug log line.
11569
11570         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11571         Add FIXME.
11572
11573 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11574
11575         * win32/MANIFEST:
11576         * win32/common/config.h:
11577         * win32/vs6/gstreamer.dsw:
11578         * win32/vs6/libgstcoreelements.dsp:
11579         * win32/vs6/libgstelements.dsp:
11580           renamed core elements plugin
11581
11582 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11583
11584         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11585         (get_candidates):
11586           do piece-wise major/minor comparison so 0.9 < 0.10
11587           also allow .exe extensions for tools
11588
11589 2005-12-02  Michael Smith  <msmith@fluendo.com>
11590
11591         * gst/gst.c:
11592           Escape a % to make gtkdoc happier; bug 322958.
11593
11594 === release 0.9.7 ===
11595
11596 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11597
11598         * configure.ac:
11599           releasing 0.9.7, "My Dog Has No Nose"
11600
11601 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11602
11603         * common/gst-xmlinspect.py:
11604         * configure.ac:
11605         * docs/libs/tmpl/gstdataprotocol.sgml:
11606         * docs/random/release:
11607         * po/af.po:
11608         * po/az.po:
11609         * po/bg.po:
11610         * po/ca.po:
11611         * po/cs.po:
11612         * po/de.po:
11613         * po/en_GB.po:
11614         * po/fr.po:
11615         * po/it.po:
11616         * po/nb.po:
11617         * po/nl.po:
11618         * po/ru.po:
11619         * po/sq.po:
11620         * po/sr.po:
11621         * po/sv.po:
11622         * po/tr.po:
11623         * po/uk.po:
11624         * po/vi.po:
11625         * win32/common/config.h:
11626         * win32/common/config.h.in:
11627         * win32/vs6/gst_inspect.dsp:
11628         * win32/vs6/gst_launch.dsp:
11629         * win32/vs6/libgstbase.dsp:
11630         * win32/vs6/libgstelements.dsp:
11631         * win32/vs6/libgstreamer.dsp:
11632         * win32/vs7/GStreamer.vcproj:
11633         * win32/vs7/gst-inspect.vcproj:
11634         * win32/vs7/gst-launch.vcproj:
11635         * win32/vs7/libgstbase.vcproj:
11636           bump GST_MAJORMINOR to 0.10
11637           reset libtool version
11638
11639 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11640
11641         * po/LINGUAS:
11642         * po/bg.po:
11643           Added Bulgarian translation by (Alexander Shopov)
11644
11645 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11646
11647         * tests/check/gst/gstplugin.c:
11648           fix test
11649
11650 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11651
11652         * common/gst-xmlinspect.py:
11653         * common/gtk-doc-plugins.mak:
11654         * configure.ac:
11655         * docs/Makefile.am:
11656         * docs/gst/Makefile.am:
11657         * docs/gst/gstreamer-docs.sgml:
11658         * docs/gst/gstreamer-sections.txt:
11659         * docs/gst/gstreamer.types:
11660         * docs/gst/gstreamer.types.in:
11661         * docs/plugins/Makefile.am:
11662         * docs/plugins/gstreamer-plugins-docs.sgml:
11663         * docs/plugins/gstreamer-plugins-sections.txt:
11664         * docs/plugins/gstreamer-plugins.types:
11665         * docs/plugins/inspect.stamp:
11666         * docs/plugins/inspect/plugin-coreelements.xml:
11667         * docs/plugins/inspect/plugin-coreindexers.xml:
11668         * docs/plugins/scanobj-build.stamp:
11669         * gstreamer.spec.in:
11670         * plugins/elements/Makefile.am:
11671         * plugins/elements/gstelements.c:
11672         * plugins/elements/gstfakesink.c:
11673         * plugins/elements/gstfakesrc.c:
11674         * plugins/elements/gstfilesink.c:
11675         * plugins/elements/gstfilesrc.c:
11676         * plugins/elements/gstqueue.c:
11677         * plugins/indexers/Makefile.am:
11678         * plugins/indexers/gstindexers.c:
11679           document core plugins in a separate document just like all the
11680           others
11681           rename these plugins to something starting with core
11682
11683 2005-12-01  Andy Wingo  <wingo@pobox.com>
11684
11685         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11686         padding here before, but it missed the commit.
11687
11688 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11689
11690         * libs/gst/controller/gstinterpolation.c:
11691           whitespace prices have crashed, we should feel free to use some now
11692           use gst_guint64_to_gdouble
11693
11694 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11695
11696         * libs/gst/controller/gstcontroller.c:
11697         * libs/gst/controller/gsthelper.c:
11698         * libs/gst/controller/gstinterpolation.c:
11699         * libs/gst/controller/lib.c:
11700           wrap config.h include
11701
11702 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11703
11704         * docs/gst/gstreamer-sections.txt:
11705           update docs
11706
11707 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11708
11709         * plugins/elements/gstelements.c:
11710         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11711         (gst_fd_sink__class_init), (gst_fd_sink__init),
11712         (gst_fd_sink__chain), (gst_fd_sink__set_property),
11713         (gst_fd_sink__get_property):
11714         * plugins/elements/gstfdsink.h:
11715         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11716         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11717         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11718         (gst_fd_src_unlock), (gst_fd_src_set_property),
11719         (gst_fd_src_get_property), (gst_fd_src_create),
11720         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11721         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11722         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11723         (gst_fd_src_uri_handler_init):
11724         * plugins/elements/gstfdsrc.h:
11725         * plugins/elements/gstqueue.c: (gst_queue_get_type):
11726           more anal cleanup
11727
11728 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11729
11730         * docs/gst/Makefile.am:
11731         * docs/gst/gstreamer.types.in:
11732         * gst/Makefile.am:
11733           fix the docs build
11734
11735 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11736
11737         * configure.ac:
11738         * gst/Makefile.am:
11739         * gst/gst.c:
11740         * gst/gstplugin.h:
11741         * gst/gstregistry.h:
11742         * tests/benchmarks/complexity.c:
11743         * tests/benchmarks/mass-elements.c:
11744         * tests/check/Makefile.am:
11745         * tools/Makefile.am:
11746         * tools/gst-inspect.c:
11747         * tools/gst-xmlinspect.c:
11748           various fixes to make
11749           --disable-nls --disable-registry --disable-loadsave
11750           --disable-parse --disable-gst-debug
11751           work and get the core .so down to 360444 bytes after stripping
11752
11753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11754
11755         * Makefile.am:
11756         * configure.ac:
11757           descend into tests
11758         * docs/random/thomasvs/TODO:
11759         * tests/Makefile.am:
11760         * tests/README:
11761           add a README
11762
11763 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11764
11765         * win32/GStreamer.vcproj:
11766         * win32/MANIFEST:
11767         * win32/Makefile:
11768         * win32/Makefile.inspect:
11769         * win32/Makefile.launch:
11770         * win32/Makefile.register:
11771         * win32/README.txt:
11772         * win32/gst-inspect.vcproj:
11773         * win32/gst-launch.vcproj:
11774         * win32/gst-register.vcproj:
11775         * win32/gstelements.vcproj:
11776         * win32/gstgetbits.def:
11777         * win32/gstgetbits.vcproj:
11778         * win32/gstreamer-dbg.def:
11779         * win32/gstreamer.def:
11780         * win32/libgstbase.def:
11781         * win32/libgstbase.vcproj:
11782         * win32/link_oldruntime.c:
11783         * win32/mman.c:
11784         * win32/mman.h:
11785         * win32/mman.inl:
11786         * win32/msvc71.sln:
11787           move even more stuff, win32/ is nice and clean now
11788
11789 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11790
11791         * libs/gst/control/.cvsignore:
11792         * win32/MANIFEST:
11793         * win32/config.h:
11794         * win32/dirent.c:
11795         * win32/dirent.h:
11796         * win32/gstbytestream.def:
11797         * win32/gstbytestream.vcproj:
11798         * win32/gstconfig.h:
11799         * win32/gstenumtypes.c:
11800         * win32/gstenumtypes.h:
11801         * win32/gstoptimalscheduler.vcproj:
11802         * win32/gstversion.h:
11803         * win32/gtchar.h:
11804         * win32/testsuite/bins.vcproj:
11805         * win32/testsuite/bytestream.vcproj:
11806         * win32/testsuite/caps.vcproj:
11807         * win32/testsuite/cleanup.vcproj:
11808         * win32/testsuite/clock.vcproj:
11809         * win32/testsuite/debug.vcproj:
11810         * win32/testsuite/dlopen.vcproj:
11811         * win32/testsuite/dynparams.vcproj:
11812         * win32/testsuite/elements.vcproj:
11813         * win32/testsuite/ghostpads.vcproj:
11814         * win32/testsuite/indexers.vcproj:
11815         * win32/testsuite/negotiation.vcproj:
11816         * win32/testsuite/parse.vcproj:
11817         * win32/testsuite/plugin.vcproj:
11818         * win32/testsuite/refcounting.vcproj:
11819         * win32/testsuite/schedulers.vcproj:
11820         * win32/testsuite/states.vcproj:
11821         * win32/testsuite/tags.vcproj:
11822         * win32/testsuite/threads.vcproj:
11823           remove old win32 stuff that isn't maintained and should be
11824           reorganized
11825
11826 2005-11-30  Andy Wingo  <wingo@pobox.com>
11827
11828         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11829         loading the gst.interfaces python module bork.
11830
11831         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11832         available since GLib 2.2. Fixes #318031.
11833
11834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11835
11836         * Makefile.am:
11837         * check/.cvsignore:
11838         * check/Makefile.am:
11839         * check/elements/.cvsignore:
11840         * check/elements/fakesrc.c:
11841         * check/elements/fdsrc.c:
11842         * check/elements/identity.c:
11843         * check/generic/.cvsignore:
11844         * check/generic/states.c:
11845         * check/gst-libs/.cvsignore:
11846         * check/gst-libs/controller.c:
11847         * check/gst-libs/gdp.c:
11848         * check/gst/.cvsignore:
11849         * check/gst/capslist.h:
11850         * check/gst/gst.c:
11851         * check/gst/gstbin.c:
11852         * check/gst/gstbuffer.c:
11853         * check/gst/gstbus.c:
11854         * check/gst/gstcaps.c:
11855         * check/gst/gstelement.c:
11856         * check/gst/gstevent.c:
11857         * check/gst/gstghostpad.c:
11858         * check/gst/gstiterator.c:
11859         * check/gst/gstmessage.c:
11860         * check/gst/gstminiobject.c:
11861         * check/gst/gstobject.c:
11862         * check/gst/gstpad.c:
11863         * check/gst/gstpipeline.c:
11864         * check/gst/gstplugin.c:
11865         * check/gst/gstsegment.c:
11866         * check/gst/gststructure.c:
11867         * check/gst/gstsystemclock.c:
11868         * check/gst/gsttag.c:
11869         * check/gst/gstutils.c:
11870         * check/gst/gstvalue.c:
11871         * check/net/.cvsignore:
11872         * check/net/gstnetclientclock.c:
11873         * check/net/gstnettimeprovider.c:
11874         * check/pipelines/.cvsignore:
11875         * check/pipelines/cleanup.c:
11876         * check/pipelines/simple_launch_lines.c:
11877         * check/pipelines/stress.c:
11878         * check/states/.cvsignore:
11879         * check/states/sinks.c:
11880         * configure.ac:
11881         * examples/Makefile.am:
11882         * examples/appreader/.cvsignore:
11883         * examples/appreader/Makefile.am:
11884         * examples/appreader/appreader.c:
11885         * examples/controller/.cvsignore:
11886         * examples/controller/Makefile.am:
11887         * examples/controller/audio-example.c:
11888         * examples/cutter/.cvsignore:
11889         * examples/cutter/Makefile.am:
11890         * examples/cutter/cutter.c:
11891         * examples/cutter/cutter.h:
11892         * examples/events/Makefile.am:
11893         * examples/events/seek.c:
11894         * examples/helloworld/.cvsignore:
11895         * examples/helloworld/Makefile.am:
11896         * examples/helloworld/helloworld.c:
11897         * examples/helloworld2/.cvsignore:
11898         * examples/helloworld2/Makefile.am:
11899         * examples/helloworld2/helloworld2.c:
11900         * examples/launch/.cvsignore:
11901         * examples/launch/Makefile.am:
11902         * examples/launch/mp3parselaunch.c:
11903         * examples/launch/mp3play:
11904         * examples/manual/.cvsignore:
11905         * examples/manual/Makefile.am:
11906         * examples/manual/extract.pl:
11907         * examples/metadata/Makefile.am:
11908         * examples/metadata/read-metadata.c:
11909         * examples/mixer/.cvsignore:
11910         * examples/mixer/Makefile.am:
11911         * examples/mixer/mixer.c:
11912         * examples/mixer/mixer.h:
11913         * examples/pingpong/.cvsignore:
11914         * examples/pingpong/Makefile.am:
11915         * examples/pingpong/pingpong.c:
11916         * examples/plugins/.cvsignore:
11917         * examples/plugins/Makefile.am:
11918         * examples/plugins/example.c:
11919         * examples/plugins/example.h:
11920         * examples/pwg/.cvsignore:
11921         * examples/pwg/Makefile.am:
11922         * examples/pwg/extract.pl:
11923         * examples/queue/.cvsignore:
11924         * examples/queue/Makefile.am:
11925         * examples/queue/queue.c:
11926         * examples/queue2/.cvsignore:
11927         * examples/queue2/Makefile.am:
11928         * examples/queue2/queue2.c:
11929         * examples/queue3/.cvsignore:
11930         * examples/queue3/Makefile.am:
11931         * examples/queue3/queue3.c:
11932         * examples/queue4/.cvsignore:
11933         * examples/queue4/Makefile.am:
11934         * examples/queue4/queue4.c:
11935         * examples/retag/.cvsignore:
11936         * examples/retag/Makefile.am:
11937         * examples/retag/retag.c:
11938         * examples/retag/transcode.c:
11939         * examples/thread/.cvsignore:
11940         * examples/thread/Makefile.am:
11941         * examples/thread/thread.c:
11942         * examples/typefind/.cvsignore:
11943         * examples/typefind/Makefile.am:
11944         * examples/typefind/typefind.c:
11945         * examples/xml/.cvsignore:
11946         * examples/xml/Makefile.am:
11947         * examples/xml/createxml.c:
11948         * examples/xml/runxml.c:
11949         * tests/Makefile.am:
11950         * tests/check/Makefile.am:
11951         * testsuite/.cvsignore:
11952         * testsuite/Makefile.am:
11953         * testsuite/Rules:
11954         * testsuite/caps/.cvsignore:
11955         * testsuite/caps/Makefile.am:
11956         * testsuite/caps/app_fixate.c:
11957         * testsuite/caps/audioscale.c:
11958         * testsuite/caps/caps.c:
11959         * testsuite/caps/caps.h:
11960         * testsuite/caps/caps_strings:
11961         * testsuite/caps/compatibility.c:
11962         * testsuite/caps/deserialize.c:
11963         * testsuite/caps/enumcaps.c:
11964         * testsuite/caps/eratosthenes.c:
11965         * testsuite/caps/filtercaps.c:
11966         * testsuite/caps/fixed.c:
11967         * testsuite/caps/fraction-convert.c:
11968         * testsuite/caps/fraction-multiply-and-zero.c:
11969         * testsuite/caps/intersect2.c:
11970         * testsuite/caps/intersection.c:
11971         * testsuite/caps/normalisation.c:
11972         * testsuite/caps/random.c:
11973         * testsuite/caps/renegotiate.c:
11974         * testsuite/caps/sets.c:
11975         * testsuite/caps/simplify.c:
11976         * testsuite/caps/string-conversions.c:
11977         * testsuite/caps/structure.c:
11978         * testsuite/caps/subtract.c:
11979         * testsuite/caps/union.c:
11980         * testsuite/debug/.cvsignore:
11981         * testsuite/debug/Makefile.am:
11982         * testsuite/debug/category.c:
11983         * testsuite/debug/commandline.c:
11984         * testsuite/debug/global.c:
11985         * testsuite/debug/output.c:
11986         * testsuite/debug/printf_extension.c:
11987         * testsuite/dlopen/.cvsignore:
11988         * testsuite/dlopen/Makefile.am:
11989         * testsuite/dlopen/dlopen_gst.c:
11990         * testsuite/dlopen/loadgst.c:
11991         * testsuite/elements/.cvsignore:
11992         * testsuite/elements/Makefile.am:
11993         * testsuite/elements/gst-inspect-check.in:
11994         * testsuite/elements/struct_i386.h:
11995         * testsuite/elements/struct_size.c:
11996         * testsuite/indexers/.cvsignore:
11997         * testsuite/indexers/Makefile.am:
11998         * testsuite/indexers/cache1.c:
11999         * testsuite/indexers/indexdump.c:
12000         * testsuite/parse/.cvsignore:
12001         * testsuite/parse/Makefile.am:
12002         * testsuite/parse/parse1.c:
12003         * testsuite/parse/parse2.c:
12004         * testsuite/plugin/.cvsignore:
12005         * testsuite/plugin/Makefile.am:
12006         * testsuite/plugin/README:
12007         * testsuite/plugin/dynamic.c:
12008         * testsuite/plugin/linked.c:
12009         * testsuite/plugin/loading.c:
12010         * testsuite/plugin/registry.c:
12011         * testsuite/plugin/static.c:
12012         * testsuite/plugin/static2.c:
12013         * testsuite/plugin/testplugin.c:
12014         * testsuite/plugin/testplugin2.c:
12015         * testsuite/plugin/testplugin2_s.c:
12016         * testsuite/plugin/testplugin_s.c:
12017         * testsuite/refcounting/.cvsignore:
12018         * testsuite/refcounting/Makefile.am:
12019         * testsuite/refcounting/bin.c:
12020         * testsuite/refcounting/element.c:
12021         * testsuite/refcounting/element_pad.c:
12022         * testsuite/refcounting/mainloop.c:
12023         * testsuite/refcounting/mem.c:
12024         * testsuite/refcounting/mem.h:
12025         * testsuite/refcounting/object.c:
12026         * testsuite/refcounting/pad.c:
12027         * testsuite/refcounting/sched.c:
12028         * testsuite/refcounting/thread.c:
12029         * testsuite/states/.cvsignore:
12030         * testsuite/states/Makefile.am:
12031         * testsuite/states/bin.c:
12032         * testsuite/states/locked.c:
12033         * testsuite/states/parent.c:
12034         * testsuite/threads/.cvsignore:
12035         * testsuite/threads/159566.c:
12036         * testsuite/threads/159852.c:
12037         * testsuite/threads/Makefile.am:
12038         * testsuite/threads/queue.c:
12039         * testsuite/threads/signals.c:
12040         * testsuite/threads/staticrec.c:
12041         * testsuite/threads/thread.c:
12042         * testsuite/threads/threadb.c:
12043         * testsuite/threads/threadc.c:
12044         * testsuite/threads/threadd.c:
12045         * testsuite/threads/threade.c:
12046         * testsuite/threads/threadf.c:
12047         * testsuite/threads/threadg.c:
12048         * testsuite/threads/threadh.c:
12049         * testsuite/threads/threadi.c:
12050           move all of these under tests
12051
12052 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12053
12054         * configure.ac:
12055         * tests/Makefile.am:
12056           fix distcheck
12057
12058 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12059
12060         * docs/gst/gstreamer-sections.txt:
12061         * tests/sched/.cvsignore:
12062         * tests/sched/Makefile.am:
12063         * tests/sched/cases/(fs-fs).xml:
12064         * tests/sched/cases/(fs-i-fs).xml:
12065         * tests/sched/cases/(fs-i-i-fs).xml:
12066         * tests/sched/cases/(fs-i-q[i-fs]).xml:
12067         * tests/sched/dynamic-pipeline.c:
12068         * tests/sched/interrupt1.c:
12069         * tests/sched/interrupt2.c:
12070         * tests/sched/interrupt3.c:
12071         * tests/sched/runtestcases:
12072         * tests/sched/runxml.c:
12073         * tests/sched/sched-stress.c:
12074         * tests/sched/sort.c:
12075         * tests/sched/testcases:
12076         * tests/sched/testcases1.tc:
12077         * tests/seeking/.cvsignore:
12078         * tests/seeking/Makefile.am:
12079         * tests/seeking/seeking1.c:
12080         * tests/threadstate/.cvsignore:
12081         * tests/threadstate/Makefile.am:
12082         * tests/threadstate/test1.c:
12083         * tests/threadstate/test2.c:
12084         * tests/threadstate/threadstate1.c:
12085         * tests/threadstate/threadstate2.c:
12086         * tests/threadstate/threadstate3.c:
12087         * tests/threadstate/threadstate4.c:
12088         * tests/threadstate/threadstate5.c:
12089           remove obsolete tests
12090         * configure.ac:
12091         * tests/bench-complexity.scm:
12092         * tests/bench-mass_elements.scm:
12093         * tests/complexity.c:
12094         * tests/complexity.gnuplot:
12095         * tests/instantiate/.cvsignore:
12096         * tests/instantiate/Makefile.am:
12097         * tests/instantiate/caps.c:
12098         * tests/mass_elements.c:
12099         * tests/network-clock-utils.scm:
12100         * tests/network-clock.scm:
12101         * tests/plot-data:
12102         First pass at cleaning up tests/ dir before moving the rest
12103         Combined with CVS surgery
12104
12105 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12106
12107         * po/POTFILES.in:
12108           queue has moved, update
12109
12110 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12111
12112         * docs/gst/gstreamer-sections.txt:
12113           remove double entries from the docs
12114         * gst/gst_private.h:
12115         * gst/gstinfo.c: (_gst_debug_init):
12116           remove the THREAD debug category
12117         * gst/Makefile.am:
12118         * gst/gstqueue.c:
12119         * gst/gstqueue.h:
12120         * docs/gst/gstreamer.types:
12121         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12122         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12123           completely move queue and fix up debugging categories
12124
12125 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12126
12127         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12128           make initialization portable, using LL is not
12129
12130 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12131
12132         * win32/common/gstconfig.h:
12133           add large padding
12134
12135 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12136
12137         * win32/common/libgstreamer.def:
12138           rename symbols; sort base section
12139
12140 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12141
12142         * gst/gstclock.c: (do_linear_regression):
12143           remove crack non-portable handrolled DEBUG macro
12144
12145 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12146
12147         * docs/random/release:
12148           update notes
12149         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12150         (gst_object_flags_get_type), (register_gst_bin_flags),
12151         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12152         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12153         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12154         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12155         (gst_caps_flags_get_type), (register_gst_clock_return),
12156         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12157         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12158         (gst_clock_flags_get_type), (register_gst_state),
12159         (gst_state_get_type), (register_gst_state_change_return),
12160         (gst_state_change_return_get_type), (register_gst_state_change),
12161         (gst_state_change_get_type), (register_gst_element_flags),
12162         (gst_element_flags_get_type), (register_gst_core_error),
12163         (gst_core_error_get_type), (register_gst_library_error),
12164         (gst_library_error_get_type), (register_gst_resource_error),
12165         (gst_resource_error_get_type), (register_gst_stream_error),
12166         (gst_stream_error_get_type), (register_gst_event_type_flags),
12167         (gst_event_type_flags_get_type), (register_gst_event_type),
12168         (gst_event_type_get_type), (register_gst_seek_type),
12169         (gst_seek_type_get_type), (register_gst_seek_flags),
12170         (gst_seek_flags_get_type), (register_gst_format),
12171         (gst_format_get_type), (register_gst_index_certainty),
12172         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12173         (gst_index_entry_type_get_type),
12174         (register_gst_index_lookup_method),
12175         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12176         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12177         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12178         (gst_index_flags_get_type), (register_gst_debug_level),
12179         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12180         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12181         (gst_iterator_result_get_type), (register_gst_iterator_item),
12182         (gst_iterator_item_get_type), (register_gst_message_type),
12183         (gst_message_type_get_type), (register_gst_mini_object_flags),
12184         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12185         (gst_pad_link_return_get_type), (register_gst_flow_return),
12186         (gst_flow_return_get_type), (register_gst_activate_mode),
12187         (gst_activate_mode_get_type), (register_gst_pad_direction),
12188         (gst_pad_direction_get_type), (register_gst_pad_flags),
12189         (gst_pad_flags_get_type), (register_gst_pad_presence),
12190         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12191         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12192         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12193         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12194         (gst_plugin_flags_get_type), (register_gst_rank),
12195         (gst_rank_get_type), (register_gst_query_type),
12196         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12197         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12198         (gst_tag_flag_get_type), (register_gst_task_state),
12199         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12200         (gst_alloc_trace_flags_get_type),
12201         (register_gst_type_find_probability),
12202         (gst_type_find_probability_get_type), (register_gst_uri_type),
12203         (gst_uri_type_get_type), (register_gst_parse_error),
12204         (gst_parse_error_get_type):
12205         * win32/common/gstenumtypes.h:
12206         * win32/common/gstversion.h:
12207           update visual studio generated files
12208
12209 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12210
12211         * win32/vs6/libgstbase.dsp:
12212         * win32/vs6/libgstelements.dsp:
12213           update project files for new locations
12214
12215 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12216
12217         * Makefile.am:
12218           remove some files
12219         * README:
12220           reinstate and update
12221         * DEVEL:
12222         * REQUIREMENTS:
12223           removed
12224         * LICENSE:
12225         * docs/random/LICENSE:
12226           moved to random
12227
12228 2005-11-30  Edward Hervey  <edward@fluendo.com>
12229
12230         * gst/gsttypefind.c: (gst_type_find_register):
12231         * gst/gsttypefind.h:
12232         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12233         (gst_type_find_factory_dispose):
12234         * gst/gsttypefindfactory.h:
12235         Fix memory leak in GstTypeFindFactory.
12236
12237 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12238
12239         * gst/gst.c:
12240         * plugins/elements/Makefile.am:
12241         * plugins/elements/gstelements.c:
12242         * plugins/elements/gstqueue.c:
12243           move queue from core to the elements plugin
12244
12245 2005-11-29  Andy Wingo  <wingo@pobox.com>
12246
12247         * libs/gst/base/gstbasetransform.h: 
12248         * libs/gst/base/gstbasesrc.h: 
12249         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12250
12251         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12252         of pointers by which to pad very extensible base classes (like the
12253         ones in libs/gst/base).
12254
12255 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12256
12257         * docs/gst/gstreamer-docs.sgml:
12258         * docs/gst/gstreamer-sections.txt:
12259         * docs/libs/gstreamer-libs-docs.sgml:
12260         * docs/libs/gstreamer-libs-sections.txt:
12261           moving documentation from core to lib
12262
12263 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12264
12265         * check/Makefile.am:
12266         * configure.ac:
12267         * docs/gst/Makefile.am:
12268         * gst/Makefile.am:
12269         * gst/base/.cvsignore:
12270         * gst/base/Makefile.am:
12271         * gst/base/README:
12272         * gst/base/gstadapter.c:
12273         * gst/base/gstadapter.h:
12274         * gst/base/gstbasesink.c:
12275         * gst/base/gstbasesink.h:
12276         * gst/base/gstbasesrc.c:
12277         * gst/base/gstbasesrc.h:
12278         * gst/base/gstbasetransform.c:
12279         * gst/base/gstbasetransform.h:
12280         * gst/base/gstcollectpads.c:
12281         * gst/base/gstcollectpads.h:
12282         * gst/base/gstpushsrc.c:
12283         * gst/base/gstpushsrc.h:
12284         * gst/base/gsttypefindhelper.c:
12285         * gst/base/gsttypefindhelper.h:
12286         * gst/check/Makefile.am:
12287         * gst/check/gstcheck.c:
12288         * gst/check/gstcheck.h:
12289         * gst/net/Makefile.am:
12290         * gst/net/gstnet.h:
12291         * gst/net/gstnetclientclock.c:
12292         * gst/net/gstnetclientclock.h:
12293         * gst/net/gstnettimepacket.c:
12294         * gst/net/gstnettimepacket.h:
12295         * gst/net/gstnettimeprovider.c:
12296         * gst/net/gstnettimeprovider.h:
12297         * libs/gst/Makefile.am:
12298         * libs/gst/base/Makefile.am:
12299         * libs/gst/base/gstbasetransform.c:
12300         * libs/gst/check/Makefile.am:
12301         * plugins/elements/Makefile.am:
12302         * po/POTFILES.in:
12303           CVS surgery + support to move base, check, and net out of gst
12304           and into libs/gst
12305
12306 2005-11-29  Andy Wingo  <wingo@pobox.com>
12307
12308         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12309
12310         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12311         padding.
12312
12313         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12314
12315         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12316
12317         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12318
12319         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12320         padding; reduces object size by about 30%. We don't expect
12321         anything else to go into gstobject.
12322
12323         * gst/gstminiobject.h (struct _GstMiniObject)
12324         (struct _GstMiniObjectClass): Only one pointer of padding; the
12325         payload is only a pointer and two ints anyway. For the class there
12326         are only two methods as well.
12327         
12328         * gst/gstelement.h (struct _GstElementClass): Removed
12329         the state_changed signal callback, it is not used.
12330
12331 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12332
12333         * docs/gst/gstreamer.types:
12334           fix includes, though they are a little dinky
12335
12336 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12337
12338         * check/Makefile.am:
12339           look in the right place for elements, a lot more chance of
12340           success
12341         * gst/Makefile.am:
12342           remove indexers and elements subdirs
12343         * plugins/Makefile.am:
12344           make indexers conditional
12345
12346 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12347
12348         * Makefile.am:
12349         * configure.ac:
12350         * plugins/elements/Makefile.am:
12351         * plugins/elements/gstcapsfilter.c:
12352         * plugins/elements/gstfilesink.c:
12353         * plugins/elements/gstfilesrc.c:
12354         * plugins/elements/gstidentity.c:
12355         * plugins/indexers/Makefile.am:
12356           do CVS surgery and related build fixery to move elements
12357           and indexers in a new gstreamer/plugins directory, out of the
12358           gst/ directory
12359
12360 2005-11-29  Andy Wingo  <wingo@pobox.com>
12361
12362         * check/Makefile.am:
12363         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12364         * pkgconfig/gstreamer-net.pc.in:
12365         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12366         #322257.
12367
12368 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12369
12370         * tools/Makefile.am:
12371         * tools/gst-complete.1.in:
12372         * tools/gst-complete.c:
12373         * tools/gst-compprep.1.in:
12374         * tools/gst-compprep.c:
12375           removing -compprep and -complete
12376
12377 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12378
12379         * gst/gstevent.c: (gst_event_new_new_segment),
12380         (gst_event_parse_new_segment):
12381         * gst/gstevent.h:
12382           fix #320529 - clean up new_segment API and structure.
12383           Let's hope everyone was using the methods, and not the structure.
12384
12385 2005-11-29  Edward Hervey  <edward@fluendo.com>
12386
12387         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12388         (gst_base_sink_event), (gst_base_sink_do_sync),
12389         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12390         Properly handle non GST_FORMAT_TIME segment
12391         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12392         Properly handle non GST_FORMAT_TIME segment
12393         * gst/gstsegment.c:
12394         This function is valid if the accumulator is 0 and the format
12395         is different from the requested format.
12396         
12397 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12398
12399         * docs/gst/gstreamer-sections.txt:
12400         Add gst_query_new_seeking and gst_query_parse_seeking to the
12401         docs.
12402
12403 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12404
12405         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12406           Treat a pad alloc with new caps the same as if we were not
12407           negotiated, in order to allow a changing upstream output
12408           to produce a new format of data.
12409
12410 2005-11-29  Edward Hervey  <edward@fluendo.com>
12411
12412         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12413         (gst_base_transform_event), (gst_base_transform_eventfunc):
12414         The event virtual method is now properly implemented, with a default
12415         handler
12416         Sub classes should call the parent_class event method. They should
12417         return FALSE if they had a problem handling the given event, or don't
12418         want GstBaseTransform to send that even downstream
12419         * gst/elements/gstidentity.c: (gst_identity_class_init),
12420         (gst_identity_init), (gst_identity_event),
12421         (gst_identity_transform_ip), (gst_identity_set_property),
12422         (gst_identity_get_property):
12423         * gst/elements/gstidentity.h:
12424         Added the single-segment boolean property.
12425         If set to TRUE, it will output a single segment of data, starting from
12426         0, will eat up all incoming newsegment, and modify the timestamp of the
12427         buffers accordingly
12428
12429 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12430
12431         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12432           Don't ref NULL target pad (#322751). Improve docs.
12433
12434 2005-11-29  Michael Smith  <msmith@fluendo.com>
12435
12436         * gst/gstregistryxml.c: (load_plugin):
12437           Don't crash if we failed to load a feature from a plugin. 
12438
12439 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12440
12441         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12442         (GST_START_TEST):
12443           use more check API and less GLib API
12444
12445 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12446
12447         * Makefile.am:
12448           don't run checks if we don't have check
12449         * common/check.mak:
12450           remove the registry when running make torture
12451         * docs/gst/gstreamer-sections.txt:
12452           remove second multiply
12453         * gst/gstqueue.c: (gst_queue_loop):
12454           fix a compile warning when disabling debug
12455
12456 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12457
12458         * gst/gstinfo.h:
12459         Hey! Let's print the pad name if the pointer != NULL instead
12460         of when it == NULL :-)
12461
12462 2005-11-28  Wim Taymans  <wim@fluendo.com>
12463
12464         * check/gst/gstutils.c: (GST_START_TEST):
12465         Updated check, add some scaling accuracy checking code.
12466
12467         * gst/gstutils.c: (gst_util_div128_64),
12468         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12469         (gst_util_uint64_scale_int):
12470         Fix 6 times faster division code. Optimize for common 
12471         1/1 and less common X/1 cases.
12472
12473 2005-11-28  Wim Taymans  <wim@fluendo.com>
12474
12475         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12476         More checks.
12477
12478         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12479         (do_linear_regression), (gst_clock_add_observation):
12480         Cleanups.
12481         Release lock when the clock cannot be slaved.
12482         Catch the case where the regression returned an invalid denominator.
12483
12484         * gst/gstutils.c: (gst_util_div128_64_iterate),
12485         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12486         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12487         Add protentially more performant non-iterative 128/64 divide function
12488         that unfortunatly does not work yet.
12489         Shortcut the trivial 0/X = 0 case.
12490         Remove the warnings on overflow.
12491
12492 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12493
12494         * gst/gstplugin.c: (gst_plugin_register_func):
12495           everything causing a plugin not to load should be at least a WARNING
12496
12497 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12498
12499         * docs/random/ensonic/dparams.txt:
12500           some TODOs for the next dev cycle
12501         * libs/gst/controller/gstcontroller.c:
12502         (gst_controlled_property_set_interpolation_mode),
12503         (gst_controlled_property_new):
12504         * libs/gst/controller/gstcontroller.h:
12505           use base type to assign acccessor functions
12506
12507 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12508
12509         * check/Makefile.am:
12510         Oops, that should have been top_srcdir
12511
12512 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12513
12514         * check/Makefile.am:
12515         * check/elements/fdsrc.c: (GST_START_TEST):
12516         Use a cmdline define to specify the location of a file to use for
12517         testing, to avoid breaking distcheck.
12518
12519 2005-11-28  Andy Wingo  <wingo@pobox.com>
12520
12521         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12522
12523 2005-11-28  Edward Hervey  <edward@fluendo.com>
12524
12525         * tools/gst-launch.c: (main):
12526         Clarify the output strings, makes it easier to translate.
12527         Fixes #322626
12528
12529 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12530
12531         * gst/Makefile.am:
12532           don't try and build net if we don't even have <sys/socket.h>
12533
12534 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12535
12536         * check/Makefile.am:
12537         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12538         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12539           Add tests for fdsrc seekability
12540
12541         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12542         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12543         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12544         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12545         * gst/elements/gstfdsrc.h:
12546           fdsrc should not be a 'live' source.
12547           Implement seeking on seekable fd's.
12548
12549         * gst/gstquery.c: (gst_query_new_seeking),
12550         (gst_query_parse_seeking):
12551         * gst/gstquery.h:
12552           Implement SEEKING query functions: 
12553             *_new_seeking and *_parse_seeking
12554
12555 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12556
12557         * gst/gstelement.c: (gst_element_dispose):
12558           don't loop forever
12559
12560         * gst/gstiterator.c:
12561         * gst/gststructure.c:
12562           doc fixes
12563
12564         * libs/gst/controller/gstcontroller.c:
12565         (gst_controlled_property_set_interpolation_mode):
12566         * libs/gst/controller/gstcontroller.h:
12567         * libs/gst/controller/gstinterpolation.c:
12568         (interpolate_none_get_enum_value_array):
12569           support controlling enums
12570
12571 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12572
12573         * gst/gstvalue.c:
12574           Improve documentation for gst_value_union().
12575
12576         * gst/gstvalue.h:
12577           Change return value for union, intersect and subtract functions
12578           from gint to gboolean.
12579
12580 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12581
12582         * gst/gstvalue.c: (gst_value_serialize_any_list),
12583         (gst_value_transform_any_list_string),
12584         (gst_value_deserialize_list), (gst_value_deserialize_array),
12585         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12586         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12587         (gst_value_set_fraction_range_full),
12588         (gst_value_deserialize_fraction_range),
12589         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12590         (gst_value_deserialize_boolean),
12591         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12592         (gst_value_serialize_float), (gst_value_deserialize_float),
12593         (gst_string_wrap), (gst_value_deserialize_string),
12594         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12595         (gst_value_union_int_range_int_range),
12596         (gst_value_intersect_int_range_int_range),
12597         (gst_value_intersect_double_range_double_range),
12598         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12599         (gst_value_subtract_int_range_int_range),
12600         (gst_value_subtract_double_double_range),
12601         (gst_value_subtract_double_range_double_range),
12602         (gst_value_deserialize_fraction):
12603         * gst/gstvalue.h:
12604           Use gint, gdouble and gchar in our API instead of int, double and
12605           char (and make usage in gstvalue.c more consistent).
12606
12607 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12608
12609         * check/Makefile.am:
12610         * libs/gst/controller/Makefile.am:
12611         * libs/gst/dataprotocol/Makefile.am:
12612           fix up Makefile.am and remove GST_ENABLE_NEW
12613
12614 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12615
12616         * configure.ac:
12617         * gst/Makefile.am:
12618         * gst/base/Makefile.am:
12619         * gst/check/Makefile.am:
12620         * gst/elements/Makefile.am:
12621         * gst/net/Makefile.am:
12622           update LDFLAGS use some more
12623
12624 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12625
12626         * common/m4/gst-doc.m4:
12627           Fixes #312589
12628
12629 2005-11-26  Edward Hervey  <edward@fluendo.com>
12630
12631         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12632         This shouldn't issue a g_warning since it returns NULL if it
12633         couldn't find the plugin, and all functions using this behave
12634         properly on a NULL return. Switching to a GST_WARNING.
12635
12636 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12637
12638         * gst/gstbin.c: (gst_bin_handle_message_func):
12639         Don't leak clock messages.
12640
12641 2005-11-25  Wim Taymans  <wim@fluendo.com>
12642
12643         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12644         (gst_util_uint64_scale_int):
12645         Optimisations, remove unneeded vars.
12646
12647 2005-11-25  Wim Taymans  <wim@fluendo.com>
12648
12649         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12650         Added more checks for the high precision uint64 cases.
12651
12652         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12653         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12654         Implement high precision (guint64 * guint64) / guint64.
12655
12656 2005-11-24  Wim Taymans  <wim@fluendo.com>
12657
12658         * gst/base/gstbasesrc.c: (gst_base_src_query):
12659         Fix wrong percentage query.
12660
12661         * gst/gstutils.c: (gst_util_uint64_scale),
12662         (gst_util_uint64_scale_int):
12663         Add some more common cases that can be handled 
12664         efficiently to _scale.
12665
12666 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12667
12668         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12669         (gst_mini_object_suite):
12670           don't use check calls from threads; check probably isn't
12671           threadsafe and using a lock to make it threadsafe would
12672           defeat the purpose of this check
12673         * gst/check/gstcheck.c:
12674         * gst/check/gstcheck.h:
12675           use GST_DEBUG some more
12676
12677 2005-11-24  Wim Taymans  <wim@fluendo.com>
12678
12679         * gst/gstutils.c: (gst_util_uint64_scale),
12680         (gst_util_uint64_scale_int):
12681         Chain trivial case to _scale_int.
12682
12683 2005-11-24  Wim Taymans  <wim@fluendo.com>
12684
12685         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12686         Added test for scaling.
12687
12688         * gst/gstclock.h:
12689         Small doc fix.
12690
12691         * gst/gstutils.c: (gst_util_uint64_scale_int):
12692         Implemented high precision scaling code.
12693
12694 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
12695
12696         * gst/gstinfo.h:
12697           do not crash on pad==NULL
12698
12699 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12700
12701         Patch by: Stefan Kost
12702
12703         * common/gtk-doc.mak:
12704         * docs/gst/Makefile.am:
12705         * docs/libs/Makefile.am:
12706           Fix distcheck issues for the libraries docs build
12707           Closes #319599.
12708
12709 2005-11-24  Michael Smith <msmith@fluendo.com>
12710
12711         * docs/manual/basics-helloworld.xml:
12712           Fix bug #315027: memory leak in example code in docs.
12713
12714 2005-11-24  Michael Smith <msmith@fluendo.com>
12715
12716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12717           Unlock the PREROLL_LOCK in a failure case.
12718
12719 2005-11-24  Wim Taymans  <wim@fluendo.com>
12720
12721         * docs/gst/gstreamer-sections.txt:
12722         * gst/base/gstadapter.h:
12723         * gst/base/gstbasesink.h:
12724         * gst/base/gstbasesrc.h:
12725         * gst/base/gstbasetransform.h:
12726         * gst/base/gstpushsrc.h:
12727         * gst/elements/gstfakesink.h:
12728         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12729         * gst/elements/gstfakesrc.h:
12730         * gst/elements/gstfilesink.h:
12731         * gst/elements/gstfilesrc.h:
12732         * gst/gst.c:
12733         * gst/gstbin.c:
12734         * gst/gstbuffer.c: (_gst_buffer_copy):
12735         * gst/gstbus.h:
12736         * gst/gstcaps.c:
12737         * gst/gstchildproxy.c:
12738         * gst/gstclock.c:
12739         * gst/gstelement.c:
12740         * gst/gstelementfactory.c:
12741         * gst/gstelementfactory.h:
12742         * gst/gstevent.c:
12743         * gst/gstghostpad.h:
12744         * gst/gstindex.h:
12745         * gst/gstinterface.h:
12746         * gst/gstminiobject.c:
12747         * gst/gstminiobject.h:
12748         * gst/gstpad.c:
12749         * gst/gstpad.h:
12750         * gst/gstpadtemplate.h:
12751         * gst/gstpipeline.h:
12752         * gst/gstpluginfeature.h:
12753         * gst/gstquery.h:
12754         * gst/gstqueue.h:
12755         * gst/gsttaglist.c:
12756         * gst/gsttaglist.h:
12757         * gst/gsttagsetter.c:
12758         * gst/gsttagsetter.h:
12759         * gst/gsttrace.c:
12760         * gst/gsttrace.h:
12761         * gst/gsttypefind.h:
12762         * gst/gsturi.h:
12763         * gst/gstvalue.c:
12764         * gst/net/gstnetclientclock.c:
12765         * gst/net/gstnetclientclock.h:
12766         * gst/net/gstnettimepacket.c:
12767         * gst/net/gstnettimeprovider.c:
12768         * gst/net/gstnettimeprovider.h:
12769         Doc fixes.
12770
12771 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12772
12773         * configure.ac: back to HEAD
12774
12775 === release 0.9.6 ===
12776
12777 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
12778
12779         * configure.ac:
12780           releasing 0.9.6, "Always On Time"
12781
12782 2005-11-23  Wim Taymans  <wim@fluendo.com>
12783
12784         * docs/gst/gstreamer-sections.txt:
12785         * gst/glib-compat.c:
12786         * gst/gsttagsetter.c:
12787         * gst/gstvalue.c:
12788         * gst/net/gstnetclientclock.c:
12789         * gst/net/gstnettimepacket.h:
12790         Doc updates.
12791
12792 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12793
12794         * docs/faq/using.xml:
12795         * docs/libs/tmpl/gstcontrol.sgml:
12796         * docs/manual/advanced-dparams.xml:
12797         * docs/manual/appendix-checklist.xml:
12798         * docs/manual/basics-elements.xml:
12799         * docs/pwg/other-source.xml:
12800         * docs/random/moving-plugins:
12801         * gst/gstpad.c:
12802         * tools/gst-launch.1.in:
12803           remove mentions of sinesrc
12804
12805 2005-11-23  Michael Smith <msmith@fluendo.com>
12806
12807         * docs/gst/gstreamer-sections.txt:
12808           Update for new API and API changes.
12809         * gst/gstobject.h:
12810           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12811         * gst/gstvalue.c:
12812           Documentation typo fix.
12813         * gst/net/gstnettimepacket.c:
12814           Documentation fixes for arguments.
12815
12816 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
12817
12818         * gst/gststructure.c: (gst_structure_get_fraction),
12819         (gst_structure_parse_value),
12820         (gst_structure_fixate_field_nearest_fraction):
12821         * gst/gststructure.h:
12822         * gst/gstutils.c: (gst_util_uint64_scale_int):
12823         * gst/gstutils.h:
12824         * scripts/update-funcnames:
12825         API Changes. 
12826         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12827         Make gst_structure_fixate_field_nearest_fraction take a numerator
12828         and denominator argument instead of a GValue
12829         add gst_structure_get_fraction helper function.
12830
12831 2005-11-23  Wim Taymans  <wim@fluendo.com>
12832
12833         * docs/design/part-TODO.txt:
12834         Update TODO.
12835
12836         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12837         * gst/net/gstnetclientclock.h:
12838         Use parent fields for timeout and window_size.
12839
12840 2005-11-23  Andy Wingo  <wingo@pobox.com>
12841
12842         * check/net/gstnetclientclock.c (test_functioning): Adjust to
12843         rate_num/rate_denom change.
12844
12845         * gst/net/gstnetclientclock.c
12846         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12847         OBJECT_LOCK. Don't call add_observation with the lock.
12848
12849         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12850         fraction.
12851         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12852         rate fraction.
12853         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12854         deal with rate as a fraction whose numerator and denominator are
12855         GstClockTime values.
12856         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12857         master; the other fields are protected by the SLAVE_LOCK.
12858         (do_linear_regression): Note that this must be called with the
12859         SLAVE_LOCK.
12860         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12861         OBJECT_LOCK. Call set_calibration instead of touching the
12862         variables directly.
12863         (gst_clock_set_property, gst_clock_get_property): Protect
12864         master/slave parameters with the SLAVE_LOCK.
12865
12866         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12867         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12868         note that all of the instance variables that add_observation and
12869         the set_master functions use are protected by that lock and not
12870         the OBJECT_LOCK.
12871         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12872
12873         * gst/gstclock.c (gst_clock_add_observation): No longer requires
12874         the caller to take the object lock.
12875
12876 2005-11-23  Wim Taymans  <wim@fluendo.com>
12877
12878         * gst/gsterror.c: (_gst_core_errors_init):
12879         * gst/gsterror.h:
12880         Add error for clock stuff.
12881
12882         * gst/gstpipeline.c: (gst_pipeline_change_state),
12883         (gst_pipeline_set_clock):
12884         Post clock error when clock cannot be used in a pipeline.
12885
12886 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
12887
12888         * docs/gst/gstreamer-sections.txt:
12889           make two symbols from gstinfo private for the docs
12890         * gst/base/gstcollectpads.h:
12891         * gst/gstutils.c:
12892           fix doc typos, update docs
12893
12894 2005-11-22  Wim Taymans  <wim@fluendo.com>
12895
12896         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12897         (gst_base_sink_wait), (gst_base_sink_do_sync),
12898         (gst_base_sink_handle_event):
12899         * gst/base/gstbasesink.h:
12900         No need to store the clock, the parent element class already
12901         has it.
12902
12903         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12904         Updates for clock_set returning a gboolean
12905
12906         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12907         (gst_clock_id_wait_async), (gst_clock_class_init),
12908         (gst_clock_init), (gst_clock_finalize),
12909         (gst_clock_get_internal_time), (gst_clock_get_time),
12910         (gst_clock_slave_callback), (gst_clock_set_master),
12911         (gst_clock_get_master), (do_linear_regression),
12912         (gst_clock_add_observation), (gst_clock_set_property),
12913         (gst_clock_get_property):
12914         * gst/gstclock.h:
12915         Implement master/slave. When setting a clock as a slave, a
12916         periodic timeout is scheduled to sample master and slave times.
12917         Then the slave clock is recalibrated to match offset and rate
12918         of the master clock.
12919         Update logging a bit.
12920         Add flag so that a clock can state that is cannot be slaved to
12921         another clock.
12922
12923         * gst/gstelement.c: (gst_element_set_clock):
12924         * gst/gstelement.h:
12925         The set clock returns a gboolean for when an element cannot
12926         deal with the selected clock in the pipeline. 
12927
12928         * gst/gstpipeline.c: (gst_pipeline_change_state),
12929         (gst_pipeline_set_clock):
12930         * gst/gstpipeline.h:
12931         Handle the case where the selected clock cannot be set on
12932         the pipeline.
12933
12934         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12935         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12936         (gst_net_client_clock_set_property),
12937         (gst_net_client_clock_get_property),
12938         (gst_net_client_clock_observe_times):
12939         * gst/net/gstnetclientclock.h:
12940         Use regression code in GstClock parent, remove duplicated
12941         functionality.
12942
12943 2005-11-22  Michael Smith <msmith@fluendo.com>
12944
12945         * gst/gstutils.c: (gst_util_clock_time_scale):
12946         * gst/gstutils.h:
12947         * docs/gst/gstreamer-sections.txt:
12948           Rename method to have extra underscore.
12949
12950 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12951
12952         * gst/elements/Makefile.am:
12953         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12954         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12955         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12956         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12957         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12958         * gst/elements/gstfakesrc.h:
12959         * gst/gstqueue.c: (queue_leaky_get_type):
12960           correctly fix GEnumValues so that nick is the short lowercase
12961           dashed tag
12962         * tools/gst-inspect.c: (print_element_properties_info):
12963           also show the nick, since it's useful to use from parse_launch
12964           syntax
12965           Fixes #322139
12966
12967 2005-11-22  Michael Smith <msmith@fluendo.com>
12968
12969         * gst/gstutils.c: (gst_util_clocktime_scale):
12970         * gst/gstutils.h:
12971         * docs/gst/gstreamer-sections.txt:
12972           Add util method for scaling a clocktime by a fraction. Useful 
12973           implementation is left as an exercise for the reader.
12974
12975 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12976
12977         * gst/gstvalue.c: (gst_value_collect_fraction_range):
12978         If needed, allocate storage in the destination value during
12979         collection.
12980
12981 2005-11-22  Edward Hervey  <edward@fluendo.com>
12982
12983         * docs/gst/gstreamer-sections.txt:
12984         * gst/Makefile.am:
12985         * gst/gst.h:
12986         * gst/gsturitype.c:
12987         * gst/gsturitype.h:
12988         * gst/gstutils.c: (gst_util_set_object_arg):
12989         * tools/gst-compprep.c: (main):
12990         * tools/gst-inspect.c: (print_element_properties_info):
12991         Removed GstURI, closes bug #321061
12992
12993 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12994
12995         * check/gst/gststructure.c: (GST_START_TEST):
12996         * gst/gststructure.c: (gst_structure_parse_value):
12997           Oops, broke automatic string type parsing.
12998           Add a test to catch it in future.
12999
13000 2005-11-22  Andy Wingo  <wingo@pobox.com>
13001
13002         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
13003         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13004         Actually rename the function implementations. Grr.
13005
13006 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13007
13008         * check/gst/capslist.h:
13009           Comment test cases
13010         * check/gst/gststructure.c: (GST_START_TEST),
13011         (gst_structure_suite):
13012           Test automatic value type detection in gst_structure_from_string.
13013         * gst/gststructure.c: (gst_structure_parse_value):
13014           Add fraction as a type we try and guess automatically in
13015           caps/structure strings.
13016
13017 2005-11-22  Andy Wingo  <wingo@pobox.com>
13018
13019         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13020
13021         * gst/gsttagsetter.h:
13022         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13023         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13024         (gst_tag_setter_add_tag_valist)
13025         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13026         _add_values, _add_valist, and _add_valist_values. Since this is an
13027         interface the function suffixes should be more explicit so
13028         language binding don't end up with element.add_valist ->
13029         gst_tag_setter_add_valist, for example. Fixes #322069.
13030
13031 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13032
13033         * check/gst/gstcaps.c: (GST_START_TEST):
13034           Extend caps string tests to check that a caps to string
13035           conversion is reversible and produces the same caps.
13036
13037         * gst/gststructure.c: (gst_structure_value_get_generic_type):
13038           Output "fraction" as the generic type fraction range, so caps
13039           serialisation and deserialisation works.
13040         * check/gst/capslist.h:
13041         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13042           Support 'MIN' and 'MAX' for deserialising fractions.
13043
13044 2005-11-22  Andy Wingo  <wingo@pobox.com>
13045
13046         * gst/gstevent.h (gst_event_new_new_segment)
13047         (gst_event_parse_new_segment, gst_event_new_buffer_size)
13048         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13049         Renamed from *_newsegment, *_buffersize, *_notarget.
13050
13051         * scripts/update-funcnames: New script, performs the changes
13052         listed above.
13053
13054 2005-11-22  Wim Taymans  <wim@fluendo.com>
13055
13056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13057         Make sure the GstFlowReturn is returned.
13058
13059         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13060         (gst_bus_add_signal_watch):
13061         * gst/gstbus.h:
13062         add gst_bus_add_signal_watch_full.
13063
13064         * gst/gstplugin.c: (gst_plugin_load_file):
13065         Small style cleanup.
13066
13067 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13068
13069         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13070           Block the fakesrc srcpad when we send an event, to avoid
13071           contention on the stream_lock causing random test failures.
13072
13073 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13074
13075         * check/gst/gstvalue.c: (GST_START_TEST):
13076         * gst/gstvalue.c: (gst_value_fraction_subtract):
13077           Fix subtraction.
13078
13079 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
13080
13081         * gst/gst.h:
13082           include "gstchildproxy.h"
13083         * gst/gstchildproxy.h:
13084         * libs/gst/controller/gstcontroller.h:
13085           use G_GNUC_NULL_TERMINATED
13086
13087 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13088
13089         * check/gst/capslist.h:
13090         * check/gst/gstcaps.c: (GST_START_TEST):
13091         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13092         * gst/gststructure.c: (gst_structure_parse_range),
13093         (gst_structure_fixate_field_nearest_fraction):
13094         * gst/gststructure.h:
13095         * gst/gstvalue.c: (gst_value_init_fraction_range),
13096         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13097         (gst_value_collect_fraction_range),
13098         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13099         (gst_value_set_fraction_range_full),
13100         (gst_value_get_fraction_range_min),
13101         (gst_value_get_fraction_range_max),
13102         (gst_value_serialize_fraction_range),
13103         (gst_value_transform_fraction_range_string),
13104         (gst_value_compare_fraction_range),
13105         (gst_value_deserialize_fraction_range),
13106         (gst_value_intersect_fraction_fraction_range),
13107         (gst_value_intersect_fraction_range_fraction_range),
13108         (gst_value_subtract_fraction_fraction_range),
13109         (gst_value_subtract_fraction_range_fraction),
13110         (gst_value_subtract_fraction_range_fraction_range),
13111         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13112         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13113         (gst_value_transform_string_fraction), (_gst_value_initialize):
13114         * gst/gstvalue.h:
13115           Implement fraction ranges and extend GstFraction to support
13116           arithmetic subtraction, as well as deserialization from integer
13117           strings such as "100"
13118           Add a testsuite as for int and double range set operations
13119
13120 2005-11-21  Andy Wingo  <wingo@pobox.com>
13121
13122         * gst/gsttaglist.h: 
13123         * gst/gstcaps.h: 
13124         * gst/gststructure.h: Add glib-compat.h.
13125
13126 2005-11-21  Wim Taymans  <wim@fluendo.com>
13127
13128         * gst/gstbin.c: (gst_bin_change_state_func):
13129         Fix for #321595
13130
13131 2005-11-21  Wim Taymans  <wim@fluendo.com>
13132
13133         * gst/gstsegment.h:
13134         And add a nice define too.
13135
13136 2005-11-21  Wim Taymans  <wim@fluendo.com>
13137
13138         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13139         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13140         (gst_segment_set_duration), (gst_segment_set_last_stop),
13141         (gst_segment_set_seek), (gst_segment_set_newsegment),
13142         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13143         (gst_segment_clip):
13144         * gst/gstsegment.h:
13145         Make binding friendly.
13146
13147 2005-11-21  Andy Wingo  <wingo@pobox.com>
13148
13149         * gst/gsttagsetter.h: 
13150         * gst/gsttaglist.h: 
13151         * gst/gststructure.h: 
13152         * gst/gstcaps.h: 
13153         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13154         #319940.
13155
13156         * gst/gsterror.c (_gst_core_errors_init):
13157         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13158         category.
13159
13160         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13161         (noinst_HEADERS): noinst the -private.
13162
13163 2005-11-21  Michael Smith <msmith@fluendo.com>
13164
13165         * gst/gstplugin.h:
13166         * gst/gstregistry.h:
13167           Remove unimplemented declarations for which we can see no sensible
13168           use.
13169
13170 2005-11-21  Andy Wingo  <wingo@pobox.com>
13171
13172         * gst/gst.h: Include glib-compat.h.
13173
13174         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13175
13176         * gst/glib-compat.c: Include the public and the private header.
13177
13178         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13179
13180         * gst/gstvalue.c: 
13181         * gst/gstpad.c: 
13182         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13183
13184         * check/gst/gstevent.c (create_custom_events): Check that
13185         FLUSH_STOP is serialized.
13186
13187         * check/elements/identity.c (event_func): 
13188         * check/elements/fakesrc.c (event_func): No stream lock, the core
13189         takes it.
13190
13191         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13192         stream lock taking, yay.
13193
13194         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13195         ensure that core takes the stream lock.
13196
13197         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13198         lock name change.
13199
13200         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13201         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13202         it already. For the flush start we do take it though so we get the
13203         right preroll state change messages.
13204
13205         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13206         the stream lock here, the core does it for us.
13207
13208         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13209         GST_STREAM_GET_LOCK.
13210         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13211         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13212         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13213         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13214         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13215         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13216
13217         * gst/gstpad.c: Update for stream lock name change.
13218
13219         * gst/base/gstbasesink.c: Update for preroll lock name change.
13220
13221 2005-11-21  Wim Taymans  <wim@fluendo.com>
13222
13223         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13224         (gst_clock_get_master):
13225         * gst/gstclock.h:
13226         * gst/gstsystemclock.c: (gst_system_clock_init):
13227         Convert Clock flags to object flags.
13228         Added methods to manage master/slave clocks.
13229
13230 2005-11-21  Wim Taymans  <wim@fluendo.com>
13231
13232         * check/gst/gstsegment.c: (GST_START_TEST):
13233         * docs/design/part-TODO.txt:
13234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13235         (gst_base_sink_event), (gst_base_sink_do_sync),
13236         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13237         (gst_base_sink_query), (gst_base_sink_change_state):
13238         * gst/base/gstbasesink.h:
13239         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13240         (gst_base_src_default_newsegment),
13241         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13242         (gst_base_src_get_range), (gst_base_src_loop),
13243         (gst_base_src_change_state):
13244         * gst/base/gstbasesrc.h:
13245         * gst/base/gstbasetransform.c:
13246         (gst_base_transform_prepare_output_buf),
13247         (gst_base_transform_event), (gst_base_transform_change_state):
13248         * gst/base/gstbasetransform.h:
13249         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13250         (gst_collect_pads_event):
13251         * gst/base/gstcollectpads.h:
13252         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13253         (gst_fake_src_create):
13254         * gst/elements/gstfakesrc.h:
13255         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13256         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13257         (gst_segment_set_last_stop), (gst_segment_set_seek),
13258         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13259         (gst_segment_to_running_time), (gst_segment_clip):
13260         * gst/gstsegment.h:
13261         More segment updates, replace code in plugins with segment
13262         helper functions.
13263
13264 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13265
13266         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13267         Don't ignore sscanf results
13268
13269 2005-11-21  Andy Wingo  <wingo@pobox.com>
13270
13271         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13272
13273         * *.h:
13274         * *.c: Ran scripts/update-macros. Oh yes.
13275
13276         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13277         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13278         GST_GET_LOCK, etc.
13279
13280         * scripts/update-macros: New script. Run it on your files to
13281         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13282         well.
13283
13284 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13285
13286         * docs/gst/Makefile.am:
13287         * docs/gst/gstreamer-docs.sgml:
13288         * docs/gst/gstreamer-sections.txt:
13289         * docs/gst/gstreamer.types:
13290         * gst/gstinfo.h:
13291           more docs fixes, add new api to the docs
13292
13293 2005-11-21  Andy Wingo  <wingo@pobox.com>
13294
13295         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13296         state_broadcast call.
13297
13298         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13299
13300 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13301
13302         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13303         function calls for arrays.
13304
13305 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13306
13307         * docs/random/ensonic/media-device-daemon.txt:
13308           wild idea, can this be done?
13309         * docs/gst/gstreamer-sections.txt:
13310         * gst/gsterror.h:
13311         * gst/gstfilter.c:
13312         * gst/gstfilter.h:
13313         * gst/gstplugin.h:
13314         * gst/gstpluginfeature.c:
13315         * gst/gsttrace.c:
13316         * gst/gstvalue.c:
13317         * gst/gstvalue.h:
13318           doc fixes and additions
13319
13320 2005-11-21  Andy Wingo  <wingo@pobox.com>
13321
13322         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13323         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13324         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13325         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13326         private to the basesrc implementation.
13327
13328         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13329         behalf of event function if necessary. It should no longer be
13330         necessary to take the stream lock in pad's event functions. Fixes
13331         #320299.
13332
13333 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13334         * docs/gst/gstreamer-sections.txt:
13335         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13336         (gst_structure_fixate_field_nearest_double),
13337         (gst_structure_fixate_field_boolean):
13338         * gst/gststructure.h:
13339         * win32/common/libgstreamer.def:
13340         * win32/gstreamer.def:
13341
13342         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13343         (#322027)
13344
13345 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13346
13347         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13348         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13349         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13350         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13351         (gst_fdsrc_uri_handler_init):
13352         * gst/elements/gstfdsrc.h:
13353           Port fd:// URI handler from 0.8 to fdsrc
13354
13355 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13356
13357         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13358         (gst_value_serialize_fourcc):
13359         * gst/gstvalue.h:
13360           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13361           consistent with our other format defines (#320324).
13362
13363 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13364
13365         * gst/gstvalue.c: (gst_value_is_fixed):
13366           Revert previous commit. Value lists are by definition
13367           not fixed, as they are a list of possible values.
13368
13369 2005-11-21  Andy Wingo  <wingo@pobox.com>
13370
13371         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13372         during the stable series if we need it. Fixes #319178.
13373
13374         * gst/gstevent.c (gst_event_new_filler): Removed.
13375
13376         * check/gst/gstevent.c: Update comment about filler events.
13377
13378 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13379
13380         * gst/gstvalue.c: (gst_value_is_fixed):
13381           Should handle both value arrays and value lists.
13382
13383 2005-11-21  Andy Wingo  <wingo@pobox.com>
13384
13385         patch by: Alessandro Dessina <alessandro nnva org>
13386
13387         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13388         functions to access arrays. Fixes #321962.
13389
13390 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13391
13392         * docs/gst/gstreamer.types:
13393           gst_collectpads_get_type => gst_collect_pads_get_type.
13394           
13395         * gst/base/gstbasetransform.c:
13396           Remove unused SIGNAL_HANDOFF enum.
13397
13398 2005-11-21  Andy Wingo  <wingo@pobox.com>
13399
13400         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13401         the event type (upstream, downstream, serialized). Renamed
13402         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13403         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13404         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13405
13406         * gst/gstevent.c: Update for new CUSTOM event names.
13407
13408         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13409
13410         * gst/gstevent.h:
13411         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13412         bug #319392.
13413
13414 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13415
13416         * docs/gst/gstreamer-sections.txt:
13417         * win32/common/libgstbase.def:
13418         * win32/libgstbase.def:
13419         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13420         (gst_collect_pads_class_init), (gst_collect_pads_init),
13421         (gst_collect_pads_finalize), (gst_collect_pads_new),
13422         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13423         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13424         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13425         (gst_collect_pads_start), (gst_collect_pads_stop),
13426         (gst_collect_pads_peek), (gst_collect_pads_pop),
13427         (gst_collect_pads_available), (gst_collect_pads_read),
13428         (gst_collect_pads_flush), (gst_collect_pads_event),
13429         (gst_collect_pads_chain):
13430         * gst/base/gstcollectpads.h:
13431           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13432           unimplemented functions as unimplemented. Add padding to
13433           GstCollectData. (#320766, #320423)
13434
13435 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13436
13437         * gst/gstmessage.c:
13438           Improve docs for DURATION message (usage of duration parameter)
13439           (#320113)
13440
13441 2005-11-20  Wim Taymans  <wim@fluendo.com>
13442
13443         * check/Makefile.am:
13444         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13445         (main):
13446         * gst/Makefile.am:
13447         * gst/gst.h:
13448         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13449         (gst_segment_set_seek), (gst_segment_set_newsegment),
13450         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13451         (gst_segment_clip):
13452         * gst/gstsegment.h:
13453         Added segment helper structure and methods. Not fully implemented
13454         yet.
13455         Added segment check.
13456
13457 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13458
13459         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13460           Add a deserialisation test for fractions
13461         * examples/metadata/read-metadata.c: (message_loop),
13462         (make_pipeline), (main):
13463           Fix up metadata reading sample.
13464         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13465           Debug format fix
13466         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13467           Don't try and fixate empty caps
13468         * gst/gst_private.h:
13469           Wrap in G_BEGIN_DECLS/G_END_DECLS
13470         * gst/gstvalue.c: (gst_value_collect_fraction),
13471         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13472         (gst_value_transform_string_fraction),
13473         (gst_value_compare_fraction):
13474           Add some extra guards to ensure that we don't end up 
13475           with an invalid denominator of 0 in a gstfraction and
13476           that fractions always get reduced.
13477
13478 2005-11-20  Wim Taymans  <wim@fluendo.com>
13479
13480         * docs/gst/gstreamer-sections.txt:
13481         * gst/gstbuffer.h:
13482         * gst/gstelement.c:
13483         * gst/gstformat.c:
13484         * gst/gstformat.h:
13485         * gst/gstindex.h:
13486         * gst/gstquery.c:
13487         * gst/gstquery.h:
13488         * gst/gstvalue.c:
13489         Doc fixes.
13490
13491 2005-11-20  Wim Taymans  <wim@fluendo.com>
13492
13493         * docs/design/part-TODO.txt:
13494         * gst/gstcaps.h:
13495         Make a proper enum of the flag.
13496
13497 2005-11-19  Wim Taymans  <wim@fluendo.com>
13498
13499         * docs/design/part-TODO.txt:
13500         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13501         (gst_format_to_quark), (gst_format_register):
13502         * gst/gstformat.h:
13503         * gst/gstquery.c: (_gst_query_initialize),
13504         (gst_query_type_get_name), (gst_query_type_to_quark),
13505         (gst_query_type_register):
13506         * gst/gstquery.h:
13507         Add type to quark and type to string conversions.
13508
13509 2005-11-19  Andy Wingo  <wingo@pobox.com>
13510
13511         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13512         #320097.
13513
13514 2005-11-19  Wim Taymans  <wim@fluendo.com>
13515
13516         * docs/design/part-TODO.txt:
13517         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13518         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13519         (gst_bin_handle_message_func):
13520         * gst/gstbin.h:
13521         Make message handling overridable.
13522
13523 2005-11-19  Andy Wingo  <wingo@pobox.com>
13524
13525         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13526
13527         * gst/gstclock.h:
13528         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13529         be a GstClockTime.
13530         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13531         is a GstClockTime. Fixes #321710.
13532
13533         * gst/gstclock.h (GstClock): Remove offset property. Add
13534         internal_calibration and external_calibration. Fix padding. Pad
13535         also by GstClockTime so we don't run into problems.
13536
13537         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13538         (gst_clock_get_rate_offset): Remove.
13539         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13540
13541         * gst/gstutils.h:
13542         * gst/gstutils.c (g_static_rec_cond_wait)
13543         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13544
13545         * gst/gstbin.c: Remove terrible continue_state prototype.
13546
13547         * gst/gstelement.h (gst_element_continue_state): Make public.
13548
13549         * gst/gstelement.h:
13550         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13551         by continue_state. Fixes #319389.
13552
13553         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13554         Really fixes #168438. However I don't see anywhere where the
13555         filter function is called... stupid GStreamer...
13556         
13557         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13558         don't have a dispose function, so it won't get called when the
13559         object is unreffed, but oh well!
13560
13561         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13562         allows a destroy function to be set so user_data can be freed.
13563         Fixes #168438.
13564         (gst_index_set_filter): Call gst_index_set_filter_full.
13565
13566         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13567
13568         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13569         string should produce an error, given the lack of a way to
13570         represent NULL strings. Fixes #165650.
13571         
13572         * gst/gstvalue.h: 
13573         * gst/gstvalue.c (gst_value_array_append_value) 
13574         (gst_value_array_prepend_value, gst_value_array_get_size) 
13575         (gst_value_array_get_value): New API, copied from
13576         gst_value_list_*, only operates on arrays.
13577         (gst_value_list_append_value, gst_value_list_prepend_value) 
13578         (gst_value_list_concat, gst_value_list_get_size) 
13579         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13580
13581         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13582         init_list, because it works on both.
13583         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13584         (gst_value_copy_list_or_array): Renamed from copy_list.
13585         (gst_value_free_list_or_array): Renamed from free_list.
13586         (gst_value_collect_list_or_array): Renamed from collect_list.
13587         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13588         (gst_value_list_or_array_peek_pointer): Renamed from
13589         list_peek_pointer.
13590         (_gst_value_array_value_table, _gst_value_list_value_table):
13591         Update value table functions.
13592         (gst_value_compare_list_or_array): Renamed from compare_list.
13593
13594         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13595         some constness.
13596
13597         * gst/gsttaglist.c:
13598         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13599         GstTagList*. Fixes #143472.
13600
13601         * gst/gststructure.h: Clarify what the foreach/map functions can
13602         or can't do to their arguments.
13603
13604 2005-11-18  Wim Taymans  <wim@fluendo.com>
13605
13606         * gst/gstclock.c: (gst_clock_set_calibration),
13607         (gst_clock_get_calibration):
13608         Doc and API fixes.
13609         Calibration can be set with internal time equal to current
13610         internal time too.
13611
13612 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13613
13614         * gst/gsterror.c:
13615         * gst/gsterror.h:
13616           document
13617
13618 2005-11-18  Andy Wingo  <wingo@pobox.com>
13619
13620         * configure.ac: 
13621         * pkgconfig/gstreamer-net.pc.in:
13622         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13623         * pkgconfig/Makefile.am: Add net pkgconfig files.
13624
13625 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13626
13627         * gst/gstcaps.c:
13628         * gst/gstghostpad.c:
13629         * gst/gsttrace.c:
13630         * gst/gstvalue.c:
13631         * gst/gstvalue.h:
13632           docs fixes
13633
13634 2005-11-18  Andy Wingo  <wingo@pobox.com>
13635
13636         * gst/net/gstnetclientclock.c: Turn off debugging.
13637
13638         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13639         times connverge somewhat. Can't make a real test.
13640
13641         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13642         integer arithmetic. Return the minimum of the domain, which can be
13643         set as "internal" for gst_clock_set_calibration.
13644         (gst_net_client_clock_observe_times): Call _set_calibration.
13645         (gst_net_client_clock_new): Call _set_calibration instead of
13646         rate_offset.
13647
13648         * check/net/gstnetclientclock.c (test_functioning): Use the right
13649         adjustment api.
13650
13651         * gst/gstclock.h:
13652         * gst/gstclock.c (gst_clock_get_calibration) 
13653         (gst_clock_set_calibration): New functions, obsolete the ones I
13654         added yesterday. Doh. Precision issues mean we have to extrapolate
13655         from a point in the more recent past than 1970.
13656         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13657         obsolete.
13658         (gst_clock_adjust_unlocked): Use the right calibration data.
13659
13660 2005-11-18  Edward Hervey  <edward@fluendo.com>
13661
13662         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13663         Also reset the ->current_* values in READY->PAUSED
13664
13665 2005-11-18  Andy Wingo  <wingo@pobox.com>
13666
13667         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13668         Whoops, check the right fd. Also add some debugging.
13669         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13670         (do_linear_regression): Add a crapload of debugging. Subtract off
13671         the minimum values from the input series to discard unneeded bits.
13672         Use only int arithmetic. There is still double arithmetic when
13673         calculating the intercept that needs fixing. Return boolean to
13674         indicate success; FALSE would mean the domain or range is too
13675         great. Still needs fixes.
13676
13677 2005-11-18  Wim Taymans  <wim@fluendo.com>
13678
13679         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13680         For the current position in stream time, we need to subtract
13681         accumulated time.
13682         
13683         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13684         Release lock before calling the callback function of async
13685         entries.
13686
13687 2005-11-18  Andy Wingo  <wingo@pobox.com>
13688
13689         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13690         Port goes all the way to MAXUINT16.
13691
13692         * gst/net/gstnettimeprovider.c: Make the port range the same as
13693         for the kernel: 0 assigns, otherwise ports are less than
13694         MAXUINT16.
13695
13696         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13697         port change.
13698
13699         * check/net/gstnetclientclock.c (test_functioning): Add the start
13700         of another test. 
13701
13702 2005-11-18  Wim Taymans  <wim@fluendo.com>
13703
13704         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13705         (gst_bin_remove_func), (bin_bus_handler):
13706         * gst/gstbin.h:
13707         Removing a clock provider from a bin, triggers a clock lost message
13708         so that a new clock will be selected.
13709         Adding a clock to a bin triggers a clock provider message.
13710         Make sure we reselect a clock when we received a clock lost message.
13711         Keep a reference to the element that provided the clock.
13712
13713 2005-11-18  Andy Wingo  <wingo@pobox.com>
13714
13715         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13716         the clock initially so it produces values around the base time.
13717         (gst_net_client_clock_class_init): Typo fix.
13718         (gst_net_client_clock_thread): Add note on when the socket gets
13719         closed.
13720
13721 2005-11-17  Wim Taymans  <wim@fluendo.com>
13722
13723         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13724         Free remote and local time arrays.
13725
13726 2005-11-17  Wim Taymans  <wim@fluendo.com>
13727
13728         * gst/net/gstnetclientclock.c: (do_linear_regression),
13729         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13730         Fix compilation, uninitialized vars and a forgotten continue.
13731
13732 2005-11-17  Andy Wingo  <wingo@pobox.com>
13733
13734         * check/Makefile.am (check_PROGRAMS): 
13735         * check/net/gstnetclientclock.c: Add a most minimal test for the
13736         net client clock. More to come later.
13737
13738         * gst/net/gstnet.h: 
13739         * gst/net/Makefile.am: Add netclientclock.
13740
13741         * gst/net/gstnetclientclock.h:
13742         * gst/net/gstnetclientclock.c: New files, implement an untested
13743         GstClock that takes its time from a network time provider.
13744         Implements the algorithm in network-clock.scm.
13745
13746         * tests/network-clock.scm (*window-size*): Rename from
13747         *queue-length*.
13748         * tests/network-clock.scm (network-time): 
13749         * tests/network-clock-utils.scm (q-push): Update callers.
13750
13751 2005-11-17  Wim Taymans  <wim@fluendo.com>
13752
13753         * gst/gstbin.c: (gst_bin_provide_clock_func),
13754         (gst_bin_sort_iterator_new):
13755         And unref the child too..
13756
13757 2005-11-17  Wim Taymans  <wim@fluendo.com>
13758
13759         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13760         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13761         Refactor the sort iterator so it can be used while holding the
13762         LOCK too.
13763         Make clock selection select a clock closest to the source.
13764
13765 2005-11-17  Michael Smith <msmith@fluendo.com>
13766
13767         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13768         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13769         * gst/gstclock.h:
13770           Anonymous structs are a gcc (and some other compilers) extension, so
13771           don't use them. Since this is only for ABI-compatibility, and our
13772           API/ABI freeze is over in a few days, this whole thing will only
13773           last a few days, so don't bother trying to think up a meaningful
13774           name for the struct.
13775
13776 2005-11-17  Andy Wingo  <wingo@pobox.com>
13777
13778         * gst/gstclock.h (GstClock): Add rate and offset properties,
13779         preserving ABI stability. Add rate/offset accessors. Will file bug
13780         for the freeze break.
13781
13782         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13783         and offset, trying to keep precision and avoiding
13784         underflow/overflow.
13785         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13786         functions. Make gst_clock_set_time_adjust obsolete.
13787         (gst_clock_set_time_adjust): Note that this function is obsolete.
13788         Will file bug soon.
13789
13790         * gst/base/gstbasetransform.h: Make the ABI-stability hack
13791         greppable by using GST_PADDING-1+1.
13792
13793 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
13794
13795         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13796
13797         * gst/gstmessage.c: (gst_message_parse_clock_lost):
13798           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13799
13800         * gst/gstpadtemplate.h:
13801         * gst/gstpluginfeature.h:
13802           Don't use c++ style comments in headers (#321638).
13803
13804 2005-11-16  Andy Wingo  <wingo@pobox.com>
13805
13806         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13807         buffer.
13808
13809         * check/net/gstnettimeprovider.c: Check to see that the time
13810         provider actually provides times. Works, yo!
13811
13812 2005-11-16  Wim Taymans  <wim@fluendo.com>
13813
13814         * check/Makefile.am:
13815         Enable more tests.
13816
13817         * check/elements/fakesrc.c: (GST_START_TEST):
13818         Set element to NULL before disposing it.
13819
13820 2005-11-16  Andy Wingo  <wingo@pobox.com>
13821
13822         * gst/net/Makefile.am:
13823         * gst/net/gstnet.h:
13824         * gst/net/gstnettimeprovider.c: 
13825         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13826         provider, include it from gstnet.h, and add it to the build.
13827
13828         * gst/net/gstnettimepacket.h: 
13829         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13830         sending and receiving.
13831
13832 2005-11-16  Wim Taymans  <wim@fluendo.com>
13833
13834         * check/Makefile.am:
13835         Enable valgrind check.
13836
13837         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13838         (gst_fake_src_alloc_buffer):
13839         Fix memleak.
13840
13841 2005-11-16  Wim Taymans  <wim@fluendo.com>
13842
13843         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13844         Call parent finalize too.
13845
13846 2005-11-16  Wim Taymans  <wim@fluendo.com>
13847
13848         * check/Makefile.am:
13849         Enable valgrind check that should work fine now.
13850
13851         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13852         * gst/gstqueue.c: (gst_queue_init):
13853         Fix memleaks in pad allocation.
13854
13855 2005-11-16  Andy Wingo  <wingo@pobox.com>
13856
13857         * gst/net/Makefile.am:
13858         * gst/net/gstnet.h: New part of core to hold network elements and
13859         objects. Put in core because it exposes API that applications want
13860         to use. The library is named libgstnet-tempname right now because
13861         of the existing libgstnet in gst-plugins-base. Solution is
13862         probably to rename the one in plugins-base; will file a bug for
13863         the freeze break.
13864
13865         * gst/net/gstnettimeprovider.c: 
13866         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13867         get_time call over the network.
13868
13869         * configure.ac: 
13870         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13871
13872         * check/Makefile.am:
13873         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13874         get additions shortly.
13875
13876 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13877
13878         * gst/gstpad.c: (gst_pad_new_from_static_template):
13879         * gst/gstpad.h:
13880           add gst_pad_new_from_static_template functions
13881         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13882         (gst_check_setup_sink_pad):
13883         * gst/elements/gsttee.c: (gst_tee_init):
13884           and use them
13885
13886 2005-11-16  Wim Taymans  <wim@fluendo.com>
13887
13888         * gst/gstpad.c: (gst_pad_pause_task):
13889         Removed warning, it's not really an error either.
13890
13891 2005-11-16  Wim Taymans  <wim@fluendo.com>
13892
13893         * gst/base/gstbasetransform.c:
13894         (gst_base_transform_prepare_output_buf),
13895         (gst_base_transform_event):
13896         Check if the caps are NULL, this can happen if the element
13897         is shutting down and the pad caps are set to NULL.
13898
13899 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13900
13901         * gst/elements/gsttee.c: (gst_tee_init):
13902           fix pad template leak in tee
13903
13904 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13905
13906         * gst/glib-compat.c: (g_value_dup_gst_object):
13907         * gst/glib-compat.h:
13908         * gst/gstpad.c: (gst_pad_set_property):
13909           use gst_object_ref when setting the pad template; this will
13910           trigger the pad template leaks on GLib 2.6 and the slaves
13911
13912 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13913
13914         * gst/glib-compat.c: (gst_flags_get_first_value):
13915         * gst/glib-compat.h:
13916         * gst/gstregistryxml.c:
13917           remove functions copied from GLib 2.6
13918
13919 2005-11-16  Michael Smith <msmith@fluendo.com>
13920
13921         * gst/Makefile.am:
13922           Don't link against VALGRIND_LIBS. That was always the wrong thing to
13923           do, but only breaks with newer valgrind versions. We're not a
13924           valgrind tool, we have no link-time dependencies on libcoregrind.
13925
13926 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13927
13928         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13929           some debug changes
13930         * gst/gstmessage.h:
13931           typo fixes
13932
13933 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13934
13935         * gst/base/gstbasesrc.c: (gst_base_src_init):
13936         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13937         * gst/gstqueue.c: (gst_queue_init):
13938         * gst/gstregistryxml.c: (load_feature):
13939           Revert all these unrefs, they don't even pass make check !
13940
13941 2005-11-15  Johan Dahlin  <johan@gnome.org>
13942
13943         * gst/base/gstbasesrc.c: (gst_base_src_init):
13944         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13945         * gst/gstqueue.c: (gst_queue_init): 
13946         Free pad templates, fixes a couple of leaks.
13947
13948 2005-11-15  Daniel Fischer  <dan at f3c dot com>
13949
13950         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13951
13952         * gst/gstpad.c: (gst_pad_get_property):
13953           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13954           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13955           (#321452)
13956
13957 2005-11-15  Wim Taymans  <wim@fluendo.com>
13958
13959         * gst/gstevent.c:
13960         Small doc update.
13961
13962 2005-11-15  Andy Wingo  <wingo@pobox.com>
13963
13964         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13965
13966         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13967         using GST_CLOCK_TIME_NONE to disable base time management.
13968         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13969         time if it was NONE before.
13970         (gst_pipeline_change_state): Only munge the base time if
13971         stream_time != GST_CLOCK_TIME_NONE.
13972
13973         * check/gst/gstpipeline.c (test_base_time): Punt around the
13974         problem of the probe not being called, because that's not the
13975         issue I'm looking at. Add a check that setting stream_time to NONE
13976         disables base time management.
13977         
13978 2005-11-15  Wim Taymans  <wim@fluendo.com>
13979
13980         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13981         segment_stop == -1 at startup.
13982
13983         * gst/base/gstbasetransform.c: (gst_base_transform_event),
13984         (gst_base_transform_change_state):
13985         Init segment values at start.
13986
13987 2005-11-15  Wim Taymans  <wim@fluendo.com>
13988
13989         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13990         0 segment values are 0 in any format.
13991
13992         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13993         * gst/base/gstbasetransform.h:
13994         Parse newsegment correctly in basetransform
13995
13996         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13997         Sync to clock using updated segment values.
13998
13999 2005-11-15  Andy Wingo  <wingo@pobox.com>
14000
14001         * check/gst/gstpipeline.c (test_base_time): Add check that the
14002         base time and stream time are reset correctly.
14003
14004 2005-11-15  Wim Taymans  <wim@fluendo.com>
14005
14006         * docs/design/part-TODO.txt:
14007         Some more TODO items.
14008
14009 2005-11-15  Andy Wingo  <wingo@pobox.com>
14010
14011         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14012         error if the user selected "no clock" as the clocking method.
14013
14014         * check/gst/gstpipeline.c (test_base_time): New test for buffer
14015         timestamps with live capture.
14016
14017         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14018         is 0 but we are a live source, timestamp the buffers using the
14019         element's clock.
14020
14021 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
14022
14023         * docs/gst/gstreamer-sections.txt:
14024         * gst/gsterror.c:
14025         * gst/gstghostpad.c:
14026         * gst/gstobject.h:
14027         * gst/gstxml.c:
14028           more section docs
14029
14030 2005-11-14  Wim Taymans  <wim@fluendo.com>
14031
14032         * common/gst.supp:
14033           add suppressions from Wim's Debian machine
14034
14035 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14036
14037         * common/gst.supp:
14038           add suppressions from Andy's AMD64 Ubuntu machine
14039
14040 2005-11-14  Andy Wingo  <wingo@pobox.com>
14041
14042         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14043         STATE_LOCK not necessary. Fixes #311489.
14044
14045         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14046         #305291.
14047
14048         * gst/gstindex.c (gst_index_add_object): Note in the docs that
14049         this function is not implemented.
14050
14051 2005-11-14  Julien MOUTTE  <julien@moutte.net>
14052
14053         * gst/base/gstbasetransform.c:
14054         (gst_base_transform_prepare_output_buf):
14055         Ref the source pad caps while we need them.
14056         Fixes (#321386)
14057
14058 2005-11-11  Wim Taymans  <wim@fluendo.com>
14059
14060         * docs/gst/gstreamer-sections.txt:
14061         Added some docs for GstCollectData.
14062
14063         * gst/base/gstadapter.c:
14064         Some small code example fix.
14065
14066         * gst/base/gstcollectpads.c:
14067         * gst/base/gstcollectpads.h:
14068         Document some more.
14069
14070 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14071
14072         * configure.ac: back to HEAD
14073
14074 === release 0.9.5 ===
14075
14076 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
14077
14078         * configure.ac:
14079           releasing 0.9.5, "Bike Lunch Day"
14080
14081 2005-11-11  Wim Taymans  <wim@fluendo.com>
14082
14083         * gst/gstbuffer.c: (_gst_buffer_copy):
14084         Copy more flags.
14085
14086         * gst/gstcaps.c: (gst_caps_is_equal):
14087         Fix some docs.
14088         Make _is_equal fast in the trivial cases.
14089
14090         * gst/gstminiobject.c:
14091         * gst/gstminiobject.h:
14092         More docs. Spifify .h file.
14093
14094         * gst/gstutils.c:
14095         Small doc update.
14096
14097 2005-11-11  Wim Taymans  <wim@fluendo.com>
14098
14099         * gst/base/gstbasetransform.c:
14100         (gst_base_transform_prepare_output_buf),
14101         (gst_base_transform_handle_buffer):
14102         Small cleanups.
14103         If we're processing a buffer and need to allocate an output
14104         buffer, we cannot accept a format change. If we did get a 
14105         format change, we have to alloc a buffer ourselves of the 
14106         right size.
14107
14108 2005-11-11  Wim Taymans  <wim@fluendo.com>
14109
14110         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14111         While checking the flag for reentrancy in the gstcaps function
14112         is nice to detect recursive invocations, it also makes it 
14113         impossible to call getcaps from multiple threads, which must be
14114         possible. So, checking for recursive calls has to go.
14115
14116 2005-11-11  Michael Smith <msmith@fluendo.com>
14117
14118         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14119           Don't sync on buffers that fall partially outside our current
14120           segment. Prevents an assertion failure/abort playing some files.
14121
14122 2005-11-10  Andy Wingo  <wingo@pobox.com>
14123
14124         * check/gst/gstbin.c (test_message_state_changed_children): Style
14125         fix..
14126
14127         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14128         gst_bus_poll with the signal watch. Ensures that poll and a signal
14129         watch see the same messages.
14130
14131         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14132         a poll and a watch at the same time get the same messages.
14133
14134 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14135
14136         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14137         * gst/gstcaps.c: (gst_caps_intersect):
14138           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14139           and it's not needed.
14140
14141 2005-11-10  Wim Taymans  <wim@fluendo.com>
14142
14143         * docs/design/part-TODO.txt:
14144         Updated todo.
14145
14146 2005-11-10  Wim Taymans  <wim@fluendo.com>
14147
14148         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14149         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14150         (gst_base_src_do_sync), (gst_base_src_get_range):
14151         Implement clock sync in base class.
14152
14153 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14154
14155         patch by: Tim-Philipp Müller <tim at centricular dot net>
14156
14157         * gst/gststructure.c: (gst_structure_parse_field),
14158         (gst_structure_from_string):
14159           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14160           so that gst_parse_launch() can deal with spaces in filtered link
14161           caps (fixes #164479)
14162         * check/gst/capslist.h:
14163         * check/gst/gststructure.c: (GST_START_TEST):
14164           add unit tests for this change
14165
14166 2005-11-10  Wim Taymans  <wim@fluendo.com>
14167
14168         * docs/gst/gstreamer-sections.txt:
14169         * gst/gstelement.c:
14170         * gst/gstelement.h:
14171         Fix docs, move some STATE macros to private.
14172
14173 2005-11-10  Wim Taymans  <wim@fluendo.com>
14174
14175         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14176         Added check for bug #317341
14177
14178         * gst/gstbuffer.c:
14179         * gst/gstbuffer.h:
14180         Some more spiffifying.
14181
14182         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14183         Call peer linkfunction if we are a source pad. Totally fixes
14184         #317341
14185
14186         * gst/gstpad.c:
14187         Update docs, source pads should call the peer linkfunction
14188         so they can atomically perform the pad link.
14189
14190 2005-11-09  Wim Taymans  <wim@fluendo.com>
14191
14192         * gst/gstbuffer.c:
14193         * gst/gstbuffer.h:
14194         Uber-spiffy-spiffify some more.
14195
14196 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14197
14198         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14199         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14200         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14201         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14202         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14203         * gst/gstpad.c: (gst_pad_init):
14204           Use GST_DEBUG_FUNCPTR() more extensively.
14205
14206 2005-11-09  Wim Taymans  <wim@fluendo.com>
14207
14208         * gst/gstobject.c: (gst_object_class_init):
14209         * gst/gstobject.h:
14210         Documentation fixes.
14211
14212 2005-11-09  Edward Hervey  <edward@fluendo.com>
14213
14214         * gst/gsttypefindfactory.c:
14215         Fix docs.
14216         
14217 2005-11-09  Edward Hervey  <edward@fluendo.com>
14218
14219         * gst/base/gsttypefindhelper.c:
14220         * gst/gsttypefind.c:
14221         * gst/gsttypefind.h:
14222         Fix docs.
14223
14224 2005-11-09  Wim Taymans  <wim@fluendo.com>
14225
14226         * gst/gstiterator.c:
14227         Fix revision data.
14228
14229         * gst/gsttask.c:
14230         * gst/gsttask.h:
14231         Fix docs.
14232
14233 2005-11-09  Wim Taymans  <wim@fluendo.com>
14234
14235         * gst/gstevent.h:
14236         * gst/gsturi.h:
14237         Fix docs.
14238
14239 2005-11-09  Wim Taymans  <wim@fluendo.com>
14240
14241         * docs/gst/gstreamer-sections.txt:
14242         Moved the message async delivery private lock and cond
14243         to the private section.
14244
14245         * gst/gstmessage.c:
14246         * gst/gstmessage.h:
14247         Fixed docs.
14248
14249 2005-11-09  Edward Hervey  <edward@fluendo.com>
14250
14251         * docs/gst/gstreamer-sections.txt:
14252         * gst/gsturi.c:
14253         * gst/gsturi.h:
14254         Document GstURIHandler
14255
14256 2005-11-09  Wim Taymans  <wim@fluendo.com>
14257
14258         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14259         (gst_iterator_find_custom):
14260         * gst/gstiterator.h:
14261         Fix iterator docs.
14262
14263 2005-11-09  Wim Taymans  <wim@fluendo.com>
14264
14265         * gst/gstbin.h:
14266         Document another field.
14267
14268         * gst/gststructure.c:
14269         * gst/gststructure.h:
14270         Document.
14271
14272 2005-11-09  Wim Taymans  <wim@fluendo.com>
14273
14274         * gst/gstbin.h:
14275         Documented structs.
14276
14277 2005-11-09  Wim Taymans  <wim@fluendo.com>
14278
14279         * docs/gst/gstreamer-sections.txt:
14280         Added some new macros.
14281
14282         * gst/gstclock.c:
14283         * gst/gstclock.h:
14284         * gst/gstobject.h:
14285         Docs updates.
14286
14287 2005-11-09  Wim Taymans  <wim@fluendo.com>
14288
14289         * docs/design/part-TODO.txt:
14290         Some more items for the TODO
14291
14292         * gst/gstcaps.c:
14293         * gst/gstcaps.h:
14294         Document GstCaps.
14295
14296 2005-11-09  Andy Wingo  <wingo@pobox.com>
14297
14298         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14299         to work on something else now tho...
14300
14301         * gst/base/gstadapter.c: More adapter docs.
14302
14303         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14304         (gst_file_sink_stop): New functions, replace the state change
14305         handler.
14306         (gst_file_sink_class_init): Hook up the start and stop functions.
14307         (gst_file_sink_base_init): Don't set the state change handler any
14308         more. It was a bit ugly too, being set from here...
14309         (gst_file_sink_get_property, gst_file_sink_set_property):
14310         Cleanups...
14311         (gst_file_sink_set_location): More robust check that doesn't call
14312         GST_STATE. Ugggggg.
14313
14314 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14315
14316         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14317           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14318
14319 2005-11-08  Wim Taymans  <wim@fluendo.com>
14320
14321         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14322         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14323         (gst_base_sink_chain), (gst_base_sink_change_state):
14324         * gst/base/gstbasesink.h:
14325         * gst/base/gstbasesrc.h:
14326         * gst/gstelement.h:
14327         * gst/gstevent.h:
14328         Avoid excessive typechecking in macros.
14329
14330         * gst/gstminiobject.c: (gst_mini_object_get_type),
14331         (gst_mini_object_init), (gst_mini_object_new),
14332         (gst_mini_object_free):
14333         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14334         (gst_object_finalize):
14335         Remove cruft code, optimize alloc_trace.
14336
14337 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14338
14339         * docs/faq/gst-uninstalled:
14340           fix up PS1 for systems that try to reset it
14341
14342 2005-11-07  Wim Taymans  <wim@fluendo.com>
14343
14344         * gst/base/gstbasesrc.c: (gst_base_src_init),
14345         (gst_base_src_get_range):
14346         Set the segment_end to -1 initially. Fixed typefind.
14347
14348 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14349
14350         * gst/base/gstadapter.c:
14351           Debug category should be 'adapter', not 'GstAdapter'.
14352           
14353         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14354         (gst_collectpads_class_init), (gst_collectpads_init),
14355         (gst_collectpads_peek), (gst_collectpads_pop),
14356         (gst_collectpads_event), (gst_collectpads_chain):
14357           Add debug category and some debugging output. Use boilerplate
14358           macros. Remove some extraneous words from docs.
14359
14360 2005-11-05  Andy Wingo  <wingo@pobox.com>
14361
14362         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14363         macro.
14364
14365 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14366
14367         * docs/gst/gstreamer-sections.txt:
14368         * gst/gstcaps.h:
14369         * gst/gstinfo.c:
14370         * gst/gstminiobject.h:
14371         * gst/gstobject.h:
14372         * gst/gstutils.h:
14373           more docs added
14374
14375 2005-11-04  Wim Taymans  <wim@fluendo.com>
14376
14377         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14378         Small update to stop at the configured segment_end
14379         position.
14380
14381 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14382
14383         * gst/gstregistry.c:
14384         * gst/gstregistry.h:
14385           added missing docs
14386
14387 2005-11-04  Edward Hervey  <edward@fluendo.com>
14388
14389         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14390         Check if we are doing a segment seek and have arrived at the
14391         end of that segment.
14392
14393 2005-11-04  Wim Taymans  <wim@fluendo.com>
14394
14395         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14396         Don't leak a mutex unlock in case of an error.
14397
14398         * gst/gstbus.h:
14399         Doc fixes.
14400
14401 2005-11-04  Wim Taymans  <wim@fluendo.com>
14402
14403         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14404         (gst_bus_post):
14405         Get the context to wake up only once.
14406
14407 2005-11-03  Wim Taymans  <wim@fluendo.com>
14408
14409         * check/states/sinks.c: (GST_START_TEST):
14410         Uncomment fixed check.
14411
14412         * docs/design/part-TODO.txt:
14413         Updated TODO.
14414
14415         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14416         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14417         (gst_base_sink_get_position):
14418         If we are going to PLAYING, post the right pending state
14419         when we post the intermediate paused message.
14420
14421         * gst/gstelement.c: (gst_element_continue_state),
14422         (gst_element_set_state_func), (gst_element_change_state):
14423         Don't post state changes that were between the same state
14424         and were not ASYNC.
14425
14426 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14427
14428         * docs/gst/gstreamer-sections.txt:
14429         * gst/gstcaps.h:
14430         * gst/gstinfo.c:
14431         * gst/gstminiobject.h:
14432         * gst/gstobject.h:
14433         * gst/gstutils.h:
14434           more docs and doc style fixes
14435
14436 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14437
14438         * docs/gst/gstreamer-sections.txt:
14439         * gst/gstelement.c:
14440         * gst/gstminiobject.c:
14441         doc fixes
14442
14443 2005-11-03  Andy Wingo  <wingo@pobox.com>
14444
14445         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14446         state-changed messages actually have the right order and the right
14447         values.
14448
14449 2005-11-03  Wim Taymans  <wim@fluendo.com>
14450
14451         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14452         Added some more checks. Specifically the case where NO_PREROLL
14453         elements are in the pipeline.
14454
14455         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14456         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14457         (gst_base_sink_get_position):
14458         Post READY->PAUSED state change messages too.
14459         Fix bug where VOID was posted as pending state...
14460
14461         * gst/gstbin.c: (gst_bin_recalc_state):
14462         use _element_continue_state() to continue the state change.
14463
14464         * gst/gstelement.c: (gst_element_continue_state),
14465         (gst_element_commit_state), (gst_element_set_state_func),
14466         (gst_element_change_state), (gst_element_change_state_func):
14467         Lots of state change cleanups, assign the STATE_RETURN in
14468         a new continue_state() function that also propagates the
14469         last return value from a state change to the app.
14470         Update some debug statements with proper category.
14471
14472 2005-11-03  Wim Taymans  <wim@fluendo.com>
14473
14474         * docs/design/part-events.txt:
14475         * docs/design/part-gstpipeline.txt:
14476         * docs/design/part-messages.txt:
14477         * docs/design/part-overview.txt:
14478         * docs/design/part-seeking.txt:
14479         * docs/design/part-states.txt:
14480         * docs/design/part-trickmodes.txt:
14481         * docs/manual/advanced-position.xml:
14482         Small docs updates.
14483
14484         * gst/gstobject.h:
14485         People think !! is ugly, this looks better.
14486
14487         * gst/gstpad.c: (gst_pad_set_blocked_async):
14488         Remove !! since it's fixed elsewhere now.
14489
14490 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14491
14492         * gst/gstminiobject.h:
14493         * gst/gstobject.h:
14494           Add !! to _FLAG_IS_SET macros to make the result boolean.
14495
14496 2005-11-03  Edward Hervey  <edward@fluendo.com>
14497
14498         * gst/gstpad.c: (gst_pad_set_blocked_async):
14499         comparing a flag and a gboolean rarely returns coherent results...
14500         Added two characters (!!) to make that work correctly.
14501         
14502 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14503
14504         * gst/gstbus.c: (gst_bus_class_init):
14505           Fix some typos.
14506           
14507         * gst/gstqueue.c: (gst_queue_loop):
14508           Don't assume a miniobject that isn't a buffer is an
14509           event (it could be that there is a refcounting
14510           problem somewhere and the pointer is stale and
14511           refers to an already destroyed miniobject).
14512
14513 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14514
14515         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14516
14517 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14518
14519         * docs/manual/advanced-position.xml:
14520           Update seek example and explanations to current 0.9 API.
14521
14522         * gst/elements/gsttypefindelement.c:
14523         (gst_type_find_element_activate):
14524           Remove FIXME comment now that the found caps
14525           are unreffed.
14526
14527 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14528
14529         * gst/gstregistryxml.c: (load_feature):
14530           Add another GST_STR_NULL instance
14531
14532 2005-11-02  Edward Hervey  <edward@fluendo.com>
14533
14534         * gst/gstpad.c: (handle_pad_block):
14535         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14536         
14537 2005-11-02  Wim Taymans  <wim@fluendo.com>
14538
14539         * gst/gstbin.c:
14540         Fix typo in docs.
14541
14542         * gst/gstelement.c: (gst_element_commit_state):
14543         Remove unused value.
14544
14545         * gst/gstiterator.c:
14546         Mention that the returned element is reffed in the docs.
14547
14548 2005-11-02  Wim Taymans  <wim@fluendo.com>
14549
14550         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14551         (gst_pad_push), (gst_pad_push_event):
14552         Unlock blocked pads when they are flushed.
14553
14554 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14555
14556         * docs/README:
14557         * docs/gst/gstreamer-sections.txt:
14558         * gst/gstbin.c:
14559           doc updates
14560         * gst/gstregistry.c: (gst_registry_scan_path_level):
14561           fix for a nasty little missed situation where an installed plug-in
14562           which was in the cache did not get overridden by an uninstalled one
14563           which was earlier in the plugin path because the newly created plugin
14564           for the uninstalled one (not in the registry) didn't get its
14565           ->registered set to TRUE
14566
14567 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14568
14569         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14570         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14571         (gst_collectpads_is_active), (gst_collectpads_collect),
14572         (gst_collectpads_collect_range), (gst_collectpads_start),
14573         (gst_collectpads_stop), (gst_collectpads_peek),
14574         (gst_collectpads_pop), (gst_collectpads_available),
14575         (gst_collectpads_read), (gst_collectpads_flush):
14576           Guard public API with assertions.
14577         
14578         * gst/gstpad.c:
14579           Fix docs for gst_pad_set_link_function().
14580
14581 2005-11-02  Johan Dahlin  <johan@gnome.org>
14582
14583         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14584         Unref found_caps after we used it.
14585
14586 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14587
14588         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14589           Don't try to ref NULL.
14590
14591 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14592
14593         * win32/common/config.h.in:
14594           provide a GST_FUNCTION that just gives a string for now
14595
14596 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14599         (gst_object_flags_get_type), (register_gst_bin_flags),
14600         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14601         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14602         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14603         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14604         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14605         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14606         (gst_clock_flags_get_type), (register_gst_state),
14607         (gst_state_get_type), (register_gst_state_change_return),
14608         (gst_state_change_return_get_type), (register_gst_state_change),
14609         (gst_state_change_get_type), (register_gst_element_flags),
14610         (gst_element_flags_get_type), (register_gst_core_error),
14611         (gst_core_error_get_type), (register_gst_library_error),
14612         (gst_library_error_get_type), (register_gst_resource_error),
14613         (gst_resource_error_get_type), (register_gst_stream_error),
14614         (gst_stream_error_get_type), (register_gst_event_type),
14615         (gst_event_type_get_type), (register_gst_seek_type),
14616         (gst_seek_type_get_type), (register_gst_seek_flags),
14617         (gst_seek_flags_get_type), (register_gst_format),
14618         (gst_format_get_type), (register_gst_index_certainty),
14619         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14620         (gst_index_entry_type_get_type),
14621         (register_gst_index_lookup_method),
14622         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14623         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14624         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14625         (gst_index_flags_get_type), (register_gst_debug_level),
14626         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14627         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14628         (gst_iterator_result_get_type), (register_gst_iterator_item),
14629         (gst_iterator_item_get_type), (register_gst_message_type),
14630         (gst_message_type_get_type), (register_gst_mini_object_flags),
14631         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14632         (gst_pad_link_return_get_type), (register_gst_flow_return),
14633         (gst_flow_return_get_type), (register_gst_activate_mode),
14634         (gst_activate_mode_get_type), (register_gst_pad_direction),
14635         (gst_pad_direction_get_type), (register_gst_pad_flags),
14636         (gst_pad_flags_get_type), (register_gst_pad_presence),
14637         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14638         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14639         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14640         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14641         (gst_plugin_flags_get_type), (register_gst_rank),
14642         (gst_rank_get_type), (register_gst_query_type),
14643         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14644         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14645         (gst_tag_flag_get_type), (register_gst_task_state),
14646         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14647         (gst_alloc_trace_flags_get_type),
14648         (register_gst_type_find_probability),
14649         (gst_type_find_probability_get_type), (register_gst_uri_type),
14650         (gst_uri_type_get_type), (register_gst_parse_error),
14651         (gst_parse_error_get_type):
14652         * win32/common/gstversion.h:
14653           update win32 copies
14654
14655 2005-11-01  Luca Ognibene  <luogni@tin.it>
14656
14657         * gst/gst.c:
14658           fix docs. popt is dead, long live GOption.
14659
14660 2005-10-31  Wim Taymans  <wim@fluendo.com>
14661
14662         * gst/gstbuffer.h:
14663         Small doc fix.
14664
14665 2005-10-31  Andy Wingo  <wingo@pobox.com>
14666
14667         * Boo!
14668
14669         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14670
14671         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14672         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14673         the possibility of deadlocks here if code calling notify() or
14674         set() has a lock that can be taken in another notify handler (ABBA
14675         with class lock and e.g. python GIL state lock).
14676
14677 2005-10-28  Julien MOUTTE  <julien@moutte.net>
14678
14679         * gst/gstbus.c: Doc updates.
14680
14681 2005-10-28  Wim Taymans  <wim@fluendo.com>
14682
14683         * docs/design/part-TODO.txt:
14684         * gst/gstiterator.c:
14685         * gst/gstsystemclock.c:
14686         * gst/gstsystemclock.h:
14687         Doc updates.
14688
14689 2005-10-28  Edward Hervey  <edward@fluendo.com>
14690
14691         * docs/gst/gstreamer-docs.sgml:
14692         * docs/gst/gstreamer-sections.txt:
14693         the GstURIType documentation page is private, it only defines GstURIType
14694         which should be defined in the GstURIHandler page
14695         
14696 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * gst/gstbin.c: (gst_bin_class_init):
14699         * gst/gstbin.h:
14700         * gst/gstutils.c:
14701         Documentation updates.
14702
14703 2005-10-28  Wim Taymans  <wim@fluendo.com>
14704
14705         * docs/gst/gstreamer-sections.txt:
14706         * gst/gstclock.c:
14707         * gst/gstclock.h:
14708         Documented the clocks.
14709
14710 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
14711
14712         * docs/gst/gstreamer-sections.txt:
14713           move some macros to private sections
14714         * gst/gstminiobject.c:
14715         * gst/gstminiobject.h:
14716           add descriptions provided by ds and some more
14717         * gst/gstpad.h:
14718           mark macro as to be removed
14719
14720 2005-10-28  Wim Taymans  <wim@fluendo.com>
14721
14722         * docs/design/part-TODO.txt:
14723         Add an item to TODO.
14724
14725         * gst/gstiterator.c: (gst_iterator_fold),
14726         (gst_iterator_find_custom):
14727         * gst/gstiterator.h:
14728         Add iterator docs.
14729
14730 2005-10-28  Wim Taymans  <wim@fluendo.com>
14731
14732         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14733         (gst_base_transform_init):
14734         Don't leak class.
14735
14736         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14737         An EOS event marks the queue as completely filled.
14738
14739 2005-10-27  Wim Taymans  <wim@fluendo.com>
14740
14741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14742         (gst_base_sink_do_sync), (gst_base_sink_get_position):
14743         Some more debugging.
14744
14745         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14746         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14747         (gst_base_transform_event), (gst_base_transform_getrange),
14748         (gst_base_transform_chain):
14749         * gst/base/gstbasetransform.h:
14750         Fix debugging,
14751         Protect transform and concurrent buffer alloc with a new lock.
14752         Try not to break ABI/API.
14753
14754 2005-10-27  Wim Taymans  <wim@fluendo.com>
14755
14756         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14757         (gst_base_src_init), (gst_base_src_query),
14758         (gst_base_src_default_newsegment),
14759         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14760         (gst_base_src_send_event), (gst_base_src_event_handler),
14761         (gst_base_src_pad_get_range), (gst_base_src_loop),
14762         (gst_base_src_unlock), (gst_base_src_default_negotiate),
14763         (gst_base_src_start), (gst_base_src_deactivate),
14764         (gst_base_src_activate_push), (gst_base_src_change_state):
14765         Move some stuff around and cleanup things.
14766
14767 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
14768
14769         * gst/base/gstbasesrc.c: (gst_base_src_query):
14770           Add missing break statements.
14771
14772 2005-10-27  Wim Taymans  <wim@fluendo.com>
14773
14774         * check/gst/gstbin.c: (GST_START_TEST):
14775         An extra refcount is taken in basesrc.
14776
14777         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14778         (gst_base_src_get_range), (gst_base_src_pad_get_range),
14779         (gst_base_src_loop):
14780         Small cleanups, check for flushing after being unlocked from the 
14781         LIVE_LOCK. take refcounts correctly (not yet everywhere).
14782         Don't send out EOS when going to READY.
14783
14784 2005-10-27  Wim Taymans  <wim@fluendo.com>
14785
14786         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14787         (gst_base_sink_get_position):
14788         Some more debug.
14789
14790         * gst/gstbin.c: (message_check), (bin_replace_message),
14791         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14792         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14793         (bin_query_duration_init), (bin_query_duration_fold),
14794         (bin_query_duration_done), (bin_query_generic_fold),
14795         (gst_bin_query):
14796         * tools/gst-launch.c: (main):
14797         Remove old option.
14798
14799 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
14800
14801         * examples/controller/audio-example.c: (main):
14802         * examples/queue/queue.c: (event_loop):
14803         * gst/base/gstbasetransform.h:
14804         * gst/gstelement.c: (gst_element_send_event):
14805         * gst/gstevent.h:
14806         * gst/gstpad.c: (gst_pad_send_event):
14807           fixing examples
14808           fixing docs typos
14809           changing log priority in error situations
14810
14811 2005-10-25  Wim Taymans  <wim@fluendo.com>
14812
14813         * gst/gstbin.c: (message_check), (bin_replace_message),
14814         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14815         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14816         (bin_query_duration_init), (bin_query_duration_fold),
14817         (bin_query_duration_done), (bin_query_generic_fold),
14818         (gst_bin_query):
14819         Some doc and debug updates.
14820         Cache previously requested query DURATION for speed. invalidate
14821         cached duration if element posts a DURATION message.
14822
14823 2005-10-25  Wim Taymans  <wim@fluendo.com>
14824
14825         * docs/design/part-TODO.txt:
14826         Update TODO.
14827
14828         * gst/gstbin.c: (message_check), (bin_replace_message),
14829         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14830         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14831         (bin_query_duration_init), (bin_query_duration_fold),
14832         (bin_query_duration_done), (bin_query_generic_fold),
14833         (gst_bin_query):
14834         Handle SEGMENT_START/DONE messages correctly.
14835         More evolved query algorithm that handles duration queries
14836         correctly.
14837
14838         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14839         (gst_element_get_state_func), (gst_element_abort_state),
14840         (gst_element_commit_state), (gst_element_lost_state):
14841         Some more debugging.
14842
14843         * gst/gstmessage.h:
14844         Added doc.
14845
14846 2005-10-25  Wim Taymans  <wim@fluendo.com>
14847
14848         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14849         Don't use invalid stream_time.
14850
14851         * gst/gstevent.c: (gst_event_new_newsegment):
14852         stream_time in newsegment cannot be undefined.
14853
14854 2005-10-24  Wim Taymans  <wim@fluendo.com>
14855
14856         * gst/gstbus.c:
14857         Doc fix.
14858
14859         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14860         (gst_queue_loop):
14861         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14862
14863 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
14864
14865         * docs/libs/tmpl/gstdparam.sgml:
14866         * docs/libs/tmpl/gstdplinint.sgml:
14867         * docs/libs/tmpl/gstdpman.sgml:
14868         * docs/libs/tmpl/gstdpsmooth.sgml:
14869         * docs/libs/tmpl/gstunitconvert.sgml:
14870           these are obsolete
14871
14872 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14873
14874         * configure.ac:
14875           back to HEAD
14876
14877 === release 0.9.4 ===
14878
14879 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14880
14881         * configure.ac:
14882           releasing 0.9.4, "Tyrannosaurus Rex"
14883
14884 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
14885
14886         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14887         (gst_file_sink_get_current_offset):
14888           Use fseeko() and ftello() if available. When falling back on
14889           lseek() to get the current offset, fflush() first to make sure
14890           everything is up-to-date and we get the right offset.
14891
14892 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14893
14894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14895         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14896         * gst/gsterror.c: (_gst_stream_errors_init):
14897         * gst/gsterror.h:
14898         * gst/gstqueue.c: (gst_queue_loop):
14899         * po/POTFILES.in:
14900           remove prematurely added error category and clean up the instances
14901
14902 2005-10-21  Wim Taymans  <wim@fluendo.com>
14903
14904         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14905         (gst_base_sink_get_position), (gst_base_sink_query),
14906         (gst_base_sink_change_state):
14907         Simply set the right flag when going to playing, that's all
14908         we need to do instead of calling a function inside the object
14909         lock (that could take the lock as well and deadlock)
14910
14911 2005-10-21  Wim Taymans  <wim@fluendo.com>
14912
14913         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14914         (gst_base_src_loop):
14915         Don't warn, the peer element knows what to do best when
14916         the seek failed, it might try something else.
14917
14918 2005-10-21  Wim Taymans  <wim@fluendo.com>
14919
14920         * gst/base/gstbasesrc.c: (gst_base_src_init),
14921         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14922         Fix seeking.
14923
14924 2005-10-21  Wim Taymans  <wim@fluendo.com>
14925
14926         * docs/design/part-segments.txt:
14927         More docs.
14928
14929         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14930         Correctly set caps, even on the subbufer.
14931
14932 2005-10-21  Wim Taymans  <wim@fluendo.com>
14933
14934         * docs/gst/gstreamer-docs.sgml:
14935         * docs/gst/gstreamer-sections.txt:
14936         * gst/gstelement.h:
14937         * gst/gstevent.c:
14938         * gst/gstevent.h:
14939         * gst/gstmessage.h:
14940         * gst/gstpad.h:
14941         * gst/gstparse.h:
14942         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14943         * gst/gsttask.h:
14944         * gst/gstutils.c:
14945         * gst/gstutils.h:
14946         And 2% more doc coverage.
14947
14948 2005-10-21  Andy Wingo  <wingo@pobox.com>
14949
14950         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14951         position reporting.
14952
14953 2005-10-20  Wim Taymans  <wim@fluendo.com>
14954
14955         * gst/gsterror.c: (gst_error_get_message):
14956         * gst/gstparse.h:
14957         * gst/gstquery.h:
14958         * gst/gststructure.c:
14959         * gst/gsttrace.c:
14960         * gst/gstutils.c:
14961         More docs.
14962
14963 2005-10-20  Wim Taymans  <wim@fluendo.com>
14964
14965         * gst/gstbuffer.h:
14966         * gst/gstpad.c:
14967         * gst/gstparse.c:
14968         Another 1% more coverage.
14969
14970 2005-10-20  Wim Taymans  <wim@fluendo.com>
14971
14972         * docs/gst/gstreamer-sections.txt:
14973         * gst/gstelement.c: (gst_element_get_state_func),
14974         (gst_element_abort_state), (gst_element_commit_state),
14975         (gst_element_lost_state):
14976         * gst/gstevent.h:
14977         * gst/gstquery.c: (gst_query_set_position),
14978         (gst_query_parse_position), (gst_query_set_duration),
14979         (gst_query_parse_duration), (gst_query_new_convert):
14980         * gst/gstutils.c:
14981         Yay! 1% more docs coverage.
14982
14983 2005-10-20  Wim Taymans  <wim@fluendo.com>
14984
14985         * gst/gstpad.h:
14986         * gst/gstquery.c: (gst_query_set_position),
14987         (gst_query_parse_position), (gst_query_set_duration),
14988         (gst_query_parse_duration), (gst_query_new_convert):
14989         * gst/gstquery.h:
14990         * gst/gstutils.c: (gst_element_query_convert):
14991         * gst/gstutils.h:
14992         Docs and consistency fixes.
14993
14994 2005-10-20  Wim Taymans  <wim@fluendo.com>
14995
14996         * gst/gsttask.c:
14997         * gst/gsttask.h:
14998         More docs.
14999
15000 2005-10-20  Wim Taymans  <wim@fluendo.com>
15001
15002         * gst/gstbin.c: (message_check), (bin_replace_message),
15003         (bin_remove_messages), (is_eos), (gst_bin_add_func),
15004         (update_degree), (gst_bin_sort_iterator_next),
15005         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15006         Reworked the message handling a bit, cache the messages instead of
15007         only the senders. alows us to do more in the future.
15008
15009 2005-10-20  Wim Taymans  <wim@fluendo.com>
15010
15011         * docs/design/part-TODO.txt:
15012         Update TODO
15013
15014         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15015         (gst_base_sink_query):
15016         Don't use clock time to report position when in EOS.
15017
15018 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
15019
15020         * tools/gst-inspect.c: (print_interfaces),
15021         (print_element_properties_info), (print_element_info):
15022           Fix interface output with gst-inspect -a; don't print
15023           newlines after double/float properties.
15024
15025 2005-10-20  Wim Taymans  <wim@fluendo.com>
15026
15027         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15028         (gst_base_sink_query):
15029         Speed up current position calculation.
15030
15031         * gst/base/gstbasesrc.c: (gst_base_src_query),
15032         (gst_base_src_default_newsegment):
15033         Correctly set stream position in newsegment.
15034
15035         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15036         (update_degree), (gst_bin_sort_iterator_next),
15037         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15038         * gst/gstmessage.c: (gst_message_new_custom):
15039         Clean up debugging info
15040
15041         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15042         (gst_queue_loop), (gst_queue_handle_src_query):
15043         Pause task faster.
15044
15045 2005-10-19  Wim Taymans  <wim@fluendo.com>
15046
15047         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15048         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15049         Fix query handling again.
15050
15051 2005-10-19  Wim Taymans  <wim@fluendo.com>
15052
15053         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15054         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15055         * gst/base/gstbasesrc.c: (gst_base_src_query):
15056         * gst/elements/gstfilesink.c: (gst_file_sink_query):
15057         * gst/elements/gsttypefindelement.c:
15058         (gst_type_find_handle_src_query), (find_element_get_length),
15059         (gst_type_find_element_activate):
15060         API change fix.
15061
15062         * gst/gstquery.c: (gst_query_new_position),
15063         (gst_query_set_position), (gst_query_parse_position),
15064         (gst_query_new_duration), (gst_query_set_duration),
15065         (gst_query_parse_duration), (gst_query_set_segment),
15066         (gst_query_parse_segment):
15067         * gst/gstquery.h:
15068         Bundling query position/duration is not a good idea since duration
15069         does not change much and we don't want to recalculate it for every
15070         position query, so they are separated again..
15071         Base value in segment query is not needed.
15072
15073         * gst/gstqueue.c: (gst_queue_handle_src_query):
15074         * gst/gstutils.c: (gst_element_query_position),
15075         (gst_element_query_duration), (gst_pad_query_position),
15076         (gst_pad_query_duration):
15077         * gst/gstutils.h:
15078         Updates for query API change.
15079         Added some docs here and there.
15080
15081 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15082
15083         * check/gst/gstbin.c: (GST_START_TEST):
15084         * check/gst/gstghostpad.c: (GST_START_TEST):
15085         * check/pipelines/cleanup.c: (GST_START_TEST):
15086           wait on thread to die so we can check refcount correctly
15087
15088 2005-10-18  Wim Taymans  <wim@fluendo.com>
15089
15090         * check/pipelines/stress.c: (GST_START_TEST):
15091         Make check a little more time consuming.
15092
15093 2005-10-18  Wim Taymans  <wim@fluendo.com>
15094
15095         * check/Makefile.am:
15096         * check/pipelines/stress.c: (GST_START_TEST),
15097         (simple_launch_lines_suite), (main):
15098         Small state change torture test.
15099
15100         * docs/design/part-states.txt:
15101         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15102         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15103         (gst_base_sink_change_state):
15104         Never take state lock from streaming thread, clean up ugly
15105         hacks. Unfortunatly core does not yet support nice ways to
15106         async commit state.
15107         
15108         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15109         (bin_bus_handler):
15110         Start state recalc if a STATE_DIRTY message is posted, but only
15111         on the toplevel bin.
15112
15113         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15114         (gst_element_get_state_func), (gst_element_abort_state),
15115         (gst_element_commit_state), (gst_element_lost_state),
15116         (gst_element_set_state_func), (gst_element_change_state):
15117         * gst/gstelement.h:
15118         State variables are now protected with the LOCK, the state
15119         lock is only used to serialize _set_state().
15120
15121 2005-10-18  Wim Taymans  <wim@fluendo.com>
15122
15123         * check/gst/gstbin.c: (GST_START_TEST):
15124         * check/gst/gstmessage.c: (GST_START_TEST):
15125         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15126         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15127         (bin_bus_handler):
15128         * gst/gstelement.c: (gst_element_abort_state),
15129         (gst_element_commit_state), (gst_element_lost_state):
15130         * gst/gstmessage.c: (gst_message_new_state_changed),
15131         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15132         (gst_message_new_segment_done), (gst_message_new_duration),
15133         (gst_message_parse_state_changed),
15134         (gst_message_parse_segment_start),
15135         (gst_message_parse_segment_done), (gst_message_parse_duration):
15136         * gst/gstmessage.h:
15137         * tools/gst-launch.c: (event_loop):
15138         Seriously, this is better than a previous commit as we only need
15139         to notify the fact that an element changed state in a streaming
15140         thread, marking the state of the parents dirty, hence the 
15141         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15142         message.
15143
15144 2005-10-18  Wim Taymans  <wim@fluendo.com>
15145
15146         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15147         (gst_bin_recalc_func):
15148         * gst/gstelement.c: (gst_element_set_clock),
15149         (gst_element_abort_state), (gst_element_lost_state):
15150         Cleanups, prepare for state change fixes.
15151
15152 2005-10-18  Wim Taymans  <wim@fluendo.com>
15153
15154         * gst/gstbin.h:
15155         * gst/gstelement.c: (gst_element_class_init),
15156         (gst_element_set_state), (gst_element_set_state_func):
15157         * gst/gstelement.h:
15158         Pending ABI changes.
15159         GThreadPool in GstBinClass to monitor async state changes.
15160         state_cookie in GstElement to detect concurrent gst/set state.
15161         set_state is now virtual too in case a very complicated element
15162         has to be constructed.
15163
15164 2005-10-18  Wim Taymans  <wim@fluendo.com>
15165
15166         * check/gst/gstbin.c: (GST_START_TEST):
15167         * check/gst/gstmessage.c: (GST_START_TEST):
15168         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15169         * gst/gstbin.c: (bin_bus_handler):
15170         * gst/gstelement.c: (gst_element_commit_state),
15171         (gst_element_lost_state):
15172         * gst/gstmessage.c: (gst_message_new_state_changed),
15173         (gst_message_new_segment_start), (gst_message_new_segment_done),
15174         (gst_message_new_duration), (gst_message_parse_state_changed),
15175         (gst_message_parse_segment_start),
15176         (gst_message_parse_segment_done), (gst_message_parse_duration):
15177         * gst/gstmessage.h:
15178         * tools/gst-launch.c: (event_loop):
15179         Make messages future proof.
15180         state-change gets a flag if it was a message comming from the
15181         streaming thread.
15182         segment-start/stop can also be specified in other formats.
15183         A message to notify an app that a pipeline changed playback 
15184         duration.
15185         Also fix a GstMessage leak in -launch
15186
15187 2005-10-18  Andy Wingo  <wingo@pobox.com>
15188
15189         * gst/gstelement.c (gst_element_dispose): More helpful message.
15190
15191 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15192
15193         reviewed by: <delete if not using a buddy>
15194
15195         * common/gtk-doc.mak:
15196
15197 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15198
15199         * gst/gstregistry.c: (gst_registry_scan_path_level):
15200           unref a plug-in we get that was already initialized
15201
15202 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15203
15204         * docs/gst/gstreamer-sections.txt:
15205         * docs/libs/gstreamer-libs-sections.txt:
15206         * gst/gstelement.h:
15207           add new api entries
15208           hide internal macro
15209
15210 2005-10-17  Andy Wingo  <wingo@pobox.com>
15211
15212         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15213         cleanup.
15214
15215         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15216
15217         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15218
15219         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15220         (gst_element_get_state_func): Better debug message.
15221         (gst_element_commit_state): s/INFO/DEBUG/.
15222         (gst_element_lost_state, gst_element_change_state): 
15223
15224         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15225         (gst_message_new_custom): s/INFO/LOG/.
15226
15227 2005-10-17  Michael Smith <msmith@fluendo.com>
15228
15229         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15230           Check if end time is valid using end time, not start time.
15231
15232 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15233
15234         * check/gst-libs/controller.c: (GST_START_TEST),
15235         (gst_controller_suite):
15236         * libs/gst/controller/gstcontroller.c:
15237         (gst_controlled_property_set_interpolation_mode):
15238         * libs/gst/controller/gstcontroller.h:
15239         * libs/gst/controller/gstinterpolation.c:
15240         * testsuite/controller/.cvsignore:
15241         * testsuite/controller/Makefile.am:
15242         * testsuite/controller/interpolator.c:
15243           merge controller testsuites
15244           fix broken tests
15245           remove mem-chunk from docs
15246
15247 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15248
15249         * gst/gstmemchunk.c:
15250         * gst/gstmemchunk.h:
15251         * gst/gsttrashstack.c:
15252         * gst/gsttrashstack.h:
15253           out.  get out.  you're fired.  to the Attic !
15254
15255 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15256
15257         * gst/gstcaps.c: (gst_caps_intersect):
15258           fix signedness issues in a (hopefully) correct way
15259         * gst/gstelement.c: (gst_element_pads_activate):
15260           some debugging
15261         * gst/gstobject.c: (gst_object_set_parent):
15262           some debugging
15263
15264 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15265
15266         * gst/gstvalue.h: Fix prototypes.
15267
15268 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15269
15270         * docs/gst/gstreamer-sections.txt:
15271         * gst/gst.c: (gst_version_string):
15272         * gst/gst.h:
15273         * gst/gstversion.h.in:
15274         * win32/common/libgstreamer.def:
15275           add gst_version_string ()
15276
15277 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15278
15279         * configure.ac:
15280           clean up further
15281         * gst/gst.c: (init_post):
15282         * win32/common/config.h.in:
15283           it's PLUGINDIR now
15284         * gst/gstcaps.c: (gst_caps_intersect):
15285           use gint64, the range could be bigger than a guint
15286
15287 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15288
15289         * gst/gstclock.h:
15290           document potential problem in 2038
15291
15292 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15293
15294         * gst/gstcaps.c: (gst_caps_intersect):
15295           Fix guint j diving under 0
15296
15297 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15298
15299         * configure.ac:
15300         * win32/common/config.h:
15301         * win32/common/config.h.in:
15302           check for process.h, declares getpid() on Windows
15303         * gst/gstinfo.c:
15304           include process.h if we have it
15305         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15306         * gst/gstmemchunk.h:
15307           fix signedness issues
15308         * win32/common/libgstreamer.def:
15309           fix get_type's
15310
15311 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15312
15313         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15314         fix. Because of unsigned ints, caps intersection was going nuts and
15315         trying to access structures with G_MAXUINT index. That fixes
15316         videotestsrc ! ffmpegcolorspace ! fakesink
15317         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15318         consistency.
15319
15320 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15321
15322         * configure.ac:
15323           use the gettext macro
15324         * gst/elements/gstelements.c:
15325         * gst/gst.c:
15326         * gst/indexers/gstindexers.c:
15327           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15328         * win32/common/config.h:
15329           updated config.h
15330         * win32/common/config.h.in:
15331           add the template to generate config.h
15332         * win32/common/gstenumtypes.c:
15333         * win32/common/gstversion.h:
15334           updated copies
15335
15336 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15337
15338         * gst/gst.c: (gst_version):
15339         * gst/gstversion.h.in:
15340           add the nano
15341
15342 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15343
15344         * gst/gstevent.h:
15345           Oops, add missing closing bracket.
15346
15347 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15348
15349         * configure.ac:
15350           use common m4's for argument checking
15351
15352 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15353
15354         * docs/gst/gstreamer-sections.txt:
15355         * gst/gstevent.h:
15356           Add GST_EVENT_TYPE_NAME() macro.
15357
15358 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15359
15360         * gst/gstinfo.c:
15361         * gst/gstpluginfeature.c:
15362         * gst/gsttask.c:
15363           privatize more symbols
15364
15365 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15366
15367         * configure.ac:
15368           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15369           everything that uses GStreamer API should have the includes
15370
15371 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15372
15373         * docs/gst/gstreamer-sections.txt:
15374         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15375         * gst/gstvalue.h:
15376           give each value a _get_type, removes the DATA exports
15377
15378 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15379
15380         * gst/gst.c:
15381         * gst/gst.h:
15382           remove _gst_registry_auto_load, not used anymore
15383         * gst/gstbin.c: (gst_bin_get_type):
15384         * gst/gstbin.h:
15385         * gst/gstelement.c: (gst_element_get_type):
15386         * gst/gstelement.h:
15387         * gst/gstobject.c: (gst_object_get_type):
15388         * gst/gstobject.h:
15389         * gst/gstpad.c: (gst_pad_get_type):
15390         * gst/gstpad.h:
15391           make _get_type functions similar, fixes data export from library
15392
15393 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15394
15395         * configure.ac:
15396           correctly make conditionals
15397         * gst/elements/Makefile.am:
15398         * gst/elements/gstelements.c:
15399           fix typo causing fdsrc not to build
15400
15401 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15402
15403         * testsuite/Makefile.am:
15404         * testsuite/bytestream/.cvsignore:
15405         * testsuite/bytestream/Makefile.am:
15406         * testsuite/bytestream/filepadsink.c:
15407         * testsuite/bytestream/gstbstest.c:
15408         * testsuite/bytestream/test1.c:
15409         * testsuite/bytestream/testfile1:
15410         * testsuite/caps/normalisation.c:
15411         * testsuite/caps/random.c: (main):
15412         * testsuite/cleanup/.cvsignore:
15413         * testsuite/cleanup/Makefile.am:
15414         * testsuite/cleanup/cleanup1.c:
15415         * testsuite/cleanup/cleanup2.c:
15416         * testsuite/cleanup/cleanup3.c:
15417         * testsuite/cleanup/cleanup4.c:
15418         * testsuite/cleanup/cleanup5.c:
15419         * testsuite/controller/interpolator.c:
15420         * testsuite/debug/printf_extension.c: (main):
15421         * testsuite/elements/tee.c:
15422         * testsuite/negotiation/.cvsignore:
15423         * testsuite/negotiation/Makefile.am:
15424         * testsuite/negotiation/pad_link.c:
15425         * testsuite/pad/Makefile.am:
15426         * testsuite/pad/chainnopull.c:
15427         * testsuite/pad/getnopush.c:
15428         * testsuite/pad/link.c:
15429         * testsuite/refcounting/sched.c: (create_pipeline):
15430         * testsuite/registry/Makefile.am:
15431         * testsuite/registry/gst-print-formats.c:
15432         * testsuite/schedulers/.cvsignore:
15433         * testsuite/schedulers/142183-2.c:
15434         * testsuite/schedulers/142183.c:
15435         * testsuite/schedulers/143777-2.c:
15436         * testsuite/schedulers/143777.c:
15437         * testsuite/schedulers/147713.c:
15438         * testsuite/schedulers/147819.c:
15439         * testsuite/schedulers/147894-2.c:
15440         * testsuite/schedulers/147894.c:
15441         * testsuite/schedulers/Makefile.am:
15442         * testsuite/schedulers/group_link.c:
15443         * testsuite/schedulers/queue_link.c:
15444         * testsuite/schedulers/relink.c:
15445         * testsuite/schedulers/unlink.c:
15446         * testsuite/schedulers/unref.c:
15447         * testsuite/schedulers/useless_iteration.c:
15448         * testsuite/states/bin.c:
15449           clean out/remove some stuff from the testsuite directories
15450
15451 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15452
15453         * configure.ac:
15454           check for some headers
15455         * gst/elements/Makefile.am:
15456         * gst/elements/gstelements.c:
15457           don't compile fdsrc without sys/socket.h
15458         * gst/indexers/Makefile.am:
15459         * gst/indexers/gstindexers.c: (plugin_init):
15460           don't compile fileindex without mmap
15461
15462 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15463
15464         * configure.ac:
15465           reorganize
15466           clean up
15467           document more
15468           remove cruft
15469         * check/Makefile.am:
15470         * docs/gst/Makefile.am:
15471         * examples/helloworld/Makefile.am:
15472         * gst/Makefile.am:
15473         * gst/base/Makefile.am:
15474         * gst/check/Makefile.am:
15475         * gst/elements/Makefile.am:
15476         * gst/indexers/Makefile.am:
15477         * gst/parse/Makefile.am:
15478         * libs/gst/controller/Makefile.am:
15479         * libs/gst/dataprotocol/Makefile.am:
15480         * examples/helloworld/helloworld.c: (event_loop):
15481           compile fixes, though it's not being compiled currently
15482
15483 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15484
15485         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15486           Add some simple tests for the new taglist date API.
15487
15488 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15489
15490         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15491         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15492           Beautify 'last-message' output: print 'none' for buffer timestamps
15493           and durations if none is set; improve alignment with next messages.
15494
15495 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15496
15497         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15498         * gst/gstpluginfeature.h:
15499         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15500         * gst/gstregistry.h:
15501         * docs/gst/gstreamer-sections.txt:
15502           Add new API to check plugin feature version requirements.
15503
15504         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15505           Some basic tests for the above.         
15506
15507 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15508
15509         * gst/gststructure.c: (gst_structure_to_string):
15510           guard against NULL printf - happens when for example
15511           a message structure with GstClock gets serialized
15512
15513 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15514
15515         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15516           Fix presumable copy'n'pasto.
15517
15518 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15519
15520         * gst/elements/gstfakesrc.h:
15521         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15522         * gst/elements/gsttypefindelement.c:
15523           fix some signedness
15524         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15525           I wonder if this could actually write +2GB files before
15526
15527 2005-10-13  Andy Wingo  <wingo@pobox.com>
15528
15529         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15530         Fix Timmeke Waymans bug.
15531         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15532         string of the proper length to gst_caps_from_string. There's a
15533         potential for, before this fix, that this could cause someone
15534         connecting over the network to cause a segfault if the payload is
15535         not NUL-terminated.
15536
15537 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15538
15539         * docs/design/draft-push-pull.txt:
15540         * docs/design/part-overview.txt:
15541         * docs/random/TODO-pre-0.9:
15542         * docs/random/old/ChangeLog.gstreamer:
15543         * gst/base/gstpushsrc.c:
15544         * gst/gstclock.c:
15545           fixed typos
15546
15547 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15548
15549         * gst/glib-compat.c: (gst_flags_get_first_value):
15550         * gst/glib-compat.h:
15551         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15552         (gst_value_compare_double), (gst_value_serialize_flags):
15553           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15554           infinite loop
15555
15556 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15557
15558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15559         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15560           fix up debugging
15561         * tools/gst-launch.c: (event_loop):
15562           print out clock nicely
15563
15564 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15565
15566         * docs/gst/gstreamer-sections.txt:
15567         * gst/gsttaglist.h:
15568         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15569         (gst_tag_list_get_date_index):
15570           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15571           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15572
15573 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15574
15575         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15576         (gst_collectpads_chain):
15577         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15578         in CollectData.
15579
15580 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15581
15582         * docs/gst/gstreamer-sections.txt:
15583         * gst/gst.c:
15584         * gst/gsterror.h:
15585         * tools/gst-inspect.c: (main):
15586         * tools/gst-launch.c: (main):
15587         * tools/gst-run.c: (main):
15588         * tools/gst-xmlinspect.c: (main):
15589           fix GOption context leaks
15590           doc fixes
15591
15592 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15593
15594         * gst/gstbus.c:
15595           use HAVE_UNISTD_H
15596         * win32/common/config.h:
15597           update config
15598         * win32/vs6/grammar.dsp:
15599         * win32/vs6/libgstelements.dsp:
15600         * win32/vs6/libgstreamer.dsp:
15601           update vs6 files
15602
15603 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15604
15605         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15606         * gst/base/gstbasesrc.c: (gst_base_src_query):
15607           fix more guint64<->gdouble conversions
15608
15609 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15610
15611         * Makefile.am:
15612           add win32-update target
15613         * win32/common/gstconfig.h:
15614         * win32/common/gstenumtypes.c:
15615         * win32/common/gstenumtypes.h:
15616         * win32/common/gstversion.h:
15617           add files that visual studio can't generate
15618
15619 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15620
15621         * Makefile.am:
15622           add a win32-update target
15623         * configure.ac:
15624
15625 2005-10-12  Wim Taymans  <wim@fluendo.com>
15626
15627         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15628         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15629         * gst/gstelement.c: (gst_element_commit_state),
15630         (gst_element_set_state):
15631         Protect flags with proper lock.
15632         unref provided cached clock in dispose.
15633
15634 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15635
15636         * gst/gst.c:
15637         * gst/gstminiobject.h:
15638         * gst/gstpad.h:
15639         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15640           removed unused flags from miniobject
15641           doc fixes
15642
15643 2005-10-12  Wim Taymans  <wim@fluendo.com>
15644
15645         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15646         (gst_file_sink_event), (gst_file_sink_render):
15647         Flush before seeking.
15648
15649 2005-10-12  Andy Wingo  <wingo@pobox.com>
15650
15651         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15652         always been the case.
15653
15654 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15655
15656         * check/gst/gstbin.c: (GST_START_TEST):
15657         * docs/gst/gstreamer-sections.txt:
15658         * gst/base/gstbasesink.c: (gst_base_sink_init):
15659         * gst/base/gstbasesrc.c: (gst_base_src_init),
15660         (gst_base_src_get_range), (gst_base_src_check_get_range),
15661         (gst_base_src_start), (gst_base_src_stop):
15662         * gst/base/gstbasesrc.h:
15663         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15664         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15665         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15666         (bin_bus_handler):
15667         * gst/gstbin.h:
15668         * gst/gstbuffer.h:
15669         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15670         * gst/gstbus.h:
15671         * gst/gstelement.c: (gst_element_is_locked_state),
15672         (gst_element_set_locked_state), (gst_element_commit_state),
15673         (gst_element_set_state):
15674         * gst/gstelement.h:
15675         * gst/gstindex.c: (gst_index_init):
15676         * gst/gstindex.h:
15677         * gst/gstminiobject.h:
15678         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15679         (gst_object_set_parent):
15680         * gst/gstobject.h:
15681         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15682         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15683         * gst/gstpad.h:
15684         * gst/gstpadtemplate.h:
15685         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15686         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15687         * gst/gstpipeline.h:
15688         * gst/indexers/gstfileindex.c: (gst_file_index_load),
15689         (gst_file_index_commit):
15690         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15691         * testsuite/pad/link.c: (gst_test_src_init),
15692         (gst_test_filter_init), (gst_test_sink_init):
15693         * testsuite/states/locked.c: (main):
15694           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15695           moved bitshift from macro to enum definition
15696
15697 2005-10-12  Wim Taymans  <wim@fluendo.com>
15698
15699         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15700         * gst/elements/gstfilesink.c: (gst_file_sink_event),
15701         (gst_file_sink_render):
15702         Some more debugging info.
15703
15704 2005-10-12  Wim Taymans  <wim@fluendo.com>
15705
15706         * docs/design/part-states.txt:
15707         * tools/gst-launch.c: (main):
15708         Some doc updates.
15709         Revert non-intentional change.
15710
15711 2005-10-12  Wim Taymans  <wim@fluendo.com>
15712
15713         * check/gst/gstbin.c: (GST_START_TEST):
15714         * check/gst/gstelement.c: (GST_START_TEST):
15715         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15716         * check/gst/gstghostpad.c: (GST_START_TEST):
15717         * check/gst/gstpipeline.c: (GST_START_TEST):
15718         * check/pipelines/simple_launch_lines.c: (run_pipeline):
15719         * check/states/sinks.c: (GST_START_TEST):
15720         * gst/elements/gsttypefindelement.c: (stop_typefinding):
15721         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15722         (gst_bin_remove_func), (gst_bin_get_state_func),
15723         (gst_bin_recalc_state), (gst_bin_change_state_func),
15724         (bin_bus_handler):
15725         * gst/gstelement.c: (gst_element_get_state_func),
15726         (gst_element_get_state), (gst_element_abort_state),
15727         (gst_element_commit_state), (gst_element_set_state),
15728         (gst_element_change_state), (gst_element_change_state_func):
15729         * gst/gstelement.h:
15730         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15731         (gst_pipeline_provide_clock_func):
15732         * gst/gstutils.c: (gst_element_link_pads_filtered):
15733         * tools/gst-launch.c: (main):
15734         * tools/gst-typefind.c: (main):
15735         Use GstClockTime in _get_state() instead of GTimeVal.
15736         Remove old code in gstutils.c
15737
15738 2005-10-12  Andy Wingo  <wingo@pobox.com>
15739
15740         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15741         removed.
15742
15743         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15744         there is no task. Shouldn't affect any code, as nothing in our
15745         plugins checks this return value.
15746         (gst_pad_stop_task): Also take the stream lock if the pad has no
15747         task. Docs updated.
15748
15749 2005-10-12  Wim Taymans  <wim@fluendo.com>
15750
15751         * gst/gstpad.c: (pre_activate), (post_activate),
15752         (gst_pad_activate_pull), (gst_pad_activate_push):
15753         Cleanup activation code. Reset old state if
15754         activation failed.
15755
15756 2005-10-12  Wim Taymans  <wim@fluendo.com>
15757
15758         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15759         (gst_base_sink_change_state):
15760         No need to prerol after receiving EOS.
15761
15762         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15763         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15764         * gst/elements/gstidentity.c: (gst_identity_event):
15765         Print events more verbosely.
15766
15767 2005-10-12  Wim Taymans  <wim@fluendo.com>
15768
15769         * check/Makefile.am:
15770         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15771         * check/states/sinks2.c:
15772         Moved sinks2 testcode in sinks check.
15773
15774         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15775         (gst_bin_remove_func), (gst_bin_recalc_state),
15776         (gst_bin_change_state_func), (bin_bus_handler):
15777         Fix potential race condition when _get_state() iterated over an
15778         ASYNC element right before it posted a state completion.
15779
15780         * gst/gstclock.h:
15781         Do proper cast here.
15782
15783         * gst/gstevent.c: (gst_event_new_newsegment),
15784         (gst_event_parse_newsegment):
15785         A playback rate of 0.0 is not allowed.
15786
15787 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15788
15789         * win32/common/config.h:
15790         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15791         (_trewinddir), (_ttelldir), (_tseekdir):
15792         * win32/common/dirent.h:
15793         * win32/common/gtchar.h:
15794         * win32/common/libgstbase.def:
15795         * win32/common/libgstreamer.def:
15796         * win32/vs6/grammar.dsp:
15797         * win32/vs6/gst_inspect.dsp:
15798         * win32/vs6/gst_launch.dsp:
15799         * win32/vs6/gstreamer.dsw:
15800         * win32/vs6/libgstbase.dsp:
15801         * win32/vs6/libgstelements.dsp:
15802         * win32/vs6/libgstreamer.dsp:
15803           Visual Studio 6 project files, and a new common directory.
15804           Phear.
15805
15806 2005-10-11  Wim Taymans  <wim@fluendo.com>
15807
15808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15809         (gst_base_sink_do_sync), (gst_base_sink_query),
15810         (gst_base_sink_change_state):
15811         * gst/base/gstbasesink.h:
15812         Correctly parse newsegment info.
15813
15814 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15815
15816         * gst/gst.c: (init_post):
15817           split plugin paths correctly
15818
15819 2005-10-11  Wim Taymans  <wim@fluendo.com>
15820
15821         * check/gst/gstevent.c: (GST_START_TEST):
15822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15823         (gst_base_sink_change_state):
15824         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15825         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15826         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15827         * gst/gstevent.c: (gst_event_new_newsegment),
15828         (gst_event_parse_newsegment):
15829         * gst/gstevent.h:
15830         Added extra flag to newsegment for future API freeze.
15831         Updated check and base elements.
15832
15833 2005-10-11  Julien MOUTTE  <julien@moutte.net>
15834
15835         * gst/base/gstcollectpads.c: (gst_collectpads_init),
15836         (gst_collectpads_add_pad), (gst_collectpads_pop),
15837         (gst_collectpads_event), (gst_collectpads_chain):
15838         * gst/base/gstcollectpads.h: Handle EOS correctly.
15839
15840 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15841
15842         * tools/gst-launch.c: (main):
15843           more null protecting
15844
15845 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15846
15847         * gst/gst-i18n-lib.h:
15848           check for ENABLE_NLS, not GETTEXT_PACKAGE
15849         * gst/gstregistry.c: (gst_registry_add_plugin),
15850         (gst_registry_scan_path_level),
15851         (_gst_registry_remove_cache_plugins):
15852           protect possibly NULL strings
15853         * gst/parse/types.h:
15854           config.h already included before
15855         * tools/gst-inspect.c: (main):
15856           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15857           check for ENABLE_NLS, not GETTEXT_PACKAGE
15858         * tools/gst-launch.c: (main):
15859           check for ENABLE_NLS, not GETTEXT_PACKAGE
15860
15861 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15862
15863         * configure.ac:
15864           if we don't have glib, fail before testing 2.8
15865         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15866           fix a leak, should fix plugins-base testsuite
15867
15868 2005-10-11  Andy Wingo  <wingo@pobox.com>
15869
15870         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15871         take the mode we're going to as an arg. Go head and set the mode
15872         and flushing flags now, so that if the activate function starts a
15873         thread all the flags will be in the right state.
15874         (post_activate): Renamed also. Just handle making sure streaming
15875         finishes for the deactivation case, and setting the deactivated
15876         mode.
15877         (gst_pad_set_active): Complain loudly if deactivation fails.
15878         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15879         (gst_pad_activate_push): Adapt to pre/post_activate changes,
15880         remove the terrible hack.
15881
15882 2005-10-11  Wim Taymans  <wim@fluendo.com>
15883
15884         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15885         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15886         (gst_bin_recalc_state), (gst_bin_change_state_func),
15887         (gst_bin_dispose), (bin_bus_handler):
15888         * gst/gstbin.h:
15889         Prepare to make current EOS message queue more generic.
15890         Fix some typos.
15891
15892         * gst/gstevent.c: (gst_event_new_newsegment),
15893         (gst_event_parse_newsegment):
15894         * gst/gstevent.h:
15895         Rename base to stream_time.
15896
15897         * gst/gstmessage.h:
15898         Fix typo in docs.
15899
15900 2005-10-11  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15903         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15904         (gst_bin_change_state_func), (bin_bus_handler):
15905         * gst/gstbin.h:
15906         Work on proper clock selection.
15907
15908 2005-10-11  Edward Hervey  <edward@fluendo.com>
15909
15910         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
15911         * libs/gst/controller/gstcontroller.h:
15912         Added GList* version of _remove_properties() in order to be able to wrap
15913         it in bindings.
15914
15915 2005-10-11  Wim Taymans  <wim@fluendo.com>
15916
15917         * docs/design/part-states.txt:
15918         Some more docs.
15919
15920         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15921         (gst_bin_change_state_func), (bin_bus_handler):
15922         Doc updates. Don't distribute the same clock over and over again.
15923
15924         * gst/gstclock.c:
15925         * gst/gstclock.h:
15926         Doc updates.
15927
15928         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15929         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15930         (gst_pad_send_event):
15931         * gst/gstpad.h:
15932         Make probe emission threadsafe again.
15933         Register quarks and move _get_name() from utils.
15934         Doc updates.
15935
15936         * gst/gstpipeline.c: (gst_pipeline_class_init),
15937         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15938         Only redistribute the clock of it changed.
15939
15940         * gst/gstsystemclock.h:
15941         Doc updates. 
15942
15943         * gst/gstutils.c:
15944         * gst/gstutils.h:
15945         Moved the _flow_get_name() to GstPad.
15946
15947 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15948
15949         * check/gst-libs/gdp.c: (GST_START_TEST):
15950         * check/gst/gstcaps.c: (GST_START_TEST):
15951         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15952         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15953         (gst_dp_packet_from_caps):
15954           fix more valgrind warnings before turning up the heat
15955
15956 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15957
15958         * gst/parse/grammar.y:
15959           some cleanup before the hacking
15960
15961 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15962
15963         * gst/base/gstbasesrc.c: (gst_base_src_query):
15964           use conversions
15965         * gst/gstutils.c: (gst_guint64_to_gdouble),
15966         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15967         * gst/gstutils.h:
15968           externalize, basesrc uses it
15969           obviously the implementation needs testing
15970
15971 2005-10-10  Wim Taymans  <wim@fluendo.com>
15972
15973         * tests/sched/Makefile.am:
15974         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15975         (make_pipeline3), (make_pipeline4), (print_elem), (main):
15976
15977 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15978
15979         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15980           apparently converting from guint64 to double is not implemented
15981           on MSVC
15982
15983 2005-10-10  Wim Taymans  <wim@fluendo.com>
15984
15985         * check/Makefile.am:
15986         * check/generic/states.c: (GST_START_TEST):
15987         * check/gst/gstbin.c: (GST_START_TEST):
15988         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15989         * check/states/sinks.c: (GST_START_TEST):
15990         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15991         (main):
15992         Check fixes, use API as stated in design docs, remove hacks.
15993
15994         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15995         (gst_base_sink_change_state):
15996         Catch stopping our task while we're shutting down.
15997
15998         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15999         (gst_bin_remove_func), (gst_bin_get_state_func),
16000         (gst_bin_recalc_state), (gst_bin_change_state_func),
16001         (bin_bus_handler):
16002         * gst/gstbin.h:
16003         * gst/gstelement.c: (gst_element_init),
16004         (gst_element_get_state_func), (gst_element_abort_state),
16005         (gst_element_commit_state), (gst_element_lost_state),
16006         (gst_element_set_state), (gst_element_change_state),
16007         (gst_element_change_state_func):
16008         * gst/gstelement.h:
16009         New state change algorithm (see #318116)
16010
16011         * gst/gstpipeline.c: (gst_pipeline_class_init),
16012         (gst_pipeline_init), (gst_pipeline_set_property),
16013         (gst_pipeline_get_property), (do_pipeline_seek),
16014         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16015         * gst/gstpipeline.h:
16016         Remove crude state change hacks.
16017
16018         * gst/gstutils.h:
16019         Remove crude hacks.
16020
16021         * tools/gst-launch.c: (main):
16022         Fixes for state change. Needs some more work to fully use the
16023         new stuff.
16024
16025 2005-10-10  Andy Wingo  <wingo@pobox.com>
16026
16027         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16028
16029         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16030         this flag, but it's not even in GLib 2.6. Odd. Hack around the
16031         issue.
16032
16033 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16034
16035         * gst/gstiterator.c: (gst_iterator_new):
16036           Fix my previous commit: GTypes passed to gst_iterator_new()
16037           can be fundamental types.
16038
16039 2005-10-10  Wim Taymans  <wim@fluendo.com>
16040
16041         * gst/gstelement.c: (gst_element_iterate_pad_list),
16042         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16043         (gst_element_iterate_sink_pads):
16044         Use src/sink pads lists for the respective iterators instead
16045         of filtering.
16046
16047 2005-10-10  Andy Wingo  <wingo@pobox.com>
16048
16049         Merged in popt removal + GOption addition patch from Ronald, bug
16050         #169772.
16051
16052         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16053         GstElement macros around, remove popt-related symbols, add goption
16054         stuff.
16055
16056         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16057         
16058         * docs/gst/Makefile.am:
16059         * docs/libs/Makefile.am: No POPT_CFLAGS.
16060         
16061         * examples/manual/Makefile.am:
16062         * docs/manual/basics-init.xml: Doc updates with an example.
16063         
16064         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16065         (gst_init), (parse_one_option), (parse_goption_arg):
16066         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16067         bit of hand merging and debugging to get the GOption stuff working
16068         tho.
16069         
16070         * tests/Makefile.am:
16071         * tools/Makefile.am:
16072         * tools/gst-inspect.c: (main):
16073         * tools/gst-launch.c: (main):
16074         * tools/gst-run.c: (main):
16075         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16076
16077 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16078
16079         * gst/gstiterator.c: (gst_iterator_new):
16080           Add assertions to make sure passed GType is likely to really
16081           be a GType (as the compiler won't catch it if the size and
16082           GType arguments get mixed up, see #318447).
16083
16084 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16085
16086         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16087
16088         * gst/gstbin.c: (gst_bin_iterate_sorted):
16089           Pass GType and size arguments to gst_iterator_new() in the right
16090           order (maybe we should make _new() take the GType as first argument
16091           just like _new_list()?) (#318447).
16092           
16093
16094 2005-10-10  Wim Taymans  <wim@fluendo.com>
16095
16096         * gst/gstelement.c: (gst_element_finalize):
16097         And free the GStaticRecMutex too
16098
16099 2005-10-10  Andy Wingo  <wingo@pobox.com>
16100
16101         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16102         Allocate and free the mutex properly.
16103
16104         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16105         New macros.
16106         (GstElement): The state_lock is now recursive. Rebuild your
16107         plugins, suckers. Old macros adapted.
16108
16109         * docs/gst/gstreamer-sections.txt: Doc updates.
16110
16111         * gst/gstutils.h:
16112         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16113         (g_static_rec_cond_wait): Ported from state changes patch, while
16114         we wait on bug #317802 to be solved in a well-distributed GLib.
16115
16116         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16117         gst_element_change_state, variable name changes.
16118         (gst_element_change_state): Split out of gst_element_set_state in
16119         preparation for the state change merge. Doesn't pay attention to
16120         the 'transition' argument.
16121         (gst_element_set_state): Updates, hopefully purely cosmetic.
16122         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16123         state change patch.
16124         (gst_element_get_state_func): Renamed from get_state, cosmetic
16125         changes.
16126
16127 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16128
16129         * gst/elements/gstelements.c:
16130         * win32/GStreamer.vcproj:
16131         * win32/config.h:
16132         * win32/dirent.c: (_tseekdir):
16133         * win32/gst-inspect.vcproj:
16134         * win32/gst-launch.vcproj:
16135         * win32/gstconfig.h:
16136         * win32/gstelements.vcproj:
16137         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16138         * win32/gstreamer.def:
16139         * win32/msvc71.sln:
16140           updates for the win32 build (patch from Sebastien Moutte)
16141
16142 2005-10-10  Andy Wingo  <wingo@pobox.com>
16143
16144         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16145         gst_bin_get_state, cleaned up (but no logic changes).
16146         (bin_element_is_sink): Comment updates.
16147         (sink_iterator_filter): Remove needless cast.
16148         (gst_bin_iterate_sinks): Doc update.
16149         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16150         cleaned up (but no logic changes).
16151
16152         * check/states/sinks.c (test_src_sink): Cleanups from the state
16153         change patch.
16154         (test_livesrc_sink): Sync on the state.
16155
16156         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16157         the state change patch.
16158
16159         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16160         change patch.
16161
16162         * check/gst/gstbin.c: Merge in some style fixes and additional
16163         checks from Wim's state change patch.
16164
16165 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16166
16167         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16168         (gst_type_find_helper):
16169           Check whether we have the requested data already in our list of
16170           cached buffers before pulling a new buffer; also make the buffer
16171           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16172
16173 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16174
16175         * gst/gstcaps.c:
16176         * gst/gstevent.c:
16177           doc updates
16178         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16179           don't use long long, it's not portable.  Replacing with
16180           gint64 seems to work; let's hope no skeletons fall out of the closet.
16181
16182 2005-10-10  Andy Wingo  <wingo@pobox.com>
16183
16184         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16185
16186 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16187
16188         * docs/gst/gstreamer-sections.txt:
16189         * gst/gstevent.c:
16190         * gst/gstevent.h:
16191         * gst/gstinfo.c:
16192         * gst/gstinfo.h:
16193         * gst/gstmessage.c: (gst_message_parse_state_changed):
16194         * gst/gstpad.c:
16195         * gst/gstpad.h:
16196           more docs, fix compilation
16197
16198 2005-10-09  Philippe Khalaf <burger@speedy.org>
16199         * gst/gstmessage.c:
16200           Fixed a few forgotten variables on previous commit
16201
16202 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16203
16204         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16205           Fix evil typefind crasher: getrange() might return a short
16206           buffer at the end of a file, but gst_type_find_peek() must
16207           either return the full data as requested or NULL, but
16208           never a short buffer.
16209
16210 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16211
16212         * gst/gstmessage.c: (gst_message_new_state_changed),
16213         (gst_message_parse_state_changed):
16214         * gst/gstmessage.h:
16215           don't use "new", it's a C++ keyword
16216
16217 2005-10-08  Wim Taymans  <wim@fluendo.com>
16218
16219         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16220         * gst/gstelement.c: (gst_element_post_message):
16221         * gst/gstpipeline.c: (gst_pipeline_change_state):
16222         Small docs and debug updates.
16223
16224 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16225
16226         * docs/gst/gstreamer-sections.txt:
16227         * gst/gstelementfactory.c:
16228         * gst/gstevent.c:
16229         * gst/gsttaglist.c:
16230           more docs
16231
16232 2005-10-08  Wim Taymans  <wim@fluendo.com>
16233
16234         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16235         (gst_bin_dispose), (bin_bus_handler):
16236         Fix typos, add comments.
16237         Clear EOS list when going to PAUSED from any direction and do it
16238         in a threadsafe way.
16239         Get base time in a threadsafe way too.
16240         Fix confusing debug in the change_state function.
16241         Various other small cleanups.
16242         
16243         * gst/gstelement.c: (gst_element_post_message):
16244         Fix very verbose bus posting code.
16245
16246         * gst/gstpipeline.c: (gst_pipeline_class_init),
16247         (gst_pipeline_set_property), (gst_pipeline_get_property),
16248         (gst_pipeline_change_state):
16249         Small ARG_ -> PROP_ cleanup
16250
16251 2005-10-08  Wim Taymans  <wim@fluendo.com>
16252
16253         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16254         Do a less CPU demanding EOS check because we can.
16255
16256 2005-10-08  Wim Taymans  <wim@fluendo.com>
16257
16258         * libs/gst/dataprotocol/dataprotocol.c:
16259         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16260         (gst_dp_packet_from_event):
16261         * libs/gst/dataprotocol/dataprotocol.h:
16262         * libs/gst/dataprotocol/dp-private.h:
16263         It's about time we bump the version number.
16264         Since event types don't fit in the guint8 anymore describing
16265         the payload type, make payload type 16 bits wide.
16266
16267 2005-10-08  Wim Taymans  <wim@fluendo.com>
16268
16269         * docs/design/part-TODO.txt:
16270         * docs/design/part-clocks.txt:
16271         * docs/design/part-events.txt:
16272         * docs/design/part-gstbin.txt:
16273         * docs/design/part-gstelement.txt:
16274         * docs/design/part-gstpipeline.txt:
16275         * docs/design/part-live-source.txt:
16276         * docs/design/part-messages.txt:
16277         * docs/design/part-overview.txt:
16278         * docs/design/part-states.txt:
16279         Many doc updates.
16280
16281 2005-10-08  Wim Taymans  <wim@fluendo.com>
16282
16283         * gst/gstevent.c:
16284         * gst/gstevent.h:
16285         Fix event quark registration.
16286         Add some space between events so we can insert them in the
16287         right groups.
16288
16289 2005-10-08  Wim Taymans  <wim@fluendo.com>
16290
16291         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16292         (gst_base_sink_handle_buffer):
16293         Better log message.
16294
16295         * gst/gstbus.h:
16296         * gst/gstelement.h:
16297         More docs.
16298
16299         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16300         (gst_queue_set_property), (gst_queue_get_property):
16301         * gst/gstqueue.h:
16302         Remove old unused properties.
16303
16304 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16305         * docs/gst/gstreamer-sections.txt:
16306         * gst/gstmessage.c:
16307         * gst/gstmessage.h:
16308         * gst/gstminiobject.c:
16309         * gst/gstminiobject.h:
16310         * gst/gstobject.h:
16311         * gst/gstpad.h:
16312         * gst/gstutils.h:
16313           lots of new docs and doc fixes
16314
16315 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16316
16317         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16318         * gst/gstplugin.h:
16319         * gst/gstregistry.c: (gst_registry_lookup_locked),
16320         (gst_registry_scan_path_level):
16321         * gst/gstregistryxml.c: (load_plugin):
16322           Only ever load one plugin for a given plugin basename.
16323           This ensures correct overriding of GST_PLUGIN_PATH over
16324           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16325           system installed plugins.
16326
16327 2005-10-08  Wim Taymans  <wim@fluendo.com>
16328
16329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16330         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16331         Prepare for doing QOS.
16332
16333 2005-10-08  Wim Taymans  <wim@fluendo.com>
16334
16335         * check/gst/gstbin.c: (GST_START_TEST):
16336         * check/pipelines/cleanup.c: (GST_START_TEST):
16337         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16338         Allow new clock message too.
16339
16340 2005-10-08  Wim Taymans  <wim@fluendo.com>
16341
16342         * gst/gstmessage.c: (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_clock_lost), (gst_message_new_new_clock),
16346         (gst_message_new_segment_start), (gst_message_new_segment_done),
16347         (gst_message_parse_state_changed),
16348         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16349         (gst_message_parse_new_clock):
16350         * gst/gstmessage.h:
16351         Also carry the clock in question.
16352
16353 2005-10-08  Wim Taymans  <wim@fluendo.com>
16354
16355         * gst/gstmessage.c: (gst_message_new_custom),
16356         (gst_message_new_eos), (gst_message_new_error),
16357         (gst_message_new_warning), (gst_message_new_tag),
16358         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16359         (gst_message_new_new_clock), (gst_message_new_segment_start),
16360         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16361         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16362         * gst/gstmessage.h:
16363         Clean up.
16364         Added clock related messages.
16365
16366         * gst/gstpipeline.c: (gst_pipeline_change_state):
16367         Post message when the clock changed.
16368
16369         * tools/gst-launch.c: (event_loop):
16370         Print new clock.
16371
16372 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16373
16374         * tools/gst-inspect.c: (print_element_properties_info):
16375           Can't pass NULL strings to g_print() on windows.
16376
16377 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16378
16379         * docs/Makefile.am:
16380         * docs/gst/Makefile.am:
16381         * docs/gst/gstreamer-docs.sgml:
16382         * docs/gst/running.xml:
16383         * docs/version.entities.in:
16384           add a chapter on running GStreamer.
16385           document GST_DEBUG and GST_PLUGIN* env vars
16386
16387 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16388
16389         * Makefile.am:
16390           remove include dir
16391         * configure.ac:
16392           remove PLUGINS_BUILDDIR stuff
16393         * gst/gst.c: (init_post):
16394           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16395         * idiottest.mak:
16396           remove, it was condescending and not needed
16397
16398 2005-10-08  Wim Taymans  <wim@fluendo.com>
16399
16400         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16401         (gst_base_sink_handle_object), (gst_base_sink_event),
16402         (gst_base_sink_wait), (gst_base_sink_handle_event),
16403         (gst_base_sink_change_state):
16404         * gst/base/gstbasesink.h:
16405         Repost EOS message while going to PLAYING if still EOS.
16406         Make sure that when receiving a FLUSH_START we don't attempt
16407         to sync on the clock anymore.
16408
16409 2005-10-08  Wim Taymans  <wim@fluendo.com>
16410
16411         * tools/gst-launch.c: (event_loop):
16412         Better message printout.
16413
16414 2005-10-08  Wim Taymans  <wim@fluendo.com>
16415
16416         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16417         (gst_bin_child_proxy_get_children_count):
16418         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16419         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16420         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16421         (gst_child_proxy_set_valist):
16422         * gst/parse/grammar.y:
16423         Make ChildProxy threadsafe and fix mem leaks.
16424
16425 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16426
16427         * gst/gst.c: (init_post):
16428           debug the GST_PLUGIN_ env vars
16429
16430 2005-10-08  Wim Taymans  <wim@fluendo.com>
16431
16432         * check/gst/gstbin.c: (GST_START_TEST):
16433         * check/gst/gstmessage.c: (GST_START_TEST):
16434         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16435         * gst/gstelement.c: (gst_element_commit_state),
16436         (gst_element_lost_state):
16437         * gst/gstmessage.c: (gst_message_new_state_changed),
16438         (gst_message_parse_state_changed):
16439         * gst/gstmessage.h:
16440         * tools/gst-launch.c: (event_loop):
16441         Added extra field to STATE_CHANGE message with the pending
16442         state, which will be different from the new state soon.
16443
16444 2005-10-08  Wim Taymans  <wim@fluendo.com>
16445
16446         * gst/gstbus.c: (gst_bus_pop):
16447         * gst/gstclock.c:
16448         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16449         Small cleanups and doc updates.
16450
16451 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16452
16453         * gst/gst.c: (init_pre):
16454         * gst/gstbin.c: (gst_bin_add_func):
16455           log distributing clocks and base time
16456         * gst/gstregistry.c: (gst_registry_add_plugin),
16457         (gst_registry_scan_path_level), (gst_registry_scan_path):
16458           clean up the debugging output a little
16459         * gst/gstutils.c: (gst_element_state_get_name):
16460           warn about a memleak (I've actually seen this be used, though
16461           it was probably a bug)
16462
16463 2005-10-07  Wim Taymans  <wim@fluendo.com>
16464
16465         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16466         (gst_base_src_init), (gst_base_src_default_newsegment),
16467         (gst_base_src_newsegment), (gst_base_src_do_seek),
16468         (gst_base_src_loop), (gst_base_src_start):
16469         * gst/base/gstbasesrc.h:
16470         Make the newsegment event customizable by subclasses.
16471
16472 2005-10-07  Wim Taymans  <wim@fluendo.com>
16473
16474         * gst/gstevent.c: (gst_event_new_buffersize),
16475         (gst_event_parse_buffersize):
16476         * gst/gstevent.h:
16477         New event for future idea.
16478
16479 2005-10-07  Andy Wingo  <wingo@pobox.com>
16480
16481         * gst/gstelement.c (gst_element_post_message): Doc update.
16482
16483         * docs/gst/gstreamer-sections.txt: Update.
16484
16485         * gst/gstmessage.c (gst_message_new_application): Made into a
16486         function like honest API calls.
16487         (gst_message_new_element): New message type.
16488
16489         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16490
16491         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16492         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16493         times.
16494
16495         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16496         NO_PREROLL from gst_element_change_state to fall through.
16497
16498 2005-10-07  Wim Taymans  <wim@fluendo.com>
16499
16500         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16501         (gst_ghost_pad_do_activate_push):
16502         Activating a ghostpad with no internal pad in push mode
16503         is ok.
16504
16505 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16506
16507         * gst/gstobject.h:
16508           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16509           Fixes compilation on Windows.
16510
16511 2005-10-07  Michael Smith <msmith@fluendo.com>
16512
16513         * tools/gst-inspect.c:
16514           Print out feature and plugin count at the end when printing out
16515           all features.
16516
16517 2005-10-04  Michael Smith <msmith@fluendo.com>
16518
16519         * gst/gsterror.c: (_gst_stream_errors_init):
16520           Add another error string used in a few existing plugins.
16521
16522         * gst/gstplugin.c:
16523         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16524         * tools/gst-inspect.c: (print_element_info):
16525           When a feature disappears from a plugin (and the feature exists in
16526           the cached registry file), things went horribly wrong. This isn't a
16527           complete fix, we should actually be removing the 'missing' features
16528           from the features list when we load the actual plugin. That's not
16529           yet implemented. 
16530
16531 2005-10-04  Johan Dahlin  <johan@gnome.org>
16532
16533         * check/gst/gstiterator.c: (GST_START_TEST):
16534         * gst/gstbin.c: (gst_bin_iterate_elements),
16535         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16536         * gst/gstelement.c: (gst_element_iterate_pads):
16537         * gst/gstformat.c: (gst_format_iterate_definitions):
16538         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16539         (gst_iterator_new_list), (gst_iterator_filter):
16540         * gst/gstiterator.h:
16541         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16542         Add a GType to GstIterator, update callsites and tests.
16543
16544 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16545
16546         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16547           give events a chance to be handled by event probes when the pad
16548           is not linked
16549
16550 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16551
16552         * gst/gstevent.c: (gst_event_type_get_name),
16553         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16554         * gst/gstevent.h:
16555           add string representations for event types
16556
16557 2005-10-06  Wim Taymans  <wim@fluendo.com>
16558
16559         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16560         Don't use NULL pointers.
16561
16562 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16563
16564         * gst/gst_private.h:
16565         * gst/gstbus.c:
16566         * gst/gstelement.c:
16567         * gst/gstinfo.c:
16568         * gst/gstpluginfeature.c:
16569           widen the debug category in output to fit the biggest one we have
16570           add a bus category and use it
16571           play with the colors
16572           fix up some categories
16573
16574 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16575
16576         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16577           add push activation of sink ghost pads.
16578           Andye, please verify
16579
16580 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16581
16582         * gst/gstutils.c: (gst_element_link_pads):
16583           fix a bug in the case where neither element has a pad
16584         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16585           add a test for that case
16586
16587 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16588
16589         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16590           emit have-data before checking for peers.  This allows
16591           for probe handlers to connect elements.  This helps autopluggers.
16592         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16593         (gst_pad_suite):
16594           add six checks, linked/unlinked with no/true/false probe
16595
16596 2005-10-04  Wim Taymans  <wim@fluendo.com>
16597
16598         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16599         (gst_fake_sink_event), (gst_fake_sink_preroll),
16600         (gst_fake_sink_render), (gst_fake_sink_change_state):
16601         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16602         (gst_fake_src_get_property), (gst_fake_src_create),
16603         (gst_fake_src_stop):
16604         * gst/elements/gstidentity.c: (gst_identity_stop):
16605         Protect last_message with lock.
16606
16607 2005-10-04  Edward Hervey  <edward@fluendo.com>
16608
16609         * gst/gstformat.h: 
16610         Added precision in the comments for GST_FORMAT_DEFAULT
16611
16612 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16613
16614         * tools/gst-launch.c: (main):
16615           Don't try to run erroneous pipelines.
16616
16617 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16618
16619         * gst/gstbus.c: We don't need this header.
16620
16621 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16622
16623         * configure.ac:
16624           back to development
16625
16626 === release 0.9.3 ===
16627
16628 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16629
16630         * README:
16631         * configure.ac:
16632           Releasing 0.9.3, "Unregistered"
16633
16634 2005-10-03  Andy Wingo  <wingo@pobox.com>
16635
16636         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16637         whereby calling a pad's activatepush() function can start a thread
16638         that starts to push or pull before the pad gets the FLUSHING flag
16639         unset. Hack around it by holding the stream lock until the flag is
16640         set. Need to replace this with a proper solution. Together with
16641         the ghost pad fixes, this fixes mp3 playing/tagreading.
16642
16643         * docs/design/part-gstghostpad.txt: Add a note about activation of
16644         proxy pads outside of ghost pads.
16645
16646         * gst/gstghostpad.c: Implement the ghost pad activation design.
16647
16648 2005-10-02  Andy Wingo  <wingo@pobox.com>
16649
16650         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16651         It is volatile, after all.
16652
16653         * docs/design/part-gstghostpad.txt: Flesh out activation with
16654         ghost pads.
16655
16656         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16657         GST_DEBUG_FUNCPTR.
16658
16659 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16660
16661         * configure.ac:
16662           Fix (unused) AM_CONDITIONAL tests.
16663
16664 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16665
16666         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16667
16668         * gst/gstutils.c: (gst_pad_query_convert):
16669           Add assertion that makes sure src_val is >=0, just like
16670           gst_query_new_convert() has. (#315895)
16671
16672 2005-09-30  Edward Hervey  <edward@fluendo.com>
16673
16674         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16675         Let's not iterate pads we're not interested in, it avoids getting 
16676         sky-high refcounts on sinkpad.
16677
16678 2005-09-30  Wim Taymans  <wim@fluendo.com>
16679
16680         * gst/gstelement.c: (gst_element_set_state),
16681         (gst_element_change_state):
16682         Small tweak, element in ASYNC remains ASYNC.
16683
16684 2005-09-30  Wim Taymans  <wim@fluendo.com>
16685
16686         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16687         Only error is an error.
16688
16689         * gst/gstbin.c: (gst_bin_change_state):
16690         Better debugging.
16691
16692         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16693         Also call pad_block in pad alloc.
16694
16695         * gst/gstutils.c: (gst_flow_get_name):
16696         Better debugging.
16697
16698 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16699
16700         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16701         (gst_base_src_get_range):
16702           Fix documentation typos. Add some more debug info.
16703
16704 2005-09-29  David Schleef  <ds@schleef.org>
16705
16706         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16707           more end-user friendly.
16708         * tools/gst-inspect.c: (main): Check if command-line argument is
16709           a file and attempt to load that file as a plugin.
16710
16711 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16712
16713         * check/gst/gstbin.c:
16714         * check/states/sinks.c:
16715           fix tests for the new warning
16716         * check/gst/gstpipeline.c:
16717           add a test for pipeline and bus interaction
16718         * gst/gstelement.c:
16719           elements should be NULL if they get disposed; add a warning if not
16720
16721 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16722
16723         * gst/gstobject.c:
16724           for 2.6 refcounting, make debug log more correct by printing
16725           the actual refcounts at the time of swap (Wim)
16726
16727 2005-09-29  Andy Wingo  <wingo@pobox.com>
16728
16729         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16730         removes signal watches previously added via
16731         gst_bus_add_signal_watch.
16732         (gst_bus_add_signal_watch): Don't return the source id, just store
16733         it on the bus if there wasn't an id already.
16734
16735         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16736         add_signal_watch and remove_signal_watch.
16737
16738 2005-09-29  Edward Hervey  <edward@fluendo.com>
16739
16740         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
16741         Better if we actually iterate the list :)
16742
16743 2005-09-29  Wim Taymans  <wim@fluendo.com>
16744
16745         * check/gst/gstbin.c: (GST_START_TEST):
16746         Change for new bus API.
16747
16748         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16749         (send_messages), (GST_START_TEST), (gstbus_suite):
16750         Change for new bus signal API.
16751
16752         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16753         (gst_bus_source_prepare), (gst_bus_source_check),
16754         (gst_bus_create_watch), (gst_bus_add_watch_full),
16755         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16756         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16757         * gst/gstbus.h:
16758         Remove support for multiple GSources operating on different
16759         message types as it is too complex and unneeded when using
16760         signals.
16761         Added support for receiving signals from the bus.
16762
16763 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16764
16765         * docs/libs/tmpl/gstdataprotocol.sgml:
16766         * docs/manual/advanced-dataaccess.xml:
16767         * gst/elements/gstcapsfilter.c:
16768         * gst/gstutils.c:
16769           rename filter-caps to caps property
16770
16771 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16772
16773         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16774           More robust fraction string parsing.
16775
16776         * docs/pwg/appendix-porting.xml:
16777           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16778
16779 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16780
16781         * gst/gstcaps.c: (gst_caps_do_simplify):
16782           Thou shalt not free a structure and then continue using it
16783           in the next loop iteration.
16784
16785         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16786         (gst_caps_suite):
16787           Add test case for caps simplification.
16788
16789 2005-09-29  Wim Taymans  <wim@fluendo.com>
16790
16791         * check/gst/gstbin.c: (GST_START_TEST):
16792         Oops.
16793
16794 2005-09-29  Wim Taymans  <wim@fluendo.com>
16795
16796         * check/gst/gstbin.c: (GST_START_TEST):
16797         Add bus to bin.
16798
16799         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16800         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16801         (find_element), (gst_bin_sort_iterator_next),
16802         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16803         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16804         (gst_bin_change_state), (gst_bin_dispose):
16805         A bin does not have a bus, it gets the bus from the parent.
16806
16807         * gst/gstelement.c: (gst_element_requires_clock),
16808         (gst_element_provides_clock), (gst_element_is_indexable),
16809         (gst_element_is_locked_state), (gst_element_change_state),
16810         (gst_element_set_bus_func):
16811         Small cleanups.
16812
16813         * gst/gstpipeline.c: (gst_pipeline_class_init),
16814         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16815         The pipeline provides a bus.
16816
16817 2005-09-28  Johan Dahlin  <johan@gnome.org>
16818
16819         * gst/gstmessage.c (gst_message_parse_state_changed): Use
16820         gst_structure_get_enum instead of gst_structure_get_int
16821
16822         * gst/gststructure.c (gst_structure_get_enum): Impl.
16823
16824         * gst/gststructure.h (gst_structure_get_enum): Add
16825
16826         * docs/gst/gstreamer-sections.txt: Ditto
16827
16828         * gst/gstmessage.c (gst_message_new_state_changed): Use
16829         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16830         which does introspection.
16831         Reviewed by Christian Schaller
16832
16833 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16834
16835         * gst/gstinfo.c: (gst_debug_log_default):
16836           don't do dummy g_strdup()s
16837         * libs/gst/controller/gstcontroller.c:
16838         (on_object_controlled_property_changed),
16839         (gst_controlled_property_new), (gst_controller_new_valist),
16840         (gst_controller_new_list),
16841         (gst_controller_remove_properties_valist), (gst_controller_set),
16842         (gst_controller_get), (gst_controller_sync_values),
16843         (gst_controller_get_value_array), (_gst_controller_class_init),
16844         (gst_controller_get_type):
16845         * libs/gst/controller/gstcontroller.h:
16846         * libs/gst/controller/gstinterpolation.c:
16847         (gst_controlled_property_find_timed_value_node):
16848           convert // to /**/ comments
16849
16850 2005-09-28  Wim Taymans  <wim@fluendo.com>
16851
16852         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16853         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16854         (gst_bus_sync_signal_handler):
16855         * gst/gstbus.h:
16856         Added async-message and sync-message signals to the bus.
16857         Added helper BusFunc to emit signals for all posted messages.
16858
16859         * gst/gstmessage.c: (gst_message_type_get_name),
16860         (gst_message_type_to_quark), (gst_message_get_type):
16861         * gst/gstmessage.h:
16862         Register quarks for message names.
16863
16864 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16865
16866         * docs/libs/gstreamer-libs-sections.txt:
16867         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16868         (gst_controller_new_list):
16869         * libs/gst/controller/gstcontroller.h:
16870           added another constructor for language bindings
16871
16872 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16873
16874         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16875           add another check
16876         * gst/gstbus.c:
16877           add some doc
16878         * gst/gstinfo.c: (_gst_debug_init):
16879           slightly more readable color for refcount debugging
16880
16881 2005-09-28  Wim Taymans  <wim@fluendo.com>
16882
16883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16884         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16885         (find_element), (gst_bin_sort_iterator_next),
16886         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16887         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16888         (gst_bin_change_state), (gst_bin_dispose):
16889         Small doc fixes. get_clock -> provide_clock.
16890
16891         * gst/gstelement.c: (gst_element_class_init),
16892         (gst_element_provides_clock), (gst_element_provide_clock),
16893         (gst_element_get_clock), (gst_element_commit_state),
16894         (gst_element_lost_state):
16895         * gst/gstelement.h:
16896         Make get/set_clock() symetric. Add provide_clock vmethod since
16897         that is actually what this function does.
16898
16899         * gst/gstpipeline.c: (gst_pipeline_class_init),
16900         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16901         (gst_pipeline_get_clock):
16902         get_clock -> provide_clock.
16903
16904 2005-09-28  Andy Wingo  <wingo@pobox.com>
16905
16906         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16907         lieu of real docs...
16908
16909         * gst/elements/gstfdsrc.c: Cleaned up a bit.
16910
16911 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
16912
16913         * gst/elements/gstcapsfilter.c:
16914         * gst/elements/gstfakesink.c:
16915         * gst/elements/gstfakesrc.c:
16916         * gst/elements/gstfdsink.c:
16917         * gst/elements/gstfdsrc.c:
16918         * gst/elements/gstfilesink.c:
16919         * gst/elements/gstfilesrc.c:
16920         * gst/elements/gstidentity.c:
16921         * gst/elements/gsttee.c:
16922         * gst/elements/gsttypefindelement.c:
16923           Make element details static.
16924
16925 2005-09-28  Wim Taymans  <wim@fluendo.com>
16926
16927         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16928         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16929         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16930         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16931         (gst_bin_change_state), (gst_bin_dispose):
16932         Some documentation updates.
16933         Clean up dispose handlers.
16934
16935         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16936         * gst/gstpad.c: (gst_pad_dispose):
16937         Clean up dispose handler.
16938
16939         * gst/gstpipeline.c: (gst_pipeline_change_state):
16940         Removed spurious UNLOCK.
16941
16942 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
16943
16944         * docs/gst/gstreamer-sections.txt:
16945         * gst/base/gstbasesrc.h:
16946         * gst/gstelement.h:
16947         * gst/gstevent.h:
16948         * gst/gstobject.h:
16949         * gst/gstpad.h:
16950         * gst/gstpipeline.c:
16951         * gst/gstpipeline.h:
16952         * gst/gstutils.h:
16953         * gst/gstxml.h:
16954           added two new functions to the docs
16955                 documents all undocumented GstXXXFlags
16956                 completed some incomplete docs 
16957
16958 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16959
16960         * gst/gstbin.c: (gst_bin_dispose):
16961         * gst/gstelement.c: (gst_element_dispose):
16962           remove now useless and leaky resurrection code in dispose
16963         * gst/base/gstbasesrc.c: (gst_base_src_init):
16964         * gst/gstelementfactory.c: (gst_element_factory_create):
16965         * gst/gstobject.c: (gst_object_set_parent):
16966           add some debugging
16967
16968 2005-09-27  Wim Taymans  <wim@fluendo.com>
16969
16970         * docs/design/part-TODO.txt:
16971         Update TODO.
16972
16973         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16974         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16975         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16976         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16977         (gst_bin_change_state):
16978         * gst/gstelement.h:
16979         Remove element variable, we keep element info in the iterator now.
16980
16981 2005-09-27  Andy Wingo  <wingo@pobox.com>
16982
16983         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16984         values.
16985
16986 2005-09-27  Wim Taymans  <wim@fluendo.com>
16987
16988         * check/gst/gstbin.c: (GST_START_TEST):
16989         Enable check that works now.
16990
16991         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16992         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16993         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16994         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16995         (gst_bin_change_state):
16996         * gst/gstbin.h:
16997         Redid the state change algorithm using a topological sort algo.
16998         Handles all cases correctly.
16999         Exposed iterator for state change order.
17000
17001         * gst/gstelement.h:
17002         Temp storage for state changes. Need to get rid of this soon.
17003
17004 2005-09-27  Wim Taymans  <wim@fluendo.com>
17005
17006         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17007         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17008         (link_fold_func), (gst_pad_proxy_setcaps):
17009         Leak fixes, the fold functions need to unref the passed object and
17010         _get_parent_*() returns ref to parent.
17011
17012 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17013
17014         * check/gst/gstbuffer.c: (test_make_writable):
17015           Plug leak in test case and fix 'make check-valgrind'
17016
17017 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17018
17019         * gst/gstbuffer.c: (gst_subbuffer_init):
17020           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17021           works correctly in all circumstances (we could have just copied
17022           the parent buffer's readonly flag, but conceptually it seems
17023           cleaner to mark all subbuffers as read-only). (based on patch
17024           by Alessandro Decina, #314710).
17025         
17026         * check/gst/gstbuffer.c: (create_read_only_buffer),
17027         (test_make_writable), (test_subbuffer_make_writable),
17028         (gst_test_suite):
17029           Add some tests for gst_buffer_make_writable().
17030
17031 2005-09-27  Wim Taymans  <wim@fluendo.com>
17032
17033         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17034         use gst_object_has_ancestor().
17035
17036         * gst/gstobject.c: (gst_object_has_ancestor):
17037         * gst/gstobject.h:
17038         gst_object_has_ancestor() copied from gstbin.c as it is a
17039         useful function.
17040
17041         * tests/instantiate/create.c: (create_all_elements):
17042         * tests/lat.c: (handoff_src), (handoff_sink):
17043         * tests/sched/runxml.c: (main):
17044         * tests/seeking/seeking1.c: (main):
17045         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17046         (main):
17047         Fix compilation of some tests.
17048
17049 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
17050
17051         * gst/gsterror.h:
17052           Remove comment. GST_TYPE_G_ERROR is here to stay,
17053           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17054           (#316961, #300610).
17055
17056 2005-09-26  Wim Taymans  <wim@fluendo.com>
17057
17058         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17059         Added check that shows error in state change order.
17060
17061 2005-09-26  Wim Taymans  <wim@fluendo.com>
17062
17063         * gst/gstbin.c: (gst_bin_change_state):
17064         Make state change function use 3 queues again, we were
17065         adding elements in the wrong order.
17066
17067         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17068         Some debug info,
17069
17070         * gst/gstpad.c: (gst_pad_dispose):
17071         Added some debug info first.
17072
17073 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
17074
17075         * docs/design/draft-push-pull.txt:
17076         * docs/design/part-events.txt:
17077         * docs/design/part-overview.txt:
17078         * docs/design/part-scheduling.txt:
17079           Replace all _pull_region() with _pull_range()
17080           
17081 2005-09-26  Andy Wingo  <wingo@pobox.com>
17082
17083         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17084
17085         * check/gst-libs/controller.c: Update for controller api change.
17086
17087         * configure.ac: 
17088         * tests/Makefile.am:
17089         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17090         over by GLib bug 118439.
17091         
17092         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17093         routines to a function.
17094
17095         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17096
17097         * libs/gst/controller/gsthelper.c:
17098         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17099         (gst_object_sync_values): Renamed from sink_values. Ugh.
17100
17101         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17102
17103         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17104         Renamed from controller_key, as it is exported.
17105
17106         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17107
17108 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17109
17110         * gst/Makefile.am:
17111         * gst/gst.h:
17112         * gst/gstpad.h:
17113         * gst/gstpadtemplate.h:
17114         * gst/gstquery.c:
17115         * gst/gstquery.h:
17116         * gst/gstqueryutils.c:
17117         * gst/gstqueryutils.h:
17118           remove queryutils headers after moving the two used functions
17119           to gstquery.  also fixes build problem for gstsiddec
17120
17121 2005-09-26  Michael Smith <msmith@fluendo.com>
17122
17123         * tools/gst-launch.1.in:
17124         Correct documentation in manpage of debug syntax
17125
17126 2005-09-26  Wim Taymans  <wim@fluendo.com>
17127
17128         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17129         (gst_base_src_is_seekable), (gst_base_src_change_state):
17130         Some more debugging info.
17131
17132 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17133
17134         * docs/gst/gstreamer-sections.txt:
17135         * gst/base/gstbasetransform.h:
17136         * gst/gstindex.h:
17137           added more docs
17138
17139 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17140
17141         * docs/gst/.cvsignore:
17142         * docs/gst/tmpl/.cvsignore:
17143         * docs/gst/tmpl/gstpipeline.sgml:
17144         * docs/gst/tmpl/gstplugin.sgml:
17145         * gst/gstpipeline.c:
17146         * gst/gstplugin.c:
17147         * gst/gstplugin.h:
17148           inlined the last two docs files
17149           removed the tmpl directory from cvs (no more conflicts here!)
17150
17151 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17152
17153         * docs/gst/gstreamer-sections.txt:
17154         * docs/gst/tmpl/.cvsignore:
17155         * docs/gst/tmpl/gstpad.sgml:
17156         * docs/gst/tmpl/gstpadtemplate.sgml:
17157         * gst/Makefile.am:
17158         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17159         (gst_pad_finalize), (gst_pad_set_pad_template):
17160         * gst/gstpad.h:
17161         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17162         (gst_pad_template_class_init), (gst_pad_template_init),
17163         (gst_pad_template_dispose), (name_is_valid),
17164         (gst_static_pad_template_get), (gst_pad_template_new),
17165         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17166         (gst_pad_template_pad_created):
17167         * gst/gstpadtemplate.h:
17168           inlined two more docs
17169           factored gstpadtemplate out of gstpad
17170
17171 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17172
17173         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17174         (test_children_state_change_order_semi_sink):
17175           Fix test case: we can't rely on a fixed state change order when
17176           going from READY => PAUSED because the sink might commit its 
17177           new state first when the first buffer created by the source 
17178           reaches the sink before the source has finished its change state.
17179           (Test case still fails at times, see #316856, comment 5 onwards)
17180
17181 2005-09-24  Wim Taymans  <wim@fluendo.com>
17182
17183         * docs/design/part-events.txt:
17184         * docs/design/part-gstbus.txt:
17185         * docs/design/part-gstpipeline.txt:
17186         * docs/design/part-messages.txt:
17187         * docs/design/part-overview.txt:
17188         * docs/design/part-segments.txt:
17189         * gst/gstbin.c:
17190         * gst/gstbuffer.c:
17191         * gst/gstclock.c:
17192         * gst/gstelement.c:
17193         * gst/gstevent.c:
17194         * gst/gstfilter.c:
17195         * gst/gstiterator.c:
17196         Various documentation updates.
17197
17198 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * gst/gstclock.h:
17201           Well, that's embarassing.  Luckily we weren't using
17202           GST_CLOCK_DIFF anywhere.
17203
17204 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17205
17206         * common/gtk-doc.mak:
17207           don't fail on building XML, FC4 slave shows a bunch of doc
17208           missing bits that I don't get
17209         * gst/gstpad.c:
17210         * gst/gstpipeline.c:
17211         * gst/gststructure.c:
17212           some doc updates
17213
17214 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17215
17216         * docs/design/part-gstbin.txt:
17217         * docs/design/part-gstbus.txt:
17218         * gst/gstbus.c:
17219           Add blurb about how the bus goes into flushing mode and
17220           drops all messages when its bin goes from READY into NULL 
17221           state.
17222
17223 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17224
17225         * docs/gst/gstreamer-sections.txt:
17226         * gst/gststructure.c: (gst_structure_get_clock_time):
17227         * gst/gststructure.h:
17228           add a method to get a GstClockTime out of a structure
17229
17230 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17231
17232         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17233         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17234           Added test to check state change order in bins (can still be made
17235           to fail here under heavy disk load; bails out with 'Push on pad
17236           fakesink:sink0, but it was not activated in push mode').
17237
17238         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17239           Fix state change order when there is only a semi sink (#316856)
17240
17241         * gst/gstbus.c: (gst_bus_class_init):
17242           Use _class_peek_parent(), not _class_ref(); fix docs to say
17243           'default main context' instead of 'mainloop' where that is
17244           what's meant.
17245
17246         * gst/gstelement.c: (gst_element_commit_state),
17247         (gst_element_set_state):
17248           Fix typos in debug messages
17249
17250 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17251
17252         * docs/README:
17253         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17254         * gst/gstpluginfeature.c:
17255         * gst/gstutils.c:
17256           various doc updates
17257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17258           change an assert into an error until it gets fixed properly
17259
17260 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17261
17262         * docs/gst/gstreamer-sections.txt:
17263         * docs/gst/tmpl/.cvsignore:
17264         * docs/gst/tmpl/gstelement.sgml:
17265         * docs/gst/tmpl/gstinfo.sgml:
17266         * docs/gst/tmpl/gstobject.sgml:
17267         * gst/gstelement.c:
17268         * gst/gstelement.h:
17269         * gst/gstinfo.c:
17270         * gst/gstinfo.h:
17271         * gst/gstobject.c: (gst_object_class_init):
17272         * gst/gstobject.h:
17273           inlined 3 more biiiig doc files and added some missing docs on the fly
17274
17275 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17276
17277         * check/gst/.cvsignore:
17278         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17279         * gst/gstregistryxml.c: (load_plugin),
17280         (gst_registry_xml_save_plugin):
17281           put back source in registry.  add checks for find_plugin.
17282         * testsuite/states/bin.c: (assert_state), (empty_bin),
17283         (test_adding_one_element), (main):
17284         * testsuite/states/locked.c: (main):
17285           some compile/run fixes
17286
17287 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17288
17289         * check/gst/gstvalue.c: (GST_START_TEST):
17290           fix leaks in the test itself
17291
17292 2005-09-22  Wim Taymans  <wim@fluendo.com>
17293
17294         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17295         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17296         (gst_base_sink_query):
17297         Prepare for more accurate position reporting and query
17298         handling.
17299
17300         * gst/gstelement.c: (gst_element_send_event),
17301         (gst_element_set_state):
17302         Add some comment.
17303
17304 2005-09-22  Wim Taymans  <wim@fluendo.com>
17305
17306         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17307         (gst_query_parse_segment):
17308         * gst/gstquery.h:
17309         More documentation.
17310         Add segment query for future use.
17311
17312 2005-09-22  Wim Taymans  <wim@fluendo.com>
17313
17314         * gst/gstbin.c: (gst_bin_add_func):
17315         Some more debug info.
17316
17317         * gst/gstelement.c: (gst_element_send_event):
17318         Simplify send_event
17319
17320         * gst/gstelement.h:
17321         Don't know how flags got broken.
17322
17323         * gst/gstquery.h:
17324         Added new query.
17325
17326 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17327
17328         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17329           Add simplistic test suite for GST_TYPE_DATE serialisation and
17330           deserialisation.
17331
17332 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17333
17334         * docs/gst/gstreamer-sections.txt:
17335         * gst/gststructure.c: (gst_structure_set_valist),
17336         (gst_structure_get_date):
17337         * gst/gststructure.h:
17338         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17339         (gst_date_copy), (gst_value_compare_date),
17340         (gst_value_serialize_date), (gst_value_deserialize_date),
17341         (gst_value_transform_date_string),
17342         (gst_value_transform_string_date), (_gst_value_initialize):
17343         * gst/gstvalue.h:
17344           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17345           bunch of utility functions along with a hack that checks that
17346           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17347           is required. Part of the grand scheme in #170777.
17348
17349 2005-09-22  Andy Wingo  <wingo@pobox.com>
17350
17351         * gst/gstconfig.h.in: Psych out gtk-doc.
17352
17353         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17354
17355         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17356
17357         * tools/gst-inspect.c (print_element_list): Plug some
17358         inconsequential leaks.
17359
17360         * gst/gstregistry.c (gst_registry_get_default): Doc.
17361
17362         * check/gst/gstplugin.c: 
17363         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17364         * gst/gstelementfactory.c (gst_element_factory_create): 
17365         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17366         refcount changes.
17367
17368         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17369         (gst_plugin_feature_load): Doc, don't eat refs.
17370
17371         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17372         (gst_plugin_list_free): Doc.
17373         (gst_plugin_load_file): Doc updates.
17374
17375         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17376         accessors returning refcounted objects, return a ref.
17377
17378         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17379         accessor for caps. IDEMPOTENCE. Oh yes.
17380
17381 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17382
17383         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17384
17385         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17386         (_gst_debug_register_funcptr):
17387           Add mutex to serialise access to the hash table with
17388           the function pointer => function name string mapping;
17389           make that hash table static scope (#316809).
17390
17391         * gst/registries/.cvsignore:
17392           Remove left-over file.
17393
17394 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17395
17396         * docs/pwg/appendix-porting.xml:
17397           And something about newsegment events and caps-on-buffers to
17398           the porting guide (feel free to improve).
17399
17400 2005-09-21  Andy Wingo  <wingo@pobox.com>
17401
17402         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17403         data and event probes on the same pad.
17404         (test_buffer_probe_once): Test that removing probes from within
17405         the probe functions works.
17406
17407 2005-09-21  Andy Wingo  <wingo@pobox.com>
17408
17409         * check/gst/gstutils.c: New file.
17410         (test_buffer_probe_n_times): A simple buffer probe test. More to
17411         come, foolios.
17412
17413         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17414         have-data::buffer, not have-data.
17415         (gst_pad_add_event_probe): Likewise for have-data::event.
17416         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17417         peer' isn't quite right yet though.
17418         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17419         (gst_pad_remove_data_probe): Change to take the guint handler_id
17420         as their arg, not the function+data, which is more glib-like.
17421
17422         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17423         the signal emission to indicate if the data is a buffer or an
17424         event.
17425         (gst_pad_get_type): Initialize buffer and event quarks.
17426         (gst_pad_class_init): have-data is now a detailed signal, yes it
17427         is.
17428
17429 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17430
17431         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17432         * gst/gstutils.c: (gst_util_set_value_from_string),
17433         (gst_util_set_object_arg):
17434           Don't put functional code in g_return_if_fail() or
17435           g_return_val_if_fail() statements, otherwise things will 
17436           break when G_DISABLE_CHECKS is defined during compilation.
17437
17438 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17439
17440         * docs/gst/tmpl/.cvsignore:
17441         * docs/gst/tmpl/gstvalue.sgml:
17442         * gst/gstvalue.c:
17443         * gst/gstvalue.h:
17444           inlied another one and added  some obvious docs
17445
17446 2005-09-21  Wim Taymans  <wim@fluendo.com>
17447
17448         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17449         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17450         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17451         (gst_fdsrc_get_property), (gst_fdsrc_create):
17452         * gst/elements/gstfdsrc.h:
17453         Properly implement fdsrc. Removed signal and timeout,
17454         better implemented somewhere else.
17455
17456 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17457
17458         * docs/gst/tmpl/.cvsignore:
17459         * docs/gst/tmpl/gstimplementsinterface.sgml:
17460         * gst/gstinterface.c:
17461           inlined more docs
17462
17463 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17464
17465         * docs/gst/gstreamer-sections.txt:
17466         * docs/gst/tmpl/.cvsignore:
17467         * docs/gst/tmpl/gstenumtypes.sgml:
17468           remove obsolete doc file
17469
17470 2005-09-21  David Schleef  <ds@schleef.org>
17471
17472         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17473         little beer, fix a little leak.
17474
17475 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17476
17477         * docs/gst/gstreamer-docs.sgml:
17478         * docs/gst/gstreamer-sections.txt:
17479         * docs/gst/tmpl/.cvsignore:
17480         * gst/Makefile.am:
17481         * gst/gst.h:
17482         * gst/gstbin.c:
17483         * gst/gstelement.h:
17484         * gst/gstindex.c: (gst_index_class_init):
17485         * gst/gstindex.h:
17486         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17487         (gst_index_factory_class_init), (gst_index_factory_init),
17488         (gst_index_factory_finalize), (gst_index_factory_new),
17489         (gst_index_factory_destroy), (gst_index_factory_find),
17490         (gst_index_factory_create), (gst_index_factory_make):
17491         * gst/gstindexfactory.h:
17492         * gst/gstpluginfeature.c:
17493         * gst/gstpluginfeature.h:
17494         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17495           more docs inlined, splitted gstindex.{c,h}
17496
17497 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17498
17499         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17500           fix a leak
17501
17502 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17503
17504         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17505           Set sync to FALSE by default.
17506
17507 2005-09-20  Wim Taymans  <wim@fluendo.com>
17508
17509         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17510         (gst_base_sink_init):
17511         Make sync property settable from subclass.
17512
17513         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17514         (gst_fake_sink_change_state):
17515         Set sync to FALSE by default.
17516
17517 2005-09-20  Wim Taymans  <wim@fluendo.com>
17518
17519         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17520         * tools/gst-launch.c: (main):
17521         The timeout handler should have lower priority than the source
17522         so we don't timeout before popping a message with 0 timeout.
17523         Dump error messages after failed state change.
17524
17525 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17526
17527         * tools/gst-inspect.c: (print_element_properties_info):
17528           Fix two typos.
17529
17530 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17531
17532         * check/gst/gstevent.c:
17533         * gst/elements/gstfakesink.c:
17534         * gst/elements/gstfakesink.h:
17535           remove the sync property from fakesink.
17536           has the side effect of setting sync TRUE
17537           for fakesink, which is a change.  Anyone who knows how
17538           to fix this nicely in a GObject-y way, feel free.
17539
17540 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17541
17542         * docs/gst/gstreamer-docs.sgml:
17543           remove probe refsection
17544
17545 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17546
17547         * check/Makefile.am:
17548           disable valgrinding the controller test again
17549         * docs/gst/gstreamer-sections.txt:
17550           update for api-changes
17551
17552 2005-09-20  Wim Taymans  <wim@fluendo.com>
17553
17554         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17555         (gst_base_sink_set_property), (gst_base_sink_get_property),
17556         (gst_base_sink_do_sync):
17557         * gst/base/gstbasesink.h:
17558         Added sync property to basesink to disable clock sync.
17559
17560 2005-09-20  Andy Wingo  <wingo@pobox.com>
17561
17562         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17563         eating the caller's refcount.
17564
17565         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17566         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17567         refcount.
17568
17569         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17570         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17571         of GLib 2.8 public, so we can know which refcount to check in
17572         tests.
17573
17574         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17575         (gst_object_init): Only set the gst refcount if we're going ahead
17576         with the refcount hack.
17577
17578 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17579
17580         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17581         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17582           more leaks plumbed, added more debug-logging
17583         * gst/gstmacros.h:
17584           whitespace fix
17585
17586 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17587
17588         * gst/gstmessage.c:
17589           remove include of gstmemchunk.h
17590
17591 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17592
17593         * gst/gstclock.c: (_gst_clock_id_free):
17594           Commit from the Political Party For More Atomic CVS Commits,
17595           so that people don't waste too much of their day fishing
17596           out obvious leaks out of massive commits.
17597           Oh, and fix a pretty damn obvious leak in the memchunk
17598           removal code.
17599
17600 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17601
17602         * check/Makefile.am:
17603         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17604           plug mem-leak, re-add to valgrindable tests
17605
17606 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * gst/gstplugin.h:
17609           unbreak the build for those who have chronic arthritis
17610           and typing "make check" is just too taxing on the hands
17611
17612 2005-09-20  Andy Wingo  <wingo@pobox.com>
17613
17614         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17615         really want it out, you should fix plugins at the same time.
17616
17617 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17618
17619         * configure.ac:
17620         * docs/gst/gstreamer-sections.txt:
17621         * gst/gstobject.c:
17622           added missing symbols to api docs
17623           disable ref-count hack if we have glib >= 2.8
17624
17625 2005-09-19  David Schleef  <ds@schleef.org>
17626
17627         * docs/gst/Makefile.am: Ignore a few more internal headers
17628         * docs/gst/gstreamer-docs.sgml: Remove old sections
17629         * docs/gst/gstreamer-sections.txt: Remove old sections
17630         * docs/gst/tmpl/gstobject.sgml: update
17631         * docs/gst/tmpl/gstplugin.sgml: update
17632         * docs/gst/tmpl/gstpluginfeature.sgml: update
17633         * docs/random/ds/0.9-suggested-changes: update.
17634         * gst/Makefile.am: remove memchunk and trashstack, since they're
17635           not used.
17636         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17637         * gst/gst.h: don't include some headers
17638         * gst/gstchildproxy.c: add gstmarshal.h
17639         * gst/gstclock.c: Don't use memchunks
17640         * gst/gstminiobject.c: Add some docs
17641         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17642         * gst/gstobject.h: same
17643         * gst/gstplugin.c: include gstmacros.h
17644         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17645         * gst/gstquery.c: don't use memchunks
17646         * gst/gstregistry.c: rename gst_registry_deinit()
17647         * gst/gstregistry.h: same
17648
17649 2005-09-19  David Schleef  <ds@schleef.org>
17650
17651         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17652         * docs/libs/gstreamer-libs-sections.txt:
17653         * docs/libs/tmpl/gstgetbits.sgml:
17654         * docs/libs/tmpl/gstputbits.sgml:
17655
17656 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17657
17658         * win32/gstenumtypes.c:
17659         * win32/gstenumtypes.h:
17660           Update.
17661
17662 2005-09-19  Wim Taymans  <wim@fluendo.com>
17663
17664         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17665         Automatically PAUSE and RESUME a pipeline when a flushing seek
17666         is performed.
17667
17668 2005-09-19  Andy Wingo  <wingo@pobox.com>
17669
17670         * gst/gstregistry.h: Spacing fixen.
17671
17672 2005-09-19  Wim Taymans  <wim@fluendo.com>
17673
17674         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17675         Handle state change failure more correctly.
17676
17677 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17678
17679         * check/Makefile.am:
17680         * check/pipelines/cleanup.c: (run_pipeline):
17681         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17682         (GST_START_TEST):
17683           enable cleanup again after fixing the leak
17684         * docs/README:
17685           some more info on docs
17686
17687 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17688
17689         * check/Makefile.am:
17690           re-enable tests now that leaks are plugged
17691         * check/gst/gst.c:
17692         * check/gst/gstbin.c:
17693         * check/gst/gstpipeline.c:
17694           add some more tests while fixing leaks
17695         * common/check.mak:
17696           make sure binaries are uptodate when valgrinding/gdbing
17697         * gst/gst.c:
17698         * gst/gstelementfactory.c:
17699           remove a ref too many, and add a FIXME for when we get
17700           round to disposing of classes
17701         * gst/gstplugin.c:
17702           fix the refcounting when loading a plugin from a file and
17703           the code pretends that the pointer is the same even though
17704           of course it can change
17705         * gst/gstpluginfeature.c:
17706           unref plugins marked cached (a bit confusing as a name)
17707           as the docs state should be done
17708           various doc additions to explain refcounting
17709         * gst/gstregistry.c:
17710         * gst/gstregistryxml.c:
17711           debugging
17712
17713 2005-09-19  Wim Taymans  <wim@fluendo.com>
17714
17715         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17716         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17717         (send_messages), (GST_START_TEST), (gstbus_suite):
17718         * check/gst/gstpipeline.c: (GST_START_TEST):
17719         * check/pipelines/cleanup.c: (run_pipeline):
17720         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17721         (GST_START_TEST):
17722         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17723         (gst_bus_source_check), (gst_bus_source_dispatch),
17724         (gst_bus_create_watch), (gst_bus_add_watch_full),
17725         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17726         * gst/gstbus.h:
17727         * tools/gst-launch.c: (event_loop):
17728         * tools/gst-md5sum.c: (event_loop):
17729         GstBusHandler -> GstBusFunc, return value has the same meaning as
17730         any other GSource (FALSE == remove source).
17731         _add_watch() and _add_watch_full() now take a MessageType mask to
17732         only handle specific types of messages.
17733         _poll() returns the GstMessage instead of the message type to avoid
17734         race conditions.
17735         _have_pending() takes a MessageType mask now too.
17736         Added testsuite for multiple bus watches.
17737         Fix testsuites and applications for new bus API.
17738
17739 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17740
17741         * check/Makefile.am:
17742           mark a bunch of the tests as to fix until we fix them
17743
17744 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17745
17746         * common/check.mak:
17747           use GST_PLUGIN settings for valgrind tests as well, so we're
17748           valgrinding the correct thing
17749         * gst/gst.c: (init_post):
17750           plug another leak
17751
17752 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17753
17754         * gst/gst.c: (init_post), (gst_deinit):
17755         * gst/gstelementfactory.c: (gst_element_factory_class_init),
17756         (gst_element_factory_finalize), (gst_element_factory_cleanup):
17757         * gst/gstindex.c: (gst_index_factory_class_init),
17758         (gst_index_factory_finalize):
17759         * gst/gstobject.c: (gst_object_dispose):
17760         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17761         (gst_plugin_load_file), (gst_plugin_desc_free):
17762         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17763         (gst_plugin_feature_finalize):
17764         * gst/gstregistry.c: (gst_registry_class_init),
17765         (gst_registry_init), (gst_registry_finalize),
17766         (gst_registry_get_default), (gst_registry_deinit):
17767         * gst/gstregistry.h:
17768         * gst/gstregistryxml.c: (load_feature), (load_plugin):
17769           various cleanups and memleak plugging.  make valgrind is happy now.
17770
17771 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17772
17773         * common/check.mak:
17774           add a check-valgrind target
17775
17776 2005-09-18  David Schleef  <ds@schleef.org>
17777
17778         * tools/gst-inspect.c: Revert the GOption code.
17779
17780 2005-09-17  David Schleef  <ds@schleef.org>
17781
17782         * check/Makefile.am: Fix environment variables.
17783         * check/gst/gstplugin.c: Fix for API changes.
17784         * tools/gst-inspect.c: Fix for API changes.
17785         * tools/gst-xmlinspect.c: Fix for API changes.
17786         * gst/gstelementfactory.c:
17787         * gst/gstplugin.c:
17788         * gst/gstplugin.h:
17789         * gst/gstpluginfeature.c:
17790         * gst/gstpluginfeature.h:
17791         * gst/gstregistry.c:
17792         * gst/gstregistry.h:
17793         * gst/gstregistryxml.c:
17794         * gst/gsttypefind.c:
17795         * gst/gsttypefindfactory.c:
17796         * gst/indexers/gstfileindex.c:
17797         * gst/indexers/gstmemindex.c:
17798         * gst/schedulers/Makefile.am:
17799           Change registry to keep track of both plugins and features,
17800           removing the feature tracking from plugins themselves.
17801
17802 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17803
17804         * check/Makefile.am:
17805         * tools/gst-register.1.in:
17806           remove gst-register
17807
17808 2005-09-15  David Schleef  <ds@schleef.org>
17809
17810         * check/gst/gstplugin.c:
17811         * gst/gstelementfactory.c:
17812         * gst/gstplugin.c:
17813         * gst/gstpluginfeature.c:
17814         * gst/gstregistry.c:
17815           Getting tired of debugging.  Disabled all the unreffing of
17816           plugins and features, which fixes the segfaults, but of
17817           course leaks like crazy.  At least playbin works.
17818
17819 2005-09-15  David Schleef  <ds@schleef.org>
17820
17821         * check/gst/gstplugin.c: (register_check_elements),
17822         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17823         More testing
17824         * gst/elements/gsttypefindelement.c: Fix refcounting.
17825         * gst/gsttypefind.c:
17826         * gst/gsttypefindfactory.c:
17827         * gst/gsttypefindfactory.h:
17828
17829 2005-09-15  David Schleef  <ds@schleef.org>
17830
17831         * gst/gstindex.c: get refcounting correct.
17832         * gst/gstregistry.c: Handle the case where a feature/plugin is
17833           not found.
17834
17835 2005-09-15  David Schleef  <ds@schleef.org>
17836
17837         * check/Makefile.am:
17838         * check/gst/gstplugin.c: Add test
17839         * gst/gstplugin.c: Fix problems noticed by testsuite
17840         * gst/gstplugin.h:
17841         * gst/gstregistry.c: 
17842         * gst/gstregistry.h:
17843
17844 2005-09-15  David Schleef  <ds@schleef.org>
17845
17846         * gst/gstplugin.c: Implement semi-decent recounting and locking
17847           in plugins and plugin features.
17848         * gst/gstplugin.h:
17849         * gst/gstpluginfeature.c:
17850         * gst/gstpluginfeature.h:
17851         * gst/gstregistry.c:
17852
17853 2005-09-15  Michael Smith <msmith@fluendo.com>
17854
17855         * gst/gstregistry.c: (gst_registry_get_feature_list):
17856           Implement this. Makes oggdemux work; decodebin still broken.
17857
17858 2005-09-14  David Schleef  <ds@schleef.org>
17859
17860         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17861           #316076)
17862         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17863         * gst/check/Makefile.am:
17864         * libs/gst/controller/Makefile.am:
17865         * libs/gst/dataprotocol/Makefile.am:
17866
17867 2005-09-14  David Schleef  <ds@schleef.org>
17868
17869         * configure.ac: Remove getbits library.  Nothing uses it, and
17870           it should be in something like liboil if someone did want
17871           to use it.
17872         * libs/gst/Makefile.am:
17873         * libs/gst/getbits/Makefile.am:
17874         * libs/gst/getbits/gbtest.c:
17875         * libs/gst/getbits/getbits.c:
17876         * libs/gst/getbits/getbits.h:
17877         * libs/gst/getbits/gstgetbits_generic.c:
17878         * libs/gst/getbits/gstgetbits_i386.s:
17879         * libs/gst/getbits/gstgetbits_inl.h:
17880
17881 2005-09-14  David Schleef  <ds@schleef.org>
17882
17883         * gst/Makefile.am: Dist glib-compat.h
17884
17885 2005-09-14  David Schleef  <ds@schleef.org>
17886
17887         * configure.ac: Remove gst/registries, since it's no longer used.
17888         * gst/registries/Makefile.am:
17889         * gst/registries/gstlibxmlregistry.c:
17890         * gst/registries/gstlibxmlregistry.h:
17891         * gst/registries/gstxmlregistry.c:
17892         * gst/registries/gstxmlregistry.h:
17893         * gst/registries/registrytest.c:
17894
17895 2005-09-14  David Schleef  <ds@schleef.org>
17896
17897         * gst/glib-compat.h:
17898         * gst/gstregistryxml.c:
17899           Convergence is near.  Seriously.
17900
17901 2005-09-14  David Schleef  <ds@schleef.org>
17902
17903         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17904         * gst/glib-compat.h:
17905           Attempt #4 to appease the buildbots.
17906
17907 2005-09-14  David Schleef  <ds@schleef.org>
17908
17909         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17910           Attempt #3.
17911
17912 2005-09-14  David Schleef  <ds@schleef.org>
17913
17914         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17915         Attempt #2.
17916
17917 2005-09-14  David Schleef  <ds@schleef.org>
17918
17919         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17920           the new functions.
17921
17922 2005-09-14  David Schleef  <ds@schleef.org>
17923
17924         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17925         * gst/glib-compat.h: Add some functions that are in newer versions
17926           of glib than we care to require.
17927         * gst/gstregistryxml.c: Use them.
17928
17929 2005-09-14  David Schleef  <ds@schleef.org>
17930
17931         * po/POTFILES.in: remove gst-register.c
17932
17933 2005-09-14  David Schleef  <ds@schleef.org>
17934
17935         * docs/gst/gstreamer-docs.sgml:
17936         * docs/gst/gstreamer-sections.txt:
17937         * docs/gst/gstreamer.types:
17938         * docs/gst/tmpl/gstelement.sgml:
17939         * docs/gst/tmpl/gstplugin.sgml:
17940         * docs/gst/tmpl/gstpluginfeature.sgml:
17941           Documentation updates for registry changes.
17942
17943 2005-09-14  David Schleef  <ds@schleef.org>
17944
17945         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17946           because we don't require glib-2.8.
17947
17948 2005-09-14  David Schleef  <ds@schleef.org>
17949
17950         * gst/gstregistryxml.c: Added.  Essentially moved out of the
17951           registries directory.
17952
17953 2005-09-14  David Schleef  <ds@schleef.org>
17954
17955         * check/Makefile.am:
17956         * check/generic/states.c:
17957         * gst/Makefile.am:
17958         * gst/gst.c:
17959         * gst/gst.h:
17960         * gst/gst_private.h:
17961         * gst/gstelementfactory.c:
17962         * gst/gstindex.c:
17963         * gst/gstinfo.c:
17964         * gst/gstplugin.c:
17965         * gst/gstplugin.h:
17966         * gst/gstpluginfeature.c:
17967         * gst/gstpluginfeature.h:
17968         * gst/gstregistry.c:
17969         * gst/gstregistry.h:
17970         * gst/gstregistrypool.c: remove
17971         * gst/gstregistrypool.h: remove
17972         * gst/gsttypefind.c:
17973         * gst/gsttypefindfactory.c:
17974         * gst/gsturi.c:
17975         * tools/Makefile.am:
17976         * tools/gst-compprep.c:
17977         * tools/gst-inspect.c:
17978         * tools/gst-register.c: remove
17979         * tools/gst-xmlinspect.c:
17980           Registry rewrite.  Changes registry from being a file created
17981           by a tool into a simple cache file created automatically by 
17982           libgstreamer.  Removed gst-register (because it's no longer
17983           needed).  Remove registry pools, because we only have one
17984           registry implementation (XML).  Fix up other subsystems as
17985           necessary.
17986
17987 2005-09-13  Michael Smith <msmith@fluendo.com>
17988
17989         * gst/gstconfig.h.in:
17990           Don't Use windows linking attributes for MinGW. Fixes #316157
17991
17992 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17993
17994         * gst/gstutils.c: (set_state_async_thread_func),
17995         (gst_element_set_state_async):
17996           Apparently people think it's better if this function doesn't
17997           try to set the state to whatever state was asked for on the first
17998           call to this function for any object.  Seriously.
17999
18000 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18001
18002         * check/gst/gstpipeline.c: (GST_START_TEST):
18003         * docs/gst/gstreamer-sections.txt:
18004         * gst/gstutils.c: (set_state_async_thread_func),
18005         (gst_element_set_state_async):
18006         * gst/gstutils.h:
18007           add a "gst_element_set_state_async" method that
18008           sets the state and starts a thread to make sure the state
18009           change completes as best as it can
18010
18011 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18012
18013         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18014           codify design+behaviour in testsuite after discussion
18015
18016 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18017
18018         * docs/gst/tmpl/gstelement.sgml:
18019         * docs/manual/appendix-quotes.xml:
18020           add a quote
18021         * gst/gstelement.c: (gst_element_set_state):
18022           add some debug
18023
18024 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
18025
18026         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18027         (gst_base_transform_prepare_output_buf),
18028         (gst_base_transform_handle_buffer):
18029         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18030         (gst_capsfilter_prepare_buf):
18031           Remove the requirement for sub-classes to call the parent
18032           implementation of prepare_output_buffer with a wrapper function.
18033           
18034         * gst/gsttaglist.h:
18035         * gst/gsttagsetter.h:
18036           Fix #define wrapper
18037
18038 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
18039
18040         * docs/gst/gstreamer-sections.txt:
18041           more doc cleanups
18042
18043 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18044
18045         * docs/gst/gstreamer-sections.txt:
18046         * docs/gst/tmpl/gstelement.sgml:
18047         * docs/gst/tmpl/gstplugin.sgml:
18048         * gst/gstminiobject.c:
18049         * gst/gstvalue.h:
18050           docs now stop throwing warnings
18051
18052 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18053
18054         * docs/gst/gstreamer-sections.txt:
18055         * docs/gst/gstreamer.types:
18056         * docs/gst/tmpl/gstpad.sgml:
18057         * docs/gst/tmpl/gsttypes.sgml:
18058         * gst/base/gstadapter.h:
18059         * gst/base/gstbasesink.h:
18060         * gst/base/gstbasesrc.h:
18061         * gst/gstbin.h:
18062         * gst/gstbuffer.h:
18063         * gst/gstbus.h:
18064         * gst/gstcaps.h:
18065         * gst/gstclock.h:
18066         * gst/gstelement.h:
18067         * gst/gstevent.h:
18068         * gst/gstmessage.h:
18069         * gst/gstpad.h:
18070         * gst/gststructure.c:
18071         * gst/registries/gstlibxmlregistry.h:
18072           various documentation fixes
18073
18074 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18075
18076         * docs/gst/gstreamer-sections.txt:
18077         * docs/gst/tmpl/gstvalue.sgml:
18078           rearrange gstvalue section
18079         * gst/gstutils.c: (gst_element_state_get_name):
18080           NONE -> VOID
18081         * gst/gstvalue.c: (_gst_value_initialize):
18082         * gst/gstvalue.h:
18083           doc updates
18084
18085 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18086
18087         * check/gst-libs/controller.c:
18088           Header include fix.
18089         * gst/base/gstbasetransform.c:
18090         (gst_base_transform_default_prepare_buf),
18091         (gst_base_transform_handle_buffer):
18092         * gst/base/gstbasetransform.h:
18093           Some more basetransform changes and fixes to enable sub-classes
18094           that modify buffer metadata only.
18095         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18096         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18097         (gst_capsfilter_prepare_buf):
18098           If the output pad has fixed allowed caps and input buffers 
18099           don't have any, set the fixed caps on outgoing buffers.
18100
18101 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18102         * check/elements/identity.c: (GST_START_TEST):
18103           Make the error a little clearer when the test fails because
18104           identity made a copy of the buffer.
18105         * docs/gst/gstreamer-sections.txt:
18106           New symbols in gstbasetransform.h
18107         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18108         (gst_base_transform_init), (gst_base_transform_transform_size),
18109         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18110         (gst_base_transform_default_prepare_buf),
18111         (gst_base_transform_get_unit_size),
18112         (gst_base_transform_buffer_alloc),
18113         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18114         (gst_base_transform_change_state),
18115         (gst_base_transform_set_passthrough),
18116         (gst_base_transform_set_in_place),
18117         (gst_base_transform_is_in_place):
18118         * gst/base/gstbasetransform.h:
18119           Change BaseTransform to separate in_place operate from same_caps
18120           output. in_place implies that the element can perform the transform
18121           on incoming buffers in-place, even if the caps on the output are
18122           different.
18123           Sub-class elements can now implement special buffer allocation
18124           methods for outgoing buffers if they wish to.
18125           Big documentation addition.
18126         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18127         * gst/elements/gstelements.c:
18128           Changes for basetransform modifications.
18129         * gst/elements/Makefile.am:
18130         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18131           Compile fix. Extra debug output.
18132
18133 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18134
18135         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18136         (gst_pad_suite):
18137           add tests for valid pad naming
18138         * gst/check/gstcheck.c: (gst_check_log_message_func),
18139         (gst_check_log_critical_func):
18140           add ASSERT_WARNING
18141           remove printing of code, it is fragile when the code contains
18142           % and the line number is enough info
18143         * gst/check/gstcheck.h:
18144         * gst/gstpad.c: (gst_pad_template_new):
18145           fix memleaks
18146
18147 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18148
18149         * configure.ac:
18150           say what CHECK flags we use
18151         * docs/libs/gstreamer-libs.types:
18152         * libs/gst/controller/Makefile.am:
18153         * libs/gst/controller/gst-controller.c:
18154         * libs/gst/controller/gst-controller.h:
18155         * libs/gst/controller/gst-helper.c:
18156         * libs/gst/controller/gst-interpolation.c:
18157         * libs/gst/controller/gstcontroller.c:
18158         * libs/gst/controller/gsthelper.c:
18159         * libs/gst/controller/gstinterpolation.c:
18160         * tools/gst-inspect.c: (print_plugin_info):
18161           we don't use dashes in header names
18162
18163 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18164
18165         * check/Makefile.am:
18166         * check/gst/.cvsignore:
18167         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18168         (gst_pipeline_suite), (main):
18169           adding a test for pipelines and state changes
18170         * gst/gstutils.c: (get_state_func):
18171           add some debugging
18172         * gstreamer.spec.in:
18173           fix up spec file
18174
18175 2005-09-08  Michael Smith <msmith@fluendo.com>
18176
18177         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18178         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18179         (gst_file_src_is_seekable), (gst_file_src_get_size),
18180         (gst_file_src_start):
18181         * gst/elements/gstfilesrc.h:
18182           Various fixes for unseekable, unmmapable, and non-normal files, so
18183           that fallback to read() rather than mmap() works.
18184         * gst/gstevent.c: (gst_event_new_newsegment):
18185           Allow newsegment events with segment_start == segment_end, as will
18186           correctly happen if you use filesrc on a zero-size file, for
18187           example.
18188
18189 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18190
18191         * gst/gstplugin.c: (gst_plugin_load_file):
18192           Call g_module_close when we don't load the module
18193
18194         * gst/registries/gstlibxmlregistry.c:
18195         (gst_xml_registry_get_property):
18196           Port leak fix from 0.8
18197
18198 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18199
18200         * docs/gst/gstreamer-docs.sgml:
18201         * docs/gst/tmpl/.cvsignore:
18202         * docs/gst/tmpl/gsttrace.sgml:
18203         * docs/gst/tmpl/gsttrashstack.sgml:
18204         * gst/Makefile.am:
18205         * gst/gst.h:
18206         * gst/gstelement.h:
18207         * gst/gstevent.h:
18208         * gst/gstmessage.c:
18209         * gst/gstmessage.h:
18210         * gst/gsttag.c:
18211         * gst/gsttag.h:
18212         * gst/gsttaginterface.c:
18213         * gst/gsttaginterface.h:
18214         * gst/gsttaglist.c:
18215         * gst/gsttaglist.h:
18216         * gst/gsttagsetter.c:
18217         * gst/gsttagsetter.h:
18218         * gst/gsttrace.c:
18219         * gst/gsttrace.h:
18220         * gst/gsttrashstack.c:
18221           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18222           inlined docs for gsttrace, gsttrashstack
18223
18224 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18225
18226         * gst/Makefile.am:
18227         * gst/elements/gstbufferstore.h:
18228         * gst/elements/gsttypefindelement.c:
18229         * gst/elements/gsttypefindelement.h:
18230         * gst/gst.h:
18231         * gst/gsttypefind.c:
18232         * gst/gsttypefind.h:
18233         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18234         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18235         (gst_type_find_factory_dispose),
18236         (gst_type_find_factory_unload_thyself),
18237         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18238         (gst_type_find_factory_get_caps),
18239         (gst_type_find_factory_get_extensions),
18240         (gst_type_find_factory_call_function):
18241         * gst/gsttypefindfactory.h:
18242         * gst/registries/gstlibxmlregistry.c:
18243         * gst/registries/gstxmlregistry.c:
18244           splitted gsttypefind into gsttypefind, gsttypefindfactory
18245
18246 2005-09-07  Andy Wingo  <wingo@pobox.com>
18247
18248         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18249         condition whereby the pad's task function is entered before the
18250         pad_mode variable was set.
18251
18252 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18253
18254         * gst/gstpad.c: (gst_pad_alloc_buffer):
18255           Catch misbehaving pad_alloc functions that don't
18256           set up caps and do it for them.
18257
18258 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18259
18260         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18261           test for pipe!=NULL
18262         * docs/gst/tmpl/.cvsignore:
18263         * docs/gst/tmpl/gstmemchunk.sgml:
18264         * docs/gst/tmpl/gstparse.sgml:
18265         * docs/gst/tmpl/gsttaglist.sgml:
18266         * docs/gst/tmpl/gsttagsetter.sgml:
18267         * docs/gst/tmpl/gsttypefind.sgml:
18268         * docs/gst/tmpl/gsttypefindfactory.sgml:
18269         * gst/gstmemchunk.c:
18270         * gst/gstparse.c:
18271         * gst/gsttag.c:
18272         * gst/gsttaginterface.c:
18273         * gst/gsttypefind.c:
18274         * gst/gsttypefind.h:
18275           inlined more docs
18276
18277 === release 0.9.2 ===
18278
18279 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18280
18281         * NEWS:
18282         * RELEASE:
18283         * configure.ac:
18284           releasing 0.9.2, "South"
18285
18286 2005-09-05  Andy Wingo  <wingo@pobox.com>
18287
18288         * gst/registries/gstxmlregistry.h:
18289         * gst/registries/gstxmlregistry.c: Um... resurrect...
18290         
18291         * gst/registries/gstxmlregistry.h:
18292         * gst/registries/gstxmlregistry.c: and update to newer API.
18293         Incidentally they should be a bit faster now that they don't have
18294         to parse the caps.
18295         
18296 2005-09-05  Andy Wingo  <wingo@pobox.com>
18297
18298         * gst/registries/gstxmlregistry.h:
18299         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18300         replaced by the libxml registry a while back
18301
18302 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18303
18304         * docs/gst/tmpl/gstplugin.sgml:
18305         * gst/elements/gstelements.c:
18306         * gst/gst.c:
18307         * gst/gstplugin.c: (gst_plugin_register_func),
18308         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18309         (gst_plugin_get_source):
18310         * gst/gstplugin.h:
18311         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18312         (gst_xml_registry_save_plugin):
18313         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18314         (gst_xml_registry_save_plugin):
18315         * tools/gst-inspect.c: (print_plugin_info):
18316           add a "source" plugin description field, to represent the source
18317           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18318           will set it to PACKAGE, which is automake's idea of the name of
18319           the source project.
18320
18321 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18322
18323         * Makefile.am:
18324         * autogen.sh:
18325         * configure.ac:
18326         * docs/Makefile.am:
18327         * docs/faq/Makefile.am:
18328         * docs/gst/tmpl/gstelement.sgml:
18329         * docs/gst/tmpl/gsttypes.sgml:
18330         * docs/htmlinstall.mak:
18331         * docs/manual/Makefile.am:
18332         * docs/pwg/Makefile.am:
18333           reorganize doc build a little
18334           split out docbook and gtk-doc stuff
18335           have two separate --enable's and enable them through autogen
18336           but disable by default in configure (to be similar to other
18337           projects)
18338         * gstreamer.spec.in:
18339           clean up docs install
18340         * po/af.po:
18341         * po/az.po:
18342         * po/ca.po:
18343         * po/cs.po:
18344         * po/de.po:
18345         * po/en_GB.po:
18346         * po/fr.po:
18347         * po/it.po:
18348         * po/nb.po:
18349         * po/nl.po:
18350         * po/ru.po:
18351         * po/sq.po:
18352         * po/sr.po:
18353         * po/sv.po:
18354         * po/tr.po:
18355         * po/uk.po:
18356         * po/vi.po:
18357           translation updates
18358
18359 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18360
18361         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18362           Add comment.
18363           
18364         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18365         (gst_fake_sink_change_state):
18366           Make state change function thread-safe.
18367           
18368         * gst/gstpad.c: (gst_pad_alloc_buffer):
18369           Set offset on generic buffer allocated by fallback.
18370
18371 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18372
18373         * docs/gst/gstreamer-sections.txt:
18374         * docs/gst/tmpl/gstelement.sgml:
18375         * gst/gstpad.c:
18376         * libs/gst/controller/gst-controller.c:
18377         (gst_controlled_property_set_interpolation_mode),
18378         (gst_controlled_property_new),
18379         (gst_controller_find_controlled_property):
18380          run the wingo-magic script against the docs
18381
18382 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18383
18384         * docs/gst/gstreamer-docs.sgml:
18385         * docs/gst/gstreamer-sections.txt:
18386         * docs/gst/tmpl/.cvsignore:
18387         * docs/gst/tmpl/gstelementdetails.sgml:
18388         * docs/gst/tmpl/gstelementfactory.sgml:
18389         * gst/gst.c:
18390         * gst/gstbus.c:
18391         * gst/gstelementfactory.c:
18392         * gst/gstelementfactory.h:
18393           merged elementdetails docs into elementfactory docs
18394           inlined both
18395
18396 2005-09-02  Andy Wingo  <wingo@pobox.com>
18397
18398         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18399         consider this enum an enum and not a flags.
18400
18401 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18402
18403         * docs/gst/gstreamer-docs.sgml:
18404         * docs/gst/tmpl/.cvsignore:
18405         * docs/gst/tmpl/gstghostpad.sgml:
18406         * docs/gst/tmpl/gstiterator.sgml:
18407         * docs/gst/tmpl/gstmacros.sgml:
18408         * docs/gst/tmpl/gstrealpad.sgml:
18409         * docs/gst/tmpl/gstregistry.sgml:
18410         * docs/gst/tmpl/gstregistrypool.sgml:
18411         * docs/gst/tmpl/gststructure.sgml:
18412         * docs/gst/tmpl/gstsystemclock.sgml:
18413         * docs/gst/tmpl/gsttrace.sgml:
18414         * gst/gstghostpad.c:
18415         * gst/gstmacros.h:
18416         * gst/gstmemchunk.c:
18417         * gst/gstmemchunk.h:
18418         * gst/gstqueue.c:
18419         * gst/gstregistry.c:
18420         * gst/gstregistrypool.c:
18421         * gst/gststructure.c:
18422         * gst/gstsystemclock.c:
18423           more docs inlined
18424
18425 2005-09-02  Andy Wingo  <wingo@pobox.com>
18426
18427         * gst/gstelement.h (GstState): Renamed from GstElementState,
18428         changed to be a normal enum instead of flags.
18429         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18430         munged to be GST_STATE_CHANGE_*.
18431         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18432         work with the new state representation.
18433         (GstStateChange): New enumeration of possible state transitions.
18434         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18435         (GstElementClass::change_state): Pass the GstStateChange along as
18436         an argument. Helps language bindings, so they don't have to use
18437         tricky lock-needing macros like GST_STATE_CHANGE ().
18438
18439         * scripts/update-states (file): New script. Run it on a file to
18440         update it for state naming and API changes. Updates files in
18441         place.
18442
18443         * All files updated for the new API.
18444
18445 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18446
18447         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18448         * gst/gstutils.c: (gst_util_set_value_from_string),
18449         (gst_util_set_object_arg):
18450           fix a bunch of unchecked return values
18451         * tools/gst-complete.c: (main):
18452         * gstreamer.spec.in:
18453           clean up a little
18454
18455 2005-09-01  Wim Taymans  <wim@fluendo.com>
18456
18457         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18458         (gst_base_sink_event), (gst_base_sink_do_sync),
18459         (gst_base_sink_handle_event):
18460         * gst/base/gstbasesink.h:
18461         Handle newsegments more correctly.
18462
18463         * gst/gstbus.c:
18464         Fix docs.
18465
18466         * gst/gstevent.c: (gst_event_new_newsegment):
18467         A newsegment cannot have a start_time of -1
18468
18469 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18470
18471         * win32/gstenumtypes.c:
18472         * win32/gstenumtypes.h:
18473           Update
18474
18475 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18476
18477         * libs/gst/controller/gst-controller.c:
18478         (gst_controlled_property_set_interpolation_mode),
18479         (gst_controlled_property_new):
18480          fixed boolean again
18481
18482 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18483
18484         * docs/faq/gst-uninstalled:
18485           add -good
18486         * gst/gstevent.c:
18487         * gst/gstevent.h:
18488           remove wrong docs
18489         * gst/gstutils.c: (gst_element_link_filtered):
18490         * gst/gstutils.h:
18491           add gst_element_link_filtered
18492
18493 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18494
18495         * docs/gst/gstreamer-docs.sgml:
18496         * docs/gst/gstreamer-sections.txt:
18497         * docs/gst/tmpl/.cvsignore:
18498         * docs/gst/tmpl/gsterror.sgml:
18499         * docs/gst/tmpl/gstfilter.sgml:
18500         * docs/gst/tmpl/gsturihandler.sgml:
18501         * docs/gst/tmpl/gsturitype.sgml:
18502         * docs/gst/tmpl/gstutils.sgml:
18503         * docs/gst/tmpl/gstxml.sgml:
18504         * gst/gsterror.c:
18505         * gst/gsterror.h:
18506         * gst/gstfilter.c:
18507         * gst/gsturi.c:
18508         * gst/gsturitype.c:
18509         * gst/gstutils.c:
18510         * gst/gstxml.c:
18511           inlined more docs, fixed double id-ref
18512
18513 2005-08-31  Wim Taymans  <wim@fluendo.com>
18514
18515         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18516         (gst_base_transform_handle_buffer):
18517         Passthrough elements don't need the caps as they don't care.
18518
18519 2005-08-31  Wim Taymans  <wim@fluendo.com>
18520
18521         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18522         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18523         Don't leak refcounts on buffers.
18524
18525 2005-08-31  Wim Taymans  <wim@fluendo.com>
18526
18527         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18528         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18529         (gst_base_transform_chain), (gst_base_transform_change_state):
18530         * gst/base/gstbasetransform.h:
18531         Handle the case where we are not negotiated more gracefully.
18532
18533 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18534
18535         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18536         (gst_file_src_map_region):
18537           Set READONLY flag on mmap'ed buffers, otherwise
18538           gst_buffer_make_writable() won't work properly (#314708).
18539
18540 2005-08-31  Wim Taymans  <wim@fluendo.com>
18541
18542         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18543         passthrough elements can even do inplace on non writable
18544         buffers (as they don't touch them).
18545
18546 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18547
18548         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18549         (gst_test_mono_source_set_property),
18550         (gst_test_mono_source_class_init), (GST_START_TEST),
18551         (gst_controller_suite):
18552           more tests (hehe I have the most)
18553         * gst/gstbus.c:
18554           describe popping messages whenusing mulltiple sources
18555         * libs/gst/controller/gst-controller.c:
18556         (gst_controlled_property_set_interpolation_mode),
18557         (gst_controlled_property_new):
18558         * libs/gst/controller/gst-controller.h:
18559         * libs/gst/controller/gst-interpolation.c:
18560           implement boolean properties
18561
18562 2005-08-31  Wim Taymans  <wim@fluendo.com>
18563
18564         * gst/gstminiobject.c: (gst_mini_object_ref):
18565         Cannot assert that the refcount has to be positive
18566         since a disposed object can be resurrected.
18567
18568 2005-08-31  Wim Taymans  <wim@fluendo.com>
18569
18570         * gst/gstpad.c: (gst_pad_init):
18571         Revert change, need to first fix badly behaving 
18572         apps.
18573
18574 2005-08-30  Wim Taymans  <wim@fluendo.com>
18575
18576         * check/elements/fakesrc.c: (setup_fakesrc):
18577         * check/elements/identity.c: (setup_identity):
18578         Activate pads before using them.
18579
18580 2005-08-30  Wim Taymans  <wim@fluendo.com>
18581
18582         * gst/base/gstadapter.c: (gst_adapter_flush):
18583         Flushing out 0 bytes is ok for this function.
18584
18585         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18586         no newsegment gives a warning and sets the start/stop to 
18587         invalid.
18588
18589         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18590         (gst_base_transform_set_passthrough):
18591         Some debug info.
18592
18593         * gst/gstminiobject.c: (gst_mini_object_ref):
18594         Check refcount here too.
18595
18596         * gst/gstpad.c: (gst_pad_init):
18597         Pads are initially flushing and refusing data.
18598
18599         * gst/gstutils.c: (gst_element_link_pads_filtered):
18600         When adding a capsfilter element make sure it has the
18601         same state as the parent bin.
18602
18603 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18604
18605         * docs/gst/tmpl/.cvsignore:
18606         * docs/gst/tmpl/gstformat.sgml:
18607         * docs/gst/tmpl/gstversion.sgml:
18608         * gst/gstbus.h:
18609         * gst/gstformat.c:
18610         * gst/gstformat.h:
18611         * gst/gstversion.h.in:
18612           more docs and two more inlined
18613
18614 2005-08-30  Wim Taymans  <wim@fluendo.com>
18615
18616         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18617         Don't sync to clock.
18618
18619 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18620
18621         * docs/gst/gstreamer-sections.txt:
18622           ultral33t func10ns deserve to appear in the docs actually
18623         * docs/gst/tmpl/.cvsignore:
18624         * docs/gst/tmpl/gstcompat.sgml:
18625         * docs/gst/tmpl/gstconfig.sgml:
18626         * gst/check/gstcheck.c:
18627         * gst/gstcompat.h:
18628         * gst/gstconfig.h.in:
18629           inlined more docs
18630
18631 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18632
18633         * docs/gst/tmpl/.cvsignore:
18634         * docs/gst/tmpl/gstquery.sgml:
18635         * docs/gst/tmpl/gstutils.sgml:
18636         * gst/gstquery.c:
18637         * gst/gstquery.h:
18638           inlined and extended docs
18639
18640 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18641
18642         * check/gst-libs/controller.c: (GST_START_TEST),
18643         (gst_controller_suite):
18644           more tests
18645         * docs/gst/tmpl/gstutils.sgml:
18646         * docs/libs/gstreamer-libs-sections.txt:
18647         * docs/libs/tmpl/gstdataprotocol.sgml:
18648           include path fixes
18649         * examples/controller/audio-example.c: (main):
18650           controller example works now
18651         * gst/gstclock.h:
18652           doc fixes
18653         * tools/gst-inspect.c: (print_element_properties_info):
18654           show param spec flags
18655
18656 2005-08-29  Andy Wingo  <wingo@pobox.com>
18657
18658         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18659
18660 2005-08-28  Andy Wingo  <wingo@pobox.com>
18661
18662         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18663         as having two arguments instead of just one. Allows superclasses
18664         to access information on subclasses -- see the terrible for() loop
18665         in gtype.c:g_type_create_instance for the reason why. All callers
18666         changed.
18667
18668 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18669
18670         * docs/design/part-messages.txt:
18671           update info
18672         * docs/gst/tmpl/.cvsignore:
18673         * docs/gst/tmpl/gstcaps.sgml:
18674         * docs/gst/tmpl/gstclock.sgml:
18675         * gst/gstbus.c:
18676         * gst/gstcaps.c:
18677         * gst/gstcaps.h:
18678         * gst/gstclock.c:
18679         * gst/gstclock.h:
18680         * gst/gstmessage.c:
18681           added descriptions for bus and message
18682           inline caps and clock docs
18683
18684 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18685
18686         * gst/gstmessage.c:
18687         * gst/gstmessage.h:
18688           doc fixes
18689
18690 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18691
18692         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18693           fix div-by-zero
18694
18695 2005-08-26  Andy Wingo  <wingo@pobox.com>
18696
18697         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18698         element_set_state's return val.
18699         (test_2_elements): Add test that's been disabled for months.
18700
18701         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18702         can-activate-pull properties.
18703
18704         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18705         can-activate-pull properties. Implement is_seekable so fakesrc can
18706         operate in pull mode.
18707
18708         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18709         properties.
18710         (gst_base_sink_activate, gst_base_sink_activate_pull)
18711         (gst_base_sink_activate_push): Make activation mode choosing work.
18712         Cleanups.
18713         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18714         is right. Make pull mode work. Post an eos before pausing in pull
18715         mode.
18716         (gst_base_sink_change_state): Pay attention to the core's
18717         change_state() return val.
18718         
18719         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18720         has-getrange properties. Cleanups.
18721         
18722         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18723         has_getrange and replace with can_activate_pull and
18724         can_activate_push.
18725
18726         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18727         locking comments. Remove has_loop, has_chain and replace with
18728         can_activate_pull and can_activate_push.
18729
18730 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
18731
18732         * configure.ac:
18733         * examples/Makefile.am:
18734         * examples/metadata/Makefile.am:
18735         * examples/metadata/read-metadata.c: (message_loop),
18736         (have_pad_handler), (make_pipeline), (print_tag), (main):
18737           Add metadata reading example that loops over a list of filenames,
18738           dumping any tags found.
18739
18740         * gst/gstbus.c: (gst_bus_dispose):
18741         * gst/gstelement.c: (gst_element_dispose):
18742           Release a few potentially-held references in dispose.
18743
18744 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18745
18746         * docs/gst/tmpl/gstminiobject.sgml:
18747           do *not* add tmpl/*.sgml files to CVS!
18748
18749 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18750
18751         * libs/gst/bytestream/.cvsignore:
18752         * libs/gst/bytestream/Makefile.am:
18753         * libs/gst/bytestream/adapter.c:
18754         * libs/gst/bytestream/adapter.h:
18755         * libs/gst/bytestream/bytestream.c:
18756         * libs/gst/bytestream/bytestream.h:
18757         * libs/gst/bytestream/filepad.c:
18758         * libs/gst/bytestream/filepad.h:
18759           removing obsolete files
18760
18761 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18762
18763         * docs/gst/gstreamer-docs.sgml:
18764         * docs/libs/gstreamer-libs-docs.sgml:
18765           disabed additional index entries again, as this makes docs-gen just
18766           slow and they aren't useful yet
18767         * docs/libs/gstreamer-libs-sections.txt:
18768           little -section.txt cleanup for libs
18769
18770 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18771
18772         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18773         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18774           fix up some debugging
18775         (gst_base_transform_get_unit_size),
18776         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18777         (gst_base_transform_handle_buffer):
18778         * gst/base/gstbasetransform.h:
18779           handle and store timed NEWSEGMENT events so that subclasses that
18780           calculate time by counting samples have a segment_start time they
18781           need to add to their timestamps - see audioresample
18782
18783 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18784
18785         * gst/gstbin.h:
18786           removed ';' from the end of macro defs
18787         * docs/gst/gstreamer-docs.sgml:
18788         * docs/gst/gstreamer-sections.txt:
18789         * docs/gst/tmpl/.cvsignore:
18790         * gst/gstbus.h:
18791         * gst/gstelement.c: (gst_element_class_init),
18792         (gst_element_set_state), (activate_pads),
18793         (gst_element_save_thyself):
18794         * gst/gstevent.c: (gst_event_new_newsegment):
18795         * gst/gstevent.h:
18796         * gst/gstiterator.c:
18797         * gst/gstiterator.h:
18798         * gst/gstpad.c:
18799         * gst/gstprobe.h:
18800         * gst/gstutils.c: (gst_pad_query_convert):
18801         * gst/gstutils.h:
18802           fixed parameter name mismatches between source, header and docs
18803           added some more docs, resolved the last batch of unused elements in
18804           docs (now someone needs to doc them)
18805
18806 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18807
18808         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18809         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18810           don't walk through the plugins backwards.  Where is all this
18811           reversed logic coming from ?
18812
18813 2005-08-25  Wim Taymans  <wim@fluendo.com>
18814
18815         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18816         (gst_base_transform_transform_size),
18817         (gst_base_transform_configure_caps),
18818         (gst_base_transform_get_unit_size),
18819         (gst_base_transform_buffer_alloc),
18820         (gst_base_transform_change_state):
18821         * gst/base/gstbasetransform.h:
18822         Cache caps unit_size.
18823         Make sure we cannot negotiate up and downstream at the
18824         same time.
18825
18826 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18827
18828         * gst/gst.c: (init_pre), (init_post):
18829           register the installed plugin path after the env var
18830         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18831         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18832           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18833           directories, so the tests can prefer uninstalled over installed
18834
18835 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18836
18837         * gst/base/gstbasetransform.h:
18838           comment
18839         * gst/gstpad.c:
18840           add to docs
18841
18842 2005-08-25  Wim Taymans  <wim@fluendo.com>
18843
18844         * gst/gstbin.c: (bin_bus_handler):
18845         Be a bit more conservative about the posted message.
18846         
18847         * gst/gstbus.c: (gst_bus_post):
18848         Some cleanups, warn wrong return values.
18849
18850 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
18851
18852         * check/gst/gstbin.c: (GST_START_TEST):
18853         * gst/gstbin.c: (bin_bus_handler):
18854         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18855         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18856         (gst_message_new_warning), (gst_message_new_tag),
18857         (gst_message_new_state_changed), (gst_message_new_segment_start),
18858         (gst_message_new_segment_done), (gst_message_new_custom):
18859         * gst/gstmessage.h:
18860         * tools/gst-launch.c: (event_loop):
18861         * tools/gst-md5sum.c: (event_loop):
18862           Revert unpopular change for GST_MESSAGE_SRC to GObject.
18863
18864 2005-08-25  Wim Taymans  <wim@fluendo.com>
18865
18866         * check/generic/states.c: (GST_START_TEST):
18867         Cleanup can be done at the end.
18868
18869         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18870         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18871         (gst_task_get_state), (gst_task_start), (gst_task_pause):
18872         Oh boy.. Thanks for finding this, Thomas. 
18873
18874 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18875
18876         * docs/gst/gstreamer.types:
18877           added missing types
18878
18879 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18880
18881         * docs/gst/gstreamer-docs.sgml:
18882         * docs/gst/gstreamer-sections.txt:
18883         * docs/gst/tmpl/.cvsignore:
18884         * gst/gstbin.c:
18885         * gst/gstiterator.c:
18886         * gst/gstutils.c:
18887         * gst/registries/gstxmlregistry.h:
18888           added missing classes and symbols (123 more to go)
18889           removed removed symbols from section file
18890           fixed many doc-comments
18891
18892 2005-08-24  Wim Taymans  <wim@fluendo.com>
18893
18894         * check/generic/states.c: (GST_START_TEST):
18895         Make sure all tasks are stopped.
18896
18897         * check/gst/gstbin.c: (GST_START_TEST):
18898         Unref after usage for proper valgrinding.
18899
18900         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18901         Really wait for the task to stop before destroying the
18902         mutex.
18903
18904         * gst/gstqueue.c: (gst_queue_sink_activate_push),
18905         (gst_queue_src_activate_push):
18906         Small cleanups. Don't stop the task when we did not start
18907         it.
18908
18909         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18910         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18911         (gst_task_get_state), (gst_task_start), (gst_task_pause),
18912         (gst_task_join):
18913         * gst/gsttask.h:
18914         Protect the stream lock with the object lock.
18915         Disallow setting the stream lock when running.
18916         Add cleanup_all to wait for the threadpool to finish.
18917         Remove code to autoallocate a mutex if none was provided.
18918         Add _join() to wait for a task to stop.
18919         Protect the thread pool with a global lock.
18920
18921 2005-08-24  Wim Taymans  <wim@fluendo.com>
18922
18923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18924         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18925         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18926         * gst/base/gstbasesink.h:
18927         Handle newsegment events correctly.
18928         Drop buffers out of the segment range.
18929
18930 2005-08-22  Andy Wingo  <wingo@pobox.com>
18931
18932         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18933         macro, implements an interface and gstimplementsinterface for a
18934         new type.
18935
18936 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18937
18938         * check/Makefile.am:
18939         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18940           add a test that does a bunch of state changes on elements
18941           needs some fixing for valgrind
18942         * check/states/sinks.c: (gst_object_suite):
18943           whitespace
18944         * gst/gstcaps.h:
18945           add prototype for gst_caps_is_equal_fixed
18946         * gst/gstplugin.c:
18947         * gst/gstregistrypool.c:
18948           doc fixes
18949
18950 2005-08-24  Andy Wingo  <wingo@pobox.com>
18951
18952         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18953         convert a negative value. Doesn't make much sense. Mostly this is
18954         here to force callers to ensure -1 maps to -1.
18955
18956 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
18957
18958         * docs/pwg/advanced-types.xml:
18959           Well done to Michael for catching my deliberate introduction
18960           of this spelling mistake. 
18961         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18962         * gst/gstelement.h:
18963           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18964           unlink pads before removing the element from the bin.
18965
18966 2005-08-24  Andy Wingo  <wingo@pobox.com>
18967
18968         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18969         the same thing as GST_DEBUG=*:4.
18970         (parse_debug_level, parse_debug_category): New helper parsers.
18971
18972 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18973
18974         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18975         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18976         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18977         (gst_base_transform_buffer_alloc),
18978         (gst_base_transform_handle_buffer):
18979           use gboolean return values and pointers to size so we can use the
18980           full GST_BUFFER_SIZE range (guint) for buffer sizes
18981           use GstPadDirection for transform_caps
18982         * gst/base/gstbasetransform.h:
18983           rename get_size to get_unit_size since that's what it is
18984         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18985           use GstPadDirection for transform_caps
18986         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18987         * gst/gstutils.h:
18988           cleanup and debugging
18989
18990 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
18991
18992         * gst/gstelement.c: (gst_element_class_init),
18993         (gst_element_set_state), (activate_pads),
18994         (gst_element_save_thyself):
18995         * tools/gst-compprep.c: (main):
18996         * tools/gst-inspect.c: (print_element_properties_info):
18997         * tools/gst-xmlinspect.c: (print_element_properties):
18998           Fixed long standing mem-leak
18999
19000 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
19001
19002         * check/gst/gstbin.c: (GST_START_TEST):
19003         * gst/gstbin.c: (bin_bus_handler):
19004         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19005         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19006         (gst_message_new_warning), (gst_message_new_tag),
19007         (gst_message_new_state_changed), (gst_message_new_segment_start),
19008         (gst_message_new_segment_done), (gst_message_new_custom):
19009         * gst/gstmessage.h:
19010         * tools/gst-launch.c: (event_loop):
19011         * tools/gst-md5sum.c: (event_loop):
19012           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19013           that applications can sensibly post custom messages with references
19014           to their own objects.
19015
19016 2005-08-24  Andy Wingo  <wingo@pobox.com>
19017
19018         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19019         already.
19020
19021 2005-08-24  Wim Taymans  <wim@fluendo.com>
19022
19023         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19024         (gst_base_transform_transform_caps),
19025         (gst_base_transform_transform_size),
19026         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19027         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19028         (gst_base_transform_handle_buffer):
19029         * gst/base/gstbasetransform.h:
19030         Many fixes and new features added by Thomas. Can now also do
19031         transforms with variable sizes and a custom fixate_caps function.
19032
19033 2005-08-24  Wim Taymans  <wim@fluendo.com>
19034
19035         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19036         Some debugging.
19037
19038         * gst/gstclock.h:
19039         Cast to ClockTime before formatting to time.
19040
19041         * gst/gstutils.h:
19042         Cleanups.
19043
19044 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
19045
19046         * check/gst-libs/controller.c: (GST_START_TEST),
19047         (gst_controller_suite):
19048         * docs/gst/tmpl/gstcaps.sgml:
19049         * docs/gst/tmpl/gstghostpad.sgml:
19050         * docs/gst/tmpl/gstquery.sgml:
19051         * docs/gst/tmpl/gstutils.sgml:
19052         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19053         (gst_object_sink_values), (gst_object_get_value_arrays),
19054         (gst_object_get_value_array):
19055           gracefully handle helper method calls to objects that are not beeing
19056           controlled, added test case for that          
19057
19058 2005-08-23  Wim Taymans  <wim@fluendo.com>
19059
19060         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19061         (gst_event_new_newsegment), (gst_event_parse_newsegment),
19062         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19063         (gst_event_parse_qos), (gst_event_new_seek),
19064         (gst_event_parse_seek):
19065         * gst/gstevent.h:
19066         Some more debugging output and doc cleanups.
19067
19068         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19069         Fix possible deadlock.
19070
19071 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19072
19073         * docs/gst/gstreamer-docs.sgml:
19074         * docs/gst/gstreamer-sections.txt:
19075         * docs/gst/gstreamer.types:
19076         * docs/gst/tmpl/.cvsignore:
19077         * gst/gstbin.h:
19078         * gst/gstbus.c:
19079         * gst/gstelement.c:
19080         * gst/gstevent.h:
19081           added 100 symbols from gstreamer-unused.txt to the right sections
19082           fixed more broken comments
19083           added GstBus to docs
19084
19085 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19086
19087         * docs/gst/gstreamer-sections.txt:
19088         * docs/gst/tmpl/.cvsignore:
19089         * docs/gst/tmpl/gstbin.sgml:
19090         * docs/gst/tmpl/gstbuffer.sgml:
19091         * gst/base/gstbasesrc.c:
19092         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19093         * gst/gstbuffer.c:
19094         * gst/gstbuffer.h:
19095         * tools/gst-launch.1.in:
19096           inlined more doc comments, added missing comments and fixed comments
19097           fixed typos
19098
19099 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19100
19101         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19102           some debugging
19103         * gst/gstcaps.h:
19104           whitespace fixes
19105         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19106           more debugging
19107         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19108         * gst/gststructure.h:
19109           add a fixate function for booleans; add a FIXME that these func
19110           names should probably be gst_structure_fixate_*
19111
19112 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19113
19114         * docs/gst/gstreamer-docs.sgml:
19115         * docs/gst/gstreamer-sections.txt:
19116         * gst/Makefile.am:
19117         * gst/gstbin.c: (gst_bin_get_type),
19118         (gst_bin_child_proxy_get_child_by_index),
19119         (gst_bin_child_proxy_get_children_count),
19120         (gst_bin_child_proxy_init):
19121         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19122         (gst_child_proxy_get_child_by_index),
19123         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19124         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19125         (gst_child_proxy_get), (gst_child_proxy_set_property),
19126         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19127         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19128         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19129         * gst/gstchildproxy.h:
19130         * gst/parse/grammar.y:
19131         * tools/gst-inspect.c: (print_interfaces),
19132         (print_element_properties_info), (print_element_info):
19133           ported gstchildproxy over from 0.8
19134           ported gst-inspect fixes and enhancements over from 0.8
19135
19136 2005-08-22  Wim Taymans  <wim@fluendo.com>
19137
19138         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19139         (gst_base_transform_handle_buffer):
19140         Also call the transform function if we have ANY caps.
19141
19142         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19143         Fix debug info.
19144
19145 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19146
19147         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19148           Don't pretend to handle seek events if the source is not seekable
19149
19150 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19151
19152         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19153           Remove extra parameter to debug output
19154
19155         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19156         (gst_base_src_do_seek), (gst_base_src_activate_push):
19157           Fix seek event handling.
19158
19159         * gst/gstpipeline.c: (gst_pipeline_change_state):
19160         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19161         (gst_queue_src_activate_push):
19162           Don't start the src pad task on FLUSH_STOP if the pad
19163           isn't linked.
19164           Debug changes.
19165
19166 2005-08-22  Wim Taymans  <wim@fluendo.com>
19167
19168         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19169         Added check for gst_static_caps_get() refcounting.
19170
19171 2005-08-22  Wim Taymans  <wim@fluendo.com>
19172
19173         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19174         Make _static_caps_get() refcounting sane.
19175         
19176         * gst/gstelement.c: (gst_element_set_state):
19177         Add g_return_val_if_fail() to protect against segfaults.
19178
19179 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19180
19181         * docs/gst/tmpl/gstevent.sgml:
19182         * gst/gstevent.c:
19183         * gst/gstevent.h:
19184           inlined remaining docs, added missing doc comments
19185
19186 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19187
19188         * check/gst/gstbin.c: (GST_START_TEST):
19189           since we don't know when preroll is done, use refcount range
19190           check for the sink
19191         * gst/check/gstcheck.h:
19192           add macro for checking refcount range
19193
19194 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19195
19196         * check/Makefile.am:
19197           clean up environment for when registry gets built versus
19198           when actual tests are run; valgrind seems to not report
19199           leaks if GST_PLUGIN_PATH is set to some specific values
19200         * check/gst/gstbin.c: (GST_START_TEST):
19201           add more refcounting checks; maybe this exposes a
19202           preroll lock bug ?
19203         * common/check.mak:
19204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19205         * gst/check/gstcheck.h:
19206         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19207         (gst_bin_change_state):
19208         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19209           add/fix debugging/whitespace
19210
19211 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19212
19213         * check/gst/gstevent.c: (event_probe), (test_event),
19214         (GST_START_TEST):
19215          Er, don't call gst_bin_watch_for_state_change you idiot.
19216
19217 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19218
19219         * check/Makefile.am:
19220           Use CHECK_CFLAGS and CHECK_LIBS
19221         * check/gst/gstevent.c: (event_probe), (test_event),
19222         (GST_START_TEST):
19223           Don't leak events.
19224         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19225         (gst_base_src_start), (gst_base_src_stop),
19226         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19227         (gst_base_src_change_state):
19228           Sprinkle gst_base_src_stop liberally around error paths to fix
19229           problems reusing a source after failed state changes.
19230         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19231         (helper_find_suggest), (gst_type_find_helper):
19232           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19233         * gst/gstevent.h:
19234         * docs/gst/tmpl/gstevent.sgml:
19235           Migrate part of the docs from the SGML file. Wait for ensonic to
19236           tell me how I did it wrong ;)
19237         * tools/gst-typefind.c: (main):
19238           Extra robustness to state changes between files.
19239
19240 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19241
19242         * check/Makefile.am:
19243           don't valgrind the controller test - it's leaking - Stefan, HELP
19244         * gst/check/gstcheck.c: (gst_check_message_error),
19245         (gst_check_chain_func), (gst_check_setup_element),
19246         (gst_check_teardown_element), (gst_check_setup_src_pad),
19247         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19248         (gst_check_teardown_sink_pad):
19249         * gst/check/gstcheck.h:
19250           add a bunch of methods to set up elements, and src and sink pads
19251         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19252         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19253         (GST_START_TEST):
19254           use them
19255         * gst/gstmessage.c:
19256         * gst/gsttag.h:
19257           whitespace/doc fixes
19258
19259 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19260
19261         * gst/gstelement.h:
19262           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19263           be handled by the application and not always printed as well
19264
19265 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19266
19267         * check/Makefile.am:
19268           set GST_TOOLS_DIR
19269         * gst/check/gstcheck.c: (gst_check_message_error):
19270         * gst/check/gstcheck.h:
19271           add a fail_unless_equals_int
19272           add fail_unless for error messages
19273
19274 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19275
19276         * check/Makefile.am:
19277         * check/gst.supp:
19278         * common/Makefile.am:
19279         * common/check.mak:
19280         * common/gst.supp:
19281           factor out some of the common stuff so we can use it
19282
19283 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19284
19285         * check/Makefile.am:
19286         * check/gst/gstiterator.c: (GST_START_TEST):
19287         * check/gst/gstsystemclock.c: (GST_START_TEST),
19288         (gst_systemclock_suite):
19289         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19290         * gst/gstclock.c:
19291           valgrind more tests
19292
19293 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19294
19295         * check/elements/.cvsignore:
19296         * check/elements/gstfakesrc.c:
19297           rename to name of element
19298         * check/elements/identity.c: (chain_func), (event_func),
19299         (setup_identity), (cleanup_identity), (GST_START_TEST),
19300         (identity_suite), (main):
19301           add a test for identity
19302         * check/Makefile.am:
19303         * pkgconfig/Makefile.am:
19304         * pkgconfig/gstreamer-check.pc.in:
19305         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19306         * gst/check:
19307         * gst/Makefile.am:
19308         * configure.ac:
19309           move the check stuff to a library that gets installed
19310         * check/gst-libs/controller.c: (GST_START_TEST):
19311         * check/gst-libs/gdp.c:
19312         * check/gst/gst.c: (GST_START_TEST):
19313         * check/gst/gstbin.c:
19314         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19315         * check/gst/gstbus.c:
19316         * check/gst/gstcaps.c: (GST_START_TEST):
19317         * check/gst/gstelement.c:
19318         * check/gst/gstghostpad.c:
19319         * check/gst/gstiterator.c:
19320         * check/gst/gstmessage.c:
19321         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19322         * check/gst/gstobject.c:
19323         * check/gst/gstpad.c: (GST_START_TEST):
19324         * check/gst/gststructure.c: (GST_START_TEST):
19325         * check/gst/gstsystemclock.c: (GST_START_TEST),
19326         (gst_systemclock_suite):
19327         * check/gst/gsttag.c: (gst_tag_suite):
19328         * check/gst/gstvalue.c:
19329         * check/pipelines/cleanup.c:
19330         * check/pipelines/simple_launch_lines.c:
19331         * check/states/sinks.c:
19332           change include statement
19333
19334         * docs/gst/gstreamer-sections.txt:
19335         * docs/gst/tmpl/gstpad.sgml:
19336           document more pad stuff
19337         * gst/gstminiobject.c: (gst_mini_object_ref),
19338         (gst_mini_object_unref):
19339           debug refcounting
19340
19341 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19342
19343         * docs/gst/tmpl/gst.sgml:
19344         * gst/gst.c:
19345           eliminate another tmpl file, fix spelling in the long-description
19346
19347 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19348
19349         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19350         (test_event), (timediff), (gstevents_suite):
19351           Should fix build on 64-bit arch's
19352
19353 2005-08-18  Andy Wingo  <wingo@pobox.com>
19354
19355         Make sure that when a pipeline goes to PLAYING, that data has
19356         actually hit the sink.
19357
19358         * check/states/sinks.c (test_sink): A sink that doesn't get any
19359         data shouldn't return SUCCESS for going to either PLAYING or
19360         PAUSED. Test also the return values on the way back down.
19361
19362         * gst/gstelement.c (gst_element_set_state): When changing the
19363         state of an element currently changing state asynchronously, go to
19364         lost-state after commiting the pending state. Makes future calls
19365         to get_state continue to return ASYNC.
19366
19367         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19368         ASYNC when going to PLAYING if we still don't have preroll, as can
19369         happen with live sources.
19370
19371 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19372
19373         * docs/pwg/advanced-types.xml:
19374           Hack long paragraph into 2 chunks as a workaround for buggy
19375           jadetex version in sid and breezy that loops infinitely and
19376           eats all RAM.
19377
19378 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19379
19380         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19381         (test_event), (timediff), (gstevents_suite):
19382           Provide more error margin in clock measurements to allow for 
19383           g_get_current_time inaccuracies.
19384
19385 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19386
19387         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19388         (test_event), (timediff), (gstevents_suite):
19389            Fix error message output so I might be able to tell why the
19390            test works here but fails on the build farm.
19391
19392 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19393
19394         * check/Makefile.am:
19395         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19396         (test_event), (timediff), (gstevents_suite), (main):
19397           I wrote a test!
19398
19399         * docs/design/part-seeking.txt:
19400           Spelling correction
19401
19402         * docs/gst/tmpl/gstevent.sgml:
19403         * docs/gst/tmpl/gstfakesrc.sgml:
19404           Docs updates.
19405
19406         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19407           Treat a buffer-without-newsegment the same as a receiving 
19408           a newsegment not in time format, and disable syncing to the clock
19409           with a warning.
19410
19411         * gst/gstbus.c: (gst_bus_set_sync_handler):
19412           Assert if anyone tries to replace the existing sync_handler for bus, 
19413           as only the owner should be setting it.
19414
19415         * gst/gstevent.h:
19416           Have a fixed set of custom event enums with events identified by
19417           their structure name (as in 0.8), rather than a free-for-all
19418           allowing collisions between enum values from different plugins.
19419
19420         * gst/gstpad.c: (gst_pad_class_init):
19421           Docs change.
19422           
19423         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19424           Handle out-of-band downstream events from the sending thread.
19425
19426 2005-08-17  Andy Wingo  <wingo@pobox.com>
19427
19428         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19429         play-timeout==0 to mean no timeout at all. In that case, don't
19430         bother with a get_state or a warning, just return directly, even
19431         if it's ASYNC.
19432
19433         * gst/base/gstbasetransform.c: Debug changes.
19434
19435         * gst/gstutils.h:
19436         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19437         ensure bins post state change messages. A bit of a hack but I can't
19438         think of a way to avoid it.
19439
19440         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19441
19442 2005-08-16  Andy Wingo  <wingo@pobox.com>
19443
19444         * gst/base/gstadapter.h:
19445         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19446         peek() but you own the data. Not terribly efficient atm.
19447
19448 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19449
19450         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19451         (gst_element_found_tags):
19452         * gst/gstutils.h:
19453           Add two utility functions for tag handling.
19454
19455 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19456
19457         * docs/manual/advanced-dataaccess.xml:
19458         * docs/manual/basics-helloworld.xml:
19459           Fix docs to use _bin_add() before _link(), which fixes the examples
19460           with recent core versions (reported by Madhan Raj M
19461           <raj_madan@rediffmail.com>, #313199).
19462
19463 2005-08-16  Wim Taymans  <wim@fluendo.com>
19464
19465         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19466         Added subtract checks.
19467
19468         * docs/design/part-events.txt:
19469         Some more docs about newsegment
19470
19471         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19472         Fix FIXME
19473
19474         * gst/gstcaps.c: (gst_caps_to_string):
19475         Add comments, cleanups.
19476         
19477         * gst/gstelement.c: (gst_element_save_thyself):
19478         cleanups
19479         
19480         * gst/gstvalue.c: (gst_value_collect_int_range),
19481         (gst_string_unwrap), (gst_value_union_int_int_range),
19482         (gst_value_union_int_range_int_range),
19483         (gst_value_intersect_int_int_range),
19484         (gst_value_intersect_int_range_int_range),
19485         (gst_value_intersect_double_double_range),
19486         (gst_value_intersect_double_range_double_range),
19487         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19488         (gst_value_subtract_int_range_int),
19489         (gst_value_subtract_double_range_double),
19490         (gst_value_subtract_double_range_double_range),
19491         (gst_value_subtract_from_list), (gst_value_subtract_list),
19492         (gst_value_can_compare), (gst_value_compare_fraction):
19493         Cleanups, add comments, remove unneeded asserts.
19494
19495 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19496
19497         * tools/gst-launch.c: (event_loop):
19498           don't convert NULL structures to strings
19499
19500 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19501
19502         * docs/gst/gstreamer-sections.txt:
19503           made some defines private
19504         * docs/gst/tmpl/gstconfig.sgml:
19505         * docs/gst/tmpl/gstqueue.sgml:
19506         * docs/gst/tmpl/gsttaglist.sgml:
19507         * docs/gst/tmpl/gsttypes.sgml:
19508         * docs/gst/tmpl/gstutils.sgml:
19509         * docs/pwg/appendix-porting.xml:
19510         * gst/base/gstbasesink.h:
19511         * gst/base/gstbasesrc.c:
19512         * gst/base/gstbasesrc.h:
19513         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19514         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19515         * gst/gstelement.c: (gst_element_class_init):
19516         * gst/gstpad.c: (gst_pad_class_init):
19517         * gst/gstqueue.c: (gst_queue_class_init):
19518         * gst/gstxml.c: (gst_xml_class_init):
19519           documented all undocumented signal inline
19520         * libs/gst/controller/gst-controller.h:
19521           added padding
19522
19523 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19524
19525         * docs/pwg/appendix-porting.xml:
19526           Document _set_link_function -> _set_setcaps_function.
19527
19528 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19529
19530         * check/Makefile.am:
19531           add a .check target for running the check
19532         * check/gst-libs/controller.c: (GST_START_TEST):
19533           cosmetic fixups
19534         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19535           complete checks for gstbuffer; would be nice if I could get the
19536           gcov stuff to work so I can see if I actually completed gstbuffer.c
19537         * check/gstcheck.h:
19538           add ASSERT_BUFFER_REFCOUNT
19539
19540 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19541
19542         * docs/gst/gstreamer-sections.txt:
19543         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19544         * gst/gsttag.h:
19545           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19546           spew out a warning if a tag that is already registered
19547           is re-registered, unless it is re-registered with a 
19548           different type (#308438).
19549
19550 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19551
19552         * docs/pwg/appendix-porting.xml:
19553         * docs/pwg/building-state.xml:
19554           Add some paragraphs about state changes in 0.9 to the PWG
19555           and the porting guide, in particular about the new meaning
19556           of GST_STATE_PAUSED and how to write state change functions
19557           with concurrent access by multiple threads in mind.
19558
19559 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19560
19561         * docs/gst/gstreamer-docs.sgml:
19562         * docs/libs/gstreamer-libs-docs.sgml:
19563           added deprecation and since indexes
19564         * libs/gst/controller/gst-controller.c:
19565         * libs/gst/controller/gst-helper.c:
19566           added since tags
19567
19568
19569 2005-08-11  Wim Taymans  <wim@fluendo.com>
19570
19571         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19572         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19573         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19574         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19575         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19576         (gst_ghost_pad_set_target):
19577         Actually implement (re)setting the target on a ghostpad
19578         as described in the docs.
19579
19580 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19581
19582         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19583           Check whether GST_DEBUG_NO_COLOR environment variable is
19584           set and disable coloured debug output if that is the case.
19585
19586 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19587
19588         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19589         (gst_type_find_helper):
19590           The memory returned by gst_type_find_peek() needs to
19591           stay valid until the end of a typefind function, and
19592           typefind functions may keep results from different 
19593           offsets around, so we can't just unref the buffer from
19594           the previous _peek(), but have to save all buffers 
19595           returned by _peek() until typefinding is done and only
19596           free them then.
19597
19598 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19599
19600         * docs/gst/gstreamer-sections.txt:
19601         * gst/gstutils.h:
19602           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19603
19604 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19605
19606         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19607           Fix a pretty good memleak.
19608
19609 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19610
19611         * gst/gstiterator.h:
19612           Fix wrong include and 'make distcheck'.
19613
19614 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19615
19616         * gst/gstbin.c: (bin_bus_handler):
19617           Use gst_element_post_message() instead.
19618
19619 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19620
19621         * gst/base/gstadapter.h:
19622         * gst/base/gstbasesink.h:
19623         * gst/base/gstbasesrc.h:
19624         * gst/base/gstbasetransform.h:
19625         * gst/base/gstcollectpads.h:
19626         * gst/base/gstpushsrc.h:
19627         * gst/gstiterator.h:
19628           Add padding to our base elements' class and instance structs and
19629           to GstIterator (you will need to rebuild all plugins and apps!)
19630
19631 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19632
19633         * gst/gstbin.c: (bin_bus_handler):
19634           Make default message forwarding from child->bus to bin->bus
19635           threadsafe and make it not emit warnings if the parent has no bus.
19636
19637 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19638
19639         * gst/gstelement.c: (activate_pads):
19640           On paused->ready, set pad->caps to NULL, as is the documented
19641           behaviour in this state change. Fixes playback of series of
19642           media files when visualization is enabled in Totem.
19643
19644 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19645
19646         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19647           Allow NULL as filter-caps (which means "any").
19648
19649 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19650
19651         * docs/libs/gstreamer-libs-sections.txt:
19652         * libs/gst/controller/gst-controller.c:
19653         * libs/gst/controller/gst-controller.h:
19654         * libs/gst/controller/gst-helper.c:
19655           adding more entries to the docs and fix small doc-bugs
19656
19657 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19658
19659         * docs/gst/gstreamer-docs.sgml:
19660         * docs/gst/gstreamer-sections.txt:
19661         * docs/gst/gstreamer.types:
19662         * docs/gst/tmpl/gstbasesink.sgml:
19663         * docs/gst/tmpl/gstbasesrc.sgml:
19664         * docs/gst/tmpl/gstbasetransform.sgml:
19665         * docs/gst/tmpl/gstfakesrc.sgml:
19666         * gst/base/gstcollectpads.c:
19667         * gst/base/gstcollectpads.h:
19668         * libs/gst/controller/gst-controller.c:
19669         * libs/gst/controller/gst-controller.h:
19670         * libs/gst/controller/gst-helper.c:
19671         * libs/gst/controller/gst-interpolation.c:
19672         * libs/gst/controller/lib.c:
19673           added long/short desc for controller docs
19674           added collectpads base class docs
19675           added correct includes to base-class docs
19676
19677 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19678
19679         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19680         (gst_test_mono_source_set_property),
19681         (gst_test_mono_source_class_init), (GST_START_TEST),
19682         (gst_controller_suite):
19683         * docs/gst/gstreamer-docs.sgml:
19684         * docs/gst/gstreamer-sections.txt:
19685         * docs/gst/gstreamer.types:
19686         * docs/libs/gstreamer-libs-docs.sgml:
19687         * docs/libs/gstreamer-libs-sections.txt:
19688         * gst/base/gstadapter.c:
19689         * libs/gst/controller/gst-controller.c:
19690         (gst_controlled_property_new), (gst_controlled_property_free),
19691         (gst_controller_new_valist),
19692         (gst_controller_remove_properties_valist),
19693         (gst_controller_sink_values), (_gst_controller_finalize):
19694         * libs/gst/controller/gst-controller.h:
19695         * libs/gst/controller/gst-helper.c:
19696         (gst_object_control_properties), (gst_object_uncontrol_properties),
19697         (gst_object_get_controller), (gst_object_set_controller),
19698         (gst_object_sink_values), (gst_object_get_value_arrays),
19699         (gst_object_get_value_array):
19700           more tests (and fixes) for the controller
19701           more docs for the controller
19702           integrated companies docs for the adapter 
19703
19704 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19705
19706         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19707         (GST_START_TEST), (fakesrc_suite):
19708           add tests for sizetype
19709
19710 2005-08-04  Andy Wingo  <wingo@pobox.com>
19711
19712         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19713         fixes buffer_alloc proxying among other things.
19714
19715         * gst/base/gstbasetransform.c:
19716         * gst/base/gstbasetransform.h:
19717         Revert patch to gstbasetransform from 7-28 removing
19718         delay_configure.
19719
19720         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19721         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19722         Semantics changed, should return not the size of the output buffer
19723         but the byte size of a buffer with a given caps.
19724
19725         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19726         debug object.
19727         (gst_base_transform_configure_caps): Don't set out_size here: (in,
19728         out) are not the pad caps until setcaps finishes.
19729         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19730         not-in-place case as well. Deal with changing from in-place to
19731         not-in-place within calling pad_alloc_buffer. Still a bit
19732         concerned about the overhead here...
19733
19734 2005-08-03  Andy Wingo  <wingo@pobox.com>
19735
19736         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19737         fixating is an error.
19738
19739 2005-08-04  Edward Hervey  <edward@fluendo.com>
19740
19741         * gst/base/gstadapter.h: 
19742         Added gst_adapter_get_type() to the header
19743
19744 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19745
19746         * check/Makefile.am:
19747         * check/gst-libs/controller.c:
19748         * libs/gst/controller/gst-controller.c:
19749         (gst_controller_new_valist):
19750           added check test suite for the controller
19751         * gst/base/gstpushsrc.c:
19752           fixed a doc typo
19753
19754 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19755
19756         * docs/gst/Makefile.am:
19757         * docs/gst/gstreamer-docs.sgml:
19758         * docs/gst/gstreamer-sections.txt:
19759         * docs/gst/gstreamer.types:
19760         * docs/gst/tmpl/gstfakesrc.sgml:
19761         * gst/base/README:
19762         * gst/base/gstbasesink.c:
19763         * gst/base/gstbasesink.h:
19764         * gst/base/gstbasesrc.c:
19765         * gst/base/gstbasesrc.h:
19766         * gst/base/gstbasetransform.c:
19767         * gst/base/gstpushsrc.c:
19768         * gst/base/gstpushsrc.h:
19769           add short/long description docs to base classes
19770           add pushsrc to the docs
19771           remove consolidated doc fragments
19772
19773 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19774
19775         * configure.ac:
19776         * docs/libs/Makefile.am:
19777         * docs/libs/gstreamer-libs-docs.sgml:
19778         * docs/libs/gstreamer-libs-sections.txt:
19779         * docs/libs/gstreamer-libs.types:
19780         * examples/Makefile.am:
19781         * examples/controller/.cvsignore:
19782         * examples/controller/Makefile.am:
19783         * examples/controller/audio-example.c: (main):
19784         * libs/gst/Makefile.am:
19785         * libs/gst/controller/.cvsignore:
19786         * libs/gst/controller/Makefile.am:
19787         * libs/gst/controller/gst-controller.c:
19788         (on_object_controlled_property_changed), (gst_timed_value_compare),
19789         (gst_timed_value_find),
19790         (gst_controlled_property_set_interpolation_mode),
19791         (gst_controlled_property_new), (gst_controlled_property_free),
19792         (gst_controller_find_controlled_property),
19793         (gst_controller_new_valist), (gst_controller_new),
19794         (gst_controller_remove_properties_valist),
19795         (gst_controller_remove_properties), (gst_controller_set),
19796         (gst_controller_set_from_list), (gst_controller_unset),
19797         (gst_controller_get), (gst_controller_get_all),
19798         (gst_controller_sink_values), (gst_controller_get_value_arrays),
19799         (gst_controller_get_value_array),
19800         (gst_controller_set_interpolation_mode),
19801         (_gst_controller_finalize), (_gst_controller_init),
19802         (_gst_controller_class_init), (gst_controller_get_type):
19803         * libs/gst/controller/gst-controller.h:
19804         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19805         (g_object_uncontrol_properties), (g_object_get_controller),
19806         (g_object_set_controller), (g_object_sink_values),
19807         (g_object_get_value_arrays), (g_object_get_value_array):
19808         * libs/gst/controller/gst-interpolation.c:
19809         (gst_controlled_property_find_timed_value_node),
19810         (interpolate_none_get), (interpolate_trigger_get),
19811         (interpolate_trigger_get_value_array):
19812         * libs/gst/controller/lib.c: (gst_controller_init):
19813         * pkgconfig/Makefile.am:
19814         * pkgconfig/gstreamer-control-uninstalled.pc.in:
19815         * pkgconfig/gstreamer-control.pc.in:
19816         * testsuite/Makefile.am:
19817         * testsuite/controller/.cvsignore:
19818         * testsuite/controller/Makefile.am:
19819         * testsuite/controller/interpolator.c: (main):
19820           added controller code
19821           removed dparam pc files
19822
19823 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19824         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19825         (gst_collectpads_stop):
19826           Broadcast the condition when shutting down, to make sure we wake all
19827           threads up. Shut down pads on finalize, for safety.
19828
19829 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19830         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19831         (gst_base_transform_handle_buffer),
19832         (gst_base_transform_change_state):
19833           Handle PAUSED->READY->PAUSED transition after negotiation
19834           occurred already.
19835         * gst/gstmessage.c: (gst_message_init):
19836           Extra piece of debug for new messages.
19837
19838 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
19839
19840         * configure.ac:
19841         * docs/gst/tmpl/gstbasesrc.sgml:
19842         * docs/gst/tmpl/gstelement.sgml:
19843         * docs/gst/tmpl/gstevent.sgml:
19844         * docs/gst/tmpl/gstfakesrc.sgml:
19845         * docs/gst/tmpl/gstformat.sgml:
19846         * docs/gst/tmpl/gstghostpad.sgml:
19847         * docs/gst/tmpl/gstpad.sgml:
19848         * docs/gst/tmpl/gstquery.sgml:
19849         * docs/gst/tmpl/gststructure.sgml:
19850         * docs/gst/tmpl/gsttaglist.sgml:
19851         * docs/gst/tmpl/gstvalue.sgml:
19852         * docs/libs/gstreamer-libs-docs.sgml:
19853         * docs/libs/gstreamer-libs-sections.txt:
19854         * docs/libs/gstreamer-libs.types:
19855         * libs/gst/Makefile.am:
19856         * libs/gst/control/.cvsignore:
19857         * libs/gst/control/Makefile.am:
19858         * libs/gst/control/control.c:
19859         * libs/gst/control/control.h:
19860         * libs/gst/control/dparam.c:
19861         * libs/gst/control/dparam.h:
19862         * libs/gst/control/dparam_smooth.c:
19863         * libs/gst/control/dparam_smooth.h:
19864         * libs/gst/control/dparamcommon.h:
19865         * libs/gst/control/dparammanager.c:
19866         * libs/gst/control/dparammanager.h:
19867         * libs/gst/control/dplinearinterp.c:
19868         * libs/gst/control/dplinearinterp.h:
19869         * libs/gst/control/unitconvert.c:
19870         * libs/gst/control/unitconvert.h:
19871         * testsuite/Makefile.am:
19872         * testsuite/dynparams/.cvsignore:
19873         * testsuite/dynparams/Makefile.am:
19874         * testsuite/dynparams/dparamstest.c:
19875         * tools/Makefile.am:
19876         * tools/gst-inspect.c: (print_element_info), (main):
19877         * tools/gst-xmlinspect.c: (print_element_info), (main):
19878           deactivate and remove dparams (libgstcontrol)
19879
19880 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19881
19882         * gst/elements/gsttypefindelement.c:
19883         (gst_type_find_element_have_type), (gst_type_find_element_init),
19884         (stop_typefinding), (gst_type_find_element_handle_event),
19885         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19886         * gst/elements/gsttypefindelement.h:
19887           Set caps on all outgoing buffers, not just the first one.
19888
19889 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19890
19891         * gst/elements/gsttypefindelement.c:
19892         (gst_type_find_element_have_type),
19893         (gst_type_find_element_check_set_buffer_caps),
19894         (gst_type_find_element_init), (stop_typefinding),
19895         (gst_type_find_element_handle_event),
19896         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19897         * gst/elements/gsttypefindelement.h:
19898           Set caps on first outgoing buffer when we've found the type.
19899
19900 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19901
19902         * docs/gst/gstreamer-docs.sgml:
19903         * docs/gst/gstreamer-sections.txt:
19904         * docs/gst/tmpl/gstscheduler.sgml:
19905         * docs/gst/tmpl/gstschedulerfactory.sgml:
19906           Remove some old cruft from docs.
19907
19908 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
19909
19910         * gst/gstpad.h:
19911           Fix inline docs for GstPadLinkReturn.
19912           
19913         * gst/gststructure.c: (gst_structure_has_name):
19914         * gst/gststructure.h:
19915         * docs/gst/gstreamer-sections.txt:
19916           New API: gst_structure_has_name().
19917
19918 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
19919
19920         * configure.ac:
19921           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19922           and _LARGEFILE_SOURCE in config.h as required. Do not 
19923           export those flags in our .pc files any longer (#142209).
19924
19925           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19926
19927         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19928         (gst_file_sink_do_seek), (gst_file_sink_event),
19929         (gst_file_sink_get_current_offset), (gst_file_sink_render):
19930           Redo seek/tell calls with large file support in mind; add some
19931           debugging messages; add log message that tells us when large
19932           file support is unavailable or not enabled for some reason.
19933
19934         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19935           Add log message that tells us when large file support 
19936           is unavailable or not enabled for some reason.
19937
19938 2005-07-29  Wim Taymans  <wim@fluendo.com>
19939
19940         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19941         Added test for removing an element with ghostpad from a bin.
19942         Fixed test as current implementation does the right thing.
19943
19944         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19945         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19946         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19947         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19948         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19949         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19950         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19951         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19952         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19953         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19954         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19955         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19956         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19957         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19958         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19959         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19960         * gst/gstghostpad.h:
19961         Clean up ghostpads, remove properties for internal stuff.
19962         Make threadsafe.
19963         Fix refcounting.
19964         Prepare for switching targets, not all use cases work yet.
19965
19966 2005-07-29  Wim Taymans  <wim@fluendo.com>
19967
19968         * docs/design/part-gstghostpad.txt:
19969         Small update.
19970
19971         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19972         (gst_bin_remove_func):
19973         Unlinking pads while holding the bin LOCK is not a good
19974         idea.
19975
19976         * gst/gstpad.c: (gst_pad_class_init),
19977         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19978         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19979         No prob setting template after creating the pad.
19980
19981 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
19982
19983         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19984         (gst_bus_peek), (gst_bus_source_dispatch),
19985         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19986         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19987           gst_bus_poll may be called from other threads. Handle
19988           this nicely by not making poll_data disappear off the
19989           stack once gst_bus_poll returns.
19990           gst_bus_peek now increments the refcount on the returned
19991           message.
19992
19993 2005-07-29  Wim Taymans  <wim@fluendo.com>
19994
19995         * docs/design/part-gstghostpad.txt:
19996         Overview of current GhostPad datastructures and use
19997         cases for changing the target.
19998
19999 2005-07-28  Wim Taymans  <wim@fluendo.com>
20000
20001         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20002         Added checks for hierarchy consistency whan adding linked
20003         elements to bins.
20004
20005         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20006         Added check to test element scheduling without bin/pipeline.
20007
20008         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20009         First add elements to bin, then link.
20010         
20011         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20012         (gst_bin_remove_func):
20013         Unlink pads from elements added/removed from bin to maintain
20014         hierarchy consistency.
20015
20016 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20017
20018         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20019         (gst_base_transform_handle_buffer):
20020         * gst/base/gstbasetransform.h:
20021           Remove broken delay_configure (fixes renegotiation of software
20022           scaling pipelines); remove some leftover printf()s.
20023
20024 2005-07-28  Wim Taymans  <wim@fluendo.com>
20025
20026         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20027         Added some more tests for wrong hierarchy
20028
20029         * docs/design/part-overview.txt:
20030         Some updates.
20031
20032         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20033         Cleanups.
20034
20035         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20036         (gst_element_dispose):
20037         Some more cleanups.
20038
20039         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20040         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20041         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20042         (gst_pad_set_caps), (gst_pad_send_event):
20043         Check for correct hierarchy when linking pads. Moving to
20044         strict requirement for ghostpads when linking elements in
20045         different bins.
20046
20047         * gst/gstpad.h:
20048         Clean ups. Added WRONG_HIERARCHY return value.
20049
20050 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20051
20052         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20053           Better debug if no transform is possible.
20054
20055 2005-07-27  Wim Taymans  <wim@fluendo.com>
20056
20057         * docs/random/wtay/network-transp:
20058         Some old doc I had.
20059
20060 2005-07-27  Wim Taymans  <wim@fluendo.com>
20061
20062         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20063         (gst_dp_event_from_packet):
20064         Fix serialization of seek events.
20065
20066 2005-07-27  Wim Taymans  <wim@fluendo.com>
20067
20068         * check/gst-libs/gdp.c: (GST_START_TEST):
20069         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20070         Fix compilation and fix event serialization.
20071
20072 2005-07-27  Wim Taymans  <wim@fluendo.com>
20073
20074         * CHANGES-0.9:
20075         * docs/design/part-TODO.txt:
20076         * docs/design/part-events.txt:
20077         Some docs updates
20078
20079         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20080         (gst_base_sink_event), (gst_base_sink_do_sync),
20081         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20082         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20083         (gst_base_src_do_seek), (gst_base_src_event_handler),
20084         (gst_base_src_loop):
20085         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20086         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20087         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20088         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20089         (gst_base_transform_set_passthrough),
20090         (gst_base_transform_is_passthrough):
20091         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20092         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20093         Event updates.
20094
20095         * gst/gstbuffer.h:
20096         Use faster casts.
20097
20098         * gst/gstelement.c: (gst_element_seek):
20099         * gst/gstelement.h:
20100         Update gst_element_seek.
20101
20102         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20103         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20104         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20105         (gst_event_new_eos), (gst_event_new_newsegment),
20106         (gst_event_parse_newsegment), (gst_event_new_tag),
20107         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20108         (gst_event_parse_qos), (gst_event_new_seek),
20109         (gst_event_parse_seek), (gst_event_new_navigation):
20110         * gst/gstevent.h:
20111         Make GstEvent use GstStructure. Add parsing code, make sure the
20112         API is sufficiently generic.
20113         Mark possible directions of events and serialization.
20114
20115         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20116         (_gst_message_copy), (gst_message_new_segment_start),
20117         (gst_message_new_segment_done), (gst_message_new_custom),
20118         (gst_message_parse_segment_start),
20119         (gst_message_parse_segment_done):
20120         Small cleanups.
20121
20122         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20123         (gst_pad_set_caps), (gst_pad_send_event):
20124         Update for new events. 
20125         Catch events sent in wrong directions.
20126
20127         * gst/gstqueue.c: (gst_queue_link_src),
20128         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20129         (gst_queue_handle_src_query):
20130         Event updates.
20131
20132         * gst/gsttag.c:
20133         * gst/gsttag.h:
20134         Remove event code from this file.
20135
20136         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20137         (gst_dp_event_from_packet):
20138         Event updates.
20139
20140 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20141
20142         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20143         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20144         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20145           Make debugging actually useful.
20146
20147 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20148
20149         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20150         (gst_pad_fixate_caps):
20151           Implement default fixation once again, so that gst_pad_fixate()
20152           actually does anything at all. This probably needs to be some
20153           sort of a last resort, and use profile-based fixation first, but
20154           since that doesn't exist yet, this is the best we have. Fixes
20155           visualization in Totem.
20156
20157 2005-07-22  Wim Taymans  <wim@fluendo.com>
20158
20159         * docs/design/part-events.txt:
20160         Small update.
20161
20162         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20163         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20164         (gst_base_sink_activate_pull):
20165         Some more comments.
20166
20167         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20168         (gst_fake_src_create):
20169         Fix handoff marshall.
20170
20171         * gst/elements/gstidentity.c: (gst_identity_class_init),
20172         (gst_identity_transform_ip):
20173         We're a real inplace element.
20174
20175         * gst/gstbus.c: (gst_bus_post):
20176         Added some comments.
20177
20178         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20179         * tests/muxing/case1.c: (main):
20180         * tests/sched/dynamic-pipeline.c: (main):
20181         * tests/sched/interrupt1.c: (main):
20182         * tests/sched/interrupt2.c: (main):
20183         * tests/sched/interrupt3.c: (main):
20184         * tests/sched/runxml.c: (main):
20185         * tests/sched/sched-stress.c: (main):
20186         * tests/seeking/seeking1.c: (event_received), (main):
20187         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20188         (main):
20189         * tests/threadstate/threadstate3.c: (main):
20190         * tests/threadstate/threadstate4.c: (main):
20191         * tests/threadstate/threadstate5.c: (main):
20192         Fix the tests.
20193
20194 2005-07-21  Wim Taymans  <wim@fluendo.com>
20195
20196         * docs/design/part-seeking.txt:
20197         Some small additions.
20198
20199         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20200         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20201         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20202         * gst/base/gstbasesink.h:
20203         discont values are gint64, handle the math correctly.
20204
20205         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20206         Make the basesrc report error if the source pad is not linked.
20207
20208         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20209         (gst_queue_loop), (gst_queue_handle_src_query),
20210         (gst_queue_src_activate_push):
20211         Make queue collect data even if the srcpad is not linked.
20212         Start pushing out data as soon as it is linked.
20213
20214         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20215         * gst/gstutils.h:
20216         Added gst_flow_get_name() to ease error reporting.
20217
20218 2005-07-20  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/gstmessage.c: (gst_message_new_segment_start),
20221         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20222         (gst_message_parse_segment_done):
20223         * gst/gstmessage.h:
20224         Added a bunch of messages for advanced seeking.
20225
20226         * gst/parse/grammar.y:
20227         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20228         (gst_dpman_state_changed):
20229         Fix some new-pad -> pad-added signals
20230
20231 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20232
20233         * docs/manual/appendix-porting.xml:
20234         * docs/pwg/appendix-porting.xml:
20235           Document new-pad/state-change signal renames and the FixedList
20236           type rename.
20237
20238 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20239
20240         * docs/manual/advanced-autoplugging.xml:
20241         * docs/manual/basics-helloworld.xml:
20242         * docs/manual/basics-pads.xml:
20243         * docs/random/ds/0.9-suggested-changes:
20244         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20245         * gst/gstelement.h:
20246         * gst/gstevent.h:
20247         * gst/gstformat.h:
20248         * gst/gstquery.h:
20249         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20250         (gst_structure_parse_array), (gst_structure_parse_value):
20251         * gst/gstvalue.c: (gst_type_is_fixed),
20252         (gst_value_list_prepend_value), (gst_value_list_append_value),
20253         (gst_value_list_get_size), (gst_value_list_get_value),
20254         (gst_value_transform_array_string), (gst_value_serialize_array),
20255         (gst_value_deserialize_array), (gst_value_intersect_array),
20256         (gst_value_is_fixed), (_gst_value_initialize):
20257         * gst/gstvalue.h:
20258           GstElement::new-pad -> pad-added, GstElement::state-change ->
20259           state-changed, GstValueFixedList -> GstValueArray, add format and
20260           flags as their own arguments in gst_element_seek() (should improve
20261           "bindeability"), remove function generators since they don't work
20262           under a whole bunch of compilers (they were deprecated already
20263           anyway).
20264
20265 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20266
20267         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20268         (_gst_debug_register_funcptr):
20269         * gst/gstinfo.h:
20270           Fix illegal cast on some platforms (#309253).
20271
20272 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20273
20274         * gst/gstmessage.c: (gst_message_new_custom):
20275         * gst/gstmessage.h:
20276           Add _new_custom, make _new_application a macro to _new_custom.
20277
20278 2005-07-20  Wim Taymans  <wim@fluendo.com>
20279
20280         * gst/base/gstbasesrc.c: (gst_base_src_init),
20281         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20282         * gst/base/gstbasesrc.h:
20283         Add a gboolean to decide when to push out a discont.
20284
20285         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20286         (gst_queue_loop), (gst_queue_handle_src_query),
20287         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20288         (gst_queue_set_property), (gst_queue_get_property):
20289         Some cleanups.
20290
20291         * tests/threadstate/threadstate1.c: (main):
20292         Make a thread test compile and run... very silly..
20293
20294
20295 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20296
20297         * docs/manual/appendix-porting.xml:
20298           Mention removal of libgstgconf-0.9.la and existence of gconf
20299           elements.
20300
20301 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20302
20303         * docs/pwg/advanced-clock.xml:
20304         * docs/pwg/appendix-porting.xml:
20305         * docs/pwg/intro-preface.xml:
20306         * docs/pwg/other-base.xml:
20307         * docs/pwg/other-manager.xml:
20308         * docs/pwg/other-nton.xml:
20309         * docs/pwg/other-ntoone.xml:
20310         * docs/pwg/other-oneton.xml:
20311         * docs/pwg/pwg.xml:
20312           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20313           demuxer), remove n-to-n (was never written), fix some code examples
20314           and links and update the porting section to include all this.
20315
20316 2005-07-19  Wim Taymans  <wim@fluendo.com>
20317
20318         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20319         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20320         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20321         (gst_queue_src_activate_push), (gst_queue_change_state),
20322         (gst_queue_get_property):
20323         * gst/gstqueue.h:
20324         Propagate GstFlowReturn more intelligently upstream and output
20325         an ERROR/EOS when streaming stopped due to fatal error.
20326
20327 2005-07-19  Wim Taymans  <wim@fluendo.com>
20328
20329         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20330         Don't block forever for the state change to complete, the
20331         pipeline already did with a sensible timeout.
20332
20333 2005-07-19  Wim Taymans  <wim@fluendo.com>
20334
20335         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20336         Make sure we never call the create function is we
20337         got deactivated.
20338
20339 2005-07-19  Andy Wingo  <wingo@pobox.com>
20340
20341         * gst/parse/parse.l: Attempt to solve bug #172815.
20342
20343 2005-07-19  Wim Taymans  <wim@fluendo.com>
20344
20345         * docs/design/part-clocks.txt:
20346         * docs/design/part-events.txt:
20347         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20348         Small docs updates.
20349         Only update the seeking values when we are not
20350         busy streaming.
20351
20352 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20353
20354         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20355           Oops, ignore the result of gst_pad_push_event here.
20356
20357 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20358
20359         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20360         (gst_base_src_activate_push):
20361           Send discont event from the loop function, as pads
20362           aren't activated yet in the activate_push handler.
20363
20364         * gst/gstbin.c: (bin_bus_handler):
20365           Don't leak element name.
20366
20367 2005-07-18  Andy Wingo  <wingo@pobox.com>
20368
20369         * configure.ac: Use AS_LIBTOOL_TAGS.
20370
20371 2005-07-18  Wim Taymans  <wim@fluendo.com>
20372
20373         * docs/gst/gstreamer.types:
20374         Remove deleted types.
20375
20376 2005-07-18  Wim Taymans  <wim@fluendo.com>
20377
20378         * check/elements/gstfakesrc.c: (GST_START_TEST):
20379         * configure.ac:
20380         * gst/Makefile.am:
20381         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20382         (init_popt_callback):
20383         * gst/gst.h:
20384         * gst/gst_private.h:
20385         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20386         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20387         * gst/gstbin.h:
20388         * gst/gstbus.h:
20389         * gst/gstconfig.h.in:
20390         * gst/gstelement.c: (gst_element_class_init),
20391         (gst_element_set_base_time), (gst_element_get_base_time),
20392         (iterator_fold_with_resync), (gst_element_change_state),
20393         (gst_element_dispose), (gst_element_get_bus):
20394         * gst/gstelement.h:
20395         * gst/gstelementfactory.h:
20396         * gst/gsterror.c: (_gst_core_errors_init):
20397         * gst/gsterror.h:
20398         * gst/gstevent.h:
20399         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20400         * gst/gstindex.c:
20401         * gst/gstinfo.c: (_gst_debug_init):
20402         * gst/gstmessage.c: (_gst_message_copy):
20403         * gst/gstmessage.h:
20404         * gst/gstminiobject.h:
20405         * gst/gstobject.c:
20406         * gst/gstobject.h:
20407         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20408         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20409         * gst/gstpad.h:
20410         * gst/gstparse.h:
20411         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20412         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20413         (gst_pipeline_get_last_stream_time):
20414         * gst/gstpipeline.h:
20415         * gst/gstpluginfeature.h:
20416         * gst/gstquery.h:
20417         * gst/gstscheduler.c:
20418         * gst/gstscheduler.h:
20419         * gst/gststructure.h:
20420         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20421         (gst_task_finalize), (gst_task_func), (gst_task_create),
20422         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20423         (gst_task_stop), (gst_task_pause):
20424         * gst/gsttask.h:
20425         * gst/gsttypefind.h:
20426         * gst/gsttypes.h:
20427         * gst/registries/gstlibxmlregistry.c: (load_feature),
20428         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20429         * gst/registries/gstxmlregistry.c:
20430         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20431         * gst/schedulers/threadscheduler.c:
20432         * libs/gst/control/dparammanager.h:
20433         * tools/gst-inspect.c: (print_element_list),
20434         (print_plugin_features), (print_element_features):
20435         * tools/gst-xmlinspect.c: (print_element_list),
20436         (print_plugin_info), (main):
20437         Removed plugable schedulers.
20438         Removed Scheduler/Manager from elements.
20439         Removed gsttypes.h, rearranged includes.
20440         Removed dependency pad<->element, element<>pipeline, and
20441         various others,  fix includes.
20442         implement gst_pad_get_parent() with gst_object_get_parent()
20443         Make GstTask sefcontained.
20444         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20445         timeout.
20446         Fix endless loop in iterator_fold_with_resync.
20447
20448
20449 2005-07-18  Wim Taymans  <wim@fluendo.com>
20450
20451         * gst/Makefile.am:
20452         * gst/gstarch.h:
20453         Remove old file.
20454
20455 2005-07-18  Wim Taymans  <wim@fluendo.com>
20456
20457         * gst/Makefile.am:
20458         No more cothreads.h
20459
20460 2005-07-18  Wim Taymans  <wim@fluendo.com>
20461
20462         * gst/cothreads.c:
20463         * gst/cothreads.h:
20464         Let's remove these.
20465
20466 2005-07-18  Wim Taymans  <wim@fluendo.com>
20467
20468         * docs/design/part-dynamic.txt:
20469         * docs/design/part-events.txt:
20470         * docs/design/part-seeking.txt:
20471         Some more docs in the works.
20472
20473         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20474         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20475         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20476         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20477         (gst_base_transform_handle_buffer),
20478         (gst_base_transform_sink_activate_push),
20479         (gst_base_transform_src_activate_pull),
20480         (gst_base_transform_set_passthrough),
20481         (gst_base_transform_is_passthrough):
20482         Refcounting fixes.
20483
20484         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20485         Cleanups.
20486
20487         * gst/gstevent.c: (gst_event_finalize):
20488         Set SRC to NULL.
20489
20490         * gst/gstutils.c: (gst_element_unlink),
20491         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20492         (gst_pad_proxy_setcaps):
20493         * gst/gstutils.h:
20494         Add _get_parent_element() to get a pads parent as an element.
20495
20496 2005-07-18  Wim Taymans  <wim@fluendo.com>
20497
20498         * check/gst/gstbin.c: (GST_START_TEST):
20499         Remove bogus test.
20500
20501 2005-07-18  Wim Taymans  <wim@fluendo.com>
20502
20503         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20504         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20505         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20506         (gst_base_sink_event), (gst_base_sink_do_sync),
20507         (gst_base_sink_chain), (gst_base_sink_loop),
20508         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20509         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20510         Refcounting fixes.
20511         Fix logic for returning ASYNC when not prerolled.
20512
20513 2005-07-18  Wim Taymans  <wim@fluendo.com>
20514
20515         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20516         Fix nasty refcount bug.
20517
20518 2005-07-16 Philippe Khalaf <burger@speedy.org>
20519
20520         * gst/elements/gstfdsrc.c:
20521         * gst/elements/gstfdsrc.h:
20522         * gst/elements/gstelements.c:
20523         * gst/elements/Makefile.am:
20524         Ported fdsrc to 0.9.
20525
20526 2005-07-16  Wim Taymans  <wim@fluendo.com>
20527
20528         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20529         (gst_base_sink_do_sync):
20530         Fix compile error.
20531
20532 2005-07-16  Wim Taymans  <wim@fluendo.com>
20533
20534         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20535         (gst_base_sink_event), (gst_base_sink_get_times),
20536         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20537         * gst/base/gstbasesink.h:
20538         Store and use discont values when syncing buffers as described
20539         in design docs.
20540         
20541         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20542         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20543         (gst_base_src_activate_push):
20544         Push discont event when starting.
20545
20546         * gst/elements/gstidentity.c: (gst_identity_transform):
20547         Small cleanups.
20548
20549         * gst/gstbin.c: (gst_bin_change_state):
20550         Small cleanups in base_time  distribution.
20551
20552         * gst/gstelement.c: (gst_element_set_base_time),
20553         (gst_element_get_base_time), (gst_element_change_state):
20554         * gst/gstelement.h:
20555         Added methods for the base_time of the element.
20556         Some MT fixes.
20557
20558         * gst/gstpipeline.c: (gst_pipeline_send_event),
20559         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20560         (gst_pipeline_get_last_stream_time):
20561         * gst/gstpipeline.h:
20562         MT fixes.
20563         Handle seeking as described in design doc, remove stream_time
20564         hack.
20565         Cleanups clock and stream_time selection code. Added accessors
20566         for the stream_time.
20567         
20568
20569 2005-07-16  Andy Wingo  <wingo@pobox.com>
20570
20571         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20572         (#305291).
20573
20574 2005-07-16  Wim Taymans  <wim@fluendo.com>
20575
20576         * check/gst/gstbin.c: (GST_START_TEST):
20577         Make elements silent as the deep_notify refs the
20578         parent, which might make the test fail.
20579
20580         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20581         Don't hold the lock for too long.
20582
20583 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20584
20585         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20586           Don't unref the caps we passed to gst_caps_make_writable() after
20587           passing them. gst_caps_make_writable() will do that for us.
20588
20589 2005-07-15  Andy Wingo  <wingo@pobox.com>
20590
20591         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20592         (#157311).
20593
20594         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20595         own marshalling function for the handoff signal. Properly type the
20596         buffer as a buffer. Fixes some warnings. Should do a more general
20597         solution.
20598         (gst_identity_class_init): Plug into the right marshaller.
20599
20600 2005-07-15  Wim Taymans  <wim@fluendo.com>
20601
20602         * docs/design/part-TODO.txt:
20603         * docs/design/part-clocks.txt:
20604         * docs/design/part-element-sink.txt:
20605         * docs/design/part-events.txt:
20606         * docs/design/part-gstpipeline.txt:
20607         Updated docs, mostly DISCONT related.
20608
20609 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20610
20611         * docs/pwg/building-pads.xml:
20612           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20613
20614 2005-07-15  Andy Wingo  <wingo@pobox.com>
20615
20616         * tools/gst-typefind.c: Update, add copyright block.
20617
20618         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20619         Normalize and truncate caps before fixation.
20620
20621         * gst/gstcaps.h:
20622         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20623         discards all but the first structure from its argument.
20624
20625 2005-07-15  Wim Taymans  <wim@fluendo.com>
20626
20627         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20628         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20629         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20630         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20631         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20632         (gst_base_transform_chain), (gst_base_transform_change_state),
20633         (gst_base_transform_set_passthrough),
20634         (gst_base_transform_is_passthrough):
20635         * gst/base/gstbasetransform.h:
20636         Make passthrough work using the bufferpools.
20637         Changed API a bit, subclasses have to write into a buffer
20638         provided by the base class.
20639         More debug info in nego functions.
20640         
20641         * gst/elements/gstidentity.c: (gst_identity_init),
20642         (gst_identity_transform):
20643         Port to new base class.
20644
20645 2005-07-15  Wim Taymans  <wim@fluendo.com>
20646
20647         * gst/gstmessage.c: (gst_message_new_state_changed):
20648         * tools/gst-launch.c: (event_loop), (main):
20649         Totally dump messages in -launch with the -m option.
20650         Fix message name for State messages,
20651
20652 2005-07-14  Wim Taymans  <wim@fluendo.com>
20653
20654         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20655         Post error messages on errors.
20656
20657 2005-07-14  Wim Taymans  <wim@fluendo.com>
20658
20659         * gst/gstcaps.c: (gst_caps_do_simplify):
20660         Remove debug info.
20661
20662         * gst/gsterror.h:
20663         Define error for stream stopped.
20664
20665         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20666         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20667         Do proper return values.
20668
20669         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20670         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20671         (gst_pad_get_range):
20672         Better return values.
20673
20674         * gst/gstpad.h:
20675         Reorganise return values, add macro to check for fatal errors.
20676
20677         * gst/gstqueue.c: (gst_queue_chain):
20678         Return proper GstFlowReturn values,
20679
20680 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20681
20682         * docs/gst/gstreamer-sections.txt:
20683         * docs/gst/gstreamer.types:
20684         * docs/gst/tmpl/gst.sgml:
20685         * docs/gst/tmpl/gstbasesink.sgml:
20686         * docs/gst/tmpl/gstbasesrc.sgml:
20687         * docs/gst/tmpl/gstbasetransform.sgml:
20688         * docs/gst/tmpl/gstbin.sgml:
20689         * docs/gst/tmpl/gstbuffer.sgml:
20690         * docs/gst/tmpl/gstcaps.sgml:
20691         * docs/gst/tmpl/gstclock.sgml:
20692         * docs/gst/tmpl/gstcompat.sgml:
20693         * docs/gst/tmpl/gstconfig.sgml:
20694         * docs/gst/tmpl/gstelement.sgml:
20695         * docs/gst/tmpl/gstelementdetails.sgml:
20696         * docs/gst/tmpl/gstelementfactory.sgml:
20697         * docs/gst/tmpl/gstenumtypes.sgml:
20698         * docs/gst/tmpl/gsterror.sgml:
20699         * docs/gst/tmpl/gstevent.sgml:
20700         * docs/gst/tmpl/gstfakesink.sgml:
20701         * docs/gst/tmpl/gstfakesrc.sgml:
20702         * docs/gst/tmpl/gstfilesink.sgml:
20703         * docs/gst/tmpl/gstfilesrc.sgml:
20704         * docs/gst/tmpl/gstfilter.sgml:
20705         * docs/gst/tmpl/gstformat.sgml:
20706         * docs/gst/tmpl/gstghostpad.sgml:
20707         * docs/gst/tmpl/gstimplementsinterface.sgml:
20708         * docs/gst/tmpl/gstindex.sgml:
20709         * docs/gst/tmpl/gstindexfactory.sgml:
20710         * docs/gst/tmpl/gstinfo.sgml:
20711         * docs/gst/tmpl/gstiterator.sgml:
20712         * docs/gst/tmpl/gstmacros.sgml:
20713         * docs/gst/tmpl/gstmemchunk.sgml:
20714         * docs/gst/tmpl/gstminiobject.sgml:
20715         * docs/gst/tmpl/gstobject.sgml:
20716         * docs/gst/tmpl/gstpad.sgml:
20717         * docs/gst/tmpl/gstpadtemplate.sgml:
20718         * docs/gst/tmpl/gstparse.sgml:
20719         * docs/gst/tmpl/gstpipeline.sgml:
20720         * docs/gst/tmpl/gstplugin.sgml:
20721         * docs/gst/tmpl/gstpluginfeature.sgml:
20722         * docs/gst/tmpl/gstquery.sgml:
20723         * docs/gst/tmpl/gstqueue.sgml:
20724         * docs/gst/tmpl/gstregistry.sgml:
20725         * docs/gst/tmpl/gstregistrypool.sgml:
20726         * docs/gst/tmpl/gstscheduler.sgml:
20727         * docs/gst/tmpl/gstschedulerfactory.sgml:
20728         * docs/gst/tmpl/gststructure.sgml:
20729         * docs/gst/tmpl/gstsystemclock.sgml:
20730         * docs/gst/tmpl/gsttaglist.sgml:
20731         * docs/gst/tmpl/gsttagsetter.sgml:
20732         * docs/gst/tmpl/gsttrace.sgml:
20733         * docs/gst/tmpl/gsttrashstack.sgml:
20734         * docs/gst/tmpl/gsttypefind.sgml:
20735         * docs/gst/tmpl/gsttypefindfactory.sgml:
20736         * docs/gst/tmpl/gsttypes.sgml:
20737         * docs/gst/tmpl/gsturihandler.sgml:
20738         * docs/gst/tmpl/gsturitype.sgml:
20739         * docs/gst/tmpl/gstutils.sgml:
20740         * docs/gst/tmpl/gstvalue.sgml:
20741         * docs/gst/tmpl/gstversion.sgml:
20742         * docs/gst/tmpl/gstxml.sgml:
20743         * docs/libs/tmpl/gstcontrol.sgml:
20744         * docs/libs/tmpl/gstdataprotocol.sgml:
20745         * docs/libs/tmpl/gstdparam.sgml:
20746         * docs/libs/tmpl/gstdplinint.sgml:
20747         * docs/libs/tmpl/gstdpman.sgml:
20748         * docs/libs/tmpl/gstdpsmooth.sgml:
20749         * docs/libs/tmpl/gstgetbits.sgml:
20750         * docs/libs/tmpl/gstunitconvert.sgml:
20751         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20752         (gst_push_src_base_init), (gst_push_src_class_init),
20753         (gst_push_src_init), (gst_push_src_create):
20754         * gst/base/gstpushsrc.h:
20755         * gst/elements/gstelements.c:
20756         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20757         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20758         (gst_fake_sink_init), (gst_fake_sink_set_property),
20759         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20760         (gst_fake_sink_event), (gst_fake_sink_preroll),
20761         (gst_fake_sink_render), (gst_fake_sink_change_state):
20762         * gst/elements/gstfakesink.h:
20763         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20764         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20765         (gst_fake_src_base_init), (gst_fake_src_class_init),
20766         (gst_fake_src_init), (gst_fake_src_event_handler),
20767         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20768         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20769         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20770         (gst_fake_src_create_buffer), (gst_fake_src_create),
20771         (gst_fake_src_start), (gst_fake_src_stop):
20772         * gst/elements/gstfakesrc.h:
20773         * gst/elements/gstfilesink.c: (_do_init),
20774         (gst_file_sink_base_init), (gst_file_sink_class_init),
20775         (gst_file_sink_init), (gst_file_sink_dispose),
20776         (gst_file_sink_set_location), (gst_file_sink_set_property),
20777         (gst_file_sink_get_property), (gst_file_sink_open_file),
20778         (gst_file_sink_close_file), (gst_file_sink_query),
20779         (gst_file_sink_event), (gst_file_sink_render),
20780         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20781         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20782         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20783         * gst/elements/gstfilesink.h:
20784         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20785         (gst_file_src_class_init), (gst_file_src_init),
20786         (gst_file_src_finalize), (gst_file_src_set_location),
20787         (gst_file_src_set_property), (gst_file_src_get_property),
20788         (gst_file_src_map_region), (gst_file_src_map_small_region),
20789         (gst_file_src_create_mmap), (gst_file_src_create_read),
20790         (gst_file_src_create), (gst_file_src_is_seekable),
20791         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20792         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20793         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20794         (gst_file_src_uri_handler_init):
20795         * gst/elements/gstfilesrc.h:
20796           more autistic cleanliness in functions/names/defines
20797
20798 2005-07-13  Andy Wingo  <wingo@pobox.com>
20799
20800         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20801         source couldn't negotiate.
20802
20803         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20804         connections again.
20805
20806         * gst/gstutils.h:
20807         * gst/gstutils.c (gst_element_link_pads_filtered): New old
20808         function. I am channeling Hades. Put your boots on suckers!!!
20809
20810 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20811
20812         * testsuite/caps/Makefile.am:
20813         * testsuite/caps/value_compare.c:
20814         * testsuite/caps/value_intersect.c:
20815         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20816           move two testsuite apps over to the check dir
20817
20818 2005-07-12  Wim Taymans  <wim@fluendo.com>
20819
20820         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20821         Added more debug info in the negotiate process.
20822
20823         * gst/gstmessage.h:
20824         Prepare for segment playback.
20825
20826         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20827         Better debugging.
20828
20829         * gst/gstutils.c:
20830         Some more docs.
20831
20832         * tools/gst-launch.c: (main):
20833         NULL pipeline on errors.
20834
20835 2005-07-12  Andy Wingo  <wingo@pobox.com>
20836
20837         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20838         not it comes from a malloc region. Make sure our copy gets freed.
20839
20840 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20841
20842         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20843         * check/gst/gstmessage.c: (GST_START_TEST):
20844         * check/gst/gststructure.c: (GST_START_TEST),
20845         (gst_structure_suite), (main):
20846           more testing
20847         * gst/gstelement.c: (gst_element_message_full):
20848           clean up GError and debug string now that they get copied
20849         * gst/gstmessage.c: (gst_message_new_error),
20850         (gst_message_new_warning), (gst_message_parse_error),
20851         (gst_message_parse_warning):
20852           use GST_TYPE_G_ERROR for structure_new, and take copies of
20853           arguments, so that we don't mess up refcounting
20854
20855 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20856
20857         * check/Makefile.am:
20858           add per-test valgrind targets
20859         * check/gst-libs/gdp.c: (GST_START_TEST),
20860         (gst_data_protocol_suite), (main):
20861           clean up
20862
20863 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20864
20865         * check/Makefile.am:
20866           instate more valgrindable tests
20867         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20868         (GST_START_TEST), (fakesrc_suite):
20869         * check/gst/gstpad.c: (GST_START_TEST):
20870         * check/gst/gststructure.c: (GST_START_TEST):
20871           fix test leaks
20872         * docs/gst/tmpl/gstminiobject.sgml:
20873         * gst/gstpad.c: (gst_pad_finalize):
20874           fix the static mutex leak
20875
20876 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20877
20878         * check/Makefile.am:
20879           add two more tests for valgrinding
20880         * check/gst/gstvalue.c: (GST_START_TEST):
20881           test refcount of deserialized buffer, found a leak
20882         * docs/gst/gstreamer-docs.sgml:
20883         * docs/gst/gstreamer-sections.txt:
20884         * docs/gst/gstreamer.types:
20885         * docs/gst/tmpl/gstminiobject.sgml:
20886           add miniobject to docs
20887         * gst/gstminiobject.c:
20888           add some docs
20889         * gst/gstvalue.c: (gst_value_deserialize_buffer),
20890         (gst_string_unwrap):
20891           fix a hard-to-find invalid write for one of the tests
20892           fix a leak for deserialized buffers
20893
20894 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20895
20896         * docs/pwg/advanced-events.xml:
20897         * docs/pwg/advanced-request.xml:
20898         * docs/pwg/advanced-scheduling.xml:
20899         * docs/pwg/appendix-porting.xml:
20900         * docs/pwg/building-boiler.xml:
20901         * docs/pwg/intro-preface.xml:
20902         * docs/pwg/other-ntoone.xml:
20903           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20904           of example code and explanation for pad activation, loop() and
20905           getrange() functions and a bit more. Remove old comments pointing
20906           to loop-functions.
20907         * examples/pwg/Makefile.am:
20908           Add loop/getrange examples.
20909
20910 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20911
20912         * configure.ac:
20913           check for valgrind binary + some fixes
20914         * check/gst.supp:
20915           valgrind suppressions for the tests
20916         * check/Makefile.am:
20917           add a valgrind: target that valgrinds the unit tests
20918         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20919         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20920         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20921         * check/gst/gstghostpad.c:
20922           added some cleanup
20923         * check/gst/gstdata.c:
20924           removed
20925         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20926         (thread_unref), (gst_mini_object_suite), (main):
20927           added
20928         * gst/gst.c: (gst_deinit):
20929         * gst/gst.h:
20930           add a method to clean up.
20931         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20932         (gst_system_clock_obtain):
20933           allow for disposing the system clock.
20934         * tools/gst-launch.c: (main):
20935           deinit
20936
20937 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20938
20939         * docs/gst/tmpl/gstbasesrc.sgml:
20940         * docs/gst/tmpl/gstfakesrc.sgml:
20941         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20942         (gst_base_src_init), (gst_base_src_set_property),
20943         (gst_base_src_get_property), (gst_base_src_get_range),
20944         (gst_base_src_start):
20945         * gst/base/gstbasesrc.h:
20946           add num-buffers property
20947         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20948         (gst_fakesrc_init), (gst_fakesrc_set_property),
20949         (gst_fakesrc_get_property), (gst_fakesrc_create),
20950         (gst_fakesrc_start):
20951           remove num-buffers property
20952
20953 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20954
20955         * docs/gst/gstreamer-sections.txt:
20956         * docs/gst/tmpl/gstbasesink.sgml:
20957         * docs/gst/tmpl/gstbasesrc.sgml:
20958         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20959         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20960         (gst_base_sink_finalize), (gst_base_sink_set_clock),
20961         (gst_base_sink_set_property), (gst_base_sink_get_property),
20962         (gst_base_sink_handle_object), (gst_base_sink_event),
20963         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20964         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20965         (gst_base_sink_loop), (gst_base_sink_deactivate),
20966         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20967         (gst_base_sink_change_state):
20968         * gst/base/gstbasesink.h:
20969         * gst/base/gstbasesrc.h:
20970         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20971         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20972         (gst_filesink_init):
20973           more macro splitting
20974
20975 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20976
20977         * gst/gstelement.c: (gst_element_get_bus):
20978           add debug
20979         * tools/gst-launch.c: (check_intr), (event_loop):
20980           fix bus leaks
20981
20982 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20983
20984         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20985           fix a caps leak
20986
20987 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20988
20989         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20990         (gst_base_src_finalize):
20991           add finalize method and clean up properly
20992         * gst/gstpipeline.c: (gst_pipeline_dispose):
20993           add debug
20994
20995 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20996
20997         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20998         (gst_bin_suite):
20999           add more things to check
21000         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21001         * gst/gstelement.c:
21002           more debug
21003
21004 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21005
21006         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21007         (GST_START_TEST), (fakesrc_suite):
21008         * check/gst-libs/gdp.c: (GST_START_TEST):
21009         * check/gst/gst.c: (GST_START_TEST):
21010         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21011         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21012         * check/gst/gstbus.c: (GST_START_TEST):
21013         * check/gst/gstcaps.c: (GST_START_TEST):
21014         * check/gst/gstdata.c: (GST_START_TEST):
21015         * check/gst/gstelement.c: (GST_START_TEST):
21016         * check/gst/gstghostpad.c: (GST_START_TEST):
21017         * check/gst/gstiterator.c: (GST_START_TEST):
21018         * check/gst/gstmessage.c: (GST_START_TEST):
21019         * check/gst/gstobject.c: (GST_START_TEST):
21020         * check/gst/gstpad.c: (GST_START_TEST):
21021         * check/gst/gststructure.c: (GST_START_TEST):
21022         * check/gst/gstsystemclock.c: (GST_START_TEST),
21023         (gst_systemclock_suite):
21024         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21025         * check/gst/gstvalue.c: (GST_START_TEST):
21026         * check/pipelines/cleanup.c: (GST_START_TEST):
21027         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21028         * check/states/sinks.c: (GST_START_TEST):
21029         * check/gstcheck.c: (gst_check_init):
21030         * check/gstcheck.h:
21031           add debugging category
21032           use GST_START_TEST now, so we add a debug line
21033
21034 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21035
21036         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21037           add test for state change message on a bin
21038         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21039           add another test
21040         * gst/gstbin.c: (gst_bin_init):
21041         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21042         * gst/gstelement.c: (gst_element_post_message),
21043         (gst_element_set_state):
21044         * gst/gstelementfactory.c: (gst_element_factory_create):
21045         * gst/gstmessage.c: (gst_message_new):
21046         * gst/gstscheduler.c:
21047           various debugging additions and cleanups
21048
21049 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21050
21051         * check/Makefile.am:
21052         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21053         (main):
21054           adding tests for elements
21055         * gst/gstelement.c: (gst_element_dispose):
21056
21057 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21058
21059         * gst/registries/gstlibxmlregistry.c: (load_feature):
21060           plug more leaks.  A simple gst_init() now is leakfree, yay.
21061
21062 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21063
21064         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21065         (gst_xml_registry_load):
21066           plug another memleak
21067
21068 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21069
21070         * configure.ac:
21071           use GST_SET_ERROR_CFLAGS
21072         * docs/faq/cvs.xml:
21073           change to ERROR_CFLAGS
21074
21075 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21076
21077         * configure.ac:
21078           make GST_ERROR_CFLAGS overridable and re-enable Werror
21079         * docs/faq/cvs.xml:
21080           add a note about error CFLAGS
21081         * docs/gst/tmpl/gstfakesrc.sgml:
21082         * gst/elements/gstfakesrc.c:
21083           comment out some unused code
21084         * gst/gst.c: (split_and_iterate):
21085         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21086         (load_feature):
21087           plug some memleaks
21088
21089 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21090
21091         * common/Makefile.am:
21092         * common/gtk-doc.mak:
21093         * docs/gst/Makefile.am:
21094           factor out gtk-doc.mak
21095
21096 2005-07-07  Wim Taymans  <wim@fluendo.com>
21097
21098         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21099         (gst_thread_scheduler_dispose):
21100         Unlock the STREAM_LOCK completely.
21101
21102 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21103
21104         * check/Makefile.am:
21105         * check/elements/.cvsignore:
21106         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21107         (START_TEST), (fakesrc_suite), (main):
21108         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21109         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21110         (gst_fakesrc_create), (gst_fakesrc_start):
21111         * gst/elements/gstfakesrc.h:
21112           adding a first element test
21113
21114 2005-07-07  Andy Wingo  <wingo@pobox.com>
21115
21116         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21117         debug message.
21118
21119 2005-07-07  Wim Taymans  <wim@fluendo.com>
21120
21121         * gst/gstquery.c:
21122         * gst/gstquery.h:
21123         Remove old types
21124
21125 2005-07-07  Wim Taymans  <wim@fluendo.com>
21126
21127         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21128         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21129         Allow subclasses to implement their own negotiation.
21130
21131 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21132
21133         * docs/design/part-gstbin.txt:
21134         * docs/design/part-gstpipeline.txt:
21135           Update design notes to reflect the movement of
21136           responsibility for bus handling from GstPipeline to
21137           GstBin
21138
21139 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21140
21141         * configure.ac:
21142           Remove unnecessary queue2/3/4 examples.
21143
21144 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21145
21146         * examples/Makefile.am:
21147         * examples/helloworld/helloworld.c: (event_loop), (main):
21148         * examples/queue/queue.c: (event_loop), (main):
21149         * examples/queue2/queue2.c: (main):
21150           Update a couple of the examples to work again.
21151
21152         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21153         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21154          Spelling corrections and extra debug.
21155         
21156         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21157         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21158         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21159         * gst/gstbin.h:
21160         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21161         (gst_pipeline_change_state):
21162         * gst/gstpipeline.h:
21163           Move the bus handler for children to the GstBin, and create a
21164           separate bus for receiving messages from children to the one the
21165           bus sends 'upwards' on.
21166
21167 2005-07-06  Wim Taymans  <wim@fluendo.com>
21168
21169         * gst/base/README:
21170         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21171         (gst_base_sink_handle_object), (gst_base_sink_loop),
21172         (gst_base_sink_change_state):
21173         * gst/base/gstbasesink.h:
21174         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21175         (gst_base_src_init), (gst_base_src_setcaps),
21176         (gst_base_src_getcaps), (gst_base_src_loop),
21177         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21178         (gst_base_src_start), (gst_base_src_change_state):
21179         * gst/base/gstbasesrc.h:
21180         Make basesrc negotiate.
21181         Handle the case where preroll fails in basesink.
21182         Update README.
21183
21184 2005-07-06  Wim Taymans  <wim@fluendo.com>
21185
21186         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21187         Implement the fixate function.
21188         Clean up acceptcaps.
21189
21190 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21191
21192         * docs/pwg/building-filterfactory.xml:
21193         * docs/pwg/pwg.xml:
21194           Remove never-written filter-factory chapter; I'll add the various
21195           base classes to part 4 ("other element types") later on.
21196
21197 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21198
21199         * docs/pwg/advanced-negotiation.xml:
21200         * docs/pwg/building-boiler.xml:
21201         * docs/pwg/building-pads.xml:
21202         * docs/pwg/pwg.xml:
21203         * examples/pwg/Makefile.am:
21204           Add a chapter on caps negotiation, simplify the original code
21205           samples a bit w.r.t. caps negotiation, add link to the advanced
21206           section. Add a bunch of examples showing different use cases of
21207           different types of caps negotiation. Upstream renegotiation isn't
21208           fully documented yet since nobody knows how that works.
21209
21210 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21211
21212         * check/gst/gstpad.c:
21213         * check/gstcheck.c:
21214         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21215           if pad has no parent, return NULL as list of internal links
21216
21217 2005-07-05  Andy Wingo  <wingo@pobox.com>
21218
21219         * gst/elements/gstfilesrc.c:
21220         * gst/elements/gstfakesrc.c: 
21221         * gst/base/gstpushsrc.c:
21222         * gst/base/gstbasesrc.h: 
21223         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21224         
21225 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21226
21227         * Makefile.am:
21228           better report generation target (lcov needs a patch)
21229
21230 2005-07-05  Andy Wingo  <wingo@pobox.com>
21231
21232         * gst/elements, testsuite: Null if we got it...
21233
21234 2005-07-05  Wim Taymans  <wim@fluendo.com>
21235
21236         * configure.ac:
21237         * libs/gst/dataprotocol/Makefile.am:
21238         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21239         * libs/gst/dataprotocol/dataprotocol.h:
21240         * pkgconfig/Makefile.am:
21241         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21242         * pkgconfig/gstreamer-dataprotocol.pc.in:
21243         Ported dataprotol to 0.9. 
21244         Added pkgconfig files.
21245
21246 2005-07-05  Andy Wingo  <wingo@pobox.com>
21247
21248         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21249         Default to returning TRUE for the case when tranform_caps returns
21250         a fixed caps, like for identity or volume.
21251
21252         * check/gst/gstbus.c (pound_bus_with_messages): 
21253         * check/gst/gstmessage.c (START_TEST): 
21254         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21255         message API change.
21256
21257         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21258         logic weaks here: always run transform_caps, trying passthrough
21259         operation only if the original caps intersects with the transform.
21260
21261         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21262         source and sink caps.
21263
21264         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21265         Intersect the peer caps with the pad template before going into
21266         transform_caps.
21267         (gst_base_transform_transform_caps): More debugging.
21268
21269         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21270         src argument.
21271
21272 2005-07-04  Edward Hervey  <edward@fluendo.com>
21273
21274         * gst/gstutils.c:
21275         * gst/gstutils.h:
21276         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21277         in bindings.
21278
21279 2005-07-04  Andy Wingo  <wingo@pobox.com>
21280
21281         * check/gst/gstpad.c: Only set explicit caps on pads.
21282
21283 2005-07-01  Andy Wingo  <wingo@pobox.com>
21284
21285         * tests/network-clock.scm: Commentary update.
21286
21287         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21288         Didn't really make sense, not implementable with basetransform,
21289         etc.
21290         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21291         attempt at implementing the sync property, needs an unlock method.
21292
21293         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21294         New func, by default returns the same caps (the identity
21295         transformation).
21296         (gst_base_transform_getcaps): Uses transform_caps to return
21297         something sensible.
21298         (gst_base_transform_setcaps): Complicated logic to get caps on
21299         both pads, even if they are different, and to call set_caps once
21300         for every time both pads get their caps set.
21301         (gst_base_transform_handle_buffer): Give the ref to the transform
21302         function. Allows in-place modification of the buffer.
21303
21304         * gst/base/gstbasetransform.h (transform_caps): New class method.
21305         Given caps on one side, what can I do on the other.
21306         (set_caps): Take two caps, one for each side of the element.
21307
21308         * gst/gstpad.h:
21309         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21310         caps in place. This is safe because we can check the mutability of
21311         the caps, and a good idea because fixate functions are just called
21312         as a matter of last resort. (Not actually implemented.)
21313         (gst_pad_set_caps): If the caps we're setting is actually the same
21314         as the existing pad caps, just update the pointer without calling
21315         setcaps. Assert that caps is either NULL or fixed, as per the
21316         docs.
21317
21318         * gst/gstghostpad.c: Update for fixate changes.
21319
21320 2005-07-02  Andy Wingo  <wingo@pobox.com>
21321
21322         * gst/gstcaps.c:
21323         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21324         two refcounts makes it immutable, which is enough. Doc more.
21325
21326 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21327
21328         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21329           Put the mini_object into GValue as a mini_object,
21330           not a gpointer, since that's how we declared
21331           the signal.
21332
21333 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21334
21335         * examples/pwg/Makefile.am:
21336           Fix buildbot again.
21337
21338 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21339
21340         * docs/pwg/building-testapp.xml:
21341           Add extra check.
21342         * examples/pwg/Makefile.am:
21343           Fix buildbot.
21344
21345 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21346
21347         * configure.ac:
21348         * examples/Makefile.am:
21349         * examples/pwg/Makefile.am:
21350         * examples/pwg/extract.pl:
21351           Enable building the PWG examples.
21352         * docs/pwg/advanced-interfaces.xml:
21353           Add URI interface stub.
21354         * docs/pwg/advanced-types.xml:
21355         * docs/pwg/other-autoplugger.xml:
21356         * docs/pwg/appendix-porting.xml:
21357         * docs/pwg/pwg.xml:
21358           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21359         * docs/pwg/building-boiler.xml:
21360         * docs/pwg/building-chainfn.xml:
21361         * docs/pwg/building-pads.xml:
21362         * docs/pwg/building-props.xml:
21363         * docs/pwg/building-state.xml:
21364         * docs/pwg/building-testapp.xml:
21365           Update the building-*.xml parts for 0.9 changes. All examples
21366           code blocks compile in examples/pwg/*.
21367
21368 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21369
21370         * docs/manual/advanced-autoplugging.xml:
21371         * docs/manual/appendix-checklist.xml:
21372         * docs/manual/appendix-integration.xml:
21373         * docs/manual/highlevel-components.xml:
21374           Fix playbin/decodebin examples, update docs a bit, mention bus
21375           instead of signals in various places, mention kmplayer and
21376           kaffeine since they have a working GStreamer backend in the KDE
21377           section.
21378
21379 2005-06-30  Wim Taymans  <wim@fluendo.com>
21380
21381         * CHANGES-0.9:
21382         * docs/design/draft-ghostpads.txt:
21383         * docs/design/draft-push-pull.txt:
21384         * docs/design/draft-query.txt:
21385         * docs/design/part-TODO.txt:
21386         * docs/design/part-query.txt:
21387         Added CHANGES-0.9 doc, updated status of other docs.
21388         
21389         * gst/gstquery.h:
21390         Remove "hmm" macro
21391
21392 2005-06-30  Wim Taymans  <wim@fluendo.com>
21393
21394         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21395         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21396         (gst_base_sink_change_state):
21397         * gst/base/gstbasesink.h:
21398         Some tweaks, only EOS and a buffer complete a preroll.
21399
21400 2005-06-30  Andy Wingo  <wingo@pobox.com>
21401
21402         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21403         activate_push down to the internal pad as well.
21404
21405 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21406
21407         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21408
21409         * gst/gsttaginterface.c:
21410           Some documentation fixes (#307394 and #307397).
21411
21412 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21413
21414         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21415
21416         * gst/gstvalue.c: (gst_value_intersect_list):
21417           Fix memleak (#309125).
21418
21419 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21420
21421         * docs/manual/advanced-dataaccess.xml:
21422           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21423         * docs/manual/basics-pads.xml:
21424           Add reference for filtered caps to above chapter.
21425
21426 2005-06-30  Wim Taymans  <wim@fluendo.com>
21427
21428         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21429         (gst_bin_change_state):
21430         Probes are gone.
21431         Lame attempt at making the state change function a bit
21432         more readable.
21433
21434 2005-06-30  Wim Taymans  <wim@fluendo.com>
21435
21436         * docs/design/part-clocks.txt:
21437         * docs/design/part-element-sink.txt:
21438         * docs/design/part-events.txt:
21439         * docs/design/part-preroll.txt:
21440         * docs/design/part-states.txt:
21441         Some more tweeks and additions to the docs.
21442
21443 2005-06-30  Wim Taymans  <wim@fluendo.com>
21444
21445         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21446         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21447         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21448         (gst_pad_check_pull_range), (gst_pad_get_range),
21449         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21450         * gst/gstpad.h:
21451         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21452         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21453         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21454         (gst_pad_remove_buffer_probe):
21455         Removed atomic operations, use existing LOCK.
21456         Move exception handling out of main code path.
21457
21458 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21459
21460         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21461         (silly_return_true_function), (gst_pad_class_init),
21462         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21463         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21464         (gst_pad_send_event):
21465           Fix accumulator, add default value by using _emitv() instead
21466           of _emit() for signal emission.
21467
21468 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21469
21470         * docs/manual/advanced-dataaccess.xml:
21471         * examples/manual/Makefile.am:
21472           Add probe example.
21473         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21474           Make work (??).
21475
21476 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21477
21478         * gst/elements/gstfilesink.c: (gst_filesink_render):
21479           Simplify code so that we don't have to handle short
21480           writes and return GST_FLOW_ERROR if an error occured.
21481
21482 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21483
21484         * docs/gst/gstreamer-docs.sgml:
21485           Remove probes more.
21486
21487 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21488
21489         * docs/gst/gstreamer-sections.txt:
21490         * docs/gst/tmpl/gstpad.sgml:
21491         * docs/gst/tmpl/gstprobe.sgml:
21492         * gst/Makefile.am:
21493         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21494         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21495         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21496         (gst_pad_push_event), (gst_pad_send_event):
21497         * gst/gstpad.h:
21498         * gst/gstutils.c: (gst_pad_add_data_probe),
21499         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21500         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21501         (gst_pad_remove_buffer_probe):
21502         * gst/gstutils.h:
21503           Remove old probes, add new g-signal-based probes and some utility
21504           functions.
21505
21506 2005-06-29  Edward Hervey  <edward@fluendo.com>
21507
21508         * gst/gstelementfactory.c:
21509         * gst/gstutils.h:
21510         * gst/gstutils.c:
21511         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21512         the definition to the header file.
21513
21514 2005-06-29  Andy Wingo  <wingo@pobox.com>
21515
21516         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21517         plugins from the source directory.
21518
21519 2005-06-29  Wim Taymans  <wim@fluendo.com>
21520
21521         * docs/gst/tmpl/gstbuffer.sgml:
21522         * docs/gst/tmpl/gstclock.sgml:
21523         Some fixings for blantently wrong text.
21524
21525 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21526
21527         * check/Makefile.am:
21528         * gst/gst.c: (add_path_func), (init_pre):
21529         * gst/gstregistry.c: (gst_registry_add_path):
21530           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21531           only scan the GST_PLUGIN_PATH locations, and not add
21532           system locations
21533
21534 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21535
21536         * docs/gst/gstreamer-sections.txt:
21537         * docs/gst/tmpl/gstbasesrc.sgml:
21538         * gst/gstelement.c:
21539         * gst/gstelement.h:
21540         * gst/gstevent.c:
21541         * gst/gstutils.c:
21542           doc fixes
21543
21544 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21545
21546         * docs/manual/advanced-autoplugging.xml:
21547           Fix autoplugging example.
21548
21549 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21550
21551         * docs/manual/advanced-autoplugging.xml:
21552         * docs/manual/mime-world.fig:
21553           Try to get autoplugging working, fix type detection. Fix text
21554           in hello-world image.
21555
21556 2005-06-29  Wim Taymans  <wim@fluendo.com>
21557
21558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21559         (gst_base_sink_change_state):
21560         Small debug line.
21561
21562         * gst/gstclock.h:
21563         map SIGNAL and BROADCAST to the right function.
21564
21565         * gst/gstobject.h:
21566         Remove redundant braces.
21567
21568         * gst/gstpad.c: (gst_pad_set_caps):
21569         Don't call setcaps function when reseting caps to NULL.
21570
21571         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21572         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21573         (gst_system_clock_id_unschedule):
21574         Use BROADCAST as this is what we do.
21575
21576 2005-06-29  Wim Taymans  <wim@fluendo.com>
21577
21578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21579         We are actually prerolling before commiting the state
21580         change. 
21581
21582 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21583
21584         * docs/manual/advanced-clocks.xml:
21585         * docs/manual/advanced-interfaces.xml:
21586         * docs/manual/advanced-metadata.xml:
21587         * docs/manual/advanced-position.xml:
21588         * docs/manual/advanced-schedulers.xml:
21589         * docs/manual/advanced-threads.xml:
21590         * docs/manual/appendix-porting.xml:
21591         * docs/manual/basics-bins.xml:
21592         * docs/manual/basics-bus.xml:
21593         * docs/manual/basics-elements.xml:
21594         * docs/manual/basics-helloworld.xml:
21595         * docs/manual/basics-pads.xml:
21596         * docs/manual/highlevel-components.xml:
21597         * docs/manual/manual.xml:
21598         * docs/manual/thread.fig:
21599           Update (until threads/scheduling) Application Development Manual;
21600           remove GstThread, add GstBus, add simple porting checklist, add
21601           documentation for tag writing, clocks, make all examples until this
21602           part compile and run.
21603         * examples/manual/Makefile.am:
21604           Update from changes to Application Development Manual; add bus
21605           example, remove thread example.
21606
21607 2005-06-28  Wim Taymans  <wim@fluendo.com>
21608
21609         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21610         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21611         (gst_bus_source_dispatch):
21612         Add debugging messages.
21613         Make internal methods static.
21614         Handle the case where the bus is flushed in the handler.
21615         
21616         * gst/gstelement.c: (gst_element_get_bus):
21617         Fix refcount in _get_bus();
21618
21619         * gst/gstpipeline.c: (gst_pipeline_change_state),
21620         (gst_pipeline_get_clock_func):
21621         Clock refcounting fixes.
21622         Handle the case where preroll timed out more gracefully.
21623         
21624         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21625         Clean up the internal thread in dispose. This is needed
21626         for subclasses that actually get disposed.
21627         
21628         * gst/schedulers/threadscheduler.c:
21629         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21630         (gst_thread_scheduler_dispose):
21631         Free thread pool in dispose.
21632
21633 2005-06-28  Andy Wingo  <wingo@pobox.com>
21634
21635         * tests/network-clock-utils.scm (debug, print-event): New utils.
21636
21637         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21638         (*packet-loss*): Unified loss probability.
21639         (network-time): Report out-of-band events.
21640
21641         * tests/plot-data: Add support for out-of-band events. Hack it
21642         into this script instead of passing it down the pipe; should fix
21643         this later.
21644
21645 2005-06-28  Wim Taymans  <wim@fluendo.com>
21646
21647         * docs/gst/gstreamer.types:
21648         * docs/gst/tmpl/gstbasesrc.sgml:
21649         * docs/gst/tmpl/gstpad.sgml:
21650         Docs fixes.
21651
21652 2005-06-28  Wim Taymans  <wim@fluendo.com>
21653
21654         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21655         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21656         (gst_proxy_pad_do_fixatecaps):
21657         Correctly proxy the check_pull_range function.
21658
21659 2005-06-28  Andy Wingo  <wingo@pobox.com>
21660
21661         * tests/network-clock.scm: Removed need for slib.
21662         
21663 2005-06-28  Wim Taymans  <wim@fluendo.com>
21664
21665         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21666         (gst_basesink_preroll_queue_flush):
21667         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21668         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21669         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21670         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21671         (gst_proxy_pad_set_property):
21672         * gst/gstpad.c:
21673         * gst/gstpad.h:
21674         * gst/gstqueue.c: (gst_queue_init):
21675         The deprecated pad loop function is removed now.
21676
21677 2005-06-28  Andy Wingo  <wingo@pobox.com>
21678
21679         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21680         New parameters, simulate network packet loss.
21681
21682         * tests/network-clock-utils.scm: Initialize the RNG.
21683
21684 2005-06-28  Wim Taymans  <wim@fluendo.com>
21685
21686         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21687         (gst_basesink_event), (gst_basesink_deactivate):
21688         Flushing the preroll queue always needs to unlock the waiters.
21689
21690 2005-06-28  Edward Hervey  <edward@fluendo.com>
21691
21692         * gst/gstpipeline.c: (gst_pipeline_send_event): 
21693         Wheen a seek was successful on a pipeline, set the stream_time to the
21694         seek offset in order to have a synchronized stream_time.
21695
21696 2005-06-28  Wim Taymans  <wim@fluendo.com>
21697
21698         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21699         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21700         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21701         (gst_proxy_pad_do_fixatecaps):
21702         Call wrapper function instead of just calling the function
21703         pointers. This takes care of any locking and whatmore.
21704
21705 2005-06-28  Wim Taymans  <wim@fluendo.com>
21706
21707         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21708         (gst_pad_pull_range):
21709         * gst/gstpad.h:
21710         CONNECTED -> LINKED.
21711
21712 2005-06-28  Andy Wingo  <wingo@pobox.com>
21713
21714         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21715         source-munging commit!!!
21716
21717         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
21718         (gst_object_sink): Take gpointer arguments, not GstObject --
21719         avoids casts. Like GLib.
21720
21721         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21722         activate.
21723
21724 2005-06-27  Andy Wingo  <wingo@pobox.com>
21725
21726         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21727         remaining buffer.
21728
21729         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21730         returns a sorted copy of the trace list.
21731         (gst_alloc_trace_print_live): New API, only prints traces with
21732         live objects. Sort the list.
21733         (gst_alloc_trace_print_all): Sort the list.
21734         (gst_alloc_trace_print): Align columns.
21735
21736         * gst/elements/gstttypefindelement.c:
21737         * gst/elements/gsttee.c:
21738         * gst/base/gstbasesrc.c:
21739         * gst/base/gstbasesink.c:
21740         * gst/base/gstbasetransform.c:
21741         * gst/gstqueue.c: Adapt for pad activation changes.
21742
21743         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21744         sched.
21745         (gst_pipeline_dispose): Drop ref on sched.
21746
21747         * gst/gstpad.c (gst_pad_init): Set the default activate func.
21748         (gst_pad_activate_default): Push mode by default.
21749         (pre_activate_switch, post_activate_switch): New stubs, things to
21750         do before and after switching activation modes on pads.
21751         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21752         the pad's activate function to choose which mode to activate.
21753         Shortcut on deactivation and call the right function directly.
21754         (gst_pad_activate_pull): New API, (de)activates a pad in pull
21755         mode.
21756         (gst_pad_activate_push): New API, same for push mode.
21757         (gst_pad_set_activate_function) 
21758         (gst_pad_set_activatepull_function) 
21759         (gst_pad_set_activatepush_function): Setters for new API.
21760
21761         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21762         Trace all miniobjects.
21763         (gst_mini_object_make_writable): Unref the arg if we copy, like
21764         gst_caps_make_writable.
21765
21766         * gst/gstmessage.c (_gst_message_initialize): No trace init.
21767
21768         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
21769         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21770         Adapt for new pad API.
21771
21772         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21773
21774         * gst/gstelement.h:
21775         * gst/gstelement.c (gst_element_iterate_src_pads) 
21776         (gst_element_iterate_sink_pads): New API functions.
21777         
21778         * gst/gstelement.c (iterator_fold_with_resync): New utility,
21779         should fold into gstiterator.c in some form.
21780         (gst_element_pads_activate): Simplified via use of fold and
21781         delegation of decisions to gstpad->activate.
21782
21783         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21784         help in debugging.
21785
21786         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21787         class once in init, like gstmessage. Didn't run into this issue
21788         but it seems correct. Don't initialize a trace, gstminiobject does
21789         that.
21790
21791         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21792         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21793         to the bus.
21794         (assert_live_count): New util function, uses alloc traces to check
21795         cleanup.
21796
21797         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21798         To be modified when unlink drops the internal pad.
21799
21800 2005-06-27  Wim Taymans  <wim@fluendo.com>
21801
21802         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21803         (gst_bin_change_state):
21804         Cleanup the get_state() function a little, make sure it
21805         iterates the same set of elements.
21806         Added stub iterate_state_order().
21807
21808 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21809
21810         * docs/gst/gstreamer-docs.sgml:
21811         * docs/gst/gstreamer-sections.txt:
21812         * docs/gst/gstreamer.types:
21813         * docs/gst/tmpl/gstbasesink.sgml:
21814         * docs/gst/tmpl/gstbasesrc.sgml:
21815         * docs/gst/tmpl/gstbasetransform.sgml:
21816         * docs/gst/tmpl/gstelement.sgml:
21817         * docs/gst/tmpl/gstiterator.sgml:
21818         * gst/base/gstbasesrc.c:
21819         * gst/base/gstbasesrc.h:
21820         * gst/base/gstbasetransform.h:
21821         * gst/gstelement.c:
21822         * gst/gstiterator.h:
21823           adding basetransform and iterator docs
21824
21825 2005-06-27  Andy Wingo  <wingo@pobox.com>
21826
21827         * docs/design/part-activation.txt: Notes on how activation should
21828         work -- not quite implemented yet.
21829
21830 2005-06-25  Wim Taymans  <wim@fluendo.com>
21831
21832         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21833         At least get the chain function correct, needs more
21834         fixing.
21835
21836 2005-06-25  Wim Taymans  <wim@fluendo.com>
21837
21838         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21839         (gst_basesink_handle_object), (gst_basesink_event),
21840         (gst_basesink_do_sync), (gst_basesink_handle_event),
21841         (gst_basesink_change_state):
21842         * gst/gsttask.h:
21843         Right, two problems here: ghostpads don't take locks and
21844         glib _rec_mutex_lock_full() with depth==0 still locks.
21845         Catch illegal locking and g_warn them.
21846
21847 2005-06-25  Wim Taymans  <wim@fluendo.com>
21848
21849         * check/states/sinks.c: (START_TEST), (gst_object_suite):
21850         Have to check for completion now...
21851
21852 2005-06-25  Wim Taymans  <wim@fluendo.com>
21853
21854         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21855         (gst_basesink_handle_object), (gst_basesink_event),
21856         (gst_basesink_do_sync), (gst_basesink_handle_event),
21857         (gst_basesink_change_state):
21858         * gst/gstpad.h:
21859         Unlock STREAM_LOCK whatever the recursion was.
21860
21861 2005-06-25  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/base/gstbasesink.c: (gst_basesink_set_property),
21864         (gst_basesink_preroll_queue_empty),
21865         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21866         (gst_basesink_event), (gst_basesink_do_sync),
21867         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21868         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21869         (gst_basesink_change_state):
21870         Reworked the base sink, handle event and buffer serialisation
21871         correctly and removed possible deadlock.
21872         Handle EOS correctly.
21873
21874 2005-06-25  Wim Taymans  <wim@fluendo.com>
21875
21876         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21877         (gst_pipeline_change_state):
21878         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21879         Allow elements to post EOS in the state change function.
21880         Fix up -launch, make it exit the poll loop when the
21881         pipeline actually changed state.
21882         Fix up warning parsing in -launch.
21883
21884 2005-06-25  Wim Taymans  <wim@fluendo.com>
21885
21886         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21887         (gst_tee_sink_activate):
21888         Core takes STREAM_LOCK for us now.
21889
21890 2005-06-25  Wim Taymans  <wim@fluendo.com>
21891
21892         * gst/gstelement.c: (gst_element_get_state_func),
21893         (gst_element_set_state):
21894         * gst/gstelement.h:
21895         * gst/gstmessage.c: (gst_message_parse_error),
21896         (gst_message_parse_warning):
21897         Keep track of current target state while performing a state
21898         change so that subclasses can do something interesting.
21899         Fix parsing of warning/error messages when GError is NULL.
21900
21901 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21902
21903         * docs/gst/Makefile.am:
21904         * docs/gst/gstreamer-docs.sgml:
21905         * docs/gst/gstreamer-sections.txt:
21906         * docs/gst/gstreamer.types:
21907         * docs/gst/tmpl/gstbasesink.sgml:
21908         * docs/gst/tmpl/gstbasesrc.sgml:
21909         * docs/gst/tmpl/gstbin.sgml:
21910         * docs/gst/tmpl/gstcompat.sgml:
21911         * docs/gst/tmpl/gstfakesink.sgml:
21912         * docs/gst/tmpl/gstfakesrc.sgml:
21913         * docs/gst/tmpl/gstfilesink.sgml:
21914         * docs/gst/tmpl/gstfilesrc.sgml:
21915         * docs/gst/tmpl/gstindex.sgml:
21916         * docs/manual/appendix-quotes.xml:
21917         * gst/base/gstbasesrc.h:
21918         * gst/elements/gstfakesrc.h:
21919         * gst/gstmessage.h:
21920           start pulling in base classes and elements in our docs
21921
21922 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
21923
21924         * docs/gst/Makefile.am:
21925         * docs/libs/Makefile.am:
21926           fixed make distcheck with gtk-doc 1.3
21927
21928 2005-06-23  Wim Taymans  <wim@fluendo.com>
21929
21930         * gst/gstelement.c: (gst_element_get_state_func),
21931         (gst_element_set_state), (gst_element_change_state):
21932         When the state did not change, also report NO_PREROLL
21933         when it matters.
21934
21935 2005-06-23  Wim Taymans  <wim@fluendo.com>
21936
21937         * gst/gstpad.c: (gst_pad_event_default):
21938         * gst/gstqueue.c: (gst_queue_loop):
21939         No unsafe task pausing please.
21940
21941 2005-06-23  Wim Taymans  <wim@fluendo.com>
21942
21943         * gst/schedulers/threadscheduler.c:
21944         (gst_thread_scheduler_task_start),
21945         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21946         Ref the task before pushing it on the threadpool. This
21947         makes sure that we have a ref when the threadfunction is
21948         actually called.
21949
21950 2005-06-23  Andy Wingo  <wingo@pobox.com>
21951
21952         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21953         offset is greater than the file's size.
21954
21955         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
21956         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21957         * gst/gstobject.c (gst_object_class_init): Make the class lock
21958         recursive. Wim won't let me drop deep_notify. Decodebin works
21959         again, whoopdy doo.
21960
21961         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21962         internal pad, and hacks accordingly. Doesn't do it on the target
21963         pad because we change its caps. Probably catches all cases of
21964         interest tho.
21965         (gst_ghost_pad_set_property): Connect to notify::caps as
21966         appropritate.
21967
21968         * tests/network-clock.scm (plot-simulation): Pipe data to the
21969         elite python skript.
21970
21971         * tests/network-clock-utils.scm (define-parameter): New macro,
21972         defines a parameter that can be set via the command line.
21973         (set-parameter!, parse-parameter-arguments): Command line args
21974         parser.
21975
21976         * tests/plot-data: Simple matplotlib-based plotter, takes input on
21977         stdin.
21978
21979 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
21980
21981         * gst/elements/gsttypefindelement.c:
21982         (gst_type_find_element_handle_event):
21983           Don't restart typefinding on a discont.
21984         * gst/gstelement.c: (gst_element_set_state):
21985           Debug spelling fix.
21986         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21987           Allow changing mode of an active pad.
21988           Debug output fixes.
21989         * gst/registries/gstlibxmlregistry.c: (load_feature):
21990           Don't cast a static pad template to a normal pad template.
21991
21992 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21993
21994         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21995         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21996           remove gst_strtoll completely, since it didn't actually do
21997           anything more than what g_ascii_strtoull already does.
21998           check for range errors when deserializing
21999           do a cast for the unsigned cases; but further fixing needs
22000           a decision on what the interpretation of "(int)" and
22001           deserialization should be for values that fall outside the
22002           type's boundaries (ie, refuse, or interpret as casting)
22003
22004 2005-06-23  Wim Taymans  <wim@fluendo.com>
22005
22006         * check/Makefile.am:
22007         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22008         * docs/design/part-live-source.txt:
22009         * docs/design/part-states.txt:
22010         * gst/base/gstbasesrc.c: (gst_basesrc_init),
22011         (gst_basesrc_set_live), (gst_basesrc_is_live),
22012         (gst_basesrc_get_range), (gst_basesrc_activate),
22013         (gst_basesrc_change_state):
22014         * gst/base/gstbasesrc.h:
22015         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22016         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22017         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22018         * gst/gstelement.c: (gst_element_get_state_func),
22019         (gst_element_set_state):
22020         * gst/gstelement.h:
22021         * gst/gsttypes.h:
22022         * tools/gst-launch.c: (event_loop), (main):
22023         Added support for live sources and other elements that
22024         cannot do preroll.
22025         Updated design docs, added live-source design doc.
22026         Implemented live source functionality in basesrc
22027         Fix error condition in _bin_get_state()
22028         Implement live source handling in -launch.
22029         Added check for live sources.
22030         Fixed case in GstBin where elements were changed state
22031         multiple times.
22032
22033
22034 2005-06-23  Andy Wingo  <wingo@pobox.com>
22035
22036         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22037         borken refcounting.
22038
22039         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22040         gst_caps_replace takes care of this for us.
22041
22042         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22043         gst_pad_set_caps on the target, not just its setcaps() function.
22044
22045         * tests/network-clock.scm: 
22046         * tests/network-clock-utils.scm: A network clock simulator.
22047         Something of an algorithmic testbed before doing something in C.
22048
22049 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22050
22051         * check/Makefile.am:
22052         * check/gst/capslist.h:
22053           copy over from 0.8, and add two with bitmasks specified with
22054           (int) 0xFF...
22055         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22056           add test to parse everything from capslist.h
22057         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22058         (main):
22059           add test for structure deserialization
22060         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22061           add tests for deserialization of strings to int types
22062         * gst/gststructure.c: (gst_structure_nth_field_name):
22063         * gst/gststructure.h:
22064           add a way to get the name of a field referenced by index
22065         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22066           instead of checking if the resulting long long lies between
22067           min and max, we check if the long long would fit into
22068           a number of bytes for the final type.
22069           This fixes cases where a string represents 2^32 - 1, which
22070           when cast to int would be the (valid) -1, but is bigger than
22071           G_MAXINT
22072
22073 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22074
22075         * gst/parse/grammar.y:
22076           add a log line for type deserialization
22077
22078 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22079
22080         * check/gst/gstvalue.c: (START_TEST):
22081         * gst/gstvalue.c: (gst_value_deserialize):
22082           return long long, not int, so gint64 deserialization actually
22083           works.  Is there any flag that makes the compiler check this ?
22084           Fixes #308559
22085
22086 2005-06-22  Wim Taymans  <wim@fluendo.com>
22087
22088         * gst/gstbuffer.h:
22089         Added convenience macros for setting buffers in GValue.
22090
22091 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22092
22093         * check/gst/.cvsignore:
22094         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22095           add a test deserializing int64, and comment part out because
22096           it fails, yay !
22097
22098 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22099
22100         * check/Makefile.am:
22101         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22102         * testsuite/Makefile.am:
22103         * testsuite/caps/Makefile.am:
22104         * testsuite/caps/value_serialize.c:
22105         * testsuite/test_gst_init.c:
22106           move a value_serialize test over
22107
22108 2005-06-20  Wim Taymans  <wim@fluendo.com>
22109
22110         * gst/gstpad.c:
22111         Small doc updates.
22112         
22113         * gst/gstvalue.c: (gst_value_compare_buffer),
22114         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22115         (gst_value_compare_flags), (gst_value_serialize_flags),
22116         (gst_value_deserialize_flags), (_gst_value_initialize):
22117         Fix serialisation of buffers, they are not boxed types anymore
22118
22119 2005-06-20  Wim Taymans  <wim@fluendo.com>
22120
22121         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22122         Testcase to show error in buffer-on-caps serialisation.
22123
22124 2005-06-20  Andy Wingo  <wingo@pobox.com>
22125
22126         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22127         will be adding to later.
22128
22129         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22130         if its socks fill with rocks.
22131         (gst_system_clock_obtain): Set the name on object construction.
22132         Avoid double-checked locking.
22133
22134 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22135
22136         * gst/gsturi.c: (gst_element_make_from_uri):
22137           Fix potential endless loop.
22138
22139 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22140
22141         * check/Makefile.am:
22142           add gsttag
22143         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22144         (main):
22145           move over from testsuite dir and clean up
22146         * configure.ac:
22147         * gst/gsttag.c:
22148         * testsuite/Makefile.am:
22149         * testsuite/tags/.cvsignore:
22150         * testsuite/tags/Makefile.am:
22151         * testsuite/tags/merge.c:
22152           remove testsuite/tags
22153
22154 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22155
22156         * docs/gst/gstreamer-sections.txt:
22157         * docs/gst/tmpl/gstenumtypes.sgml:
22158         * win32/gstenumtypes.c:
22159           clean up documentation build a little
22160
22161 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22162
22163         * check/gstcheck.h:
22164           add macros for checking refcounts on objects and caps
22165         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22166           add some more unit tests
22167         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22168         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22169           fix leaked refcounts (I hope :)) so unittest works
22170         * gst/gstpad.h:
22171           whitespace removal
22172
22173 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22174
22175         * configure.ac: back to HEAD
22176
22177 === release 0.9.1 ===
22178
22179 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22180
22181         * NEWS:
22182         * RELEASE:
22183           updated
22184
22185 2005-06-17  Andy Wingo  <wingo@pobox.com>
22186
22187         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22188         assert; it's always possible that the pad gets deactivated in
22189         between the checks in gstpad.c and the implementation. Rely on
22190         finish_preroll() to return a FLUSHING or similar instead of on the
22191         assert.
22192         
22193         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22194         clock and post an EOS message if we come out of finish_preroll in
22195         the playing state.
22196
22197 2005-06-16  David Schleef  <ds@schleef.org>
22198
22199         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22200         (gst_capsfilter_set_property): Allow NULL as possible value
22201         for filter_caps property, indicating GST_CAPS_ANY.
22202
22203 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22204
22205         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22206           fix debug output
22207         * gst/schedulers/Makefile.am:
22208           use libgst prefix
22209         * gstreamer.spec.in:
22210           fix spec for it
22211
22212 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22213
22214         * gstreamer.spec.in:
22215           clean up
22216
22217 2005-06-08  Andy Wingo  <wingo@pobox.com>
22218
22219         * gst/gstutils.c: RPAD fixes all around.
22220         (gst_element_link_pads): Refcounting fixes.
22221
22222         * tools/gst-inspect.c:
22223         * tools/gst-xmlinspect.c:
22224         * parse/grammar.y:
22225         * gst/base/gsttypefindhelper.c:
22226         * gst/base/gstbasesink.c:
22227         * gst/gstqueue.c: RPAD fixes.
22228
22229         * gst/gstghostpad.h:
22230         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22231         pads. The tricky thing is they provide both source and sink
22232         interfaces, since they proxy the internal pad for the external
22233         pad, and vice versa. Implement with lower-level ProxyPad objects,
22234         with the interior proxy pad as a child of the exterior ghost pad.
22235         Should write a doc on this.
22236         
22237         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22238         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22239         gst_object API.
22240         
22241         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22242         pads are real pads. No ghost pads in this file. Not documenting
22243         the myriad s/RPAD/PAD/ and REALIZE fixes.
22244         (gst_pad_class_init): Add properties for "direction" and
22245         "template". Both are construct-only, so they can't change during
22246         the life of the pad. Fixes properly deriving from GstPad.
22247         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22248         derived objects, just set properties when creating the objects via
22249         g_object_new.
22250         (gst_pad_get_parent): Implement as a function, return NULL if the
22251         parent is not an element.
22252         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22253         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22254         
22255         * gst/gstobject.c (gst_object_class_init): Make name a construct
22256         property. Don't set it in the object init.
22257
22258         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22259         with UNKNOWN direction.
22260         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22261         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22262         (gst_element_remove_pad): Remove ghost-pad special cases.
22263         (gst_element_pads_activate): Remove rpad cruft.
22264
22265         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22266         catch the pad's-parent-not-an-element case.
22267
22268         * gst/gst.h: Include gstghostpad.h.
22269
22270         * gst/gst.c (init_post): No more real, ghost pads.
22271
22272         * gst/Makefile.am: Add gstghostpad.[ch].
22273
22274         * check/Makefile.am:
22275         * check/gst/gstbin.c:
22276         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22277         into a bin creates ghost pads, and that the refcounts are right.
22278         Partly moved from gstbin.c.
22279
22280 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22281
22282         * check/gst-libs/.cvsignore:
22283         * check/gst/.cvsignore:
22284         * check/pipelines/.cvsignore:
22285           ignore more
22286         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22287         (START_TEST), (cleanup_suite), (main):
22288           add some tests related to cleanup after running pipelines
22289
22290 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22291
22292         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22293           add a testsuite for GstBuffer
22294
22295 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22296
22297         * gst/gstminiobject.h:
22298           add defines for accessing the refcount
22299
22300 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22301
22302         * Makefile.am: added support for html unit test coverage reports
22303
22304 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22305
22306         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22307           Free existing caps if the capsfilter changes. Add a FIXME about
22308           setting those caps on the pads.
22309
22310         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22311           Before adding a ghost pad to a parent bin, check that there isn't
22312           already one for the element on the bin. Prevents infinite recursion
22313           when using decodebin in parse pipelines. Andy says he'll rewrite the
22314           way this works anyway, so ignore the hack.
22315
22316 2005-06-02  Andy Wingo  <wingo@pobox.com>
22317
22318         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22319         file size, pass it on to the type find helper.
22320
22321         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22322         segment_start and segment_end properly according to the seek
22323         method. Segment_end is still a bit flaky because offset can be
22324         negative for CUR and END cases, but it takes -1 as an "unset"
22325         value.
22326
22327 2005-06-02  Wim Taymans  <wim@fluendo.com>
22328
22329         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22330         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22331         (gst_basesink_activate):
22332         * gst/base/gstbasesink.h:
22333         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22334         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22335         (gst_pad_query), (gst_pad_start_task):
22336         * gst/gstpad.h:
22337         * gst/gstqueue.c: (gst_queue_bufferalloc),
22338         (gst_queue_handle_sink_event), (gst_queue_chain):
22339         Bufferalloc: return GstFlowReturn to more accuratly report
22340         why allocation failed.
22341
22342 2005-06-02  Wim Taymans  <wim@fluendo.com>
22343
22344         * gst/gstpipeline.c: (gst_pipeline_send_event):
22345         Take snapshot of state without blocking.
22346
22347 2005-06-02  Wim Taymans  <wim@fluendo.com>
22348
22349         * docs/design/part-TODO.txt:
22350         * docs/design/part-caps.txt:
22351         * docs/design/part-clocks.txt:
22352         * docs/design/part-negotiation.txt:
22353         * docs/design/part-preroll.txt:
22354         Small doc updates 
22355
22356 2005-05-30  Wim Taymans  <wim@fluendo.com>
22357
22358         * gst/elements/gstidentity.c: (gst_identity_event),
22359         (gst_identity_transform), (gst_identity_get_property):
22360         Protect last_message property as it is accessed from
22361         multiple threads.
22362
22363 2005-05-30  Wim Taymans  <wim@fluendo.com>
22364
22365         * gst/gstelement.c: (gst_element_init),
22366         (gst_element_pads_activate), (gst_element_change_state):
22367         Slicker pad activation code.
22368
22369 2005-05-30  Wim Taymans  <wim@fluendo.com>
22370
22371         * gst/Makefile.am:
22372         * gst/gstelement.h:
22373         * gst/gstelementfactory.h:
22374         * gst/gsttypes.h:
22375         Move elementfactory methods to separate .h file.
22376
22377 2005-05-30  Wim Taymans  <wim@fluendo.com>
22378
22379         * docs/design/part-overview.txt:
22380         * gst/gstsystemclock.h:
22381         Small typo fixes, doc updates.
22382
22383 2005-05-30  Wim Taymans  <wim@fluendo.com>
22384
22385         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22386         (init_popt_callback):
22387         Remove cpu-opt flag.
22388
22389 2005-05-30  Wim Taymans  <wim@fluendo.com>
22390
22391         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22392         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22393         * gst/gstbuffer.h:
22394         Avoid typechecking in places where not needed.
22395         Added accessor for malloc_data.
22396
22397 2005-05-30  Wim Taymans  <wim@fluendo.com>
22398
22399         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22400         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22401         (gst_pad_configure_sink), (gst_pad_configure_src),
22402         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22403         (gst_pad_start_task):
22404         Propagate errors from _set_caps() in configure_src/sink
22405         functions instead of returning TRUE.
22406         FLUSH events can travel up and downstream
22407
22408
22409 2005-05-30  Wim Taymans  <wim@fluendo.com>
22410
22411         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22412         (gst_basesink_activate):
22413         Handle EOS in preroll.
22414
22415 2005-05-30  Wim Taymans  <wim@fluendo.com>
22416
22417         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22418         (gst_queue_loop), (gst_queue_handle_src_event):
22419         Remove old pieces of code
22420         Flushing the queue in an upstream event is a very bad idea.
22421
22422 2005-05-26  Andy Wingo  <wingo@pobox.com>
22423
22424         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22425         gst_value_set_mini_object so as to add a ref on the object (which
22426         will be removed when the value is unset).
22427
22428         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22429         arg type in ::handoff.
22430
22431         * gst/gstelement.c (gst_element_change_state): Also deactivate
22432         pads in READY->NULL, just in case the element didn't make it to
22433         PAUSED. Wingo tested, Wim approved.
22434
22435 2005-05-26  Wim Taymans  <wim@fluendo.com>
22436
22437         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22438         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22439         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22440         A flushing pad cannot be used to alloc_buffer from.
22441
22442 2005-05-26  Wim Taymans  <wim@fluendo.com>
22443
22444         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22445         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22446         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22447         (gst_bus_create_watch), (gst_bus_add_watch_full):
22448         * gst/gstbus.h:
22449         Implement a real GSource and use g_main_context_wakeup() to
22450         signal new messages instead of the socketpair.
22451
22452 2005-05-25  Wim Taymans  <wim@fluendo.com>
22453
22454         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22455         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22456         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22457         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22458         (gst_pad_send_event), (gst_pad_start_task):
22459         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22460         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22461         (gst_queue_sink_activate), (gst_queue_src_activate),
22462         (gst_queue_change_state):
22463         * gst/gstqueue.h:
22464         Fix state changes for non sinks. We now change sinks, then elements
22465         with unconnected srcpads, then the rest.
22466         More efficient queue unlocking in flush and state changes.
22467         Set the pad activate mode even if it does not have an activate
22468         function.
22469
22470 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22471
22472         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22473           Don't go in pull mode for non-seekable sources.
22474         * gst/elements/gsttypefindelement.h:
22475         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22476         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22477         (free_entry), (stop_typefinding),
22478         (gst_type_find_element_handle_event), (find_peek),
22479         (gst_type_find_element_chain), (do_pull_typefind),
22480         (gst_type_find_element_change_state):
22481           Allow typefinding (w/o seeking) in push-mode, simplified version
22482           of what was in 0.8.
22483         * gst/gstutils.c: (gst_buffer_join):
22484         * gst/gstutils.h:
22485           gst_buffer_join() from 0.8.
22486
22487 2005-05-25  Wim Taymans  <wim@fluendo.com>
22488
22489         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22490         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22491         (gst_pad_send_event), (gst_pad_start_task):
22492         Disable attempt at mode switching until it is figured out.
22493
22494 2005-05-25  Wim Taymans  <wim@fluendo.com>
22495
22496         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22497         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22498         (gst_basesink_finish_preroll), (gst_basesink_chain),
22499         (gst_basesink_loop), (gst_basesink_activate),
22500         (gst_basesink_change_state):
22501         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22502         (gst_basesrc_get_range), (gst_basesrc_loop),
22503         (gst_basesrc_activate):
22504         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22505         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22506         (gst_real_pad_init), (gst_real_pad_set_property),
22507         (gst_real_pad_get_property), (gst_pad_set_active),
22508         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22509         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22510         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22511         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22512         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22513         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22514         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22515         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22516         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22517         (gst_pad_stop_task):
22518         * gst/gstpad.h:
22519         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22520         (gst_queue_loop), (gst_queue_src_activate):
22521         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22522         (gst_task_get_state):
22523         * gst/gsttask.h:
22524         * gst/schedulers/threadscheduler.c:
22525         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22526         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22527         in task function.
22528         Remove ACTIVE pad flag, use FLUSHING everywhere
22529         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22530         functions.
22531         Add locks around IS_FLUSHING when reading.
22532         Take STREAM lock in chain(), get_range() functions so plugins
22533         don't need to take it anymore.
22534         
22535
22536
22537 2005-05-25  Wim Taymans  <wim@fluendo.com>
22538
22539         * tools/gst-launch.c: (event_loop):
22540         Unref message after using its contents instead of
22541         before.
22542
22543 2005-05-24  Wim Taymans  <wim@fluendo.com>
22544
22545         * docs/design/draft-ghostpads.txt:
22546         * docs/design/draft-push-pull.txt:
22547         * docs/design/draft-query.txt:
22548         * docs/design/part-overview.txt:
22549         Docs updates, added general overview doc.
22550
22551 2005-05-21  David Schleef  <ds@schleef.org>
22552
22553         * docs/gst/tmpl/old/GstBin.sgml:
22554         * docs/gst/tmpl/old/GstBuffer.sgml:
22555         * docs/gst/tmpl/old/GstCaps.sgml:
22556         * docs/gst/tmpl/old/GstClock.sgml:
22557         * docs/gst/tmpl/old/GstCompat.sgml:
22558         * docs/gst/tmpl/old/GstData.sgml:
22559         * docs/gst/tmpl/old/GstElement.sgml:
22560         * docs/gst/tmpl/old/GstEvent.sgml:
22561         * docs/gst/tmpl/old/GstIndex.sgml:
22562         * docs/gst/tmpl/old/GstStructure.sgml:
22563         * docs/gst/tmpl/old/GstTag.sgml:
22564         * docs/gst/tmpl/old/cothreads.sgml:
22565         * docs/gst/tmpl/old/cothreads_compat.sgml:
22566         * docs/gst/tmpl/old/gettext.sgml:
22567         * docs/gst/tmpl/old/gobject2gtk.sgml:
22568         * docs/gst/tmpl/old/grammar.tab.sgml:
22569         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22570         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22571         * docs/gst/tmpl/old/gst_private.sgml:
22572         * docs/gst/tmpl/old/gstaggregator.sgml:
22573         * docs/gst/tmpl/old/gstarch.sgml:
22574         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22575         * docs/gst/tmpl/old/gstbufferstore.sgml:
22576         * docs/gst/tmpl/old/gstdata_private.sgml:
22577         * docs/gst/tmpl/old/gstdisksink.sgml:
22578         * docs/gst/tmpl/old/gstdisksrc.sgml:
22579         * docs/gst/tmpl/old/gstelementfactory.sgml:
22580         * docs/gst/tmpl/old/gstextratypes.sgml:
22581         * docs/gst/tmpl/old/gstfakesink.sgml:
22582         * docs/gst/tmpl/old/gstfakesrc.sgml:
22583         * docs/gst/tmpl/old/gstfdsink.sgml:
22584         * docs/gst/tmpl/old/gstfdsrc.sgml:
22585         * docs/gst/tmpl/old/gstfilesink.sgml:
22586         * docs/gst/tmpl/old/gstfilesrc.sgml:
22587         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22588         * docs/gst/tmpl/old/gstidentity.sgml:
22589         * docs/gst/tmpl/old/gstindexfactory.sgml:
22590         * docs/gst/tmpl/old/gstmarshal.sgml:
22591         * docs/gst/tmpl/old/gstmd5sink.sgml:
22592         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22593         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22594         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22595         * docs/gst/tmpl/old/gstpipefilter.sgml:
22596         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22597         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22598         * docs/gst/tmpl/old/gstshaper.sgml:
22599         * docs/gst/tmpl/old/gstspider.sgml:
22600         * docs/gst/tmpl/old/gstspideridentity.sgml:
22601         * docs/gst/tmpl/old/gststatistics.sgml:
22602         * docs/gst/tmpl/old/gsttee.sgml:
22603         * docs/gst/tmpl/old/gsttimecache.sgml:
22604         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22605         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22606         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22607         * docs/gst/tmpl/old/types.sgml:
22608           I didn't intend to add these or check them in.
22609
22610 2005-05-19  David Schleef  <ds@schleef.org>
22611
22612         * configure.ac: Use -no-common everywhere.  In a sane world, it
22613           would be the default in libtool, because without it, you can't
22614           build DLLs on Windows.
22615         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22616         * docs/gst/gstreamer-sections.txt:
22617         * docs/gst/tmpl/gstcpu.sgml:
22618         * docs/gst/tmpl/gstdata.sgml:
22619         * docs/gst/tmpl/gstthread.sgml:
22620
22621 2005-05-19  David Schleef  <ds@schleef.org>
22622
22623         * gst/gstminiobject.c: (gst_value_set_mini_object),
22624         (gst_value_take_mini_object), (gst_value_get_mini_object):
22625         * gst/gstminiobject.h: Add GValue set/get functions.
22626
22627 2005-05-19  Wim Taymans  <wim@fluendo.com>
22628
22629         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22630         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22631         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22632         * gst/gstbuffer.h:
22633         * gst/gstbus.c: (gst_bus_post):
22634         * gst/gstelement.c: (gst_element_get_random_pad):
22635         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22636         Make subbufer unref the parent in finalize.
22637         some more debugging info.
22638
22639
22640 2005-05-19  Wim Taymans  <wim@fluendo.com>
22641
22642         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22643         (gst_basesink_init), (gst_basesink_finalize),
22644         (gst_basesink_activate), (gst_basesink_change_state):
22645         Don't free preroll queue too early.
22646
22647 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22648
22649         * gst/Makefile.am:
22650         * gst/ROADMAP:
22651           Hi, I'm outdated. Please shoot me.
22652
22653 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22654
22655         * gst/gstpipeline.c: (gst_pipeline_send_event):
22656           Do not access variables after they have been deleted.
22657
22658 2005-05-19  Wim Taymans  <wim@fluendo.com>
22659
22660         * tools/gst-inspect.c: (print_plugin_features):
22661         A plugin feature does unfortunatly not use the
22662         object name yet...
22663
22664 2005-05-18  Wim Taymans  <wim@fluendo.com>
22665
22666         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22667         Port _span() functions to new subbuffers.
22668
22669 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22670
22671         * gst/gstbin.c: (gst_bin_add_func):
22672           Fix clock settery in bins when adding kids after the clock has
22673           been selected.
22674
22675 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22676
22677         * gst/elements/gstidentity.c: (gst_identity_class_init):
22678           Workaround until signals support GstMiniObject.
22679
22680 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
22681
22682         * gst/gstbuffer.c:
22683         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22684
22685 2005-05-18  Wim Taymans  <wim@fluendo.com>
22686
22687         * gst/base/Makefile.am:
22688         * gst/base/gstadapter.c: (gst_adapter_base_init),
22689         (gst_adapter_class_init), (gst_adapter_init),
22690         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22691         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22692         (gst_adapter_flush), (gst_adapter_available),
22693         (gst_adapter_available_fast):
22694         * gst/base/gstadapter.h:
22695         Ported and added adapter to the base classes.
22696
22697 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22698
22699         * gst/gst.c:
22700         * gst/gstmessage.c:
22701           Make sure the class is reffed/unreffed once before threads can be
22702           used.  Fixes #304551.
22703
22704 2005-05-17  Wim Taymans  <wim@fluendo.com>
22705
22706         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22707         (gst_basesink_chain_unlocked), (gst_basesink_activate):
22708         * gst/gstminiobject.c: (gst_mini_object_get_type),
22709         (gst_mini_object_free):
22710         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22711         (gst_pad_push), (gst_pad_push_event):
22712         * gst/gstqueue.c: (gst_queue_change_state):
22713         Don't queue buffers in basesink when we are flushing.
22714         Unref buffer when flushing in basesink.
22715         Flush queue when going to READY
22716         Unref buffer when _push() returns an error.
22717         Don't free MiniObject instance when refcount is incremented
22718         in _finalize() so that we can recover objects.
22719
22720 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22721
22722         * docs/manual/advanced-schedulers.xml:
22723         * docs/manual/appendix-checklist.xml:
22724         * docs/pwg/advanced-clock.xml:
22725         * docs/pwg/advanced-interfaces.xml:
22726         * docs/pwg/advanced-request.xml:
22727         * docs/pwg/advanced-types.xml:
22728         * docs/pwg/intro-preface.xml:
22729         * examples/plugins/example.c: (gst_example_get_type),
22730         (gst_example_class_init), (gst_example_chain),
22731         (gst_example_set_property), (gst_example_get_property),
22732         (gst_example_change_state), (plugin_init):
22733         * examples/plugins/example.h:
22734           small doc fixes
22735
22736 2005-05-17  Wim Taymans  <wim@fluendo.com>
22737
22738         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22739         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22740         * gst/gstqueue.c: (gst_queue_change_state):
22741         Clear queue when going to READY.
22742         Remove IN_SETCAPS flag too.
22743
22744 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
22745
22746         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22747           Remove implicit cast from gboolean to GstElementStateReturn;
22748           make sure we still return failure in paused => ready case if
22749           the parent class fails to change state and our own stop 
22750           vfunc succeeds.
22751
22752 2005-05-17  Wim Taymans  <wim@fluendo.com>
22753
22754         * tools/gst-launch.c: (event_loop):
22755         Message was unreffed too soon.
22756
22757 2005-05-16  Andy Wingo  <wingo@pobox.com>
22758
22759         * gst/gstbin.c (sink_iterator_filter): Err... um...
22760
22761         * check/gst/gstbin.c (test_ghost_pads): New test for the
22762         ghosting-if-elements-not-in-same-bin behavior.
22763
22764 2005-05-16  David Schleef  <ds@schleef.org>
22765
22766         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22767         accessing refcount directly.
22768
22769 2005-05-15  David Schleef  <ds@schleef.org>
22770
22771         * check/Makefile.am: remove GstData checks
22772         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22773         * gst/Makefile.am: add miniobject, remove data
22774         * gst/gst.h: add miniobject, remove data
22775         * gst/gstdata.c: remove
22776         * gst/gstdata.h: remove
22777         * gst/gstdata_private.h: remove
22778         * gst/gsttypes.h: remove GstEvent and GstMessage
22779         * gst/gstelement.c: (gst_element_post_message): fix for API changes
22780         * gst/gstmarshal.list: change BOXED -> OBJECT
22781
22782         Implement GstMiniObject.
22783         * gst/gstminiobject.c:
22784         * gst/gstminiobject.h:
22785
22786         Modify to be subclasses of GstMiniObject.
22787         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22788         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22789         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22790         (gst_subbuffer_get_type), (gst_subbuffer_init),
22791         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22792         (gst_buffer_span):
22793         * gst/gstbuffer.h:
22794         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22795         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22796         (_gst_event_copy), (gst_event_new):
22797         * gst/gstevent.h:
22798         * gst/gstmessage.c: (_gst_message_initialize),
22799         (gst_message_get_type), (gst_message_class_init),
22800         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22801         (gst_message_new), (gst_message_new_error),
22802         (gst_message_new_warning), (gst_message_new_tag),
22803         (gst_message_new_state_changed), (gst_message_new_application):
22804         * gst/gstmessage.h:
22805         * gst/gstprobe.c: (gst_probe_perform),
22806         (gst_probe_dispatcher_dispatch):
22807         * gst/gstprobe.h:
22808         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22809         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22810         (_gst_query_copy), (gst_query_new):
22811
22812         Update elements for GstData -> GstMiniObject changes
22813         * gst/gstquery.h:
22814         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22815         (gst_queue_chain), (gst_queue_loop):
22816         * gst/elements/gstbufferstore.c:
22817         (gst_buffer_store_add_buffer_func),
22818         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22819         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22820         (gst_fakesink_render):
22821         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22822         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22823         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22824         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22825         (gst_filesrc_create_read):
22826         * gst/elements/gstidentity.c: (gst_identity_class_init):
22827         * gst/elements/gsttypefindelement.c:
22828         (gst_type_find_element_src_event), (free_entry_buffers),
22829         (gst_type_find_element_handle_event):
22830         * libs/gst/dataprotocol/dataprotocol.c:
22831         (gst_dp_header_from_buffer):
22832         * libs/gst/dataprotocol/dataprotocol.h:
22833         * libs/gst/dataprotocol/dp-private.h:
22834
22835 2005-05-15  David Schleef  <ds@schleef.org>
22836
22837         * gst/elements/gstelements.c: Don't include headers that were
22838         just removed.
22839
22840 2005-05-15  David Schleef  <ds@schleef.org>
22841
22842         * gst/elements/Makefile.am: Remove some elements that don't
22843         need to be in the core (or even exist at all).
22844         * gst/elements/gstaggregator.c:
22845         * gst/elements/gstaggregator.h:
22846         * gst/elements/gstmd5sink.c:
22847         * gst/elements/gstmd5sink.h:
22848         * gst/elements/gstmultifilesrc.c:
22849         * gst/elements/gstmultifilesrc.h:
22850         * gst/elements/gstpipefilter.c:
22851         * gst/elements/gstpipefilter.h:
22852         * gst/elements/gstshaper.c:
22853         * gst/elements/gstshaper.h:
22854         * gst/elements/gststatistics.c:
22855         * gst/elements/gststatistics.h:
22856         * po/POTFILES.in: Remove above files.
22857
22858 2005-05-14  Andy Wingo  <wingo@pobox.com>
22859
22860         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22861         so as to get the refs right.
22862         (sink_iterator_filter): New function, wraps bin_element_is_sink,
22863         unreffing objects that don't pass the filter.
22864
22865         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22866         gst_element_set_bus.
22867         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22868         normal cases, this will destroy the bus.
22869
22870         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22871         object.
22872
22873         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22874         has no sinks.
22875
22876 2005-05-13  Andy Wingo  <wingo@pobox.com>
22877
22878         * gst/gstutils.c (gst_element_link_pads): Instead of calling
22879         gst_pad_link, call pad_link_maybe_ghosting,
22880         (pad_link_maybe_ghosting): Links pads, making sure that the
22881         elements being linked are in the same bin.
22882         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22883         Helpers for pad_link_maybe_ghosting.
22884
22885 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22886
22887         * configure.ac:
22888           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22889
22890 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22891
22892         * docs/design/part-element-source.txt:
22893           Mention GstPushSrc
22894
22895 2005-05-12  Wim Taymans  <wim@fluendo.com>
22896
22897         * gst/base/gstbasesink.c: (gst_basesink_init),
22898         (gst_basesink_activate):
22899         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22900         (gst_basesrc_is_seekable):
22901         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22902         (bin_element_is_sink), (gst_bin_change_state):
22903         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22904         * gst/gstelement.h:
22905         Identify sinks by their flag to avoid overly complicated
22906         checks (fow now).
22907         Do state changes even for elements not reachable from the
22908         sinks.
22909         BaseSink is a sink now :)
22910         Some more debugging info in the basesrc.
22911
22912
22913 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22914
22915         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22916           Implement _query on a bin, similar to _send_event.
22917
22918 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
22919
22920         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22921           Discont event offset format should be GST_FORMAT_BYTES,
22922           not GST_FORMAT_TIME.
22923
22924 2005-05-12  Wim Taymans  <wim@fluendo.com>
22925
22926         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22927         Same fix as Ronald's but without the signal. 
22928
22929 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22930
22931         * gst/gstutils.c: (gst_element_query_position):
22932           No, an element is not a pad.
22933
22934 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22935
22936         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22937         (gst_bin_get_state):
22938           If a child is removed from a bin while we remove the child from
22939           the bin and while we're retrieving its state, signal this to the
22940           get_state function so we abort the wait (instead of waiting for
22941           a timeout) and can immediately re-iterate over all other elements.
22942
22943 2005-05-12  Wim Taymans  <wim@fluendo.com>
22944
22945         * gst/base/Makefile.am:
22946         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22947         (gst_basesrc_start):
22948         * gst/base/gstbasesrc.h:
22949         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22950         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22951         (gst_pushsrc_init), (gst_pushsrc_create):
22952         * gst/base/gstpushsrc.h:
22953         Added is_seekable to BaseSrc
22954         Added simple PushSrc.
22955
22956 2005-05-11  Wim Taymans  <wim@fluendo.com>
22957
22958         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22959         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22960         (gst_element_link_pads), (gst_element_query_position),
22961         (gst_element_query_convert), (intersect_caps_func),
22962         (gst_pad_query_position), (gst_pad_query_convert):
22963         Fix refcounting in utils function.
22964         No point in trying to activate a pad when it's added, it could
22965         be added from the state change function and then we deadlock, the
22966         element has to decide what to do.
22967
22968 2005-05-10  Andy Wingo  <wingo@pobox.com>
22969
22970         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22971         *all* the arguments.
22972
22973         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22974         stream lock if it's a FLUSH_DONE; normal flushes don't get the
22975         lock (according to the docs -- if this is wrong change the docs).
22976
22977         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22978         flush messages in the NULL state.
22979
22980         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22981         message immediately and return.
22982         (gst_bus_set_flushing): New function. If a bus is flushing, it
22983         flushes out any queued messages and immediately unrefs new
22984         messages. This is so when an element goes to NULL, all of the
22985         unhandled messages coming from it can be freed, and their
22986         references to the element dropped. In other words: message source
22987         ref considered harmful :P
22988
22989         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22990         we're finished with it.
22991
22992         * gst/gstmessage.c (gst_message_new_state_changed): 
22993
22994 2005-05-10  Wim Taymans  <wim@fluendo.com>
22995
22996         * gst/gstvalue.c: (gst_value_compare_flags),
22997         (gst_value_serialize_flags), (gst_value_deserialize_flags),
22998         (_gst_value_initialize):
22999         Added flags serialize/deserialize/compare code.
23000
23001 2005-05-09  Andy Wingo  <wingo@pobox.com>
23002
23003         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23004         Intersect the peer's caps with our caps.
23005
23006 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23007
23008         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23009         * gst/elements/gsttypefindelement.c: (find_peek):
23010           Handle negative offsets better. Fixes decodebin.
23011
23012 2005-05-09  Wim Taymans  <wim@fluendo.com>
23013
23014         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23015         (gst_base_transform_event):
23016         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23017         Implement accept_caps.
23018         Fix silly lock/unlock mismatch in base class.
23019
23020 2005-05-09  Wim Taymans  <wim@fluendo.com>
23021
23022         * docs/design/draft-push-pull.txt:
23023         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23024         * gst/elements/gstfilesink.c: (gst_filesink_init),
23025         (gst_filesink_query):
23026         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23027         (gst_type_find_handle_src_query), (find_element_get_length):
23028         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23029         * gst/gstelement.h:
23030         * gst/gstmessage.c:
23031         * gst/gstmessage.h:
23032         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23033         (gst_real_pad_get_caps_unlocked),
23034         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23035         (gst_pad_event_default_dispatch), (gst_pad_event_default),
23036         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23037         (gst_real_pad_dispose), (gst_real_pad_finalize),
23038         (gst_pad_load_and_link), (gst_pad_save_thyself),
23039         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23040         (gst_pad_check_pull_range), (gst_pad_pull_range),
23041         (gst_pad_template_get_type), (gst_pad_template_class_init),
23042         (gst_pad_template_init), (gst_pad_template_dispose),
23043         (name_is_valid), (gst_static_pad_template_get),
23044         (gst_pad_template_new), (gst_static_pad_template_get_caps),
23045         (gst_pad_template_get_caps), (gst_pad_set_element_private),
23046         (gst_pad_get_element_private), (gst_pad_start_task),
23047         (gst_pad_pause_task), (gst_pad_stop_task),
23048         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23049         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23050         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23051         (gst_ghost_pad_new):
23052         * gst/gstpad.h:
23053         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23054         (gst_query_new_position), (gst_query_set_position),
23055         (gst_query_parse_position), (gst_query_new_convert),
23056         (gst_query_set_convert), (gst_query_parse_convert):
23057         * gst/gstquery.h:
23058         * gst/gstqueryutils.c:
23059         * gst/gstqueryutils.h:
23060         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23061         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23062         (gst_queue_handle_src_query):
23063         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23064         (gst_element_query_position), (gst_element_query_convert),
23065         (intersect_caps_func), (gst_pad_query_position),
23066         (gst_pad_query_convert):
23067         * gst/gstutils.h:
23068         * tools/gst-inspect.c: (print_pad_info):
23069         * tools/gst-xmlinspect.c: (print_element_info):
23070         Remove old query functions. Ported old code.
23071         Added position/convert helper functions to gstutils.
23072         Reordered gstpad.c code, grouping relevant things.
23073         Remove gst_message_new(), always need to speficy a specific
23074         message.
23075
23076
23077 2005-05-09  Andy Wingo  <wingo@pobox.com>
23078
23079         * gst/gstiterator.h: Add some includes.
23080
23081         * gst/gstqueryutils.h: Include more headers.
23082
23083         * gst/gstpad.h:
23084         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23085         some uses of gst_pad_query.
23086
23087         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23088         NULL out parameters.
23089         (gst_query_new_position): New proc, allocates a new position
23090         query.
23091
23092         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23093         gstqueryutils.c to the build.
23094
23095         * gst/gststructure.c (gst_structure_set_valist): Implement with
23096         the generic G_VALUE_COLLECT.
23097         
23098 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23099
23100         * gst/Makefile.am: (gst_headers):
23101         Added gstqueryutils.h to the list of headers to install, that was
23102         a 'nachty' move wingo :)
23103
23104 2005-05-06  Andy Wingo  <wingo@pobox.com>
23105
23106         * gst/gstquery.h
23107         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23108         GstData, init a memchunk.
23109         (standard_definitions): Add a few query types, deprecate a few.
23110         (gst_query_get_type): New proc.
23111         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23112         implementation.
23113         (gst_query_new_application, gst_query_get_structure): New public
23114         procs.
23115
23116         * docs/design/draft-query.txt: Removed LINKS from the query types,
23117         because all the rest can be dispatched to other pads -- seemed
23118         ugly to have a query that couldn't be dispatched. internal_links
23119         is fine as a pad method.
23120
23121         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23122         in gstpad.c, but maintain binary compatibility for the moment.
23123         Will fix before 0.9 is out.
23124
23125         * gst/gstqueryutils.c: 
23126         * gst/gstqueryutils.h: New files, implement 3 methods for each
23127         query type: parse_query, parse_response, and set. Probably need an
23128         allocator as well.
23129
23130         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23131
23132         * gst/elements/gstfilesink.c (gst_filesink_query2):
23133         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23134         query_types, and formats methods.
23135
23136         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23137         (gst_pad_set_query2_function): New functions.
23138         (gst_real_pad_init): Set query2_default as the default query2
23139         function. Basically just dispatches to internally linked pads.
23140
23141         Needs review!
23142         
23143         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23144         without using the atomic operations. Only one thread can possibly
23145         be accessing the data at this point. Changed so as to avoid
23146         gst_atomic operations.
23147
23148 2005-05-06  Wim Taymans  <wim@fluendo.com>
23149
23150         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23151         Also set caps if we use the fallback buffer alloc.
23152
23153 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23154
23155         * docs/gst/Makefile.am:
23156         * docs/gst/gstreamer-docs.sgml:
23157         * docs/gst/gstreamer-sections.txt:
23158         * docs/gst/tmpl/gstatomic.sgml:
23159         * docs/gst/tmpl/gstmemchunk.sgml:
23160         * testsuite/elements/struct_i386.h:
23161         * win32/GStreamer.vcproj:
23162         * win32/Makefile:
23163           Purge GstAtomic stuff from docs and win32 makefiles as well
23164
23165 2005-05-06  Wim Taymans  <wim@fluendo.com>
23166
23167         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23168         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23169         * gst/gstpad.c: (gst_pad_peer_get_caps):
23170         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23171         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23172         (gst_queue_src_activate), (gst_queue_change_state):
23173         * gst/gstqueue.h:
23174         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23175         (intersect_caps_func):
23176         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23177         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23178         Some fixes for the peer_get_caps() change.
23179
23180 2005-05-06  Wim Taymans  <wim@fluendo.com>
23181
23182         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23183         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23184         (gst_basesink_activate):
23185         Actually do something with error codes returned from the push
23186         functions.
23187
23188 2005-05-06  Wim Taymans  <wim@fluendo.com>
23189
23190         * docs/design/part-element-sink.txt:
23191         * docs/design/part-element-source.txt:
23192         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23193         (gst_basesink_event), (gst_basesink_activate):
23194         * gst/base/gstbasesink.h:
23195         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23196         (gst_basesrc_activate):
23197         * gst/base/gstbasesrc.h:
23198         * gst/gstelement.c: (gst_element_pads_activate):
23199         Some more documentation.
23200         Fixed scheduling decision in _pads_activate().
23201
23202 2005-05-05  Andy Wingo  <wingo@pobox.com>
23203
23204         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23205         the test suite.
23206
23207 2005-05-05  Wim Taymans  <wim@fluendo.com>
23208
23209         * gst/base/Makefile.am:
23210         * gst/base/gstbasesink.h:
23211         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23212         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23213         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23214         (gst_collectpads_class_init), (gst_collectpads_init),
23215         (gst_collectpads_finalize), (gst_collectpads_new),
23216         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23217         (find_pad), (gst_collectpads_remove_pad),
23218         (gst_collectpads_is_active), (gst_collectpads_collect),
23219         (gst_collectpads_collect_range), (gst_collectpads_start),
23220         (gst_collectpads_stop), (gst_collectpads_peek),
23221         (gst_collectpads_pop), (gst_collectpads_available),
23222         (gst_collectpads_read), (gst_collectpads_flush),
23223         (gst_collectpads_chain):
23224         * gst/base/gstcollectpads.h:
23225         * gst/elements/Makefile.am:
23226         * gst/elements/gstelements.c:
23227         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23228         (gst_fakesink_get_times), (gst_fakesink_event),
23229         (gst_fakesink_preroll), (gst_fakesink_render):
23230         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23231         (gst_filesink_init), (gst_filesink_set_location),
23232         (gst_filesink_open_file), (gst_filesink_close_file),
23233         (gst_filesink_pad_query), (gst_filesink_event),
23234         (gst_filesink_render), (gst_filesink_change_state):
23235         * gst/elements/gstfilesink.h:
23236         Added object to help in making collect pad based elements.
23237         Ported filesink.
23238         Make event function in sink baseclass return gboolean.
23239
23240 2005-05-05  Wim Taymans  <wim@fluendo.com>
23241
23242         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23243         (gst_bin_get_by_name):
23244         * gst/gstbuffer.h:
23245         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23246         (gst_clock_finalize):
23247         * gst/gstdata.c: (gst_data_replace):
23248         * gst/gstdata.h:
23249         * gst/gstelement.c: (gst_element_request_pad),
23250         (gst_element_pads_activate):
23251         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23252         (gst_object_unref):
23253         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23254         (gst_pad_set_checkgetrange_function),
23255         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23256         (gst_pad_check_pull_range), (gst_pad_pull_range),
23257         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23258         (gst_pad_pause_task), (gst_pad_stop_task):
23259         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23260         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23261         Fix name lookup in GstBin.
23262         Added _data_replace() function and _buffer_replace()
23263         Use finalize method to clean up clock.
23264         Fix refcounting on request pads.
23265         Fix pad schedule mode error.
23266         Some more object refcounting debug info,
23267
23268
23269 2005-05-04  Andy Wingo <wingo@pobox.com>
23270
23271         * check/Makefile.am:
23272         * docs/gst/tmpl/gstatomic.sgml:
23273         * docs/gst/tmpl/gstplugin.sgml:
23274         * gst/base/gstbasesink.c: (gst_basesink_activate):
23275         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23276         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23277         (gst_basesrc_query), (gst_basesrc_set_property),
23278         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23279         (gst_basesrc_activate):
23280         * gst/base/gstbasesrc.h:
23281         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23282         (gst_base_transform_src_activate):
23283         * gst/elements/gstelements.c:
23284         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23285         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23286         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23287         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23288         (gst_type_find_element_checkgetrange),
23289         (gst_type_find_element_activate):
23290         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23291         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23292         (gst_caps_load_thyself):
23293         * gst/gstelement.c: (gst_element_pads_activate),
23294         (gst_element_save_thyself), (gst_element_restore_thyself):
23295         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23296         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23297         * gst/gstpad.h:
23298         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23299         (gst_xml_parse_file), (gst_xml_parse_memory),
23300         (gst_xml_get_element), (gst_xml_make_element):
23301         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23302         (_file_index_id_save_xml), (gst_file_index_commit):
23303         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23304         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23305         (load_paths):
23306         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23307         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23308         * tools/gst-complete.c: (main):
23309         * tools/gst-compprep.c: (main):
23310         * tools/gst-inspect.c: (print_element_properties_info):
23311         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23312         * tools/gst-xmlinspect.c: (print_element_properties):
23313         GCC 4 fixen.
23314         
23315 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23316
23317         * gst/gstplugin.c: (gst_plugin_check_module),
23318         (gst_plugin_check_file), (gst_plugin_load_file):
23319             apply patch from #172526 to make register work on MacOSX
23320
23321 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23322
23323         * docs/gst/tmpl/gstconfig.sgml:
23324         * gst/gstconfig.h.in:
23325           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23326         * testsuite/debug/printf_extension.c: (main):
23327           Do not use GST_PTR_FORMAT on pointers to types with
23328           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23329         * testsuite/elements/property.h:
23330           use correct printf format
23331
23332 2005-05-02  Wim Taymans  <wim@fluendo.com>
23333
23334         * docs/design/draft-push-pull.txt:
23335         * docs/design/draft-query.txt:
23336         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23337         (gst_basesrc_start):
23338         Added draft for new query API.
23339         Added draft for better selecting scheduling methods.
23340         Make basesrc ignore length if the subclass does not support
23341         it.
23342
23343 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23344
23345         * gst/Makefile.am:
23346           possible fixes for automake-1.5 - _LIBADD is reserved
23347
23348 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23349
23350         * docs/faq/Makefile.am:
23351         * docs/manual/Makefile.am:
23352         * docs/manuals.mak:
23353         * docs/pwg/Makefile.am:
23354         * gst/Makefile.am:
23355           possible fixes for automake-1.5
23356
23357 2005-04-28  Wim Taymans  <wim@fluendo.com>
23358
23359         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23360         (gst_basesink_pad_getcaps), (gst_basesink_init),
23361         (gst_basesink_do_sync):
23362         * gst/gstclock.c: (gst_clock_entry_new):
23363         * gst/gstevent.c: (gst_event_discont_get_value):
23364         * gst/gstpipeline.c: (pipeline_bus_handler),
23365         (gst_pipeline_change_state):
23366         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23367         Better debugging of clocking info.
23368         Allow NULL values when getting discont values.
23369
23370 2005-04-27  Wim Taymans  <wim@fluendo.com>
23371
23372         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23373         * check/gst/gstpad.c: (gst_pad_suite):
23374         Increase timeout for checks.
23375
23376 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23377
23378         * check/Makefile.am:
23379           fix the broken rule for cleanup.  Apparently this rule is
23380           only needed on FC2, so maybe this warrants further autotool
23381           inspection.
23382
23383 2005-04-26  Wim Taymans  <wim@fluendo.com>
23384
23385         * gst/gsttrashstack.h:
23386         Ooohh. a nasty one! After having a failed pop() from the stack,
23387         it's possible that the stack is empty. In that case, don't
23388         follow the NULL pointer.
23389
23390 2005-04-25  Wim Taymans  <wim@fluendo.com>
23391
23392         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23393         (gst_pad_set_checkgetrange_function),
23394         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23395         (gst_pad_check_pull_range), (gst_pad_pull_range),
23396         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23397         (gst_pad_pause_task), (gst_pad_stop_task):
23398         * gst/gstplugin.c: (gst_plugin_load):
23399         * gst/gstplugin.h:
23400         Remove gst_library_load as it does more harm than good with
23401         the new g_module flags.
23402         Revert bogus caps template check in pad linking, pad caps
23403         are important when linking not the template, which is more
23404         general than the current caps.
23405
23406 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23407
23408         * gst/autoplug/.cvsignore:
23409         * gst/autoplug/Makefile.am:
23410         * gst/autoplug/gstsearchfuncs.c:
23411         * gst/autoplug/gstsearchfuncs.h:
23412         * gst/autoplug/gstspider.c:
23413         * gst/autoplug/gstspider.h:
23414         * gst/autoplug/gstspideridentity.c:
23415         * gst/autoplug/gstspideridentity.h:
23416         * gst/autoplug/spidertest.c:
23417           Die, spider, die.
23418
23419 2005-04-25  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23422         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23423         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23424         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23425         * gst/gstpad.h:
23426         Added stubs for unimplemented functions. 
23427
23428 2005-04-24  David Schleef  <ds@schleef.org>
23429
23430         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23431         please fix.
23432
23433 2005-04-24  David Schleef  <ds@schleef.org>
23434
23435         Convert everything from GstAtomicInt to g_atomic_int_*, and
23436         remove gstatomic.
23437         * gst/Makefile.am:
23438         * gst/gstatomic.c:
23439         * gst/gstatomic.h:
23440         * gst/gstatomic_impl.h:
23441         * gst/gstbuffer.c:
23442         * gst/gstcaps.c:
23443         * gst/gstcaps.h:
23444         * gst/gstclock.c:
23445         * gst/gstclock.h:
23446         * gst/gstdata.c:
23447         * gst/gstdata.h:
23448         * gst/gstdata_private.h:
23449         * gst/gstevent.c:
23450         * gst/gstinfo.c:
23451         * gst/gstinfo.h:
23452         * gst/gstmessage.c:
23453         * gst/gstobject.c:
23454         * gst/gstobject.h:
23455         * gst/gststructure.c:
23456         * gst/gststructure.h:
23457         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23458         * gst/gstutils.h:
23459
23460 2005-04-24  David Schleef  <ds@schleef.org>
23461
23462         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23463         make the regressions tests work.  Remove some code that is no
23464         longer true.
23465         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23466         Disable warning for pads without templates.
23467
23468 2005-04-24  David Schleef  <ds@schleef.org>
23469
23470         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23471         functions that handle filtered links.
23472         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23473         removed functions.
23474         * gst/gstutils.c: Fix/remove utility functions that handle
23475         filtered caps.
23476         * gst/gstutils.h:
23477         * gst/gstvalue.c: Add serialization/deserialization of caps
23478         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23479         requires fixing so that the filter caps notation creates
23480         a capsfilter element and sets the filter_caps property.  I
23481         think everyone probably wants to keep the shorthand notation.
23482         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23483         * docs/gst/tmpl/gstpad.sgml:
23484
23485         * gst/elements/gstelements.c: Register capsfilter element.
23486         * gst/Makefile.am: fix spacing
23487         * docs/random/ds/0.9-suggested-changes: random
23488
23489 2005-04-23  David Schleef  <ds@schleef.org>
23490
23491         * gst/elements/Makefile.am:
23492         * gst/elements/gstcapsfilter.c: New element that acts like an
23493         identity, but filters caps.  Will eventually replace filtered
23494         caps in pad linking.
23495         * gst/gstutils.c: (gst_element_create_all_pads): New function
23496         to create all the ALWAYS pads that are registered with an
23497         element class.  This functionality should eventually be
23498         merged in with GstElement initialization.
23499         * gst/gstutils.h:
23500         * testsuite/trigger/README: part of trigger test code that should
23501         have been checked in a long time ago.
23502
23503 2005-04-23  David Schleef  <ds@schleef.org>
23504
23505         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23506         needed with new versions of libtool (nobody will confirm this),
23507         and hard to carry around.
23508         * gst/autoplug/Makefile.am:
23509         * gst/base/Makefile.am:
23510         * gst/elements/Makefile.am:
23511         * gst/indexers/Makefile.am:
23512         * gst/schedulers/Makefile.am:
23513         * libs/gst/bytestream/Makefile.am:
23514         * libs/gst/control/Makefile.am:
23515         * libs/gst/dataprotocol/Makefile.am:
23516         * libs/gst/getbits/Makefile.am:
23517
23518 2005-04-21  Wim Taymans  <wim@fluendo.com>
23519
23520         * docs/design/draft-push-pull.txt:
23521         * docs/design/part-MT-refcounting.txt:
23522         * docs/design/part-TODO.txt:
23523         * docs/design/part-caps.txt:
23524         * docs/design/part-events.txt:
23525         * docs/design/part-gstbus.txt:
23526         * docs/design/part-gstpipeline.txt:
23527         * docs/design/part-messages.txt:
23528         * docs/design/part-push-pull.txt:
23529         * docs/design/part-query.txt:
23530         Some more docs.
23531
23532 2005-04-21  Wim Taymans  <wim@fluendo.com>
23533
23534         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23535         (gst_message_new), (gst_message_new_error),
23536         (gst_message_new_warning), (gst_message_new_tag),
23537         (gst_message_new_state_changed), (gst_message_new_application),
23538         (gst_message_get_structure):
23539         * gst/gstmessage.h:
23540         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23541         (gst_structure_copy_conditional):
23542         Use parent refcount in GstMessage to ensure GstStructure
23543         consistency.
23544         Cleaned up headers a bit.
23545         
23546
23547 2005-04-20  Wim Taymans  <wim@fluendo.com>
23548
23549         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23550         (gst_basesink_pad_getcaps), (gst_basesink_init),
23551         (gst_basesink_chain_unlocked):
23552         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23553         (gst_type_find_helper):
23554         * gst/elements/gsttypefindelement.c:
23555         (gst_type_find_element_have_type), (gst_type_find_element_init),
23556         (stop_typefinding), (gst_type_find_element_handle_event),
23557         (find_suggest), (gst_type_find_element_chain),
23558         (gst_type_find_element_checkgetrange),
23559         (gst_type_find_element_getrange), (do_typefind),
23560         (gst_type_find_element_activate):
23561         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23562         (gst_buffer_default_free), (gst_buffer_default_copy),
23563         (gst_buffer_set_caps):
23564         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23565         (gst_caps_replace):
23566         * gst/gstmessage.c: (gst_message_new),
23567         (gst_message_new_state_changed):
23568         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23569         (gst_pad_set_checkgetrange_function),
23570         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23571         (gst_pad_set_caps), (gst_pad_check_pull_range),
23572         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23573         * gst/gstpad.h:
23574         * gst/gsttypefind.c: (gst_type_find_register):
23575         Make gst_caps_replace() work like other _replace() functions.
23576         Use _caps_replace() where possible.
23577         Make sure _message_new() initialises its field.
23578         Add gst_static_pad_template_get_caps()
23579
23580
23581 2005-04-18  Andy Wingo  <wingo@pobox.com>
23582
23583         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23584         on the peer, not the pad. I think that was a typo. Pass an extra
23585         arg to see if random access is possible. Activate the pads as
23586         PULL_RANGE if possible.
23587
23588         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23589
23590         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23591         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23592         to PROP_....
23593
23594 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23595
23596         * docs/faq/using.xml:
23597           Add note on gstreamer-properties (#154996).
23598
23599 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23600
23601         * docs/random/bbb/optional-properties:
23602           Some analysis on optional properties.
23603
23604 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23605
23606         * docs/gst/tmpl/gstelementfactory.sgml:
23607         * gst/gstelement.h:
23608         * gst/gstelementfactory.c: (gst_element_factory_init),
23609         (gst_element_factory_cleanup), (gst_element_register),
23610         (__gst_element_factory_add_static_pad_template),
23611         (gst_element_factory_get_static_pad_templates),
23612         (gst_element_factory_can_src_caps),
23613         (gst_element_factory_can_sink_caps):
23614         * gst/registries/Makefile.am:
23615         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23616         (gst_xml_registry_class_init), (gst_xml_registry_init),
23617         (gst_xml_registry_new), (gst_xml_registry_set_property),
23618         (gst_xml_registry_get_property), (get_time), (make_dir),
23619         (gst_xml_registry_get_perms_func),
23620         (plugin_times_older_than_recurse), (plugin_times_older_than),
23621         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23622         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23623         (add_to_char_array), (read_string), (read_uint), (read_enum),
23624         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23625         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23626         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23627         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23628         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23629         (gst_xml_registry_rebuild):
23630         * gst/registries/gstlibxmlregistry.h:
23631         * tools/gst-compprep.c: (main):
23632         * tools/gst-inspect.c: (print_pad_templates_info):
23633         * tools/gst-xmlinspect.c: (print_element_info):
23634           Use libxml2 for registry parsing, use staticpadtemplates in
23635           elementfactories. Makes gst_init() +/- 10x faster.
23636
23637 2005-04-12  Wim Taymans  <wim@fluendo.com>
23638
23639         * gst/base/Makefile.am:
23640         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23641         (gst_basesink_pad_getcaps), (gst_basesink_init),
23642         (gst_basesink_event), (gst_basesink_change_state):
23643         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23644         (gst_basesrc_init), (gst_basesrc_query),
23645         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23646         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23647         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23648         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23649         (gst_basesrc_stop), (gst_basesrc_activate),
23650         (gst_basesrc_change_state):
23651         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23652         (helper_find_suggest), (gst_type_find_helper):
23653         * gst/base/gsttypefindhelper.h:
23654         * gst/elements/Makefile.am:
23655         * gst/elements/gstelements.c:
23656         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23657         (gst_fakesink_get_times), (gst_fakesink_event),
23658         (gst_fakesink_preroll), (gst_fakesink_render):
23659         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23660         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23661         (gst_fakesrc_get_property), (gst_fakesrc_create),
23662         (gst_fakesrc_start), (gst_fakesrc_stop):
23663         * gst/elements/gstfakesrc.h:
23664         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23665         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23666         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23667         (gst_filesrc_create_read), (gst_filesrc_create),
23668         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23669         (gst_filesrc_start):
23670         * gst/elements/gsttypefindelement.c:
23671         (gst_type_find_element_have_type), (gst_type_find_element_init),
23672         (start_typefinding), (stop_typefinding), (push_buffer_store),
23673         (gst_type_find_element_handle_event),
23674         (gst_type_find_element_chain),
23675         (gst_type_find_element_checkgetrange),
23676         (gst_type_find_element_getrange), (do_typefind),
23677         (gst_type_find_element_activate),
23678         (gst_type_find_element_change_state):
23679         * gst/elements/gsttypefindelement.h:
23680         * gst/gstpipeline.c: (pipeline_bus_handler):
23681         Added typefind helper.
23682         Small preroll fix in the base sink.
23683         Disable typefind code in basesrc.
23684         Crude port of typefindelement.
23685         Fakesrc cleanups.
23686
23687
23688 2005-04-11  Wim Taymans  <wim@fluendo.com>
23689
23690         * check/gst/gstbus.c: (gstbus_suite):
23691         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23692         * check/gstcheck.h:
23693           Fix up the timeout so that the test does not fail.
23694
23695 2005-04-06  Wim Taymans  <wim@fluendo.com>
23696
23697         * gst/base/README:
23698         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23699         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23700         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23701         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23702         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23703         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23704         (gst_basesrc_stop), (gst_basesrc_activate),
23705         (gst_basesrc_change_state), (basesrc_find_peek),
23706         (basesrc_find_suggest), (gst_basesrc_type_find):
23707         * gst/base/gstbasesrc.h:
23708         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23709         (gst_filesrc_class_init), (gst_filesrc_init),
23710         (gst_filesrc_finalize), (gst_filesrc_set_location),
23711         (gst_filesrc_set_property), (gst_filesrc_get_property),
23712         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23713         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23714         (gst_filesrc_create_read), (gst_filesrc_create),
23715         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23716         * gst/elements/gstfilesrc.h:
23717         * gst/gstelement.c: (gst_element_get_state_func),
23718         (gst_element_lost_state), (gst_element_pads_activate):
23719         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23720         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23721         (gst_pad_pull_range):
23722         * gst/gstpad.h:
23723         More work on the generic source base class, implement seeking,
23724         query.
23725         Make filesrc extend the base source class.
23726         Added gst_pad_set_checkgetrange_function to GstPad.
23727
23728 2005-04-06  Andy Wingo  <wingo@pobox.com>
23729
23730         * pkgconfig/gstreamer-base.pc.in:
23731         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23732
23733         * pkgconfig/Makefile.am:
23734         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23735
23736 2005-04-04  Wim Taymans  <wim@fluendo.com>
23737
23738         * gst/base/Makefile.am:
23739         * gst/base/README:
23740         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23741         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23742         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23743         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23744         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23745         (gst_basesrc_base_init), (gst_basesrc_class_init),
23746         (gst_basesrc_init), (gst_basesrc_get_formats),
23747         (gst_basesrc_get_query_types), (gst_basesrc_query),
23748         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23749         (gst_basesrc_set_property), (gst_basesrc_get_property),
23750         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23751         (gst_basesrc_loop), (gst_basesrc_activate),
23752         (gst_basesrc_change_state):
23753         * gst/base/gstbasesrc.h:
23754         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23755         (gst_fakesrc_class_init), (gst_fakesrc_init),
23756         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23757         (gst_fakesrc_get_property), (gst_fakesrc_create):
23758         * gst/elements/gstfakesrc.h:
23759         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23760         (gst_filesrc_open_file), (gst_filesrc_loop),
23761         (gst_filesrc_activate), (filesrc_find_peek),
23762         (gst_filesrc_type_find):
23763         Made base source class, make fakesrc extend it.
23764         Add comments to basesink class.
23765         Some filesrc cleanup.
23766
23767 2005-03-31  David Schleef  <ds@schleef.org>
23768
23769         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23770         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23771         expected to link against libgstreamer.
23772         * gst/base/Makefile.am: link against libgstreamer
23773         * gst/elements/Makefile.am: same
23774
23775 2005-03-31  Andy Wingo  <wingo@pobox.com>
23776
23777         * tests/instantiate/Makefile.am:
23778         * tests/instantiate/caps.c: Add test to test speed of caps copy
23779         and free.
23780
23781         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23782         GMemChunk to be fair.
23783
23784         * gst/gsttrashstack.h: Remove warning about using the fallback
23785         trash stack implementation, it's still faster than malloc.
23786
23787 2005-03-30  Andy Wingo  <wingo@pobox.com>
23788
23789         * tests/complexity.c: Add a copyright.
23790
23791 2005-03-31  Wim Taymans  <wim@fluendo.com>
23792
23793         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23794         (gst_base_transform_class_init), (gst_base_transform_init),
23795         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23796         (gst_base_transform_get_property),
23797         (gst_base_transform_sink_activate),
23798         (gst_base_transform_src_activate),
23799         (gst_base_transform_change_state):
23800         * gst/base/gstbasetransform.h:
23801         * gst/elements/gstidentity.c: (gst_identity_class_init),
23802         (gst_identity_event), (gst_identity_check_perfect),
23803         (gst_identity_transform), (gst_identity_start),
23804         (gst_identity_stop):
23805         Added start/stop methods to transform base class so subclasses 
23806         don't need to deal with state changes even.
23807
23808 2005-03-31  Wim Taymans  <wim@fluendo.com>
23809
23810         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23811         (gst_event_new_discontinuous), (gst_event_discont_get_value):
23812         * gst/gstevent.h:
23813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23814         (gst_pad_pull_range):
23815         Added rate to the discont event to prepare for variable speed
23816         and reverse playback.
23817
23818 2005-03-29  David Schleef  <ds@schleef.org>
23819
23820         * configure.ac:
23821         * testsuite/trigger/Makefile.am:
23822         * testsuite/trigger/trigger.c: A little example program to show
23823         how trigger-based elements can work.
23824
23825 2005-03-29  Wim Taymans  <wim@fluendo.com>
23826
23827         * gst/base/Makefile.am:
23828         * gst/base/README:
23829         * gst/base/gstbasesink.c: (gst_basesink_get_type),
23830         (gst_basesink_base_init), (gst_basesink_class_init),
23831         (gst_basesink_pad_getcaps), (gst_basesink_init),
23832         (gst_basesink_activate), (gst_basesink_change_state):
23833         * gst/base/gstbasesink.h:
23834         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23835         (gst_base_transform_base_init), (gst_base_transform_finalize),
23836         (gst_base_transform_class_init), (gst_base_transform_init),
23837         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23838         (gst_base_transform_event), (gst_base_transform_getrange),
23839         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23840         (gst_base_transform_set_property),
23841         (gst_base_transform_get_property),
23842         (gst_base_transform_sink_activate),
23843         (gst_base_transform_src_activate),
23844         (gst_base_transform_change_state):
23845         * gst/base/gstbasetransform.h:
23846         * gst/elements/gstidentity.c: (gst_identity_finalize),
23847         (gst_identity_class_init), (gst_identity_init),
23848         (gst_identity_event), (gst_identity_check_perfect),
23849         (gst_identity_transform), (gst_identity_set_property),
23850         (gst_identity_get_property), (gst_identity_change_state):
23851         * gst/elements/gstidentity.h:
23852         * gst/gstelement.c: (gst_element_get_state_func),
23853         (gst_element_lost_state), (gst_element_pads_activate):
23854         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23855         (gst_pad_check_pull_range), (gst_pad_pull_range):
23856         * gst/gstpad.h:
23857         Simplify pad activation.
23858         Added function to check if pull_range can be performed.
23859         Error out when pulling inactive or flushing pads.
23860         Removed const from refcounted types as it does not make sense.
23861         Simplify pad templates in basesink
23862         Added base class for simple 1-to-1 transforms.
23863         Make identity subclass the base transform.
23864
23865 2005-03-29  Andy Wingo  <wingo@pobox.com>
23866
23867         * docs/libs/gstreamer-libs-overrides.txt: 
23868         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23869         really don't understand what's going on, but like whatever. I want
23870         green buildbot!
23871
23872         * docs/gst/Makefile.am:
23873         * docs/libs/Makefile.am: Dist the overrides files.
23874
23875         * check/Makefile.am (clean-local): Remove .libs directories.
23876
23877         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23878         elements to EXTRA_DIST, so po/ files are happy.
23879
23880         * po/POTFILES.in: Er, remove it here.
23881
23882         * po/POTFILES: Remove gstspider.c.
23883
23884         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23885
23886         * docs/libs/gstreamer-libs-docs.sgml: 
23887         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23888         bytestream.
23889
23890         * tests/complexity.c (main): Set the length of the preroll queue
23891         on the sinks to prevent a lockup.
23892
23893         * libs/gst/dataprotocol/Makefile.am: 
23894         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23895         the same as the one in check/gst-libs/gdp.c.
23896
23897         * po/, docs/gst/: Commit automatic changes to docs and po files.
23898
23899         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23900         the versioned libgstbase.
23901
23902         * check/Makefile.am: Depend on an unversioned gst-register, seems
23903         to make autoconf happier.
23904
23905         * gst/base/Makefile.am: Make libgstbase a versioned lib.
23906
23907 2005-03-28  Wim Taymans  <wim@fluendo.com>
23908
23909         * configure.ac:
23910         * docs/design/part-gstelement.txt:
23911         * docs/design/part-negotiation.txt:
23912         * docs/design/part-preroll.txt:
23913         * docs/design/part-scheduling.txt:
23914         * docs/design/part-states.txt:
23915         * gst/Makefile.am:
23916         * gst/base/Makefile.am:
23917         * gst/base/README:
23918         * gst/base/gstbasesink.c: (gst_basesink_get_template),
23919         (gst_basesink_base_init), (gst_basesink_class_init),
23920         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23921         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23922         (gst_basesink_set_pad_functions),
23923         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23924         (gst_basesink_set_property), (gst_basesink_get_property),
23925         (gst_base_sink_get_template), (gst_base_sink_get_caps),
23926         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23927         (gst_basesink_preroll_queue_push),
23928         (gst_basesink_preroll_queue_empty),
23929         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23930         (gst_basesink_event), (gst_basesink_get_times),
23931         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23932         (gst_basesink_chain_unlocked), (gst_basesink_chain),
23933         (gst_basesink_loop), (gst_basesink_activate),
23934         (gst_basesink_change_state):
23935         * gst/base/gstbasesink.h:
23936         * gst/elements/Makefile.am:
23937         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23938         (gst_fakesink_class_init), (gst_fakesink_init),
23939         (gst_fakesink_set_property), (gst_fakesink_get_property),
23940         (gst_fakesink_get_times), (gst_fakesink_event),
23941         (gst_fakesink_preroll), (gst_fakesink_render),
23942         (gst_fakesink_change_state):
23943         * gst/elements/gstfakesink.h:
23944         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23945         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23946         * gst/gstelement.c: (gst_element_add_pad),
23947         (gst_element_get_state_func), (gst_element_abort_state),
23948         (gst_element_commit_state), (gst_element_lost_state),
23949         (gst_element_set_state), (gst_element_pads_activate):
23950         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23951         * gst/gstpipeline.c: (gst_pipeline_send_event),
23952         (gst_pipeline_change_state):
23953         Added state change code.
23954         Added/updated docs.
23955         Added sink base class, make fakesink extend the base class.
23956         Small cleanups in GstPipeline.
23957
23958 2005-03-26  David Schleef  <ds@schleef.org>
23959
23960         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
23961         is broken and should be implemented in a different library.
23962         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23963         * gst/gst.h: remove gstcpu.h
23964         * gst/gstcpu.c: remove
23965         * gst/gstcpu.h: remove
23966         * gst/Makefile.am.future: Remove this file.  It's ancient.
23967
23968 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23969
23970         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23971         (gst_bin_send_event):
23972           Add default event/set_manager handlers. The set_manager handler
23973           takes care that the manager is distributed over kids that were
23974           already in the bin before the manager was set. The event handler
23975           is a utility virtual function that sends the event over all sinks,
23976           so that gst_element_send_event (bin, event); has the expected
23977           behaviour.
23978         * gst/gstpad.c: (gst_pad_event_default):
23979           Re-install default event handling for discontinuities, so that
23980           seeking works without requiring hacks in applications or extra
23981           code in sinks.
23982         * gst/gstpipeline.c: (gst_pipeline_class_init),
23983         (gst_pipeline_send_event):
23984           Half hack, half utility: set a pipeline to PAUSED for seek events,
23985           since that is the only way we can guarantee a/v sync. Means that
23986           you can do gst_element_seek (pipeline, method, pos); on a pipeline
23987           and it "just works".
23988
23989 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23990
23991         * gst/gstpipeline.c: (gst_pipeline_use_clock):
23992           Lock/unlock mismatch.
23993
23994 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23995
23996         * docs/faq/gst-uninstalled:
23997           add gst-plugins-base
23998         * docs/gst/Makefile.am:
23999           don't error out until docs are fixed
24000         * docs/gst/gstreamer.types:
24001           remove thread
24002
24003 2005-03-22  Wim Taymans  <wim@fluendo.com>
24004
24005         * check/Makefile.am:
24006         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24007         * gst/gststructure.c: (gst_structure_set_valist),
24008         (gst_structure_copy_conditional):
24009         Activated more tests.
24010         Added message test.
24011         Added G_TYPE_POINTER to GstStructure.
24012         
24013
24014 2005-03-22  Wim Taymans  <wim@fluendo.com>
24015
24016         * docs/design/part-TODO.txt:
24017         * docs/design/part-events.txt:
24018         * docs/design/part-gstbin.txt:
24019         * docs/design/part-gstbus.txt:
24020         * docs/design/part-gstpipeline.txt:
24021         * docs/design/part-messages.txt:
24022         * gst/gstbus.c:
24023         * gst/gstmessage.c:
24024         Docs updates
24025
24026 2005-03-21  Wim Taymans  <wim@fluendo.com>
24027
24028         * gst/gstbus.c: (gst_bus_post):
24029         Fix copy-and-paste error.
24030
24031 2005-03-21  Wim Taymans  <wim@fluendo.com>
24032
24033         * check/Makefile.am:
24034         * gst/Makefile.am:
24035         * gst/elements/Makefile.am:
24036         * gst/elements/gstelements.c:
24037         * gst/elements/gstfakesink.c: (gst_fakesink_init),
24038         (gst_fakesink_event), (gst_fakesink_chain):
24039         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24040         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24041         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24042         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24043         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24044         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24045         (gst_fakesrc_loop), (gst_fakesrc_activate),
24046         (gst_fakesrc_change_state):
24047         * gst/elements/gstfakesrc.h:
24048         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24049         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24050         (gst_filesrc_open_file), (gst_filesrc_loop),
24051         (gst_filesrc_activate), (gst_filesrc_change_state),
24052         (filesrc_find_peek), (filesrc_find_suggest),
24053         (gst_filesrc_type_find):
24054         * gst/elements/gstidentity.c: (gst_identity_finalize),
24055         (gst_identity_class_init), (gst_identity_init),
24056         (gst_identity_proxy_getcaps), (identity_queue_push),
24057         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24058         (gst_identity_getrange), (gst_identity_chain),
24059         (gst_identity_sink_loop), (gst_identity_src_loop),
24060         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24061         (gst_identity_set_property), (gst_identity_get_property),
24062         (gst_identity_change_state):
24063         * gst/elements/gstidentity.h:
24064         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24065         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24066         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24067         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24068         (gst_tee_sink_activate):
24069         * gst/elements/gsttee.h:
24070         * gst/gst.c: (gst_register_core_elements), (init_post):
24071         * gst/gst.h:
24072         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24073         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24074         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24075         (gst_bin_change_state):
24076         * gst/gstbin.h:
24077         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24078         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24079         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24080         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24081         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24082         (bus_watch_callback), (bus_watch_destroy),
24083         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24084         (poll_timeout), (gst_bus_poll):
24085         * gst/gstbus.h:
24086         * gst/gstcaps.h:
24087         * gst/gstdata.h:
24088         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24089         (gst_element_post_message), (gst_element_message_full),
24090         (gst_element_get_state_func), (gst_element_get_state),
24091         (gst_element_abort_state), (gst_element_commit_state),
24092         (gst_element_lost_state), (gst_element_set_state),
24093         (gst_element_pads_activate), (gst_element_change_state),
24094         (gst_element_dispose), (gst_element_set_manager_func),
24095         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24096         (gst_element_set_manager), (gst_element_get_manager),
24097         (gst_element_set_bus), (gst_element_get_bus),
24098         (gst_element_set_scheduler), (gst_element_get_scheduler):
24099         * gst/gstelement.h:
24100         * gst/gstevent.c: (gst_event_new_segment_seek),
24101         (gst_event_new_flush):
24102         * gst/gstevent.h:
24103         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24104         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24105         (gst_message_new_eos), (gst_message_new_error),
24106         (gst_message_new_warning), (gst_message_new_tag),
24107         (gst_message_new_state_changed), (gst_message_new_application),
24108         (gst_message_get_structure), (gst_message_parse_tag),
24109         (gst_message_parse_state_changed), (gst_message_parse_error),
24110         (gst_message_parse_warning):
24111         * gst/gstmessage.h:
24112         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24113         (gst_real_pad_set_property), (gst_pad_set_active),
24114         (gst_pad_is_active), (gst_pad_set_blocked_async),
24115         (gst_pad_set_blocked), (gst_pad_is_blocked),
24116         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24117         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24118         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24119         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24120         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24121         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24122         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24123         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24124         (gst_pad_set_caps), (gst_pad_configure_sink),
24125         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24126         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24127         (gst_real_pad_dispose), (gst_real_pad_finalize),
24128         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24129         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24130         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24131         * gst/gstpad.h:
24132         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24133         (pipeline_bus_handler), (gst_pipeline_change_state),
24134         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24135         * gst/gstpipeline.h:
24136         * gst/gstprobe.h:
24137         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24138         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24139         (gst_queue_link_src), (gst_queue_bufferalloc),
24140         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24141         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24142         (gst_queue_loop), (gst_queue_handle_src_event),
24143         (gst_queue_handle_src_query), (gst_queue_src_activate),
24144         (gst_queue_change_state):
24145         * gst/gstqueue.h:
24146         * gst/gstscheduler.c: (gst_scheduler_init),
24147         (gst_scheduler_dispose), (gst_scheduler_create_task),
24148         (gst_scheduler_factory_create):
24149         * gst/gstscheduler.h:
24150         * gst/gststructure.c: (gst_structure_get_type),
24151         (gst_structure_copy_conditional):
24152         * gst/gststructure.h:
24153         * gst/gsttaginterface.h:
24154         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24155         (gst_task_init), (gst_task_dispose), (gst_task_create),
24156         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24157         (gst_task_pause):
24158         * gst/gsttask.h:
24159         * gst/gstthread.c:
24160         * gst/gstthread.h:
24161         * gst/gsttypes.h:
24162         * gst/schedulers/Makefile.am:
24163         * gst/schedulers/cothreads_compat.h:
24164         * gst/schedulers/entryscheduler.c:
24165         * gst/schedulers/faircothreads.c:
24166         * gst/schedulers/faircothreads.h:
24167         * gst/schedulers/fairscheduler.c:
24168         * gst/schedulers/gstbasicscheduler.c:
24169         * gst/schedulers/gstoptimalscheduler.c:
24170         * gst/schedulers/gthread-cothreads.h:
24171         * gst/schedulers/threadscheduler.c:
24172         (gst_thread_scheduler_task_get_type),
24173         (gst_thread_scheduler_task_class_init),
24174         (gst_thread_scheduler_task_init),
24175         (gst_thread_scheduler_task_start),
24176         (gst_thread_scheduler_task_stop),
24177         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24178         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24179         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24180         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24181         (plugin_init):
24182         * libs/gst/Makefile.am:
24183         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24184         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24185         (gst_file_pad_parent_set):
24186         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24187         (gst_dp_event_from_packet):
24188         * tests/complexity.c: (main):
24189         * tests/mass_elements.c: (main):
24190         * testsuite/states/locked.c: (message_received), (main):
24191         * testsuite/states/parent.c: (main):
24192         * tools/gst-inspect.c: (print_element_flag_info),
24193         (print_implementation_info), (print_pad_info):
24194         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24195         (main):
24196         * tools/gst-md5sum.c: (event_loop), (main):
24197         * tools/gst-typefind.c: (main):
24198         * tools/gst-xmlinspect.c: (print_element_info):
24199         Next big merge.
24200         Added GstBus for mainloop integration.
24201         Added GstMessage for sending notifications on the bus.
24202         Added GstTask as an abstraction for pipeline entry points.
24203         Removed GstThread.
24204         Removed Schedulers.
24205         Simplified GstQueue for multithreaded core.
24206         Made _link threadsafe, removed old capsnego.
24207         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24208         Added pad blocking functions.
24209         Reworked scheduling functions in GstPad to prepare for
24210         scheduling updates soon.
24211         Moved events out of data stream.
24212         Simplified GstEvent types.
24213         Added return values to push/pull.
24214         Removed clocking from GstElement.
24215         Added prototypes for state change function for next merge.
24216         Removed iterate from bins and state change management.
24217         Fixed some elements, disabled others for now.
24218         Fixed -inspect and -launch.
24219         Added check for GstBus.
24220
24221 2005-03-10  Wim Taymans  <wim@fluendo.com>
24222
24223         * docs/design/part-MT-refcounting.txt:
24224         * docs/design/part-clocks.txt:
24225         * docs/design/part-gstelement.txt:
24226         * docs/design/part-gstobject.txt:
24227         * docs/design/part-standards.txt:
24228         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24229         (gst_bin_remove_func), (gst_bin_remove):
24230         * gst/gstbin.h:
24231         * gst/gstbuffer.c:
24232         * gst/gstcaps.h:
24233         * testsuite/clock/clock1.c: (main):
24234         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24235         (main):
24236         * testsuite/dlopen/loadgst.c: (do_test):
24237         * testsuite/refcounting/bin.c: (add_remove_test1),
24238         (add_remove_test2), (main):
24239         * testsuite/refcounting/element.c: (main):
24240         * testsuite/refcounting/element_pad.c: (main):
24241         * testsuite/refcounting/pad.c: (main):
24242         * tools/gst-launch.c: (sigint_handler_sighandler):
24243         * tools/gst-typefind.c: (main):
24244         Doc updates.
24245         Added doc about clock.
24246         removed gst_bin_iterate_recurse_up(), marked methods
24247         for removal.
24248         Fix more testsuites.
24249
24250 2005-03-09  Wim Taymans  <wim@fluendo.com>
24251
24252         * gst/gstpad.c: (gst_pad_get_direction),
24253         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24254         (gst_pad_collect_valist):
24255         * testsuite/bins/interface.c: (main):
24256         * testsuite/caps/audioscale.c: (test_caps):
24257         * testsuite/caps/caps.c: (test1), (test2), (test3):
24258         * testsuite/caps/deserialize.c: (main):
24259         * testsuite/caps/enumcaps.c: (main):
24260         * testsuite/caps/filtercaps.c: (main):
24261         * testsuite/caps/intersect2.c: (main):
24262         * testsuite/caps/random.c: (main):
24263         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24264         * testsuite/caps/sets.c: (check_caps):
24265         * testsuite/caps/simplify.c: (check_caps), (main):
24266         * testsuite/caps/subtract.c: (check_caps):
24267         Fix _pad_get_direction wrt ghostpads.
24268         Fix caps testsuite.
24269
24270 2005-03-09  Wim Taymans  <wim@fluendo.com>
24271
24272         * check/Makefile.am:
24273         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24274         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24275         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24276         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24277         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24278         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24279         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24280         (bin_element_is_sink), (gst_bin_iterate_sinks),
24281         (gst_bin_iterate_all_by_interface):
24282         * gst/gstbin.h:
24283         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24284         (gst_element_change_state), (gst_element_dispose),
24285         (gst_element_finalize), (gst_element_set_loop_function):
24286         * gst/gstelement.h:
24287         * gst/gstiterator.c: (find_custom_fold_func):
24288         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24289         (gst_pad_collectv), (gst_pad_collect_valist),
24290         (gst_pad_template_new):
24291         * gst/gstpipeline.c: (gst_pipeline_class_init),
24292         (gst_pipeline_dispose), (gst_pipeline_set_property),
24293         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24294         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24295         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24296         * gst/gstutils.h:
24297         * gst/schedulers/entryscheduler.c:
24298         * gst/schedulers/gstbasicscheduler.c:
24299         (gst_basic_scheduler_cothreaded_chain),
24300         (gst_basic_scheduler_chain_add_element):
24301         * testsuite/bins/interface.c: (main):
24302         Added GstBin test.
24303         Added GstSystemClock test.
24304         Implemented clock distribution code in GstBin.
24305         Implemented iterate sinks method for future use.
24306         Rearranged gstelement.h
24307         Fix GstIterator comparison bug.
24308         Moved some code to GstPipeline, mostly clocking related.
24309
24310 2005-03-09  Wim Taymans  <wim@fluendo.com>
24311
24312         * configure.ac:
24313         * gst/gst_private.h:
24314         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24315         (gst_bin_remove_func), (gst_bin_remove),
24316         (gst_bin_get_by_name_recurse_up):
24317         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24318         (gst_clock_id_compare_func), (gst_clock_id_wait),
24319         (gst_clock_id_wait_async), (gst_clock_init),
24320         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24321         * gst/gstelement.h:
24322         * gst/gstinfo.c: (_gst_debug_init):
24323         * gst/gstobject.h:
24324         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24325         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24326         * gst/gstpad.h:
24327         Bump version number, we're now 0.9.0
24328         Add future debugging category.
24329         Fix NULL _unref() in _get_by_name_recurse_up
24330         Rearrange gstpad.h.
24331         Update some docs.
24332
24333 2005-03-08  Wim Taymans  <wim@fluendo.com>
24334
24335         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24336         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24337         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24338         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24339         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24340         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24341         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24342         * gst/elements/gstidentity.c: (gst_identity_class_init):
24343         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24344         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24345         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24346         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24347         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24348         (gst_tee_link):
24349         * gst/gstelement.c: (gst_element_class_init),
24350         (gst_element_base_class_init), (gst_element_init),
24351         (gst_element_get_random_pad), (gst_element_wait_state_change),
24352         (gst_element_change_state), (gst_element_dispose),
24353         (gst_element_finalize), (gst_element_set_loop_function):
24354         * gst/gstelement.h:
24355         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24356         * gst/gstthread.c: (gst_thread_class_init),
24357         (gst_thread_release_children_locks), (gst_thread_change_state):
24358         * gst/schedulers/gstbasicscheduler.c:
24359         (gst_basic_scheduler_loopfunc_wrapper),
24360         (gst_basic_scheduler_chain_wrapper),
24361         (gst_basic_scheduler_src_wrapper),
24362         (gst_basic_scheduler_remove_element):
24363         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24364         Remove threadsafe properties. Fix elements because GObject
24365         complains when installing a property before declaring a
24366         set/get_property handler.
24367         Rearrange gstelement.h file, use STATE macros for state locks.
24368         Free mutexes in the finalize method instead of dispose.
24369
24370 2005-03-08  Wim Taymans  <wim@fluendo.com>
24371
24372         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24373         * gst/gstthread.c: (gst_thread_release_children_locks):
24374         Added parentage check.
24375         Fix build og GstThread again.
24376
24377 2005-03-08  Wim Taymans  <wim@fluendo.com>
24378
24379         * docs/design/part-MT-refcounting.txt:
24380         * docs/design/part-conventions.txt:
24381         * docs/design/part-gstobject.txt:
24382         * docs/design/part-relations.txt:
24383         * docs/design/part-standards.txt:
24384         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24385         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24386         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24387         (gst_bin_iterate_all_by_interface):
24388         * gst/gstbuffer.h:
24389         * gst/gstclock.h:
24390         * gst/gstelement.c: (gst_element_class_init),
24391         (gst_element_change_state), (gst_element_set_loop_function):
24392         * gst/gstelement.h:
24393         * gst/gstiterator.c:
24394         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24395         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24396         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24397         (gst_object_set_parent), (gst_object_unparent),
24398         (gst_object_check_uniqueness):
24399         * gst/gstobject.h:
24400         Docs updates, clean up some headers.
24401
24402 2005-03-07  Wim Taymans  <wim@fluendo.com>
24403
24404         * check/.cvsignore:
24405         * check/Makefile.am:
24406         * check/gst-libs/.cvsignore:
24407         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24408         * check/gst/.cvsignore:
24409         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24410         (START_TEST), (gstbus_suite), (main):
24411         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24412         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24413         (gst_data_suite), (main):
24414         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24415         (add_fold_func), (gstiterator_suite), (main):
24416         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24417         (thread_name_object), (thread_name_object_default),
24418         (gst_object_name_compare), (gst_object_suite), (main):
24419         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24420         (gst_pad_suite), (main):
24421         * check/gstcheck.c: (gst_check_log_message_func),
24422         (gst_check_log_critical_func), (gst_check_init):
24423         * check/gstcheck.h:
24424         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24425         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24426         Added checks.
24427
24428 2005-03-07  Wim Taymans  <wim@fluendo.com>
24429
24430         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24431         (gst_list_iterator_next), (gst_list_iterator_resync),
24432         (gst_list_iterator_free), (gst_iterator_new_list),
24433         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24434         (gst_iterator_free), (gst_iterator_push), (filter_next),
24435         (filter_resync), (filter_uninit), (filter_free),
24436         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24437         (gst_iterator_foreach), (find_custom_fold_func),
24438         (gst_iterator_find_custom):
24439         * gst/gstiterator.h:
24440         Added missing files.
24441
24442 2005-03-07  Wim Taymans  <wim@fluendo.com>
24443
24444         * Makefile.am:
24445         * configure.ac:
24446         * docs/design/part-MT-refcounting.txt:
24447         * docs/design/part-conventions.txt:
24448         * docs/design/part-gstobject.txt:
24449         * docs/design/part-relations.txt:
24450         * examples/mixer/mixer.c: (main):
24451         * examples/thread/thread.c: (eos), (main):
24452         * gst/Makefile.am:
24453         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24454         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24455         (gst_spider_plug_from_srcpad):
24456         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24457         (gst_spider_identity_change_state),
24458         (gst_spider_identity_sink_loop_type_finding):
24459         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24460         * gst/elements/gstidentity.c: (gst_identity_init):
24461         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24462         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24463         * gst/elements/gsttypefindelement.c: (free_entry):
24464         * gst/gst.c:
24465         * gst/gst.h:
24466         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24467         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24468         (gst_bin_set_index), (gst_bin_set_element_sched),
24469         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24470         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24471         (gst_bin_iterate_elements), (iterate_child_recurse),
24472         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24473         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24474         (compare_interface), (gst_bin_get_by_interface),
24475         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24476         * gst/gstbin.h:
24477         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24478         (gst_buffer_default_free), (gst_buffer_default_copy),
24479         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24480         (gst_buffer_create_sub):
24481         * gst/gstbuffer.h:
24482         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24483         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24484         (gst_caps_unref), (gst_static_caps_get),
24485         (gst_caps_remove_and_get_structure), (gst_caps_append),
24486         (gst_caps_append_structure), (gst_caps_remove_structure),
24487         (gst_caps_copy_nth), (gst_caps_set_simple),
24488         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24489         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24490         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24491         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24492         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24493         (gst_caps_structure_figure_out_union),
24494         (gst_caps_switch_structures), (gst_caps_do_simplify),
24495         (gst_caps_replace), (gst_caps_from_string),
24496         (gst_caps_copy_conditional):
24497         * gst/gstcaps.h:
24498         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24499         (_gst_clock_id_free), (gst_clock_id_unref),
24500         (gst_clock_id_compare_func), (gst_clock_id_wait),
24501         (gst_clock_id_wait_async), (gst_clock_class_init),
24502         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24503         (gst_clock_get_time), (gst_clock_set_time_adjust),
24504         (gst_clock_set_property), (gst_clock_get_property):
24505         * gst/gstclock.h:
24506         * gst/gstcompat.h:
24507         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24508         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24509         * gst/gstdata.h:
24510         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24511         (gst_element_requires_clock), (gst_element_provides_clock),
24512         (gst_element_set_clock), (gst_element_clock_wait),
24513         (gst_element_wait), (gst_element_set_time_delay),
24514         (gst_element_is_indexable), (gst_element_add_pad),
24515         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24516         (pad_compare_name), (gst_element_get_static_pad),
24517         (gst_element_request_pad), (gst_element_get_request_pad),
24518         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24519         (gst_element_class_get_pad_template_list),
24520         (gst_element_class_get_pad_template), (gst_element_error_func),
24521         (gst_element_get_random_pad), (gst_element_get_event_masks),
24522         (gst_element_send_event), (gst_element_seek),
24523         (gst_element_get_query_types), (gst_element_query),
24524         (gst_element_get_formats), (gst_element_convert),
24525         (gst_element_is_locked_state), (gst_element_set_locked_state),
24526         (gst_element_sync_state_with_parent), (gst_element_change_state),
24527         (gst_element_finalize), (gst_element_yield),
24528         (gst_element_interrupt), (gst_element_set_scheduler),
24529         (gst_element_get_scheduler), (gst_element_set_loop_function):
24530         * gst/gstelement.h:
24531         * gst/gstevent.h:
24532         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24533         (gst_format_get_by_nick), (gst_format_get_details),
24534         (gst_format_iterate_definitions):
24535         * gst/gstformat.h:
24536         * gst/gstindex.c: (gst_index_gtype_resolver):
24537         * gst/gstinfo.c:
24538         * gst/gstinfo.h:
24539         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24540         (gst_mem_chunk_free):
24541         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24542         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24543         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24544         (gst_object_dispatch_properties_changed),
24545         (gst_object_set_name_default), (gst_object_set_name),
24546         (gst_object_get_name), (gst_object_set_name_prefix),
24547         (gst_object_get_name_prefix), (gst_object_set_parent),
24548         (gst_object_get_parent), (gst_object_unparent),
24549         (gst_object_check_uniqueness), (gst_object_save_thyself),
24550         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24551         (gst_object_set_property), (gst_object_get_property),
24552         (gst_object_get_path_string):
24553         * gst/gstobject.h:
24554         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24555         (gst_real_pad_init), (gst_real_pad_get_property),
24556         (gst_pad_custom_new), (gst_pad_get_direction),
24557         (gst_pad_set_active), (gst_pad_is_active),
24558         (gst_pad_set_event_function), (gst_pad_is_linked),
24559         (gst_pad_link_free), (gst_pad_link_intersect),
24560         (gst_pad_link_fixate), (gst_pad_set_caps),
24561         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24562         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24563         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24564         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24565         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24566         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24567         (gst_pad_realize), (gst_pad_get_allowed_caps),
24568         (gst_real_pad_dispose), (gst_real_pad_finalize),
24569         (gst_pad_collectv), (gst_pad_collect_valist),
24570         (gst_pad_template_dispose), (gst_pad_template_new),
24571         (gst_pad_get_internal_links):
24572         * gst/gstpad.h:
24573         * gst/gstpipeline.c: (gst_pipeline_dispose),
24574         (gst_pipeline_change_state):
24575         * gst/gstpipeline.h:
24576         * gst/gstplugin.c:
24577         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24578         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24579         * gst/gstpluginfeature.h:
24580         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24581         * gst/gstquery.c: (_gst_query_type_initialize),
24582         (gst_query_type_register), (gst_query_type_get_by_nick),
24583         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24584         * gst/gstquery.h:
24585         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24586         * gst/gstscheduler.c: (gst_scheduler_add_element),
24587         (gst_scheduler_factory_create):
24588         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24589         (gst_structure_free), (gst_structure_set_name),
24590         (gst_structure_id_set_value), (gst_structure_set_value),
24591         (gst_structure_set_valist), (gst_structure_remove_field),
24592         (gst_structure_remove_fields),
24593         (gst_structure_remove_fields_valist),
24594         (gst_structure_remove_all_fields), (gst_structure_foreach),
24595         (gst_structure_map_in_place),
24596         (gst_caps_structure_fixate_field_nearest_int),
24597         (gst_caps_structure_fixate_field_nearest_double):
24598         * gst/gststructure.h:
24599         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24600         (gst_system_clock_init), (gst_system_clock_dispose),
24601         (gst_system_clock_async_thread),
24602         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24603         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24604         * gst/gstsystemclock.h:
24605         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24606         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24607         * gst/gsttaginterface.c:
24608         * gst/gstthread.c: (gst_thread_dispose),
24609         (gst_thread_release_children_locks), (gst_thread_change_state),
24610         (gst_thread_main_loop):
24611         * gst/gsttrashstack.h:
24612         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24613         * gst/gsttypes.h:
24614         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24615         (gst_element_request_pad), (gst_element_get_pad_from_template),
24616         (gst_element_request_compatible_pad),
24617         (gst_element_get_compatible_pad_filtered),
24618         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24619         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24620         (gst_element_link_many), (gst_element_link),
24621         (gst_element_link_pads), (gst_element_unlink_pads),
24622         (gst_element_unlink_many), (gst_element_unlink),
24623         (gst_pad_can_link_filtered), (gst_pad_can_link),
24624         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24625         (gst_object_default_error), (gst_bin_add_many),
24626         (gst_bin_remove_many), (gst_element_populate_std_props),
24627         (gst_element_class_install_std_props), (gst_buffer_merge),
24628         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24629         (link_fold_func), (gst_pad_proxy_setcaps):
24630         * gst/gstutils.h:
24631         * gst/gstvalue.c: (gst_value_deserialize_string):
24632         * gst/parse/grammar.y:
24633         * gst/schedulers/gstbasicscheduler.c:
24634         (gst_basic_scheduler_cothreaded_chain),
24635         (gst_basic_scheduler_chain_recursive_add),
24636         (gst_basic_scheduler_pad_link):
24637         * gst/schedulers/gstoptimalscheduler.c:
24638         (get_group_schedule_function),
24639         (gst_opt_scheduler_state_transition),
24640         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24641         * libs/gst/bytestream/bytestream.c:
24642         * libs/gst/dataprotocol/dataprotocol.c:
24643         (gst_dp_header_from_buffer):
24644         * po/nb.po:
24645         * po/ru.po:
24646         * tests/threadstate/threadstate2.c: (eos):
24647         * tools/gst-compprep.c: (main):
24648         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24649         (print_pad_info), (print_children_info):
24650         * tools/gst-launch.c: (idle_func), (main):
24651         * tools/gst-md5sum.c: (idle_func), (main):
24652         * tools/gst-xmlinspect.c: (print_element_info):
24653         First THREADED backport attempt, focusing on adding locks and
24654         making sure the API is threadsafe. Needs more work. More docs
24655         follow this week.
24656
24657 2005-02-24  Andy Wingo  <wingo@pobox.com>
24658
24659         * tests/bench-complexity.scm:
24660         * tests/complexity.gnuplot: New files, good for running complexity
24661         benchmarks.
24662
24663         * tests/Makefile.am:
24664         * tests/complexity.c: New test, sets up N elements, at each level
24665         teeing into M streams per element. Eeeenteresting.
24666
24667         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24668         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24669         running bench-mass_elements.scm.
24670
24671         * tests/bench-mass_elements.scm: New script, runs mass_elements
24672         for various numbers of identities, outputting the results to a
24673         file. Requires guile 1.6. Just for testing.
24674
24675 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24676
24677         * gst/schedulers/fairscheduler.c:
24678           compile with debug disabled
24679
24680 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24681
24682         * configure.ac:
24683           hunting season on 0.9 is now OPEN