plugins/elements/gstcapsfilter.c: Fix capsfilter for cases where the caps set on...
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2
3         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5         Fix capsfilter for cases where the caps set on capsfilter will provide
6         additional information.
7         Fixes #449197
8
9 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
10
11         * gst/gsttypefindfactory.c:
12           Fix docs that recommened wrong function to use.
13
14 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
15
16         * tools/gst-inspect.c: (print_plugin_features):
17           Also give media-type for typefinders in element output.
18
19 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
20
21         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
22         (gst_registry_remove_features_for_plugin_unlocked),
23         (gst_registry_add_feature), (gst_registry_remove_feature),
24         (gst_registry_lookup_feature_locked):
25         * gst/gstregistry.h:
26           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
27           Fixes #459501.
28
29 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
30
31         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
32         (gst_plugin_feature_set_name):
33           Avoid double memory usage for pluginfeature names. Fixes #459466.
34
35 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
36
37         * gst/gstpad.h:
38           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
39           driving the pipeline may need to explicitly check for NOT_LINKED as
40           well, since IS_FATAL doesn't cover that.
41
42 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
43
44         * docs/pwg/advanced-types.xml:
45           Fix typo and duplicate entry in video formats list.
46
47 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
48
49         * libs/gst/controller/gstinterpolation.c:
50         Also round to the nearest int when using cubic interpolation.
51
52 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
53
54         * libs/gst/controller/gstinterpolation.c:
55         When linearly interpolating integer types, round to the nearest int
56         by adding 0.5. Don't do it for float/double types.
57         Fixes the failing controller test on my machine, which is somehow
58         rounding differently than on the buildbots.
59
60 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
61
62         * tools/gst-plot-timeline.py:
63           Better log parsing (categories can have -). Adjust text vs. lines, so
64           that they span the same y-range.        
65
66 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
67
68         * docs/random/ensonic/audiobaseclasses.txt:
69         * docs/random/ensonic/dynlink.txt:
70         * docs/random/ensonic/profiling.txt:
71           Save my thoughts.
72
73         * docs/random/moving-plugins:
74           Add note to use g_assert type macros.
75
76 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
77
78         * configure.ac:
79         * libs/gst/check/Makefile.am:
80           Add libm check as we use in for plugins.
81
82 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
83
84         * gst/gstbin.c: (gst_bin_continue_func):
85         Check that the state_cookie hasn't changed since the continue_func
86         was scheduled. Avoids problems where the state changes back to
87         something it shouldn't be because it was changed in the meantime.
88
89 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
90
91         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
92         (gst_registry_binary_save_string),
93         (gst_registry_binary_save_pad_template),
94         (gst_registry_binary_save_feature),
95         (gst_registry_binary_save_plugin),
96         (gst_registry_binary_load_feature),
97         (gst_registry_binary_load_plugin),
98         (gst_registry_binary_read_cache):
99           Fix memory leak. Be less verbose in the log.
100
101 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
102
103         * tests/check/elements/.cvsignore:
104         Add file to cvsignore as commanded.
105
106 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
107
108         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
109         (mq_dummypad_event), (run_output_order_test):
110         Use a GStaticMutex to protect all cases where libcheck
111         fail_if/fail_unless macros might be called from multiple threads
112         simultaneously to avoid errors like:
113           "check_pack.c:107: :-1081725400:Bad message type arg"
114
115 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
116
117         * tests/check/pipelines/stress.c: (GST_START_TEST):
118         Make sure we set the pipeline back to the NULL state before
119         dropping our final reference.
120
121 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
122
123         * tests/check/elements/tee.c: (GST_START_TEST):
124         Make the tee stress-test a little less stressful so it doesn't just
125         time out on slow-machines, and remove a small race when it's starting 
126         up by adding a get_state() call.
127
128 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
129
130         * gst/gst.c:
131           Avoid reading registry twice on startup. Fixes #457322.
132
133 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
134
135         * pkgconfig/gstreamer-check-uninstalled.pc.in:
136         * pkgconfig/gstreamer-check.pc.in:
137         Substitute the CFLAGS for libcheck into our .pc file too so that
138         dependent modules will pick it up properly if libcheck is installed
139         into some other prefix.
140
141 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
142
143         * configure.ac:
144         Revert the pkg-config check for libcheck, since it pulls in the
145         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
146         a proper solution, either from the check project, or something else.
147
148 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
149
150         * configure.ac:
151           Use pkg-config to locate check.
152
153 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
154
155         * gst/gsttaglist.c:
156           Fix doc syntax.
157
158         * gst/gstutils.c:
159         * gst/gstutils.h:
160           Add deprecation guards.
161
162         * libs/gst/base/gstcollectpads.h:
163           Don't document object (this is implicitly private).
164
165 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
166
167         * gst/gststructure.c: (gst_structure_parse_value):
168           When deserialising foo=bar without a type cast, check if it's a
169           boolean before falling back to a string type, otherwise things like
170           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
171           because the filtercaps end up having a signed=(string)true field,
172           which causes problems later when intersection caps.
173
174         * tests/check/gst/gststructure.c: (GST_START_TEST):
175           Add a unit test for this.
176
177 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
178
179         Reviewed by: Stefan Kost <ensonic@users.sf.net>
180
181         * libs/gst/controller/Makefile.am:
182         * libs/gst/controller/gstcontroller.c:
183         (gst_controlled_property_add_interpolation_control_source),
184         (gst_controlled_property_new), (gst_controlled_property_free),
185         (gst_controller_find_controlled_property),
186         (gst_controller_new_valist), (gst_controller_new_list),
187         (gst_controller_new), (gst_controller_remove_properties_valist),
188         (gst_controller_remove_properties_list),
189         (gst_controller_remove_properties),
190         (gst_controller_set_property_disabled),
191         (gst_controller_set_disabled), (gst_controller_set_control_source),
192         (gst_controller_get_control_source), (gst_controller_get),
193         (gst_controller_sync_values), (gst_controller_get_value_array),
194         (_gst_controller_dispose), (gst_controller_get_type),
195         (gst_controlled_property_set_interpolation_mode),
196         (gst_controller_set), (gst_controller_set_from_list),
197         (gst_controller_unset), (gst_controller_unset_all),
198         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
199         * libs/gst/controller/gstcontroller.h:
200         * libs/gst/controller/gstcontrollerprivate.h:
201         * libs/gst/controller/gstcontrolsource.c:
202         (gst_control_source_class_init), (gst_control_source_init),
203         (gst_control_source_get_value),
204         (gst_control_source_get_value_array), (gst_control_source_bind):
205         * libs/gst/controller/gstcontrolsource.h:
206         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
207         (gst_object_get_control_source):
208         * libs/gst/controller/gstinterpolation.c:
209         (gst_interpolation_control_source_find_control_point_node),
210         (gst_interpolation_control_source_get_first_value),
211         (_interpolate_none_get), (interpolate_none_get),
212         (interpolate_none_get_boolean_value_array),
213         (interpolate_none_get_enum_value_array),
214         (interpolate_none_get_string_value_array),
215         (_interpolate_trigger_get), (interpolate_trigger_get),
216         (interpolate_trigger_get_boolean_value_array),
217         (interpolate_trigger_get_enum_value_array),
218         (interpolate_trigger_get_string_value_array):
219         * libs/gst/controller/gstinterpolationcontrolsource.c:
220         (gst_control_point_free), (gst_interpolation_control_source_reset),
221         (gst_interpolation_control_source_new),
222         (gst_interpolation_control_source_set_interpolation_mode),
223         (gst_interpolation_control_source_bind),
224         (gst_control_point_compare), (gst_control_point_find),
225         (gst_interpolation_control_source_set_internal),
226         (gst_interpolation_control_source_set),
227         (gst_interpolation_control_source_set_from_list),
228         (gst_interpolation_control_source_unset),
229         (gst_interpolation_control_source_unset_all),
230         (gst_interpolation_control_source_get_all),
231         (gst_interpolation_control_source_get_count),
232         (gst_interpolation_control_source_init),
233         (gst_interpolation_control_source_finalize),
234         (gst_interpolation_control_source_dispose),
235         (gst_interpolation_control_source_class_init):
236         * libs/gst/controller/gstinterpolationcontrolsource.h:
237         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
238         API: Refactor GstController into the core controller which can take
239         a GstControlSource for providing actual values for timestamps.
240         Implement a interpolation control source and use this for backward
241         compatibility, deprecate a bunch of functions that are now handled
242         by GstControlSource or GstInterpolationControlSource.
243         Make it possible to disable the controller completely or only for
244         specific properties. Fixes #450711.
245         * docs/libs/gstreamer-libs-docs.sgml:
246         * docs/libs/gstreamer-libs-sections.txt:
247         * docs/libs/gstreamer-libs.types:
248         Add new functions and classes to the docs.
249         * tests/check/libs/controller.c: (GST_START_TEST),
250         (gst_controller_suite):
251         * tests/examples/controller/audio-example.c: (main):
252         Port unit test and example to the new API and add some new
253         unit tests.
254
255 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
256
257         Patch by: Mark Nauwelaerts <manauw at skynet be>
258
259         * plugins/elements/gstmultiqueue.c:
260         (gst_multi_queue_get_internal_links), (apply_buffer),
261         (single_queue_overrun_cb), (gst_single_queue_new):
262         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
263         the pipeline layout can be tracked correctly. Fixes #453732.
264
265 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
266
267         * docs/gst/Makefile.am:
268         * docs/libs/Makefile.am:
269         * docs/plugins/Makefile.am:
270           Simplify --extra-dir as gtkdoc scans recursively.
271
272 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
273
274         * tools/gst-launch.c: (main):
275         When we got an error, there is no point in waiting for preroll when
276         shutting down.
277
278 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
279
280         * plugins/elements/gsttee.c: (gst_tee_base_init),
281         (gst_tee_request_new_pad), (gst_tee_release_pad),
282         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
283         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
284         (gst_tee_chain):
285         Be a lot smarter when deciding what srcpad to use for proxying
286         the buffer_alloc. Also handle pad added/removed when doing so.
287         Fixes #357959.
288         Keep track of what pads we already pushed on in case we have pads
289         added/removed while pushing. Fixes #374639 
290
291         * tests/check/Makefile.am:
292         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
293         (tee_suite):
294         Added unit test for pad resync.
295
296 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
297
298         * po/nl.po:
299         * po/sv.po:
300           Updated translations.
301
302 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
303
304         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
305
306         * po/LINGUAS:
307         * po/fi.po:
308           Added new Finnish translation.
309
310 2007-06-28  Wim Taymans  <wim@fluendo.com>
311
312         * plugins/elements/gstmultiqueue.c: (apply_buffer),
313         (single_queue_overrun_cb):
314         When figuring out when a queue is filled, use our internal time estimate
315         based on segments, just like check_full does.
316
317 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
318
319         * gst/gstminiobject.c: (gst_mini_object_get_type):
320           Remove 3 do-nothing methods.
321
322 2007-06-27  Wim Taymans  <wim@fluendo.com>
323
324         Patch by: Tim Angus <tim at ngus dot net>
325
326         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
327         (gst_capsfilter_set_property):
328         Take a reference instead of a copy when setting "caps".
329         Fix documentation to clarify this behaviour. Fixes #449414.
330
331 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
332
333         * gst/gstindexfactory.c: (gst_index_factory_get_type):
334         * gst/gstplugin.c: (gst_plugin_init):
335         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
336         * gst/gstquery.c: (gst_query_get_type):
337         * gst/gstregistry.c: (gst_registry_init):
338         * gst/gsturi.c: (gst_uri_handler_base_init):
339           Remove empty instance_init() functions to save relocs and lessen the
340           noise. Remove some of the function prototypes that are doubled by
341           G_DEFINE_TYPE.
342           
343 2007-06-27  Wim Taymans  <wim@fluendo.com>
344
345         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
346
347         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
348         Add peer and direction in the XML serialisation of ghostpads.
349         Fixes #449226.
350
351 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
352
353         * configure.ac:
354           Preserve useful information, thanks Tim.
355
356 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
357
358         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
359         (gst_single_queue_flush), (apply_segment), (apply_buffer),
360         (gst_single_queue_push_one), (gst_multi_queue_loop),
361         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
362         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
363         (compute_high_id), (gst_single_queue_new):
364         * plugins/elements/gstmultiqueue.h:
365         Take the multiqueue lock when updating the fill level so we don't get
366         confused. 
367
368         After applying a buffer or event on the src pad segment, make sure to
369         call gst_data_queue_limits_changed() to get the data queue to unblock
370         and check the filled state again.
371         
372         Rework the not-linked pad handling so the logic is that not-linked 
373         pads can push as fast as they like, but only so they never get 
374         ahead of any linked pads.
375
376         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
377         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
378         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
379
380         Add a test to check that not-linked pads always stay behind
381         linked pads.
382
383         Fixes: #430682
384
385 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
386
387         * docs/random/release:
388           Some updates to the release procedure.
389
390 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
391
392         * gst/gstelementfactory.c: (__gst_element_details_clear):
393           Microoptimization that saves stunning 80 bytes.
394
395 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
396
397         * docs/plugins/gstreamer-plugins.args:
398         * docs/plugins/inspect/plugin-coreelements.xml:
399         * docs/plugins/inspect/plugin-coreindexers.xml:
400           Update docs with caps info.
401
402 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
403
404         * po/it.po:
405           Updated Italian translation.
406
407 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
408
409         * ChangeLog:
410         * po/vi.po:
411           Update Vietnamese translations.
412
413 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
414
415         * libs/gst/base/gstbasesink.c:
416           Remove unused signal enum.
417
418 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
419
420         * docs/gst/gstreamer-sections.txt:
421         * gst/gstelement.c:
422         * gst/gstutils.c: (gst_type_register_static_full):
423         Beef up and include the docs for gst_type_register_static_full and
424         gst_element_class_set_details_simple and add the API keyword
425         in the ChangeLog.
426
427 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
428
429         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
430         (update_time_level), (gst_single_queue_push_one),
431         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
432         (single_queue_overrun_cb), (single_queue_underrun_cb),
433         (single_queue_check_full):
434         Fix setting max-* properties after adding queues.
435         Use IS_FILLED for checking visible items.
436         Signal overrun if multiple queues overrun.
437         Add extra debug output.
438         Patch by: Wim Taymans <wim@fluendo.com>
439
440 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
441
442         * gst/gstelement.c: (gst_element_class_set_details_simple):
443         * gst/gstelement.h:
444         * gst/gstutils.c: (gst_type_register_static_full):
445         * gst/gstutils.h:
446         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
447         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
448         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
449         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
450         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
451         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
452         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
453         * plugins/elements/gstidentity.c: (gst_identity_base_init):
454         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
455         * plugins/elements/gstqueue.c: (gst_queue_base_init),
456         (apply_buffer), (gst_queue_chain):
457         * plugins/elements/gsttee.c: (gst_tee_base_init):
458         * plugins/elements/gsttypefindelement.c:
459         (gst_type_find_element_base_init),
460         (gst_type_find_element_class_init):
461           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
462           API: add gst_type_register_static_full
463           API: add gst_element_class_set_details_simple
464
465 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
466
467         * docs/pwg/advanced-types.xml:
468           Fix typo in iana.org URI.
469
470 2007-06-19  Andy Wingo  <wingo@pobox.com>
471
472         * tests/check/pipelines/simple-launch-lines.c
473         (test_state_change_returns): Enable pull-mode tests now that
474         basesink has been fixed.
475
476         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
477         Changed from gst_base_sink_is_prerolled, reversing the sense of
478         the return value. Returns FALSE also if the sink is in pull mode,
479         in which case it needs no preroll.
480         (gst_base_sink_query, gst_base_sink_change_state): Update for
481         needs_preroll change.
482         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
483         chaining up, in which we return SUCCESS directly if we activated
484         in pull mode instead of ASYNC. Involves countering an async_start
485         message sent before chaining up; not sure if this is correct, in
486         an ideal world we only send async-start when activating in push
487         mode.
488
489         * tests/check/pipelines/simple-launch-lines.c
490         (test_state_change_returns): New test, partially disabled until
491         basesink is fixed.
492
493 2007-06-19  Wim Taymans  <wim@fluendo.com>
494
495         * plugins/elements/gstmultiqueue.c: (apply_buffer),
496         (gst_multi_queue_sink_event):
497         Fix event leak.
498
499 2007-06-19  Wim Taymans  <wim@fluendo.com>
500
501         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
502         (gst_bin_change_state_func), (bin_push_state_continue),
503         (bin_handle_async_start), (bin_handle_async_done),
504         (gst_bin_handle_message_func):
505         Move the common code for posting state-change messages into
506         one function.
507         Broadcast the state signal after we posted the messages.
508         Mark the bin as busy when it's doing a state-change.
509         Make sure async-start/done messages don't interfere with the bin's
510         state when it's busy.
511         After the state change, let the bin check which elements completed the
512         state change while it was busy so that it can update its state.
513
514 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
515
516         * docs/random/release:
517         Add a note about updating the doap file to the release checklist
518
519 2007-06-18  Wim Taymans  <wim@fluendo.com>
520
521         * plugins/elements/gstmultiqueue.c: (apply_buffer),
522         (gst_single_queue_push_one), (gst_multi_queue_chain),
523         (gst_multi_queue_sink_event):
524         Make sure we don't reference the buffer/event after we have given away
525         ownership in the queue.
526
527 2007-06-18  Wim Taymans  <wim@fluendo.com>
528
529         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
530         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
531         Update queue state _after_ adding the item in the queue because else we
532         could end up being full without the element added yet.
533
534 2007-06-18  Wim Taymans  <wim@fluendo.com>
535
536         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
537         (gst_bin_remove_func), (gst_bin_get_state_func),
538         (gst_bin_element_set_state), (gst_bin_continue_func),
539         (bin_push_state_continue), (bin_handle_async_start),
540         (bin_handle_async_done), (gst_bin_handle_message_func):
541         * gst/gstbin.h:
542         Immediatly commit the toplevel bin state when receiving an async-done
543         message. This enables us to avoid spawning a thread to commit the state
544         in some common cases and it also avoids some races.
545         Avoid spawning a state thread when adding/removing async elements to a
546         toplevel bin. Instead we immediatly update the bin state.
547         Get rid of iterating all the children when getting the state in the bin
548         because it is now always up-to-date.
549         Fix bug where locked elements would always return _SUCCESS even it they
550         returned NO_PREROLL before being locked.
551         Fix the order of the state_change, async-start/done messages that was
552         sometimes incorrect.
553         Mark the state_dirty field as deprecated, we don't need it anymore as we
554         are always up-to-date.
555
556         * gst/gstelement.c: (gst_element_get_state_func),
557         (gst_element_continue_state):
558         Small debug inprovements.
559         Return the previous element state return when nothing is pending instead
560         of blindly returning SUCCESS.
561
562         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
563         (gst_sinks_suite):
564         Add a whole bunch of new testcases.
565
566 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
567
568         * po/uk.po:
569         * po/vi.po:
570           Update translations.
571
572 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
573
574         * gst/gstpad.c:
575         Fix typo in the docs.
576
577 2007-06-15  Wim Taymans  <wim@fluendo.com>
578
579         * docs/libs/gstreamer-libs-sections.txt:
580         Add docs for new methods.
581
582 2007-06-15  Wim Taymans  <wim@fluendo.com>
583
584         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
585         (gst_multi_queue_item_new):
586         Don't use GSlice because we don't depend on >= 2.10 yet.
587
588 2007-06-15  Wim Taymans  <wim@fluendo.com>
589
590         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
591         (update_time_level), (apply_segment), (apply_buffer),
592         (gst_single_queue_push_one), (gst_multi_queue_item_new),
593         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
594         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
595         (single_queue_underrun_cb), (single_queue_check_full):
596         Remove debug printf.
597
598 2007-06-15  Wim Taymans  <wim@fluendo.com>
599
600         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
601         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
602         (gst_data_queue_set_flushing), (gst_data_queue_push),
603         (gst_data_queue_pop), (gst_data_queue_drop_head),
604         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
605         * libs/gst/base/gstdataqueue.h:
606         Various cleanups.
607         Added methods to get the current levels and to inform the queue that the
608         'full' limits changed.
609
610         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
611         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
612         (gst_single_queue_flush), (update_time_level), (apply_segment),
613         (apply_buffer), (gst_single_queue_push_one),
614         (gst_multi_queue_item_steal_object),
615         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
616         (gst_multi_queue_loop), (gst_multi_queue_chain),
617         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
618         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
619         (gst_multi_queue_src_query), (single_queue_overrun_cb),
620         (single_queue_underrun_cb), (single_queue_check_full),
621         (gst_single_queue_new):
622         Keep track of time in the queue by measuring the difference between
623         running_time on input and output. This gives more accurate results and
624         can compensate for segments correctly.
625         Make a queue by default only 5 buffers deep. We will now increase the
626         buffer size depending on the filledness of the other queues.
627         Factor out commong flush code.
628         Make sure we don't add additional refcounts to buffers when we can avoid
629         it.
630         Propagate GstFlowReturn differently.
631         Use GSlice for intermediate GstMultiQueueItems.
632         Keep track of EOS.
633         Resize queues on over and underruns based on filled level of other
634         queues.
635         When checking if the queue is filled, prefer to measure in time if we
636         can and fall back to bytes when no time is known.
637
638         * plugins/elements/gstqueue.c:
639         Fix return value.
640
641 2007-06-15  Wim Taymans  <wim@fluendo.com>
642
643         * libs/gst/base/gstbasetransform.c:
644         (gst_base_transform_sink_event):
645         Work around the brokenness of the event vmethod in basetransform. Prefer
646         to return TRUE when the subclass returned FALSE (meaning don't forward
647         the event). 
648
649         * libs/gst/base/gstbasetransform.h:
650         Clarify the docs.
651
652 2007-06-15  Wim Taymans  <wim@fluendo.com>
653
654         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
655         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
656         (gst_base_src_default_query), (gst_base_src_get_range),
657         (gst_base_src_start):
658         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
659         Improve debugging.
660
661 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
662
663         * docs/pwg/advanced-types.xml:
664           Added more formats to caps table.
665
666 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
667
668         * tools/gst-launch.c: (main):
669           Remove crufy code. GOption does not need this workaround.
670
671 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
672
673         * libs/gst/controller/gstcontroller.c:
674         (gst_controlled_property_set_interpolation_mode):
675           Fix wrong getter for enums in controller.
676
677 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
678
679         * libs/gst/check/gstcheck.c: (gst_check_init):
680           Intercept criticals and warnings in the Gst-Phonon log domain, so
681           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
682           well.
683         
684 2007-06-14  Edward Hervey  <edward@fluendo.com>
685
686         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
687         Since this file doesn't include "gst.h" it will not go through the
688         macros that disable GST_LOG if debugging was disabled.
689
690 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
691
692         * libs/gst/check/Makefile.am:
693         * libs/gst/check/gstcheck.h:
694         * pkgconfig/gstreamer-check-uninstalled.pc.in:
695         * pkgconfig/gstreamer-check.pc.in:
696           Ugly 'fix' for the controller unit test on the p5 bot: in
697           fail_unless_equals_float() check whether the values are 'almost
698           equal' by allowing a small absolute error, which should be good
699           enough for our use cases (normal numbers and values close to 0).
700           Proper fixage left to floating point arithmetic aficionados.
701
702 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
703
704         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
705         (gst_base_sink_render_object), (gst_base_sink_get_position):
706           Add two breaks thats where missing.
707
708 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
709
710         * docs/libs/gstreamer-libs-sections.txt:
711         * libs/gst/check/gstcheck.h:
712           API: add fail_unless_equals_float() and assert_equals_float().
713           Add documentation for some of the macros.
714
715         * tests/check/libs/controller.c: (GST_START_TEST):
716           Use newly-added asserts.
717
718 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
719
720         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
721           Show the caps change in the log to help spotting the case of not
722           exactly matching caps.
723
724 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
725
726         * docs/pwg/building-boiler.xml:
727           Fix typos, spotted by Thijs Vermeir (#447190).
728
729 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
730
731         * docs/plugins/tmpl/.cvsignore:
732         Ignore file to keep the buildbots happy
733
734 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
735
736         * docs/plugins/Makefile.am:
737         * docs/plugins/gstreamer-plugins-docs.sgml:
738         * docs/plugins/gstreamer-plugins-sections.txt:
739         Pull fdsink into the docs too.
740
741 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
742
743         * libs/gst/controller/gstinterpolation.c:
744         Actually use the new functions with min/max checks for the trigger and
745         none interpolation modes for get() and get_value_array() instead of
746         just the latter.
747
748 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
749
750         * libs/gst/controller/gstcontroller.c:
751         (gst_controlled_property_free):
752         Unset the minimum and maximum GValues when freeing the corresponding
753         GstControllerProperty struct.
754
755 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
756
757         * libs/gst/controller/gstcontroller.c:
758         (gst_controlled_property_new):
759         * libs/gst/controller/gstcontrollerprivate.h:
760         * libs/gst/controller/gstinterpolation.c:
761         (gst_controlled_property_find_control_point_node),
762         (interpolate_none_get), (interpolate_none_get_enum_value_array),
763         (interpolate_none_get_string_value_array),
764         (interpolate_trigger_get),
765         (interpolate_trigger_get_enum_value_array),
766         (interpolate_trigger_get_string_value_array):
767         Protect against values larger or smaller than the minimum or maximum
768         allowed value for the property when using values that can be compared.
769
770         Optimize trigger interpolator a bit by taking the last requested value
771         into account instead of always looping through the complete list.
772
773         Fix coding style a bit, everywhere else we use "return foo" instead
774         of "return (foo)".
775         
776         * tests/check/libs/controller.c: (GST_START_TEST),
777         (gst_controller_suite):
778         Add unit test for the protection against too large or too small
779         values.
780
781 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
782
783         * docs/random/slomo/controller.txt:
784         Add some thoughts about the future of the controller.
785
786 2007-06-08  Wim Taymans  <wim@fluendo.com>
787
788         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
789         Don't overflow in retimestamping code.
790
791 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
792
793         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
794         Use gst_util_guint64_to_gdouble for conversions.
795         * win32/common/libgstreamer.def:
796         Add new exported functions.
797
798 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
799
800         * gst/gstutils.c:
801           Small docs addition.
802
803 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
804
805         * README:
806           Remove that test line again.
807
808 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
809
810         * README:
811           Test commit mail sending.
812
813 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
814
815         * configure.ac:
816           Fix typo and test commit mail sending.
817
818 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
819
820         * tests/examples/controller/audio-example.c:
821           Improve comment and test commit mail sending.
822
823 2007-06-07  Wim Taymans  <wim@fluendo.com>
824
825         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
826         (gst_bin_remove_func), (gst_bin_element_set_state),
827         (bin_handle_async_start), (bin_handle_async_done),
828         (gst_bin_handle_message_func):
829         Add helper function to find messages.
830         Generate the async-done messages together with the state change
831         messages.
832         Small cleanups in handling toplevel bins.
833
834 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * libs/gst/base/gstdataqueue.c:
837         * libs/gst/base/gstdataqueue.h:
838         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
839         (gst_multi_queue_item_new), (gst_multi_queue_chain),
840         (gst_multi_queue_sink_event):
841         * tests/check/elements/multiqueue.c: (multiqueue_suite):
842           Fix multiqueue leaking buffers and events when downstream or the
843           queue are flushing. Make refcounting assumptions explicit and
844           document them (shouldn't break existing code that uses it other than
845           maybe leak miniobjects, but that already happens anyway). Add unit
846           test for the most common flushing case. Fixes #423700.
847           
848 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
849
850         * libs/gst/controller/gstcontroller.c:
851         Clarify docs: The get_all, get_value_array(s) functions
852         don't modify the GObject properties.
853
854 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
855
856         * libs/gst/controller/gstcontroller.c:
857         (gst_controlled_property_set_interpolation_mode),
858         (gst_controlled_property_prepend_default),
859         (gst_controlled_property_new), (gst_controller_set_unlocked),
860         (gst_controller_set), (gst_controller_set_from_list),
861         (gst_controller_unset), (gst_controller_unset_all):
862         * libs/gst/controller/gstcontrollerprivate.h:
863         * libs/gst/controller/gstinterpolation.c:
864         Factor out the 'set' logic into gst_controller_set_unlocked for the
865         gst_controller_set and gst_controller_set_from_list functions.
866
867         To make life of the interpolators easier always add a control point
868         at timestamp zero with the default value.
869
870         In the linear interpolator make things more obvious by better variable
871         naming (slope).
872
873         Implement cubic interpolation mode (by using a natural cubic spline)
874         and map the quadratic interpolation mode to this too (as quadratic
875         doesn't make much sense, see discussion on the list).
876
877         * tests/check/libs/controller.c: (GST_START_TEST),
878         (gst_controller_suite):
879         Add unit test for the cubic interpolation mode and check everywhere
880         if the interpolation mode could be set as expected.
881
882 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
883
884         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
885           Don't use GLib-2.10 functions, we still depend on
886           GLib-how-old-is-it-again-2.8.
887
888 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
889
890         * docs/gst/gstreamer-sections.txt:
891         * gst/Makefile.am:
892         * gst/gst.c:
893         * gst/gst.h:
894         * gst/gstparamspecs.c: (_gst_param_fraction_init),
895         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
896         (_gst_param_fraction_values_cmp),
897         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
898         * gst/gstparamspecs.h:
899         * gst/gstvalue.c:
900         * tests/check/Makefile.am:
901         * tests/check/gst/.cvsignore:
902         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
903         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
904         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
905         (GST_START_TEST), (gst_param_spec_suite):
906           API: add GstParamSpecFraction, so elements can have fraction
907           properties without lots of painful string parsing (#444648).
908
909 2007-06-05  Wim Taymans  <wim@fluendo.com>
910
911         * gst/gstobject.c: (gst_object_class_init):
912         Fix signal signature.
913
914         * gst/gstsegment.c:
915         Add small clarification in the api docs.
916
917         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
918         States are protected with object lock.
919
920 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
921
922         * AUTHORS:
923         I should probably be listed as an author by now.
924
925         * docs/random/release:
926         Update the release doc
927
928 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
929
930         * gst/gstvalue.c:
931           Make docs for gst_value_compare() mention return enums that
932           actually exist.
933
934 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
935
936         * configure.ac:
937           Back to CVS
938
939 === release 0.10.13 ===
940
941 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
942
943         * configure.ac:
944           releasing 0.10.13, "With or without you"
945
946 2007-05-25  Wim Taymans  <wim@fluendo.com>
947
948         * gst/gstbin.c: (bin_handle_async_done):
949         Make sure that the child bin stops after completing the async state
950         change so that the parent can continue the state change to PLAYING.
951         Fixes #441159.
952
953 2007-05-25  Wim Taymans  <wim@fluendo.com>
954
955         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
956         (unref_data), (gst_collect_pads_remove_pad),
957         (gst_collect_pads_check_pads):
958         Use additional refcounting to avoid crashes when dynamically adding and
959         removing pads. Fixes #420206.
960
961 2007-05-24  Wim Taymans  <wim@fluendo.com>
962
963         * tools/gst-launch.c: (event_loop):
964         When buffering goes from a two digit to a single digit number, make sure
965         to remove the old second digit by writing a blank over it.
966
967 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
968
969         * libs/gst/base/gstdataqueue.c:
970           Eliminate tabs and trailing comma in enum list; fix some typos.
971
972 2007-05-24  Wim Taymans  <wim@fluendo.com>
973
974         * tests/check/gst/gstbin.c: (GST_START_TEST):
975         Allow refcount of 3 and 4 because some state thread might still be busy
976         with it.
977
978 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
979
980         * plugins/elements/Makefile.am:
981         * plugins/elements/gstmultiqueue.h:
982         * plugins/elements/gstqueue.h:
983           These are not installed headers, no need for padding.
984
985 2007-05-24  Wim Taymans  <wim@fluendo.com>
986
987         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
988         (gst_bin_continue_func):
989         Enable latency for next release.
990         Restore STATE_LOCK around recalc_state that was left out during the
991         rewrite and could result in racy behaviour when _get_state and
992         recalc_state are run concurrently. See #440463.
993
994 2007-05-23  Wim Taymans  <wim@fluendo.com>
995
996         * tests/check/gst/gstsystemclock.c: (store_callback),
997         (GST_START_TEST):
998         Improve test_async_order to also work when both timers are already
999         expired when we get scheduled to check it.
1000
1001 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1002
1003         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1004         (gst_bin_set_property), (gst_bin_get_property),
1005         (gst_bin_remove_func), (gst_bin_handle_message_func):
1006         * gst/gstbin.h:
1007           'private' is a c++ keyword, let's not use that in header files,
1008           otherwise c++ compilers will throw a tantrum.
1009
1010 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1011
1012         * plugins/elements/gstelements.c:
1013         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1014         (gst_file_sink_get_current_offset):
1015         * plugins/indexers/gstindexers.c: (plugin_init):
1016           Use #ifdef for HAVE_XYZ for consistency.
1017
1018         * tests/check/Makefile.am:
1019         * tests/check/elements/.cvsignore:
1020         * tests/check/elements/filesink.c: (setup_filesink),
1021         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1022           Add some unit tests for filesink.
1023
1024 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
1025
1026         Patch by: Mark Nauwelaerts <manauw at skynet be>
1027
1028         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1029         (gst_file_sink_query), (gst_file_sink_do_seek),
1030         (gst_file_sink_get_current_offset), (gst_file_sink_render):
1031         * plugins/elements/gstfilesink.h:
1032           Fix position reporting; rename data_written member to current_pos to
1033           reflect its real meaning (fixes #412648).
1034
1035 2007-05-22  Edward Hervey  <edward@fluendo.com>
1036
1037         * docs/gst/gstreamer-sections.txt:
1038         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1039         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1040         (gst_bin_remove_func), (gst_bin_handle_message_func):
1041         * gst/gstbin.h:
1042         Add a property for bins that handle the state change of their childs.
1043         Fixes #435880
1044
1045 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1046
1047         * libs/gst/controller/gstinterpolation.c:
1048         Use an array of the correct type when using _get_value_array with
1049         linear interpolation.
1050
1051 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
1052
1053         * gst/gstelement.c (gst_element_requires_clock,
1054           gst_element_provides_clock, gst_element_request_pad,
1055           gst_element_class_set_details, gst_element_class_set_details_simple,
1056           gst_element_default_send_event, gst_element_abort_state,
1057           gst_element_continue_state, gst_element_set_state,
1058           gst_element_set_state_func, iterator_activate_fold_with_resync):
1059         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1060           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1061           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1062           gst_pad_get_range, gst_pad_pull_range):
1063         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1064           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1065           GstPadActivateModeFunction, GstPadChainFunction,
1066           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1067           GstPadFixateCapsFunction, GstPadTemplate):
1068         * gst/gstpipeline.c (gst_pipeline_change_state,
1069           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1070           gst_pipeline_set_clock, gst_pipeline_auto_clock,
1071           gst_pipeline_get_delay):
1072           Whitespace and docs fixes.
1073
1074 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1075
1076         * libs/gst/controller/gstinterpolation.c:
1077         (interpolate_trigger_get_enum_value_array),
1078         (interpolate_trigger_get_string_value_array):
1079         Add support for retrieving value arrays when using the trigger
1080         interpolation mode. 
1081
1082 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1083
1084         * libs/gst/controller/gstcontroller.c:
1085         (gst_controller_get_value_array):
1086         * libs/gst/controller/gstcontroller.h:
1087         Clarify the docs of gst_controller_get_value_array(): The array where
1088         the values should be written to must be allocated as there seems to be
1089         no way to get the size of a random GType. This doesn't change any
1090         behaviour. Also fix some typos all over the place and remove an unused,
1091         commented function that is not necessary as g_object_set() could be
1092         used instead.
1093         * tests/check/libs/controller.c: (GST_START_TEST),
1094         (gst_controller_suite):
1095         Add unit test for gst_controller_get_value_array().
1096
1097 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
1098
1099         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1100
1101         Disable part of the gst_buffer_try_new_and_alloc test, because
1102         it can happily succeed on 64-bit systems where there's more address
1103         space available.
1104
1105 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1106
1107         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1108         Add unit test for the improved caps checking from bug #421543.
1109
1110 2007-05-21  Wim Taymans  <wim@fluendo.com>
1111
1112         * docs/design/part-synchronisation.txt:
1113         Small addition.
1114
1115         * gst/gstbin.c: (gst_bin_query):
1116         * plugins/elements/gstqueue.c: (apply_segment):
1117         Improve debugging.
1118
1119         * gst/gstmessage.h:
1120         Improve docs.
1121
1122 2007-05-21  Wim Taymans  <wim@fluendo.com>
1123
1124         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1125         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1126         (gst_pad_configure_src):
1127         Added simple version of improved caps checking. It was previously
1128         assumed that a setcaps function would check the validity of the caps but
1129         people prefer us to check caps against the template automatically. 
1130         Fixes #421543.
1131
1132 2007-05-21  Wim Taymans  <wim@fluendo.com>
1133
1134         * libs/gst/base/gstbasetransform.h:
1135         Fix macro for locking/unlocking the transform lock.
1136
1137 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1138
1139         * docs/plugins/tmpl/.cvsignore:
1140           Ignore more.
1141
1142 2007-05-18  Edward Hervey  <edward@fluendo.com>
1143
1144         * plugins/elements/gstqueue.c: (gst_queue_loop):
1145         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1146         for the subtle art of warning a potentially blocking thread that it
1147         should check the source pad return value, and relay the information
1148         upstream.
1149
1150 2007-05-18  Edward Hervey  <edward@fluendo.com>
1151
1152         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1153         Release the queue lock !
1154
1155 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1156
1157         * docs/libs/gstreamer-libs-sections.txt:
1158         Add the two new controller functions to the appropiate places.
1159
1160 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1161
1162         reviewed by: Stefan Kost <ensonic@users.sf.net>
1163
1164         * libs/gst/controller/gstcontroller.c:
1165         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1166         (_gst_controller_get_property), (_gst_controller_set_property),
1167         (_gst_controller_init), (_gst_controller_class_init):
1168         * libs/gst/controller/gstcontroller.h:
1169         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1170         (gst_object_get_control_rate), (gst_object_set_control_rate):
1171         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1172         Add API that provides sync suggestion timestamps for elements that
1173         call gst_object_sync_values() from which those elements can subdivide
1174         their processing loop to get the best results for the controlled
1175         properties. For now it just suggests last_sync + control_rate as
1176         new timestamp but this will be improved in the future.
1177
1178         While doing that change the control-rate property to a GstClockTime
1179         from guint and change it's meaning from samples to nanoseconds as
1180         the GstController doesn't know anything about sampling rate. Strictly
1181         speaking this breaks ABI but as the control-rate property didn't do
1182         anything in the past and as such couldn't be used this should be no
1183         problem.        
1184
1185 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1186
1187         reviewed by: Stefan Kost <ensonic@users.sf.net>
1188
1189         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1190         (gst_controller_unset_all):
1191         * libs/gst/controller/gstcontrollerprivate.h:
1192         * libs/gst/controller/gstinterpolation.c:
1193         (gst_controlled_property_find_control_point_node):
1194         Save last synced value from the list to continue searching from there
1195         in future syncs. This speeds everything up a bit.
1196         
1197 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1198
1199         reviewed by: Stefan Kost <ensonic@users.sf.net>
1200
1201         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1202         (gst_control_point_find), (gst_controlled_property_new),
1203         (gst_control_point_free), (gst_controlled_property_free),
1204         (gst_controller_set), (gst_controller_set_from_list),
1205         (gst_controller_unset), (gst_controller_unset_all),
1206         (gst_controller_sync_values):
1207         * libs/gst/controller/gstcontroller.h:
1208         * libs/gst/controller/gstcontrollerprivate.h:
1209         * libs/gst/controller/gstinterpolation.c:
1210         (gst_controlled_property_find_control_point_node),
1211         (interpolate_none_get), (interpolate_trigger_get):
1212         Add a new private GstControlPoint struct which "inherits" from
1213         GstTimedValue to allow different interpolators to store internal
1214         values next to each control point. From the outside everything is
1215         still a GstControlPoint so we don't loose binary compatibility.
1216         Also fixup all the GValue handling to not leak GValues or list nodes.
1217         * tests/check/libs/controller.c: (GST_START_TEST):
1218         Free the list nodes and GValues in the controller_misc test.
1219
1220 2007-05-17  Edward Hervey  <edward@fluendo.com>
1221
1222         * gst/gstsegment.c:
1223         Small doc fix.
1224
1225 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1226
1227         * gst/gstplugin.c: (gst_plugin_load_file):
1228           If we fail to load a plugin because of unresolved symbols or missing
1229           libraries and spew a warning to stderr, we may just as well mention
1230           which plugin it was that failed to load.
1231
1232 2007-05-13  David Schleef  <ds@schleef.org>
1233
1234         * docs/Makefile.am: the gtk-doc makefile snippet correctly
1235           handles the case when ENABLE_GTK_DOC is false, and installs
1236           the prebuilt documentation.  So gtk-doc subdirs are 
1237           unconditionally enabled.  Fixes: #349099.
1238
1239 2007-05-13  David Schleef  <ds@schleef.org>
1240
1241         * gst/gstutils.h: Reword some documentation.
1242
1243 2007-05-12  David Schleef  <ds@schleef.org>
1244
1245         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1246           do anything with the passed "module" parameter, so remove it.
1247           Allows removal of additional vestigal code.
1248
1249 2007-05-12  David Schleef  <ds@schleef.org>
1250
1251         * gst/gstplugin.c:
1252           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1253           Switch to using g_stat() because it's more portable.
1254
1255 2007-05-12  David Schleef  <ds@schleef.org>
1256
1257         * gst/gst.c:
1258           Add GST_DISABLE_OPTION_PARSING, in order to disable option
1259           parsing for embedded systems.
1260         * gst/gstelementfactory.c:
1261           Allow gst_element_register() to be called with plugin==NULL.
1262           Did nobody notice that static elements were broken?
1263
1264 2007-05-12  Wim Taymans  <wim@fluendo.com>
1265
1266         * tools/gst-launch.c: (event_loop):
1267         Give more interesting info when buffering starts and stops.
1268         Fix case where buffering starts but we fail to update the buffering flag
1269         because the target state is not PLAYING.
1270
1271 2007-05-12  Wim Taymans  <wim@fluendo.com>
1272
1273         * plugins/elements/gstqueue.c: (gst_queue_init),
1274         (gst_queue_finalize), (update_time_level), (apply_segment),
1275         (apply_buffer), (gst_queue_locked_flush),
1276         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1277         (gst_queue_handle_sink_event), (gst_queue_chain),
1278         (gst_queue_push_one), (gst_queue_loop):
1279         * plugins/elements/gstqueue.h:
1280         Refactor an cleanup queue a bit.
1281         Do better time level calculations that also work when the srcpad is not
1282         yet running.
1283         Remove some unneeded debug lines.
1284
1285         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1286         Added testcase for time level measurement.
1287         Try to make some stuff more racefree.
1288
1289 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1290
1291         * gst/gsturi.c: (gst_element_make_from_uri):
1292           Don't leak plugin feature.
1293
1294         * tests/check/Makefile.am:
1295         * tests/check/gst/.cvsignore:
1296         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1297           Add brain-dead unit test.
1298
1299 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
1300
1301         Patch by: Jeroen Wouters <woutersj at gmail com>
1302
1303         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1304           Treat protocol strings in a case-insensitive way (#437563).
1305
1306 2007-05-11  Michael Smith <msmith@fluendo.com>
1307
1308         * gst/gstplugin.c: (gst_plugin_load_file):
1309         * gst/gstregistry.c: (gst_registry_scan_path_level):
1310           Don't print a g_warning for any failure to load a shared object.
1311           Instead, push this down into gstplugin.c, and warn _only_ if we
1312           failed to open the module (i.e. failure to link).
1313           Avoids warnings on normal, working, non-plugin .so files.
1314
1315 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
1316
1317         * gst/gstplugin.c (gst_plugin_load_file):
1318         * gst/gstregistry.c (GST_CAT_DEFAULT,
1319           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1320           Print a g_warning if there was an error when loading a plugins during
1321           registry scan. The shuld help beginners starting with gst-plugin
1322           template.
1323
1324 2007-05-10  Wim Taymans  <wim@fluendo.com>
1325
1326         * plugins/elements/gstqueue.c: (gst_queue_class_init),
1327         (update_time_level), (gst_queue_locked_flush),
1328         (gst_queue_handle_sink_event), (gst_queue_chain),
1329         (gst_queue_push_one), (gst_queue_loop):
1330         * plugins/elements/gstqueue.h:
1331         Be smarter when calculating the current amount of data in the queue by
1332         measuring the difference between start and end timestamps (in running
1333         time) inside the queue. Fixes #432876.
1334         API: GstQueue::pushing to notify elements that we are pushing data again
1335         since the running signal is rather broken for this purpose.
1336
1337 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
1338
1339         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1340           gst_queue_base_init, gst_queue_init):
1341           use GST_BOILERPLATE
1342
1343 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
1344
1345         * win32/common/libgstreamer.def:
1346         Add new exported functions.
1347         * win32/vs6/grammar.dsp:
1348         Use grammar pre-generated files.
1349
1350 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1351
1352         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
1353
1354         * gst/Makefile.am:
1355         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1356         * gst/gstparse.h:
1357         * gst/gstutils.c: (gst_parse_bin_from_description):
1358         * gst/gstutils.h:
1359           Maintain API and ABI when --disable-parse is used. Now that
1360           we have an appropriate error code, we can just return NULL and the
1361           appropriate error when gst_parse_launch() is used despite it having
1362           been disabled (#342564).
1363
1364         * tests/check/Makefile.am:
1365         * tests/check/pipelines/.cvsignore:
1366         * tests/check/pipelines/parse-disabled.c:
1367           Make sure these functions exist and return NULL plus a GError when
1368           --disable-parse is used.
1369
1370 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1371
1372         * tests/benchmarks/complexity.c: (main):
1373         * tests/benchmarks/mass-elements.c: (main):
1374           Set a good example and don't leak messages.
1375
1376 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
1377
1378         * docs/gst/Makefile.am:
1379         * docs/libs/Makefile.am:
1380           Correct fixxrefs options.
1381
1382         * docs/plugins/Makefile.am:
1383         * docs/plugins/gstreamer-plugins-docs.sgml:
1384         * docs/plugins/gstreamer-plugins-sections.txt:
1385         * plugins/elements/Makefile.am:
1386         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1387         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1388           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1389           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1390           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1391           _GstCapsFilterClass, trans_class):
1392         * plugins/elements/gstelements.c (name, rank, type, _elements):
1393         * plugins/elements/gstidentity.c
1394           (gst_identity_check_imperfect_timestamp,
1395           gst_identity_check_imperfect_offset):
1396           Document capsfilter and add doc-blurb to identity.
1397
1398 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1399
1400         * libs/gst/controller/gstcontroller.c:
1401         (gst_controlled_property_set_interpolation_mode):
1402         * libs/gst/controller/gstinterpolation.c:
1403           Don't crash if someone tries to set an interpolation mode that
1404           is invalid or that isn't supported yet. Fixes #422295.
1405
1406         * tests/check/libs/controller.c: (GST_START_TEST),
1407         (gst_controller_suite):
1408           Add a test case for the above.
1409
1410 2007-05-03  Edward Hervey  <edward@fluendo.com>
1411
1412         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1413         Properly set the last_stop position on GstSegment. This will only happen
1414         if there is a buffer to push out.
1415
1416 2007-05-03  Wim Taymans  <wim@fluendo.com>
1417
1418         * libs/gst/base/gstbasetransform.c:
1419         (gst_base_transform_buffer_alloc):
1420         always_in_place does not mean that the sink and source caps are the
1421         same! Make sure we don't blindly proxy the buffer_alloc in this case.
1422
1423 2007-05-03  Wim Taymans  <wim@fluendo.com>
1424
1425         * docs/libs/gstreamer-libs-sections.txt:
1426         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1427         (gst_base_src_default_query), (gst_base_src_get_range):
1428         * libs/gst/base/gstbasesrc.h:
1429         API: gst_base_src_query_latency(). Added method so that subclasses can
1430         easily get the latency values of the base source class.
1431
1432 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
1433
1434         * tools/gst-inspect.c (print_implementation_info):
1435         Remove 0.8 cruft.
1436
1437 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
1438
1439         * tools/Makefile.am:
1440         * tools/gst-launch.1.in:
1441           Don't create a customised man page based on the host architecture,
1442           describe the default registry path generically. That way the man
1443           page is the same for all architectures and packagers have one
1444           multilib issue less to deal with. Fixes #434926.
1445
1446 2007-05-02  Wim Taymans  <wim@fluendo.com>
1447
1448         * gst/gstpad.c:
1449         Fix documentation as spotted by rg on IRC. 
1450
1451 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
1452
1453         * gst/gstutils.c:
1454           Improve docs for gst_element_{link,unlink}.
1455
1456 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
1457
1458         * docs/design/part-events.txt:
1459         * docs/design/part-overview.txt:
1460         * gst/gstevent.c:
1461         * gst/gsturi.c:
1462         * gst/gsturi.h:
1463         * libs/gst/base/gstbasesink.c:
1464           Typo fixes; minor docs addition.
1465
1466 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1467
1468         * docs/gst/gstreamer-sections.txt:
1469         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1470         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1471         * gst/gsturi.h:
1472         API: Add gst_uri_protocol_is_supported(), which checks if a sink
1473         or src that supports a given URI protocol exists.
1474
1475 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1476
1477         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1478         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1479         Set the location to NULL if "file://" is set as URI. Otherwise
1480         some random previous URI would still be set if "file://" is
1481         set on an already used filesink/filesrc.
1482
1483 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
1484
1485         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1486         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1487         Special case the "file://" URI as as this is used by some
1488         applications to test with gst_element_make_from_uri if there's
1489         an element that supports the URI protocol.
1490         Also move the g_path_is_absolute() check for the location part
1491         of the URI to also check this for "file://localhost/bla" URIs.
1492
1493 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
1494
1495         * docs/gst/gstreamer-sections.txt:
1496         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1497         * gst/gstbuffer.h:
1498         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1499         (gst_buffer_suite):
1500           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1501
1502 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
1503
1504         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1505         (gst_registry_binary_load_pad_template),
1506         (gst_registry_binary_load_plugin),
1507         (gst_registry_binary_read_cache):
1508         * gst/gstregistrybinary.h:
1509           Implement no-mmap alternative for registry reading. Do code cleanups.
1510           Add more comments about avoiding strdups for all text data. Comments
1511           welcome.
1512
1513 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1514
1515         * gst/gstregistrybinary.h (GstBinaryPluginElement,
1516           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1517           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1518           Comment structs and reformat to fix the build (that stuff should go
1519           into a priv. header).
1520
1521 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
1522
1523         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1524         (gst_registry_binary_load_feature):
1525         * gst/gstregistrybinary.h:
1526           Refactor so that we can implement multiple features. Add support for
1527           TypeFindFactory features.
1528
1529 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
1530
1531         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1532
1533         * configure.ac:
1534           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1535
1536 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
1537
1538         * gst/gstbin.c: (gst_bin_element_set_state),
1539         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1540         (bin_handle_async_done), (gst_bin_handle_message_func):
1541           Fix build with --gst-disable-gst-debug
1542
1543 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1544
1545         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1546           Make sure streaming has finished before calling the ::stop() vfunc,
1547           since that vfunc might clear state which is being used in the
1548           streaming thread. This fixes a race that caused crashes in
1549           audioresample when shutting down a pipeline (#420106).
1550
1551 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1552
1553         * docs/gst/gstreamer-sections.txt:
1554           That was one byte missing.
1555
1556 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1557
1558         * configure.ac:
1559         * docs/gst/gstreamer-sections.txt:
1560         * gst/Makefile.am:
1561         * gst/gstconfig.h.in:
1562         * gst/gstobject.c: (gst_object_class_init),
1563         (gst_signal_object_class_init):
1564         * gst/gstobject.h:
1565           2nd attempt to have a xml-less build as a joined effort of #413123
1566           and #421480.
1567
1568 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
1569
1570         * docs/design/draft-tagreading.txt:
1571           Added open issues/thoughts to draft.
1572
1573 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1574
1575         * gst/parse/grammar.tab.pre.c:
1576         * gst/parse/grammar.tab.pre.h:
1577         * gst/parse/lex._gst_parse_yy.pre.c:
1578         Update the prebuild parser sources.
1579
1580 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1581
1582         * gst/parse/Makefile.am:
1583         And now fix the building of the flex sources. Now everything should
1584         work as expected.
1585
1586 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1587
1588         * gst/parse/Makefile.am:
1589         Now hopefully fix the build failures by setting proper rule
1590         dependencies and moving instead of copying.
1591
1592 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1593
1594         * tests/benchmarks/complexity.gnuplot:
1595         * tests/benchmarks/complexity.scm:
1596         * tests/benchmarks/mass-elements.gnuplot:
1597         * tests/benchmarks/mass-elements.scm:
1598           Total licensification.
1599
1600 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1601
1602         * gst/parse/Makefile.am:
1603           Fix the build by correcting the rule that gave wrong files to flex.
1604
1605 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
1606
1607         * tests/benchmarks/complexity.c:
1608         * tests/benchmarks/mass-elements.c:
1609           Change licence to LGPL as granted by Benjamin and Andy.
1610
1611 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1612
1613         * gst/parse/Makefile.am:
1614         Add correct grammar.tab.h dependency if compiling without new enough
1615         flex. Fixes #431150.
1616
1617 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1618
1619         * gst/parse/Makefile.am:
1620         Fix typo and use outdated sources if the flex/bison sources are newer
1621         than the pregenerated ones but flex is too old. Print a warning in
1622         that case. This should fix the build on the build bot.
1623
1624 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
1625
1626         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1627         * gst/parse/Makefile.am:
1628         * gst/parse/grammar.y:
1629         * gst/parse/parse.l:
1630         Make the parser reentrant and recursively callable. This requires flex
1631         >= 2.5.31, for older versions pregenerated sources are used as we
1632         can't bump the build dependency. Finally fixes #349180.
1633
1634         * gst/gstparse.c: (gst_parse_launch):
1635         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1636         now anyway.
1637
1638         * docs/gst/Makefile.am:
1639         * docs/gst/Makefile.am:
1640         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1641         (__gst_parse_strfree), (__gst_parse_link_new),
1642         (__gst_parse_link_free), (__gst_parse_chain_new),
1643         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1644         (gst_parse_element_set), (gst_parse_free_link),
1645         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1646         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1647         (_gst_parse_launch):
1648         * gst/parse/grammar.tab.pre.h:
1649         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1650         (yy_get_previous_state), (yy_try_NUL_trans), (input),
1651         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1652         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1653         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1654         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1655         (_gst_parse_yypop_buffer_state),
1656         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1657         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1658         (yy_fatal_error), (_gst_parse_yyget_extra),
1659         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1660         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1661         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1662         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1663         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1664         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1665         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1666         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1667         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1668         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1669         (_gst_parse_yyfree):
1670         If the installed flex version is too old use pre-generated parser
1671         sources. These pre-generated parser sources are always updated when
1672         the actual flex/bison sources change but require everybody who wants
1673         to change something in the parser to have flex >= 2.5.31 installed.
1674
1675 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
1676
1677         * common/m4/gst-gettext.m4:
1678         * gst/gst-i18n-lib.h:
1679           Make --disable-nls to work
1680
1681 2007-04-17  Wim Taymans  <wim@fluendo.com>
1682
1683         * gst/gstconfig.h.in:
1684         Revert previous change that broke the build.
1685
1686 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
1687
1688         * configure.ac:
1689         * gst/Makefile.am:
1690         * gst/gstconfig.h.in:
1691           Drop libxml2 dependency when building with 
1692           --enable-binary-registry --disable-loadsave
1693
1694 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
1695
1696         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1697         (gst_registry_binary_read_cache):
1698         * gst/gstregistrybinary.h:
1699           Remove unnecessary <sys/mman.h> include which broke the win32 build
1700           with MingW; move includes from header file to .c file, even if the
1701           header file isn't installed; use g_strerror() where UTF-8 strings
1702           are expected, such as in GST_DEBUG messages.
1703
1704 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1705
1706         * docs/libs/gstreamer-libs-sections.txt:
1707         Remove bogus addition for API I didn't end up keeping.
1708
1709         * libs/gst/base/gstbasesrc.h:
1710         Mention Since: 0.10.13 in the documentation.
1711
1712         Add the API keyword to the previous ChangeLog entry.
1713
1714 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1715
1716         * docs/libs/gstreamer-libs-sections.txt:
1717         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1718         (gst_base_src_default_prepare_seek_segment),
1719         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1720         * libs/gst/base/gstbasesrc.h:
1721         Allow basesrc derived classes to execute seeks in other formats
1722         by providing a prepare_seek_segment vmethod. Sub-classes can choose
1723         to prepare the GstSegment in any format that their perform_seek method
1724         will be able to understand. The default implementation provides the
1725         old behaviour of attempting to convert the seek offsets to the 
1726         configured native format.
1727
1728         API: basesrc::prepare_seek_segment vmethod.
1729
1730 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1731
1732         * gst/gstelement.c: (gst_element_get_state_func):
1733         Don't output the same debug statement twice.
1734
1735         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1736         (gst_adapter_peek), (gst_adapter_take_buffer):
1737         Optimise the case where we have buffers at the head of the queue that
1738         can be joined quickly (because they're contiguous sub-buffers) by
1739         merging them together rather than copying data out into new memory.
1740
1741         * gst/parse/grammar.y:
1742         * tests/check/pipelines/parse-launch.c:
1743         Fix a leak in an error path for parse_launch, and add a check 
1744         for it to the testsuite.
1745
1746 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
1747
1748         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1749           Don't deadlock when releasing a pad - gst_pad_set_active may try
1750           and take the multiqueue lock too.
1751
1752 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1753
1754         * gst/gsterror.c: (_gst_core_errors_init):
1755         * gst/gsterror.h:
1756           API: add GST_CORE_ERROR_DISABLED (#392804).
1757
1758 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1759
1760         * docs/faq/gst-uninstalled:
1761           don't get empty paths on the PATH variables
1762         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1763           Don't format for the uncommon terminal width of 84 characters.
1764
1765 2007-04-06  Wim Taymans  <wim@fluendo.com>
1766
1767         * gst/gstpipeline.c: (reset_stream_time),
1768         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1769         Only try to select a different pipeline clock when we went back to
1770         PAUSED and not when we merely got flushed.
1771
1772 2007-04-05  Michael Smith  <msmith@fluendo.com>
1773
1774         * tools/gst-launch.1.in:
1775           fractions are better supported in gstreamer than ractions, so
1776           suggest using those.
1777
1778 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
1779
1780         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1781
1782         * po/LINGUAS:
1783         * po/da.po:
1784           Added Danish translation.
1785
1786 2007-04-05  Wim Taymans  <wim@fluendo.com>
1787
1788         * libs/gst/base/gstbasesink.c:
1789         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1790         Fix leak caused when refusing newsegment after EOS.
1791
1792         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1793         (gst_fake_sink_init), (gst_fake_sink_set_property),
1794         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1795         (gst_fake_sink_render), (gst_fake_sink_change_state):
1796         * plugins/elements/gstfakesink.h:
1797         Add num-buffers property to make the element generate EOS after a
1798         configurable amount of buffers.
1799         API: fakesink::num-buffers property.
1800
1801         * tests/check/elements/fakesink.c: (GST_START_TEST),
1802         (fakesink_suite):
1803         Fix GstBus leak in test.
1804         Test for fakesink num-buffers.
1805
1806 2007-04-05  Wim Taymans  <wim@fluendo.com>
1807
1808         * libs/gst/base/gstbasesink.c:
1809         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1810         (gst_base_sink_change_state):
1811         Don't accept anything after an EOS, return UNEXPECTED instead.
1812
1813         * tests/check/elements/fakesink.c: (GST_START_TEST),
1814         (fakesink_suite):
1815         Unit test for new EOS behaviour.
1816
1817 2007-04-05  Wim Taymans  <wim@fluendo.com>
1818
1819         * gst/gstelement.c: (gst_element_get_request_pad):
1820         Make padtemplates also work when they don't contain %s or %d.
1821
1822 2007-04-05  Wim Taymans  <wim@fluendo.com>
1823
1824         * docs/gst/gstreamer-sections.txt:
1825         * gst/gstclock.c: (gst_clock_adjust_unlocked),
1826         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1827         * gst/gstclock.h:
1828         Improve _adjust_unlocked() so that it overflows less.
1829         Add gst_clock_unadjust_unlocked to convert from external time to
1830         internal time based on calibration.
1831         Add some more debug.
1832         API: GstClock::gst_clock_unadjust_unlocked()
1833
1834 2007-04-03  Wim Taymans  <wim@fluendo.com>
1835
1836         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1837
1838         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1839         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1840         when releasing sink pad. Fixes #425400.
1841
1842 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
1843
1844         * docs/random/ensonic/dynlink.txt:
1845           More work on proposal for new core api.
1846
1847         * docs/libs/gstreamer-libs-sections.txt:
1848         * libs/gst/base/gstbasetransform.h:
1849           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
1850           
1851         * libs/gst/controller/gstcontroller.c:
1852         (on_object_controlled_property_changed),
1853         (gst_controller_sync_values),
1854         (gst_controller_set_interpolation_mode):
1855         * libs/gst/controller/gstcontroller.h:
1856           Less verbose logging add docs for unimplemented parts and correctly
1857           return when using unavailable parts.
1858
1859 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1860
1861         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
1862         Move all the debug to the CLOCK category, and associate it with
1863         the clock object.
1864
1865 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
1866
1867         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
1868         Make take_buffer a bit quicker by removing redundant checks
1869         caused by calling gst_adapter_take.
1870
1871 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1872
1873         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
1874           Don't leak GCond.
1875
1876         * tests/check/Makefile.am:
1877         * tests/check/elements/.cvsignore:
1878         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1879         (GST_START_TEST), (multiqueue_suite):
1880           Add some dead simple unit tests for the 'multiqueue' element
1881           (some bits don't work yet and are disabled for now).
1882
1883 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
1884
1885         * gst/gstelement.c: (gst_element_get_request_pad),
1886         (gst_element_class_get_request_pad_template):
1887           Make gst_element_get_request_pad() create request pads only for
1888           request pad templates and not for, say, sometimes pad templates.
1889
1890 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
1891
1892         * docs/design/draft-klass.txt:
1893           Add example that needs more thinking.
1894         
1895         * docs/design/draft-missing-plugins.txt:
1896           More thoughts about wrapper plugins.
1897         
1898         * docs/random/ensonic/embedded.txt:
1899         * docs/random/ensonic/profiling.txt:
1900           More design work.
1901
1902 2007-03-25  Wim Taymans  <wim@fluendo.com>
1903
1904         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1905         (gst_base_src_loop):
1906         Only push the segment events in the PLAYING state for live sources.
1907
1908 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
1909
1910         * gst/gstpipeline.c: (gst_pipeline_change_state):
1911         Modify the clock distribution path in PAUSED->PLAYING so that we 
1912         never attempt to choose a new clock unless we're actually leaving
1913         the PAUSED state for the first time. This prevents choosing a
1914         different clock when the state_change gets called for a 2nd time due
1915         to some element doing an async state change.
1916
1917 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1918
1919         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
1920         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
1921         (gst_pad_chain_unchecked), (gst_pad_push):
1922         Revert last commit. This needs some more thoughts.
1923
1924 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1925
1926         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
1927         (gst_pad_chain_unchecked), (gst_pad_push):
1928         Check in set_caps if the caps are compatible with the pad and remove
1929         two functions that are redundant now. Fixes #421543.
1930
1931 2007-03-22  Wim Taymans  <wim@fluendo.com>
1932
1933         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1934         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
1935         Unref some more to make valgrind happy.
1936
1937 2007-03-22  Wim Taymans  <wim@fluendo.com>
1938
1939         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
1940         (gst_system_clock_id_wait_jitter),
1941         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
1942         Fix anoying regression that survived a few releases. When adding an
1943         async entry while blocking on a sync entry, the sync entry will unblock
1944         but still be busy, so it should continue to wait instead of returning
1945         _BUSY to the app.
1946         Add some comments here and there.
1947
1948         * tests/check/gst/gstsystemclock.c: (mixed_thread),
1949         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
1950         Add testcase for this.
1951
1952 2007-03-22  Wim Taymans  <wim@fluendo.com>
1953
1954         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
1955         Handle errors from the clock sync better, only UNSCHEDULED indicates a
1956         WRONG_STATE and can silently pause the task. All other cases should
1957         error out.
1958
1959 2007-03-22  Wim Taymans  <wim@fluendo.com>
1960
1961         Patch by: Ville Syrjala <syrjala at sci dot fi>
1962
1963         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
1964         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
1965         Improve debugging.
1966
1967 2007-03-21  Michael Smith  <msmith@fluendo.com>
1968
1969         * docs/pwg/advanced-types.xml:
1970           Fix some errors in the typefinding docs pointed out on irc.
1971
1972 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
1973
1974         * libs/gst/base/gstbasesrc.c:
1975         Clarify FIXME comment in the face of having added unlock_stop()
1976
1977 2007-03-21  Wim Taymans  <wim@fluendo.com>
1978
1979         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
1980         Prepare for release where we warn against possible app breakage in the
1981         case of live pipelines along with an env var to enable/disable live
1982         preroll mode (GST_COMPAT=[no-]live-preroll).
1983
1984 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1985
1986         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
1987         So we should use correct constants for checking for None offset.
1988
1989 2007-03-20  Wim Taymans  <wim@fluendo.com>
1990
1991         * docs/design/part-block.txt:
1992         Mention the fact that the newly switched element should be set to at
1993         least PAUSED.
1994
1995 2007-03-20  Wim Taymans  <wim@fluendo.com>
1996
1997         * gst/gst.c:
1998         Fix compilation with registry disabled as spotted by Saur.
1999
2000 2007-03-20  Wim Taymans  <wim@fluendo.com>
2001
2002         Patch by: Olivier Crete <tester at tester dot ca>
2003
2004         * gst/gstelement.c: (gst_element_sync_state_with_parent):
2005         Look at the pending state too when syncing the element state to the
2006         parent. Fixes #420133.
2007
2008 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
2009
2010         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2011         (gst_base_sink_change_state):
2012         * libs/gst/base/gstbasesink.h:
2013         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2014         (gst_base_src_default_event), (gst_base_src_unlock_stop),
2015         (gst_base_src_deactivate):
2016         * libs/gst/base/gstbasesrc.h:
2017         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2018         for sub-classes to correctly clear any state they set trying to
2019         unlock, such as clearing out unlock commands from a command fd.
2020         API: basesrc::unlock_stop
2021         API: basesink::unlock_stop
2022
2023         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2024         (gst_fd_sink_render), (gst_fd_sink_unlock),
2025         (gst_fd_sink_unlock_stop):
2026         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2027         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2028         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2029
2030         Implement unlock_stop in fdsrc and fdsink.
2031         Implement seeking in fdsrc when a seekable fd is passed, as in
2032         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2033
2034 2007-03-19  Wim Taymans  <wim@fluendo.com>
2035
2036         Patch by: Evan Nemerson <evan at coeus dash group dot com>
2037
2038         * gst/gstelement.c: (gst_element_class_init):
2039         Fix pad-added and pad-removed signal signatures so that the pad type is
2040         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2041
2042 2007-03-19  Wim Taymans  <wim@fluendo.com>
2043
2044         * docs/gst/gstreamer-sections.txt:
2045         Add new element field and method.
2046
2047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2048         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2049         (gst_bin_recalc_state), (gst_bin_get_state_func),
2050         (gst_bin_element_set_state), (gst_bin_change_state_func),
2051         (gst_bin_continue_func), (bin_bus_handler),
2052         (bin_push_state_continue), (bin_handle_async_start),
2053         (bin_handle_async_done), (gst_bin_handle_message_func):
2054         Make async state changes a bit smarter by using new ASYNC_START and
2055         ASYNC_DONE messages. This reduces the number of times we run the state
2056         recalculation thread.
2057         Don't change state of element with a pending ASYNC_START message.
2058         Deprecate STATE_DIRTY messages.
2059         
2060         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2061         (gst_element_get_state_func), (gst_element_continue_state),
2062         (gst_element_lost_state), (gst_element_set_state_func),
2063         (gst_element_change_state):
2064         * gst/gstelement.h:
2065         Keep the state that was last set by the app in a new element field.
2066         Don't allow state changes when handling an element event.
2067         Post ASYNC_START and ASYNC_DONE messages.
2068         Change lost_state so that we go to PAUSED and wait for the parent to set
2069         us to PLAYING again (so latency calculation can be performed)
2070         Export gst_element_change_state() method so that subclasses can use it.
2071         API: gst_element_change_state()
2072         API: GST_STATE_TARGET
2073
2074         * gst/gstpipeline.c: (gst_pipeline_class_init),
2075         (reset_stream_time), (gst_pipeline_change_state),
2076         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2077         Using the new ASYNC_START message we can reset the base_time when
2078         needed. This can then be used to implement base_time redistribution in
2079         flushing seeks so that we can remove the explicit seek handling.
2080         Perform latency query and configuration when going to PLAYING.
2081
2082         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2083         (gst_base_sink_query), (gst_base_sink_change_state):
2084         Post new ASYNC_START/ASYNC_DONE messages.
2085
2086         * tests/check/generic/sinks.c: (GST_START_TEST):
2087         Fix test because the bin will not set the async element to PLAYING right
2088         away.
2089
2090         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2091         Make the message check a little stronger.
2092         Handle ASYNC messages.
2093
2094         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2095         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2096         Expect ASYNC_DONE messages.
2097
2098 2007-03-19  Wim Taymans  <wim@fluendo.com>
2099
2100         * docs/gst/gstreamer-sections.txt:
2101         * gst/gstmessage.c: (gst_message_new_async_start),
2102         (gst_message_new_async_done), (gst_message_parse_info),
2103         (gst_message_parse_async_start):
2104         * gst/gstmessage.h:
2105         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2106         support.
2107
2108 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2109
2110         * tools/gst-inspect.c:
2111         (print_plugin_automatic_install_info_codecs):
2112           Now that we don't check for the 'Codec' keyword any longer in the
2113           klass, we shouldn't spew a warning if the klass isn't a decoder or
2114           encoder (since it might be a Source/Network, for example).
2115
2116 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2117
2118         * tools/gst-inspect.c:
2119         (print_plugin_automatic_install_info_codecs):
2120           Don't require decoder/demuxer/depayloader elements or
2121           encoder/muxer/paylader elements to have 'Codec' as part of their
2122           factory class string when introspecting a plugin's capabilities.
2123           draft-klass.txt mentions that it might be removed in future, and
2124           flump3dec doesn't have it as part of its class string, so chances
2125           are others might also not have it.
2126
2127 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
2128
2129         * po/af.po:
2130         * po/az.po:
2131         * po/bg.po:
2132         * po/ca.po:
2133         * po/cs.po:
2134         * po/de.po:
2135         * po/en_GB.po:
2136         * po/fr.po:
2137         * po/it.po:
2138         * po/nb.po:
2139         * po/nl.po:
2140         * po/ru.po:
2141         * po/sq.po:
2142         * po/sr.po:
2143         * po/sv.po:
2144         * po/tr.po:
2145         * po/uk.po:
2146         * po/vi.po:
2147         * po/zh_CN.po:
2148         * po/zh_TW.po:
2149           Update translations from translation project
2150
2151 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
2152
2153         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2154         (gst_child_proxy_set_property):
2155           Invert precondition check to be alike the ones in the mimiced gobject
2156           api.
2157
2158 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
2159
2160         * docs/design/draft-tagreading.txt:
2161         * docs/random/ensonic/audiobaseclasses.txt:
2162           Do some Architect work.
2163
2164         * gst/gstobject.c: (gst_object_set_name):
2165           Add a WARNING.
2166
2167         * gst/gstpad.c:
2168           Add docs that point from gst_pad_get_range to gst_pad_pull_range
2169
2170 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
2171
2172         * gst/gstsystemclock.c: (gst_system_clock_init),
2173         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2174         Defer starting the async system clock thread until the first async
2175         wait is scheduled. Fixes #414986.
2176
2177 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2178
2179         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2180         (gst_single_queue_free):
2181           Fix small leak (free GstSingleQueue structure too, not only contents).
2182
2183 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
2184
2185         * gst/gstbin.c:(gst_bin_add):
2186         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2187         * win32/common/libgstbase.def:
2188         * win32/common/libgstreamer.def:
2189         Add new exported functions.
2190
2191 2007-03-09  Wim Taymans  <wim@fluendo.com>
2192
2193         * docs/plugins/gstreamer-plugins-sections.txt:
2194         Fix GstTee docs.
2195
2196 2007-03-09  Wim Taymans  <wim@fluendo.com>
2197
2198         * docs/gst/gstreamer-sections.txt:
2199         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2200         * gst/gstbuffer.h:
2201         Add metadata copy functions. Fixes #393099.
2202         API: gst_buffer_copy_metadata()
2203
2204         * gst/gstutils.c: (gst_buffer_stamp):
2205         * libs/gst/base/gstbasetransform.c:
2206         (gst_base_transform_prepare_output_buffer):
2207         Use new metadata copy functions.
2208
2209 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2210
2211         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2212         (gst_identity_init), (gst_identity_check_perfect),
2213         (gst_identity_check_imperfect_timestamp),
2214         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2215         (gst_identity_set_property), (gst_identity_get_property):
2216         * plugins/elements/gstidentity.h:
2217         Separate out check-imperfect-timestamp and check-imperfect-offset.
2218         Put back check-perfect as it was to keep compatibility.
2219
2220 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
2221
2222         * gst/gstelement.c: (gst_element_dispose):
2223         There's no need to warn if VOID_PENDING is not NONE here, as
2224         long as the state is NULL it's ok, and that's checked immediately
2225         above.
2226
2227 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2228
2229         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2230         Fix check for perfect stream to ignore buffers with -1 
2231         offsets/offset ends when checking data contiguity.
2232
2233 2007-03-08  Wim Taymans  <wim@fluendo.com>
2234
2235         * tools/gst-launch.c: (event_loop):
2236         Print INFO messages.
2237
2238 2007-03-08  Wim Taymans  <wim@fluendo.com>
2239
2240         * libs/gst/base/gstbasetransform.c:
2241         (gst_base_transform_sink_eventfunc),
2242         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2243         (gst_base_transform_activate):
2244         * libs/gst/base/gstbasetransform.h:
2245         Add support for dropping buffers with custom GstFlowReturn.
2246         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2247         buffers or dropped buffers.
2248
2249         * docs/libs/gstreamer-libs-sections.txt:
2250         docs for new custom return code.
2251
2252         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2253         Use drop support in base class to implement drop-probability.
2254
2255 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2256
2257         * gst/gst.c: (load_plugin_func):
2258         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2259         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2260         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2261           Remove newlines at end of debug log strings.
2262
2263 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2264
2265         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2266         Only post bus message at max, once per buffer received.
2267
2268 2007-03-07  Wim Taymans  <wim@fluendo.com>
2269
2270         * docs/design/Makefile.am:
2271         * docs/design/part-synchronisation.txt:
2272         Add doc about synchronisation
2273
2274         * docs/design/draft-latency.txt:
2275         * docs/design/part-TODO.txt:
2276         * docs/design/part-clocks.txt:
2277         * docs/design/part-events.txt:
2278         * docs/design/part-gstbus.txt:
2279         * docs/design/part-gstpipeline.txt:
2280         * docs/design/part-live-source.txt:
2281         * docs/design/part-messages.txt:
2282         * docs/design/part-overview.txt:
2283         * docs/design/part-streams.txt:
2284         * docs/design/part-trickmodes.txt:
2285         Documentation updates.
2286
2287 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2288
2289         * gstreamer.doap:
2290         Update the doap file.
2291
2292 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2293
2294         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2295         Rename non-perfect to imperfect for Mike and for the sanctity of the
2296         language.
2297         Also make sure bus message gets emitted for data-incontiguities.
2298
2299 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2300
2301         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2302         (gst_identity_start):
2303         * plugins/elements/gstidentity.h:
2304         Emit bus message if check-perfect is true and we encounter a
2305         non-perfect stream between 2 consecutive buffers.
2306         Fixes #415394.
2307
2308 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
2309
2310         * configure.ac:
2311         Back to CVS
2312
2313 === release 0.10.12 ===
2314
2315 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
2316
2317         * configure.ac:
2318           releasing 0.10.12, "Inevitable Demise"
2319
2320 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
2321
2322         * configure.ac:
2323          Version 0.10.11.2 (0.10.12 pre-release)
2324          Bump libtool versioning.
2325
2326 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
2327
2328         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2329           Log flow-names and not numbers.
2330
2331 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2332
2333         * configure.ac:
2334           Convert to new AG_GST style.
2335
2336 2007-02-28  Wim Taymans  <wim@fluendo.com>
2337
2338         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2339         Don't unref query twice.
2340
2341 2007-02-28  Wim Taymans  <wim@fluendo.com>
2342
2343         * gst/gstvalue.c: (gst_value_transform_object_string),
2344         (_gst_value_initialize):
2345         Implement GstObject -> string transform so we print object names
2346         when serializing GValues containing GstObjects.
2347
2348 2007-02-28  Wim Taymans  <wim@fluendo.com>
2349
2350         * docs/gst/gstreamer-sections.txt:
2351         Add new stuff to docs.
2352
2353 2007-02-28  Wim Taymans  <wim@fluendo.com>
2354
2355         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2356         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2357         (gst_base_sink_change_state):
2358         Improve latency query code.
2359         Don't leak latency events.
2360
2361         * tests/check/gst/gstbin.c: (GST_START_TEST):
2362         Improve debugging.
2363
2364 2007-02-28  Wim Taymans  <wim@fluendo.com>
2365
2366         * gst/gstelement.c: (gst_element_message_full),
2367         (gst_element_get_state_func):
2368         * gst/gstelement.h:
2369         Improve docs a little. Added Since: for new macro.
2370
2371         * gst/gstobject.c: (gst_object_sink):
2372         * gst/gstpipeline.c: (gst_pipeline_change_state),
2373         (gst_pipeline_set_new_stream_time):
2374         * gst/gstpipeline.h:
2375         Improve debugging and docs.
2376
2377         * gst/gstutils.c: (gst_element_state_change_return_get_name):
2378         Improve debugging.
2379
2380 2007-02-28  Wim Taymans  <wim@fluendo.com>
2381
2382         * gst/gstelement.c: (gst_element_message_full),
2383         (gst_element_set_locked_state), (gst_element_get_state_func),
2384         (gst_element_change_state):
2385         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2386         Documentation updates.
2387         Small code cleanups.
2388
2389         * gst/gstmessage.c: (gst_message_new_info),
2390         (gst_message_parse_info):
2391         * gst/gstmessage.h:
2392         API: gst_message_new_info()
2393         API: gst_message_parse_info()
2394         Add INFO message create and parse code.
2395
2396 2007-02-28  Wim Taymans  <wim@fluendo.com>
2397
2398         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2399         (bin_query_latency_done):
2400         Also report the live parameter of a latency query.
2401
2402 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2403
2404         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2405           Copy the current generic/states example from -base and adapt so
2406           we can use the exact same code everywhere.
2407           Check a STATES_IGNORE_ELEMENTS env var which can be used
2408           to ignore certain element factories for this test, which is
2409           what is being done in -base
2410         * tests/check/Makefile.am:
2411           Mention this environment variable.
2412
2413 2007-02-27  Wim Taymans  <wim@fluendo.com>
2414
2415         * docs/gst/gstreamer-sections.txt:
2416         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2417         (gst_bus_timed_pop), (gst_bus_pop):
2418         * gst/gstbus.h:
2419         API: gst_bus_timed_pop()
2420         Implement gst_bus_timed_pop() to do a blocking timed wait for a
2421         message to arrive on the bus.
2422
2423         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2424         (gst_bus_suite):
2425         Two unit tests for new _timed_pop() function.
2426
2427 2007-02-23  Wim Taymans  <wim@fluendo.com>
2428
2429         * gst/gstpipeline.c: (gst_pipeline_change_state),
2430         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2431         Don't ref a NULL clock in _provide_clock_func().
2432         Don't allow an INVALID delay.
2433         Don't try to calculate base_time with an invalid start_time.
2434         Also distribute and notify a NULL clock when it was selected.
2435
2436         * tools/gst-launch.c: (event_loop):
2437         Don't crash when a NULL clock was selected in the pipeline.
2438
2439 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2440
2441         * docs/design/Makefile.am:
2442         * docs/design/draft-missing-plugins.txt:
2443         * docs/random/draft-missing-plugins.txt:
2444           Some small updates: update plugin system identifier prefix
2445           ('gstreamer.net' to 'gstreamer'), mention our new install
2446           API in libgstbaseutils rather than libgimme-codec, add
2447           reference to the online docs.
2448
2449 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2450
2451         * win32/common/config.h:
2452           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
2453           use moap cl ci to only check in what is mentioned in the ChangeLog.
2454
2455 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2456
2457         * docs/gst/gstreamer-sections.txt:
2458         * gst/gstelement.h:
2459           Fix up documentation to link to the correct GstGError section.
2460           Add GST_ELEMENT_INFO macro since someone else added a Info message.
2461
2462 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2463
2464         * tools/gst-launch.c: (event_loop):
2465           Make sure that we actually show the important message part of a
2466           warning message.
2467           No need to check if the gerror is not NULL to free; first of all
2468           g_free accepts NULL; and second the default error handler would
2469           segfault if gerror was NULL.
2470
2471 2007-02-21  Wim Taymans  <wim@fluendo.com>
2472
2473         * docs/gst/gstreamer-sections.txt:
2474         Removed docs as well.
2475
2476 2007-02-21  Wim Taymans  <wim@fluendo.com>
2477
2478         * gst/gstmessage.c: (gst_message_parse_duration):
2479         * gst/gstmessage.h:
2480         Remove new messages for release.
2481
2482 2007-02-20  Wim Taymans  <wim@fluendo.com>
2483
2484         * docs/design/part-gstghostpad.txt:
2485         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2486         (gst_ghost_pad_new_full):
2487         Make the ghostpad a parent of the internal pad again for better backward
2488         compatibility. Don't write code that relies on this however.
2489
2490         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2491         (gst_pad_link_check_hierarchy):
2492         Require that parents should be GstElements in the hierarchy check.
2493
2494 2007-02-20  Wim Taymans  <wim@fluendo.com>
2495
2496         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2497         (gst_bin_change_state_func), (bin_query_min_max_init),
2498         (bin_query_latency_fold), (bin_query_latency_done),
2499         (gst_bin_query):
2500         Improve debug info.
2501         Implement latency query.
2502
2503 2007-02-20  Wim Taymans  <wim@fluendo.com>
2504
2505         * docs/design/part-gstghostpad.txt:
2506         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2507         (gst_ghost_pad_internal_do_activate_push),
2508         (gst_ghost_pad_internal_do_activate_pull),
2509         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2510         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2511         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2512         Do not set the internal pad as a parent anymore so we can avoid
2513         hierarchy linking errors when the ghostpad has no parent yet. This also
2514         fixes failed activation because of unlinked internal pads, which in
2515         turn fixes the impossible case where you have to activate a pad before
2516         you can add it to a running element.
2517         Also fix the docs.
2518
2519         * gst/gstpad.c: (pre_activate), (post_activate),
2520         (gst_pad_set_active), (gst_pad_activate_pull),
2521         (gst_pad_activate_push), (gst_pad_check_pull_range):
2522         Add some more debug info.
2523         Mark activation mode in pre_activate so that we don't try to activate in
2524         endless loops. Fixes #385084.
2525
2526 2007-02-19  Wim Taymans  <wim@fluendo.com>
2527
2528         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2529         (gst_base_transform_check_get_range):
2530         Implement a checkgetrange function instead of relying on the default
2531         core behaviour that assumes we can operate in pull mode if we have a
2532         getrange function. First step at fixing #385084.
2533
2534 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
2535
2536         * gst/gstchildproxy.h:
2537         * libs/gst/base/gstbasesink.h:
2538         * libs/gst/base/gstbasesrc.h:
2539         * libs/gst/base/gstbasetransform.h:
2540         More docs coverage and some ChangeLog surgery (add missing names)
2541
2542 2007-02-15  Wim Taymans  <wim@fluendo.com>
2543
2544         * docs/design/part-TODO.txt:
2545         * docs/design/part-activation.txt:
2546         * docs/design/part-block.txt:
2547         * docs/design/part-buffering.txt:
2548         * docs/design/part-clocks.txt:
2549         * docs/design/part-element-source.txt:
2550         * docs/design/part-events.txt:
2551         * docs/design/part-gstbin.txt:
2552         * docs/design/part-gstbus.txt:
2553         * docs/design/part-gstpipeline.txt:
2554         * docs/design/part-live-source.txt:
2555         * docs/design/part-messages.txt:
2556         * docs/design/part-overview.txt:
2557         * docs/design/part-qos.txt:
2558         * docs/design/part-query.txt:
2559         * docs/design/part-states.txt:
2560         * docs/design/part-trickmodes.txt:
2561         Some doc updates. Start renaming from stream_time to running_time where
2562         it was used wrongly.
2563
2564 2007-02-15  Wim Taymans  <wim@fluendo.com>
2565
2566         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2567         Answer LATENCY query.
2568
2569 2007-02-15  Wim Taymans  <wim@fluendo.com>
2570
2571         * tests/check/gst/gstevent.c: (event_probe), (test_event),
2572         (GST_START_TEST):
2573         Improve debugging.
2574
2575 2007-02-15  Wim Taymans  <wim@fluendo.com>
2576
2577         * gst/gstpad.c: (gst_pad_get_internal_links_default),
2578         (gst_pad_dispatcher):
2579         Improve debugging of default pad dispatcher and query functions.
2580
2581 2007-02-15  Wim Taymans  <wim@fluendo.com>
2582
2583         * docs/gst/gstreamer-sections.txt:
2584         Remove old unused method.
2585
2586 2007-02-13  Wim Taymans  <wim@fluendo.com>
2587
2588         * tests/check/gst/gstsegment.c: (GST_START_TEST):
2589         Fix check
2590
2591 2007-02-13  Wim Taymans  <wim@fluendo.com>
2592
2593         * docs/design/part-seeking.txt:
2594         Some small update.
2595
2596         * gst/gstsegment.c: (gst_segment_set_seek):
2597         Revert old bogus change that should make seeking work again.
2598
2599 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2600
2601         * docs/random/ensonic/dynlink.txt:
2602         * docs/random/ensonic/interfaces.txt:
2603         * docs/random/ensonic/receipies.txt:
2604           Possible dynamic reconnection api, plus some type fixes the other two
2605           docs.
2606
2607 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
2608
2609         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2610         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2611         Also check for an absolute path following file:// in the filesrc
2612         element. Remove redundant check and call g_path_is_absolute() on the
2613         unescaped location.
2614
2615 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
2616
2617         * docs/design/draft-klass.txt:
2618           Add existing category analysis.
2619           
2620         * gst/gstcaps.c:
2621           Fix doc example, framerate is a fraction.
2622
2623 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2624
2625         * configure.ac:
2626         * docs/gst/Makefile.am:
2627         * docs/gst/gstreamer-sections.txt:
2628         * docs/libs/Makefile.am:
2629           Erm, forgot a bunch of --extra-dir.
2630
2631 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
2632
2633         * configure.ac:
2634         * docs/gst/Makefile.am:
2635         * docs/libs/Makefile.am:
2636         * docs/plugins/Makefile.am:
2637           Add crossreferences to glib/gobject docs.
2638
2639 2007-02-12  Wim Taymans  <wim@fluendo.com>
2640
2641         * docs/design/draft-latency.txt:
2642         Small update.
2643
2644         * docs/libs/gstreamer-libs-sections.txt:
2645         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2646         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2647         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2648         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2649         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2650         (gst_base_sink_get_position), (gst_base_sink_query),
2651         (gst_base_sink_change_state):
2652         * libs/gst/base/gstbasesink.h:
2653         API: gst_base_sink_query_latency() to let subclasses query the upstream
2654         latency.
2655         API: gst_base_sink_get_latency() to let subclasses query the configured
2656         latency in the sink.
2657         Implement query and set latency.
2658         Update some docs.
2659         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2660         don't continue preroll when we are flushing. Fixes #405284.
2661
2662         * tests/check/pipelines/stress.c: (change_state_timeout),
2663         (quit_timeout), (GST_START_TEST), (stress_suite):
2664         Test for #405284.
2665
2666 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
2667
2668         Patch by: René Stadler <mail at renestadler de>
2669
2670         * docs/gst/gstreamer-sections.txt:
2671         * gst/gsttaglist.c: (_gst_tag_initialize):
2672         * gst/gsttaglist.h:
2673           API: add GST_TAG_REFERENCE_LEVEL (#403597).
2674
2675 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
2676
2677         * docs/libs/Makefile.am:
2678           Fix path to core docs.
2679
2680         * gst/gstbin.c: (gst_bin_get_by_interface),
2681         (gst_bin_iterate_all_by_interface):
2682           Refix docs by also renaming 'interface' to 'iface' in implementation.
2683
2684         * docs/gst/gstreamer-sections.txt:
2685         * gst/gstcaps.c:
2686         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2687         * gst/gstchildproxy.h:
2688         * gst/gstelementfactory.c:
2689         * gst/gstpadtemplate.h:
2690         * libs/gst/controller/gstcontroller.c:
2691         (gst_controlled_property_new):
2692           Document more.
2693
2694 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
2695
2696         * gst/gstbin.h:(gst_bin_get_by_interface),
2697         (gst_bin_iterate_all_by_interface):
2698         Replace interface parameter name by iface as interface is 
2699         a reserved keyword in Visual Studio for C++ projects so it removes
2700         a build error for application developpers using VS.
2701         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2702         Fix a bug on Windows in uri format check. Now the prefix checked
2703         is file:// and next we check if the path after file:// is absolute.
2704         * win32/common/libgstbase.def:
2705         * win32/common/libgstdataprotocol.def:
2706         * win32/common/libgstgstreamer.def:
2707         Add new exported functions.
2708
2709 2007-02-09  Andy Wingo  <wingo@pobox.com>
2710
2711         * tests/check/pipelines/simple-launch-lines.c
2712         (simple_launch_lines_suite, test_tee): Disable tee test until I
2713         have time to fix it :-(
2714
2715         * tests/check/Makefile.am (noinst_HEADERS): 
2716         * tests/check/libs/libsabi.c: 
2717         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2718         * tests/check/gst/gstabi.c: 
2719         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2720
2721         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2722         tests for push and pull tee behavior.
2723
2724         * plugins/elements/gsttee.h: 
2725         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2726         mark as deprecated as well as unimplemented. It was a crack idea.
2727         Add support for tee operating in pull mode, off by default.
2728
2729         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2730         normal-case logs down to LOG, raise errors to WARNING.
2731         (gst_registry_xml_read_cache): Don't log before calling a function
2732         that logs.
2733
2734         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2735         exit (registry finalize).
2736         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2737         DEBUG log when we emit signals that people don't even have the
2738         chance to connect to.
2739         (gst_registry_scan_path_level): Less logging in the normal case.
2740
2741 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2742
2743         Patch by: Michal Benes <michal dot benes at itonis dot tv>
2744
2745         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2746         Correctly generate EOS for non-seekable files. We don't have a total
2747         length for them and would get an unexpected end of file if we only
2748         special-cased for regular files. (Fixes: #404569)
2749
2750 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2751
2752         * tests/check/elements/filesrc.c: (GST_START_TEST),
2753         (filesrc_suite):
2754         Add unit test for the GstURIHandler interface in filesrc. This also
2755         tests the newly added file://localhost/foo/bar support.
2756
2757 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
2758
2759         * gst/gstelementfactory.h:
2760           The klass string is not a hierarchy. Add reference to the design doc
2761           for more information and common types.
2762
2763 2007-02-02  Wim Taymans  <wim@fluendo.com>
2764
2765         * gst/gstquery.c: (gst_query_new_latency):
2766         Remove old structure field.
2767
2768 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
2769
2770         * tools/gst-launch.1.in:
2771           Give example for network streaming (#351998)
2772
2773 2007-02-02  Wim Taymans  <wim@fluendo.com>
2774
2775         * docs/gst/gstreamer-sections.txt:
2776         Add docs for new methods.
2777
2778         * gst/gstevent.c: (gst_event_new_latency),
2779         (gst_event_parse_latency):
2780         * gst/gstevent.h:
2781         Add new LATENCY event to configure latency in a pipeline.
2782         API: gst_event_new_latency
2783         API: gst_event_parse_latency
2784
2785         * gst/gstmessage.c: (gst_message_new_buffering),
2786         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2787         (gst_message_new_latency), (gst_message_parse_buffering),
2788         (gst_message_parse_lost_preroll):
2789         * gst/gstmessage.h:
2790         Added messages used in draft-latency.
2791         API: gst_message_new_lost_preroll
2792         API: gst_message_parse_lost_preroll
2793         API: gst_message_new_prerolled
2794         API: gst_message_new_latency
2795
2796         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2797         (gst_query_parse_latency):
2798         * gst/gstquery.h:
2799         Implemented new latency query as in design doc.
2800         API: gst_query_new_latency
2801         API: gst_query_set_latency
2802         API: gst_query_parse_latency
2803
2804 2007-02-02  Wim Taymans  <wim@fluendo.com>
2805
2806         * docs/design/draft-latency.txt:
2807         Slight redesign to allow for dynamic latency adjustments.
2808
2809         * docs/design/part-negotiation.txt:
2810         Fix some typos.
2811
2812 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2813
2814         reviewed by: Wim Taymans <wim@fluendo.com>
2815
2816         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2817         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2818         Allow file://localhost/foo/bar URLs and correctly fail for every other
2819         hostname that one sets. This was gnomevfssrc is linked for those if
2820         installed as it can handle it (#403172)
2821
2822 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2823
2824         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2825
2826         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2827         (unref_data), (gst_collect_pads_add_pad_full):
2828         * libs/gst/base/gstcollectpads.h:
2829         Don't put the previously added destroy notify in the GstCollectData
2830         struct as all it's padding is already used and we don't want to break
2831         ABI. Instead put in the pad's GObject data for now. This should be
2832         cleaned up for 0.11 (#402393).
2833
2834 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
2835
2836         reviewed by: Wim Taymans <wim@fluendo.com>
2837
2838         * docs/libs/gstreamer-libs-sections.txt:
2839         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2840         (unref_data), (gst_collect_pads_add_pad),
2841         (gst_collect_pads_add_pad_full):
2842         * libs/gst/base/gstcollectpads.h:
2843         API: Add function to specify a destroy notification for custom
2844         GstCollectData when adding new pads in GstCollectPads (#402393).
2845
2846 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
2847
2848         * po/sv.po:
2849           Update Swedish translation (#378255).
2850
2851 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2852
2853         * docs/design/draft-klass.txt:
2854           Fix the previous change, this is a list of categories and not a hierarchy.
2855
2856 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
2857
2858         * docs/design/draft-klass.txt:
2859           Add info about how to get a list of used classes.
2860
2861 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
2862
2863         * plugins/elements/gsttypefindelement.c:
2864         (gst_type_find_element_chain_do_typefinding),
2865         (gst_type_find_element_change_state):
2866           Don't leak found caps in chain function (no idea why that never
2867           showed up as a leak anywhere).
2868
2869 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
2870
2871         * gst/gstplugin.h:
2872           Fix and expand GstPluginDesc API docs.
2873
2874 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2875
2876         * gst/gstcaps.c:
2877         * gst/gstelementfactory.c:
2878         * gst/gstpadtemplate.h:
2879           api doc fixes
2880
2881         * libs/gst/controller/gstcontroller.c:
2882         (gst_controlled_property_new):
2883         * tests/examples/controller/audio-example.c:
2884           comment fixes
2885
2886 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
2887
2888         * configure.ac:
2889           comment about refining the xml deps
2890
2891         * docs/manuals.mak:
2892           comments about moving away from jade for docs
2893         
2894         * gst/gst.c:
2895           recommit the ifdefs to use the binary registry
2896         
2897         * gst/gstbin.c: (gst_bin_change_state_func):
2898           this break is obsolete
2899
2900         * gst/gstelementfactory.h:
2901           better GST_ELEMENT_DETAILS docs, add comment about translation
2902
2903         * gst/gstinfo.h:
2904           remove eol slash
2905
2906         * gst/gstobject.c: (gst_signal_object_get_type):
2907           add G_UNLIKELY as usual
2908
2909         * gst/gstpad.c: (gst_pad_event_default):
2910           add fall trhu comment
2911
2912         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2913         (gst_registry_binary_initialize_magic),
2914         (gst_registry_binary_save_string),
2915         (gst_registry_binary_save_pad_template),
2916         (gst_registry_binary_save_feature),
2917         (gst_registry_binary_save_plugin),
2918         (gst_registry_binary_write_cache),
2919         (gst_registry_binary_check_magic),
2920         (gst_registry_binary_load_pad_template),
2921         (gst_registry_binary_load_feature),
2922         (gst_registry_binary_load_plugin),
2923         (gst_registry_binary_read_cache):
2924           comment typo and formatting
2925
2926         * gst/gstutils.c: (gst_element_state_get_name),
2927         (gst_element_state_change_return_get_name):
2928           remove obsolete breaks
2929
2930         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2931           add FIXME 0.11 and remove cpp comment
2932
2933 2007-01-29  Edward Hervey  <edward@fluendo.com>
2934
2935         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2936         Fix print statement in an even more portable way.
2937
2938 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
2939
2940         * docs/gst/gstreamer-sections.txt:
2941         * gst/gstutils.h:
2942           API: add GST_ROUND_DOWN_* macros (#401781).
2943
2944 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * docs/gst/gstreamer.types.in:
2947         * gst/gstregistry.c: (gst_registry_class_init):
2948           Document registry signals and make gtk-doc pick them up (#401381).
2949
2950 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
2951
2952         * docs/pwg/building-testapp.xml:
2953           Add some audioconverts and audioresample to the pipeline, and some
2954           more comments and error handling.
2955
2956 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
2957
2958         * docs/manual/manual.xml:
2959         * docs/pwg/pwg.xml:
2960           Fix typo (#400987).
2961
2962 2007-01-26  Wim Taymans  <wim@fluendo.com>
2963
2964         * gst/gstcaps.c: (gst_static_caps_get):
2965         Init caps flags too.
2966
2967 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
2968
2969         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
2970
2971         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2972         If not using mmap'ed files try to seek to the end instead of the
2973         start to determine whether we can seek at all. This fixes the case
2974         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
2975         seeks for everything afterwards fail. Fixes #400656
2976
2977 2007-01-25  Wim Taymans  <wim@fluendo.com>
2978
2979         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
2980         Add some refcount debugging.
2981         Make gst_static_caps_get threadsafe, which is needed when autoplugging
2982         in multiple streaming threads.
2983
2984 2007-01-25  Wim Taymans  <wim@fluendo.com>
2985
2986         Patch by: David Schleef <ds at schleef dot org>
2987
2988         * docs/libs/gstreamer-libs-sections.txt:
2989         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
2990         * libs/gst/base/gstadapter.h:
2991         API: gst_adapter_copy() that can reduce the amount of memcpy when
2992         getting data from the adapter. Fixes #388201.
2993
2994 2007-01-25  Edward Hervey  <edward@fluendo.com>
2995
2996         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2997         In print statements, "%x" is for guint. Fixes build on macosx.
2998
2999 2007-01-24  Edward Hervey  <edward@fluendo.com>
3000
3001         * plugins/elements/gstmultiqueue.c:
3002         (gst_multi_queue_loop):
3003         Small fix.
3004         (single_queue_overrun_cb), (single_queue_underrun_cb),
3005         (single_queue_check_full), (gst_single_queue_new):
3006         Implement single queue growth system.
3007         This uses the extra-size properties, and will grow single queues by
3008         that much if one goes full whereas there are others empty. This is
3009         called extra-mode in the code.
3010         When a single queue's levels go back below the initial max-size
3011         limits, it is no longer in extra-mode. This is to ensure we don't
3012         consume too much memory.
3013         Fixes #399875
3014
3015 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
3016
3017         * gst/gst.c: (gst_init_get_option_group):
3018           Make warning about late g_thread_init() calls a bit more explicit,
3019           so that it's more obvious to application developers what they need
3020           to do if a user files a bug against their application.
3021
3022 2007-01-22  Edward Hervey  <edward@fluendo.com>
3023
3024         * plugins/elements/gstmultiqueue.c:
3025         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3026         Remove previous hack of unsetting the flushing flag for the source pad
3027         instead of activating it. Instead, fix the source pad activate function
3028         so that it no longer depends on having a parent set or not.
3029
3030 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
3031
3032         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3033
3034         * docs/manual/basics-bus.xml:
3035           Fix example code, gst_element_unref() doesn't exist any longer.
3036
3037 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         Patch by: Mark Nauwelaerts <manauw at skynet be>
3040
3041         * gst/gstpad.c:
3042           Fix two docs typoes (#399094).
3043
3044 2007-01-19  Edward Hervey  <edward@fluendo.com>
3045
3046         * docs/faq/gst-uninstalled:
3047         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3048         depending on libgstbaseutils can work in uninstalled environment.
3049
3050 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
3051
3052         * gst/gsttaglist.h:
3053         * gst/gsttagsetter.c:
3054         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3055         statement for new tag.
3056
3057 2007-01-17  Edward Hervey  <edward@fluendo.com>
3058
3059         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3060         When dynamically creating single queues, activate sinkpad before adding
3061         it.
3062         We should be doing the same thing for the source pad, but we can't
3063         since it would call a method which needs the parent to be set in order
3064         to work propertly. Instead of activating the source pad, we just unset
3065         the flushing flag, which is the minimal requirement for adding a pad
3066         to an element in a state greater than READY.
3067
3068 2007-01-17  Edward Hervey  <edward@fluendo.com>
3069
3070         * docs/faq/gst-uninstalled:
3071         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3072         Mac OS X.
3073
3074 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3075
3076         * tests/check/gst/gstabi.c:
3077         * tests/check/gst/struct_hppa.h:
3078         * tests/check/libs/libsabi.c:
3079         * tests/check/libs/struct_hppa.h:
3080           Add ABI structs for HPPA (see #393796).
3081
3082 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
3083
3084         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3085           Actually write ABI structs to the file specified in the GST_ABI
3086           environment variable, as the message we print claims we would.
3087
3088 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3089
3090         * tests/check/gst/gsttask.c:
3091           Fix header comment.
3092
3093 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3094
3095         * gst/gsttaglist.c: (_gst_tag_initialize):
3096           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3097           previous two entries.
3098
3099 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3100
3101         * docs/gst/gstreamer-sections.txt:
3102         * gst/gsttaglist.c: (_gst_tag_initialize):
3103         * gst/gsttaglist.h:
3104           Add tag support for beat-per-minute.
3105
3106 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
3107
3108         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3109         (gst_registry_binary_initialize_magic),
3110         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3111         (gst_registry_binary_save_pad_template),
3112         (gst_registry_binary_save_feature),
3113         (gst_registry_binary_save_plugin),
3114         (gst_registry_binary_write_cache),
3115         (gst_registry_binary_check_magic),
3116         (gst_registry_binary_load_pad_template),
3117         (gst_registry_binary_load_feature),
3118         (gst_registry_binary_load_plugin),
3119         (gst_registry_binary_read_cache):
3120         * gst/gstregistrybinary.h:
3121           Use glib types, cleanup comments, impement interfaces and uri-types.
3122
3123 2007-01-13  Andy Wingo  <wingo@pobox.com>
3124
3125         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3126         getrange() to return buffers with other caps, while we fix
3127         demuxers and typefind, or otherwise change part-negotiation.txt.
3128
3129 2007-01-12  Andy Wingo  <wingo@pobox.com>
3130
3131         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3132         Factor start/stop into this private function instead of partially
3133         in activate functions and partially in the change_state function.
3134         Fixes setup before the element has changed from READY->PAUSED, as
3135         is the case in pull-mode pipelines.
3136         (gst_base_transform_sink_activate_push)
3137         (gst_base_transform_src_activate_pull): Refactor to use
3138         gst_base_transform_activate().
3139         (gst_base_transform_change_state): Removed, not needed any more.
3140
3141         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3142         Truncate before fixating.
3143         
3144         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3145         Don't set_caps() if the result of fixating is ANY, as it's not
3146         supported, and not necessary in the case of a link with no
3147         template caps on either side. Fixes tests/check/libs/basesrc in
3148         some pull-mode tests.
3149
3150         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3151         (gst_base_transform_init, gst_base_transform_sink_activate_push)
3152         (gst_base_transform_src_activate_pull): 
3153         Track the activation mode.
3154         (gst_base_transform_setcaps): In pull mode, when activating the
3155         src pad, after activating the sink pad, activate the sink pad's
3156         peer, as discussed in part-negotiation.txt.
3157
3158         * libs/gst/base/gstbasesrc.h: 
3159         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3160         vmethod, as in basesink.
3161
3162         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3163
3164         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3165         mode, first proxy the setcaps to the peer pad.
3166         (gst_base_sink_pad_fixate): Add a fixate function that calls the
3167         new fixate vmethod.
3168         (gst_base_sink_default_activate_pull): Rename from
3169         gst_base_sink_activate_pull.
3170         (gst_base_sink_negotiate_pull): New function, performs negotiation
3171         in pull mode before calling ::activate_pull().
3172         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3173         vmethod instead of the default implementation. I have no idea how
3174         this worked before. Negotiate before calling activate_pull.
3175
3176         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3177         sink pads in pull mode. In addition to being correct, fixes
3178         filesrc ! decodebin ! identity ! fakesink.
3179         (gst_pad_get_range, gst_pad_pull_range): Don't call
3180         gst_pad_set_caps() if the caps changes; instead error out with
3181         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3182
3183 2007-01-12  Andy Wingo  <wingo@pobox.com>
3184
3185         * docs/design/part-negotiation.txt: Update with more policy.
3186
3187 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3188
3189         * libs/gst/check/gstbufferstraw.h:
3190         * libs/gst/check/gstcheck.h:
3191           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3192           belongs.
3193
3194 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3195
3196         * tests/check/Makefile.am:
3197         * tests/check/gst/.cvsignore:
3198         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3199         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3200         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3201         (GST_START_TEST), (gst_tag_setter_suite):
3202           Add minimal unit test for beforementioned GstTagSetter bug.
3203
3204 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
3205
3206         Patch by: René Stadler <mail at renestadler dot de>
3207
3208         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3209           gst_tag_list_merge() returns a new list, so it's not the best idea
3210           to ingore its return value. Effectively meant that tags could only
3211           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3212           Also add function guard to require a non-NULL taglist as input (has
3213           always been so due to gst_tag_list_copy(), just making it explicit).
3214
3215 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * docs/random/draft-missing-plugins.txt:
3218           Some additions: mention new API that is supposed to be used at the
3219           various stages; short blob about new gst-inspect introspection
3220           option; mention potential future problem with plugins that have
3221           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3222
3223 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3224
3225         * tools/gst-inspect.c:
3226         (print_plugin_automatic_install_info_codecs),
3227         (print_plugin_automatic_install_info_protocols),
3228         (print_plugin_automatic_install_info), (main):
3229         Add --print-plugin-auto-install-info option to gst-inspect, so we can
3230         introspect plugin files and get machine-parsable output that corresponds
3231         to the last bit of the missing-plugin installer string (small gotcha:
3232         doesn't take into account ranks).
3233
3234 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * configure.ac:
3237         * docs/gst/gstreamer-sections.txt:
3238         * gst/Makefile.am:
3239         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3240         (gst_registry_lookup_locked):
3241         * gst/gstregistry.h:
3242         * gst/gstregistrybinary.c: (gst_registry_binary_write),
3243         (gst_registry_binary_initialize_magic),
3244         (gst_registry_binary_save_string),
3245         (gst_registry_binary_save_pad_template),
3246         (gst_registry_binary_save_feature),
3247         (gst_registry_binary_save_plugin),
3248         (gst_registry_binary_write_cache),
3249         (gst_registry_binary_check_magic),
3250         (gst_registry_binary_load_pad_template),
3251         (gst_registry_binary_load_feature),
3252         (gst_registry_binary_load_plugin),
3253         (gst_registry_binary_read_cache):
3254         * gst/gstregistrybinary.h:
3255         * gst/gstregistryxml.c: (load_feature),
3256         (gst_registry_xml_read_cache):
3257           commit binary registry (disabled by default, see #359653)
3258
3259 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3262           Fix 'make check' too.
3263
3264 2007-01-10  Andy Wingo  <wingo@pobox.com>
3265
3266         * docs/design/part-negotiation.txt: Fix a typo, add a couple
3267         notes.
3268         
3269         * docs/design/part-negotiation.txt: Update with, um, one way that
3270         pull-mode negotiation might work?
3271
3272         * gst/gstpad.h: 
3273         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3274         that the pad must be a src pad; makes sense to call it the other
3275         way in pull mode, and the logic is symmetric anyway.
3276
3277 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3278
3279         * plugins/elements/gstfilesink.c:
3280           Include <stdio.h> for fseeko().
3281
3282 2007-01-10  Wim Taymans  <wim@fluendo.com>
3283
3284         * gst/gstevent.c:
3285         * gst/gstevent.h:
3286         Reserve LATENCY event.
3287
3288 2007-01-09  Wim Taymans  <wim@fluendo.com>
3289
3290         * docs/design/draft-latency.txt:
3291         Updates.
3292
3293 2007-01-09  Wim Taymans  <wim@fluendo.com>
3294
3295         * docs/design/draft-latency.txt:
3296         Updates.
3297
3298         * gst/gstelement.h:
3299         * gst/gststructure.c:
3300         * gst/gsttrace.c:
3301         Small typo fixes.
3302
3303 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3304
3305         * tests/check/.cvsignore:
3306           Ignore test-registry.xml as well.
3307
3308 2007-01-09  Wim Taymans  <wim@fluendo.com>
3309
3310         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3311         unref data at the end when we are done with the pad.
3312
3313 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         * docs/gst/gstreamer-sections.txt:
3316         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3317         (init_post), (gst_deinit), (gst_update_registry):
3318         * gst/gst.h:
3319           API: add gst_update_registry() (#391296).
3320
3321         * tests/check/Makefile.am:
3322         * tests/check/gst/gstregistry.c:
3323         * tests/check/gst/.cvsignore:
3324           Simple unit test for the above.
3325
3326 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3327
3328         * gst/gstregistry.c: (gst_registry_scan_path_level):
3329           Plugin extension on HP-UX is .sl, add that to the list of approved
3330           plugin extensions (see #393796).
3331
3332         * tests/check/gst/gstpad.c: (GST_START_TEST):
3333           ulong => gulong. Fixes compilation with HP-UX compiler.
3334
3335         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3336           Fix compilation if valgrind headers are not available.
3337
3338 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
3339
3340         * win32/common/libgstreamer.def: 
3341           Add new exported function.
3342         * win32/vs6/libgstbase.dsp: 
3343           Add gstdataqueue.c to the build.
3344         * win32/vs6/libgstcoreelements.dsp:
3345           Add gstmultiqueue.c to the build.
3346         
3347 2007-01-06  Andy Wingo  <wingo@pobox.com>
3348
3349         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3350         activate_pull(), providing for a way to specialize the process of
3351         spawning a thread to pull on the sink pad. There is a default
3352         implementation.
3353
3354         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3355         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3356         (gst_base_sink_init): Renamed pad activation functions (inserting
3357         "_pad" in their names). Refactor to use the new activate_pull
3358         vmethod, as appropriate.
3359         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3360         default activate_pull function to start a task pulling from the
3361         sink pad, as before.
3362
3363         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3364         on the pads if necessary, as in push()/chain(). Update docs.
3365         Shouldn't affect existing pull() usage as it is currently only
3366         being used on buffers without caps.
3367
3368 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3369
3370         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3371         (init_pre):
3372           Call g_thread_init() first thing in gst_init() / gst_check_init().
3373           When initialisation is done via gst_init_get_option_group() and
3374           GOption parsing, issue a warning if the GLib thread system has not
3375           been initialised yet by the time gst_init_get_option_group() is
3376           called, as it's quite likely other GLib functions such as
3377           g_option_context_new() have been called already then, and
3378           g_thread_init() must be called before any other GLib function. The
3379           application in question must be fixed in that case, since memory
3380           corruption might happen otherwise.
3381           We issue the warning because even if the GLib folks decide to work
3382           around the problem on their end in future, this is still an issue
3383           with all GLib versions >= 2.10.0, so we should warn until we depend
3384           on a GLib version we know to be safe.
3385           Update documentation as well.
3386           Closes bug #391278.
3387
3388 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3389
3390         * tools/gst-inspect.c: (main):
3391         * tools/gst-launch.c: (main):
3392         * tools/gst-typefind.c: (main):
3393         * tools/gst-xmlinspect.c: (main):
3394           Call g_thread_init() really really early, before any other GLib
3395           function (see #342564 and recent discussion on gtk-devel-list).
3396
3397 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3398
3399         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
3400
3401         * gst/gst_private.h:
3402         * gst/gstconfig.h.in:
3403         * gst/gstinfo.h:
3404           On win32, all the __declspec stuff for symbol exporting is
3405           apparently only needed with MSVC, but doesn't work with MingW.
3406           Fixes compilation with MingW and #391909.
3407
3408 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3409
3410         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3411           Change some GST_ERROR_OBJECT that aren't really errors to
3412           GST_WARNING_OBJECT in order to reduce terminal spam.
3413
3414 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3415
3416         * tests/check/Makefile.am:
3417           disable test again, as there seem to be still race problems
3418
3419 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
3420
3421         * tests/check/Makefile.am:
3422         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3423         (GST_START_TEST), (queue_suite):
3424           enable queue test again, add tests for the leaky behaviour
3425
3426 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
3427
3428         * configure.ac:
3429         * tests/examples/Makefile.am:
3430           Compile adapter test/example only if the required headers are
3431           available (fixes #391915).
3432
3433 2007-01-01  David Schleef  <ds@schleef.org>
3434
3435         * gst/gstplugin.c:
3436           Restore the previous signal handler for SIGSEGV instead of
3437           setting to default, since we may have stolen it away from
3438           someone.  (i.e., Mono)
3439
3440 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * docs/random/draft-missing-plugins.txt:
3443           Some small additions and clarifications.
3444
3445 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
3446
3447         * gst/gstregistryxml.c: (gst_registry_save_escaped):
3448           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3449           since that can lead to random memory corruptions and crashes
3450           (may or may not be related to #383244, #386711, and #386711).
3451
3452 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3453
3454         * tests/check/.cvsignore:
3455         * tests/check/Makefile.am:
3456           sync .cvsignome and CLEANFILES
3457
3458 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3459
3460         * tests/check/Makefile.am:
3461           fix distcheck
3462
3463 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3464
3465         * docs/design/part-states.txt:
3466           two tiny additional comments
3467         
3468         * gst/gststructure.c:
3469           doc fixing
3470
3471         * tests/check/Makefile.am:
3472         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3473         (GST_START_TEST):
3474           disable test for now, unless it gets fixed
3475
3476 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3477
3478         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3479         (GST_START_TEST):
3480           fix race in underrun test
3481
3482 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * tests/check/elements/.cvsignore:
3485           ignore more
3486
3487         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3488         (GST_START_TEST):
3489           try to narrow test failure
3490
3491 2006-12-21  David Schleef  <ds@schleef.org>
3492
3493         * plugins/elements/gstfakesrc.c:
3494           Use g_random_int_range(), since it produces better random
3495           numbers in a range than almost-correct floating point code.
3496
3497 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
3498
3499         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3500         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3501         (gst_check_teardown_sink_pad):
3502           do not automatically (de)activate pads
3503
3504         * tests/check/Makefile.am:
3505         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3506         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3507           add new, yet simple tests for queue
3508
3509         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3510         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3511         * tests/check/elements/filesrc.c: (cleanup_filesrc),
3512         (GST_START_TEST):
3513         * tests/check/elements/identity.c: (cleanup_identity):
3514           consistent pad (de)activation
3515
3516 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3517
3518         Patch by: Sebastian Dröge  <slomo ubuntu com>
3519
3520         * libs/gst/base/gstcollectpads.c:
3521           Fix two doc typos (#387866).
3522
3523 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3524
3525         * docs/manual/advanced-dparams.xml:
3526           Fix typo (g_object_control_properties() doesn't exist).
3527
3528 2006-12-19  Edward Hervey  <edward@fluendo.com>
3529
3530         * gst/gstsegment.c: (gst_segment_set_seek):
3531         Fine tune the cases where the segment start/stop values are really
3532         updated.
3533         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3534         Add tests for the return values of gst_segment_set_seek().
3535
3536 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
3537
3538         * gst/gst.c:
3539           Docs typo fix.
3540
3541         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3542         (gst_queue_init):
3543           Fix incorrect documentation and flesh it out a bit more.
3544           Set default values for the max properties on the GParamSpec as well,
3545           so it shows up correctly in gst-inspect.
3546
3547 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3550           Correct docs of queue, add more detail and crosslink it more.
3551
3552 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3553
3554         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3555           Print additional debug info when the stream isn't perfectly
3556           timestamped; don't try to use invalid durations.
3557
3558 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3559
3560         * docs/design/Makefile.am:
3561           Dist new design docs.
3562
3563 2006-12-16  Wim Taymans  <wim@fluendo.com>
3564
3565         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3566
3567         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3568         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3569         (gst_collect_pads_stop), (gst_collect_pads_event),
3570         (gst_collect_pads_chain):
3571         * libs/gst/base/gstcollectpads.h:
3572         Add refcounting to the collectpads data so we can track when it's safe
3573         to free the data. Fixes #383382.
3574
3575 2006-12-15  Wim Taymans  <wim@fluendo.com>
3576
3577         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3578         (gst_collect_pads_remove_pad):
3579         Automatically activate/deactivate pads when they are added to a
3580         started/stoped collectpads.
3581
3582 2006-12-15  Wim Taymans  <wim@fluendo.com>
3583
3584         * gst/gstelement.c: (gst_element_add_pad):
3585         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3586         * gst/gstpad.c: (gst_pad_init):
3587         Set pads to FLUSHING when they are created. Check, warn and fix when a
3588         demuxer adds an inactive pad to itself when running. Fixes #339326.
3589
3590 2006-12-15  Wim Taymans  <wim@fluendo.com>
3591
3592         * gst/gstelement.c: (gst_element_class_init),
3593         (gst_element_default_send_event), (gst_element_send_event),
3594         (gst_element_default_query), (gst_element_query):
3595         Expose default element send_event and query handling as vmethods that
3596         subclasses can chain up to.
3597
3598 2006-12-15  Wim Taymans  <wim@fluendo.com>
3599
3600         * gst/gstelement.c: (gst_element_set_state_func):
3601         Small documentation fixes.
3602
3603 2006-12-15  Wim Taymans  <wim@fluendo.com>
3604
3605         * docs/design/draft-latency.txt:
3606         Checked in draft for handling latency in pipelines.
3607
3608 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3609
3610         * Makefile.am:
3611         * gstreamer.doap:
3612         * gstreamer.spec.in:
3613           adding .doap file
3614
3615 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
3616
3617         * gst/gst.c: (init_pre), (init_post):
3618           init_pre() and init_post() might be called via our GOptionGroup or
3619           from gst_init(), and we should skip both of them if we've already
3620           been initialised, otherwise we will init some things twice or add
3621           two default log functions.
3622
3623 2006-12-13  Edward Hervey  <edward@fluendo.com>
3624
3625         * docs/manual/basics-bus.xml:
3626         No, gst_main_loop does not exist. Its g_main_loop.
3627         Discovered by somebody who abused the copy-paste technique of coding :)
3628
3629 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3630
3631         * gst/gstghostpad.c:
3632           Log ghostpad debug stuff to the GST_PADS category as well rather
3633           than just to the default category.
3634
3635 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3636
3637         * configure.ac:
3638         * gst/gst.c: (init_pre):
3639           Add some basic system details such as OS and architecture
3640           to the debug output if possible, courtesy of uname().
3641
3642 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         * docs/gst/running.xml:
3645           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3646           environment variables.
3647
3648 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3649
3650         * tests/check/gst/gstbin.c: (GST_START_TEST):
3651         It is acceptable to have a refcount of 2 or 3 at this point in the
3652         test, because the pipeline might be just posting its state_change
3653         message. The next line then waits for that message to appear using
3654         bus_poll, so that should be fine too.
3655
3656 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
3657
3658         * gst/gst.c: (ensure_current_registry_forking):
3659         Ignore EINTR when reading from the child registry pipe.
3660         Explicitly ignore the return value from close, since it makes no
3661         difference.
3662
3663         * gst/gstminiobject.c: (gst_mini_object_ref),
3664         (gst_mini_object_unref):
3665         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3666
3667         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3668         When removing cached plugins, remove their features too, so they're
3669         not visible after they've disappeared.
3670
3671         * gst/gstutils.c: (prepare_link_maybe_ghosting):
3672         In the unlikely case that we are linking pads with no parents, don't
3673         crash trying to get the non-existent parent bin.
3674
3675         * gst/parse/grammar.y:
3676         Output debug in the PIPELINE category
3677
3678 2005-03-08  Wim Taymans  <wim@fluendo.com>
3679
3680         Patch by: René Stadler <mail at renestadler dot de>
3681
3682         * gst/gstclock.c: (gst_clock_new_periodic_id):
3683         Reject invalid clock times for interval of periodic ids.
3684         Fixes ##383506.
3685
3686 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3687
3688         * gst/gstelementfactory.c: (gst_element_factory_create):
3689         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3690         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3691         * tools/gst-inspect.c: (print_element_info):
3692         Fix refcounting of gst_plugin_feature_load to match the docs. 
3693         Fixes: #380129
3694
3695 2006-12-07  Wim Taymans  <wim@fluendo.com>
3696
3697         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3698         (gst_base_sink_get_position):
3699         Improve debugging of events.
3700
3701 2006-12-07  Wim Taymans  <wim@fluendo.com>
3702
3703         Patch by: René Stadler <mail at renestadler dot de>
3704
3705         * gst/gstclock.c: (gst_clock_id_wait):
3706         Make period ids add the interval to the origial requested time instead
3707         of the possibly updated time which can be wrong when there are multiple
3708         waiters for the same id. Fixes #382592.
3709
3710         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3711         (gst_system_clock_id_wait_jitter_unlocked),
3712         (gst_system_clock_id_wait_jitter):
3713         Fix restart in the async notify thread when an async entry is added to
3714         the front of the list. Fixes #381492. 
3715
3716         * tests/check/gst/gstsystemclock.c: (store_callback),
3717         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3718         Added test for multiple async waits.
3719         Added test for async wait order.
3720
3721 2006-12-07  Wim Taymans  <wim@fluendo.com>
3722
3723         * gst/gstbin.c: (gst_bin_query):
3724         Add some more docs about the POSITION query.
3725
3726 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
3727
3728         * configure.ac:
3729         Bump version nano - back to CVS.
3730
3731 === release 0.10.11 ===
3732
3733 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
3734
3735         * configure.ac:
3736           releasing 0.10.11, "Love never runs on time"
3737
3738 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
3739
3740         * win32/common/libgstbase.def:
3741         * win32/common/libgstreamer.def:
3742         * win32/vs8/libgstbase.vcproj:
3743         * win32/vs8/libgstcoreelements.vcproj:
3744         * win32/vs8/libgstreamer.vcproj:
3745         Fix compilation on win32 under VS8
3746         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3747         Partially fixes #381175
3748
3749 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
3750
3751         * gst/gstvalue.c: (gst_value_compare_fraction):
3752         If someone is foolish enough to compare 2 fractions with denominator =
3753         0, return UNORDERED rather than aborting.
3754
3755 2006-11-28  Edward Hervey  <edward@fluendo.com>
3756
3757         * libs/gst/base/Makefile.am:
3758         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3759         (gst_data_queue_base_init), (gst_data_queue_class_init),
3760         (gst_data_queue_init), (gst_data_queue_new),
3761         (gst_data_queue_cleanup), (gst_data_queue_finalize),
3762         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3763         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3764         (gst_data_queue_is_empty), (gst_data_queue_is_full),
3765         (gst_data_queue_set_flushing), (gst_data_queue_push),
3766         (gst_data_queue_pop), (gst_data_queue_drop_head),
3767         (gst_data_queue_set_property), (gst_data_queue_get_property):
3768         * libs/gst/base/gstdataqueue.h:
3769         New GstDataQueue object for threadsafe queueing. Most useful for
3770         elements that need some queueing functionnality.
3771         * docs/libs/gstreamer-libs-docs.sgml:
3772         * docs/libs/gstreamer-libs-sections.txt:
3773         Insert documentation for GstDataQueue
3774         * plugins/elements/Makefile.am:
3775         * plugins/elements/gstelements.c:
3776         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3777         (gst_multi_queue_class_init), (gst_multi_queue_init),
3778         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3779         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3780         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3781         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3782         (gst_multi_queue_loop), (gst_multi_queue_chain),
3783         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3784         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3785         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3786         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3787         (wake_up_next_non_linked), (compute_next_non_linked),
3788         (single_queue_overrun_cb), (single_queue_underrun_cb),
3789         (single_queue_check_full), (gst_single_queue_new):
3790         * plugins/elements/gstmultiqueue.h:
3791         New multiqueue element, using GstDataQueue. Used for queuing multiple
3792         streams.
3793         Closes #344639 and #347785
3794
3795 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
3796
3797         * docs/pwg/advanced-types.xml:
3798           add more missing type details
3799
3800         * tools/gst-run.c: (main):
3801           remove unused variable
3802
3803 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
3804
3805         * docs/libs/Makefile.am:
3806         * docs/libs/gstreamer-libs.types:
3807           add types of base classes to enable gobject specific stuff in the docs
3808
3809         * docs/random/ensonic/embedded.txt:
3810           more ideas about isolating platform specific things
3811
3812 2006-11-20  Wim Taymans  <wim@fluendo.com>
3813
3814         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3815
3816         * libs/gst/check/gstcheck.h:
3817         Fix compilation and running against 0.9.4. Fixes #377332.
3818
3819 2006-11-20  Wim Taymans  <wim@fluendo.com>
3820
3821         * gst/gstsegment.c: (gst_segment_set_seek),
3822         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3823         (gst_segment_to_running_time):
3824         Fix boundary checking in to_running_time() and to_stream_time().
3825         Fixes #377183.
3826
3827         * tests/check/gst/gstsegment.c: (GST_START_TEST):
3828         stream and running time can now be calculated for the complete
3829         clipped segment.
3830
3831 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
3832
3833         * gst/gstpad.c: (gst_pad_push_event):
3834           Can't access event structure after giving away ownership of
3835           the event.
3836
3837 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
3838
3839         * docs/random/ensonic/embedded.txt:
3840         * docs/random/ensonic/profiling.txt:
3841         * docs/random/ensonic/receipies.txt:
3842           more thinking
3843
3844 2006-11-13  Wim Taymans  <wim@fluendo.com>
3845
3846         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3847
3848         * gst/gstpad.c:
3849         Fix documentation for gst_pad_dispatcher. Fixes #374475.
3850
3851 2006-11-13  Wim Taymans  <wim@fluendo.com>
3852
3853         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
3854
3855         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
3856         Store new length in segment duration so we don't keep on calling the
3857         potentially expensize get_size() call. Fixes #370865.
3858
3859 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
3860
3861         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
3862
3863         * win32/common/libgstreamer.def:
3864           Add two missing symbols (#366492).
3865
3866 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
3867
3868         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
3869         (gst_adapter_take_buffer):
3870         Fix format string to use all its arguments.
3871         Remove useless >= check on a guint
3872
3873 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3874
3875         * tests/examples/adapter/.cvsignore:
3876         Ignore build file as commanded by the build-bot
3877
3878 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3879
3880         * tests/examples/adapter/Makefile.am:
3881         * tests/examples/adapter/adapter_test.c: (run_test_take),
3882         (run_test_take_buffer), (run_tests), (main):
3883
3884         Add new files from the previous commit
3885
3886 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
3887
3888         * Makefile.am:
3889         * configure.ac:
3890         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
3891         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
3892         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
3893         * libs/gst/base/gstadapter.h:
3894         * tests/check/libs/adapter.c: (create_and_fill_adapter),
3895         (GST_START_TEST), (gst_adapter_suite):
3896         * tests/examples/Makefile.am:
3897         Do some optimisation work in GstAdapter to avoid copies in more cases.
3898         It could still do slightly better by merging buffers when
3899         gst_buffer_is_span_fast is true, but is already faster. 
3900
3901         Also, avoid traversing a single-linked list to append each incoming 
3902         buffer inside the adapter.
3903
3904         Add simple test app that times the adapter behaviour in different
3905         situations, and extend the unit test to check that bytes enter and
3906         exit the adapter in their original order.
3907
3908 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
3909
3910         * docs/random/draft-missing-plugins.txt:
3911           Update: use element message instead of adding a new message
3912           type to the core; don't provide GStreamer API to initiate the
3913           plugin download, just provide API to compose the strings needed
3914           and let an external libgimmestuff handle the rest.
3915
3916 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
3917
3918         * tools/gst-inspect.c: (print_element_properties_info):
3919         Print a string instead of 'unknown type' for GValueArray properties
3920
3921 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
3922
3923         * docs/random/draft-missing-plugins.txt:
3924         More small fixes.
3925
3926 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * tests/examples/typefind/typefind.c: (type_found), (main):
3929           Make typefind element example work again (#371894); add a
3930           license header.
3931
3932 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3933
3934         * docs/random/draft-missing-plugins.txt:
3935           Commit initial draft about how to deal with missing plugins,
3936           needs work (API too).
3937
3938 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
3939
3940         * docs/pwg/advanced-types.xml:
3941           documents the new caps elements (see #363118)
3942
3943 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3944
3945         * gst/gstplugin.c: (gst_plugin_load_file):
3946         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
3947         (gst_file_src_map_region), (gst_file_src_start):
3948         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
3949         (gst_file_index_commit):
3950           Use g_strerror() instead of strerror() - we want UTF-8.
3951
3952 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3953
3954         Patch by: Peter Kjellerstedt <pkj at axis com>
3955
3956         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3957           Another printf fix (#371493).
3958
3959 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * tests/check/gst/gsttag.c:
3962           relicence (okay with author=company)
3963
3964 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3967         (gst_pad_push_event):
3968           Enhance debug and improve docs
3969         
3970         * gst/gsturi.c:
3971           Fix docs
3972
3973 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
3974
3975         * docs/random/ensonic/distributed.txt:
3976         * docs/random/ensonic/profiling.txt:
3977           more ideas
3978
3979 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
3980
3981         * docs/gst/gstreamer-sections.txt:
3982           add new API and fix the build
3983           
3984         * gst/gstbin.c: (gst_bin_recalc_state):
3985         * gst/gstelement.c: (gst_element_message_full),
3986         (gst_element_get_state_func), (gst_element_set_state_func):
3987           use new API and improve logging
3988         
3989         * gst/gstutils.c: (gst_element_state_change_return_get_name):
3990         * gst/gstutils.h:
3991           API: add function to get StateChangereturn names to improve logs 
3992
3993 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
3994
3995         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3996           I'm considering shooting the next person to put strerror stuff
3997           in the translateable part of the message.
3998
3999 2006-11-03  Wim Taymans  <wim@fluendo.com>
4000
4001         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4002         Get the type and printf conversion specifiers right.
4003
4004 2006-11-03  Wim Taymans  <wim@fluendo.com>
4005
4006         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4007
4008         * gst/gstpad.c: (gst_pad_init), (pre_activate),
4009         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4010         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4011         Some small cleanups. Improve debugging.
4012         * gst/gstpad.h:
4013         Signal all waiting threads with a broadcast instead of just one.
4014         Fixes #369942.
4015
4016 2006-11-03  Wim Taymans  <wim@fluendo.com>
4017
4018         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4019         (gst_fd_src_create):
4020         Add some debugging. 
4021         Only update fd when it's different from the old.
4022
4023 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4026           Printf fixes for PPC/OSX, take two (#369366).
4027
4028 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4029
4030         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
4031
4032         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4033         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4034         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4035           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4036           don't cast to long long for portability reasons, but use
4037           GLib's types instead.
4038
4039 2006-10-30  Michael Smith  <msmith@fluendo.com>
4040
4041         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4042           Get the arguments to lseek() the right way around.
4043           Fixes 367677.
4044
4045 2006-10-30  Wim Taymans  <wim@fluendo.com>
4046
4047         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4048
4049         * gst/gstinfo.h:
4050         _declspec should be __declspec (two underscores, not one). Fixes 366572.
4051
4052 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4053
4054         Patch by: Kjartan Maraas  <kmaraas at gnome org>
4055
4056         * docs/design/part-MT-refcounting.txt:
4057         * docs/random/wtay/capsnego2-docs:
4058         * gst/gstclock.c:
4059         * gst/gstxml.c:
4060           Typo fixes (#366212).
4061
4062 2006-10-28  Wim Taymans  <wim@fluendo.com>
4063
4064         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4065
4066         * gst/gst.c:
4067         * win32/common/libgstbase.def:
4068         * win32/common/libgstreamer.def:
4069         * win32/vs8/libgstbase.vcproj:
4070         * win32/vs8/libgstcontroller.vcproj:
4071         Add needed entries in .def files.
4072         Use HAVE_UNISTD_H.
4073         Rearrange def files in vs8 solutions. Fixes #366286.
4074
4075 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * win32/common/gstconfig.h:
4078           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4079           hand-made win32 gstconfig.h. Fixes #366321.
4080
4081 2006-10-27  Wim Taymans  <wim@fluendo.com>
4082
4083         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4084         (gst_ghost_pad_new_full):
4085         Make acceptcaps return TRUE when we don't have a target, just like
4086         setcaps does.
4087
4088 2006-10-27  Wim Taymans  <wim@fluendo.com>
4089
4090         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4091         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4092
4093 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * gst/gststructure.c: (gst_structure_id_set_value):
4096           If someone tries to set a non-UTF8 string field on a structure,
4097           don't just print a warning, but also ignore the request and do
4098           not change/add that field to the structure.
4099
4100         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4101           Test for the above.
4102
4103 2006-10-25  David Schleef  <ds@schleef.org>
4104
4105         * gst/gstinfo.c:
4106           g_hash_table_insert() needs a cast to a non-const pointer duh.
4107
4108 2006-10-25  David Schleef  <ds@schleef.org>
4109
4110         * gst/gstinfo.c:
4111         * gst/gstinfo.h:
4112           Change name parameter of _gst_debug_register_funcptr to const
4113           to reflect the constness of its use in the function as well
4114           as to quiet a gcc warning.
4115
4116 2006-10-25  Edward Hervey  <edward@fluendo.com>
4117
4118         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4119         Don't push the buffer if it's empty.
4120         Closes #363095
4121
4122 2006-10-24  Wim Taymans  <wim@fluendo.com>
4123
4124         * gst/gstevent.h:
4125         Add small comment.
4126
4127         * libs/gst/base/gstbasetransform.c:
4128         (gst_base_transform_sink_eventfunc):
4129         Debug segment values *after* updating them as this is more
4130         interesting.
4131
4132 2006-10-23  Wim Taymans  <wim@fluendo.com>
4133
4134         * docs/design/part-events.txt:
4135         Update some docs.
4136
4137         * docs/design/part-block.txt:
4138         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4139         (gst_pad_push_event):
4140         Revert BLOCKING patch, it tries to be smart without really having a
4141         clear idea what or how. So, now we discard all FLUSHING events again on
4142         a blocking pad. Should fix gnonlin again.
4143
4144 2006-10-23  Wim Taymans  <wim@fluendo.com>
4145
4146         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4147
4148         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4149         (gst_base_src_start), (gst_base_src_activate_push):
4150         Make sure size is always initialized. Fixes #364388.
4151
4152 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
4153
4154         * docs/random/ensonic/distributed.txt:
4155           add some ideas about doing distributed processing
4156
4157         * docs/random/ensonic/profiling.txt:
4158           get_rusage look promising
4159
4160 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4161
4162         * docs/manual/basics-helloworld.xml:
4163           Add a cast in example to fix compile warning
4164
4165 2006-10-18  Wim Taymans  <wim@fluendo.com>
4166
4167         * gst/gstsegment.c: (gst_segment_set_last_stop),
4168         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4169         Relax arg checking again, -1 is allowed.
4170
4171 2006-10-18  Wim Taymans  <wim@fluendo.com>
4172
4173         * gst/gstsegment.c: (gst_segment_set_last_stop),
4174         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4175         _set_last_stop() must be with a value != -1
4176         A _TYPE_SET to -1 means seek to 0.
4177         Calc last_stop correctly for negative rates.
4178         Make sure we work with positive durations when updating a segment.
4179
4180 2006-10-18  Wim Taymans  <wim@fluendo.com>
4181
4182         * docs/design/part-live-source.txt:
4183         * gst/gstclock.h:
4184         Small docs fixes.
4185
4186 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
4187
4188         * gst/gstbuffer.h:
4189           Add an explicit cast to GstBuffer** to keep old code that added an
4190           explicit cast to GstMiniObject** for gst_mini_object_replace()
4191           compiling without warning.
4192
4193 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
4194
4195         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4196           check for validity of dates
4197
4198 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4199
4200         * docs/gst/gstreamer-sections.txt:
4201           Forgot this one, makes gtk-doc shut up.
4202
4203 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4204
4205         Patch by: Peter Kjellerstedt <pkj at axis com>
4206
4207         * gst/gstobject.h:
4208           Don't define xmlNodePtr to gpointer if the core was built with
4209           --disable-loadsave and --disable-registry, this will break
4210           applications that want to use libxml2 but are buildling against a
4211           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4212           instead so we don't have to mess with the libxml2 namespace
4213           (#361675).
4214
4215 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
4216
4217         * gst/gstbuffer.h:
4218           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4219           type-punned pointer warnings.
4220
4221 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * gst/gstelement.h:
4224           Add casts to the correct return type to state <=> state transition
4225           macros.
4226
4227 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * docs/design/part-live-source.txt:
4230           describe howto handle latency
4231         
4232         * docs/random/ensonic/profiling.txt:
4233           more ideas
4234
4235         * tools/gst-plot-timeline.py:
4236           fix log parsing for solaris, remove unused function
4237
4238 2006-10-16  Wim Taymans  <wim@fluendo.com>
4239
4240         * docs/design/part-trickmodes.txt:
4241         * gst/gstevent.c:
4242         Update some docs regarding reverse playback.
4243
4244 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4245
4246         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4247
4248         * win32/vs8/grammar.vcproj:
4249           Error out with a warning if glib-genmarshal.exe is not in path,
4250           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4251
4252 2006-10-13  Wim Taymans  <wim@fluendo.com>
4253
4254         * gst/gstsegment.c: (gst_segment_set_seek):
4255         When seeking to stop -1, set last_stop (current position) to the
4256         duration of the segment.
4257
4258 2006-10-13  Wim Taymans  <wim@fluendo.com>
4259
4260         * gst/gstelement.h:
4261         Clarify _NO_PREROLL a bit more.
4262
4263         * gst/gstevent.c:
4264         Fix docs.
4265
4266         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4267         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4268         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4269         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4270         due to wrong locking order. Fixes #361769.
4271         Remove some redundant/misplaced checks in pad_block.
4272
4273         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4274         For negative rates, count backwards from the duration.
4275
4276 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         * gst/gsterror.c: (_gst_library_errors_init):
4279           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4280           up with something better).
4281
4282 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         * win32/vs6/libgstreamer.dsp:
4285         * win32/vs7/libgstreamer.vcproj:
4286         * win32/vs8/libgstreamer.vcproj:
4287           Don't reference glib-compat.c which is currently not used and not
4288           disted; add gstquark.c which was recently added. Fixes #361730.
4289
4290 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
4291
4292         * win32/common/libgstbase.def:
4293         * win32/common/libgstcontroller.def:
4294         * win32/common/libgstreamer.def:
4295           Add gst_caps_merge() and a bunch of other recently-added functions.
4296           Fixes #361732.
4297
4298 2006-10-11  Wim Taymans  <wim@fluendo.com>
4299
4300         * docs/plugins/gstreamer-plugins.args:
4301         * docs/plugins/inspect/plugin-coreelements.xml:
4302         * docs/plugins/inspect/plugin-coreindexers.xml:
4303         Update element args.
4304
4305         * gst/gstsystemclock.c:
4306         Small comment update.
4307
4308         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4309         (gst_tee_request_new_pad), (gst_tee_release_pad),
4310         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4311         (gst_tee_sink_activate_pull):
4312         * plugins/elements/gsttee.h:
4313         Some tee loving:
4314         Add default property defines.
4315         Implement release pad function.
4316         Give properties better blubs etc.
4317         Activate pads before adding them to a running tee.
4318         Do simple buffer_alloc on the first requested pad.
4319         Post error when activation fails.
4320
4321 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * gst/gst.c: (ensure_current_registry_forking):
4324           Check return value of write() to make compiler happy.
4325
4326 2006-10-11  Wim Taymans  <wim@fluendo.com>
4327
4328         Patch by: Sjoerd Simons <sjoerd at luon dot net>
4329
4330         * plugins/elements/gstqueue.c: (gst_queue_chain):
4331         Recheck queue filledness after signalling the overrun when we're about
4332         to leak downstream because we released the lock when emitting the signal
4333         and the queue could be empty again. Fixes #352345.
4334
4335 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
4336
4337         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4338           Fix refcounting here too, just like we did for _new_valist() a few
4339           days ago (#357180) (thanks to René Stadler). Also remove all those
4340           'Since: 0.9' from the gtk-doc blobs.
4341
4342         * tests/check/libs/controller.c: (controller_refcount_new_list),
4343         (gst_controller_suite):
4344           Unit test for the above.
4345
4346 2006-10-10  Wim Taymans  <wim@fluendo.com>
4347
4348         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4349
4350         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4351         (gst_pad_save_thyself):
4352         Update some docs.
4353         Write pad direction in XML output. Fixes #345496.
4354
4355 2006-10-10  Wim Taymans  <wim@fluendo.com>
4356
4357         Patch by: René Stadler <mail at renestadler dot de>
4358
4359         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4360         (gst_controller_new_list), (_gst_controller_dispose),
4361         (_gst_controller_finalize), (_gst_controller_class_init):
4362         Take ref to controlled object so that it cannot disappear. 
4363         Fixes #357432.
4364
4365 2006-10-10  Wim Taymans  <wim@fluendo.com>
4366
4367         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4368         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4369         (gst_check_teardown_sink_pad):
4370         Activate/deactivate pads in setup/teardown respectively.
4371
4372 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4373
4374         Patch by: Josep Torre Valles <josep@fluendo.com>
4375
4376         * gst/Makefile.am:
4377         Cast values when making gstenumtypes.h.  This pacifies Forte
4378         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4379         in the enumeration.
4380
4381 2006-10-09  Wim Taymans  <wim@fluendo.com>
4382
4383         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4384         Rename some more @cur to @start to fix docs. 
4385
4386         * gst/gstsegment.c: (gst_segment_set_seek):
4387         Fix typo.
4388         time and start must always stay in sync as defined in design doc.
4389
4390         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4391         Rename param to fix docs.
4392
4393         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4394         Check that start and time are in sync.
4395
4396         * tests/check/pipelines/parse-launch.c:
4397         (gst_parse_test_element_change_state):
4398         Activate pad before adding to the element.
4399
4400 2006-10-09  Wim Taymans  <wim@fluendo.com>
4401
4402         * docs/design/part-qos.txt:
4403         Fix typo.
4404
4405         * gst/gstevent.c:
4406         * gst/gstevent.h:
4407         Update seek event docs regarding negative rates.
4408         Rename @cur to @start. 
4409
4410         * gst/gstsegment.c: (gst_segment_set_seek):
4411         * gst/gstsegment.h:
4412         Update set_seek docs regarding negative rates.
4413         Correctly update last_stop to @stop when dealing with negative
4414         rates.
4415         Rename @cur to @start. 
4416
4417         * tests/check/gst/gstpad.c: (GST_START_TEST):
4418         Activate pads before trying to use them.
4419
4420         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4421         (gst_segment_suite):
4422         Add simple check for segments and negative rates.
4423
4424 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4425
4426         * gst/gsttaglist.c: (gst_tag_list_is_empty):
4427         * gst/gsttaglist.h:
4428         * docs/gst/gstreamer-sections.txt:
4429           API: add gst_tag_list_is_empty() (#360467).
4430
4431         * tests/check/gst/gsttag.c: (GST_START_TEST):
4432           And a test case.
4433
4434 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4435
4436         * gst/gstmessage.h:
4437         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4438         a value that doesn't fit on enumeration.
4439
4440 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4441
4442         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4443         Remove local debugging system and use Gstreamer's instead.
4444
4445 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4446
4447         Patch by: Josep Torre Valles <josep@fluendo.com>
4448
4449         * common/m4/gst-error.m4:
4450         Disable warning of statement not reached on Forte.
4451         * gst/gstmessage.h:
4452         Fix warning on Forte (value doesn't fit on enumeration).
4453         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4454         Fix warning on Forte (value doesn't fit on enumeration).
4455         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4456         DEBUG macro says it takes minimum of 2 args and so Forte
4457         complains about the use with just 1 arg.
4458         * plugins/elements/gstfdsink.c:
4459         * plugins/elements/gstfdsrc.c:
4460         * plugins/elements/gstfilesink.c:
4461         * plugins/elements/gstfilesrc.c:
4462         Use correct return type for the uri handler implementations.
4463
4464         All these fix warnings in Forte.  Fixes bug #360860.
4465
4466 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4467
4468         * gst/gstelement.h:
4469           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4470           format string, so don't use G_GNUC_PRINTF for those versions.
4471
4472 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4473
4474         * gst/gsttaglist.c: (gst_is_tag_list):
4475         * gst/gsttaglist.h:
4476           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4477
4478         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4479           Small test for the above.
4480
4481 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * gst/gsttaglist.h:
4484           Less tabs, more spaces.
4485
4486 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
4487
4488         * gst/gstinfo.h:
4489           Those two function declarations do actually belong there, revert
4490           commit from yesterday that turned them intro macros.
4491
4492 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4493
4494         Patch by: Josep Torre Valles <josep@fluendo.com>
4495
4496         * gst/gst.c: (gst_init_get_option_group):
4497         Fix empty declaration and type mismatch.
4498         * gst/gstbin.c: (gst_bin_change_state_func):
4499         Fix type mismatch.
4500         * gst/gstelement.c: (gst_element_continue_state),
4501         (gst_element_set_state_func), (gst_element_change_state),
4502         (gst_element_change_state_func):
4503         Fix type mismatches.
4504         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4505         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4506         Cast as appropriate.
4507         * gst/gstobject.c: (gst_class_signal_connect):
4508         Cast as appropriate.  The function pointer parameter really
4509         has the wrong type but would break API if we change it.
4510         * gst/gstquery.c:
4511         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4512         order of including string.h.
4513         * gst/gstutils.c: (gst_element_state_get_name):
4514         Remove unreachable line.
4515         * gst/gstxml.c: (gst_xml_parse_doc):
4516         Fix type mismatch.
4517         All these caught by Forte.
4518
4519 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4520
4521         Patch by: Josep Torre Valles <josep@fluendo.com>
4522
4523         * common/m4/gst-error.m4:
4524         Fixed bug #360151.
4525         We need to disable warnings on Forte for empty declarations
4526         due to gst-indent adding ;s to lines that just use macros
4527         where the macro actually doesn't need a ; at end to end
4528         statement.
4529
4530 2006-10-06  Wim Taymans  <wim@fluendo.com>
4531
4532         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4533         (gst_file_sink_close_file), (gst_file_sink_event),
4534         (gst_file_sink_render):
4535         Add some FIXME for the NEWSEGMENT handling.
4536
4537 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4538
4539         * gst/parse/grammar.y:
4540         Remove static function gst_parse_element_lock as all it does
4541         is return.  Looks like cruft from 0.8.
4542
4543 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4544
4545         Patch by: Josep Torre Valles <josep@fluendo.com>
4546
4547         * common/m4/gst-error.m4:
4548         * configure.ac:
4549         * libs/gst/net/Makefile.am:
4550         Fix a compilation issue with Forte on Solaris.  inet_aton is in
4551         libresolv.
4552
4553 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4554
4555         * gst/gstpad.c: (pre_activate):
4556         * gst/gstregistry.c: (gst_registry_scan_path_level):
4557         * gst/gstregistryxml.c: (load_plugin):
4558         * libs/gst/controller/gstcontroller.c:
4559         (gst_controlled_property_set_interpolation_mode):
4560         * libs/gst/dataprotocol/dataprotocol.c:
4561         (gst_dp_packet_from_event_1_0):
4562         * libs/gst/net/gstnetclientclock.c:
4563         (gst_net_client_clock_observe_times):
4564         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4565           Printf fixes.
4566
4567 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
4568
4569         * configure.ac:
4570         * docs/gst/gstreamer-sections.txt:
4571         * gst/gstconfig.h.in:
4572         * gst/gstelement.h:
4573         * gst/gstinfo.h:
4574           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4575           whether we can use G_GNUC_PRINTF in other header files and at
4576           least check the printf format/arguments of debug messages and
4577           GST_ELEMENT_ERROR messages when the printf extension is not
4578           being used.
4579           Replace more tabs with spaces in gstinfo.h and remove two spurious
4580           function declarations in GST_DISABLE_DEBUG part with macros.
4581
4582 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4583
4584         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4585           More docs for the sync-message signal (mention that it is not
4586           emitted by default); log message structures of messages posted on
4587           the bus as well.
4588
4589 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
4590
4591         * gst/gst.c: (ensure_current_registry_forking):
4592         Use a pipe pair to receive status results from the forked child, and
4593         ignore the result from waitpid. Fixes #355499
4594
4595 2006-10-02  Wim Taymans  <wim@fluendo.com>
4596
4597         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4598         (gst_ghost_pad_suite):
4599         Fix leak in check.
4600
4601 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * gst/gstpad.c:
4604           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4605
4606 2006-10-02  Edward Hervey  <edward@fluendo.com>
4607
4608         * docs/design/part-block.txt:
4609         Further explain the use of flushing on blocked pads.
4610         * docs/gst/gstreamer-sections.txt:
4611         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4612         (gst_pad_push_event):
4613         * gst/gstpad.h:
4614         Added new GstPadFlag : GST_PAD_BLOCKING.
4615         Adds the notion of pads really blocking, which enables to properly
4616         handle FLUSH_START/FLUSH_STOP events on blocked pads.
4617         Fixes #358999
4618         API: gst_pad_is_blocking()
4619         API: GST_PAD_IS_BLOCKING() macro
4620         API: GST_PAD_BLOCKING GstPadFlag
4621         
4622 2006-10-02  Wim Taymans  <wim@fluendo.com>
4623
4624         Patch by: mrcgran <mrc.gran at gmail dot com>
4625
4626         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4627         Filter the proxied caps against the padtemplate if we have one.
4628
4629         * gst/gstquery.c: (gst_query_new_segment):
4630         Add include for gstinfo.h so that compilation with
4631         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4632
4633 2006-10-02  Wim Taymans  <wim@fluendo.com>
4634
4635         Patch by: Alessandro Decina  <alessandro at nnva org>
4636
4637         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4638         (gst_file_sink_set_location), (gst_file_sink_open_file),
4639         (gst_file_sink_close_file), (gst_file_sink_event),
4640         (gst_file_sink_render):
4641         Set file to NULL when closing filesink so that we can set a new filename
4642         in READY. Fixes #358613.
4643
4644 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         Patch by: Alessandro Decina  <alessandro at nnva org>
4647
4648         * gst/gstevent.c: (_gst_event_copy):
4649           Fix gst_mini_object_make_writable() and gst_event_copy() for events
4650           with event structures by setting the parent refcount address of the
4651           copied structure to the address of the refcount member of the newly
4652           copied event rather than the address of the refcount member of the
4653           original event. Fixes #358737.
4654
4655         * tests/check/gst/gstevent.c: (GST_START_TEST):
4656           Unit test for the above.
4657
4658 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
4659
4660         * docs/design/Makefile.am:
4661           Dist some more files.
4662
4663 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4664
4665         * tests/check/libs/controller.c: (GST_START_TEST),
4666         (gst_controller_suite):
4667           Add test for the previous fix; add some more tests
4668           for correct refcounting behaviour; fix a few leaks
4669           in test cases; call gst_controller_init() at start
4670           of all tests.
4671
4672 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4675         (gst_controller_set_from_list):
4676           Don't g_return_val_if_fail() on timed values with invalid timestamps
4677           inside a critical section without unlocking the mutex. Spotted by
4678           René Stadler. (#357617)
4679           Also, fix up refcounting properly: when returning an existing
4680           controller, we should increase the reference only once and not
4681           once per property and when trying to control a property again
4682           we should also increase the refcount.
4683
4684 2006-09-29  Wim Taymans  <wim@fluendo.com>
4685
4686         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4687         * libs/gst/net/gstnettimeprovider.c:
4688         (gst_net_time_provider_thread):
4689         Stop reading commands when EOF as well.
4690
4691         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4692         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4693         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4694         Unify description of the dump property.
4695
4696 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4697
4698         * tests/examples/manual/.cvsignore:
4699         OK, so it's actually cvsignore that needs changing. Stop laughing.
4700
4701 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4702
4703         * tests/examples/manual/Makefile.am:
4704         Gah, declare vars *before* using them
4705
4706 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4707
4708         * gst/gst.c: (init_pre), (scan_and_update_registry),
4709         (ensure_current_registry_nonforking),
4710         (ensure_current_registry_forking), (ensure_current_registry),
4711         (init_post), (gst_debug_help), (gst_deinit):
4712         * gst/gst_private.h:
4713         * gst/gstregistry.c: (gst_registry_finalize),
4714         (gst_registry_remove_features_for_plugin_unlocked),
4715         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4716         (gst_registry_scan_path),
4717         (_priv_gst_registry_remove_cache_plugins),
4718         (_priv_gst_registry_cleanup):
4719         * gst/gstregistry.h:
4720         Re-commit the registry changes, along with an extra fix:
4721           When a cached plugin is encountered at a different file path,
4722           update the stored path in the registry cache so that the parent
4723           process knows where it actually is now when it re-reads the registry
4724           cache. Fixes the thing that broke distcheck with the previous commit.
4725
4726         * tests/check/Makefile.am:
4727         Clean up files named 'core' too when running make clean.
4728
4729         * tests/examples/manual/Makefile.am:
4730         Set up a registry path for running these tests, and clean it properly
4731         for distcheck.
4732
4733 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
4734
4735         * configure.ac:
4736         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4737         want gmodule-no-export-2.0.pc instead so that we don't drag in
4738         --export-dynamic on every project that links to GStreamer.
4739
4740         Also, make our export regex only match the start of symbols, rather 
4741         than any symbol that contains '_gst' somewhere.
4742
4743         * libs/gst/check/Makefile.am:
4744         The libgstcheck we build does however need export-dynamic, as it
4745         produces some symbols that don't match our _gst... style regex.
4746         Fixes: #318031
4747
4748 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4749
4750         * gst/gst.c: (init_pre), (scan_and_update_registry),
4751         (ensure_current_registry_nonforking),
4752         (ensure_current_registry_forking), (ensure_current_registry),
4753         (init_post), (gst_debug_help), (gst_deinit):
4754         * gst/gst_private.h:
4755         * gst/gstregistry.c: (gst_registry_finalize),
4756         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4757         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4758         (_gst_registry_cleanup):
4759         * gst/gstregistry.h:
4760           Revert previous change until I figure out why it breaks distcheck.
4761
4762 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
4763
4764         * gst/gst.c: (init_pre), (scan_and_update_registry),
4765         (ensure_current_registry_nonforking),
4766         (ensure_current_registry_forking), (ensure_current_registry),
4767         (init_post), (gst_debug_help), (gst_deinit):
4768
4769           Make init_pre and init_post take the full complement of GOptionFunc
4770           args so they can return useful GErrors. Make the registry updating
4771           functions do so.
4772
4773           Call _priv_gst_registry_remove_cache_plugins after scanning files to
4774           ensure that the registry we're about to write out doesn't contain
4775           stale information about old-deleted plugin files.
4776
4777           Make _priv_gst_registry_remove_cache_plugins return a boolean so
4778           that deletion of plugin files is considered a registry change.
4779
4780         * gst/gst_private.h:
4781         * gst/gstregistry.c: (gst_registry_finalize),
4782         (gst_registry_remove_features_for_plugin_unlocked),
4783         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4784         (gst_registry_scan_path),
4785         (_priv_gst_registry_remove_cache_plugins),
4786         (_priv_gst_registry_cleanup):
4787         * gst/gstregistry.h:
4788         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4789         by adding _priv prefix, so that they won't appear in the global
4790         symbol table. They still do atm though because of #318031. Move the
4791         prototypes to gst_private.h
4792
4793         When removing a plugin, remove all features for that plugin too. 
4794         Fixes #340878.
4795
4796 2006-09-27  Wim Taymans  <wim@fluendo.com>
4797
4798         * docs/random/moving-plugins:
4799         Make it clear that the "compiled-in descriptions" really mean
4800         the element details.
4801
4802         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4803         (gst_base_sink_wait_preroll):
4804         Update docs.
4805
4806         * docs/libs/gstreamer-libs-sections.txt:
4807         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4808         (gst_base_src_get_range), (gst_base_src_activate_push):
4809         * libs/gst/base/gstbasesrc.h:
4810         Added function to block while waiting for PLAYING, this function
4811         is used by live sources that block on the clock.
4812         API: gst_base_src_wait_playing()
4813
4814 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         Patch by: Peter Kjellerstedt <pkj at axis com>
4817
4818         * Makefile.am:
4819           gst-element-check.m4 is generated and should therefore be
4820           copied from the build dir rather than the source dir (#357593).
4821           'make distcheck' hasn't noticed this because we were disting
4822           the file as well, so stop doing that.
4823
4824 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4825
4826         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4827           Add some tests for gst_caps_intersect().
4828
4829         * tools/gst-launch.c: (event_loop):
4830           Print all buffering percentages we get, even the 100% one.
4831
4832 2006-09-26  Wim Taymans  <wim@fluendo.com>
4833
4834         * tools/gst-inspect.c: (print_element_properties_info),
4835         (print_signal_info):
4836         Fix printing of flags to match the look of enums.
4837
4838 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/gstelementfactory.c:
4841           Fix typo in docs blurb.
4842
4843 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4844
4845         * gst/gsturi.c: (search_by_entry):
4846           Don't assert/crash here if a uri handler doesn't return any
4847           supported protocols. The list of protocols could be generated
4848           dynamically at runtime or at plugin registration, and an error
4849           in the underlying library shouldn't be fatal (#353301).
4850
4851 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4852
4853         * gst/gstinfo.c:
4854           Fix warning if HAVE_PRINTF_EXTENSION is undefined
4855           (spotted by Peter Kjellerstedt).
4856
4857 2006-09-23  Wim Taymans  <wim@fluendo.com>
4858
4859         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
4860
4861         * libs/gst/base/gstbasesrc.c:
4862         (gst_base_src_default_check_get_range), (gst_base_src_start),
4863         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4864         (gst_base_src_change_state):
4865         Match _start/_stop calls in the activate functions. Remove redundant
4866         _stop call from the state change function. Fixes #356910.
4867         Turn failure DEBUG into ERROR. 
4868
4869 2006-09-22  Wim Taymans  <wim@fluendo.com>
4870
4871         * docs/design/part-buffering.txt:
4872         * gst/gstmessage.c: (gst_message_new_buffering),
4873         (gst_message_parse_buffering):
4874         Update docs about buffering.
4875
4876         * docs/design/part-trickmodes.txt:
4877         Fix typo.
4878
4879 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
4880
4881         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4882         (gst_controller_new_list):
4883           Ref instances when returning them again (fixes #357180)
4884
4885 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
4888           Don't forget to release proxy lock when there's an error.
4889
4890 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
4891
4892         * gst/gstcaps.h:
4893           Add extra initialisers for Caps things, to fix some plugin warnings
4894           when using -Wextra
4895
4896 2006-09-18  Wim Taymans  <wim@fluendo.com>
4897
4898         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
4899           Also set template on the internal pad so that a getcaps from the 
4900           target pad returns the template caps.
4901
4902 2006-09-18  Wim Taymans  <wim@fluendo.com>
4903
4904         * gst/gstelement.c: (gst_element_post_message),
4905         (gst_element_dispose):
4906         Use _DEBUG_OBJECT some more.
4907
4908         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4909         Avoid typechecks.
4910
4911         * tools/gst-launch.c: (main):
4912         If the toplevel element is not a GstPipeline, it must be put in a
4913         pipeline so that a bus and clock is selected.
4914
4915 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
4916
4917         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4918           JITTER, RATE, and LATENCY query should be handled by the
4919           default case and not by the CONVERT query code.
4920
4921 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
4922
4923         * gst/gstformat.c: (gst_format_register):
4924           Fix locking order (must take lock before using n_values).
4925
4926         * gst/gstvalue.c: (gst_value_serialize_enum),
4927         (gst_value_deserialize_enum_iter_cmp),
4928         (gst_value_deserialize_enum):
4929           Fix serialisation/deserialisation of custom registered GstFormats.
4930
4931         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4932           Unit test for custom format serialisation/deserialisation.
4933
4934 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * docs/pwg/building-boiler.xml:
4937         * plugins/elements/gstcapsfilter.c:
4938         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
4939         section.
4940
4941 2006-09-16  Edward Hervey  <edward@fluendo.com>
4942
4943         * libs/gst/base/gstbasetransform.c:
4944         (gst_base_transform_buffer_alloc):
4945         Check if requested caps are the same as the sinks caps IF
4946         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
4947         is FALSE.
4948         This fixes the renegotiation issues stated in #352827.
4949
4950 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4951
4952         * configure.ac:
4953         * docs/manual/advanced-autoplugging.xml:
4954         * tests/examples/Makefile.am:
4955         * tests/examples/manual/.cvsignore:
4956         * tests/examples/manual/Makefile.am:
4957         * tests/examples/manual/extract.pl:
4958           Extract the manual examples again like we used to do.
4959           Fix one of them.
4960
4961 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4962
4963         * win32/common/config.h:
4964           update for version
4965
4966 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
4967
4968         * gst/gsterror.c:
4969           Documents how to receive errors.
4970
4971 2006-09-15  Wim Taymans  <wim@fluendo.com>
4972
4973         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
4974         (event_loop), (main):
4975         Added some comments here and there.
4976         Post an application message when an interrupt is caught instead of doing
4977         an uncontrolled state change.
4978         Clean up the event loop.
4979         Handle buffering messages, pause/resume the pipeline.
4980         Make shutdown because of an interrupt more reliable.
4981
4982 2006-09-15  Wim Taymans  <wim@fluendo.com>
4983
4984         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4985         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
4986         (gst_base_sink_preroll_object):
4987         Make sure that our internal state is correct when we commit our state
4988         asynchronously. This solves a race where a state change to PLAYING
4989         could cause the sink to remain blocked in preroll in some situations.
4990
4991 2006-09-15  Wim Taymans  <wim@fluendo.com>
4992
4993         * tools/gst-inspect.c: (print_element_properties_info),
4994         (print_signal_info):
4995         List flags as hex so it's easier to deal with.
4996
4997 2006-09-15  Wim Taymans  <wim@fluendo.com>
4998
4999         * docs/libs/gstreamer-libs-sections.txt:
5000         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5001         (gst_base_sink_do_sync):
5002         * libs/gst/base/gstbasesink.h:
5003         Expose logic to wait for preroll so that subclasses such as audiosink
5004         can also use this method.
5005         API: gst_base_sink_wait_preroll()
5006
5007 2006-09-15  Wim Taymans  <wim@fluendo.com>
5008
5009         * gst/gstobject.c: (gst_object_set_parent):
5010         * gst/gstpipeline.c: (do_pipeline_seek):
5011         Small cleanups in docs and code.
5012
5013         * gst/gstsegment.c: (gst_segment_clip):
5014         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5015         if stop == start and start is in the segment, no clipping should be
5016         done. Also add a test for this.
5017
5018 2006-09-15  Wim Taymans  <wim@fluendo.com>
5019
5020         * docs/design/part-buffering.txt:
5021         * docs/gst/gstreamer-sections.txt:
5022         * gst/gstmessage.c: (gst_message_new_buffering),
5023         (gst_message_parse_buffering):
5024         * gst/gstmessage.h:
5025         Added methods to create and parse BUFFERING messages.
5026         Added preliminary docs about buffering.
5027         API: gst_message_new_buffering
5028         API: gst_message_parse_buffering
5029
5030 2006-09-06  Wim Taymans  <wim@fluendo.com>
5031
5032         * gst/gstbin.c:
5033         Update documentation.
5034
5035         * gst/gstelement.c: (gst_element_class_init),
5036         (gst_element_release_request_pad), (gst_element_set_clock),
5037         (gst_element_get_index), (gst_element_add_pad),
5038         (gst_element_remove_pad), (gst_element_get_random_pad),
5039         (gst_element_send_event), (gst_element_get_query_types),
5040         (gst_element_query), (gst_element_post_message),
5041         (gst_element_message_full), (gst_element_continue_state),
5042         (gst_element_lost_state), (gst_element_save_thyself),
5043         (gst_element_restore_thyself):
5044         Documentation updates.
5045         Rename last bit of the new-pad -> pad-added signal rename.
5046         Fix the case where an element query would only work if the source
5047         pad was linked.
5048         Avoid some useless type checking in message handling.
5049
5050         * gst/gstevent.c:
5051         * gst/gstevent.h:
5052         * gst/gstutils.c:
5053         Documentation updates.
5054
5055 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5056
5057         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5058           add an INFO line for when we actually update the fd
5059
5060 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5061
5062         * configure.ac:
5063           back to TRUNK
5064
5065 === release 0.10.10 ===
5066
5067 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
5068
5069         * configure.ac:
5070           releasing 0.10.10, "Pais"
5071
5072 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
5073
5074         * docs/manual/advanced-position.xml:
5075           Fix typo in sample code.
5076
5077 2006-09-05  Wim Taymans  <wim@fluendo.com>
5078
5079         * libs/gst/net/gstnetclientclock.c: (inet_aton),
5080         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5081         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5082         * libs/gst/net/gstnetclientclock.h:
5083         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5084         * libs/gst/net/gstnettimepacket.h:
5085         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5086         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5087         (gst_net_time_provider_thread), (gst_net_time_provider_new):
5088         * libs/gst/net/gstnettimeprovider.h:
5089         Make stuff compile on windows. Fixes #345295.
5090
5091 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5092
5093         * gst/gst.c: (ensure_current_registry_forking):
5094           Print better details when child was terminated by signal.
5095
5096 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5099           Print a warning rather than g_assert() if a plugin feature
5100           is a URI handler but returns no protocols (#353976).
5101
5102 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * docs/random/moving-plugins:
5105         Fix two typos.         
5106
5107 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5108
5109         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5110           Fix locking order, handle NULL function values properly.
5111
5112         * gst/gstinfo.h:
5113           Fix docs.
5114
5115         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5116           Initialise variable before using it and fix debug statement to
5117           print the address of the function rather than the address of the
5118           variable on the stack holding the address of the function.
5119
5120 2006-09-01  Wim Taymans  <wim@fluendo.com>
5121
5122         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5123         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5124         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5125         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5126         (gst_ghost_pad_parent_unset),
5127         (gst_ghost_pad_internal_do_activate_push),
5128         (gst_ghost_pad_internal_do_activate_pull),
5129         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5130         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5131         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5132         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5133         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5134         (gst_ghost_pad_new_no_target_from_template),
5135         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5136         More cleanups.
5137         Avoid needless typechecking in macros.
5138         Since the internal pad is always present and never changes, there is
5139         no need to locking or ref when retrieving it.
5140         Improve debugging a bit.
5141         Handle link errors when setting the target. Fixes #341029.
5142
5143 2006-09-01  Wim Taymans  <wim@fluendo.com>
5144
5145         * docs/libs/gstreamer-libs-sections.txt:
5146         * docs/plugins/gstreamer-plugins-sections.txt:
5147         Fix docs some more.
5148
5149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5150         (gst_collect_pads_event):
5151         * libs/gst/base/gstcollectpads.h:
5152         Documentation updates.
5153         Free queued buffer when removing a pad.
5154
5155 2006-08-31  Michael Smith  <msmith@fluendo.com>
5156
5157         * gst/gstutils.c: (gst_element_link_pads),
5158         (gst_element_link_pads_filtered):
5159           Ensure that we set a capsfilter to NULL if we failed to link it
5160           when doing filtered linking, to avoid criticals.
5161
5162           No need to check for unreffing srcpad, which is explicly NULLed
5163           above (a trivial code cleanup).
5164
5165 2006-08-31  Wim Taymans  <wim@fluendo.com>
5166
5167         * docs/design/part-gstghostpad.txt:
5168         Update ascii art in documentation.
5169
5170         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5171         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5172         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5173         (gst_ghost_pad_internal_do_activate_push),
5174         (gst_ghost_pad_internal_do_activate_pull),
5175         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5176         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5177         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5178         (gst_ghost_pad_set_target):
5179         Small cleanups and leak fixes.
5180         Remove some checks now that the internal pad is never NULL.
5181         Fix the case where linking pads without a target would create nasty
5182         criticals. Fixes #341029.
5183         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5184         value of _set_target().
5185
5186         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5187         (gst_ghost_pad_suite):
5188         Some more tests for creating and linking untargeted ghostpads.
5189
5190 2006-08-31  Edward Hervey  <edward@fluendo.com>
5191
5192         * docs/gst/gstreamer-sections.txt:
5193         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5194         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5195         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5196         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5197         (gst_ghost_pad_new_from_template),
5198         (gst_ghost_pad_new_no_target_from_template):
5199         * gst/gstghostpad.h:
5200         Refactored *_new() functions.
5201         Templates are now used as a g_object_new() parameter.
5202         Use template in _do_getcaps() if we don't have a target.
5203         Small documentation cleanups.
5204         Added two new constructors:
5205         gst_ghost_pad_new_from_template()
5206         gst_ghost_pad_new_no_target_from_template()
5207         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5208         (gst_ghost_pad_suite):
5209         Added tests for new ghostpad instanciation functions.
5210
5211         API additions: gst_ghost_pad_new_from_template,
5212         gst_ghost_pad_new_no_target_from_template
5213
5214 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
5215
5216         * docs/random/ensonic/profiling.txt:
5217           Ideas about qos profiling.
5218
5219 2006-08-29  Wim Taymans  <wim@fluendo.com>
5220
5221         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5222         Code cleanups.
5223         Fix memleak.
5224
5225 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
5226
5227         * gst/gstxml.c:
5228           Improve and detypofy docs.
5229
5230         * tests/check/Makefile.am:
5231         * tests/check/gst/.cvsignore:
5232         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5233           Add a basic test suite for GstXML.
5234
5235 2006-08-29  Wim Taymans  <wim@fluendo.com>
5236
5237         * gst/gstelement.c: (activate_pads), (clear_caps),
5238         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5239         Clear the pad caps when the element shut down all of the pads and
5240         is not streaming data that could modify the caps. 
5241         Fixes #352958.
5242
5243 2006-08-28  Michael Smith  <msmith@fluendo.com>
5244
5245         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5246           Revert previous change; I misunderstood single-segment mode.
5247
5248 2006-08-28  Michael Smith  <msmith@fluendo.com>
5249
5250         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5251           Unset DISCONT on buffers when using single-segment mode.
5252
5253 2006-08-28  Wim Taymans  <wim@fluendo.com>
5254
5255         * gst/gstcaps.c: (gst_caps_merge_structure):
5256         * gst/gstcaps.h:
5257         Fix docs and indentation again.
5258
5259         * tests/check/gst/gstquery.c: (GST_START_TEST):
5260         Fix leak in tests and add some more tests.
5261
5262 2006-08-28  Edward Hervey  <edward@fluendo.com>
5263
5264         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5265         Inform GstSegment of the last stop position in order for the current
5266         segment to have a proper duration if it doesn't have a specific stop
5267         position from which a duration could be calculated.
5268         This bug was noticeable when a non-flushing, non-update new segment was
5269         followed by another segment (all buffers from the new segment were being
5270         dropped).
5271
5272 2006-08-28  Wim Taymans  <wim@fluendo.com>
5273
5274         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5275         Small comment update.
5276
5277         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5278         (gst_identity_transform_ip):
5279         Drop-probability is broken, mention this in the code with a 
5280         FIXME and also in the property description.
5281         Make silent also be silent about the drop messages.
5282
5283 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
5284
5285         * docs/manual/appendix-win32.xml:
5286           Remove mention of popt, we don't depend on that any
5287           longer (#353136). Add some comments pointing out that
5288           this section is slightly outdated.
5289
5290 2006-08-28  Wim Taymans  <wim@fluendo.com>
5291
5292         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5293
5294         * gst/gstquery.c: (gst_query_new_segment):
5295         * tests/check/gst/gstquery.c: (GST_START_TEST):
5296         Initialize variables when creating a new segment query.
5297         Fixes #353121.
5298
5299 2006-08-28  Wim Taymans  <wim@fluendo.com>
5300
5301         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5302
5303         * gst/gstelement.c: (gst_element_get_bus):
5304         * tests/check/gst/gstelement.c: (GST_START_TEST):
5305         Check for NULL before _reffing the bus. Fixes #353122.
5306
5307 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
5308
5309         * docs/manual/basics-bus.xml:
5310           Docs update: fix wrong callback return value explanation; add
5311           some lines about the implicit relationship between main loop
5312           and main context; remove duplicate main loop variable declaration.
5313
5314 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
5315
5316         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5317           Don't leak caps in unit test; add a few more simple
5318           checks. 
5319
5320 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
5321
5322         * docs/gst/gstreamer-sections.txt:
5323         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5324         (gst_caps_structure_is_subset), (gst_caps_merge),
5325         (gst_caps_merge_structure):
5326         * gst/gstcaps.h:
5327         * libs/gst/base/gstbasetransform.c:
5328         (gst_base_transform_transform_caps):
5329         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5330           implement caps merging (fixes #352580)
5331
5332 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
5333
5334         * tools/Makefile.am:
5335         * tools/gst-plot-timeline.py:
5336           add debug-log plotting developer tool (#340674)
5337
5338 2006-08-23  Wim Taymans  <wim@fluendo.com>
5339
5340         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5341         (gst_pad_stop_task):
5342         Improve debugging for task functions.
5343
5344         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5345         (gst_task_start), (gst_task_pause), (gst_task_join):
5346         Make sure that the task function started and finished after a 
5347         join(). 
5348         Don't try to push the task function on the threadpool multiple
5349         times.
5350         Improve the g_warning message with some useful suggestions
5351         about how to fix the problem. 
5352
5353 2006-08-23  Wim Taymans  <wim@fluendo.com>
5354
5355         * gst/gstutils.c: (gst_pad_proxy_getcaps):
5356         Handle RESYNC correctly in _proxy_getcaps.
5357
5358 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
5359
5360         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5361         (gst_xml_parse_memory), (gst_xml_get_element):
5362           Chain up to parent class in dispose function and also
5363           unref the elements in the toplevel_elements GList.
5364           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5365           Always return a reference in gst_xml_get_element() rather
5366           than only sometimes.
5367
5368         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5369           Don't leak GstXml object.
5370
5371 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
5372
5373         * docs/gst/gstreamer-sections.txt:
5374         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5375         (gst_caps_merge):
5376         * gst/gstcaps.h:
5377         * libs/gst/base/gstbasetransform.c:
5378         (gst_base_transform_transform_caps):
5379           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5380           in a better way
5381
5382 2006-08-21  Edward Hervey  <edward@fluendo.com>
5383
5384         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5385         Implement GObject::dispose virtual method in GstXML so we can free the
5386         top_elements GList.
5387
5388 2006-08-21  Wim Taymans  <wim@fluendo.com>
5389
5390         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5391         (gst_buffer_create_sub):
5392         Copy duration/offset_end/caps when creating a subbuffer of the
5393         complete parent.
5394         Make the subbuffer read-only when we make the metadata writable for
5395         now. Fixes #351768.
5396
5397         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5398         Added check for metadata copy when creating subbuffers.
5399
5400 2006-08-21  Edward Hervey  <edward@fluendo.com>
5401
5402         * libs/gst/base/gstbasetransform.c:
5403         (gst_base_transform_buffer_alloc):
5404         Only call downstream buffer_alloc if transform element is passthrough
5405         or always_in_place. Closes #350449.
5406
5407 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5408
5409         * ChangeLog:
5410           ChangeLog surgery to add comments to previous changes
5411
5412 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * gst/gst.c:
5415           Add comments
5416
5417         * gst/gstpad.c: (gst_pad_set_active):
5418           Be more verbose in the log
5419
5420         * libs/gst/base/gstbasetransform.c:
5421         (gst_base_transform_transform_caps):
5422           Simplify caps to get rid of duplicates, fixes #345444
5423
5424 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5425
5426         * gst/gstvalue.c:
5427         * gst/gstvalue.h:
5428           Use these optimizations only internally.
5429
5430 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
5431
5432         * gst/gstvalue.c: (gst_value_compare_list),
5433         (gst_value_compare_fraction_range),
5434         (gst_value_intersect_fraction_fraction_range),
5435         (gst_value_intersect_fraction_range_fraction_range),
5436         (gst_value_subtract_fraction_fraction_range),
5437         (gst_value_subtract_fraction_range_fraction_range),
5438         (gst_value_get_compare_func), (gst_value_compare),
5439         (gst_value_compare_with_func):
5440         * gst/gstvalue.h:
5441           Saves the expensive lookup of the compare function in many cases
5442          (#345444)
5443
5444 2006-08-18  Edward Hervey  <edward@fluendo.com>
5445
5446         * tests/check/gst/gstinfo.c: (gst_info_suite):
5447         Disable test that require gstdebug if it wasn't built in core.
5448
5449 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5450
5451         * docs/random/ensonic/logging.txt:
5452           update ideas
5453           
5454         * gst/gstinfo.c: (gst_debug_log_default):
5455           reorder fields, save some columns, add optional color codes for log
5456           levels
5457
5458 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
5459
5460         * docs/random/ensonic/logging.txt:
5461           add ideas about making the logs a bit more useful
5462
5463 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5464
5465         * docs/pwg/advanced-events.xml:
5466         * docs/pwg/titlepage.xml:
5467           Update for 0.10 API (#340627). Add myself
5468           to authors list.
5469
5470 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
5471
5472         * docs/libs/gstreamer-libs-docs.sgml:
5473         * docs/libs/gstreamer-libs-sections.txt:
5474         * libs/gst/check/gstbufferstraw.c:
5475           Make gstcheck stuff show up in docs (still needs to
5476           be documented properly though).
5477
5478 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
5479
5480         * docs/gst/gstreamer-sections.txt:
5481         * gst/Makefile.am:
5482         * gst/gst.c: (init_post):
5483         * gst/gst_private.h:
5484         * gst/gstquark.c: (_priv_gst_quarks_initialize):
5485         * gst/gstquark.h:
5486         * gst/gstquery.c: (gst_query_new_position),
5487         (gst_query_set_position), (gst_query_parse_position),
5488         (gst_query_new_duration), (gst_query_set_duration),
5489         (gst_query_parse_duration), (gst_query_new_convert),
5490         (gst_query_set_convert), (gst_query_parse_convert),
5491         (gst_query_new_segment), (gst_query_set_segment),
5492         (gst_query_parse_segment), (gst_query_new_seeking),
5493         (gst_query_set_seeking), (gst_query_parse_seeking):
5494         Add internal helpers for pre-registering quarks from static strings
5495         and using the quark values directly instead of looking them up when
5496         creating and parsing queries. Can be used for event construction too.
5497         Closes #350432.
5498
5499 2006-08-16  Wim Taymans  <wim@fluendo.com>
5500
5501         * gst/gstbin.c:
5502         Fix bogus docs.
5503
5504 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5505
5506         * gst/gstutils.c: (gst_util_set_value_from_string):
5507           Fix memleak (#351502).
5508
5509         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5510           Add unit test for most of gst_util_set_value_from_string()
5511           (not that one would want to encourage use of this function).
5512
5513 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5514
5515         * libs/gst/check/gstcheck.h:
5516           Use const gchar * variables in fail_unless_equals_string
5517           macro to avoid compiler warnings (and don't use tabs for
5518           indenting).
5519
5520 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5521
5522         * tools/gst-launch.c: (print_tag):
5523           More space on the left for the tag names, to cater
5524           for the 'extended comment' tag (not touching the
5525           string for the first line since it's translated).
5526
5527 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
5528
5529         * libs/gst/check/gstcheck.h:
5530           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5531           print something when they fail.
5532
5533 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5534
5535         * docs/gst/gstreamer-sections.txt:
5536         * gst/gsttaglist.c: (_gst_tag_initialize):
5537         * gst/gsttaglist.h:
5538           API: add GST_TAG_EXTENDED_COMMENT (#350935).
5539           Also change merge function for GST_TAG_COMMENT to
5540           use_first.
5541
5542 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * gst/gstinfo.c: (gst_debug_print_object):
5545           Make GST_PTR_FORMAT print messages as well.
5546
5547         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5548         (GST_START_TEST), (gst_info_suite):
5549           More tests.
5550
5551 2006-08-14  Edward Hervey  <edward@fluendo.com>
5552
5553         * gst/gstelementfactory.c: (gst_element_register):
5554         If the GstElementClass doesn't have a GstElementDetails with all fields
5555         filled up correctly (longname, description AND author), then error out
5556         nicely instead of crashing.
5557
5558 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
5559
5560         * gst/gststructure.c:
5561           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5562
5563         * gst/gstvalue.h:
5564           Expand on the difference between arrays and lists as we use them.
5565           
5566 2006-08-14  Wim Taymans  <wim@fluendo.com>
5567
5568         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5569         If the parent state change function failed, don't assume we can safely
5570         stop the source, this will be done when the pads are deactivated.
5571
5572 2006-08-14  Wim Taymans  <wim@fluendo.com>
5573
5574         * gst/gstbuffer.c:
5575         * gst/gsttask.c: (gst_task_join):
5576         Small doc updates.
5577
5578         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5579         (gst_pad_stop_task):
5580         When pad (de)activation failed for some reason, restore the old
5581         activation mode and set the pad to flushing instead of assuming the
5582         pad is deactivated.
5583         If the _task_join() failed, reinstall the task on the pad so that it can
5584         be stopped later and return an error.
5585
5586 2006-08-11  Andy Wingo  <wingo@pobox.com>
5587
5588         * configure.ac:
5589         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5590         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5591         is only for users of API that don't want to see deprecated
5592         functions in the headers; people that want to compile out
5593         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5594         CFLAGS. Fixes the build of multifdsink, or will soon..
5595
5596 2006-08-11  Wim Taymans  <wim@fluendo.com>
5597
5598         * docs/gst/gstreamer-sections.txt:
5599         Add GstClockClass vmethod docs.
5600
5601         * gst/gstcaps.h:
5602         Mark #endif with comment for associated #if
5603
5604         * gst/gstclock.c: (gst_clock_id_wait):
5605         * gst/gstclock.h:
5606         Add vmethod wait_jitter to avoid an unneeded _get_time() for
5607         most clock implementations.
5608         Document vmethods.
5609         Flesh out docs about resolution methods.
5610         API: GstClockClass::wait_jitter
5611
5612         * gst/gstsystemclock.c: (gst_system_clock_class_init),
5613         (gst_system_clock_async_thread),
5614         (gst_system_clock_id_wait_jitter_unlocked),
5615         (gst_system_clock_id_wait_jitter):
5616         Use base class wait_jitter variant for improved performance
5617         due to less clock polling.
5618
5619 2006-08-11  Edward Hervey  <edward@fluendo.com>
5620
5621         * gst/gst.c: (gst_init_check), (init_post):
5622         Set gst as being initialized before scanning/updating the registry,
5623         since there might be my python plugin loader that calls gst_init() and
5624         we don't want to loop back in.
5625         Closes #350879
5626
5627 2006-08-11  Wim Taymans  <wim@fluendo.com>
5628
5629         * docs/design/part-qos.txt:
5630         Bring docs in line with the code. Mostly the sign of the jitter was
5631         wrong in the docs. Fixes #349943.
5632
5633         * gst/gstclock.c:
5634         Fix the docs for the jitter.
5635
5636         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5637         (gst_event_parse_tag), (gst_event_new_buffer_size),
5638         (gst_event_parse_buffer_size), (gst_event_parse_qos),
5639         (gst_event_new_seek), (gst_event_parse_seek),
5640         (gst_event_new_navigation):
5641         Make sure the GstStructure has no parent when creating custom
5642         events.
5643         Add some more argument checking so that we avoid 0.0 rates.
5644         Flesh out the docs for the QoS event some more.
5645
5646 2006-08-11  Wim Taymans  <wim@fluendo.com>
5647
5648         * docs/gst/gstreamer-sections.txt:
5649         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5650         (ensure_current_registry_forking), (ensure_current_registry),
5651         (parse_one_option), (parse_goption_arg), (gst_deinit),
5652         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5653         * gst/gst.h:
5654         Doc updates.
5655         Added API and command line option to disable registry forking in
5656         addition to the environment variable.
5657         Constify some static arrays.
5658         Added some more debug.
5659         Don't deinit twice.
5660         API: gst_registry_fork_is_enabled()
5661         API: gst_registry_fork_set_enabled()
5662         API: --gst-disable-registry-fork command line option
5663         Fixes #348918.
5664
5665 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
5666
5667         * gst/gst.c: (gst_init):
5668           Fix typo in error message.
5669
5670 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5671
5672         * libs/gst/controller/gstcontroller.h:
5673           fix ABI size-correction
5674
5675         * tests/check/libs/gdp.c: (gst_dp_suite):
5676           make tests that use deprecated API conditional
5677
5678 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * docs/libs/gstreamer-libs-sections.txt:
5681         * libs/gst/controller/gstcontroller.c:
5682         (_gst_controller_get_property), (_gst_controller_set_property),
5683         (_gst_controller_init), (_gst_controller_class_init):
5684         * libs/gst/controller/gstcontroller.h:
5685         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5686         (gst_object_set_control_rate):
5687           API: add gst_object_{s,g}et_control_rate(), add private data section,
5688           fix docs
5689
5690         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5691         * libs/gst/dataprotocol/dataprotocol.h:
5692           add deprecation guards to make gtk-doc happy and allow disabling cruft
5693
5694 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5695
5696         * tests/check/Makefile.am:
5697         * tests/check/gst/.cvsignore:
5698           Let's enable the new unit test as well.
5699
5700 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5701
5702         * configure.ac:
5703         * docs/gst/gstreamer-sections.txt:
5704         * gst/gstconfig.h.in:
5705         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5706         (_gst_info_printf_extension_ptr),
5707         (_gst_info_printf_extension_segment):
5708           API: add GST_SEGMENT_FORMAT, which is a printf extension we
5709           register that lets us easily dump GstSegments into debug
5710           logs (#350419).
5711
5712         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5713         (info_segment_format_printf_extension), (gst_info_suite):
5714           Add simple unit test that logs a bunch of different segments (not
5715           valgrinded at the moment because of leaks in
5716           gst_debug_add_log_function).
5717
5718 2006-08-09  Edward Hervey  <edward@fluendo.com>
5719
5720         * libs/gst/base/gstbasetransform.c:
5721         (gst_base_transform_buffer_alloc):
5722         Even if we can't figure out the proper format to request downstream,
5723         call buffer_alloc() downstream with the input parameters without setting
5724         the caps on the srcpad. This will force negotiation in the chain
5725         function.
5726         Closes #350449
5727
5728 2006-08-08  Edward Hervey  <edward@fluendo.com>
5729
5730         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5731         Unlinking from a pad without a target is now a perfectly valid case
5732         which should NOT raise an assertion.
5733         This case would happen if a linked ghostpad its target set to NULL after
5734         it was previously linked.
5735
5736 2006-08-08  Edward Hervey  <edward@fluendo.com>
5737
5738         * tests/check/libs/gdp.c:
5739         Also comment out the test (see below).
5740
5741 2006-08-08  Edward Hervey  <edward@fluendo.com>
5742
5743         * tests/check/libs/gdp.c: (gst_dp_suite):
5744         Use the architecture information from config.h and not gcc macros
5745         in order to properly disable a test that fails on PPC64.
5746
5747 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * gst/gstelement.c: (gst_element_remove_pad):
5750           Don't crash printing the warning if the pad has no parent.
5751
5752 2006-08-02  Wim Taymans  <wim@fluendo.com>
5753
5754         * libs/gst/dataprotocol/dataprotocol.c:
5755         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5756         (gst_dp_crc), (gst_dp_header_payload_length),
5757         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5758         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5759         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5760         (gst_dp_event_from_packet), (gst_dp_validate_header),
5761         (gst_dp_validate_payload):
5762         Make debug category static
5763         Constify the crc table.
5764         Do some more arg checking in public functions.
5765         Fix some docs and do some small cleanups.
5766
5767         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5768         Add some more checks to see if GDP deals with bogus input.
5769
5770 2006-07-31  Wim Taymans  <wim@fluendo.com>
5771
5772         * gst/gstvalue.c: (gst_value_compare_list):
5773         Fix GstValueList comparison code. Fixes #347293.
5774
5775         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5776         Check to test GstValueList comparison.
5777
5778 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5779
5780         * gst/gstelementfactory.c: (gst_element_factory_create):
5781         Remove unnecessary ref/unref pair
5782
5783         * gst/parse/grammar.y:
5784         Make sure to free the parse buffer on all code paths.
5785         Move a g_free up to the error handler where it's easier to see.
5786
5787         * tests/check/gst/gstevent.c: (test_event):
5788         Extending timeout for downstream travelling events to 10 seconds to
5789         hopefully avoid intermittent failure on the buildbots.
5790
5791         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5792         Don't manually set the state of the src element - it will happen as a
5793         natural consequence of the pipeline changing state, and that way it
5794         will do it in the right order too.
5795
5796 2006-07-31  Wim Taymans  <wim@fluendo.com>
5797
5798         * libs/gst/base/gstbasetransform.c:
5799         (gst_base_transform_buffer_alloc):
5800         Use OBJECT_LOCK and refcounting to get the pad caps in the
5801         buffer_alloc function because the caps could change while we are
5802         busy with them. Fixes #349105
5803
5804 2006-07-31  Wim Taymans  <wim@fluendo.com>
5805
5806         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5807         Protect _PAD_CAPS with OBJECT_LOCK.
5808
5809 2006-07-31  Wim Taymans  <wim@fluendo.com>
5810
5811         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5812         (gst_pad_get_property), (gst_pad_activate_pull),
5813         (gst_pad_activate_push), (gst_pad_set_blocked_async),
5814         (gst_pad_set_activate_function),
5815         (gst_pad_set_activatepull_function),
5816         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5817         (gst_pad_set_getrange_function),
5818         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5819         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5820         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5821         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5822         (gst_pad_set_acceptcaps_function),
5823         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5824         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5825         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5826         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5827         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5828         (gst_pad_configure_sink), (gst_pad_configure_src),
5829         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5830         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5831         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5832         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5833         (gst_pad_send_event):
5834         Use _DEBUG_OBJECT when it makes sense.
5835         Protect GST_PAD_CAPS with the OBJECT_LOCK.
5836         Small cleanups and code reflows.
5837         Avoid caps refcounting in _accept_caps.
5838         Refactor alloc_buffer so that the code performed on the peer is in a
5839         separate function. Also if the pad does not implement a buffer alloc
5840         function, we should still check if the pad is flushing before falling
5841         back to the default allocator.
5842
5843 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5844
5845         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5846         Make all uses of identity and fakesink have silent=true to avoid
5847         serialising every passing data structure, which is breaking tests
5848         on FC4 for some unknown reason.
5849
5850 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * gst/parse/Makefile.am:
5853         * gst/parse/grammar.y:
5854         * gst/parse/parse.l:
5855           Reverted previous patch as it required to bump the flex dependency to
5856           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
5857
5858 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
5859
5860         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
5861
5862         * gst/parse/Makefile.am:
5863         * gst/parse/grammar.y:
5864         * gst/parse/parse.l:
5865           push & pop the state of the lexer for reentrant use case
5866           Fixes #349180
5867
5868 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
5869
5870         * libs/gst/base/gstbasesrc.h:
5871           Note in the docs that the ::newsegment vfunc is not actually used by
5872           GstBaseSrc.
5873
5874 2006-07-28  Wim Taymans  <wim@fluendo.com>
5875
5876         * libs/gst/base/gstcollectpads.c:
5877         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
5878         (gst_collect_pads_clear), (gst_collect_pads_flush),
5879         (gst_collect_pads_event), (gst_collect_pads_chain):
5880         When flushing a pad, also clear the queued buffer so that we don't
5881         accidentally use it when we shouldn't.
5882         Fix leaks by inreffing incomming buffer.
5883         Flush out queued buffers in case of errors.
5884         Fixes #347452.
5885
5886 2006-07-28  Wim Taymans  <wim@fluendo.com>
5887
5888         * docs/random/phonon-gst:
5889         Random notes about a Phonon backend.
5890
5891 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
5892
5893         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5894         Extra debug output
5895         * tests/check/libs/gdp.c: (gst_dp_suite):
5896         Take a whack at fixing the ppc compile using a different define to
5897         disable the broken test.
5898
5899         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5900         Remove excess g_print()
5901
5902 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5903
5904         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
5905         Oops, meant to uncomment this line too to dampen the noise a bit.
5906
5907 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
5908
5909         * gst/parse/grammar.y:
5910         * gst/parse/parse.l:
5911         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5912         (GST_START_TEST), (parse_suite):
5913         Fix some of the leaks exposed by extending the parse-launch testsuite,
5914         and move the 3 I can't figure out into a separate test that won't run
5915         the pipelines unless the appropriate line is uncommented.
5916
5917 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
5918
5919         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5920           Requesting 0 bytes before the end of the file should result in
5921           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
5922           unit test.
5923
5924 2006-07-27  Wim Taymans  <wim@fluendo.com>
5925
5926         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
5927         Fix useless assert, a uint is always positive.
5928
5929         * gst/gststructure.c: (gst_structure_nth_field_name),
5930         (gst_structure_foreach), (gst_structure_map_in_place):
5931         Check input arguments for public functions to avoid obvious crashes.
5932
5933         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
5934         * plugins/elements/gstfakesink.h:
5935         Do less useless typechecking.
5936
5937 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
5938
5939         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
5940           Do not use mmap() by default since there are a number of error
5941           conditions that we would like to handle in a non-fatal way that
5942           will result in a SIGBUS if we use mmap(). Examples: external
5943           devices (USB harddrive, portable music player) being unplugged
5944           while in use; file on mounted CD/DVD that can't be read because
5945           the medium is partly damaged. Fixes #348455 and #348475.
5946
5947 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
5948
5949         * gst/gstquery.h:
5950         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
5951         rates are a gdouble
5952
5953 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
5954
5955         * gst/gstregistry.c:
5956           Move big documentation comment into class section header, so that it
5957           appears in the API docs.
5958
5959 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5960
5961         * docs/gst/gstreamer-sections.txt:
5962         Oops. Commit the docs additions too for new API.
5963         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
5964
5965 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5966
5967         * gst/gststructure.c: (gst_structure_id_set),
5968         (gst_structure_id_set_valist):
5969         * gst/gststructure.h:
5970         Add API for setting values into structures without performing
5971         a quark lookup, if the appropriate quark is already known.
5972
5973         API: gst_structure_id_set
5974         API: gst_structure_id_set_valist
5975
5976         * gst/parse/grammar.y:
5977         * gst/parse/parse.l:
5978         Remove some dead code shown by the coverage information.
5979         Don't throw a critical g_warning when encountering a syntax error,
5980         just warn and let the normal error path handle it.
5981
5982         * plugins/elements/gstelements.c:
5983         Bump the rank of filesink up to PRIMARY so that it is preferred over
5984         gnomevfssink for file:// sink uri's
5985
5986         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
5987         (GST_START_TEST), (run_delayed_test),
5988         (gst_parse_test_element_base_init),
5989         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
5990         (gst_parse_test_element_change_state),
5991         (gst_register_parse_element), (parse_suite):
5992         Beef up the tests for parse syntax to check that more error cases
5993         fail as they are supposed to. Increases the test coverage a bit.
5994
5995 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5996
5997         * docs/manual/basics-elements.xml:
5998           Fix gst_element_link() example.
5999
6000         * gst/gstutils.c:
6001           Mention in API docs that one should usually gst_bin_add()
6002           elements to a bin or pipeline before doing the linking.
6003           
6004 2006-07-26  Wim Taymans  <wim@fluendo.com>
6005
6006         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6007         (gst_subbuffer_get_type), (gst_buffer_create_sub):
6008         Avoid function call for known types by keeping the buffer and
6009         subbuffer GType global.
6010
6011         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6012         Random silly optimisations in read() path.
6013
6014 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6015
6016         * tools/gst-launch.c: (main):
6017           If the top-level of the parse is a normal bin, it doesn't do the
6018           right logic to run as a top-level element, so place it inside a
6019           pipeline.
6020
6021 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6022
6023         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6024           Remove superfluous g_object_notify() calls, GObject does
6025           that for us automatically.
6026
6027 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
6028
6029         * gst/gstinfo.h:
6030           on Win32, use dllspec to export the debug category symbols
6031
6032 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
6033
6034         * gst/gsttaglist.c: (_gst_tag_initialize):
6035           Allow more than one GST_TAG_IMAGE per taglist.
6036
6037 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6038
6039         * gst/gstminiobject.c:
6040           update docs
6041         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6042         (gst_fd_src_create):
6043           log recurring events at LOG level
6044           add more debug for when the fd gets set
6045
6046 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6047
6048         * gst/gstparse.c: (gst_parse_launch):
6049           Also remove reentrance checks if flex is MT safe (#348179)
6050          Fix my empty ChangeLog entry below
6051
6052 2006-07-21  Andy Wingo  <wingo@pobox.com>
6053
6054         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6055
6056         * libs/gst/check/Makefile.am
6057         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6058         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
6059         * libs/gst/check/gstbufferstraw.h:
6060         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6061         functions, thus proving I am still a GStreamer haxor. OK I wrote
6062         them a long time ago, but anyways.
6063
6064 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
6065
6066         * configure.ac:
6067         * gst/gstparse.c: (gst_parse_launch):
6068           Check for flex version and omit mutex if we have a MT save flex
6069           (fixes #348179)
6070
6071 2006-07-21  Wim Taymans  <wim@fluendo.com>
6072
6073         * gst/gstparse.c: (gst_parse_launch):
6074         Protect recursive calls to _parse with a recursive mutex
6075         and busy flag.
6076
6077 2006-07-21  Wim Taymans  <wim@fluendo.com>
6078
6079         * tests/check/gst/gstpad.c: (GST_START_TEST):
6080         Fix leak in test.
6081
6082 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
6083
6084         * gst/gstparse.c: (gst_parse_launch):
6085           Do not hang on recursive usage of gst_parse_launch()
6086
6087 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6088
6089         * gst/gsttaglist.c:
6090           Add some more docs, comments and FIXME 0.11s here and there
6091           and also fix some typos.
6092
6093 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         * gst/gstsegment.h:
6096           Convert tabs to spaces for better readability. 
6097
6098 2006-07-20  Edward Hervey  <edward@fluendo.com>
6099
6100         * tests/check/libs/gdp.c: (gst_dp_suite):
6101         the test_buffer test fails at line 140 on ppc64 at the following
6102         check:
6103         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6104                 GST_BUFFER_FLAG_IN_CAPS),
6105                 "GST_BUFFER_IN_CAPS flag should have been copied !");
6106         See bug #348114 for more details.
6107
6108 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
6109
6110         * docs/pwg/advanced-scheduling.xml:
6111         * gst/gstpad.c:
6112           Fix typos (#348000).
6113
6114 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
6115
6116         * docs/pwg/intro-basics.xml:
6117           Fix wrong links (#347927).
6118
6119 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
6120
6121         * gst/gstregistry.h:
6122         * gst/gstregistryxml.c: (load_feature),
6123         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6124         * win32/common/config.h:
6125           make --disable-index work (#342564)
6126
6127 2006-07-18  Wim Taymans  <wim@fluendo.com>
6128
6129         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6130
6131         * gst/Makefile.am:
6132         * gst/gsttrace.h:
6133         The attached patch adds two missing defines to gsttrace.h when tracing
6134         is disabled.  It also corrects one existing define.
6135         Fixes #347756.
6136
6137 2006-07-17  Wim Taymans  <wim@fluendo.com>
6138
6139         * docs/gst/gstreamer-sections.txt:
6140         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6141         * gst/gst.h:
6142         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6143         Add two functions to check and change the SIGSEGV behaviour
6144         when loading plugins.
6145         Don't mess with the SIGSEGV handler when we were told not to.
6146         Fixes #347794.
6147         API: gst_segtrap_is_enabled
6148         API: gst_segtrap_set_enabled
6149
6150 2006-07-14  Wim Taymans  <wim@fluendo.com>
6151
6152         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6153         * tests/check/elements/filesrc.c: (GST_START_TEST):
6154         Revert fix for regression in #347408 after release.
6155
6156 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
6157
6158         Patch by: Antoine Tremblay <hexa00 at gmail com>
6159
6160         * gst/gstutils.c: (gst_element_unlink):
6161           Free iterator when done (#347311).
6162
6163         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6164           And add a test case for this.
6165
6166 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
6167
6168         * configure.ac:
6169         Bump nano back to CVS
6170
6171 === release 0.10.9 ===
6172
6173 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
6174
6175         * configure.ac:
6176           releasing 0.10.9, "On the road again"
6177
6178 2006-07-13  Wim Taymans  <wim@fluendo.com>
6179
6180         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6181         * tests/check/elements/filesrc.c: (GST_START_TEST):
6182         Revert pull-0 fix for release. Disable check. Fixes #347408.
6183
6184 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6185
6186         * libs/gst/dataprotocol/dataprotocol.c:
6187         (gst_dp_event_from_packet_1_0):
6188           Fixes #347337: failure to deserialize event packets with
6189           empty payload (only event type)
6190
6191 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6192
6193         * gst/Makefile.am:
6194           do not install a .c file in the header directory
6195
6196 2006-07-13  Edward Hervey  <edward@fluendo.com>
6197
6198         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6199         GhostPad no longer implicitely use the padtemplates of the targets.
6200         Fixes #347384
6201
6202 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
6203
6204         * gst/gstvalue.c: (gst_value_compare_list),
6205         (gst_value_compare_array), (_gst_value_initialize):
6206         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6207         Make GstValueArray comparison be order dependent as designed.
6208         Add checks for value lists and value array comparisons.
6209         Fixes #347221
6210
6211 2006-07-11  Edward Hervey  <edward@fluendo.com>
6212
6213         * gst/gstbin.c: (activate_pads),
6214         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6215         (gst_bin_change_state_func):
6216         (de)activate src pads before calling state_change on the childs.
6217         This is to avoid the case where a src ghostpad is blocked (holding the
6218         stream lock), which would block the deactivation of the ghostpad's
6219         target pad.
6220         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6221         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6222         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6223         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6224         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6225         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6226         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6227         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6228         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6229         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6230         (gst_ghost_pad_class_init),
6231         (gst_ghost_pad_internal_do_activate_push),
6232         (gst_ghost_pad_internal_do_activate_pull),
6233         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6234         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6235         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6236         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6237         GhostPads now create their internal GstProxyPad at creation (and not
6238         when they're linked, as it was being done previously).
6239         The internal and target pads are linked straight away.
6240         The data will also travel through the other pad in order to make
6241         pad blocking and probes non-hackish (the probe/block now really happens
6242         on the GhostPad and not on the target).
6243         * gst/gstpad.c: (gst_pad_set_blocked_async),
6244         (gst_pad_link_prepare), (gst_pad_push_event):
6245         Remove previous ghostpad cruft.
6246         * gst/gstutils.c: (gst_pad_add_data_probe),
6247         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6248         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6249         (gst_pad_remove_buffer_probe):
6250         Remove previous ghost pad cruft.
6251         Added more detailed debug statements.
6252         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6253         Fix the testsuite for refcounting changes.
6254         The comments about who has references were correct, but the refcount
6255         being checked wasn't the same (!?!).
6256
6257         Fixes #341029
6258
6259 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6260
6261         * docs/gst/gstreamer-sections.txt:
6262         * gst/gstconfig.h.in:
6263         More docs for configuration options, add docs to gtk-doc.
6264
6265 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
6266
6267         * gst/Makefile.am:
6268         * gst/gstconfig.h.in:
6269         * win32/common/config.h:
6270         Fix build when disabling tracing (fixes #344016). Also start to document
6271         the defines that disable the sub-systems.
6272
6273 2006-07-10  Edward Hervey  <edward@fluendo.com>
6274
6275         * gst/gst.c: (ensure_current_registry_forking):
6276         let's make valgrind happy...
6277
6278 2006-07-09  Wim Taymans  <wim@fluendo.com>
6279
6280         * gst/gstelement.c: (activate_pads),
6281         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6282         Better pad activation code: Reset the collect value too on resync.
6283         Add some comments.
6284
6285 2006-07-09  Wim Taymans  <wim@fluendo.com>
6286
6287         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6288         (gst_pad_activate_push):
6289         Use some more macros where it makes sense.
6290         Allow pad mode switching instead of asserting. When a pad
6291         is activated in one mode and we activate it in another, 
6292         deactivate it first before activating it in a different mode.
6293         Fixes #329198.
6294
6295 2006-07-08  Andy Wingo  <wingo@pobox.com>
6296
6297         * tools/gst-launch.c (main): Handle err == NULL.
6298
6299         * gst/gst.c (init_post, ensure_current_registry)
6300         (ensure_current_registry_forking)
6301         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6302         factoring out the registry scanning into separate functions. Don't
6303         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6304         Better environment var name/interface suggestions accepted.
6305
6306 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * gst/gstobject.c: (gst_object_set_name_default),
6309         (gst_object_set_name):
6310           Random micro-optimisation: don't use a hash table
6311           with strings as keys and the usual strdup/strcmp
6312           involved, but rather just use the GQuark of the
6313           type name as key, since it needs to be looked up
6314           anyway to get the type name string.
6315
6316         * tests/check/gst/gstobject.c: (GST_START_TEST):
6317           Fix various leaks.
6318
6319 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6322         (gst_bin_iterate_all_by_interface):
6323           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6324           GTypes are gulongs and thus the top 4 bytes might be cut
6325           off on some platforms when doing GPOINTER_TO_INT, leading
6326           to invalid GTypes and bad things happening (see RH bug #179654).
6327           Also add a check to make sure the type passed in is really
6328           an interface type.
6329
6330 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * .cvsignore:
6333           Ignore more.
6334
6335 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
6336
6337         * Makefile.am:
6338         * configure.ac:
6339         * gst-element-check.m4:
6340         * gst-element-check.m4.in:
6341           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6342           instead of the unversioned gst-inspect (#324176, #168659).
6343
6344 2006-07-06  Wim Taymans  <wim@fluendo.com>
6345
6346         * gst/gstmessage.h:
6347         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6348         warnings.
6349
6350 2006-07-06  Wim Taymans  <wim@fluendo.com>
6351
6352         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6353         (gst_base_src_wait), (gst_base_src_update_length),
6354         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6355         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6356         (gst_base_src_loop), (gst_base_src_start),
6357         (gst_base_src_activate_pull):
6358         Update docs.
6359         blocksize == 0 now means the default blocksize when working in push
6360         based mode.
6361         Remove some pointless asserts in _wait function.
6362         Fix offset/length calculations and EOS handling. We can now pull 0
6363         bytes as well, which is allowed.
6364         use _check_get_range() to decide if we can operate in _pull based
6365         mode.
6366         Fix refcounting leak when check_get_range function was not 
6367         implemented.
6368         API GstBaseSrc::blocksize range can be 0 too now (default)
6369
6370         * tests/check/elements/filesrc.c: (GST_START_TEST),
6371         (filesrc_suite):
6372         Added check to test _get_range() behaviour.
6373
6374 2006-07-06  Wim Taymans  <wim@fluendo.com>
6375
6376         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6377         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6378         (gst_pad_pull_range):
6379         * gst/gstpad.h:
6380         Lots of comments and docs added to the pad functions.
6381         Flesh out the expected behaviour of the get_range() functions.
6382
6383 2006-07-06  Wim Taymans  <wim@fluendo.com>
6384
6385         * gst/gstbus.h:
6386         * gst/gstclock.h:
6387         * gst/gstevent.h:
6388         * gst/gstiterator.h:
6389         * gst/gstpad.h:
6390         * gst/gstplugin.h:
6391         * gst/gsttask.h:
6392         Remove comma at end of enumerator list. 
6393
6394 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
6395
6396         * win32/common/libgstbase.def:
6397         * win32/common/libgstdataprotocol.def:
6398         * win32/common/libsgtreamer.def:
6399         Add new exported functions.
6400
6401 2006-07-05  Wim Taymans  <wim@fluendo.com>
6402
6403         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6404         Add some more docs here and there.
6405
6406 2006-07-05  Wim Taymans  <wim@fluendo.com>
6407
6408         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6409         (gst_base_sink_loop), (gst_base_sink_get_position):
6410         When operating in pull mode update the offset so that we
6411         read sequentially.
6412
6413 2006-07-05  Wim Taymans  <wim@fluendo.com>
6414
6415         * gst/gstregistryxml.c: (read_string):
6416         Avoid strdup. (will happen in libxml, but hey!)
6417
6418         * gst/gsturi.c:
6419         Add some more docs.
6420
6421 2006-07-05  Wim Taymans  <wim@fluendo.com>
6422
6423         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6424         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6425         (gst_buffer_suite):
6426         No point in checking if the size of the subbuffer > 0, the
6427         code handles it correclty as demonstrated by unit test.
6428         Also add a unit test for the zero sized _new_and_alloc and
6429         _copy. Fixes #346663.
6430
6431 2006-07-05  Wim Taymans  <wim@fluendo.com>
6432
6433         * libs/gst/base/gstbasetransform.c:
6434         (gst_base_transform_prepare_output_buffer),
6435         (gst_base_transform_buffer_alloc),
6436         (gst_base_transform_handle_buffer):
6437         Make sure the buffer we pass to transform_ip has a refcount of
6438         1 and thus is writable. Fixes #343196
6439
6440 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
6441
6442         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6443         (gst_file_src_init), (gst_file_src_set_property),
6444         (gst_file_src_get_property), (gst_file_src_map_region):
6445         * plugins/elements/gstfilesrc.h:
6446         Add "sequential" property, off by default, to use madvise and hint
6447         to the kernel that sequential access is desired.
6448         Touch all retrieved pages by default to ensure they are pulled
6449         into memory. (Closes #345720)
6450
6451 2006-07-03  Wim Taymans  <wim@fluendo.com>
6452
6453         * docs/design/part-block.txt:
6454         * docs/design/part-dynamic.txt:
6455         Small docs updates.
6456
6457 2006-07-03  Wim Taymans  <wim@fluendo.com>
6458
6459         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6460         (gst_caps_unref), (gst_static_caps_get),
6461         (gst_caps_append_structure):
6462         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6463         Use GSlice when the glib we build against is >= 2.10
6464
6465 2006-07-03  Wim Taymans  <wim@fluendo.com>
6466
6467         * gst/gstelement.c: (gst_element_pads_activate):
6468         Small cleanup in pad activation code.
6469
6470 2006-07-03  Wim Taymans  <wim@fluendo.com>
6471
6472         Patch by: Peter Kjellerstedt <pkj at axis dot com>
6473
6474         * gst/gst-i18n-app.h:
6475         * gst/gst-i18n-lib.h:
6476         * tools/gst-inspect.c: (print_signal_info):
6477         The attached patch will make the inclusion of gettext.h unconditional in
6478         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6479         libintl.h in tools/gst-inspect.c.
6480         This allows use of --disable-nls again and fixes #344642.
6481
6482 2006-07-03  Edward Hervey  <edward@fluendo.com>
6483
6484         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6485         Implement pad blocking on events according to part-block.txt.
6486         More comments on behaviour.
6487         * tests/check/gst/gstevent.c: (test_event):
6488         Send event to peer pad of blocked pad (else it will block).
6489
6490 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6491
6492         * libs/gst/check/gstcheck.c: (gst_check_message_error),
6493         (gst_check_run_suite):
6494           if we get the wrong message, give us the types as string
6495         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6496           Fix a translatable
6497         * tests/check/elements/filesrc.c: (GST_START_TEST):
6498           add a test for trying to open a non-existing file
6499
6500 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6501
6502         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6503           add a test for adding self
6504
6505 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
6506
6507         * libs/gst/check/gstcheck.h:
6508           add some assert_ as alias for fail_unless_*
6509         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6510           increase test coverage
6511
6512 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6513
6514         * Makefile.am:
6515           include lcov.mak for lcov coverage generation
6516         * tools/Makefile.am:
6517           add to CLEANFILES
6518
6519 2006-07-02  Edward Hervey  <edward@fluendo.com>
6520
6521         * tests/check/elements/.cvsignore:
6522         moaping
6523
6524 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6525
6526         * configure.ac:
6527           don't set CFLAGS and friends for gcov, done from GST_GCOV now
6528         * tests/check/Makefile.am:
6529           clean up gcov files
6530
6531 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6532
6533         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6534           remove gst_caps_simplify; it was not declared and not used
6535           and deprecated in 0.8
6536
6537 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6538
6539         * docs/faq/gst-uninstalled:
6540           don't put empty paths on PYTHONPATH
6541         * docs/gst/gstreamer-sections.txt:
6542           remove some symbols that are not there
6543
6544 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6545
6546         * gst/gstcaps.c: (gst_caps_compare_structures):
6547           whitespace fixes
6548         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6549         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6550           add more tests
6551
6552 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6553
6554         * libs/gst/dataprotocol/Makefile.am:
6555           build dataprotocol test by linking to the lib, instead of
6556           compiling the source, so we get coverage
6557         * tests/check/Makefile.am:
6558         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6559         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6560           add a test for filesrc
6561
6562 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6563
6564         * tests/check/gst/gststructure.c: (GST_START_TEST),
6565         (gst_structure_suite):
6566           Push coverage from 59.04% to 70.00%
6567
6568 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6569
6570         * tests/check/Makefile.am:
6571           gst-inspect every element; this makes sure that we also get
6572           coverage on element's get/set functions
6573
6574 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6575
6576         * configure.ac:
6577           set CFLAGS and friends to -O0 if gcov is being used
6578           add GCOV LIBS
6579         * gst/Makefile.am:
6580         * libs/gst/base/Makefile.am:
6581         * libs/gst/check/Makefile.am:
6582         * libs/gst/controller/Makefile.am:
6583         * libs/gst/dataprotocol/Makefile.am:
6584         * libs/gst/net/Makefile.am:
6585         * plugins/elements/Makefile.am:
6586         * plugins/indexers/Makefile.am:
6587           add makefile rules to generate gcov data and clean up
6588         * tests/check/Makefile.am:
6589           add a coverage target that generates an html overview
6590           of coverage data
6591
6592 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6593
6594         * tests/check/elements/fakesink.c:
6595         * tests/check/elements/fakesrc.c:
6596         * tests/check/elements/fdsrc.c:
6597         * tests/check/elements/identity.c:
6598         * tests/check/generic/sinks.c: (gst_sinks_suite):
6599         * tests/check/generic/states.c:
6600         * tests/check/gst/gst.c:
6601         * tests/check/gst/gstabi.c:
6602         * tests/check/gst/gstbin.c:
6603         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6604         * tests/check/gst/gstbus.c: (gst_bus_suite):
6605         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6606         * tests/check/gst/gstelement.c:
6607         * tests/check/gst/gstevent.c: (gst_event_suite):
6608         * tests/check/gst/gstghostpad.c:
6609         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6610         * tests/check/gst/gstmessage.c: (gst_message_suite):
6611         * tests/check/gst/gstminiobject.c:
6612         * tests/check/gst/gstobject.c:
6613         * tests/check/gst/gstpad.c:
6614         * tests/check/gst/gstpipeline.c:
6615         * tests/check/gst/gstplugin.c:
6616         * tests/check/gst/gstquery.c: (gst_query_suite):
6617         * tests/check/gst/gstsegment.c: (gst_segment_suite):
6618         * tests/check/gst/gststructure.c:
6619         * tests/check/gst/gstsystemclock.c:
6620         * tests/check/gst/gsttag.c:
6621         * tests/check/gst/gsttask.c: (gst_task_suite):
6622         * tests/check/gst/gstutils.c:
6623         * tests/check/gst/gstvalue.c:
6624         * tests/check/libs/adapter.c:
6625         * tests/check/libs/basesrc.c:
6626         * tests/check/libs/collectpads.c:
6627         * tests/check/libs/controller.c:
6628         * tests/check/libs/gdp.c: (gst_dp_suite):
6629         * tests/check/libs/gstnetclientclock.c:
6630         * tests/check/libs/gstnettimeprovider.c:
6631         * tests/check/libs/libsabi.c: (libsabi_suite):
6632         * tests/check/libs/typefindhelper.c:
6633         * tests/check/pipelines/cleanup.c:
6634         * tests/check/pipelines/parse-launch.c:
6635         * tests/check/pipelines/simple-launch-lines.c:
6636         * tests/check/pipelines/stress.c: (stress_suite):
6637           use the new macro
6638
6639 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6640
6641         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6642         * libs/gst/check/gstcheck.h:
6643           create a macro and function so that the simple unit test
6644           case can be just one macro to create main()
6645
6646 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
6647
6648         * gst/gstbin.c: (gst_bin_restore_thyself):
6649         * gst/gstxml.c: (gst_xml_make_element):
6650           Fix deserialisation from XML. Set parent manually
6651           instead of using gst_bin_add(), since gst_bin_add()
6652           will unlink all pads of the element being added.
6653           Fixes #341667.
6654
6655 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
6656
6657         Patch by: Peter Kjellerstedt <pkj at axis com>
6658
6659         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6660           Fix missing g_strdup() and double free when using the
6661           --gst-plugin-load command line option (#346097).
6662
6663 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6664
6665         * gst/gstinfo.c:
6666           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6667
6668         * libs/gst/net/gstnetclientclock.c:
6669         * libs/gst/net/gstnettimeprovider.c:
6670           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6671
6672 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * docs/manual/advanced-dataaccess.xml:
6675           Fix buffer probe example compilation in
6676           ADM (#345708).
6677         
6678 2006-06-22  Edward Hervey  <edward@fluendo.com>
6679
6680         * gst/gstelement.c: (gst_element_pads_activate):
6681         We need to deactivate src pads first and then sink pads.
6682         The reason is the src pads might be blocking while holding the streaming
6683         lock, so we need to deactivate them first so that deactivating the sink
6684         pads doesn't block (since it will require the streaming lock).
6685
6686 2006-06-22  Wim Taymans  <wim@fluendo.com>
6687
6688         * libs/gst/base/gstbasetransform.c:
6689         (gst_base_transform_buffer_alloc):
6690         Forgot to remove two unneeded unrefs.
6691         Simplify a check _is_equal allready checks the obvious case.
6692
6693 2006-06-22  Wim Taymans  <wim@fluendo.com>
6694
6695         * docs/design/part-block.txt:
6696         Some docs about what pad_block should do.
6697
6698 2006-06-22  Wim Taymans  <wim@fluendo.com>
6699
6700         * gst/gstcaps.c: (gst_caps_replace):
6701         Fix crasher when passed NULL. Doc clarification.
6702         Optimize for the trivial case.
6703
6704         * gst/gstpipeline.c: (gst_pipeline_change_state):
6705         Small cleanups.
6706
6707         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6708         Small documentation cleanup.
6709
6710         * libs/gst/base/gstbasetransform.c:
6711         (gst_base_transform_buffer_alloc):
6712         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6713         is what we need and it avoids a whole lot of redundant 
6714         refcount operations.
6715
6716 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
6717
6718         Patch by: Philip Jägenstedt  <philip at lysator liu se>
6719
6720         * docs/manual/advanced-dataaccess.xml:
6721           Fix 'Embedding static elements' section to use
6722           GST_PLUGIN_DEFINE_STATIC (#345607).
6723
6724 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6725
6726         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6727           Attempt to 'fix' spuriously failing test case: it seems like the
6728           timeout of half a second is simply too small when the system is under
6729           load otherwise, and the timeout doesn't really seem to serve any
6730           particular purpose here. Give the pipeline a few seconds to preroll
6731           first, and then give it another half a second to go from PAUSED to
6732           PLAYING and marshal the message into the main thread.
6733
6734 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * tools/gst-feedback-m.m:
6737           Don't only use unversioned tools, try versioned tools as well
6738           (#345086).
6739
6740 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6741
6742         * gst/gstbus.c: (gst_bus_class_init):
6743           Fix some typos, make docs more explicit.
6744
6745 2006-06-20  Wim Taymans  <wim@fluendo.com>
6746
6747         * tests/check/gst/gstghostpad.c: (block_callback),
6748         (GST_START_TEST), (gst_ghost_pad_suite):
6749         Added some more ghostpad tests, mainly blocking
6750         and probes.
6751
6752 2006-06-16  Wim Taymans  <wim@fluendo.com>
6753
6754         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6755         (gst_file_sink_close_file), (gst_file_sink_do_seek),
6756         (gst_file_sink_event), (gst_file_sink_render):
6757         * plugins/elements/gstfilesink.h:
6758         Check if we can seek in the file instead of assuming
6759         we always can. Post an error when we are asked to seek in a
6760         non-seekable file (like a fifo). Fixes #343312.
6761         Some cleanups.
6762
6763 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6764
6765         * tools/gst-launch.1.in:
6766           Un-garble (fourcc) bit in filtered caps section.
6767
6768 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
6769
6770         * docs/manual/advanced-autoplugging.xml:
6771         * docs/manual/basics-helloworld.xml:
6772         * docs/manual/highlevel-components.xml:
6773           Don't leak bus reference in sample code.
6774
6775 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
6776
6777         * autogen.sh:
6778           Add default for new --enable-plugin-docs switch.
6779
6780         * configure.ac:
6781           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6782           Fixes #344039.
6783
6784         * docs/Makefile.am:
6785           Use new ENABLE_PLUGIN_DOCS conditional.
6786
6787 2006-06-14  Wim Taymans  <wim@fluendo.com>
6788
6789         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6790         Make it clear with a FIXME and a real define what the #if 0
6791         previously disabled.
6792
6793 2006-06-14  Wim Taymans  <wim@fluendo.com>
6794
6795         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6796         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6797         * libs/gst/base/gstbasetransform.c:
6798         (gst_base_transform_sink_eventfunc):
6799         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6800         Don't randomly and silently reset a segment when the format 
6801         changes as this is a bug somewhere upstream. Fixes #330379.
6802
6803 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         Patch by: Wouter Paesen  <wouter at kangaroot net>
6806
6807         * libs/gst/controller/gstcontroller.c:
6808         (gst_controlled_property_new):
6809           Fix controlling of float properties (#344849).
6810
6811         * tests/check/libs/controller.c:
6812         (gst_test_mono_source_get_property),
6813         (gst_test_mono_source_set_property),
6814         (gst_test_mono_source_class_init), (GST_START_TEST):
6815           While we're at it, add some float stuff to unit test.
6816
6817 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6818
6819         * docs/README:
6820         * docs/images/gdp-header.svg:
6821           add a gdp image
6822         * docs/libs/Makefile.am:
6823         * docs/libs/gdp-header.png:
6824         * libs/gst/dataprotocol/dataprotocol.c:
6825           add it to the API docs
6826         * docs/manual/intro-motivation.xml:
6827           fix typo
6828
6829 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6830
6831         * gst/gst.c: (scan_and_update_registry), (init_post):
6832           If the fork()'ed child process can't write the updated registry cache
6833           file to disk for some reason, make it exit with a failure exit code,
6834           so that the parent can then re-scan the plugins itself and update the
6835           registry structures in memory and work with that (rather than failing
6836           when creating elements because seemingly no plugins are available).
6837           Refactor registry scanning code into separate function for this and
6838           also separate fork() and non-fork() code paths. Fixes #344748.
6839
6840 2006-06-13  Wim Taymans  <wim@fluendo.com>
6841
6842         * docs/manual/advanced-dataaccess.xml:
6843         Fix wrong PluginDesc. Fixes #344755.
6844
6845 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
6846
6847         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6848           Fix silly bug that prevented us from creating
6849           ~/.gstreamer-0.10 and writing the registry in one
6850           go (the first call to g_mkstemp() would overwrite the
6851           placeholder in the template string, so the second call
6852           to g_mkstemp() after creating the missing directory
6853           would then error out with 'invalid argument').
6854
6855 2006-06-13  Edward Hervey  <edward@fluendo.com>
6856
6857         * gst/gst.c: (init_post):
6858         Free string.
6859
6860 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6861
6862         * gst/glib-compat-private.h:
6863         * gst/glib-compat.c:
6864         * gst/glib-compat.h:
6865         * gst/gstvalue.c: (gst_value_serialize_flags):
6866           remove GLib 2.6 compatibility code
6867
6868 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
6869
6870         * gst/parse/Makefile.am:
6871           Fix build with 'make -j N' even more (#340016).
6872
6873 2006-06-12  Wim Taymans  <wim@fluendo.com>
6874
6875         * docs/gst/gstreamer-sections.txt:
6876         Fix docs.
6877
6878 2006-06-12  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstsegment.c: (gst_segment_set_duration),
6881         (gst_segment_set_last_stop), (gst_segment_set_seek),
6882         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6883         (gst_segment_to_running_time), (gst_segment_clip):
6884         Use G_UNLIKELY to help the compiler a bit.
6885
6886 2006-06-12  Wim Taymans  <wim@fluendo.com>
6887
6888         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6889
6890         * gst/gstevent.c: (gst_event_get_type):
6891         * gst/gstmessage.c:
6892         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6893         (gst_pad_push):
6894         constify quark registration strings. Fixes #344115
6895         Avoid unneeded type checking is _pad_push() by internally
6896         calling gst_pad_chain_unchecked().
6897
6898 2006-06-12  Wim Taymans  <wim@fluendo.com>
6899
6900         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
6901         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
6902         (gst_subbuffer_finalize), (gst_buffer_create_sub),
6903         (gst_buffer_is_span_fast), (gst_buffer_span):
6904         Init _type for consistency.
6905         Use _FLAGS macro to avoid type check.
6906         Avoid unneeded type checks in subbufer code.
6907
6908 2006-06-12  Wim Taymans  <wim@fluendo.com>
6909
6910         * gst/gst.c: (gst_debug_help):
6911         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
6912         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6913         (gst_plugin_feature_list_free):
6914         * gst/gstregistry.c: (gst_registry_add_plugin),
6915         (gst_registry_add_feature), (gst_registry_plugin_filter),
6916         (gst_registry_feature_filter), (gst_registry_find_plugin),
6917         (gst_registry_find_feature), (gst_registry_get_plugin_list),
6918         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
6919         * gst/gstregistryxml.c: (load_feature),
6920         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
6921         * gst/gstminiobject.c: (gst_mini_object_unref),
6922         (gst_mini_object_replace), (gst_value_mini_object_free),
6923         (gst_value_mini_object_copy):
6924         Use _CAST macros to avoid unneeded type checking.
6925         Added some more G_UNLIKELY.
6926
6927 2006-06-12  Wim Taymans  <wim@fluendo.com>
6928
6929         * gst/gstbuffer.h:
6930         Avoid unneeded type checking.
6931         API: GST_BUFFER_IS_DISCONT
6932
6933         * gst/gstminiobject.h:
6934         Avoid type check in flag accessor.
6935
6936         * gst/gstelementfactory.h:
6937         * gst/gstplugin.h:
6938         * gst/gstpluginfeature.h:
6939         Add _CAST macros.
6940         API: GST_ELEMENT_FACTORY_CAST
6941         API: GST_PLUGIN_CAST
6942         API: GST_PLUGIN_FEATURE_CAST
6943
6944 2006-06-12  Wim Taymans  <wim@fluendo.com>
6945
6946         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
6947         (gst_object_unref):
6948         Add G_UNLIKELY in type registration.
6949         Avoid type check in _ref/_unref since that is also
6950         done in glib.
6951
6952 2006-06-12  Wim Taymans  <wim@fluendo.com>
6953
6954         * gst/gsterror.c: (gst_g_error_get_type):
6955         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6956         (gst_static_pad_template_get_type):
6957         * gst/gsttaglist.c: (gst_tag_list_get_type):
6958         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
6959         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
6960         * gst/gsturi.c: (gst_uri_handler_get_type):
6961         * gst/gstvalue.c: (gst_date_get_type):
6962         * gst/gstxml.c: (gst_xml_get_type):
6963         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
6964         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6965         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
6966         Add G_UNLIKELY in type registration.
6967
6968 2006-06-12  Wim Taymans  <wim@fluendo.com>
6969
6970         * tools/gst-inspect.c: (print_signal_info):
6971         Properly print enum values.
6972
6973 2006-06-12  Wim Taymans  <wim@fluendo.com>
6974
6975         * gst/gstinfo.c: (gst_debug_set_active),
6976         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
6977         * gst/gstinfo.h:
6978         Add some G_[UN]LIKELY.
6979         Maintain __gst_debug_min to avoid formatting the arguments of
6980         debug messages that will be dropped anyway to avoid a lot of 
6981         overhead from the debugging system.
6982
6983 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
6984
6985         * po/POTFILES.in:
6986         * po/POTFILES.skip:
6987           add missing files containing translatable strings, tell intltool about
6988           one exception
6989
6990 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
6991
6992         * tests/check/libs/.cvsignore:
6993         add test-binary to ignore list
6994
6995 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
6996
6997         * docs/libs/gstreamer-libs-docs.sgml:
6998         reorder (put dp into a chapter) and indent
6999
7000 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7001
7002         * configure.ac:
7003           back to HEAD
7004
7005 === release 0.10.8 ===
7006
7007 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
7008
7009         * configure.ac:
7010           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7011
7012 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7013
7014         * gst/gst.c: (init_post):
7015           move pid declaration to declaration block
7016
7017 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7018
7019         * gst/gst.c: (init_post):
7020           use _exit() instead of exit() in our forked child; this ensures
7021           that none of the registered exit handlers from whatever is using
7022           GStreamer get executed.  This fixes gnome-mixer-applet failing
7023           to load, because ORBit would shut down.
7024           Spotted by: Edward Hervey  <edward@fluendo.com>
7025           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
7026           Fixes #344474
7027
7028 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7029
7030         * configure.ac:
7031           back to TRUNK
7032
7033 === release 0.10.7 ===
7034
7035 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
7036
7037         * configure.ac:
7038           releasing 0.10.7, "Soepeke, ik zie ou"
7039
7040 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7041
7042         * configure.ac:
7043         * po/af.po:
7044         * po/az.po:
7045         * po/bg.po:
7046         * po/ca.po:
7047         * po/cs.po:
7048         * po/de.po:
7049         * po/en_GB.po:
7050         * po/fr.po:
7051         * po/it.po:
7052         * po/nb.po:
7053         * po/nl.po:
7054         * po/ru.po:
7055         * po/sq.po:
7056         * po/sr.po:
7057         * po/sv.po:
7058         * po/tr.po:
7059         * po/uk.po:
7060         * po/vi.po:
7061         * po/zh_CN.po:
7062         * po/zh_TW.po:
7063         * win32/common/config.h:
7064           0.10.6.2 prerelease
7065
7066 2006-06-07  Wim Taymans  <wim@fluendo.com>
7067
7068         * gst/gstindex.c: (gst_index_gtype_resolver):
7069         * tools/gst-xmlinspect.c: (print_plugin_info):
7070         Fix leak spotted by coverity checker. Fixes #343827
7071         Fix another other leak found by paolo borelli.
7072
7073 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7074
7075         * libs/gst/dataprotocol/dataprotocol.c:
7076         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7077         (gst_dp_version_get_type), (gst_dp_init),
7078         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7079         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7080         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7081         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7082         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7083         (gst_dp_packetizer_free):
7084         * libs/gst/dataprotocol/dataprotocol.h:
7085           API: add a GstDPPacketizer object, and create/free functions
7086           API: add GstDPVersion enum
7087           Add 1.0 event function that uses the string serialization
7088           Serialize more useful buffer flags
7089           Fixes #343988
7090
7091 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7092
7093         * tests/check/Makefile.am:
7094         * tests/check/gst/gstabi.c:
7095         * tests/check/gst/struct_ppc64.h:
7096         * tests/check/libs/libsabi.c:
7097         * tests/check/libs/struct_ppc64.h:
7098           add ppc64 structure sizes
7099
7100 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7101
7102         * tests/check/Makefile.am:
7103         * tests/check/gst/gstabi.c:
7104         * tests/check/gst/struct_x86_64.h:
7105         * tests/check/libs/libsabi.c:
7106         * tests/check/libs/struct_x86_64.h:
7107           generate and add structure size lists for x86_64
7108
7109 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7110
7111         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7112         * libs/gst/check/gstcheck.h:
7113           factor out the method from tests that checks size of structures,
7114           and add code to generate the header containing these sizes
7115         * tests/check/gst/gstabi.c: (GST_START_TEST):
7116         * tests/check/gst/struct_i386.h:
7117         * tests/check/libs/libsabi.c: (GST_START_TEST):
7118         * tests/check/libs/struct_i386.h:
7119           use it
7120
7121 2006-06-06  Michael Smith  <msmith@fluendo.com>
7122
7123         * gst/gstsegment.h:
7124           Don't use c++-style comments, fixes #343929
7125
7126 2006-06-05  Edward Hervey  <edward@fluendo.com>
7127
7128         * gst/gst.c:
7129         plugin_paths is not used if we build without registry support.
7130
7131         * gst/gstsegment.c: (gst_segment_copy): 
7132         _copy() was always returning NULL...
7133
7134 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7135
7136         * libs/gst/dataprotocol/dataprotocol.c:
7137         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7138         (gst_dp_packet_from_event):
7139           factor out CRC code
7140
7141 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7142
7143         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7144           make sure we unset caps
7145
7146 2006-06-02  Michael Smith  <msmith@fluendo.com>
7147
7148         * libs/gst/check/gstcheck.c: (gst_check_init),
7149         (gst_check_chain_func):
7150         * libs/gst/check/gstcheck.h:
7151           Add a cond/mutex to the check support lib, signal this whenever we
7152           add to the buffers list. This will allow tests to not busy-wait on
7153           the buffer-list.
7154
7155 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7156
7157         * libs/gst/dataprotocol/dataprotocol.c:
7158         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7159         (gst_dp_packet_from_event):
7160           factor out some common header init code
7161
7162 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7163
7164         * docs/libs/gstreamer-libs-sections.txt:
7165         * docs/libs/tmpl/gstdataprotocol.sgml:
7166         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7167         * libs/gst/dataprotocol/dataprotocol.h:
7168           API: make gst_dp_crc() public
7169
7170 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7171
7172         * plugins/indexers/gstindexers.c: (plugin_init):
7173         conditionally register fileindexer (fixes #343598)
7174
7175 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
7176
7177         * gst/gsttagsetter.h:
7178         Can't cast ifaces to a class
7179
7180         * libs/gst/net/gstnetclientclock.h:
7181         * libs/gst/net/gstnettimeprovider.h:
7182         * plugins/elements/gstfakesink.h:
7183         * plugins/elements/gstfakesrc.h:
7184         * plugins/elements/gstfdsink.h:
7185         * plugins/elements/gstfdsrc.h:
7186         * plugins/elements/gstfilesink.h:
7187         * plugins/elements/gstfilesrc.h:
7188         * plugins/elements/gstidentity.h:
7189         * plugins/elements/gstqueue.h:
7190         * plugins/elements/gsttee.h:
7191         * plugins/indexers/gstfileindex.c:
7192         * plugins/indexers/gstmemindex.c:
7193         * tests/old/examples/plugins/example.h:
7194         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7195
7196 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7197
7198         * libs/gst/dataprotocol/dataprotocol.c:
7199         (gst_dp_header_from_buffer):
7200           make sure we zero the whole ABI-compatible area
7201
7202 2006-06-01  Wim Taymans  <wim@fluendo.com>
7203
7204         Patch by: Alessandro Decina <alessandro at nnva dot org>
7205
7206         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7207         Make sure the EOS flag is cleared from pads after a flush
7208         or stop. Fixes #343538.
7209
7210         * tests/check/libs/collectpads.c: (GST_START_TEST),
7211         (gst_collect_pads_suite):
7212         Added test for collectpads reusage after EOS.
7213
7214 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
7215
7216         * gst/gst.c:
7217          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7218         * win32/common/libgstbase.def:
7219          export gst_collect_pads_set_flushing
7220         * win32/common/libgstreamer.def:
7221          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7222          gst_value_fraction_multiply
7223         * win32/vs6/gst_inspect.dsp:
7224          add a link to intl.lib
7225
7226 2006-05-30  Wim Taymans  <wim@fluendo.com>
7227
7228         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7229         (gst_collect_pads_chain):
7230         Handle the case where a pad is removed from the collection
7231         that could cause the other pads to become collectable.
7232
7233 2006-05-30  Wim Taymans  <wim@fluendo.com>
7234
7235         * gst/gstelement.c:
7236         Clarify the use of _release_request_pad() and
7237         _get_request_pad() a bit better.
7238
7239         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7240         (gst_adapter_take_buffer):
7241         Fix some doc and comment typos.
7242
7243 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7244
7245         * docs/gst/gstreamer-sections.txt:
7246         * docs/libs/gstreamer-libs-sections.txt:
7247           add declared symbols
7248
7249 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
7250
7251         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7252         Add debug that can be enabled using a #define at the top of the file,
7253         for dumping stats about how late/early we were when waking up from
7254         waiting on the clock.
7255
7256 2006-05-30  Wim Taymans  <wim@fluendo.com>
7257
7258         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7259         When rebuilding the pad list, don't leak the previous list.
7260
7261 2006-05-30  Wim Taymans  <wim@fluendo.com>
7262
7263         Patch by: Lutz Mueller <lutz at topfrose dot de>
7264
7265         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7266         (gst_base_src_get_query_types), (gst_base_src_update_length):
7267         Publish supported query types.
7268         Update last_stop field in get_range mode so the position
7269         query works. Fixes #342321.
7270
7271 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * docs/gst/gstreamer-sections.txt:
7274         * gst/gsttaglist.c: (_gst_tag_initialize):
7275         * gst/gsttaglist.h:
7276           API: add GST_TAG_PREVIEW_IMAGE (#343341).
7277
7278 2006-05-30  Wim Taymans  <wim@fluendo.com>
7279
7280         Patch by: Alessandro Decina <alessandro at nnva dot org>
7281
7282         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7283         Unlock mutex when removing an unknown pad.
7284         Fixes #343334.
7285
7286         * tests/check/Makefile.am:
7287         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7288         (push_event), (setup), (teardown), (GST_START_TEST),
7289         (gst_collect_pads_suite), (main):
7290         Added collecpads check, disabled for now as check crashes for
7291         some reason.
7292
7293 2006-05-29  Wim Taymans  <wim@fluendo.com>
7294
7295         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7296         Don't leak pads lists.
7297
7298 2006-05-29  Wim Taymans  <wim@fluendo.com>
7299
7300         * docs/libs/gstreamer-libs-sections.txt:
7301         * libs/gst/base/gstcollectpads.c:
7302         (gst_collect_pads_set_flushing_unlocked),
7303         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7304         (gst_collect_pads_stop):
7305         * libs/gst/base/gstcollectpads.h:
7306         API: gst_collect_pads_set_flushing()
7307         Added api to set the pads to flushing, useful for seeking
7308         code in elements using collectpads.
7309         Clear segment when receiving a flush.
7310
7311 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
7312
7313         * gst/gst.c: (add_path_func), (init_post):
7314           Don't scan registry paths passed via --gst-plugin-path immediately
7315           (will crash, because absolutely nothing is set up and no types are
7316           registered etc.); do this later in init_post(). Fixes #343057.
7317
7318 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7319
7320         * gst/gst.c: (init_post):
7321           if we have fork, fork while reading/rebuilding the registry
7322           so the parent doesn't take the hit of having all plugins loaded
7323           in memory.  Fixes #342777.
7324         * configure.ac:
7325           Check if we have fork()
7326         * win32/common/config.h.in:
7327           no fork() on win32
7328
7329 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7330
7331         * plugins/elements/gstelements.c:
7332         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7333         (gst_file_src_init), (gst_file_src_set_property),
7334         (gst_file_src_get_property), (gst_file_src_start):
7335         * plugins/elements/gstfilesrc.h:
7336           API: GstFileSrc::use-mmap
7337
7338         Add a use-mmap property to enable easier testing of all code paths.
7339         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7340         in the absence of gnomevfssrc. (Closes #340501)
7341
7342 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7343
7344         * tools/gst-inspect.c:
7345         Add missing include, removes warning of ngettext not being defined on
7346         some arches.
7347
7348 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
7349
7350         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7351         Handle NULL input and output pointers silently as a failed conversion,
7352         rather than g_warnings.
7353
7354 2006-05-25  Wim Taymans  <wim@fluendo.com>
7355
7356         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7357         Initialize variable before using. Fixes #342820.
7358
7359 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7360
7361         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7362           Fix off-by-one bug that would only allow peeks of N-1 bytes
7363           from the start even if the buffer to typefind on contains
7364           in fact N bytes of data (makes vorbis typefinding from a
7365           vorbis identification header buffer work).
7366
7367         * tests/check/Makefile.am:
7368         * tests/check/libs/.cvsignore:
7369         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7370         (gst_typefindhelper_suite), (main), (foobar_typefind),
7371         (plugin_init):
7372           Add very basic unit test for gst_type_find_helper_for_buffer()
7373           that checks for the problem fixed above.
7374
7375 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7376
7377         * tools/gst-inspect.c: (print_interfaces),
7378         (print_element_properties_info), (print_element_list), (main):
7379           add more translatable strings
7380
7381 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
7382
7383         Patch by: Julien Moutte  <julien at moutte net>
7384
7385         * docs/gst/gstreamer-sections.txt:
7386           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7387           
7388         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7389         (gst_fake_sink_preroll):
7390         * plugins/elements/gstfakesink.h:
7391           API: Add new GstFakeSink::preroll-handoff signal (#337100).
7392
7393 2006-05-23  Wim Taymans  <wim@fluendo.com>
7394
7395         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7396         * gst/gstpad.h:
7397         Added _CUSTOM error and success GstFlowReturn that can be
7398         used be elements internally. 
7399         Added macro to check for SUCCESS flowreturns.
7400         API: GST_FLOW_CUSTOM_SUCCESS
7401         API: GST_FLOW_CUSTOM_ERROR
7402         API: GST_FLOW_IS_SUCCESS
7403
7404         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7405         Added check for GstFlowReturn sanity.
7406
7407 2006-05-23  Wim Taymans  <wim@fluendo.com>
7408
7409         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7410
7411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7412         (gst_collect_pads_event):
7413         clear/reset segment info in FLUSH_STOP.
7414         Fixes #336929.
7415
7416 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
7417
7418         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7419         (gst_collect_pads_check_collected):
7420         Flush queued buffer on _stop(), fixes playing again (#342454)
7421
7422 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7423
7424         * tests/check/gst/gststructure.c: (GST_START_TEST),
7425         (gst_structure_suite):
7426           add a test for a complete structure
7427
7428 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7429
7430         * docs/faq/developing.xml:
7431         * docs/faq/faq.xml:
7432         * docs/faq/troubleshooting.xml:
7433         * docs/faq/using.xml:
7434           Some minor FAQ updates that won't change the fact that
7435           our FAQ is badly structured, full of information hardly
7436           anyone new to GStreamer needs to know and lacking lots
7437           of information people constantly ask for.
7438           
7439 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
7440
7441         * gst/gstpad.c: (gst_pad_set_caps):
7442           Short-circuit gst_pad_set_caps if setting the existing
7443           caps pointer again, and avoid printing debug and 
7444           reffing/unreffing the caps.
7445
7446         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7447           There's actually no need to set the caps before pushing -
7448           the acceptcaps method will handle it anyway.
7449
7450 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7451
7452         * docs/gst/gstreamer-sections.txt:
7453         * win32/common/libgstreamer.def:
7454         * gst/gstutils.c: (gst_element_seek_simple):
7455         * gst/gstutils.h:
7456           API: add gst_element_seek_simple() (#342238).
7457
7458 2006-05-18  Edward Hervey  <edward@fluendo.com>
7459
7460         * gst/gsttypefind.c: (gst_type_find_get_type):
7461         * gst/gsttypefind.h:
7462         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7463         registered for GstTypeFind pointers. This allows wrapping the structure
7464         in bindings (i.e. gst-python).
7465
7466 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         * gst/gsttagsetter.c:
7469           Docs additions and fixes (see #339918).
7470
7471 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
7472
7473         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7474         The caps intersection algorithm can produce multiple copies of the
7475         caps. Until that is fixed, we need to simplify the result to be
7476         sure whether the allowed caps are fixed or not.
7477
7478         * plugins/elements/gstqueue.c: (gst_queue_init),
7479         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7480         (gst_queue_push_one):
7481         Proxied buffer alloc should not set the caps on the source pad.
7482         When pushing buffers, we always accept the caps change that triggers.
7483         This prevents negotiation errors caused by caps changing mid-stream 
7484         and then being refused on our source pad (because upstream is now
7485         refusing those caps).
7486
7487 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
7488
7489         * tests/examples/helloworld/helloworld.c: (main):
7490           Must plug audioconvert and audioresample between decoder
7491           and audio sink.
7492
7493 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * gst/gstregistryxml.c: (read_string), (load_pad_template),
7496         (load_feature), (load_plugin):
7497         Allow empty strings for some of the plugin fields so we don't 
7498         drop valid plugin entries that were written out correctly
7499         (Fixes #341479)
7500
7501 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
7502         
7503         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7504           Use g_remove and g_rename instead of remove and rename that don't 
7505           handle utf8 characters. rename was failing for users who had specific
7506           characters in their name then the registry was built at each 
7507           gstreamer init.
7508         * win32/vs6/gst_inspect.dsp:
7509         * win32/vs6/gst_launch.dsp:
7510         * win32/vs6/libgstbase.dsp:
7511         * win32/vs6/libgstcoreelements.dsp:
7512         * win32/vs6/libgstreamer.dsp:
7513           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
7514           build of libgstreamer and clean unused libraries in projects link 
7515           settings.
7516
7517 2006-05-17  Edward Hervey  <edward@fluendo.com>
7518
7519         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7520         The queue is not responsible for pushing an EOS when receiving a fatal
7521         flow error. It's up to the real element driving the pipeline to do that.
7522
7523 2006-05-16  Edward Hervey  <edward@fluendo.com>
7524
7525         * plugins/elements/gstqueue.c: (gst_queue_push_one):
7526         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7527         buffer returned a fatal error. It should just send an EOS and stop
7528         its task.
7529         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7530         when pushing buffers on the queue and will be able to handle the event.
7531
7532 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7533
7534         * docs/manual/basics-bins.xml:
7535         * docs/manual/basics-init.xml:
7536           Fix typos and minor errors in sample code (#341856).
7537
7538 2006-05-16  Wim Taymans  <wim@fluendo.com>
7539
7540         * docs/design/part-qos.txt:
7541         Fix indexes in formulas to make more sense.
7542
7543 2006-05-15  Wim Taymans  <wim@fluendo.com>
7544
7545         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7546         Don't report POSITION based on clock time if sync is
7547         disabled in a sink.
7548
7549 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
7550
7551         * gst/gstobject.h:
7552           Add cast to make compiler happy - refcount variable was a gint
7553           in GstObject but is a guint in GObject and g_atomic_int_get()
7554           wants a gint *.
7555
7556 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7557
7558         * gst/parse/Makefile.am:
7559           chain commands using &&, which also makes parallel make work
7560
7561 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
7562
7563         * docs/gst/gstreamer-sections.txt:
7564         * gst/gstevent.c:
7565         * gst/gstevent.h:
7566         * gst/gstmessage.h:
7567           Minor docs fixes.
7568
7569 === release 0.10.6 ===
7570
7571 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
7572
7573         * configure.ac:
7574           releasing 0.10.6, "Take the cannoli"
7575
7576 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
7577
7578         * tools/gst-launch.c: (print_tag):
7579           Fix use of uninitialized variable in the hypothetical
7580           case that some broken plugin creates a GST_TAG_IMAGE
7581           tag containing a NULL buffer (#341667).
7582
7583 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
7584
7585         * tools/gst-launch.c: (print_tag):
7586           Print something more intelligible for image tags when
7587           using the -t switch (#341556).
7588
7589 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7590
7591         * Makefile.am:
7592           updates for win32
7593         * configure.ac:
7594           define GST_MAJORMINOR so we have it available in win32/common/config.h
7595           Possibly remove it from our Makefile.am files later
7596         * win32/common/config.h:
7597         * win32/common/config.h.in:
7598           added GST_MAJORMINOR
7599         * win32/common/gstenumtypes.c: (register_gst_resource_error):
7600         * win32/common/gstversion.h:
7601           updated
7602
7603 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
7604
7605         * win32/MANIFEST:
7606           Update win32 files listing.
7607         * win32/common/gstversion.h:
7608           Add GST_MAJORMINOR definition.
7609         * win32/common/libgstreamer.def:
7610           Add new exported functions.
7611           
7612 2006-05-12  Michael Smith  <msmith@fluendo.com>
7613
7614         * gst/gstplugin.c: (gst_plugin_load_file):
7615           If an so file has no plugin entry point, unload the module.
7616
7617 2006-05-11  Wim Taymans  <wim@fluendo.com>
7618
7619         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7620         (gst_queue_set_property):
7621         Don't forget to signal the _chain or _loop function 
7622         when the queue size or thresholds change since that might
7623         cause them to make progres again.
7624
7625 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
7626
7627         * gst/gstclock.c: (gst_clock_class_init):
7628         * gst/gstindex.c: (gst_index_class_init):
7629         * gst/gstobject.c: (gst_object_class_init):
7630         * gst/gstpad.c: (gst_pad_class_init):
7631         * gst/gstpipeline.c: (gst_pipeline_class_init):
7632         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7633         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7634         * libs/gst/base/gstbasetransform.c:
7635         (gst_base_transform_class_init):
7636         * libs/gst/net/gstnetclientclock.c:
7637         (gst_net_client_clock_class_init):
7638         * libs/gst/net/gstnettimeprovider.c:
7639         (gst_net_time_provider_class_init):
7640         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7641         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7642         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7643         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7644         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7645         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7646         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7647         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7648         * plugins/elements/gsttee.c: (gst_tee_class_init):
7649         * tests/old/examples/plugins/example.c: (gst_example_class_init):
7650         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7651           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7652
7653 2006-05-11  Wim Taymans  <wim@fluendo.com>
7654
7655         * gst/gstbuffer.c: (_gst_buffer_initialize):
7656         Register subbufer along with the buffer type so that
7657         it does not accidentally gets registered from N
7658         different streaming threads in a non threadsafe way.
7659
7660 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7661
7662         * gst/gstbuffer.h:
7663         * gst/gstevent.h:
7664         * gst/gstmessage.h:
7665           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7666           gst_event_ref() and gst_message_ref() functions again
7667           (ugly hack, please do fix if there's a better way besides
7668           overrides.txt, which doesn't seem to work).
7669
7670 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7671
7672         * libs/gst/check/gstcheck.h:
7673           add an assert for setting state to avoid lots of repetitive code
7674           in the future
7675
7676 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7677
7678         * gst/gstvalue.c: (gst_value_serialize_flags):
7679           fix a leak if no flags are set
7680         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7681           fix leak in tests
7682
7683 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
7684
7685         * docs/manual/basics-pads.xml:
7686           Expand a bit on caps and filtered links and update
7687           examples that were still using the no longer existing
7688           gst_pad_link_filtered() (#338206).
7689
7690 2006-05-10  Wim Taymans  <wim@fluendo.com>
7691
7692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7693         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7694         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7695         (gst_collect_pads_stop):
7696         * libs/gst/base/gstcollectpads.h:
7697         No need to call _stop in _finalize.
7698         Iterate the main pad list in _finalize.
7699         Added some more debug.
7700         Free lists and data in the right order.
7701         Also free data whem doing _remove_pad when stopped for
7702         backward compatibility protect ::started with PAD_LOCK as
7703         well.
7704
7705 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7706
7707         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7708         (gst_structure_parse_value):
7709           add some comments
7710           rename a method so that it actually says what it does better
7711
7712 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7713
7714         * gst/gstevent.c: (_gst_event_initialize):
7715         * gst/gstformat.c: (_gst_format_initialize):
7716           make sure some essential types used by events are registered
7717           as part of gst_init()
7718         * gst/gstvalue.c: (gst_value_serialize_flags):
7719           if no flags are set, serialize them to a value that represents NONE
7720           so that deserializing them works
7721         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7722           add tests for serialization and deserialization of flags
7723
7724 2006-05-10  Wim Taymans  <wim@fluendo.com>
7725
7726         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7727         (gst_collect_pads_collect_range), (gst_collect_pads_available),
7728         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7729         (gst_collect_pads_event), (gst_collect_pads_chain):
7730         Update docs.
7731         Better debug info.
7732         Catch and return errors from the collect function
7733         Refuse data on eos pads.
7734
7735 2006-05-10  Edward Hervey  <edward@fluendo.com>
7736
7737         * gst/gstinterface.h:
7738         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7739         GInterface type checking.
7740         They were previously using non-defined macros.
7741
7742 2006-05-09  Wim Taymans  <wim@fluendo.com>
7743
7744         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7745         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7746         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7747         (gst_collect_pads_start), (gst_collect_pads_stop),
7748         (gst_collect_pads_peek), (gst_collect_pads_pop),
7749         (gst_collect_pads_available), (gst_collect_pads_read),
7750         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7751         (gst_collect_pads_is_collected), (gst_collect_pads_event),
7752         (gst_collect_pads_chain):
7753         * libs/gst/base/gstcollectpads.h:
7754         Clean up the mess that is collectpads, add comments and
7755         FIXMEs where needed.
7756         Maintain a separate pad list so we can add pads while
7757         collecting the other ones. For this we need a new separate 
7758         lock (see comics).
7759         Fix memory leak in finalize.
7760         Refactor some weird code to set/unset pad flushing flags, mark
7761         with comments.
7762         Don't crash in _available, _read, _flush when we're EOS.
7763
7764         * tests/check/libs/.cvsignore:
7765         Ignore adapter check binary.
7766
7767 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7768
7769         * gst/gstindex.c: (gst_index_resolver_get_type):
7770         * plugins/elements/gstfakesink.c:
7771         (gst_fake_sink_state_error_get_type):
7772         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7773         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7774         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7775           Const-ify GEnumValue arrays.
7776
7777 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7778
7779         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7780           Add test case for flags + gst_buffer_make_metadata_writable().
7781
7782 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7783
7784         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7785           gst_buffer_make_metadata_writable() should maintain the
7786           buffer flags (those that make sense at least) (see #340859).
7787
7788 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7789
7790         * tools/gst-inspect.c:
7791         * tools/gst-launch.c:
7792         * tools/gst-typefind.c:
7793         * tools/gst-xmlinspect.c:
7794         * tools/tools.h:
7795           Fix up includes: need to include stdlib.h in tools.h for exit().
7796
7797 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7798
7799         * gst/gsttaglist.c: (_gst_tag_initialize):
7800         * gst/gsttaglist.h:
7801           API: add GST_TAG_IMAGE tag (#340721).
7802
7803 2006-05-08  Wim Taymans  <wim@fluendo.com>
7804
7805         * gst/gstquery.c:
7806         Added some docs for the segment query.
7807
7808 2006-05-08  Wim Taymans  <wim@fluendo.com>
7809
7810         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7811         (gst_base_src_loop), (gst_base_src_change_state):
7812         Always push non-flushing serialized events in the streaming 
7813         thread.
7814
7815 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7816
7817         * gst/gsterror.c: (_gst_stream_errors_init):
7818           Add a missing error string.
7819
7820 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
7821
7822         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7823         Add applied_rate to the debug
7824
7825         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7826         Copy applied_rate into the outgoing NEWSEGMENT event
7827
7828 2006-05-08  Wim Taymans  <wim@fluendo.com>
7829
7830         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7831
7832         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7833         (gst_base_sink_change_state):
7834         call ::unlock before taking the PREROLL_LOCK so we can safely
7835         handle elements that lock in ::render.
7836         Fixes #340174.
7837
7838 2006-05-08  Edward Hervey  <edward@fluendo.com>
7839
7840         * autogen.sh: (CONFIGURE_DEF_OPT): 
7841         Darwin's libtoolize is in fact called glibtoolize.
7842         Adding glibtoolize to the list of accepted names for libtoolize.
7843
7844 2006-05-08  Wim Taymans  <wim@fluendo.com>
7845
7846         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7847         Unify error handling, don't post an error message
7848         when a push() returns EOS but perform our normal EOS
7849         handling code. Fixes #340772.
7850
7851 2006-05-08  Wim Taymans  <wim@fluendo.com>
7852
7853         * docs/design/part-overview.txt:
7854         Make upsteam/downstream concepts more clear.
7855         Give an example of serialized/non-serialized events.
7856
7857         * docs/design/part-events.txt:
7858         * docs/design/part-streams.txt:
7859         Mention applied_rate.
7860
7861         * docs/design/part-trickmodes.txt:
7862         Mention applied rate, flesh out some more use cases.
7863
7864         * gst/gstevent.c: (gst_event_new_new_segment),
7865         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
7866         (gst_event_parse_new_segment_full), (gst_event_new_tag),
7867         (gst_event_parse_tag), (gst_event_new_buffer_size),
7868         (gst_event_parse_buffer_size), (gst_event_new_qos),
7869         (gst_event_parse_qos), (gst_event_parse_seek),
7870         (gst_event_new_navigation):
7871         * gst/gstevent.h:
7872         Add applied_rate field to NEWSEGMENT event.
7873         API: gst_event_new_new_segment_full()
7874         API: gst_event_parse_new_segment_full()
7875
7876         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
7877         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
7878         (gst_segment_to_stream_time), (gst_segment_to_running_time):
7879         * gst/gstsegment.h:
7880         Add applied_rate to GstSegment structure.
7881         Make calculation of stream_time and running_time more correct
7882         wrt rate/applied_rate.
7883         Add some more docs.
7884         API: GstSegment::applied_rate field
7885         API: gst_segment_set_newsegment_full();
7886
7887         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7888         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
7889         * libs/gst/base/gstbasetransform.c:
7890         (gst_base_transform_sink_eventfunc),
7891         (gst_base_transform_handle_buffer):
7892         Parse and use applied_rate in the GstSegment field.
7893
7894         * tests/check/gst/gstevent.c: (GST_START_TEST):
7895         Add check for applied_rate field.
7896
7897         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7898         (gstsegments_suite):
7899         Add more checks for various GstSegment operations.
7900
7901 2006-05-08  Wim Taymans  <wim@fluendo.com>
7902
7903         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7904         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
7905         (gst_base_sink_get_position), (gst_base_sink_change_state):
7906         Store the sync time of the buffer end position separatly in a
7907         new variable eos_rtime so we can properly sync the EOS event.
7908         Fixes #340697.
7909         Fix the docs for gst_base_sink_set_qos_enabled().
7910         Don't set segment start to invalid value when we receive a 
7911         non TIME newsegment.
7912         get closer to handling position reporting for negative rates 
7913         correctly.
7914
7915 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
7916
7917         * gst/gstcaps.c:
7918         Docs about how to print caps for debug purposes.
7919
7920         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
7921         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
7922
7923 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
7924
7925         * gst/gstelement.c:
7926           use full enum names and preprend a '%' in docs strings to make recent 
7927           gtk-doc turn that into a link
7928
7929 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
7930
7931         * docs/manual/basics-bins.xml:
7932         * docs/manual/basics-bus.xml:
7933         * docs/manual/basics-pads.xml:
7934           Some typo fixes, some additions, some clarifications. 
7935
7936 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
7937
7938         * tools/gst-inspect.c: (main):
7939         * tools/gst-launch.c: (main):
7940         * tools/gst-run.c: (main):
7941         * tools/gst-typefind.c: (main):
7942         * tools/gst-xmlinspect.c: (main):
7943           Use the string passed to g_option_context_new() for
7944           what it's intended for - the program name is already
7945           printed elsewhere.
7946
7947 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
7948
7949         * tools/Makefile.am:
7950         * tools/gst-inspect.c: (main):
7951         * tools/gst-launch.c: (main):
7952         * tools/gst-xmlinspect.c: (main):
7953         * tools/tools.h:
7954           Add back --version command line option (#340460).
7955
7956         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
7957           Add --version option and use GOption for argument parsing; refactor a
7958           bit; accept directories as arguments and recurse into them; lastly,
7959           print a decent error message when things go wrong.
7960
7961 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
7962
7963         * docs/manual/basics-bins.xml:
7964         Don't mention GstThread (#340611)
7965         * docs/manual/basics-elements.xml:
7966         Update link to GObject tutorial (#340607)
7967         
7968 2006-05-05  Wim Taymans  <wim@fluendo.com>
7969
7970         * gst/gstbuffer.h:
7971         * gst/gstminiobject.c:
7972         Add note about refcounting and miniobject/buffer writeability
7973         to docs. Fixes #340604
7974
7975         * gst/gstelementfactory.h:
7976         Added some explanation about @klass.
7977
7978 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
7979
7980         * docs/manual/intro-motivation.xml:
7981         * docs/manual/manual.xml:
7982         Avoid CORBA & Bonobo references (#340598)
7983
7984 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
7985
7986         * docs/manual/basics-bus.xml:
7987         * docs/manual/basics-pads.xml:
7988         Fix up some inaccuracies and omissions (#340609)
7989         
7990 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
7991
7992         * gst/gstghostpad.c:
7993           Small typo in docs (#340625)
7994
7995 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
7996
7997         * gst/parse/Makefile.am:
7998           Make 'make -j' proof (see #340698).
7999
8000 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
8001
8002         * configure.ac:
8003           Require GLib-2.8 here as well.
8004
8005 2006-05-05  Wim Taymans  <wim@fluendo.com>
8006
8007         * gst/glib-compat.c:
8008         * gst/gst.c: (init_pre):
8009         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8010         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8011         (gst_object_dispatch_properties_changed):
8012         * gst/gstobject.h:
8013         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8014         * gst/gststructure.c: (gst_structure_set_valist):
8015         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8016         Remove pre glib2.8 compatibility, fixes #340508
8017
8018 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8019
8020         * gst/gsttaglist.h:
8021           Mention type of tags in doc blurbs.
8022
8023 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
8024
8025         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8026         (gst_pad_configure_src), (gst_pad_push):
8027         Restore acceptcaps checking behaviour now that good plugins have
8028         been released.
8029
8030 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8031
8032         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8033
8034         * gst/gst.c:
8035         * gst/gstbus.c:
8036         * gst/gstclock.c:
8037         * gst/gstevent.c:
8038         * gst/gstformat.c:
8039         * gst/gstmessage.c:
8040         * gst/gstparse.c:
8041         * gst/gstquery.c:
8042         * gst/gstutils.c:
8043         * gst/parse/Makefile.am:
8044         * libs/gst/base/gstadapter.c:
8045         * libs/gst/base/gstbasesrc.c:
8046         * libs/gst/base/gstpushsrc.c:
8047         * libs/gst/base/gsttypefindhelper.c:
8048         * plugins/elements/gstfakesrc.c:
8049         * plugins/elements/gstidentity.c:
8050           Make sure gstprivate.h and/or config.h are
8051           always included first, otherwise some of our
8052           defines (like _FILE_OFFSET_BITS) might be
8053           redefined in the system headers. Fixes build
8054           on opensolaris (#340016).
8055
8056 2006-05-04  Wim Taymans  <wim@fluendo.com>
8057
8058         * docs/libs/gstreamer-libs-sections.txt:
8059         API: addition: gst_adapter_take_buffer()
8060         
8061         * libs/gst/base/gstadapter.c: (gst_adapter_push),
8062         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8063         (gst_adapter_available_fast):
8064         * libs/gst/base/gstadapter.h:
8065         Prepare for optimizing the hell out of this hugely inefficient
8066         piece of code. 
8067         Added gst_adapter_take_buffer() so we can at least start thinking
8068         about subbuffering and merging.
8069         Added some comments.
8070
8071         * tests/check/Makefile.am:
8072         * tests/check/libs/adapter.c: (GST_START_TEST),
8073         (gst_adapter_suite), (main):
8074         Added GstAdapter check.
8075
8076 2006-05-04  Wim Taymans  <wim@fluendo.com>
8077
8078         * docs/design/part-overview.txt:
8079         Fix some typos, add blurb about buffer flags.
8080
8081 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8082
8083         * docs/libs/gstreamer-libs-sections.txt:
8084           make sure GstBaseTransformClass shows up in the docs
8085         * libs/gst/base/gstbasetransform.c:
8086         * libs/gst/base/gstbasetransform.h:
8087           move docs so gtk-doc picks it up now
8088
8089 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8090
8091         * docs/libs/gstreamer-libs-sections.txt:
8092           add missing symbols to docs
8093
8094 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
8095
8096         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8097           back out the newsegment handling change, see #340060 for ongoing
8098           discussion
8099
8100 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
8101
8102         * tools/gst-run.c: (get_candidates), (main):
8103           Fix wrong g_file_test() usage (see glib docs for why it doesn't
8104           work); fix typo in error message. Fixes #340079.
8105
8106 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8107
8108         * common/Makefile.am:
8109         * docs/Makefile.am:
8110         * docs/faq/Makefile.am:
8111         * docs/gst/Makefile.am:
8112         * docs/libs/Makefile.am:
8113         * docs/manual/Makefile.am:
8114         * docs/plugins/Makefile.am:
8115         * docs/pwg/Makefile.am:
8116         * docs/slides/Makefile.am:
8117         * docs/upload.mak:
8118         * common/upload.mak:
8119           move upload.mak to common
8120
8121 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8122
8123         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8124           add more asserts on refcounts
8125           do more cleanup at end of tests
8126           fix test leaks showing in FC5
8127
8128 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
8129
8130         * plugins/elements/gsttypefindelement.c:
8131         (gst_type_find_element_handle_event):
8132         reverted wrong change and reflowed code to avoid others falling into
8133         this trap
8134
8135 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8136
8137         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8138           fix changelog entry about last collectpads change,
8139           add notes about proper fix
8140
8141 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8142
8143         * gst/gst.c:
8144         * gst/gstregistry.c: (gst_registry_scan_path_level),
8145         (gst_registry_scan_path):
8146         * gst/gstregistry.h:
8147           only write out registry if it has changed, fixes #338339
8148
8149 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8150
8151         * gst/gstbin.c:
8152         * gst/gstpipeline.c:
8153         * plugins/elements/gstcapsfilter.c:
8154         * plugins/elements/gstfakesink.c:
8155         * plugins/elements/gstfakesrc.c:
8156         * plugins/elements/gstfdsink.c:
8157         * plugins/elements/gstfdsrc.c:
8158         * plugins/elements/gstfilesink.c:
8159         * plugins/elements/gstfilesrc.c:
8160         * plugins/elements/gstidentity.c:
8161         * plugins/elements/gstqueue.c:
8162         * plugins/elements/gsttee.c:
8163         * plugins/elements/gsttypefindelement.c:
8164         (gst_type_find_element_handle_event):
8165           make GstElementDetails const
8166
8167 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8168
8169         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8170         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8171         (gst_collect_pads_is_collected), (gst_collect_pads_event):
8172           more detailed debug and formatting cleanup,
8173           forward newsegments to src-pad (so that e.g. adder not eats them)
8174
8175 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8176
8177         * gst/gstutils.c: (gst_element_link_pads):
8178           cleanup double code
8179
8180 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
8181
8182         * libs/gst/controller/gstcontroller.c:
8183         (gst_controller_sync_values):
8184           some little tuning
8185         * tests/check/libs/controller.c: (GST_START_TEST),
8186         (gst_controller_suite):
8187           a new test for live value handling
8188
8189 2006-04-28  Wim Taymans  <wim@fluendo.com>
8190
8191         * gst/gstutils.c: (push_and_ref):
8192         Added some more docs.
8193         Fix refcount issue whith gst_element_found_tags() helper 
8194         function. Fixes #338335
8195
8196         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8197         Added testsuite for gst_element_found_tags().
8198
8199 2006-04-28  Michael Smith  <msmith@fluendo.com>
8200
8201         * gst/gstvalue.c: (gst_value_serialize_flags):
8202           Avoid NULL dereference when trying to serialize flags containing
8203           invalid values.
8204
8205 2006-04-28  Michael Smith  <msmith@fluendo.com>
8206
8207         * plugins/elements/gsttypefindelement.c:
8208         (gst_type_find_element_handle_event):
8209           If we get EOS before any data is accumulated, don't use
8210           uninitialised local variables.
8211
8212 2006-04-28  Michael Smith  <msmith@fluendo.com>
8213
8214         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8215         (gst_dp_event_from_packet):
8216           Fixes in reading/writing events over GDP (not currently used?) - 
8217           dereferencing NULL events for unknown/invalid event types, memory
8218           leak, and change g_warning to GST_WARNING.
8219
8220 2006-04-28  Wim Taymans  <wim@fluendo.com>
8221
8222         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8223         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8224         (gst_base_sink_get_position), (gst_base_sink_change_state):
8225         When frame dropping is enabled, we should not ignore frames
8226         without a duration.
8227         Update some documentation.
8228
8229 2006-04-28  Wim Taymans  <wim@fluendo.com>
8230
8231         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8232         (gst_base_src_send_event), (gst_base_src_change_state):
8233         Documentation updates.
8234
8235 2006-04-28  Wim Taymans  <wim@fluendo.com>
8236
8237         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8238         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8239         handle EAGAIN, EINTR and short writes correctly. Also clean
8240         up some error cases, avoid a deadlock on bad file descriptors and
8241         use GST_DEBUG_OBJECT.
8242         Fixes #339843
8243
8244 2006-04-28  Wim Taymans  <wim@fluendo.com>
8245
8246         * gst/gstvalue.c: (gst_value_serialize_buffer),
8247         (gst_value_deserialize_buffer):
8248         Don't try to serialize a GValue with a NULL buffer. 
8249         Fixes #339821.
8250
8251         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8252         Added check for serialisation of NULL buffers.
8253
8254 2006-04-28  Wim Taymans  <wim@fluendo.com>
8255
8256         * gst/gstminiobject.c: (gst_value_take_mini_object):
8257         Taking a NULL miniobject is valid, fix the case where
8258         we try to unref the NULL miniobject.
8259
8260 2006-04-28  Wim Taymans  <wim@fluendo.com>
8261
8262         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8263
8264         * gst/gstbin.c: (gst_bin_handle_message_func):
8265         Update docs.
8266         Don't leak bin refcount when a state recalc is
8267         in progress and we delay another one #339808.
8268
8269 2006-04-28  Wim Taymans  <wim@fluendo.com>
8270
8271         * docs/design/part-TODO.txt:
8272         Mention QoS as an ongoing work item.
8273
8274         * docs/design/part-buffering.txt:
8275         New doc about buffering that needs to be fleshed out
8276         at some point.
8277
8278         * docs/design/part-qos.txt:
8279         More QoS policy for decoders/demuxers/transforms
8280
8281         * docs/design/part-trickmodes.txt:
8282         Small update.
8283
8284 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8285
8286         * configure.ac:
8287           back to HEAD
8288
8289 === release 0.10.5 ===
8290
8291 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
8292
8293         * configure.ac:
8294           releasing 0.10.5, "Fogo"
8295
8296 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8297
8298         patch by: Wim Taymans
8299
8300         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8301         (gst_pad_configure_src), (gst_pad_push):
8302         * gst/gstpipeline.c: (gst_pipeline_init):
8303           Fix internal data flow errors.  Fixes #338711.
8304
8305 2006-04-12  Wim Taymans  <wim@fluendo.com>
8306
8307         * tests/check/gst/gstelement.c: (GST_START_TEST):
8308         Don't leak the factory.
8309
8310 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8311
8312         * configure.ac:
8313         * win32/common/config.h:
8314           prerelease
8315
8316 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
8317
8318         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8319         (gst_controller_unset_all):
8320           Free allocated GstTimedValues when freeing list nodes.
8321           Should fix leaks 'make check-valgrind' complains about.
8322
8323         * win32/common/libgstcontroller.def:
8324           Add gst_controller_unset_all.
8325
8326 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
8327
8328         * docs/libs/gstreamer-libs-sections.txt:
8329         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8330         (gst_controller_unset_all):
8331         * libs/gst/controller/gstcontroller.h:
8332         API: Added new method gst_controller_unset_all()
8333         fixed gst_controller_unset()
8334         * tests/check/libs/controller.c: (GST_START_TEST),
8335         (gst_controller_suite):
8336         Added two testcases for new and fixed method
8337
8338 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
8339
8340         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8341           MSG_DONTWAIT is not defined on Cygwin, so work
8342           around that (fixes #317048).
8343           
8344 2006-04-11  Wim Taymans  <wim@fluendo.com>
8345
8346         * gst/gstelementfactory.c: (gst_element_register),
8347         (gst_element_factory_create), (gst_element_factory_make):
8348         Some cleanups.
8349         Fixed a FIXME.
8350         Updated docs (Fixes #131079)
8351
8352         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8353         Small cleanups.
8354
8355         * tests/check/gst/gstelement.c: (GST_START_TEST),
8356         (gst_element_suite):
8357         Added testcase for elementfactory class field.
8358
8359 2006-04-10  Wim Taymans  <wim@fluendo.com>
8360
8361         * gst/gstsegment.c:
8362         Added some more docs.
8363
8364         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8365         (gst_base_sink_reset_qos):
8366         Calculate more accurate rate values.
8367
8368 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
8369
8370         * gst/gst_private.h:
8371           add a new #ifdef to use __declspec(dllimport) only for
8372           other modules and not for gstreamer core
8373         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8374           use gst_guint64_to_gdouble for conversion
8375         * win32/common/libgstreamer.def:
8376           add new exported functions
8377         * win32/vs6/gst_inspect.dsp:
8378         * win32/vs6/gst_launch.dsp:
8379         * win32/vs6/libgstbase.dsp:
8380         * win32/vs6/libgstcontroller.dsp:
8381         * win32/vs6/libgstcoreelements.dsp:
8382         * win32/vs6/libgstdataprotocol.dsp:
8383         * win32/vs6/libgstnet.dsp:
8384           update project files
8385
8386 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8387
8388         * gst/gstbuffer.c: (gst_subbuffer_class_init):
8389         * gst/gstclock.c: (gst_clock_class_init):
8390         * gst/gstelement.c: (gst_element_class_init):
8391         * gst/gstindex.c: (gst_index_class_init):
8392         * gst/gstindexfactory.c: (gst_index_factory_class_init):
8393         * gst/gstobject.c: (gst_object_class_init),
8394         (gst_signal_object_class_init):
8395         * gst/gstpad.c: (gst_pad_class_init):
8396         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8397         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8398         * gst/gstregistry.c: (gst_registry_class_init):
8399         * gst/gstsystemclock.c: (gst_system_clock_class_init):
8400         * gst/gsttask.c: (gst_task_class_init):
8401         * gst/gstxml.c: (gst_xml_class_init):
8402         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8403         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8404         (gst_base_src_loop):
8405         * libs/gst/controller/gstcontroller.c:/
8406         (_gst_controller_class_init):
8407         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8408         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8409         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8410         * tests/old/examples/plugins/example.c: (gst_example_class_init):
8411         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8412         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8413
8414 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * gst/gstpad.c: (gst_pad_link):
8417           Must set peer pads before calling the link function, otherwise
8418           a task started from a link function might get a flow-not-linked
8419           result when trying to push because the other thread where the
8420           linking happens hasn't had a chance to set the peers yet. This
8421           might happen for example when a queue gets linked to a downstream
8422           element, as queue starts a streaming task when its source pad
8423           gets linked. Happens in real life when playing back flac/musepack
8424           files in playbin (#332390).
8425           
8426 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
8427
8428         * gst/gstindex.h:
8429         * gst/gstxml.h:
8430         * libs/gst/base/gstadapter.h:
8431         * libs/gst/base/gstbasesink.h:
8432         * libs/gst/base/gstbasesrc.h:
8433         * libs/gst/base/gstbasetransform.h:
8434         * libs/gst/base/gstcollectpads.h:
8435         * libs/gst/base/gstpushsrc.h:
8436         Fix broken GObject macros
8437
8438 2006-04-07  Wim Taymans  <wim@fluendo.com>
8439
8440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8441         Initialize start and stop times, thanks valgrind.
8442
8443 2006-04-07  Wim Taymans  <wim@fluendo.com>
8444
8445         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8446         Be a bit nicer to badly behaving upstream elements that expect
8447         us to deal with non TIME segments and timestamps (such as fakesrc
8448         in the testsuite).
8449
8450 2006-04-07  Wim Taymans  <wim@fluendo.com>
8451
8452         * gst/gstbus.c:
8453         Small documentation clarification about the signal watch.
8454
8455         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8456         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8457         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8458         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8459         (gst_base_sink_get_position_last),
8460         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8461         Convert and store timestamps in stream time and running time, the
8462         raw timestamps are not useful, also document this better.
8463         Use different window sizes for good and bad QoS observations so
8464         we react to badness a little quicker.
8465         Keep track of the amount of rendered and dropped buffers.
8466         Send QoS timestamps in running time.
8467
8468         * libs/gst/base/gstbasetransform.c:
8469         (gst_base_transform_sink_eventfunc),
8470         (gst_base_transform_handle_buffer):
8471         Compare QoS timestamps against running time.
8472
8473 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8474
8475         * gst/gstpad.c:
8476           Typo fixes in docs.
8477
8478 2006-04-06  Michael Smith  <msmith@fluendo.com>
8479
8480         * gst/gstpad.c: (gst_pad_set_property):
8481           Use g_value_get_object() instead of g_value_dup_gst_object(),
8482           to avoid double-reffing the pad template (which we then sink,
8483           so this worked previously if (and only if) the pad template
8484           was floating.
8485
8486         * gst/gstpadtemplate.c: (gst_pad_template_init),
8487         (gst_pad_template_pad_created):
8488           Never return floating references to pad templates, create
8489           them as initially-sunken.
8490
8491           Document an extra function (and make this stop sinking our
8492           pad template, since that is now guaranteed to do nothing,
8493           since we created it sunken).
8494
8495         * gst/gstghostpad.c:
8496           Fix docs typo.
8497
8498 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
8499
8500         * gst/gstinfo.c: (__gst_in_valgrind):
8501           Add some newlines.
8502
8503         * plugins/elements/gsttypefindelement.c:
8504         (gst_type_find_element_chain):
8505           Don't leak buffer caps.
8506
8507 2006-04-06  Michael Smith  <msmith@fluendo.com>
8508
8509         * gst/parse/grammar.y:
8510           Fix a leak in parse-launch for any source-or-sink named element 
8511           references used.
8512
8513         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8514           Unref the pipeline if it exists after we've failed parsing.
8515
8516 2006-04-05  Michael Smith  <msmith@fluendo.com>
8517
8518         * gst/gstpipeline.c: (gst_pipeline_init):
8519           When we create a pipeline bus, initially create it in flushing mode.
8520           Fixes leaks in at least one test, and makes a new pipeline work the
8521           same as one that has gone to READY and then back to NULL.
8522
8523         * gst/gstelement.c:
8524           Typo fix in docs.
8525
8526 2006-04-05  Michael Smith  <msmith@fluendo.com>
8527
8528         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8529           Unref a pad we reffed.
8530         * tests/check/gst/gstutils.c: (GST_START_TEST):
8531           Unref bins
8532
8533 2006-04-05  Michael Smith  <msmith@fluendo.com>
8534
8535         * gst/gstquery.c: (gst_query_set_formats),
8536         (gst_query_set_formatsv):
8537           Fix leaking GValues in queries, as shown by valgrind/testsuite.
8538
8539 2006-04-05  Michael Smith  <msmith@fluendo.com>
8540
8541         * tests/check/generic/sinks.c: (GST_START_TEST):
8542           Fix a variety of memleaks in sinks check, which are only sometimes 
8543           shown by running the tests under valgrind (weird?).
8544
8545 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
8546
8547         * docs/version.entities.in:
8548           Fix the substituted entity name after thomas' changes on the
8549           weekend.
8550
8551 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8552
8553         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8554         VALGRIND_PRINTF
8555         
8556 2006-04-05  Andy Wingo  <wingo@pobox.com>
8557
8558         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8559
8560         * libs/gst/base/gstbasetransform.c
8561         (gst_base_transform_sink_eventfunc): When resetting our segment on
8562         FLUSH_STOP, also update the flag saying we haven't seen a
8563         newsegment.
8564
8565 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8566
8567         Patch by: Paolo Borelli  <pborelli at katamail dot com>
8568
8569         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8570         (gst_plugin_check_license):
8571           minor clean-ups: G_DEFINE_TYPE already takes care of the
8572           parent_class stuff, no need to do it twice. Mark array of
8573           license strings as constant. (#337103)
8574           
8575 2006-04-04  Michael Smith  <msmith@fluendo.com>
8576
8577         * tools/gst-inspect.c: (print_element_list):
8578           Free the right plugin list; fixes a memory leak.
8579
8580 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8581
8582         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
8583
8584         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8585           Don't error out on empty buffers (#336945).
8586           
8587 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
8588
8589         * docs/libs/gstreamer-libs-sections.txt:
8590         * gst/gsttaglist.c:
8591         * libs/gst/base/gstbasesink.c:
8592         * libs/gst/base/gstbasesink.h:
8593         * libs/gst/base/gstbasesrc.c:
8594         * libs/gst/base/gstbasesrc.h:
8595           Documentation updates. Make BaseSink and BaseSrc docs contain the
8596           class structure so that people can actually see the prototypes for
8597           virtual functions they're supposed to be overriding.
8598
8599 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
8600
8601         * plugins/elements/gsttypefindelement.c:
8602         (gst_type_find_element_chain):
8603           More debug info; when skipping typefinding, send cached
8604           events in all cases.
8605
8606 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8607
8608         * configure.ac:
8609           use new AS_VERSION and AS_NANO macros
8610         * gst/gst-i18n-lib.h:
8611         * gst/gst.c:
8612         * gst/gsterror.c:
8613         * gst/gstversion.h.in:
8614         * win32/common/config.h:
8615         * win32/common/config.h.in:
8616           update accordingly
8617
8618 2006-03-31  Michael Smith  <msmith@fluendo.com>
8619
8620         * plugins/elements/gsttypefindelement.c:
8621         (gst_type_find_element_chain):
8622           Do not typefind content if the buffers already have caps.
8623           Neccesary for icydemux (#333657), and the right thing to do anyway.
8624
8625 2006-03-30  Wim Taymans  <wim@fluendo.com>
8626
8627         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8628         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8629         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8630         (gst_base_sink_record_qos_observation),
8631         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8632         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8633         (gst_base_sink_change_state):
8634         More QoS measurements as described in the design doc.
8635         Get rid of ringbuffer with observations, running average is
8636         more simple and equally good.
8637         Calculates valid proportion now.
8638         Added beginning of flood measurement.
8639
8640 2006-03-29  Wim Taymans  <wim@fluendo.com>
8641
8642         * docs/design/part-qos.txt:
8643         * gst/gstclock.c:
8644         Small documentation updates and additions.
8645
8646 2006-03-29  Wim Taymans  <wim@fluendo.com>
8647
8648         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8649         (gst_base_src_send_event), (gst_base_src_loop),
8650         (gst_base_src_change_state):
8651         Perform the EOS logic when we reach the segment stop position.
8652         Fix compilation on gcc4.1
8653
8654 2006-03-29  Wim Taymans  <wim@fluendo.com>
8655
8656         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8657
8658         * plugins/elements/gstqueue.c: (gst_queue_init),
8659         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8660         (gst_queue_set_property):
8661         * plugins/elements/gstqueue.h:
8662         In queue, when EOS is received, if minimum threshold > max_size -
8663         current_level, there is chance that queue blocks forever in conditional
8664         item del wait. This is because the queue is not emptied completely due
8665         to minimum threshold.  Here is another approach. Instead of setting
8666         cur_levels to max in EOS, just zero all minimum threshold levels. This
8667         should make sure that queue gives out all data. When going to READY
8668         (stop) state, just reset the original minimum threshold levels.
8669         Fixes #336336.
8670
8671 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
8672
8673         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8674         (gst_type_find_element_handle_event),
8675         (gst_type_find_element_send_cached_events),
8676         (gst_type_find_element_change_state):
8677         * plugins/elements/gsttypefindelement.h:
8678           When typefinding is done in push mode, we should cache
8679           events we receive during typefinding instead of just
8680           dropping them (e.g. newsegment, custom events from
8681           dvdreadsrc etc.) and then send them out once we've
8682           determined the type of the stream (and decodebin
8683           has had a chance to plug in a decoder/demuxer).
8684           
8685 2006-03-27  Wim Taymans  <wim@fluendo.com>
8686
8687         * docs/design/part-qos.txt:
8688         First QoS ideas.
8689
8690 2006-03-27  Wim Taymans  <wim@fluendo.com>
8691
8692         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8693
8694         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8695         (gst_base_src_send_event), (gst_base_src_change_state):
8696         Handle element seek correctly when we are streaming.
8697         Fixes #326998.
8698
8699 2006-03-24  Michael Smith  <msmith@fluendo.com>
8700
8701         * docs/faq/gst-uninstalled:
8702           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8703           allow you to correctly run intalled applications built against old 
8704           core, using plugins that require updated core (e.g. running
8705           installed totem against a full uninstalled gstreamer stack)
8706
8707 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8708
8709         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8710         more debug details
8711
8712 2006-03-24  Wim Taymans  <wim@fluendo.com>
8713
8714         * docs/gst/gstreamer-sections.txt:
8715         Rearrange the order of the methods so that related methods
8716         are grouped together in sections.
8717
8718 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8719
8720         * gst/gstelement.c:
8721           Little clarification in the docs
8722
8723 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
8724
8725         * docs/README:
8726         formatting fix
8727         * plugins/elements/gstidentity.c:
8728         * plugins/elements/gstqueue.c:
8729         * plugins/elements/gsttee.c:
8730         * plugins/elements/gsttypefindelement.c:
8731         GST_ELEMENT_DETAILS formatting
8732
8733 2006-03-24  Wim Taymans  <wim@fluendo.com>
8734
8735         * libs/gst/base/gstbasesink.h:
8736         Only add fields, not insert or we break ABI.
8737
8738 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8739
8740         * win32/common/libgstbase.def:
8741         * win32/common/libgstreamer.def:
8742           Update, add recently added functions.
8743
8744 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * docs/gst/gstreamer-sections.txt:
8747         * gst/gstutils.c: (gst_pad_query_peer_position),
8748         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8749         * gst/gstutils.h:
8750           API: add some new utility functions:
8751            - gst_pad_query_peer_position()
8752            - gst_pad_query_peer_duration()
8753            - gst_pad_query_peer_convert()
8754           
8755 2006-03-23  Wim Taymans  <wim@fluendo.com>
8756
8757         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8758         (gst_base_sink_init), (gst_base_sink_finalize),
8759         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8760         (gst_base_sink_set_property), (gst_base_sink_get_property),
8761         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8762         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8763         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8764         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8765         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8766         (gst_base_sink_preroll_object), (gst_base_sink_event),
8767         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8768         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8769         (gst_base_sink_query), (gst_base_sink_change_state):
8770         Decouple max-lateness and the fact that QoS messages are generated
8771         with a new property (qos).
8772         added API: GstBaseSink::async_play()
8773         Add vmethod so subclasses can be notified of ASYNC playing
8774         state changes.
8775         Collect timestamp start and stop to report better current
8776         position in EOS/PLAYING/PAUSED/READY/NULL.
8777         Refactor QoS/frame dropping and other measurements.
8778         API: GstBaseSrc::qos
8779         Fixes #326311
8780
8781         * libs/gst/base/gstbasesink.h:
8782         Added Private struct.
8783         API: gst_base_sink_set_qos_enabled()
8784         API: gst_base_sink_is_qos_enabled()
8785
8786 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8789           If compiling against GLib-2.8 or newer, try to read the
8790           registry file using GMappedFile first before falling back
8791           to fopen() + fread() (#332151).
8792
8793 2006-03-22  Wim Taymans  <wim@fluendo.com>
8794
8795         * gst/gstinfo.c: (gst_debug_set_active),
8796         (gst_debug_category_set_threshold):
8797         Disable debugging unless explicitly activated.
8798         Fixes #335480.
8799
8800 2006-03-22  Wim Taymans  <wim@fluendo.com>
8801
8802         * gst/gstelement.c: (gst_element_set_locked_state),
8803         (gst_element_dispose):
8804         Cleanup the error case.
8805
8806         * gst/gstobject.c: (gst_object_dispose):
8807         print a critical when some object was disposed with
8808         a parent, also revive the object since it might
8809         crash the parent.
8810
8811 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
8812
8813         * tools/gst-launch.1.in:
8814           Fix another typo.
8815
8816 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8817
8818         * configure.ac:
8819         * tests/check/Makefile.am:
8820           disable some tests when we don't have a registry
8821         * tests/check/gst/gstutils.c: (gst_utils_suite):
8822           don't build the part that needs parsing
8823
8824 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8825
8826         * gst/Makefile.am
8827         * tests/examples/Makefile.am:
8828           fix --disable-parse build
8829
8830 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8831
8832         * tools/gst-feedback.1.in:
8833           Fix typo: s/feeback/feedback/ (#133494).
8834
8835 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8836
8837         * tools/Makefile.am:
8838         * tools/gst-launch.1.in:
8839           Add FILES section and correct entry about GST_REGISTRY_PATH
8840           environment variable (#133495; #133494).
8841
8842 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8843
8844         * tools/Makefile.am:
8845         * tools/gst-md5sum.1.in:
8846         * tools/gst-md5sum.c:
8847           Remove gst-md5sum and man page (the md5sink element
8848           required was removed ages ago)
8849
8850 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8851
8852         * gst/gststructure.c: (gst_structure_id_set_value):
8853           Make sure that string fields in structures/taglists
8854           contain valid UTF-8 - we don't want to pass rubbish to
8855           applications because of a buggy plugin (cp. #334167).
8856
8857 2006-03-21  Edward Hervey  <edward@fluendo.com>
8858
8859         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8860         (gst_bin_handle_message_func):
8861         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
8862         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
8863         (gst_element_set_bus_func):
8864         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
8865         * gst/gstminiobject.c: (gst_value_set_mini_object),
8866         (gst_value_take_mini_object):
8867         * gst/gstpad.c: (gst_pad_set_pad_template):
8868         * gst/gstpipeline.c: (gst_pipeline_dispose),
8869         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8870         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
8871         (gst_collect_pads_chain):
8872         * libs/gst/net/gstnettimeprovider.c:
8873         (gst_net_time_provider_set_property):
8874         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
8875         It's in fact all issues with gst_*object_replace().
8876
8877 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
8878
8879         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
8880         
8881         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8882         * pkgconfig/gstreamer-check.pc.in:
8883           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
8884
8885 2006-03-21  Edward Hervey  <edward@fluendo.com>
8886
8887         * gst/gstbuffer.h:
8888         * gst/gstevent.h:
8889         * gst/gstmessage.h:
8890         gst_[buffer|event|message]_ref() macros are replaced by a static
8891         inline functions because gcc-4.1 will about if the return value
8892         isn't used.
8893         * tests/check/gst/gstevent.c: (event_probe):
8894         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
8895
8896 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
8897
8898         * gst/gstutils.h:
8899         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
8900         the type' case. (Closes: #335195 for now). In the future, when we
8901         depend on GLib 2.10, we could also intern the type name using
8902         g_intern_static_string()
8903
8904 2006-03-20  Wim Taymans  <wim@fluendo.com>
8905
8906         * gst/gstbin.c: (gst_bin_handle_message_func),
8907         (bin_query_max_init), (bin_query_position_fold),
8908         (bin_query_position_done), (gst_bin_query):
8909         Position query should also take max of all streams.
8910
8911 2006-03-20  Wim Taymans  <wim@fluendo.com>
8912
8913         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
8914         (gst_fake_src_finalize):
8915         Fix leaks in fakesrc.
8916
8917         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8918         Fix leaks in the testcase.
8919
8920 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
8921
8922         * gst/gst_private.h:
8923           add win32 specific import decoration(__declspec(dllimport)) 
8924           for all extern GstDebugCategory * variables
8925         * win32/common/libgstbase.def:
8926         * win32/common/libgstcontroller.def:
8927         * win32/common/libgstreamer.def:
8928           Add some exports, remove empty lines
8929         * win32/common/libgstdataprotocol.def:
8930         * win32/common/libgstdataprotocol.dsp:
8931         * win32/common/libgstnet.def:
8932         * win32/common/libgstnet.dsp:
8933           new project files and exportation files added
8934         
8935 2006-03-19  Wim Taymans  <wim@fluendo.com>
8936
8937         * tests/check/libs/basesrc.c: (eos_event_counter):
8938         Use proper return value for probe.
8939
8940 2006-03-17  Wim Taymans  <wim@fluendo.com>
8941
8942         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8943         (gst_pad_push):
8944         Don't leak buffers, caps and pads on negotiation errors.
8945
8946 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
8947
8948         * docs/faq/cvs.xml:
8949         * docs/faq/dependencies.xml:
8950         * docs/faq/developing.xml:
8951         * docs/faq/faq.xml:
8952         * docs/faq/general.xml:
8953         * docs/faq/getting.xml:
8954         * docs/faq/legal.xml:
8955         * docs/faq/troubleshooting.xml:
8956         * docs/faq/using.xml:
8957         Faq review and update.
8958
8959 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
8960
8961         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
8962         (gst_pad_push):
8963         Don't pound the cpu to pieces by checking get_caps when accept_caps
8964         is called with the same caps as the pad already has.
8965         Use GST_DEBUG_OBJECT when outputting caps change information.
8966
8967 2006-03-15  Wim Taymans  <wim@fluendo.com>
8968
8969         * gst/gstclock.c: (gst_clock_class_init):
8970         Fix docs.
8971
8972 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
8973
8974         * gst/gstbuffer.h:
8975         Documentation fix.
8976
8977         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
8978         (gst_pad_accept_caps), (gst_pad_configure_sink),
8979         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
8980         Make the default acceptcaps behaviour be to check the requested 
8981         caps against the gst_pad_get_caps output. 
8982
8983         Ensure that gst_pad_accept_caps is used to check caps when a pad
8984         doesn't have a setcaps function, so that pads automatically refuse 
8985         caps that they don't allow in their pad template. (Fixes #332986)
8986
8987         When a buffer with attached caps is pushed, ensure that the source 
8988         pad receives those caps even if the element didn't call
8989         gst_pad_set_caps first.
8990
8991 2006-03-15  Wim Taymans  <wim@fluendo.com>
8992
8993         * libs/gst/base/gstadapter.c:
8994         Add some docs.
8995
8996 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
8997
8998         * win32/common/libgstbase.def:
8999         * win32/common/libgstcontroller.def:
9000         * win32/common/libgstreamer.def:
9001           Add a whole bunch of missing functions (#334434).
9002
9003 2006-03-14  Wim Taymans  <wim@fluendo.com>
9004
9005         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9006         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9007         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9008         Better debug info when we receive a segment event.
9009         Reorganize a bit so we can pass the get_times() results around.
9010         Use the segment format when calculating the running time.
9011         Don't do QoS is sync is disabled or we have no clock or the
9012         element does not want us to sync to the clock.
9013         Don't drop buffers if QoS is disabled for now.
9014
9015 2006-03-14  Wim Taymans  <wim@fluendo.com>
9016
9017         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9018         Marked the stats property as unimplemented so people don't get
9019         wild ideas.
9020         Add debug message when regression goes wrong.
9021         Added some more docs.
9022
9023 2006-03-14  Wim Taymans  <wim@fluendo.com>
9024
9025         * gst/gstsegment.c: (gst_segment_to_stream_time):
9026         Return correct return type in case of errors.
9027
9028 2006-03-14  Wim Taymans  <wim@fluendo.com>
9029
9030         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9031           Don't segfault on invalid formats.
9032
9033 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9034
9035         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9036           Can't use gst_segment_to_running_time() when the segment
9037           is not in GST_TIME_FORMAT (like with filesink, for example).
9038           Stops flac encoding pipelines from spewing critical warnings
9039           at EOS (#331248).
9040           
9041 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9042
9043         * gst/gstpipeline.c: (gst_pipeline_class_init):
9044           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9045
9046         * plugins/elements/gsttypefindelement.c:
9047         (gst_type_find_element_handle_event):
9048           Don't try to typefind empty streams.
9049
9050 2006-03-14  Wim Taymans  <wim@fluendo.com>
9051
9052         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9053         (gst_base_sink_do_qos):
9054         Separate QoS calculation.
9055         Only drop buffers when lateness is bigger than the 
9056         duration of the buffer.
9057
9058 2006-03-13  Wim Taymans  <wim@fluendo.com>
9059
9060         * gst/gstpipeline.c: (gst_pipeline_set_property),
9061         (gst_pipeline_get_property), (do_pipeline_seek),
9062         (gst_pipeline_change_state), (gst_pipeline_set_delay),
9063         (gst_pipeline_get_delay):
9064         Don't deadlock when reading properties.
9065
9066 2006-03-13  Wim Taymans  <wim@fluendo.com>
9067
9068         * libs/gst/base/gstbasetransform.c:
9069         (gst_base_transform_class_init), (gst_base_transform_init),
9070         (gst_base_transform_sink_event),
9071         (gst_base_transform_sink_eventfunc),
9072         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9073         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9074         (gst_base_transform_set_property),
9075         (gst_base_transform_get_property),
9076         (gst_base_transform_change_state), (gst_base_transform_update_qos),
9077         (gst_base_transform_set_qos_enabled),
9078         (gst_base_transform_is_qos_enabled):
9079         * libs/gst/base/gstbasetransform.h:
9080         Make basetransform virtual method for src events too.
9081         Handle QOS in basetransform.
9082         API: gst_base_transform_update_qos()
9083         API: gst_base_transform_set_qos_enabled()
9084         API: gst_base_transform_is_qos_enabled()
9085
9086 2006-03-13  Wim Taymans  <wim@fluendo.com>
9087
9088         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9089         (gst_base_sink_do_sync):
9090         Small cleanups.
9091         Use QOS debug category.
9092
9093 2006-03-13  Wim Taymans  <wim@fluendo.com>
9094
9095         * plugins/elements/gstqueue.c:
9096         Very small doc update.
9097
9098 2006-03-13  Wim Taymans  <wim@fluendo.com>
9099
9100         * gst/gst_private.h:
9101         * gst/gstinfo.c: (_gst_debug_init):
9102         Added QOS debug category
9103
9104 2006-03-13  Wim Taymans  <wim@fluendo.com>
9105
9106         * docs/gst/gstreamer-sections.txt:
9107         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9108         * gst/gstbin.h:
9109         * gst/gstbus.c: (gst_bus_class_init):
9110         * gst/gstbus.h:
9111         * gst/gstclock.c:
9112         * gst/gstelement.c: (gst_element_set_locked_state):
9113         * gst/gstsegment.c:
9114         Documentation updates.
9115
9116         * gst/gstpipeline.c: (gst_pipeline_get_type),
9117         (gst_pipeline_class_init), (gst_pipeline_init),
9118         (gst_pipeline_dispose), (gst_pipeline_set_property),
9119         (gst_pipeline_get_property), (do_pipeline_seek),
9120         (gst_pipeline_send_event), (gst_pipeline_change_state),
9121         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9122         (gst_pipeline_get_delay):
9123         * gst/gstpipeline.h:
9124         Added methods for setting the delay.
9125         API: gst_pipeline_set_delay()
9126         API: gst_pipeline_get_delay()
9127         Add pipeline debug category
9128         Various cleanups.
9129         Updated docs.
9130         Don't reset stream time when seek failed.
9131
9132 2006-03-13  Wim Taymans  <wim@fluendo.com>
9133
9134         * docs/design/draft-klass.txt:
9135         * docs/design/part-clocks.txt:
9136         * docs/design/part-events.txt:
9137         * docs/design/part-gstbin.txt:
9138         * docs/design/part-gstpipeline.txt:
9139         * docs/design/part-messages.txt:
9140         * docs/design/part-negotiation.txt:
9141         * docs/design/part-overview.txt:
9142         * docs/design/part-preroll.txt:
9143         * docs/design/part-seeking.txt:
9144         * docs/design/part-states.txt:
9145         * docs/design/part-streams.txt:
9146         Documentation updates.
9147
9148 2006-03-12  Julien MOUTTE  <julien@moutte.net>
9149
9150         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9151         us to leak strings...
9152
9153 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9154
9155         * libs/gst/net/gstnettimeprovider.c:
9156           fix docs
9157         * win32/common/config.h:
9158           update
9159
9160 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9163
9164         * configure.ac:
9165           Don't check for libgnomeui (leftover from old examples
9166           that aren't built or disted any longer) (#334303).
9167           
9168 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
9169
9170         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9171         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9172           Emit RESOURCE_NO_SPACE_LEFT error here as well when
9173           there's no space left on the device.
9174
9175 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
9176
9177         * gst/gstclock.h:
9178           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9179           to cast the input to GstClockTime before comparing with
9180           another GstClockTime value.
9181
9182 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9183
9184         * configure.ac:
9185           back to trunk
9186
9187 === release 0.10.4 ===
9188
9189 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
9190
9191         * configure.ac:
9192           releasing 0.10.4, "Light"
9193
9194 2006-03-10  Michael Smith  <msmith@fluendo.com>
9195
9196         * libs/gst/dataprotocol/dataprotocol.c:
9197           Fix docs for dataprocotol to not get the return types completely
9198           wrong for a few functions.
9199
9200 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * docs/gst/gstreamer-sections.txt:
9203         * gst/gstpipeline.c: (gst_pipeline_class_init),
9204         (gst_pipeline_init), (gst_pipeline_set_property),
9205         (gst_pipeline_get_property), (gst_pipeline_change_state),
9206         (gst_pipeline_set_auto_flush_bus),
9207         (gst_pipeline_get_auto_flush_bus):
9208         * gst/gstpipeline.h:
9209           Add new API: gst_pipeline_set_auto_flush_bus() and
9210           gst_pipeline_get_auto_flush_bus() to disable automatic
9211           flushing of the pipeline's GstBus when going from READY
9212           to NULL state (#332045).
9213
9214 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9215
9216         * docs/gst/gstreamer-sections.txt:
9217         * gst/gsturi.c: (gst_uri_has_protocol):
9218         * gst/gsturi.h:
9219            Add new API: gst_uri_has_protocol() (#333779).
9220
9221 2006-03-09  Wim Taymans  <wim@fluendo.com>
9222
9223         * gst/gstclock.c: (gst_clock_entry_new),
9224         (gst_clock_id_compare_func), (gst_clock_id_wait),
9225         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9226         (gst_clock_init), (gst_clock_get_internal_time),
9227         (gst_clock_set_master), (do_linear_regression),
9228         (gst_clock_add_observation), (gst_clock_set_property):
9229         * gst/gstclock.h:
9230         Review docs.
9231         Small cleanups.
9232         Fix a possible segfault when the window-size is made smaller.
9233         Calculate jitter before performing the clock wait. Ideally
9234         the clock implementation should calculate jitter but we need
9235         API breakage for that.
9236
9237         * gst/gstsystemclock.c: (gst_system_clock_init):
9238         Docs review.
9239         
9240         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9241         Remove leftover else
9242
9243         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9244         (gst_systemclock_suite):
9245         Added check to test GST_CLOCK_DIFF.
9246
9247 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
9248
9249         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9250         (gst_type_find_helper_get_range):
9251           If we are provided with the size, we should implement
9252           GstTypeFind::get_length, so that typefind functions who
9253           want to can actually peek at the middle of a file.
9254
9255 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
9256
9257         * docs/manual/advanced-dataaccess.xml:
9258           Add some very very basic error checking.
9259
9260         * docs/pwg/appendix-checklist.xml:
9261           Some updates to the list of things to check when writing an element.
9262
9263 2006-03-08  Wim Taymans  <wim@fluendo.com>
9264
9265         * docs/design/part-element-transform.txt:
9266         Added some docs about the design of tranform elements.
9267
9268         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9269         (gst_base_src_loop), (gst_base_src_change_state):
9270         Mark buffers with the DISCONT flag.
9271
9272 2006-03-08  Michael Smith  <msmith@fluendo.com>
9273
9274         * gst/gstregistry.h:
9275         * gst/gstregistryxml.c: (gst_registry_save),
9276         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9277         (gst_registry_xml_save_pad_template),
9278         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9279         (gst_registry_xml_write_cache):
9280           Rewrite registry-saving to avoid race conditions and check for
9281           failed writes.
9282
9283 2006-03-08  Wim Taymans  <wim@fluendo.com>
9284
9285         * libs/gst/base/gstbasetransform.c:
9286         (gst_base_transform_transform_caps),
9287         (gst_base_transform_transform_size),
9288         (gst_base_transform_prepare_output_buffer),
9289         (gst_base_transform_get_unit_size),
9290         (gst_base_transform_buffer_alloc),
9291         (gst_base_transform_handle_buffer),
9292         (gst_base_transform_change_state):
9293         Cleanups, separate normal flow from errors, add sensible
9294         DEBUG lines.
9295         Don't try to renegotiate when allocating an output buffer.
9296         Also copy DISCONT buffer flag when copying a buffer.
9297         Reset the transform after we finish streaming, not during.
9298
9299 2006-03-08  Wim Taymans  <wim@fluendo.com>
9300
9301         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9302         Use last buffer timestamp in qos message.
9303
9304 2006-03-07  Wim Taymans  <wim@fluendo.com>
9305
9306         Patch by: Christophe Fergeau
9307
9308         * docs/pwg/advanced-tagging.xml:
9309         * docs/pwg/building-pads.xml:
9310           fixes #333416
9311
9312 2006-03-07  Wim Taymans  <wim@fluendo.com>
9313
9314         * docs/libs/gstreamer-libs-sections.txt:
9315         Added basesink new methods.
9316
9317         * gst/gstevent.c:
9318         * gst/gstevent.h:
9319         Docs updates. Flesh out the QoS docs.
9320
9321         * libs/gst/base/gstadapter.c:
9322         Small doc clarification about ownership and flushing.
9323
9324         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9325         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9326         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9327         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9328         * libs/gst/base/gstbasesink.h:
9329         API additions: 
9330         Added new methods to allow subclass to control max-lateness 
9331         and sync.
9332         Generate very basic QoS events based on last sync observation.
9333         Updated docs, fix typo, added some QoS blurb.
9334
9335         * libs/gst/base/gstbasesrc.c:
9336         Remove obsolete _get_state() calls from docs.
9337
9338 2006-03-07  Wim Taymans  <wim@fluendo.com>
9339
9340         * docs/libs/gstreamer-libs-sections.txt:
9341         * libs/gst/base/gstbasetransform.h:
9342         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9343         Fix docs for GstBaseSrc.
9344
9345 2006-03-07  Wim Taymans  <wim@fluendo.com>
9346
9347         * docs/gst/gstreamer-sections.txt:
9348         * gst/gstbuffer.h:
9349         * gst/gstvalue.c:
9350         * libs/gst/base/gstbasetransform.h:
9351         Small documentation fixes.
9352
9353 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9354
9355         * gst/gstvalue.c:
9356           Document thread-unsafety of gst_value_register_foo_func()
9357           when used at the same time as gst_value_foo() (#322628).
9358
9359 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9360
9361         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9362         (gst_push_src_check_get_range):
9363           Push sources don't support pull mode by default.
9364
9365 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9366
9367         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9368         (gst_base_src_init), (gst_base_src_pad_check_get_range),
9369         (gst_base_src_default_check_get_range):
9370         * libs/gst/base/gstbasesrc.h:
9371           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9372           provide default implementation, and rename
9373           gst_base_src_check_get_range() to
9374           gst_base_src_pad_check_get_range() for clarity.
9375
9376 2006-03-06  Wim Taymans  <wim@fluendo.com>
9377
9378         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9379         Make property overridable.
9380
9381 2006-03-06  Wim Taymans  <wim@fluendo.com>
9382
9383         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9384         (gst_base_sink_init), (gst_base_sink_set_property),
9385         (gst_base_sink_get_property), (gst_base_sink_do_sync):
9386         * libs/gst/base/gstbasesink.h:
9387         API addition: Make max-lateness a property.
9388
9389 2006-03-06  Wim Taymans  <wim@fluendo.com>
9390
9391         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9392         (gst_base_sink_do_sync), (gst_base_sink_render_object):
9393         Don't ever draw a frame that is >10ms late.
9394
9395 2006-03-06  Michael Smith  <msmith@fluendo.com>
9396
9397         * gst/gstmessage.c: (_gst_message_copy):
9398           When copying a message, set the parent_refcount of the enclosed
9399           structure to point at the copy, not the original message.
9400
9401 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
9402
9403         Patch by: Christophe Fergeau
9404
9405         * gst/gstutils.h:
9406           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9407           usable in c++ code (#333417)
9408
9409 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9410
9411         * gst/gstclock.h:
9412           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9413
9414 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
9415
9416         * libs/gst/base/gstbasetransform.c:
9417         (gst_base_transform_transform_caps):
9418           Make sure caps are writable before passing them to
9419           gst_caps_append().
9420
9421 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9422
9423         * gst/gsterror.h:
9424           Fix some minor docs errors.
9425
9426 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
9427
9428           Patch by: Ross Burton <ross at burtonini dot com>
9429
9430         * gst/gsterror.c: (_gst_resource_errors_init):
9431         * gst/gsterror.h:
9432           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9433
9434 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * gst/gst.c:
9437         Add a check and output a g_warning when GStreamer is built
9438         against GLib 2.6 but running against 2.8 or higher, and vice 
9439         versa. (Closes: #323542)
9440
9441 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
9442
9443         * gst/parse/parse.l:
9444           Commit patch for parse_launch syntax from #331255. Removes 
9445           support for quoted strings and mimetypes when writing filtered 
9446           caps. See the bug report for more details - I'm pretty sure this
9447           obscure feature is not in use by _anyone_ anywhere.
9448
9449           With this simple change, the size of the gstreamer.so here 
9450           drops from 2193KB to 1565KB.
9451
9452 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         * plugins/elements/gsttypefindelement.h:
9455         * plugins/elements/gsttypefindelement.c:
9456         (gst_type_find_element_src_event), (start_typefinding),
9457         (stop_typefinding), (gst_type_find_element_handle_event),
9458         (gst_type_find_element_chain),
9459         (gst_type_find_element_chain_do_typefinding):
9460           Use gst_type_find_helper_for_buffer() for chain-based
9461           typefinding.
9462
9463 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9464
9465         * plugins/elements/gsttypefindelement.c:
9466         (gst_type_find_element_class_init),
9467         (gst_type_find_element_set_property),
9468         (gst_type_find_element_get_property):
9469           Deprecate "maximum" property (not only was it only taken into
9470           account for typefinding in push-mode anyway, it also was never
9471           actually possible to set it in the first place because the
9472           property was registered with the numeric property ID for the
9473           "minimum" property). Register "maximum" property correctly,
9474           for the sake of future copy'n'pasters. Remove some cruft
9475           from property get/set functions.
9476
9477 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
9478
9479         * plugins/elements/gsttypefindelement.c:
9480         (gst_type_find_element_activate):
9481           Use gst_type_find_helper_get_range() here, so we
9482           can honour the "minimum" property and also emit
9483           the signal with the correct probability of the found caps.
9484
9485 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
9486
9487         * docs/libs/gstreamer-libs-sections.txt:
9488         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9489         (helper_find_suggest), (gst_type_find_helper_get_range),
9490         (gst_type_find_helper):
9491         * libs/gst/base/gsttypefindhelper.h:
9492           New API: gst_type_find_helper_get_range() (#333042).
9493
9494 2006-03-02  Michael Smith  <msmith@fluendo.com>
9495
9496         * gst/gstregistryxml.c: (load_feature):
9497           Asserting on a failure to read part of the registry is Not Cool.
9498           Just log a warning and return NULL (which is already handled)
9499
9500 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
9501
9502         * win32/common/libgstbase.def:
9503           added export of gst_type_find_helper_for_buffer
9504         * win32/common/libgstbase.def:
9505           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9506           gst_ghost_pad_get_target
9507
9508 2006-02-28  Wim Taymans  <wim@fluendo.com>
9509
9510         * docs/design/draft-klass.txt:
9511         We use Filter now.
9512         Added Connector to mark elements that are only used to
9513         allow pipeline connections.
9514         Moved Debug to extra feature since most of them are 
9515         functionally something else.
9516
9517 2006-02-28  Wim Taymans  <wim@fluendo.com>
9518
9519         * docs/design/draft-klass.txt:
9520         Some updates and clarifications.
9521
9522 2006-02-28  Wim Taymans  <wim@fluendo.com>
9523
9524         * docs/design/draft-klass.txt:
9525         Proposal for klass field values.
9526
9527         * docs/design/part-streams.txt:
9528         Start of a doc describing stream anatomy.
9529
9530 2006-02-28  Wim Taymans  <wim@fluendo.com>
9531
9532         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9533         Help the compiler a bit with type registration.
9534         Use existing forward cod path instead of duplicating it when 
9535         handling a message.
9536         
9537         * gst/gstbus.c: (gst_bus_get_type):
9538         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9539         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9540         * gst/gstclock.c: (gst_clock_get_type):
9541         * gst/gstelement.c: (gst_element_get_type),
9542         * gst/gstelementfactory.c: (gst_element_factory_get_type):
9543         * gst/gstindexfactory.c: (gst_index_factory_get_type):
9544         * gst/gstminiobject.c: (gst_mini_object_get_type):
9545         * gst/gstpad.c: (gst_pad_get_type):
9546         * gst/gstsegment.c: (gst_segment_get_type):
9547         * gst/gststructure.c: (gst_structure_get_type):
9548         * gst/gstsystemclock.c: (gst_system_clock_get_type):
9549         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9550         * gst/gstvalue.c:
9551         Help compiler with type registration.
9552
9553         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9554         Small doc update.
9555
9556 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9557
9558         * plugins/elements/gsttypefindelement.c:
9559         (gst_type_find_element_handle_event):
9560           When we get an EOS event and have not found a type yet
9561           (most likely because we had not yet accumulated
9562           TYPE_FIND_MIN_SIZE of data yet), try to determine the
9563           type given the data we have so far. Fixes typefinding
9564           for very short streams again, most notably quicktime
9565           redirections as used on Apple's trailer site (#331701).
9566
9567 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9568
9569         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9570         (gst_type_find_helper):
9571           Try typefinding factories with the highest rank first.
9572
9573 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9574
9575         * docs/libs/gstreamer-libs-docs.sgml:
9576         * docs/libs/gstreamer-libs-sections.txt:
9577         * libs/gst/base/gsttypefindhelper.c:
9578           Add section for typefind helper and add documentation
9579           for the old and the new function.
9580
9581 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9582
9583         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9584         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9585         (gst_type_find_helper_for_buffer):
9586         * libs/gst/base/gsttypefindhelper.h:
9587           New API: gst_type_find_helper_for_buffer() (#332723).
9588           
9589 2006-02-27  Michael Smith  <msmith@fluendo.com>
9590
9591         Patch by: Loïc Minier
9592
9593         * configure.ac:
9594         * docs/Makefile.am:
9595         * docs/slides/Makefile.am:
9596           prevent CVS directories getting disted.
9597
9598 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9601           Use the REFCOUNTING category for caps refcounting.
9602           
9603 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9606           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9607
9608 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * plugins/elements/gsttypefindelement.c:
9611         (gst_type_find_element_activate):
9612           Use gst_pad_check_pull_range() before _activate_pull()
9613           to avoid unnecessary open/close (see #331690).
9614
9615 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9616
9617         * gst/gstutils.c:
9618           Docs enhancement: make it crystal clear what the
9619           gst_pad_add_*_probe() callbacks should look like.
9620
9621 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
9622
9623         * libs/gst/base/gstbasesrc.c:
9624           Document how applications can stop recording from
9625           live sources (see #330996).
9626
9627 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9628
9629         * tests/check/Makefile.am:
9630         * tests/check/libs/basesrc.c: (eos_event_counter),
9631         (basesrc_eos_events_pull), (basesrc_eos_events_push),
9632         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9633         (gst_basesrc_suite), (main):
9634           ... and add some tests for the base source EOS stuff.
9635
9636 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9637
9638         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9639           Test case originally showed the problem fixed below,
9640           but was then amended. Add checks back at the place
9641           where they used to be.
9642
9643 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9644
9645         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9646         (gst_base_src_init), (gst_base_src_loop),
9647         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9648         (gst_base_src_change_state):
9649         * libs/gst/base/gstbasesrc.h:
9650           Don't unconditionally send EOS when going from PAUSED to
9651           READY state, esp. make sure we don't send two EOS events
9652           in some cases (e.g. one when reaching EOS and one when
9653           going from PAUSED to READY). Also, we don't want to send
9654           EOS events when operating in pull mode. However, we do
9655           want to send an EOS event when shutting down a live
9656           source explicitly, for example (fixes #330996).
9657           
9658 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
9659
9660         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9661           Update src->read_position after a seek when not using mmap.
9662           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9663
9664 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
9665
9666         * gst/Makefile.am:
9667         * gst/gstparse.h:
9668         * gst/gstutils.c:
9669         * gst/gstutils.h:
9670         Make things work with --disable-parse as they do with 
9671         --disable-load-save - the symbols involved disappear, but the
9672         header is still installed and GST_DISABLE_PARSE is included via
9673         gstconfig.h
9674
9675 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9676
9677         * libs/gst/base/gstbasetransform.c:
9678         (gst_base_transform_change_state): Fix a stupid bug. I was 
9679         sure I compiled that.
9680
9681 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9682
9683         * gst/gstpad.c: (gst_pad_set_blocked_async):
9684         * gst/gstutils.c: (gst_pad_add_data_probe),
9685         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9686         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9687         (gst_pad_remove_buffer_probe): Make those function act on the
9688         ghostpad target when it's a ghostpad. (Closes #331727)
9689
9690 2006-02-20  Julien MOUTTE  <julien@moutte.net>
9691
9692         * libs/gst/base/gstbasetransform.c:
9693         (gst_base_transform_change_state): Make basetransform reusable.
9694         (Closes #331898)
9695
9696 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
9697
9698         * docs/random/release:
9699         Move the current documentation of how to do a release to the top
9700         of the file.
9701
9702         * gst/gstbin.c: (gst_bin_class_init),
9703         (gst_bin_handle_message_func):
9704         Allow multiple state-recalculation threads. (Closes #328873)
9705
9706 2006-02-19  Julien MOUTTE  <julien@moutte.net>
9707
9708         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9709         * gst/gstpad.c: (gst_pad_set_event_function),
9710         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9711         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9712         2 strings. You can't use the STR_NULL macro on that.
9713
9714 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
9715
9716         * gst/gstpad.c: (gst_pad_set_event_function),
9717         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9718         (gst_pad_set_getcaps_function)
9719         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9720           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9721           So now, we can use --gst-debug-level=5 on Windows
9722         * win32/common/libgstcontroller.def:
9723           Added export of gst_controller_init
9724         * win32/vs6/libgstcontroller.dsp:
9725           Fixed Release post build configuration
9726
9727 2006-02-17  Wim Taymans  <wim@fluendo.com>
9728
9729         * tests/check/gst/gstquery.c: (GST_START_TEST):
9730         Added another check.
9731
9732 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
9733
9734         * plugins/elements/gsttypefindelement.c: (find_peek):
9735           We can do peeks at non-zero offsets, as long as they
9736           fall within the buffer we have.
9737
9738 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
9739
9740         * tests/check/Makefile.am:
9741         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9742         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9743         (parse_suite), (main):
9744           Add testsuite for parse launch syntax
9745
9746 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
9747
9748         * plugins/elements/gsttypefindelement.c:
9749         (gst_type_find_element_chain):
9750           When typefinding is unsuccessful in the chain function, don't
9751           error out immediately. Only error out with NO_CAPS_FOUND if
9752           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9753           otherwise simply wait for more data so we can try typefinding
9754           again with more data later. Also, don't attempt to typefind
9755           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9756           this should improve typefinding from network sources where the
9757           size of the first buffer can be somewhat random.
9758
9759 2006-02-14  Wim Taymans  <wim@fluendo.com>
9760
9761         * docs/gst/gstreamer-sections.txt:
9762         * gst/gstpadtemplate.c:
9763         * gst/gstpadtemplate.h:
9764         Fix padtemplate docs, fixes #328805.
9765
9766 2006-02-14  Wim Taymans  <wim@fluendo.com>
9767
9768         * tools/gst-launch.c: (main):
9769         NO_PREROLL is not an ERROR so don't send confusing messages
9770         to the user.
9771
9772 2006-02-14  Wim Taymans  <wim@fluendo.com>
9773
9774         Patch by: Torsten Schoenfeld
9775
9776         * gst/gstregistry.c: (gst_registry_get_default),
9777         (_gst_registry_cleanup):
9778         Protect default registry with lock and ref/sink it.
9779         Fixes #324818
9780
9781 2006-02-14  Wim Taymans  <wim@fluendo.com>
9782
9783         * gst/gstbuffer.c:
9784         * gst/gstquery.c: (gst_query_list_add_format),
9785         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9786         (gst_query_parse_formats_nth):
9787         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9788         Docs fixes.
9789
9790 2006-02-14  Wim Taymans  <wim@fluendo.com>
9791
9792         * docs/gst/gstreamer-sections.txt:
9793         Reworked query docs.
9794
9795         * gst/gstquery.c: (gst_query_new_formats),
9796         (gst_query_list_add_format), (gst_query_set_formats),
9797         (gst_query_set_formatsv), (gst_query_parse_formats_length),
9798         (gst_query_parse_formats_nth):
9799         * gst/gstquery.h:
9800         Flesh out formats query, added some new methods.
9801         Fix part of #324398.
9802
9803         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9804         Added query creation tests.
9805
9806 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
9807
9808         * gst/gstpad.c: (fixate_value):
9809         Add a default fixation for fraction lists.
9810
9811 2006-02-13  Wim Taymans  <wim@fluendo.com>
9812
9813         * gst/gsttask.c: (gst_task_init), (gst_task_func),
9814         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9815         (gst_task_join):
9816         * gst/gsttask.h:
9817         Detect and warn for obvious deadlocks. fixes #320340
9818         Fix error case where lock was not released.
9819
9820         * tests/check/Makefile.am:
9821         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9822         (task_func), (gst_element_suite), (main):
9823         Add task check.
9824
9825 2006-02-13  Wim Taymans  <wim@fluendo.com>
9826
9827         * docs/gst/gstreamer-sections.txt:
9828         * gst/gstbus.c:
9829         Add new functions to docs.
9830
9831 2006-02-13  Wim Taymans  <wim@fluendo.com>
9832
9833         * docs/design/part-TODO.txt:
9834         Updated TODO list, basesrc supports seeking to non-bytes
9835         formats.
9836
9837         * docs/design/part-element-sink.txt:
9838         Update docs.
9839
9840         * gst/gstbin.c: (bin_replace_message),
9841         (gst_bin_handle_message_func):
9842         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
9843         * gst/gstevent.c: (gst_event_finalize):
9844         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9845         (gst_pad_send_event):
9846         Use shiny new _TYPE_NAME macros.
9847
9848         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9849         Move debug statement up.
9850
9851         * gst/gstelement.c: (gst_element_set_locked_state):
9852         Add some debugging.
9853
9854 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
9855
9856         * docs/gst/gstreamer-sections.txt:
9857         * gst/gstmessage.h:
9858         * gst/gstquery.h:
9859           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
9860           macros (#330906). Also, document the already existing
9861           GST_QUERY_TYPE macro.
9862
9863 2006-02-13  Wim Taymans  <wim@fluendo.com>
9864
9865         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
9866         (event_probe), (GST_START_TEST):
9867         Only events up to the pipeline EOS are counted, there are
9868         some more when going to NULL currently which we don't care
9869         about for now.
9870
9871 2006-02-13  Wim Taymans  <wim@fluendo.com>
9872
9873         * gst/gstpad.c: (gst_pad_send_event):
9874         Correctly check flushing and emit probes. fixes #330125
9875
9876 2006-02-10  Andy Wingo  <wingo@pobox.com>
9877
9878         * gst/gstbus.c (gst_bus_class_init): Declare our private data
9879         structure.
9880         (gst_bus_init): Cache the location of the private data in the
9881         instance structure.
9882         (gst_bus_enable_sync_message_emission) 
9883         (gst_bus_disable_sync_message_emission): Implement new public
9884         functions.
9885         (gst_bus_post): Emit the sync-message signal if the user asked for
9886         it. Fixes #330684.
9887
9888         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
9889         location of the bus-private structure.
9890         (gst_bus_enable_sync_message_emission)
9891         (gst_bus_disable_sync_message_emission): API addition
9892
9893 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
9894
9895         Patch by: Vincent Torri
9896
9897         * docs/pwg/building-boiler.xml:
9898         PWG patch from #326800
9899
9900 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
9901
9902         * configure.ac:
9903         * docs/Makefile.am:
9904         * docs/design/Makefile.am:
9905           Dist design docs.
9906
9907 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
9908
9909         * configure.ac:
9910           back to CVS
9911
9912 === release 0.10.3 ===
9913
9914 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
9915
9916         * configure.ac:
9917           releasing 0.10.3, "Like a virgin"
9918
9919 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
9920
9921         * configure.ac:
9922           2nd prerelease of 0.10.3
9923           Bump libtool versioning.
9924
9925 2006-02-07  Andy Wingo  <wingo@pobox.com>
9926
9927         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
9928         update last_stop if we're in TIME format and the timestamp is
9929         valid.
9930
9931         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
9932         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
9933         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
9934         If we get a new newsegment with a different format, adapt
9935         accordingly.
9936
9937         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
9938         of 0. Not a problem, really.
9939
9940         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
9941         warn if sync=true.
9942
9943 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
9944
9945         * configure.ac:
9946           Prelease of 0.10.3
9947
9948 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
9949
9950         * win32/vs7:
9951           project files updated to the default vs7 configuration
9952         * win32/common/libgstbase.def:
9953         * win32/common/libgstreamer.def:
9954           added new symbols,
9955           removed empty lines,
9956           sorted all exported symbols alphabetically
9957         * win32/common/dirent.c:
9958         * win32/common/dirent.h:
9959         * win32/common/gchar.h:
9960           use windows line end.
9961           
9962 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
9963
9964         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9965           Send EOS event when stopping.
9966
9967 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * docs/README:
9970           Tell folks what to do if the plugin-foobar.xml file
9971           hasn't been generated for a newly-added plugin.
9972
9973 2006-02-05  Julien MOUTTE  <julien@moutte.net>
9974
9975         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9976         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9977         (gst_collect_pads_start), (gst_collect_pads_stop),
9978         (gst_collect_pads_event): Collectpads now holds a reference
9979         to the GstPad that was added. Indeed we don't want to look
9980         at pads that might just go away with no warning...
9981
9982 2006-02-05  Julien MOUTTE  <julien@moutte.net>
9983
9984         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9985         (gst_collect_pads_start), (gst_collect_pads_stop),
9986         (gst_collect_pads_event), (gst_collect_pads_chain):
9987         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
9988         Mark Nauwelaerts's patch on bug #328491.
9989
9990 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
9993         (gst_utils_suite):
9994           Add some simple tests for gst_parse_bin_from_description() and
9995           gst_bin_find_unconnected_pad() (#329069).
9996
9997 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
9998
9999         * tools/gst-launch.c: (event_loop), (main):
10000           Catch errors during preroll (#320084).
10001
10002 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
10003
10004         * plugins/elements/gsttypefindelement.c:
10005         (gst_type_find_element_activate):
10006           Post TYPE_NOT_FOUND error message when typefinding
10007           is unsuccessful in the activate function as well.
10008
10009 2006-02-02  Wim Taymans  <wim@fluendo.com>
10010
10011         * docs/design/part-element-sink.txt:
10012         Updated doc.
10013
10014 2006-02-02  Wim Taymans  <wim@fluendo.com>
10015
10016         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10017         (gst_base_sink_render_object),
10018         (gst_base_sink_queue_object_unlocked):
10019         Only keep track of prerollable items when we are 
10020         prerolling.
10021         Before rendering after preroll, always check if we
10022         have queued items.
10023         Added some more debugging.
10024
10025 2006-02-02  Wim Taymans  <wim@fluendo.com>
10026
10027         * gst/gstelement.c: (gst_element_continue_state),
10028         (gst_element_set_state_func), (gst_element_change_state):
10029         Fixed #326576, been running this for quite some time with
10030         no regressions at all.
10031
10032 2006-02-02  Wim Taymans  <wim@fluendo.com>
10033
10034         * common/gst.supp:
10035         Added more suppressions
10036
10037 2006-02-02  Wim Taymans  <wim@fluendo.com>
10038
10039         * docs/design/part-element-sink.txt:
10040         Updated document.
10041
10042         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10043         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10044         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10045         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10046         (gst_base_sink_do_sync), (gst_base_sink_render_object),
10047         (gst_base_sink_preroll_object),
10048         (gst_base_sink_queue_object_unlocked),
10049         (gst_base_sink_queue_object), (gst_base_sink_event),
10050         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10051         (gst_base_sink_loop), (gst_base_sink_activate_pull),
10052         (gst_base_sink_get_position), (gst_base_sink_change_state):
10053         * libs/gst/base/gstbasesink.h:
10054         Totally refactored matching the design doc.
10055         Use two segments, one to clip incomming buffers and another to
10056         perform sync.
10057         Handle queueing correctly, bypass the queue when playing.
10058         Make EOS cancelable.
10059         Handle errors correctly when operating in pull based mode.
10060
10061         * tests/check/elements/fakesink.c: (GST_START_TEST),
10062         (fakesink_suite):
10063         Added new check for sinks.
10064
10065 2006-02-02  Wim Taymans  <wim@fluendo.com>
10066
10067         * gst/gstsegment.c: (gst_segment_clip):
10068         No reason to refuse to clip when start == -1
10069
10070 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
10071
10072         * docs/README:
10073         * docs/manual/intro-basics.xml:
10074         * docs/manual/intro-preface.xml:
10075         * docs/manual/manual.xml:
10076         * docs/pwg/advanced-dparams.xml:
10077         * docs/pwg/intro-basics.xml:
10078         * docs/pwg/intro-preface.xml:
10079         * docs/pwg/pwg.xml:
10080           describe dparams (controller) for plugins
10081           unify docs a little more
10082
10083 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
10084
10085         * docs/gst/gstreamer-sections.txt:
10086         * gst/gstutils.c: (element_find_unconnected_pad),
10087         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10088         * gst/gstutils.h:
10089           Add new API: gst_parse_bin_from_description() and
10090           gst_bin_find_unconnected_pad() (#329069).
10091
10092 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
10093
10094         * docs/manual/README:
10095           uncover a nasty detail of the docs build
10096
10097 2006-01-31  Wim Taymans  <wim@fluendo.com>
10098
10099         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10100         Don't cache duration messages if we're not going to use or
10101         free them.
10102
10103 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
10104
10105         * docs/manual/advanced-dparams.xml:
10106         * docs/pwg/advanced-dparams.xml:
10107           more dparam docs
10108         * gst/gstindex.c:
10109           fix docs
10110         * libs/gst/controller/lib.c: (gst_controller_init):
10111           init just once
10112
10113 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
10114
10115         * gst/gstelement.c: (gst_element_message_full):
10116           also show file/line/func if no additional debug was given
10117
10118 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
10119         
10120         * win32/vs7/grammar.vcproj:
10121           activate copy of autogenerated files for Release mode
10122
10123 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10124         
10125         * win32/common/libgstreamer.def:
10126           export gst_value_compare
10127
10128 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
10129
10130         * plugins/elements/Makefile.am:
10131         * plugins/elements/gstelements.c:
10132         * plugins/elements/gstfdsink.c: (_do_init),
10133         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10134         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10135         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10136         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10137         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10138         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10139         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10140         * plugins/elements/gstfdsink.h:
10141         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10142
10143 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
10144
10145         * docs/manual/advanced-dparams.xml:
10146           describe controller
10147         * docs/manual/advanced-position.xml:
10148         * docs/manual/basics-init.xml:
10149         * docs/manual/manual.xml:
10150         * docs/manual/titlepage.xml:
10151         * docs/pwg/pwg.xml:
10152         * docs/pwg/titlepage.xml:
10153           cleanup xml (more to come)
10154         * libs/gst/controller/gstcontroller.c:
10155           fix typo
10156
10157 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
10158         
10159         * win32/vs6/grammar.dsp:
10160           add autogen of gstmarshal.c,h for Release mode
10161                 
10162 2006-01-30  Wim Taymans  <wim@fluendo.com>
10163
10164         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10165         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10166         (gst_base_sink_handle_object), (gst_base_sink_event),
10167         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10168         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10169         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10170         (gst_base_sink_deactivate), (gst_base_sink_activate),
10171         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10172         (gst_base_sink_query), (gst_base_sink_change_state):
10173         Basesink cleanups, remove some old code.
10174         Handle the case where a subclass can preroll in the render
10175         method (mostly audiosinks).
10176         Handle more events.
10177         Remove some locks around variables that are now protected
10178         with the PREROLL_LOCK (clock_id, flushing, ..).
10179         Optimize position query some more, do correct locking.
10180         Remove old code to push queue in state change, this is not
10181         needed anymore since preroll blocks on all prerollable items 
10182         now.
10183         Almost implemented as described in design doc.
10184
10185 2006-01-30  Wim Taymans  <wim@fluendo.com>
10186
10187         * tests/check/gst/gstbin.c: (GST_START_TEST):
10188         Wait for refcount to settle down before checking.
10189
10190 2006-01-30  Wim Taymans  <wim@fluendo.com>
10191
10192         * docs/design/part-element-sink.txt:
10193         Pseudo code overview of desired sink behaviour regarding
10194         preroll.
10195
10196 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10197         * win32/vs6/grammar.dsp:
10198           fix some bugs in Release mode for autogenerated files
10199                 
10200 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10201         * win32/common/libgstbase.def:
10202         * win32/common/libgstreamer.def:
10203           export some new symbols: gst_base_src_set_format,
10204           gst_iterator_next, gst_structure_set_valist
10205
10206 2006-01-29  Julien MOUTTE  <julien@moutte.net>
10207
10208         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10209         Set pad functions unconditionally. Fixes #329105.
10210
10211 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
10212         * win32/vs8:
10213           add vs8 project files created by Sergey Scobich
10214
10215 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
10216
10217         * gst/gstutils.c: (gst_element_unlink_pads):
10218         Don't leak pad references.
10219
10220         * tests/check/elements/fakesink.c: (GST_START_TEST):
10221         * tests/check/generic/sinks.c: (GST_START_TEST):
10222         * tests/check/generic/states.c: (GST_START_TEST):
10223         * tests/check/gst/gstbin.c: (GST_START_TEST):
10224         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10225         * tests/check/gst/gstelement.c: (GST_START_TEST):
10226         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10227         * tests/check/gst/gstiterator.c: (GST_START_TEST):
10228         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10229         Fix a bunch of leaks. Make generic/sinks.c
10230         use a bit less cpu by slowing the buffer rate
10231         between fakesrc and fakesink.
10232         
10233 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
10234         * gst/gstcaps.c:
10235         * gst/gstelement.c: (gst_element_send_event):
10236         * gst/gstevent.c:
10237         * gst/gstinfo.c:
10238         * gst/gstiterator.c:
10239         * gst/gstiterator.h:
10240         * gst/gstpad.c: (gst_pad_send_event):
10241         * gst/gststructure.c:
10242         * gst/gsturi.c:
10243         * gst/gstutils.c:
10244         * gst/gstvalue.c:
10245         * libs/gst/base/gstadapter.c:
10246           doc fixes, to link to function, just write gst_cool_function(), don't
10247           prefix with '#'
10248
10249 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10250
10251         * plugins/elements/gsttee.c: (gst_tee_do_push),
10252         (gst_tee_handle_buffer):
10253         Always prefer an actual return value from a src
10254         pad in place of NOT_LINKED. This means we return
10255         WRONG_STATE when all src pads are WRONG_STATE
10256         instead of NOT_LINKED.
10257
10258         Lock when replacing the last message to prevent
10259         racing with the get_property method.
10260
10261         Add debug output
10262
10263 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10264
10265         * tests/check/Makefile.am:
10266         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10267         (main):
10268         Add a very simple check that should have caught the memleak I fixed
10269         last night (if not for the slice allocator hiding it)
10270
10271 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
10272
10273         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10274         (gst_bin_remove_func), (gst_bin_handle_message_func),
10275         (bin_query_duration_fold), (bin_query_generic_fold):
10276         Clean up references to the clock provider when disposed or when
10277         handling a clock-lost message from it.
10278
10279         Unref sinks when performing a query via gst_iterator_fold, as the
10280         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10281
10282         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10283         (gst_clock_set_master):
10284         Drop our reference to the master clock, if any, when we are disposed.
10285
10286         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10287         Chain up in dispose. 
10288
10289 2006-01-26  Wim Taymans  <wim@fluendo.com>
10290
10291         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10292         Add some debugging.
10293
10294 2006-01-26  Julien MOUTTE  <julien@moutte.net>
10295
10296         * plugins/elements/gsttee.c: (gst_tee_do_push),
10297         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10298         handles pad being NOT_LINKED or in WRONG_STATE.
10299
10300 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10301
10302         * win32/MANIFEST:
10303           more updating
10304
10305 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10306
10307         * win32/MANIFEST:
10308           remove obsolete entry
10309
10310 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
10311
10312         * docs/gst/gstreamer-sections.txt:
10313         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10314         (gst_bin_iterate_sources), (gst_bin_send_event):
10315         * gst/gstbin.h:
10316         * gst/gstelement.c: (gst_element_send_event):
10317         * gst/gstevent.c:
10318         * gst/gstpad.c: (gst_pad_send_event):
10319           added code for downstream events, reviewed docs in gstevent.c
10320
10321 2006-01-25  Julien MOUTTE  <julien@moutte.net>
10322
10323         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10324         We only query position using the clock in the playing state.
10325         Query peer in the other cases.
10326         * win32/common/config.h: Updates.
10327
10328 2006-01-24  Wim Taymans  <wim@fluendo.com>
10329
10330         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10331         A clock entry that is scheduled for the exact time of the
10332         clock is still in time.
10333
10334         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10335         (gst_base_sink_do_sync):
10336         Add some more debug info.
10337
10338 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10339
10340         * win32/vs7:
10341           Add new vs7 project files and solution.
10342
10343 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
10344
10345         * win32/vs7:
10346           all files removed as they were out-dated.
10347
10348 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10349
10350         * docs/random/release:
10351           update notes
10352         * gst/gstbin.c: (gst_bin_init):
10353         * gst/gstbus.c: (gst_bus_new):
10354         * gst/gstbus.h:
10355         * gst/gstpipeline.c: (gst_pipeline_init):
10356           use gst_bus_new(), improve logging, fix docs
10357         * win32/common/config.h:
10358           update for cvs build
10359
10360 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10361
10362         * autogen.sh:
10363           up required version of automake to 1.7
10364
10365 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
10366
10367         * win32/common/libgstreamer.def:
10368           export gst_buffer_is_metadata_writable
10369
10370 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
10371
10372         * docs/gst/gstreamer-sections.txt:
10373         * gst/gstevent.h:
10374           Add gst_event_replace() (#327001)
10375
10376 2006-01-20  Wim Taymans  <wim@fluendo.com>
10377
10378         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10379         Make it actually compile too..
10380
10381 2006-01-20  Wim Taymans  <wim@fluendo.com>
10382
10383         * gst/gstcaps.c:
10384         Clarify behaviour of _is_equal() when passing NULL parameters.
10385
10386         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10387         (gst_pad_set_caps):
10388         Cleanups. Don't unref NULL caps.
10389         When setting the same caps, protect caps of the pad with
10390         proper lock.
10391         Use full functionality of _is_equal() when comparing caps.
10392
10393 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10394
10395         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10396         Don't loop infinitely if there are no buffers to present. Partially
10397         fixes #327197, but collectpads is just broken for reusing elements
10398         to do multiple encodes atm.
10399
10400 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
10401
10402         * tools/gst-inspect.c: (print_element_features):
10403         * tools/gst-xmlinspect.c: (main):
10404         URL_HANDLER is not a plugin feature we can search for in
10405         the registry.
10406
10407 2006-01-19  Edward Hervey  <edward@fluendo.com>
10408
10409         * gst/gstelement.c: (gst_element_pads_activate): 
10410         When activating, do src pads first, then sink pads.
10411         When de-activating, do sink pads first, then src pads.
10412
10413 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10414
10415         * docs/gst/gstreamer-sections.txt:
10416         Add gst_index_add_associationv to the docs
10417
10418 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10419
10420         * gst/gstevent.c:
10421           Fix docs typo
10422
10423         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10424         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10425           Do some refactoring. Doesn't actually change functionality,
10426           but makes landing the DRAIN event easier later.
10427
10428 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
10429
10430         * docs/pwg/advanced-scheduling.xml:
10431           Update from 0.9.x to 0.10 API and make example a bit
10432           clearer.
10433
10434 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10435
10436         * docs/gst/gstreamer-sections.txt:
10437         Add gst_buffer_(is|make)_metadata_writable methods.
10438
10439 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
10440
10441         * docs/design/part-sparsestreams.txt:
10442         Update sparse streams doc, hopefully for greater clarity
10443
10444 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
10445
10446         * docs/design/part-events.txt:
10447         Remove mention of FILLER events.
10448         Add DRAIN event.
10449
10450         * docs/design/part-sparsestreams.txt:
10451         Write some things about using NEWSEGMENT to keep sparse streams
10452         flowing.
10453
10454 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10455
10456         * gst/gstbin.c: (gst_bin_dispose):
10457           Guard gst_object_unref call against a NULL object (dispose
10458           can theoretically be called multiple times).
10459           
10460 2006-01-18  Wim Taymans  <wim@fluendo.com>
10461
10462         * gst/gstbin.c: (gst_bin_element_set_state):
10463         * gst/gstclock.c: (gst_clock_id_wait):
10464         Added some more debug info.
10465
10466         * libs/gst/base/gstadapter.c:
10467         Added more docs.
10468
10469         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10470         (gst_base_sink_do_sync), (gst_base_sink_chain):
10471         Added some comments.
10472
10473 2006-01-18  Wim Taymans  <wim@fluendo.com>
10474
10475         * tests/check/Makefile.am:
10476         * tests/check/elements/fakesink.c: (chain_async_buffer),
10477         (chain_async), (chain_async_return), (GST_START_TEST),
10478         (fakesink_suite), (main):
10479         Added fakesink test that checks prerolling and clipping
10480         behaviour.
10481
10482         * tests/check/gst/gstutils.c: (GST_START_TEST):
10483         Make check run faster so that buildbots don't timeout.
10484
10485 2006-01-18  Wim Taymans  <wim@fluendo.com>
10486
10487         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10488         (gst_base_sink_do_sync):
10489         Some cleanups.
10490         When the sink finishes blocking on the preroll buffer, it can
10491         immediatly render it instead of rendering when the next buffer
10492         arrives.
10493
10494 2006-01-18  Wim Taymans  <wim@fluendo.com>
10495
10496         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10497         (gst_base_sink_get_property), (gst_base_sink_do_sync),
10498         (gst_base_sink_chain):
10499         Small cleanups.
10500         GST_ELEMENT_CLOCK and sync are protected with LOCK.
10501         Don't store _last_stop if the buffer is dropped.
10502
10503 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
10504
10505         * plugins/elements/gsttypefindelement.c:
10506         (gst_type_find_element_class_init):
10507           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10508           object method handler that sets the caps on the pad and we want
10509           that to happen before we emit the signal (fixes e.g. feeding a
10510           plain text file to decodebin).
10511
10512 2006-01-18  Christian Schaller  <Christian@fluendo.com>
10513
10514         * gst/gstplugin.c: Add MPL and Proprietary as license options
10515
10516 2006-01-18  Andy Wingo  <wingo@pobox.com>
10517
10518         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10519         symbol was exported before, it appears this was just an oversight.
10520         Fixes #168703.
10521         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10522
10523         * gst/gstindex.c (gst_index_add_associationv): Changed int in
10524         prototype to gint. OK since this prototype was not in the header.
10525
10526 2006-01-17  Andy Wingo  <wingo@pobox.com>
10527
10528         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10529         registry while we remove plugins.
10530
10531         * tools/gst-inspect.c (print_element_info): Don't unref the
10532         factory arg, that should be the responsibility of whatever code
10533         received the ref. Fixes a double-free when called from
10534         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10535         (main): Unref the factory if we have one.
10536         (print_element_list): No change -- relies on the
10537         plugin_feature_list_free to free the list of features.
10538
10539 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
10540
10541         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10542         (gst_buffer_make_metadata_writable):
10543         * gst/gstbuffer.h:
10544         * libs/gst/base/gstbasetransform.c:
10545         (gst_base_transform_prepare_output_buf):
10546         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10547         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10548           Replace gst_buffer_(make|is)_metadata_writable patch now
10549           that the release is out.
10550
10551 2006-01-17  Andy Wingo  <wingo@pobox.com>
10552
10553         * gst/gstregistry.c: Reflow design comment. Update so as to speak
10554         in the present tense without reference to versions.
10555
10556         * gst/gstregistry.c (gst_registry_add_plugin)
10557         (gst_registry_remove_plugin, gst_registry_remove_feature)
10558         (gst_registry_find_feature, gst_registry_get_feature_list)
10559         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10560         (gst_registry_lookup, gst_registry_scan_path)
10561         (_gst_registry_remove_cache_plugins)
10562         (gst_registry_get_feature_list_by_plugin): Add argument
10563         validation.
10564
10565 === release 0.10.2 ===
10566
10567 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
10568
10569         * configure.ac:
10570           releasing 0.10.2, "If man is five"
10571
10572 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10573
10574         * gst/gstbuffer.c:
10575         * gst/gstbuffer.h:
10576         * libs/gst/base/gstbasetransform.c:
10577         (gst_base_transform_prepare_output_buf):
10578         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10579         * tests/check/gst/gstbuffer.c: (gst_test_suite):
10580           Back out patch until after the release.
10581
10582 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10583
10584         * gst/gstminiobject.c:
10585           Spelling fix in docs.
10586         * ChangeLog - remove conflict indicator
10587
10588 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
10589
10590         Reviewed By: Andy Wingo
10591
10592         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10593         (gst_buffer_make_metadata_writable):
10594         * gst/gstbuffer.h:
10595           Add gst_buffer_(is|make)_metadata_writable as analogues of
10596           gst_buffer_(is|make)_writable.
10597
10598         * libs/gst/base/gstbasetransform.c:
10599         (gst_base_transform_prepare_output_buf):
10600         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10601           Use name gst_buffer_(is|make)_metadata_writable functions.
10602
10603         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10604           Test gst_buffer_(is|make)_metadata_writable
10605         
10606           (Closes: #324162)
10607
10608 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10609
10610         * docs/manual/Makefile.am:
10611           don't do parallel make
10612         * configure.ac:
10613           AC_SUBST HOST_CPU
10614         * win32/common/config.h.in:
10615           add generations for HOST_CPU and GST_MAJORMINOR
10616         * win32/common/config.h:
10617           commit generated result
10618
10619 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * docs/manual/appendix-integration.xml:
10622           Update GNOME integration section to use gst_init_get_option_group()
10623           instead of the old popt stuff (#322911). Also, GNOME applications
10624           should  now use gconf*sink and gconf*src instead of the old gconf
10625           helper lib we had.
10626
10627 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
10628
10629
10630         * docs/gst/gstreamer-docs.sgml:
10631         * docs/gst/gstreamer-sections.txt:
10632         * docs/libs/gstreamer-libs-sections.txt:
10633           add new API entries to the docs
10634         * libs/gst/controller/Makefile.am:
10635         * libs/gst/controller/gstcontroller.c:
10636         * libs/gst/controller/gstcontroller.h:
10637         * libs/gst/controller/gstcontrollerprivate.h:
10638         * libs/gst/controller/gsthelper.c:
10639         * libs/gst/controller/gstinterpolation.c:
10640           move private structs to private header
10641         * po/README:
10642           gstreamer-0.7 -> gstreamer-0.10
10643         * tests/check/libs/struct_i386.h:
10644           remove private structs
10645
10646 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10647
10648         * plugins/indexers/Makefile.am:
10649           Fixes as part of #317048
10650
10651 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10652
10653         * plugins/indexers/Makefile.am:
10654           fix #316086 - compilation when mmap is missing
10655
10656 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
10657
10658         * libs/gst/base/gstbasesink.c:
10659           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
10660           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10661         * win32/common/config.h:
10662           added some defines GST_MAJORMINOR and HOST_CPU
10663         * win32/common/libgstbase.def:
10664         * win32/common/libgstreamer.def:
10665           added some exported functions.
10666
10667 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10668
10669         * libs/gst/controller/gstcontroller.c:
10670         (gst_controlled_property_set_interpolation_mode),
10671         (gst_controlled_property_new):
10672         * libs/gst/controller/gstcontroller.h:
10673         * libs/gst/controller/gstinterpolation.c:
10674         (interpolate_none_get_string_value_array):
10675           make G_TYPE_STRING controlable
10676
10677 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
10678
10679         * tools/README:
10680         * tools/gst-feedback.1.in:
10681         * tools/gst-inspect.1.in:
10682         * tools/gst-launch.1.in:
10683         * tools/gst-md5sum.1.in:
10684         * tools/gst-typefind.1.in:
10685         * tools/gst-xmlinspect.1.in:
10686         * tools/gst-xmllaunch.1.in:
10687           cleanup man-pages, remove reference to gst-register, document env-vars
10688
10689 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
10690
10691         * gst/gstbuffer.c: (gst_buffer_span):
10692           gst_buffer_span should copy the timestamp of the first buffer
10693           if they were both originally overlapping subbuffers of the 
10694           same parent, using the same logic as the 'slow copy' case.
10695
10696 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
10697
10698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10699           Need to awaken ALL the pads when we pop a buffer, otherwise
10700           collectpads only works when there is 2 input streams.
10701
10702 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
10703
10704         * docs/random/ensonic/media-device-daemon.txt:
10705           more ideas (dbus)
10706         * gst/gstbuffer.c:
10707           fix doc example, add clarification
10708         * tools/gst-launch.1.in:
10709           add initial info about GST_PLUGIN_PATH, needs more work
10710
10711 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         * docs/manual/basics-bins.xml:
10714         * docs/manual/basics-elements.xml:
10715         * docs/manual/intro-basics.xml:
10716           Some more minor docs additions and updates.
10717
10718 2006-01-11  Wim Taymans  <wim@fluendo.com>
10719
10720         * docs/manual/basics-bins.xml:
10721         * docs/manual/basics-elements.xml:
10722         Some small fixes as pointed out by Ser-ver on IRC.
10723
10724 2006-01-10  Edward Hervey  <edward@fluendo.com>
10725
10726         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10727         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10728         the single-segment mode.
10729
10730 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
10731
10732         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10733
10734         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10735         (gst_base_src_perform_seek), (gst_base_src_send_event),
10736         (gst_base_src_set_property), (gst_base_src_get_property),
10737         (gst_base_src_loop), (gst_base_src_start),
10738         (gst_base_src_activate_push):
10739         * libs/gst/base/gstbasesrc.h:
10740           Name (private) union; makes Sun's Forte compiler happy (#324900).
10741
10742 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10743
10744         * README:
10745           gst-register is gone.
10746
10747 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10748
10749         * gst/gstvalue.c: (_gst_value_initialize):
10750           make the G_TYPE_DATE instantiation work if debug is disabled
10751
10752 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
10753
10754         * gst/gstmessage.c: (gst_message_parse_tag),
10755         (gst_message_parse_error), (gst_message_parse_warning):
10756           Don't crash when return location for error/warning debug
10757           string is NULL; add fact that return locations can be
10758           NULL to docs where appropriate.
10759
10760 2006-01-05  Wim Taymans  <wim@fluendo.com>
10761
10762         * gst/gstplugin.c: (gst_plugin_load_file):
10763         Replace strdup by g_strdup.
10764
10765 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10766
10767         * docs/pwg/advanced-types.xml:
10768           fix doc borkage
10769
10770 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10771
10772         submitted by: Abel Cheung
10773
10774         * po/LINGUAS:
10775         * po/zh_TW.po:
10776           Added Chinese (traditional) translation
10777
10778 2006-01-04  Wim Taymans  <wim@fluendo.com>
10779
10780         * docs/manual/basics-pads.xml:
10781         * docs/plugins/Makefile.am:
10782         * docs/plugins/gstreamer-plugins-docs.sgml:
10783         * docs/plugins/gstreamer-plugins-sections.txt:
10784         * docs/pwg/advanced-clock.xml:
10785         * docs/pwg/advanced-scheduling.xml:
10786         * docs/pwg/advanced-types.xml:
10787         * plugins/elements/gstfdsink.c:
10788         * plugins/elements/gstfdsrc.c:
10789         * plugins/elements/gstfdsrc.h:
10790         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10791         * plugins/elements/gstidentity.h:
10792         * plugins/elements/gstqueue.h:
10793         * plugins/elements/gsttee.c:
10794         * plugins/elements/gsttee.h:
10795         * plugins/elements/gsttypefindelement.c:
10796         (gst_type_find_element_class_init):
10797         * plugins/elements/gsttypefindelement.h:
10798         Small updates to various docs.
10799         Added core plugins to docs.
10800
10801 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10802
10803         * common/gst.supp:
10804           add a suppression for liboil's uninitialized variable
10805
10806 2006-01-02  James Livingston  <jrl at ids dot org dot au>
10807
10808         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * gst/gstutils.h:
10811           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10812           macro, so that gcc doesn't complain if the -Wmissing-prototypes
10813           compiler switch is being used (#325429).
10814
10815 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
10816
10817         * gst/gstbin.c: (gst_bin_query):
10818           Disable duration query caching in bins until it gets
10819           fixed (see #324807).
10820
10821 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10822
10823         * tools/gst-inspect.c: (print_element_properties_info):
10824           Handle properties of POINTER and BOXED type.
10825
10826 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
10827
10828         * gst/gst.c: (init_post):
10829           Init tags stuff and some other things before loading
10830           any static plugins (there may be other static plugins
10831           than just the GStreamer ones, and they may want to
10832           register their own tags or formats or whatever, and
10833           preferably without segfaulting).
10834
10835         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10836           Print at least a warning in the debug logs if we drop a
10837           query just because we don't know how to adjust the value
10838           in the particular format.
10839
10840 2005-12-24  David Schleef  <ds@schleef.org>
10841
10842         * tools/gstreamer-completion:
10843           Replacement for gst-complete written in sh and sed.  Only
10844           completes names of features, but that's 90% of what I want
10845           it for.  Properties are not available in registry.xml.  (Maybe
10846           they should be...)
10847
10848 === release 0.10.1 ===
10849
10850 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
10851
10852         * configure.ac:
10853           releasing 0.10.1, "Nollaig chridheil"
10854
10855 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
10856
10857         * docs/faq/cvs.xml:
10858           Add missing quote, should be make ERROR_CFLAGS="".
10859
10860 2005-12-20  Wim Taymans  <wim@fluendo.com>
10861
10862         * docs/design/part-trickmodes.txt:
10863         More documentation on trickmodes.
10864
10865 2005-12-20  Edward Hervey  <edward@fluendo.com>
10866
10867         * gst/gstcaps.c: (gst_static_caps_get_type):
10868         * gst/gstcaps.h:
10869           API addition: GST_TYPE_STATIC_CAPS
10870         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
10871         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
10872         * gst/gstpadtemplate.h:
10873           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
10874         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
10875         bindings.
10876
10877 2005-12-18  Wim Taymans  <wim@fluendo.com>
10878
10879         * libs/gst/base/gstadapter.c:
10880         * libs/gst/base/gstadapter.h:
10881         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10882         (gst_base_sink_get_position):
10883         * libs/gst/base/gstbasesink.h:
10884         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10885         (gst_base_src_default_query), (gst_base_src_default_do_seek),
10886         (gst_base_src_do_seek), (gst_base_src_perform_seek),
10887         (gst_base_src_send_event), (gst_base_src_update_length),
10888         (gst_base_src_get_range), (gst_base_src_loop),
10889         (gst_base_src_start):
10890         * libs/gst/base/gstbasesrc.h:
10891         * libs/gst/base/gstbasetransform.h:
10892         * libs/gst/base/gstcollectpads.h:
10893         * libs/gst/base/gstpushsrc.c:
10894         * libs/gst/base/gstpushsrc.h:
10895         * libs/gst/dataprotocol/dataprotocol.c:
10896         * libs/gst/dataprotocol/dataprotocol.h:
10897         * libs/gst/net/gstnetclientclock.h:
10898         * libs/gst/net/gstnettimeprovider.h:
10899         Documentation updates.
10900
10901 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
10902
10903         * docs/manual/basics-helloworld.xml:
10904           Remove superfluous closing bracket in helloworld example.
10905
10906 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
10907
10908         * tools/gst-launch.1.in:
10909           Update gst-launch man page; add a section with useful
10910           environment variables. Fixes #323882.
10911
10912 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
10913
10914         * gst/gst.c:
10915         * gst/gst_private.h:
10916           change some char* into char[]
10917
10918 2005-12-16  Wim Taymans  <wim@fluendo.com>
10919
10920         * gst/gstregistryxml.c: (load_feature):
10921         Cleanups.
10922         Don't use g_object_unref on GstObjects so that we avoid
10923         leaks on unsafe glibs.
10924
10925 2005-12-16  Wim Taymans  <wim@fluendo.com>
10926
10927         * gst/gstbin.c: (gst_bin_recalc_state):
10928         Small doc updates.
10929
10930 2005-12-16  Wim Taymans  <wim@fluendo.com>
10931
10932         * common/check.mak:
10933         Added make forever target for check.
10934
10935 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10936
10937         * gst/gst.c: (init_post):
10938           make the registry cache file HOST_CPU-dependent
10939
10940 2005-12-16  Andy Wingo  <wingo@pobox.com>
10941
10942         * plugins/elements/gstbufferstore.c
10943         (gst_buffer_store_cleared_func): Pay attention to g_list_append
10944         return value.
10945
10946         * tests/check/gst/gstobject.c
10947         (test_fake_object_name_threaded_unique): Pay attention to
10948         g_list_sort return value.
10949
10950 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
10951
10952         * tools/gst-feedback-m.m:
10953           Update for 0.9/0.10 (fixes #323870).
10954
10955 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
10956
10957         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
10958           Fix lcopy for mini objects, the mini object needs to be ref'ed.
10959           
10960         * tests/check/gst/gstminiobject.c: (my_foo_init),
10961         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
10962         (test_value_collection), (gst_mini_object_suite):
10963           Add test to ensure refcounts end up as expected when passing
10964           GstMiniObjects through g_object_get() and g_object_set().
10965
10966 2005-12-14  Julien MOUTTE  <julien@moutte.net>
10967
10968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10969         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
10970         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
10971         of collectpads. This version removes a lot of races without
10972         touching API/ABI. Yay !
10973
10974 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
10975
10976         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
10977           Don't allow activation of a srcpad in pull_range if it has no
10978           getrange function.
10979           Change some debug statements to be a little clearer
10980
10981         * plugins/elements/gsttypefindelement.c:
10982         (gst_type_find_handle_src_query):
10983           Check that we have a peer before executing queries thereupon.
10984
10985         * tests/examples/metadata/read-metadata.c: (message_loop):
10986           Use gst_bus_pop instead of gst_bus_poll when we just want it to
10987           immediately return us any available message with 0 timeout.
10988
10989 2005-12-12  Michael Smith  <msmith@fluendo.com>
10990
10991         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10992           Don't unref factories after calling them.
10993         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
10994         * plugins/elements/gsttypefindelement.c:
10995         (gst_type_find_element_chain):
10996           Free lists of factories after using them. Fixing typefinding memory
10997           leaks.
10998
10999 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11000
11001         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11002         (gst_plugin_feature_load):
11003           more meaningful debug output
11004         * configure.ac:
11005         * tests/Makefile.am:
11006         * tests/old/examples/Makefile.am:
11007           make make distcheck happy again
11008
11009 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11010
11011         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11012           Catch the special case where we are operating chain-based,
11013           but the downstream peer pad has no chain function. Emit a
11014           custom error message in this case instead of letting the
11015           core generate one implying that this is some sort of core
11016           bug. It's not, it just means that whatever got plugged
11017           into the pipeline downstream when we announced the type
11018           can only operate pull-based, while our source can only
11019           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11020           Error string has not been marked for translation yet, as
11021           it probably needs some more work first.
11022
11023         (gst_type_find_element_get_best_possibility):
11024           Add helper function to find the best of all available
11025           found possibilities that qualify given the min. threshold.
11026
11027         (gst_type_find_element_handle_event):
11028           Fix the case where we get an EOS while still in TYPEFIND
11029           mode (we want to chose the best of all possible types,
11030           not just the first type that happens to be in our unsorted
11031           list of possible types).
11032
11033         (gst_type_find_element_chain):
11034           Make sure we return GST_FLOW_ERROR when we errored out
11035           in stop_typefinding(); also, don't just find the best of
11036           all found type entries and then use the last examined
11037           type entry, but actually use the best entry.
11038
11039 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11040
11041         * tests/examples/typefind/typefind.c: (type_found):
11042         * tests/examples/xml/runxml.c: (xml_loaded):
11043           More gcc4 fixes and a mem leak fix.
11044
11045 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11046
11047         * tests/examples/xml/createxml.c: (object_saved):
11048           gcc 4 fixes
11049
11050 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11051
11052         * tests/Makefile.am:
11053           enable the examples even more
11054
11055 2005-12-12  Andy Wingo  <wingo@pobox.com>
11056
11057         * libs/gst/net/gstnettimeprovider.c
11058         (gst_net_time_provider_class_init, gst_net_time_provider_init)
11059         (gst_net_time_provider_set_property)
11060         (gst_net_time_provider_get_property):
11061         API addition: Export "active" as a GObject property.
11062         (gst_net_time_provider_thread): Only respond to time queries if
11063         the time provider is active.
11064
11065         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11066         NetTimeProvider, preserving binary compat.
11067
11068 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11069
11070         * tests/examples/controller/audio-example.c: (main):
11071         * tests/examples/launch/Makefile.am:
11072           convert comments again
11073
11074 2005-12-12  Wim Taymans  <wim@fluendo.com>
11075
11076         * libs/gst/base/gstpushsrc.c:
11077         Fix typo.
11078
11079 2005-12-12  Wim Taymans  <wim@fluendo.com>
11080
11081         * docs/libs/gstreamer-libs-sections.txt:
11082         Added new symbol to docs.
11083
11084         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11085         (gst_base_src_init), (gst_base_src_set_format),
11086         (gst_base_src_default_query), (gst_base_src_query),
11087         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11088         (gst_base_src_perform_seek), (gst_base_src_send_event),
11089         (gst_base_src_default_event), (gst_base_src_event_handler),
11090         (gst_base_src_set_property), (gst_base_src_get_property),
11091         (gst_base_src_wait), (gst_base_src_do_sync),
11092         (gst_base_src_update_length), (gst_base_src_get_range),
11093         (gst_base_src_check_get_range), (gst_base_src_loop),
11094         (gst_base_src_default_negotiate), (gst_base_src_start),
11095         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11096         (gst_base_src_change_state):
11097         * libs/gst/base/gstbasesrc.h:
11098         Implement seeking to other formats than _BYTES.
11099         Implement more seeking methods correctly.
11100         Doc updates.
11101         Added query vmethod.
11102         Added do_seek vmethod to make life easier for subclasses
11103         when seeking.
11104         API addition: gst_base_src_set_format()
11105
11106 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11107
11108         * tests/examples/Makefile.am:
11109           added that too
11110
11111 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
11112
11113         * configure.ac:
11114         * docs/random/ensonic/media-device-daemon.txt:
11115         * tests/examples/controller/.cvsignore:
11116         * tests/examples/controller/Makefile.am:
11117         * tests/examples/controller/audio-example.c: (main):
11118         * tests/examples/helloworld/.cvsignore:
11119         * tests/examples/helloworld/Makefile.am:
11120         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11121         * tests/examples/launch/.cvsignore:
11122         * tests/examples/launch/Makefile.am:
11123         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11124         * tests/examples/metadata/.cvsignore:
11125         * tests/examples/metadata/Makefile.am:
11126         * tests/examples/metadata/read-metadata.c: (message_loop),
11127         (make_pipeline), (print_tag), (main):
11128         * tests/examples/queue/.cvsignore:
11129         * tests/examples/queue/Makefile.am:
11130         * tests/examples/queue/queue.c: (event_loop), (main):
11131         * tests/examples/typefind/.cvsignore:
11132         * tests/examples/typefind/Makefile.am:
11133         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11134         (main):
11135         * tests/examples/xml/.cvsignore:
11136         * tests/examples/xml/Makefile.am:
11137         * tests/examples/xml/createxml.c: (object_saved), (main):
11138         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11139         * tests/old/examples/Makefile.am:
11140         * tests/old/examples/TODO:
11141         * tests/old/examples/controller/.cvsignore:
11142         * tests/old/examples/controller/Makefile.am:
11143         * tests/old/examples/controller/audio-example.c:
11144         * tests/old/examples/helloworld/.cvsignore:
11145         * tests/old/examples/helloworld/Makefile.am:
11146         * tests/old/examples/helloworld/helloworld.c:
11147         * tests/old/examples/launch/.cvsignore:
11148         * tests/old/examples/launch/Makefile.am:
11149         * tests/old/examples/launch/mp3parselaunch.c:
11150         * tests/old/examples/launch/mp3play:
11151         * tests/old/examples/manual/Makefile.am:
11152         * tests/old/examples/metadata/Makefile.am:
11153         * tests/old/examples/metadata/read-metadata.c:
11154         * tests/old/examples/queue/.cvsignore:
11155         * tests/old/examples/queue/Makefile.am:
11156         * tests/old/examples/queue/queue.c:
11157         * tests/old/examples/typefind/.cvsignore:
11158         * tests/old/examples/typefind/Makefile.am:
11159         * tests/old/examples/typefind/typefind.c:
11160         * tests/old/examples/xml/.cvsignore:
11161         * tests/old/examples/xml/Makefile.am:
11162         * tests/old/examples/xml/createxml.c:
11163         * tests/old/examples/xml/runxml.c:
11164           applied some simple fixing to some examples
11165           re-enabled the working examples
11166
11167 2005-12-12  Wim Taymans  <wim@fluendo.com>
11168
11169         * gst/gstsegment.c: (gst_segment_init),
11170         (gst_segment_set_last_stop), (gst_segment_set_seek),
11171         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11172         (gst_segment_to_running_time):
11173         Added more documentation.
11174         Make sure the last_pos value is updated properly.
11175         Make sure to_stream_time and to_running_time don't
11176         operate on wrong values.
11177
11178         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11179         Update check.
11180
11181 2005-12-12  Michael Smith  <msmith@fluendo.com>
11182
11183         * plugins/elements/gsttypefindelement.c: (free_entry),
11184         (gst_type_find_element_chain):
11185           Now that we're not leaking factories, make sure we keep references
11186           to them while we need them.
11187
11188 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11189
11190         * tests/check/gst/struct_i386.h:
11191           ifdef out the XML structs
11192
11193 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11194
11195         * gst/gstvalue.c: (gst_value_transform_double_fraction):
11196           floor is not needed, F is always positive; this obviates the
11197           need for adding -lm when building without libxml
11198
11199 2005-12-12  Wim Taymans  <wim@fluendo.com>
11200
11201         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11202         Take current playback rate into account when reporting
11203         the position.
11204
11205 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11206
11207         * docs/manual/mime-world.fig:
11208           Let's try this again, this time with a file that is
11209           actually in XFig format.
11210
11211 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11212
11213         * docs/manual/mime-world.fig:
11214           Add audioconvert element to diagram so that it
11215           matches the text and the code (fixes #319526).
11216
11217 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11218
11219         * docs/pwg/building-chainfn.xml:
11220         * docs/pwg/building-pads.xml:
11221         * docs/pwg/building-state.xml:
11222         * docs/pwg/other-source.xml:
11223           Update state change stuff for 0.10 (fixes #322969).
11224
11225 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11226
11227         * docs/manual/advanced-dataaccess.xml:
11228         * docs/manual/appendix-checklist.xml:
11229         * docs/manual/appendix-programs.xml:
11230         * docs/manual/basics-pads.xml:
11231         * docs/manual/highlevel-components.xml:
11232         * docs/manual/manual.xml:
11233           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11234           add converters in front of pipelines; remove curly
11235           brackets for threads stuff, they no longer exist; use
11236           GST_TYPE_FRACTION for framerates; update some pieces of
11237           code to 0.10, but there's plenty more to do.
11238
11239         * docs/manual/appendix-porting.xml:
11240           Expand on asynchroneous state changes; s/0.9/0.10/;
11241           mention disappearance of gst_init_get_popt_table()
11242           (fixes #322916).
11243
11244 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11245
11246         * docs/faq/using.xml:
11247           Spider no longer exists, and neither does gst-launch-ext.
11248           Update examples to use decodebin and playbin and put
11249           converters in front of sinks (fixes #323726).
11250
11251 2005-12-09  Michael Smith  <msmith@fluendo.com>
11252
11253         * plugins/elements/gsttypefindelement.c: (find_peek),
11254         (gst_type_find_element_chain):
11255           Fix leaking element factories in typefinding.
11256           Fix problem where we forgot about a probable type on non-seekable
11257           files, and thus later mis-typefound it.
11258
11259 2005-12-09  Michael Smith  <msmith@fluendo.com>
11260
11261         * common/m4/gst-makecontext.m4:
11262         * common/m4/gst-mcsc.m4:
11263         * configure.ac:
11264         * win32/common/config.h:
11265         * win32/common/config.h.in:
11266           Remove makecontext stuff; not used in 0.10 and causes problems on
11267           HPUX according to bug #322441
11268
11269 2005-12-07  Wim Taymans  <wim@fluendo.com>
11270
11271         * tests/check/Makefile.am:
11272         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11273         (main):
11274         * tests/check/libs/struct_i386.h:
11275         Added ABI check for libs
11276
11277 2005-12-07  Wim Taymans  <wim@fluendo.com>
11278
11279         * tests/check/Makefile.am:
11280         And add the struct_i386.h to dist.
11281
11282 2005-12-07  Wim Taymans  <wim@fluendo.com>
11283
11284         * tests/check/Makefile.am:
11285         * tests/check/gst/.cvsignore:
11286         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11287         (main):
11288         * tests/check/gst/struct_i386.h:
11289         Added check for ABI compatibility.
11290
11291 2005-12-07  Wim Taymans  <wim@fluendo.com>
11292
11293         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11294         (gst_fake_src_get_times), (gst_fake_src_create):
11295         Fix broken sync option, fixes #323259
11296
11297 2005-12-07  Wim Taymans  <wim@fluendo.com>
11298
11299         * gst/gstbuffer.c:
11300         Small docs update.
11301
11302         * gst/gstcaps.c: (gst_caps_is_equal):
11303         Don't assert on NULL <--> X. Fixes #323260
11304
11305         * gst/gstminiobject.c: (gst_mini_object_replace):
11306         If we're doing atomic operations, we might just as well use
11307         the proper way to get an atomic pointer.
11308
11309         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11310         Clean up debugging.
11311
11312 2005-12-07  Michael Smith  <msmith@fluendo.com>
11313
11314         * gst/parse/grammar.y:
11315           Remove handling of { } for threads.
11316
11317 2005-12-06  David Schleef  <ds@schleef.org>
11318
11319         * libs/gst/base/gstbasetransform.c: speling fix.
11320
11321 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11322
11323         * docs/libs/tmpl/gstdataprotocol.sgml:
11324         * docs/random/omega/testing/gstobject.c:
11325         * gst/gst.c:
11326         * gst/gstclock.c:
11327         * gst/gstelement.c:
11328         * gst/gstelementfactory.c:
11329         * gst/gsterror.c:
11330         * gst/gstevent.c:
11331         * gst/gstghostpad.c:
11332         * gst/gstinfo.c:
11333         * gst/gstpadtemplate.c:
11334         * gst/gstregistryxml.c:
11335         * gst/gsttaglist.c:
11336         * gst/gsttagsetter.c:
11337         * gst/gsttypefind.c:
11338         * gst/gstvalue.c:
11339         * libs/gst/base/gstbasesrc.c:
11340         * libs/gst/net/gstnetclientclock.c:
11341         * libs/gst/net/gstnettimeprovider.c:
11342         * plugins/elements/gstfakesrc.c:
11343         * plugins/elements/gstfdsrc.c:
11344         * plugins/elements/gstfilesrc.c:
11345         * plugins/elements/gstidentity.c:
11346         * plugins/elements/gstqueue.c:
11347         * plugins/elements/gsttypefindelement.c:
11348         * plugins/indexers/gstfileindex.c:
11349         * plugins/indexers/gstmemindex.c:
11350         * tests/check/gst/gsttag.c:
11351         * tests/old/examples/cutter/cutter.c:
11352         * tests/old/examples/mixer/mixer.c:
11353         * tests/old/examples/xml/runxml.c: (main):
11354         * tests/old/testsuite/caps/normalisation.c:
11355         * tests/old/testsuite/debug/global.c:
11356         * tests/old/testsuite/parse/parse1.c:
11357         * tools/gst-xmlinspect.c:
11358         * win32/common/dirent.c:
11359           expand tabs
11360
11361 === release 0.10.0 ===
11362
11363 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11364
11365         * configure.ac:
11366           releasing 0.10.0, "Maroilles"
11367
11368 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11369
11370         submitted by: Funda Wang <fundawang@linux.net.cn>
11371
11372         * po/LINGUAS:
11373         * po/zh_CN.po:
11374           added Chinese (Traditional) translation
11375
11376 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11377
11378         * docs/gst/gstreamer-sections.txt:
11379         * docs/libs/tmpl/gstdataprotocol.sgml:
11380         * docs/random/thomasvs/TODO:
11381         * gst/gstutils.c:
11382         * gst/gstutils.h:
11383           fix docs
11384
11385 2005-12-05  Andy Wingo  <wingo@pobox.com>
11386
11387         patch by: Wim Taymans <wim@fluendo.com>
11388
11389         * libs/gst/base/gstbasetransform.c
11390         (gst_base_transform_prepare_output_buf)
11391         (gst_base_transform_buffer_alloc):
11392         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11393         alloc_buffer_and_set_caps.
11394
11395         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11396         set_caps on the source pad.
11397         (gst_pad_alloc_buffer_and_set_caps): New function, does what
11398         alloc_buffer used to do. Fixes #322874.
11399
11400         * docs/gst/gstreamer-sections.txt: 
11401         * docs/design/part-negotiation.txt: 
11402         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11403         changes.
11404
11405 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11406
11407         patch by: Sebastien Moutte
11408
11409         * win32/MANIFEST:
11410         * win32/common/config.h.in:
11411         * win32/vs6/libgstcontroller.dsp:
11412           win32 build fixes
11413
11414 2005-12-05  Wim Taymans  <wim@fluendo.com>
11415
11416         * gst/gstcaps.c: (gst_caps_is_equal):
11417         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11418         (gst_fake_src_create):
11419         Back out previous code changes, leave doc updates, file bugs 
11420         instead. 
11421
11422 2005-12-05  Wim Taymans  <wim@fluendo.com>
11423
11424         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11425         (gst_fake_src_get_times), (gst_fake_src_create):
11426         * plugins/elements/gstfakesrc.h:
11427         Fix broken sync code.
11428
11429 2005-12-05  Wim Taymans  <wim@fluendo.com>
11430
11431         * gst/gstcaps.c: (gst_caps_is_equal):
11432         Comparing NULL against !NULL yields different caps, not a
11433         failure.
11434
11435 2005-12-05  Wim Taymans  <wim@fluendo.com>
11436
11437         * gst/gstpipeline.c:
11438         Fix small typo in docs.
11439
11440 2005-12-05  Andy Wingo  <wingo@pobox.com>
11441
11442         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
11443
11444         * gst/gst.c (init_post): remove hard-coded 0.9 location for
11445         registries/plugins with a MAJORMINOR one.
11446         (plugin_desc): Rename library from gstcoreleements to
11447         staticelements. Fixes #323222.
11448
11449 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
11450
11451         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11452           Change debug category to 'collectpads' from 'collect_pads'
11453           (fixes #323250).
11454
11455 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11456
11457         patch by: Sebastien Moutte
11458
11459         * libs/gst/controller/gstinterpolation.c:
11460           use convert function for uint64/double
11461         * win32/vs6/libgstcontroller.dsp:
11462           link to GLib
11463
11464 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11465
11466         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11467         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11468         * gst/gstutils.h:
11469         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11470           add tests that seem to show that the guint64/gdouble conversions
11471           are correct.
11472
11473 2005-12-02  Wim Taymans  <wim@fluendo.com>
11474
11475         * gst/gstregistry.c: (gst_registry_add_path):
11476         * gst/gstregistry.h:
11477         * gst/gstregistryxml.c:
11478         Fix docs again.
11479
11480 2005-12-02  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/gstutils.c: (gst_util_uint64_scale_int64),
11483         (gst_util_uint64_scale_int):
11484         Small cleanup.
11485
11486         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11487         Add debug log line.
11488
11489         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11490         Add FIXME.
11491
11492 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11493
11494         * win32/MANIFEST:
11495         * win32/common/config.h:
11496         * win32/vs6/gstreamer.dsw:
11497         * win32/vs6/libgstcoreelements.dsp:
11498         * win32/vs6/libgstelements.dsp:
11499           renamed core elements plugin
11500
11501 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11502
11503         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11504         (get_candidates):
11505           do piece-wise major/minor comparison so 0.9 < 0.10
11506           also allow .exe extensions for tools
11507
11508 2005-12-02  Michael Smith  <msmith@fluendo.com>
11509
11510         * gst/gst.c:
11511           Escape a % to make gtkdoc happier; bug 322958.
11512
11513 === release 0.9.7 ===
11514
11515 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11516
11517         * configure.ac:
11518           releasing 0.9.7, "My Dog Has No Nose"
11519
11520 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11521
11522         * common/gst-xmlinspect.py:
11523         * configure.ac:
11524         * docs/libs/tmpl/gstdataprotocol.sgml:
11525         * docs/random/release:
11526         * po/af.po:
11527         * po/az.po:
11528         * po/bg.po:
11529         * po/ca.po:
11530         * po/cs.po:
11531         * po/de.po:
11532         * po/en_GB.po:
11533         * po/fr.po:
11534         * po/it.po:
11535         * po/nb.po:
11536         * po/nl.po:
11537         * po/ru.po:
11538         * po/sq.po:
11539         * po/sr.po:
11540         * po/sv.po:
11541         * po/tr.po:
11542         * po/uk.po:
11543         * po/vi.po:
11544         * win32/common/config.h:
11545         * win32/common/config.h.in:
11546         * win32/vs6/gst_inspect.dsp:
11547         * win32/vs6/gst_launch.dsp:
11548         * win32/vs6/libgstbase.dsp:
11549         * win32/vs6/libgstelements.dsp:
11550         * win32/vs6/libgstreamer.dsp:
11551         * win32/vs7/GStreamer.vcproj:
11552         * win32/vs7/gst-inspect.vcproj:
11553         * win32/vs7/gst-launch.vcproj:
11554         * win32/vs7/libgstbase.vcproj:
11555           bump GST_MAJORMINOR to 0.10
11556           reset libtool version
11557
11558 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11559
11560         * po/LINGUAS:
11561         * po/bg.po:
11562           Added Bulgarian translation by (Alexander Shopov)
11563
11564 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11565
11566         * tests/check/gst/gstplugin.c:
11567           fix test
11568
11569 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11570
11571         * common/gst-xmlinspect.py:
11572         * common/gtk-doc-plugins.mak:
11573         * configure.ac:
11574         * docs/Makefile.am:
11575         * docs/gst/Makefile.am:
11576         * docs/gst/gstreamer-docs.sgml:
11577         * docs/gst/gstreamer-sections.txt:
11578         * docs/gst/gstreamer.types:
11579         * docs/gst/gstreamer.types.in:
11580         * docs/plugins/Makefile.am:
11581         * docs/plugins/gstreamer-plugins-docs.sgml:
11582         * docs/plugins/gstreamer-plugins-sections.txt:
11583         * docs/plugins/gstreamer-plugins.types:
11584         * docs/plugins/inspect.stamp:
11585         * docs/plugins/inspect/plugin-coreelements.xml:
11586         * docs/plugins/inspect/plugin-coreindexers.xml:
11587         * docs/plugins/scanobj-build.stamp:
11588         * gstreamer.spec.in:
11589         * plugins/elements/Makefile.am:
11590         * plugins/elements/gstelements.c:
11591         * plugins/elements/gstfakesink.c:
11592         * plugins/elements/gstfakesrc.c:
11593         * plugins/elements/gstfilesink.c:
11594         * plugins/elements/gstfilesrc.c:
11595         * plugins/elements/gstqueue.c:
11596         * plugins/indexers/Makefile.am:
11597         * plugins/indexers/gstindexers.c:
11598           document core plugins in a separate document just like all the
11599           others
11600           rename these plugins to something starting with core
11601
11602 2005-12-01  Andy Wingo  <wingo@pobox.com>
11603
11604         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11605         padding here before, but it missed the commit.
11606
11607 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11608
11609         * libs/gst/controller/gstinterpolation.c:
11610           whitespace prices have crashed, we should feel free to use some now
11611           use gst_guint64_to_gdouble
11612
11613 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11614
11615         * libs/gst/controller/gstcontroller.c:
11616         * libs/gst/controller/gsthelper.c:
11617         * libs/gst/controller/gstinterpolation.c:
11618         * libs/gst/controller/lib.c:
11619           wrap config.h include
11620
11621 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11622
11623         * docs/gst/gstreamer-sections.txt:
11624           update docs
11625
11626 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11627
11628         * plugins/elements/gstelements.c:
11629         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11630         (gst_fd_sink__class_init), (gst_fd_sink__init),
11631         (gst_fd_sink__chain), (gst_fd_sink__set_property),
11632         (gst_fd_sink__get_property):
11633         * plugins/elements/gstfdsink.h:
11634         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11635         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11636         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11637         (gst_fd_src_unlock), (gst_fd_src_set_property),
11638         (gst_fd_src_get_property), (gst_fd_src_create),
11639         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11640         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11641         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11642         (gst_fd_src_uri_handler_init):
11643         * plugins/elements/gstfdsrc.h:
11644         * plugins/elements/gstqueue.c: (gst_queue_get_type):
11645           more anal cleanup
11646
11647 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11648
11649         * docs/gst/Makefile.am:
11650         * docs/gst/gstreamer.types.in:
11651         * gst/Makefile.am:
11652           fix the docs build
11653
11654 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11655
11656         * configure.ac:
11657         * gst/Makefile.am:
11658         * gst/gst.c:
11659         * gst/gstplugin.h:
11660         * gst/gstregistry.h:
11661         * tests/benchmarks/complexity.c:
11662         * tests/benchmarks/mass-elements.c:
11663         * tests/check/Makefile.am:
11664         * tools/Makefile.am:
11665         * tools/gst-inspect.c:
11666         * tools/gst-xmlinspect.c:
11667           various fixes to make
11668           --disable-nls --disable-registry --disable-loadsave
11669           --disable-parse --disable-gst-debug
11670           work and get the core .so down to 360444 bytes after stripping
11671
11672 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11673
11674         * Makefile.am:
11675         * configure.ac:
11676           descend into tests
11677         * docs/random/thomasvs/TODO:
11678         * tests/Makefile.am:
11679         * tests/README:
11680           add a README
11681
11682 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11683
11684         * win32/GStreamer.vcproj:
11685         * win32/MANIFEST:
11686         * win32/Makefile:
11687         * win32/Makefile.inspect:
11688         * win32/Makefile.launch:
11689         * win32/Makefile.register:
11690         * win32/README.txt:
11691         * win32/gst-inspect.vcproj:
11692         * win32/gst-launch.vcproj:
11693         * win32/gst-register.vcproj:
11694         * win32/gstelements.vcproj:
11695         * win32/gstgetbits.def:
11696         * win32/gstgetbits.vcproj:
11697         * win32/gstreamer-dbg.def:
11698         * win32/gstreamer.def:
11699         * win32/libgstbase.def:
11700         * win32/libgstbase.vcproj:
11701         * win32/link_oldruntime.c:
11702         * win32/mman.c:
11703         * win32/mman.h:
11704         * win32/mman.inl:
11705         * win32/msvc71.sln:
11706           move even more stuff, win32/ is nice and clean now
11707
11708 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11709
11710         * libs/gst/control/.cvsignore:
11711         * win32/MANIFEST:
11712         * win32/config.h:
11713         * win32/dirent.c:
11714         * win32/dirent.h:
11715         * win32/gstbytestream.def:
11716         * win32/gstbytestream.vcproj:
11717         * win32/gstconfig.h:
11718         * win32/gstenumtypes.c:
11719         * win32/gstenumtypes.h:
11720         * win32/gstoptimalscheduler.vcproj:
11721         * win32/gstversion.h:
11722         * win32/gtchar.h:
11723         * win32/testsuite/bins.vcproj:
11724         * win32/testsuite/bytestream.vcproj:
11725         * win32/testsuite/caps.vcproj:
11726         * win32/testsuite/cleanup.vcproj:
11727         * win32/testsuite/clock.vcproj:
11728         * win32/testsuite/debug.vcproj:
11729         * win32/testsuite/dlopen.vcproj:
11730         * win32/testsuite/dynparams.vcproj:
11731         * win32/testsuite/elements.vcproj:
11732         * win32/testsuite/ghostpads.vcproj:
11733         * win32/testsuite/indexers.vcproj:
11734         * win32/testsuite/negotiation.vcproj:
11735         * win32/testsuite/parse.vcproj:
11736         * win32/testsuite/plugin.vcproj:
11737         * win32/testsuite/refcounting.vcproj:
11738         * win32/testsuite/schedulers.vcproj:
11739         * win32/testsuite/states.vcproj:
11740         * win32/testsuite/tags.vcproj:
11741         * win32/testsuite/threads.vcproj:
11742           remove old win32 stuff that isn't maintained and should be
11743           reorganized
11744
11745 2005-11-30  Andy Wingo  <wingo@pobox.com>
11746
11747         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11748         loading the gst.interfaces python module bork.
11749
11750         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11751         available since GLib 2.2. Fixes #318031.
11752
11753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11754
11755         * Makefile.am:
11756         * check/.cvsignore:
11757         * check/Makefile.am:
11758         * check/elements/.cvsignore:
11759         * check/elements/fakesrc.c:
11760         * check/elements/fdsrc.c:
11761         * check/elements/identity.c:
11762         * check/generic/.cvsignore:
11763         * check/generic/states.c:
11764         * check/gst-libs/.cvsignore:
11765         * check/gst-libs/controller.c:
11766         * check/gst-libs/gdp.c:
11767         * check/gst/.cvsignore:
11768         * check/gst/capslist.h:
11769         * check/gst/gst.c:
11770         * check/gst/gstbin.c:
11771         * check/gst/gstbuffer.c:
11772         * check/gst/gstbus.c:
11773         * check/gst/gstcaps.c:
11774         * check/gst/gstelement.c:
11775         * check/gst/gstevent.c:
11776         * check/gst/gstghostpad.c:
11777         * check/gst/gstiterator.c:
11778         * check/gst/gstmessage.c:
11779         * check/gst/gstminiobject.c:
11780         * check/gst/gstobject.c:
11781         * check/gst/gstpad.c:
11782         * check/gst/gstpipeline.c:
11783         * check/gst/gstplugin.c:
11784         * check/gst/gstsegment.c:
11785         * check/gst/gststructure.c:
11786         * check/gst/gstsystemclock.c:
11787         * check/gst/gsttag.c:
11788         * check/gst/gstutils.c:
11789         * check/gst/gstvalue.c:
11790         * check/net/.cvsignore:
11791         * check/net/gstnetclientclock.c:
11792         * check/net/gstnettimeprovider.c:
11793         * check/pipelines/.cvsignore:
11794         * check/pipelines/cleanup.c:
11795         * check/pipelines/simple_launch_lines.c:
11796         * check/pipelines/stress.c:
11797         * check/states/.cvsignore:
11798         * check/states/sinks.c:
11799         * configure.ac:
11800         * examples/Makefile.am:
11801         * examples/appreader/.cvsignore:
11802         * examples/appreader/Makefile.am:
11803         * examples/appreader/appreader.c:
11804         * examples/controller/.cvsignore:
11805         * examples/controller/Makefile.am:
11806         * examples/controller/audio-example.c:
11807         * examples/cutter/.cvsignore:
11808         * examples/cutter/Makefile.am:
11809         * examples/cutter/cutter.c:
11810         * examples/cutter/cutter.h:
11811         * examples/events/Makefile.am:
11812         * examples/events/seek.c:
11813         * examples/helloworld/.cvsignore:
11814         * examples/helloworld/Makefile.am:
11815         * examples/helloworld/helloworld.c:
11816         * examples/helloworld2/.cvsignore:
11817         * examples/helloworld2/Makefile.am:
11818         * examples/helloworld2/helloworld2.c:
11819         * examples/launch/.cvsignore:
11820         * examples/launch/Makefile.am:
11821         * examples/launch/mp3parselaunch.c:
11822         * examples/launch/mp3play:
11823         * examples/manual/.cvsignore:
11824         * examples/manual/Makefile.am:
11825         * examples/manual/extract.pl:
11826         * examples/metadata/Makefile.am:
11827         * examples/metadata/read-metadata.c:
11828         * examples/mixer/.cvsignore:
11829         * examples/mixer/Makefile.am:
11830         * examples/mixer/mixer.c:
11831         * examples/mixer/mixer.h:
11832         * examples/pingpong/.cvsignore:
11833         * examples/pingpong/Makefile.am:
11834         * examples/pingpong/pingpong.c:
11835         * examples/plugins/.cvsignore:
11836         * examples/plugins/Makefile.am:
11837         * examples/plugins/example.c:
11838         * examples/plugins/example.h:
11839         * examples/pwg/.cvsignore:
11840         * examples/pwg/Makefile.am:
11841         * examples/pwg/extract.pl:
11842         * examples/queue/.cvsignore:
11843         * examples/queue/Makefile.am:
11844         * examples/queue/queue.c:
11845         * examples/queue2/.cvsignore:
11846         * examples/queue2/Makefile.am:
11847         * examples/queue2/queue2.c:
11848         * examples/queue3/.cvsignore:
11849         * examples/queue3/Makefile.am:
11850         * examples/queue3/queue3.c:
11851         * examples/queue4/.cvsignore:
11852         * examples/queue4/Makefile.am:
11853         * examples/queue4/queue4.c:
11854         * examples/retag/.cvsignore:
11855         * examples/retag/Makefile.am:
11856         * examples/retag/retag.c:
11857         * examples/retag/transcode.c:
11858         * examples/thread/.cvsignore:
11859         * examples/thread/Makefile.am:
11860         * examples/thread/thread.c:
11861         * examples/typefind/.cvsignore:
11862         * examples/typefind/Makefile.am:
11863         * examples/typefind/typefind.c:
11864         * examples/xml/.cvsignore:
11865         * examples/xml/Makefile.am:
11866         * examples/xml/createxml.c:
11867         * examples/xml/runxml.c:
11868         * tests/Makefile.am:
11869         * tests/check/Makefile.am:
11870         * testsuite/.cvsignore:
11871         * testsuite/Makefile.am:
11872         * testsuite/Rules:
11873         * testsuite/caps/.cvsignore:
11874         * testsuite/caps/Makefile.am:
11875         * testsuite/caps/app_fixate.c:
11876         * testsuite/caps/audioscale.c:
11877         * testsuite/caps/caps.c:
11878         * testsuite/caps/caps.h:
11879         * testsuite/caps/caps_strings:
11880         * testsuite/caps/compatibility.c:
11881         * testsuite/caps/deserialize.c:
11882         * testsuite/caps/enumcaps.c:
11883         * testsuite/caps/eratosthenes.c:
11884         * testsuite/caps/filtercaps.c:
11885         * testsuite/caps/fixed.c:
11886         * testsuite/caps/fraction-convert.c:
11887         * testsuite/caps/fraction-multiply-and-zero.c:
11888         * testsuite/caps/intersect2.c:
11889         * testsuite/caps/intersection.c:
11890         * testsuite/caps/normalisation.c:
11891         * testsuite/caps/random.c:
11892         * testsuite/caps/renegotiate.c:
11893         * testsuite/caps/sets.c:
11894         * testsuite/caps/simplify.c:
11895         * testsuite/caps/string-conversions.c:
11896         * testsuite/caps/structure.c:
11897         * testsuite/caps/subtract.c:
11898         * testsuite/caps/union.c:
11899         * testsuite/debug/.cvsignore:
11900         * testsuite/debug/Makefile.am:
11901         * testsuite/debug/category.c:
11902         * testsuite/debug/commandline.c:
11903         * testsuite/debug/global.c:
11904         * testsuite/debug/output.c:
11905         * testsuite/debug/printf_extension.c:
11906         * testsuite/dlopen/.cvsignore:
11907         * testsuite/dlopen/Makefile.am:
11908         * testsuite/dlopen/dlopen_gst.c:
11909         * testsuite/dlopen/loadgst.c:
11910         * testsuite/elements/.cvsignore:
11911         * testsuite/elements/Makefile.am:
11912         * testsuite/elements/gst-inspect-check.in:
11913         * testsuite/elements/struct_i386.h:
11914         * testsuite/elements/struct_size.c:
11915         * testsuite/indexers/.cvsignore:
11916         * testsuite/indexers/Makefile.am:
11917         * testsuite/indexers/cache1.c:
11918         * testsuite/indexers/indexdump.c:
11919         * testsuite/parse/.cvsignore:
11920         * testsuite/parse/Makefile.am:
11921         * testsuite/parse/parse1.c:
11922         * testsuite/parse/parse2.c:
11923         * testsuite/plugin/.cvsignore:
11924         * testsuite/plugin/Makefile.am:
11925         * testsuite/plugin/README:
11926         * testsuite/plugin/dynamic.c:
11927         * testsuite/plugin/linked.c:
11928         * testsuite/plugin/loading.c:
11929         * testsuite/plugin/registry.c:
11930         * testsuite/plugin/static.c:
11931         * testsuite/plugin/static2.c:
11932         * testsuite/plugin/testplugin.c:
11933         * testsuite/plugin/testplugin2.c:
11934         * testsuite/plugin/testplugin2_s.c:
11935         * testsuite/plugin/testplugin_s.c:
11936         * testsuite/refcounting/.cvsignore:
11937         * testsuite/refcounting/Makefile.am:
11938         * testsuite/refcounting/bin.c:
11939         * testsuite/refcounting/element.c:
11940         * testsuite/refcounting/element_pad.c:
11941         * testsuite/refcounting/mainloop.c:
11942         * testsuite/refcounting/mem.c:
11943         * testsuite/refcounting/mem.h:
11944         * testsuite/refcounting/object.c:
11945         * testsuite/refcounting/pad.c:
11946         * testsuite/refcounting/sched.c:
11947         * testsuite/refcounting/thread.c:
11948         * testsuite/states/.cvsignore:
11949         * testsuite/states/Makefile.am:
11950         * testsuite/states/bin.c:
11951         * testsuite/states/locked.c:
11952         * testsuite/states/parent.c:
11953         * testsuite/threads/.cvsignore:
11954         * testsuite/threads/159566.c:
11955         * testsuite/threads/159852.c:
11956         * testsuite/threads/Makefile.am:
11957         * testsuite/threads/queue.c:
11958         * testsuite/threads/signals.c:
11959         * testsuite/threads/staticrec.c:
11960         * testsuite/threads/thread.c:
11961         * testsuite/threads/threadb.c:
11962         * testsuite/threads/threadc.c:
11963         * testsuite/threads/threadd.c:
11964         * testsuite/threads/threade.c:
11965         * testsuite/threads/threadf.c:
11966         * testsuite/threads/threadg.c:
11967         * testsuite/threads/threadh.c:
11968         * testsuite/threads/threadi.c:
11969           move all of these under tests
11970
11971 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11972
11973         * configure.ac:
11974         * tests/Makefile.am:
11975           fix distcheck
11976
11977 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
11978
11979         * docs/gst/gstreamer-sections.txt:
11980         * tests/sched/.cvsignore:
11981         * tests/sched/Makefile.am:
11982         * tests/sched/cases/(fs-fs).xml:
11983         * tests/sched/cases/(fs-i-fs).xml:
11984         * tests/sched/cases/(fs-i-i-fs).xml:
11985         * tests/sched/cases/(fs-i-q[i-fs]).xml:
11986         * tests/sched/dynamic-pipeline.c:
11987         * tests/sched/interrupt1.c:
11988         * tests/sched/interrupt2.c:
11989         * tests/sched/interrupt3.c:
11990         * tests/sched/runtestcases:
11991         * tests/sched/runxml.c:
11992         * tests/sched/sched-stress.c:
11993         * tests/sched/sort.c:
11994         * tests/sched/testcases:
11995         * tests/sched/testcases1.tc:
11996         * tests/seeking/.cvsignore:
11997         * tests/seeking/Makefile.am:
11998         * tests/seeking/seeking1.c:
11999         * tests/threadstate/.cvsignore:
12000         * tests/threadstate/Makefile.am:
12001         * tests/threadstate/test1.c:
12002         * tests/threadstate/test2.c:
12003         * tests/threadstate/threadstate1.c:
12004         * tests/threadstate/threadstate2.c:
12005         * tests/threadstate/threadstate3.c:
12006         * tests/threadstate/threadstate4.c:
12007         * tests/threadstate/threadstate5.c:
12008           remove obsolete tests
12009         * configure.ac:
12010         * tests/bench-complexity.scm:
12011         * tests/bench-mass_elements.scm:
12012         * tests/complexity.c:
12013         * tests/complexity.gnuplot:
12014         * tests/instantiate/.cvsignore:
12015         * tests/instantiate/Makefile.am:
12016         * tests/instantiate/caps.c:
12017         * tests/mass_elements.c:
12018         * tests/network-clock-utils.scm:
12019         * tests/network-clock.scm:
12020         * tests/plot-data:
12021         First pass at cleaning up tests/ dir before moving the rest
12022         Combined with CVS surgery
12023
12024 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12025
12026         * po/POTFILES.in:
12027           queue has moved, update
12028
12029 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12030
12031         * docs/gst/gstreamer-sections.txt:
12032           remove double entries from the docs
12033         * gst/gst_private.h:
12034         * gst/gstinfo.c: (_gst_debug_init):
12035           remove the THREAD debug category
12036         * gst/Makefile.am:
12037         * gst/gstqueue.c:
12038         * gst/gstqueue.h:
12039         * docs/gst/gstreamer.types:
12040         * plugins/elements/gstqueue.c: (gst_queue_get_type),
12041         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12042           completely move queue and fix up debugging categories
12043
12044 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12045
12046         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12047           make initialization portable, using LL is not
12048
12049 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12050
12051         * win32/common/gstconfig.h:
12052           add large padding
12053
12054 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12055
12056         * win32/common/libgstreamer.def:
12057           rename symbols; sort base section
12058
12059 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12060
12061         * gst/gstclock.c: (do_linear_regression):
12062           remove crack non-portable handrolled DEBUG macro
12063
12064 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12065
12066         * docs/random/release:
12067           update notes
12068         * win32/common/gstenumtypes.c: (register_gst_object_flags),
12069         (gst_object_flags_get_type), (register_gst_bin_flags),
12070         (gst_bin_flags_get_type), (register_gst_buffer_flag),
12071         (gst_buffer_flag_get_type), (register_gst_bus_flags),
12072         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12073         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12074         (gst_caps_flags_get_type), (register_gst_clock_return),
12075         (gst_clock_return_get_type), (register_gst_clock_entry_type),
12076         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12077         (gst_clock_flags_get_type), (register_gst_state),
12078         (gst_state_get_type), (register_gst_state_change_return),
12079         (gst_state_change_return_get_type), (register_gst_state_change),
12080         (gst_state_change_get_type), (register_gst_element_flags),
12081         (gst_element_flags_get_type), (register_gst_core_error),
12082         (gst_core_error_get_type), (register_gst_library_error),
12083         (gst_library_error_get_type), (register_gst_resource_error),
12084         (gst_resource_error_get_type), (register_gst_stream_error),
12085         (gst_stream_error_get_type), (register_gst_event_type_flags),
12086         (gst_event_type_flags_get_type), (register_gst_event_type),
12087         (gst_event_type_get_type), (register_gst_seek_type),
12088         (gst_seek_type_get_type), (register_gst_seek_flags),
12089         (gst_seek_flags_get_type), (register_gst_format),
12090         (gst_format_get_type), (register_gst_index_certainty),
12091         (gst_index_certainty_get_type), (register_gst_index_entry_type),
12092         (gst_index_entry_type_get_type),
12093         (register_gst_index_lookup_method),
12094         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12095         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12096         (gst_index_resolver_method_get_type), (register_gst_index_flags),
12097         (gst_index_flags_get_type), (register_gst_debug_level),
12098         (gst_debug_level_get_type), (register_gst_debug_color_flags),
12099         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12100         (gst_iterator_result_get_type), (register_gst_iterator_item),
12101         (gst_iterator_item_get_type), (register_gst_message_type),
12102         (gst_message_type_get_type), (register_gst_mini_object_flags),
12103         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12104         (gst_pad_link_return_get_type), (register_gst_flow_return),
12105         (gst_flow_return_get_type), (register_gst_activate_mode),
12106         (gst_activate_mode_get_type), (register_gst_pad_direction),
12107         (gst_pad_direction_get_type), (register_gst_pad_flags),
12108         (gst_pad_flags_get_type), (register_gst_pad_presence),
12109         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12110         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12111         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12112         (gst_plugin_error_get_type), (register_gst_plugin_flags),
12113         (gst_plugin_flags_get_type), (register_gst_rank),
12114         (gst_rank_get_type), (register_gst_query_type),
12115         (gst_query_type_get_type), (register_gst_tag_merge_mode),
12116         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12117         (gst_tag_flag_get_type), (register_gst_task_state),
12118         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12119         (gst_alloc_trace_flags_get_type),
12120         (register_gst_type_find_probability),
12121         (gst_type_find_probability_get_type), (register_gst_uri_type),
12122         (gst_uri_type_get_type), (register_gst_parse_error),
12123         (gst_parse_error_get_type):
12124         * win32/common/gstenumtypes.h:
12125         * win32/common/gstversion.h:
12126           update visual studio generated files
12127
12128 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12129
12130         * win32/vs6/libgstbase.dsp:
12131         * win32/vs6/libgstelements.dsp:
12132           update project files for new locations
12133
12134 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * Makefile.am:
12137           remove some files
12138         * README:
12139           reinstate and update
12140         * DEVEL:
12141         * REQUIREMENTS:
12142           removed
12143         * LICENSE:
12144         * docs/random/LICENSE:
12145           moved to random
12146
12147 2005-11-30  Edward Hervey  <edward@fluendo.com>
12148
12149         * gst/gsttypefind.c: (gst_type_find_register):
12150         * gst/gsttypefind.h:
12151         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12152         (gst_type_find_factory_dispose):
12153         * gst/gsttypefindfactory.h:
12154         Fix memory leak in GstTypeFindFactory.
12155
12156 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12157
12158         * gst/gst.c:
12159         * plugins/elements/Makefile.am:
12160         * plugins/elements/gstelements.c:
12161         * plugins/elements/gstqueue.c:
12162           move queue from core to the elements plugin
12163
12164 2005-11-29  Andy Wingo  <wingo@pobox.com>
12165
12166         * libs/gst/base/gstbasetransform.h: 
12167         * libs/gst/base/gstbasesrc.h: 
12168         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12169
12170         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12171         of pointers by which to pad very extensible base classes (like the
12172         ones in libs/gst/base).
12173
12174 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12175
12176         * docs/gst/gstreamer-docs.sgml:
12177         * docs/gst/gstreamer-sections.txt:
12178         * docs/libs/gstreamer-libs-docs.sgml:
12179         * docs/libs/gstreamer-libs-sections.txt:
12180           moving documentation from core to lib
12181
12182 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12183
12184         * check/Makefile.am:
12185         * configure.ac:
12186         * docs/gst/Makefile.am:
12187         * gst/Makefile.am:
12188         * gst/base/.cvsignore:
12189         * gst/base/Makefile.am:
12190         * gst/base/README:
12191         * gst/base/gstadapter.c:
12192         * gst/base/gstadapter.h:
12193         * gst/base/gstbasesink.c:
12194         * gst/base/gstbasesink.h:
12195         * gst/base/gstbasesrc.c:
12196         * gst/base/gstbasesrc.h:
12197         * gst/base/gstbasetransform.c:
12198         * gst/base/gstbasetransform.h:
12199         * gst/base/gstcollectpads.c:
12200         * gst/base/gstcollectpads.h:
12201         * gst/base/gstpushsrc.c:
12202         * gst/base/gstpushsrc.h:
12203         * gst/base/gsttypefindhelper.c:
12204         * gst/base/gsttypefindhelper.h:
12205         * gst/check/Makefile.am:
12206         * gst/check/gstcheck.c:
12207         * gst/check/gstcheck.h:
12208         * gst/net/Makefile.am:
12209         * gst/net/gstnet.h:
12210         * gst/net/gstnetclientclock.c:
12211         * gst/net/gstnetclientclock.h:
12212         * gst/net/gstnettimepacket.c:
12213         * gst/net/gstnettimepacket.h:
12214         * gst/net/gstnettimeprovider.c:
12215         * gst/net/gstnettimeprovider.h:
12216         * libs/gst/Makefile.am:
12217         * libs/gst/base/Makefile.am:
12218         * libs/gst/base/gstbasetransform.c:
12219         * libs/gst/check/Makefile.am:
12220         * plugins/elements/Makefile.am:
12221         * po/POTFILES.in:
12222           CVS surgery + support to move base, check, and net out of gst
12223           and into libs/gst
12224
12225 2005-11-29  Andy Wingo  <wingo@pobox.com>
12226
12227         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12228
12229         * gst/gststructure.h (struct _GstStructure): Only one pointer of
12230         padding.
12231
12232         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12233
12234         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12235
12236         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12237
12238         * gst/gstobject.h: (struct _GstObject): Only one pointer of
12239         padding; reduces object size by about 30%. We don't expect
12240         anything else to go into gstobject.
12241
12242         * gst/gstminiobject.h (struct _GstMiniObject)
12243         (struct _GstMiniObjectClass): Only one pointer of padding; the
12244         payload is only a pointer and two ints anyway. For the class there
12245         are only two methods as well.
12246         
12247         * gst/gstelement.h (struct _GstElementClass): Removed
12248         the state_changed signal callback, it is not used.
12249
12250 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12251
12252         * docs/gst/gstreamer.types:
12253           fix includes, though they are a little dinky
12254
12255 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12256
12257         * check/Makefile.am:
12258           look in the right place for elements, a lot more chance of
12259           success
12260         * gst/Makefile.am:
12261           remove indexers and elements subdirs
12262         * plugins/Makefile.am:
12263           make indexers conditional
12264
12265 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12266
12267         * Makefile.am:
12268         * configure.ac:
12269         * plugins/elements/Makefile.am:
12270         * plugins/elements/gstcapsfilter.c:
12271         * plugins/elements/gstfilesink.c:
12272         * plugins/elements/gstfilesrc.c:
12273         * plugins/elements/gstidentity.c:
12274         * plugins/indexers/Makefile.am:
12275           do CVS surgery and related build fixery to move elements
12276           and indexers in a new gstreamer/plugins directory, out of the
12277           gst/ directory
12278
12279 2005-11-29  Andy Wingo  <wingo@pobox.com>
12280
12281         * check/Makefile.am:
12282         * pkgconfig/gstreamer-net-uninstalled.pc.in:
12283         * pkgconfig/gstreamer-net.pc.in:
12284         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12285         #322257.
12286
12287 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12288
12289         * tools/Makefile.am:
12290         * tools/gst-complete.1.in:
12291         * tools/gst-complete.c:
12292         * tools/gst-compprep.1.in:
12293         * tools/gst-compprep.c:
12294           removing -compprep and -complete
12295
12296 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12297
12298         * gst/gstevent.c: (gst_event_new_new_segment),
12299         (gst_event_parse_new_segment):
12300         * gst/gstevent.h:
12301           fix #320529 - clean up new_segment API and structure.
12302           Let's hope everyone was using the methods, and not the structure.
12303
12304 2005-11-29  Edward Hervey  <edward@fluendo.com>
12305
12306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12307         (gst_base_sink_event), (gst_base_sink_do_sync),
12308         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12309         Properly handle non GST_FORMAT_TIME segment
12310         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12311         Properly handle non GST_FORMAT_TIME segment
12312         * gst/gstsegment.c:
12313         This function is valid if the accumulator is 0 and the format
12314         is different from the requested format.
12315         
12316 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12317
12318         * docs/gst/gstreamer-sections.txt:
12319         Add gst_query_new_seeking and gst_query_parse_seeking to the
12320         docs.
12321
12322 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
12323
12324         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12325           Treat a pad alloc with new caps the same as if we were not
12326           negotiated, in order to allow a changing upstream output
12327           to produce a new format of data.
12328
12329 2005-11-29  Edward Hervey  <edward@fluendo.com>
12330
12331         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12332         (gst_base_transform_event), (gst_base_transform_eventfunc):
12333         The event virtual method is now properly implemented, with a default
12334         handler
12335         Sub classes should call the parent_class event method. They should
12336         return FALSE if they had a problem handling the given event, or don't
12337         want GstBaseTransform to send that even downstream
12338         * gst/elements/gstidentity.c: (gst_identity_class_init),
12339         (gst_identity_init), (gst_identity_event),
12340         (gst_identity_transform_ip), (gst_identity_set_property),
12341         (gst_identity_get_property):
12342         * gst/elements/gstidentity.h:
12343         Added the single-segment boolean property.
12344         If set to TRUE, it will output a single segment of data, starting from
12345         0, will eat up all incoming newsegment, and modify the timestamp of the
12346         buffers accordingly
12347
12348 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
12349
12350         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12351           Don't ref NULL target pad (#322751). Improve docs.
12352
12353 2005-11-29  Michael Smith  <msmith@fluendo.com>
12354
12355         * gst/gstregistryxml.c: (load_plugin):
12356           Don't crash if we failed to load a feature from a plugin. 
12357
12358 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12359
12360         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12361         (GST_START_TEST):
12362           use more check API and less GLib API
12363
12364 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12365
12366         * Makefile.am:
12367           don't run checks if we don't have check
12368         * common/check.mak:
12369           remove the registry when running make torture
12370         * docs/gst/gstreamer-sections.txt:
12371           remove second multiply
12372         * gst/gstqueue.c: (gst_queue_loop):
12373           fix a compile warning when disabling debug
12374
12375 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12376
12377         * gst/gstinfo.h:
12378         Hey! Let's print the pad name if the pointer != NULL instead
12379         of when it == NULL :-)
12380
12381 2005-11-28  Wim Taymans  <wim@fluendo.com>
12382
12383         * check/gst/gstutils.c: (GST_START_TEST):
12384         Updated check, add some scaling accuracy checking code.
12385
12386         * gst/gstutils.c: (gst_util_div128_64),
12387         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12388         (gst_util_uint64_scale_int):
12389         Fix 6 times faster division code. Optimize for common 
12390         1/1 and less common X/1 cases.
12391
12392 2005-11-28  Wim Taymans  <wim@fluendo.com>
12393
12394         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12395         More checks.
12396
12397         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12398         (do_linear_regression), (gst_clock_add_observation):
12399         Cleanups.
12400         Release lock when the clock cannot be slaved.
12401         Catch the case where the regression returned an invalid denominator.
12402
12403         * gst/gstutils.c: (gst_util_div128_64_iterate),
12404         (gst_util_div128_64), (gst_util_uint64_scale_int64),
12405         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12406         Add protentially more performant non-iterative 128/64 divide function
12407         that unfortunatly does not work yet.
12408         Shortcut the trivial 0/X = 0 case.
12409         Remove the warnings on overflow.
12410
12411 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12412
12413         * gst/gstplugin.c: (gst_plugin_register_func):
12414           everything causing a plugin not to load should be at least a WARNING
12415
12416 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
12417
12418         * docs/random/ensonic/dparams.txt:
12419           some TODOs for the next dev cycle
12420         * libs/gst/controller/gstcontroller.c:
12421         (gst_controlled_property_set_interpolation_mode),
12422         (gst_controlled_property_new):
12423         * libs/gst/controller/gstcontroller.h:
12424           use base type to assign acccessor functions
12425
12426 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12427
12428         * check/Makefile.am:
12429         Oops, that should have been top_srcdir
12430
12431 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
12432
12433         * check/Makefile.am:
12434         * check/elements/fdsrc.c: (GST_START_TEST):
12435         Use a cmdline define to specify the location of a file to use for
12436         testing, to avoid breaking distcheck.
12437
12438 2005-11-28  Andy Wingo  <wingo@pobox.com>
12439
12440         * gst/gstpad.c (fixate_value): Use array functions for arrays.
12441
12442 2005-11-28  Edward Hervey  <edward@fluendo.com>
12443
12444         * tools/gst-launch.c: (main):
12445         Clarify the output strings, makes it easier to translate.
12446         Fixes #322626
12447
12448 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12449
12450         * gst/Makefile.am:
12451           don't try and build net if we don't even have <sys/socket.h>
12452
12453 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
12454
12455         * check/Makefile.am:
12456         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12457         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12458           Add tests for fdsrc seekability
12459
12460         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12461         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12462         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12463         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12464         * gst/elements/gstfdsrc.h:
12465           fdsrc should not be a 'live' source.
12466           Implement seeking on seekable fd's.
12467
12468         * gst/gstquery.c: (gst_query_new_seeking),
12469         (gst_query_parse_seeking):
12470         * gst/gstquery.h:
12471           Implement SEEKING query functions: 
12472             *_new_seeking and *_parse_seeking
12473
12474 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
12475
12476         * gst/gstelement.c: (gst_element_dispose):
12477           don't loop forever
12478
12479         * gst/gstiterator.c:
12480         * gst/gststructure.c:
12481           doc fixes
12482
12483         * libs/gst/controller/gstcontroller.c:
12484         (gst_controlled_property_set_interpolation_mode):
12485         * libs/gst/controller/gstcontroller.h:
12486         * libs/gst/controller/gstinterpolation.c:
12487         (interpolate_none_get_enum_value_array):
12488           support controlling enums
12489
12490 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12491
12492         * gst/gstvalue.c:
12493           Improve documentation for gst_value_union().
12494
12495         * gst/gstvalue.h:
12496           Change return value for union, intersect and subtract functions
12497           from gint to gboolean.
12498
12499 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
12500
12501         * gst/gstvalue.c: (gst_value_serialize_any_list),
12502         (gst_value_transform_any_list_string),
12503         (gst_value_deserialize_list), (gst_value_deserialize_array),
12504         (gst_value_set_int_range), (gst_value_deserialize_int_range),
12505         (gst_value_set_double_range), (gst_value_deserialize_double_range),
12506         (gst_value_set_fraction_range_full),
12507         (gst_value_deserialize_fraction_range),
12508         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12509         (gst_value_deserialize_boolean),
12510         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12511         (gst_value_serialize_float), (gst_value_deserialize_float),
12512         (gst_string_wrap), (gst_value_deserialize_string),
12513         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12514         (gst_value_union_int_range_int_range),
12515         (gst_value_intersect_int_range_int_range),
12516         (gst_value_intersect_double_range_double_range),
12517         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12518         (gst_value_subtract_int_range_int_range),
12519         (gst_value_subtract_double_double_range),
12520         (gst_value_subtract_double_range_double_range),
12521         (gst_value_deserialize_fraction):
12522         * gst/gstvalue.h:
12523           Use gint, gdouble and gchar in our API instead of int, double and
12524           char (and make usage in gstvalue.c more consistent).
12525
12526 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12527
12528         * check/Makefile.am:
12529         * libs/gst/controller/Makefile.am:
12530         * libs/gst/dataprotocol/Makefile.am:
12531           fix up Makefile.am and remove GST_ENABLE_NEW
12532
12533 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12534
12535         * configure.ac:
12536         * gst/Makefile.am:
12537         * gst/base/Makefile.am:
12538         * gst/check/Makefile.am:
12539         * gst/elements/Makefile.am:
12540         * gst/net/Makefile.am:
12541           update LDFLAGS use some more
12542
12543 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12544
12545         * common/m4/gst-doc.m4:
12546           Fixes #312589
12547
12548 2005-11-26  Edward Hervey  <edward@fluendo.com>
12549
12550         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12551         This shouldn't issue a g_warning since it returns NULL if it
12552         couldn't find the plugin, and all functions using this behave
12553         properly on a NULL return. Switching to a GST_WARNING.
12554
12555 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
12556
12557         * gst/gstbin.c: (gst_bin_handle_message_func):
12558         Don't leak clock messages.
12559
12560 2005-11-25  Wim Taymans  <wim@fluendo.com>
12561
12562         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12563         (gst_util_uint64_scale_int):
12564         Optimisations, remove unneeded vars.
12565
12566 2005-11-25  Wim Taymans  <wim@fluendo.com>
12567
12568         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12569         Added more checks for the high precision uint64 cases.
12570
12571         * gst/gstutils.c: (gst_util_uint64_scale_int64),
12572         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12573         Implement high precision (guint64 * guint64) / guint64.
12574
12575 2005-11-24  Wim Taymans  <wim@fluendo.com>
12576
12577         * gst/base/gstbasesrc.c: (gst_base_src_query):
12578         Fix wrong percentage query.
12579
12580         * gst/gstutils.c: (gst_util_uint64_scale),
12581         (gst_util_uint64_scale_int):
12582         Add some more common cases that can be handled 
12583         efficiently to _scale.
12584
12585 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12586
12587         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12588         (gst_mini_object_suite):
12589           don't use check calls from threads; check probably isn't
12590           threadsafe and using a lock to make it threadsafe would
12591           defeat the purpose of this check
12592         * gst/check/gstcheck.c:
12593         * gst/check/gstcheck.h:
12594           use GST_DEBUG some more
12595
12596 2005-11-24  Wim Taymans  <wim@fluendo.com>
12597
12598         * gst/gstutils.c: (gst_util_uint64_scale),
12599         (gst_util_uint64_scale_int):
12600         Chain trivial case to _scale_int.
12601
12602 2005-11-24  Wim Taymans  <wim@fluendo.com>
12603
12604         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12605         Added test for scaling.
12606
12607         * gst/gstclock.h:
12608         Small doc fix.
12609
12610         * gst/gstutils.c: (gst_util_uint64_scale_int):
12611         Implemented high precision scaling code.
12612
12613 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
12614
12615         * gst/gstinfo.h:
12616           do not crash on pad==NULL
12617
12618 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12619
12620         Patch by: Stefan Kost
12621
12622         * common/gtk-doc.mak:
12623         * docs/gst/Makefile.am:
12624         * docs/libs/Makefile.am:
12625           Fix distcheck issues for the libraries docs build
12626           Closes #319599.
12627
12628 2005-11-24  Michael Smith <msmith@fluendo.com>
12629
12630         * docs/manual/basics-helloworld.xml:
12631           Fix bug #315027: memory leak in example code in docs.
12632
12633 2005-11-24  Michael Smith <msmith@fluendo.com>
12634
12635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12636           Unlock the PREROLL_LOCK in a failure case.
12637
12638 2005-11-24  Wim Taymans  <wim@fluendo.com>
12639
12640         * docs/gst/gstreamer-sections.txt:
12641         * gst/base/gstadapter.h:
12642         * gst/base/gstbasesink.h:
12643         * gst/base/gstbasesrc.h:
12644         * gst/base/gstbasetransform.h:
12645         * gst/base/gstpushsrc.h:
12646         * gst/elements/gstfakesink.h:
12647         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12648         * gst/elements/gstfakesrc.h:
12649         * gst/elements/gstfilesink.h:
12650         * gst/elements/gstfilesrc.h:
12651         * gst/gst.c:
12652         * gst/gstbin.c:
12653         * gst/gstbuffer.c: (_gst_buffer_copy):
12654         * gst/gstbus.h:
12655         * gst/gstcaps.c:
12656         * gst/gstchildproxy.c:
12657         * gst/gstclock.c:
12658         * gst/gstelement.c:
12659         * gst/gstelementfactory.c:
12660         * gst/gstelementfactory.h:
12661         * gst/gstevent.c:
12662         * gst/gstghostpad.h:
12663         * gst/gstindex.h:
12664         * gst/gstinterface.h:
12665         * gst/gstminiobject.c:
12666         * gst/gstminiobject.h:
12667         * gst/gstpad.c:
12668         * gst/gstpad.h:
12669         * gst/gstpadtemplate.h:
12670         * gst/gstpipeline.h:
12671         * gst/gstpluginfeature.h:
12672         * gst/gstquery.h:
12673         * gst/gstqueue.h:
12674         * gst/gsttaglist.c:
12675         * gst/gsttaglist.h:
12676         * gst/gsttagsetter.c:
12677         * gst/gsttagsetter.h:
12678         * gst/gsttrace.c:
12679         * gst/gsttrace.h:
12680         * gst/gsttypefind.h:
12681         * gst/gsturi.h:
12682         * gst/gstvalue.c:
12683         * gst/net/gstnetclientclock.c:
12684         * gst/net/gstnetclientclock.h:
12685         * gst/net/gstnettimepacket.c:
12686         * gst/net/gstnettimeprovider.c:
12687         * gst/net/gstnettimeprovider.h:
12688         Doc fixes.
12689
12690 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12691
12692         * configure.ac: back to HEAD
12693
12694 === release 0.9.6 ===
12695
12696 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
12697
12698         * configure.ac:
12699           releasing 0.9.6, "Always On Time"
12700
12701 2005-11-23  Wim Taymans  <wim@fluendo.com>
12702
12703         * docs/gst/gstreamer-sections.txt:
12704         * gst/glib-compat.c:
12705         * gst/gsttagsetter.c:
12706         * gst/gstvalue.c:
12707         * gst/net/gstnetclientclock.c:
12708         * gst/net/gstnettimepacket.h:
12709         Doc updates.
12710
12711 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12712
12713         * docs/faq/using.xml:
12714         * docs/libs/tmpl/gstcontrol.sgml:
12715         * docs/manual/advanced-dparams.xml:
12716         * docs/manual/appendix-checklist.xml:
12717         * docs/manual/basics-elements.xml:
12718         * docs/pwg/other-source.xml:
12719         * docs/random/moving-plugins:
12720         * gst/gstpad.c:
12721         * tools/gst-launch.1.in:
12722           remove mentions of sinesrc
12723
12724 2005-11-23  Michael Smith <msmith@fluendo.com>
12725
12726         * docs/gst/gstreamer-sections.txt:
12727           Update for new API and API changes.
12728         * gst/gstobject.h:
12729           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12730         * gst/gstvalue.c:
12731           Documentation typo fix.
12732         * gst/net/gstnettimepacket.c:
12733           Documentation fixes for arguments.
12734
12735 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
12736
12737         * gst/gststructure.c: (gst_structure_get_fraction),
12738         (gst_structure_parse_value),
12739         (gst_structure_fixate_field_nearest_fraction):
12740         * gst/gststructure.h:
12741         * gst/gstutils.c: (gst_util_uint64_scale_int):
12742         * gst/gstutils.h:
12743         * scripts/update-funcnames:
12744         API Changes. 
12745         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12746         Make gst_structure_fixate_field_nearest_fraction take a numerator
12747         and denominator argument instead of a GValue
12748         add gst_structure_get_fraction helper function.
12749
12750 2005-11-23  Wim Taymans  <wim@fluendo.com>
12751
12752         * docs/design/part-TODO.txt:
12753         Update TODO.
12754
12755         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12756         * gst/net/gstnetclientclock.h:
12757         Use parent fields for timeout and window_size.
12758
12759 2005-11-23  Andy Wingo  <wingo@pobox.com>
12760
12761         * check/net/gstnetclientclock.c (test_functioning): Adjust to
12762         rate_num/rate_denom change.
12763
12764         * gst/net/gstnetclientclock.c
12765         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12766         OBJECT_LOCK. Don't call add_observation with the lock.
12767
12768         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12769         fraction.
12770         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12771         rate fraction.
12772         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12773         deal with rate as a fraction whose numerator and denominator are
12774         GstClockTime values.
12775         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12776         master; the other fields are protected by the SLAVE_LOCK.
12777         (do_linear_regression): Note that this must be called with the
12778         SLAVE_LOCK.
12779         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12780         OBJECT_LOCK. Call set_calibration instead of touching the
12781         variables directly.
12782         (gst_clock_set_property, gst_clock_get_property): Protect
12783         master/slave parameters with the SLAVE_LOCK.
12784
12785         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12786         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12787         note that all of the instance variables that add_observation and
12788         the set_master functions use are protected by that lock and not
12789         the OBJECT_LOCK.
12790         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12791
12792         * gst/gstclock.c (gst_clock_add_observation): No longer requires
12793         the caller to take the object lock.
12794
12795 2005-11-23  Wim Taymans  <wim@fluendo.com>
12796
12797         * gst/gsterror.c: (_gst_core_errors_init):
12798         * gst/gsterror.h:
12799         Add error for clock stuff.
12800
12801         * gst/gstpipeline.c: (gst_pipeline_change_state),
12802         (gst_pipeline_set_clock):
12803         Post clock error when clock cannot be used in a pipeline.
12804
12805 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
12806
12807         * docs/gst/gstreamer-sections.txt:
12808           make two symbols from gstinfo private for the docs
12809         * gst/base/gstcollectpads.h:
12810         * gst/gstutils.c:
12811           fix doc typos, update docs
12812
12813 2005-11-22  Wim Taymans  <wim@fluendo.com>
12814
12815         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12816         (gst_base_sink_wait), (gst_base_sink_do_sync),
12817         (gst_base_sink_handle_event):
12818         * gst/base/gstbasesink.h:
12819         No need to store the clock, the parent element class already
12820         has it.
12821
12822         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12823         Updates for clock_set returning a gboolean
12824
12825         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12826         (gst_clock_id_wait_async), (gst_clock_class_init),
12827         (gst_clock_init), (gst_clock_finalize),
12828         (gst_clock_get_internal_time), (gst_clock_get_time),
12829         (gst_clock_slave_callback), (gst_clock_set_master),
12830         (gst_clock_get_master), (do_linear_regression),
12831         (gst_clock_add_observation), (gst_clock_set_property),
12832         (gst_clock_get_property):
12833         * gst/gstclock.h:
12834         Implement master/slave. When setting a clock as a slave, a
12835         periodic timeout is scheduled to sample master and slave times.
12836         Then the slave clock is recalibrated to match offset and rate
12837         of the master clock.
12838         Update logging a bit.
12839         Add flag so that a clock can state that is cannot be slaved to
12840         another clock.
12841
12842         * gst/gstelement.c: (gst_element_set_clock):
12843         * gst/gstelement.h:
12844         The set clock returns a gboolean for when an element cannot
12845         deal with the selected clock in the pipeline. 
12846
12847         * gst/gstpipeline.c: (gst_pipeline_change_state),
12848         (gst_pipeline_set_clock):
12849         * gst/gstpipeline.h:
12850         Handle the case where the selected clock cannot be set on
12851         the pipeline.
12852
12853         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
12854         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12855         (gst_net_client_clock_set_property),
12856         (gst_net_client_clock_get_property),
12857         (gst_net_client_clock_observe_times):
12858         * gst/net/gstnetclientclock.h:
12859         Use regression code in GstClock parent, remove duplicated
12860         functionality.
12861
12862 2005-11-22  Michael Smith <msmith@fluendo.com>
12863
12864         * gst/gstutils.c: (gst_util_clock_time_scale):
12865         * gst/gstutils.h:
12866         * docs/gst/gstreamer-sections.txt:
12867           Rename method to have extra underscore.
12868
12869 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12870
12871         * gst/elements/Makefile.am:
12872         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
12873         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12874         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
12875         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
12876         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
12877         * gst/elements/gstfakesrc.h:
12878         * gst/gstqueue.c: (queue_leaky_get_type):
12879           correctly fix GEnumValues so that nick is the short lowercase
12880           dashed tag
12881         * tools/gst-inspect.c: (print_element_properties_info):
12882           also show the nick, since it's useful to use from parse_launch
12883           syntax
12884           Fixes #322139
12885
12886 2005-11-22  Michael Smith <msmith@fluendo.com>
12887
12888         * gst/gstutils.c: (gst_util_clocktime_scale):
12889         * gst/gstutils.h:
12890         * docs/gst/gstreamer-sections.txt:
12891           Add util method for scaling a clocktime by a fraction. Useful 
12892           implementation is left as an exercise for the reader.
12893
12894 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12895
12896         * gst/gstvalue.c: (gst_value_collect_fraction_range):
12897         If needed, allocate storage in the destination value during
12898         collection.
12899
12900 2005-11-22  Edward Hervey  <edward@fluendo.com>
12901
12902         * docs/gst/gstreamer-sections.txt:
12903         * gst/Makefile.am:
12904         * gst/gst.h:
12905         * gst/gsturitype.c:
12906         * gst/gsturitype.h:
12907         * gst/gstutils.c: (gst_util_set_object_arg):
12908         * tools/gst-compprep.c: (main):
12909         * tools/gst-inspect.c: (print_element_properties_info):
12910         Removed GstURI, closes bug #321061
12911
12912 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12913
12914         * check/gst/gststructure.c: (GST_START_TEST):
12915         * gst/gststructure.c: (gst_structure_parse_value):
12916           Oops, broke automatic string type parsing.
12917           Add a test to catch it in future.
12918
12919 2005-11-22  Andy Wingo  <wingo@pobox.com>
12920
12921         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
12922         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
12923         Actually rename the function implementations. Grr.
12924
12925 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12926
12927         * check/gst/capslist.h:
12928           Comment test cases
12929         * check/gst/gststructure.c: (GST_START_TEST),
12930         (gst_structure_suite):
12931           Test automatic value type detection in gst_structure_from_string.
12932         * gst/gststructure.c: (gst_structure_parse_value):
12933           Add fraction as a type we try and guess automatically in
12934           caps/structure strings.
12935
12936 2005-11-22  Andy Wingo  <wingo@pobox.com>
12937
12938         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
12939
12940         * gst/gsttagsetter.h:
12941         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
12942         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
12943         (gst_tag_setter_add_tag_valist)
12944         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
12945         _add_values, _add_valist, and _add_valist_values. Since this is an
12946         interface the function suffixes should be more explicit so
12947         language binding don't end up with element.add_valist ->
12948         gst_tag_setter_add_valist, for example. Fixes #322069.
12949
12950 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12951
12952         * check/gst/gstcaps.c: (GST_START_TEST):
12953           Extend caps string tests to check that a caps to string
12954           conversion is reversible and produces the same caps.
12955
12956         * gst/gststructure.c: (gst_structure_value_get_generic_type):
12957           Output "fraction" as the generic type fraction range, so caps
12958           serialisation and deserialisation works.
12959         * check/gst/capslist.h:
12960         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12961           Support 'MIN' and 'MAX' for deserialising fractions.
12962
12963 2005-11-22  Andy Wingo  <wingo@pobox.com>
12964
12965         * gst/gstevent.h (gst_event_new_new_segment)
12966         (gst_event_parse_new_segment, gst_event_new_buffer_size)
12967         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
12968         Renamed from *_newsegment, *_buffersize, *_notarget.
12969
12970         * scripts/update-funcnames: New script, performs the changes
12971         listed above.
12972
12973 2005-11-22  Wim Taymans  <wim@fluendo.com>
12974
12975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12976         Make sure the GstFlowReturn is returned.
12977
12978         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
12979         (gst_bus_add_signal_watch):
12980         * gst/gstbus.h:
12981         add gst_bus_add_signal_watch_full.
12982
12983         * gst/gstplugin.c: (gst_plugin_load_file):
12984         Small style cleanup.
12985
12986 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12987
12988         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
12989           Block the fakesrc srcpad when we send an event, to avoid
12990           contention on the stream_lock causing random test failures.
12991
12992 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
12993
12994         * check/gst/gstvalue.c: (GST_START_TEST):
12995         * gst/gstvalue.c: (gst_value_fraction_subtract):
12996           Fix subtraction.
12997
12998 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
12999
13000         * gst/gst.h:
13001           include "gstchildproxy.h"
13002         * gst/gstchildproxy.h:
13003         * libs/gst/controller/gstcontroller.h:
13004           use G_GNUC_NULL_TERMINATED
13005
13006 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
13007
13008         * check/gst/capslist.h:
13009         * check/gst/gstcaps.c: (GST_START_TEST):
13010         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13011         * gst/gststructure.c: (gst_structure_parse_range),
13012         (gst_structure_fixate_field_nearest_fraction):
13013         * gst/gststructure.h:
13014         * gst/gstvalue.c: (gst_value_init_fraction_range),
13015         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13016         (gst_value_collect_fraction_range),
13017         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13018         (gst_value_set_fraction_range_full),
13019         (gst_value_get_fraction_range_min),
13020         (gst_value_get_fraction_range_max),
13021         (gst_value_serialize_fraction_range),
13022         (gst_value_transform_fraction_range_string),
13023         (gst_value_compare_fraction_range),
13024         (gst_value_deserialize_fraction_range),
13025         (gst_value_intersect_fraction_fraction_range),
13026         (gst_value_intersect_fraction_range_fraction_range),
13027         (gst_value_subtract_fraction_fraction_range),
13028         (gst_value_subtract_fraction_range_fraction),
13029         (gst_value_subtract_fraction_range_fraction_range),
13030         (gst_value_collect_fraction), (gst_value_fraction_multiply),
13031         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13032         (gst_value_transform_string_fraction), (_gst_value_initialize):
13033         * gst/gstvalue.h:
13034           Implement fraction ranges and extend GstFraction to support
13035           arithmetic subtraction, as well as deserialization from integer
13036           strings such as "100"
13037           Add a testsuite as for int and double range set operations
13038
13039 2005-11-21  Andy Wingo  <wingo@pobox.com>
13040
13041         * gst/gsttaglist.h: 
13042         * gst/gstcaps.h: 
13043         * gst/gststructure.h: Add glib-compat.h.
13044
13045 2005-11-21  Wim Taymans  <wim@fluendo.com>
13046
13047         * gst/gstbin.c: (gst_bin_change_state_func):
13048         Fix for #321595
13049
13050 2005-11-21  Wim Taymans  <wim@fluendo.com>
13051
13052         * gst/gstsegment.h:
13053         And add a nice define too.
13054
13055 2005-11-21  Wim Taymans  <wim@fluendo.com>
13056
13057         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13058         (gst_segment_new), (gst_segment_free), (gst_segment_init),
13059         (gst_segment_set_duration), (gst_segment_set_last_stop),
13060         (gst_segment_set_seek), (gst_segment_set_newsegment),
13061         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13062         (gst_segment_clip):
13063         * gst/gstsegment.h:
13064         Make binding friendly.
13065
13066 2005-11-21  Andy Wingo  <wingo@pobox.com>
13067
13068         * gst/gsttagsetter.h: 
13069         * gst/gsttaglist.h: 
13070         * gst/gststructure.h: 
13071         * gst/gstcaps.h: 
13072         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13073         #319940.
13074
13075         * gst/gsterror.c (_gst_core_errors_init):
13076         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13077         category.
13078
13079         * gst/Makefile.am (gst_headers): Add glib-compat.h.
13080         (noinst_HEADERS): noinst the -private.
13081
13082 2005-11-21  Michael Smith <msmith@fluendo.com>
13083
13084         * gst/gstplugin.h:
13085         * gst/gstregistry.h:
13086           Remove unimplemented declarations for which we can see no sensible
13087           use.
13088
13089 2005-11-21  Andy Wingo  <wingo@pobox.com>
13090
13091         * gst/gst.h: Include glib-compat.h.
13092
13093         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13094
13095         * gst/glib-compat.c: Include the public and the private header.
13096
13097         * gst/glib-compat-private.h: Copied here from glib-compat.h.
13098
13099         * gst/gstvalue.c: 
13100         * gst/gstpad.c: 
13101         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13102
13103         * check/gst/gstevent.c (create_custom_events): Check that
13104         FLUSH_STOP is serialized.
13105
13106         * check/elements/identity.c (event_func): 
13107         * check/elements/fakesrc.c (event_func): No stream lock, the core
13108         takes it.
13109
13110         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13111         stream lock taking, yay.
13112
13113         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13114         ensure that core takes the stream lock.
13115
13116         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13117         lock name change.
13118
13119         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13120         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13121         it already. For the flush start we do take it though so we get the
13122         right preroll state change messages.
13123
13124         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13125         the stream lock here, the core does it for us.
13126
13127         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13128         GST_STREAM_GET_LOCK.
13129         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
13130         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
13131         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13132         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13133         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
13134         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13135
13136         * gst/gstpad.c: Update for stream lock name change.
13137
13138         * gst/base/gstbasesink.c: Update for preroll lock name change.
13139
13140 2005-11-21  Wim Taymans  <wim@fluendo.com>
13141
13142         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13143         (gst_clock_get_master):
13144         * gst/gstclock.h:
13145         * gst/gstsystemclock.c: (gst_system_clock_init):
13146         Convert Clock flags to object flags.
13147         Added methods to manage master/slave clocks.
13148
13149 2005-11-21  Wim Taymans  <wim@fluendo.com>
13150
13151         * check/gst/gstsegment.c: (GST_START_TEST):
13152         * docs/design/part-TODO.txt:
13153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13154         (gst_base_sink_event), (gst_base_sink_do_sync),
13155         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13156         (gst_base_sink_query), (gst_base_sink_change_state):
13157         * gst/base/gstbasesink.h:
13158         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13159         (gst_base_src_default_newsegment),
13160         (gst_base_src_configure_segment), (gst_base_src_do_seek),
13161         (gst_base_src_get_range), (gst_base_src_loop),
13162         (gst_base_src_change_state):
13163         * gst/base/gstbasesrc.h:
13164         * gst/base/gstbasetransform.c:
13165         (gst_base_transform_prepare_output_buf),
13166         (gst_base_transform_event), (gst_base_transform_change_state):
13167         * gst/base/gstbasetransform.h:
13168         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13169         (gst_collect_pads_event):
13170         * gst/base/gstcollectpads.h:
13171         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13172         (gst_fake_src_create):
13173         * gst/elements/gstfakesrc.h:
13174         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13175         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13176         (gst_segment_set_last_stop), (gst_segment_set_seek),
13177         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13178         (gst_segment_to_running_time), (gst_segment_clip):
13179         * gst/gstsegment.h:
13180         More segment updates, replace code in plugins with segment
13181         helper functions.
13182
13183 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13184
13185         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13186         Don't ignore sscanf results
13187
13188 2005-11-21  Andy Wingo  <wingo@pobox.com>
13189
13190         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13191
13192         * *.h:
13193         * *.c: Ran scripts/update-macros. Oh yes.
13194
13195         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13196         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13197         GST_GET_LOCK, etc.
13198
13199         * scripts/update-macros: New script. Run it on your files to
13200         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13201         well.
13202
13203 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13204
13205         * docs/gst/Makefile.am:
13206         * docs/gst/gstreamer-docs.sgml:
13207         * docs/gst/gstreamer-sections.txt:
13208         * docs/gst/gstreamer.types:
13209         * gst/gstinfo.h:
13210           more docs fixes, add new api to the docs
13211
13212 2005-11-21  Andy Wingo  <wingo@pobox.com>
13213
13214         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13215         state_broadcast call.
13216
13217         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13218
13219 2005-11-21  Julien MOUTTE  <julien@moutte.net>
13220
13221         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13222         function calls for arrays.
13223
13224 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
13225
13226         * docs/random/ensonic/media-device-daemon.txt:
13227           wild idea, can this be done?
13228         * docs/gst/gstreamer-sections.txt:
13229         * gst/gsterror.h:
13230         * gst/gstfilter.c:
13231         * gst/gstfilter.h:
13232         * gst/gstplugin.h:
13233         * gst/gstpluginfeature.c:
13234         * gst/gsttrace.c:
13235         * gst/gstvalue.c:
13236         * gst/gstvalue.h:
13237           doc fixes and additions
13238
13239 2005-11-21  Andy Wingo  <wingo@pobox.com>
13240
13241         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
13242         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
13243         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
13244         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13245         private to the basesrc implementation.
13246
13247         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13248         behalf of event function if necessary. It should no longer be
13249         necessary to take the stream lock in pad's event functions. Fixes
13250         #320299.
13251
13252 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13253         * docs/gst/gstreamer-sections.txt:
13254         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13255         (gst_structure_fixate_field_nearest_double),
13256         (gst_structure_fixate_field_boolean):
13257         * gst/gststructure.h:
13258         * win32/common/libgstreamer.def:
13259         * win32/gstreamer.def:
13260
13261         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13262         (#322027)
13263
13264 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
13265
13266         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13267         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13268         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13269         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13270         (gst_fdsrc_uri_handler_init):
13271         * gst/elements/gstfdsrc.h:
13272           Port fd:// URI handler from 0.8 to fdsrc
13273
13274 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13275
13276         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13277         (gst_value_serialize_fourcc):
13278         * gst/gstvalue.h:
13279           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13280           consistent with our other format defines (#320324).
13281
13282 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13283
13284         * gst/gstvalue.c: (gst_value_is_fixed):
13285           Revert previous commit. Value lists are by definition
13286           not fixed, as they are a list of possible values.
13287
13288 2005-11-21  Andy Wingo  <wingo@pobox.com>
13289
13290         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13291         during the stable series if we need it. Fixes #319178.
13292
13293         * gst/gstevent.c (gst_event_new_filler): Removed.
13294
13295         * check/gst/gstevent.c: Update comment about filler events.
13296
13297 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13298
13299         * gst/gstvalue.c: (gst_value_is_fixed):
13300           Should handle both value arrays and value lists.
13301
13302 2005-11-21  Andy Wingo  <wingo@pobox.com>
13303
13304         patch by: Alessandro Dessina <alessandro nnva org>
13305
13306         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13307         functions to access arrays. Fixes #321962.
13308
13309 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13310
13311         * docs/gst/gstreamer.types:
13312           gst_collectpads_get_type => gst_collect_pads_get_type.
13313           
13314         * gst/base/gstbasetransform.c:
13315           Remove unused SIGNAL_HANDOFF enum.
13316
13317 2005-11-21  Andy Wingo  <wingo@pobox.com>
13318
13319         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13320         the event type (upstream, downstream, serialized). Renamed
13321         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13322         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13323         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13324
13325         * gst/gstevent.c: Update for new CUSTOM event names.
13326
13327         * check/gst/gstevent.c: Update check for new CUSTOM event names.
13328
13329         * gst/gstevent.h:
13330         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13331         bug #319392.
13332
13333 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13334
13335         * docs/gst/gstreamer-sections.txt:
13336         * win32/common/libgstbase.def:
13337         * win32/libgstbase.def:
13338         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13339         (gst_collect_pads_class_init), (gst_collect_pads_init),
13340         (gst_collect_pads_finalize), (gst_collect_pads_new),
13341         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13342         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13343         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13344         (gst_collect_pads_start), (gst_collect_pads_stop),
13345         (gst_collect_pads_peek), (gst_collect_pads_pop),
13346         (gst_collect_pads_available), (gst_collect_pads_read),
13347         (gst_collect_pads_flush), (gst_collect_pads_event),
13348         (gst_collect_pads_chain):
13349         * gst/base/gstcollectpads.h:
13350           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13351           unimplemented functions as unimplemented. Add padding to
13352           GstCollectData. (#320766, #320423)
13353
13354 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
13355
13356         * gst/gstmessage.c:
13357           Improve docs for DURATION message (usage of duration parameter)
13358           (#320113)
13359
13360 2005-11-20  Wim Taymans  <wim@fluendo.com>
13361
13362         * check/Makefile.am:
13363         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13364         (main):
13365         * gst/Makefile.am:
13366         * gst/gst.h:
13367         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13368         (gst_segment_set_seek), (gst_segment_set_newsegment),
13369         (gst_segment_to_stream_time), (gst_segment_to_running_time),
13370         (gst_segment_clip):
13371         * gst/gstsegment.h:
13372         Added segment helper structure and methods. Not fully implemented
13373         yet.
13374         Added segment check.
13375
13376 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
13377
13378         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13379           Add a deserialisation test for fractions
13380         * examples/metadata/read-metadata.c: (message_loop),
13381         (make_pipeline), (main):
13382           Fix up metadata reading sample.
13383         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13384           Debug format fix
13385         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13386           Don't try and fixate empty caps
13387         * gst/gst_private.h:
13388           Wrap in G_BEGIN_DECLS/G_END_DECLS
13389         * gst/gstvalue.c: (gst_value_collect_fraction),
13390         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13391         (gst_value_transform_string_fraction),
13392         (gst_value_compare_fraction):
13393           Add some extra guards to ensure that we don't end up 
13394           with an invalid denominator of 0 in a gstfraction and
13395           that fractions always get reduced.
13396
13397 2005-11-20  Wim Taymans  <wim@fluendo.com>
13398
13399         * docs/gst/gstreamer-sections.txt:
13400         * gst/gstbuffer.h:
13401         * gst/gstelement.c:
13402         * gst/gstformat.c:
13403         * gst/gstformat.h:
13404         * gst/gstindex.h:
13405         * gst/gstquery.c:
13406         * gst/gstquery.h:
13407         * gst/gstvalue.c:
13408         Doc fixes.
13409
13410 2005-11-20  Wim Taymans  <wim@fluendo.com>
13411
13412         * docs/design/part-TODO.txt:
13413         * gst/gstcaps.h:
13414         Make a proper enum of the flag.
13415
13416 2005-11-19  Wim Taymans  <wim@fluendo.com>
13417
13418         * docs/design/part-TODO.txt:
13419         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13420         (gst_format_to_quark), (gst_format_register):
13421         * gst/gstformat.h:
13422         * gst/gstquery.c: (_gst_query_initialize),
13423         (gst_query_type_get_name), (gst_query_type_to_quark),
13424         (gst_query_type_register):
13425         * gst/gstquery.h:
13426         Add type to quark and type to string conversions.
13427
13428 2005-11-19  Andy Wingo  <wingo@pobox.com>
13429
13430         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13431         #320097.
13432
13433 2005-11-19  Wim Taymans  <wim@fluendo.com>
13434
13435         * docs/design/part-TODO.txt:
13436         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13437         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13438         (gst_bin_handle_message_func):
13439         * gst/gstbin.h:
13440         Make message handling overridable.
13441
13442 2005-11-19  Andy Wingo  <wingo@pobox.com>
13443
13444         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13445
13446         * gst/gstclock.h:
13447         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13448         be a GstClockTime.
13449         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13450         is a GstClockTime. Fixes #321710.
13451
13452         * gst/gstclock.h (GstClock): Remove offset property. Add
13453         internal_calibration and external_calibration. Fix padding. Pad
13454         also by GstClockTime so we don't run into problems.
13455
13456         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13457         (gst_clock_get_rate_offset): Remove.
13458         (gst_clock_set_time_adjust): Remove. Fixes #321712.
13459
13460         * gst/gstutils.h:
13461         * gst/gstutils.c (g_static_rec_cond_wait)
13462         (g_static_rec_cond_timed_wait): Removed, no longer needed.
13463
13464         * gst/gstbin.c: Remove terrible continue_state prototype.
13465
13466         * gst/gstelement.h (gst_element_continue_state): Make public.
13467
13468         * gst/gstelement.h:
13469         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13470         by continue_state. Fixes #319389.
13471
13472         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13473         Really fixes #168438. However I don't see anywhere where the
13474         filter function is called... stupid GStreamer...
13475         
13476         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13477         don't have a dispose function, so it won't get called when the
13478         object is unreffed, but oh well!
13479
13480         * gst/gstindex.c (gst_index_set_filter_full): New API function,
13481         allows a destroy function to be set so user_data can be freed.
13482         Fixes #168438.
13483         (gst_index_set_filter): Call gst_index_set_filter_full.
13484
13485         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13486
13487         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13488         string should produce an error, given the lack of a way to
13489         represent NULL strings. Fixes #165650.
13490         
13491         * gst/gstvalue.h: 
13492         * gst/gstvalue.c (gst_value_array_append_value) 
13493         (gst_value_array_prepend_value, gst_value_array_get_size) 
13494         (gst_value_array_get_value): New API, copied from
13495         gst_value_list_*, only operates on arrays.
13496         (gst_value_list_append_value, gst_value_list_prepend_value) 
13497         (gst_value_list_concat, gst_value_list_get_size) 
13498         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13499
13500         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13501         init_list, because it works on both.
13502         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13503         (gst_value_copy_list_or_array): Renamed from copy_list.
13504         (gst_value_free_list_or_array): Renamed from free_list.
13505         (gst_value_collect_list_or_array): Renamed from collect_list.
13506         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13507         (gst_value_list_or_array_peek_pointer): Renamed from
13508         list_peek_pointer.
13509         (_gst_value_array_value_table, _gst_value_list_value_table):
13510         Update value table functions.
13511         (gst_value_compare_list_or_array): Renamed from compare_list.
13512
13513         * gsttaglist.h: Whoops, foreach function returns void. Also fix
13514         some constness.
13515
13516         * gst/gsttaglist.c:
13517         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13518         GstTagList*. Fixes #143472.
13519
13520         * gst/gststructure.h: Clarify what the foreach/map functions can
13521         or can't do to their arguments.
13522
13523 2005-11-18  Wim Taymans  <wim@fluendo.com>
13524
13525         * gst/gstclock.c: (gst_clock_set_calibration),
13526         (gst_clock_get_calibration):
13527         Doc and API fixes.
13528         Calibration can be set with internal time equal to current
13529         internal time too.
13530
13531 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13532
13533         * gst/gsterror.c:
13534         * gst/gsterror.h:
13535           document
13536
13537 2005-11-18  Andy Wingo  <wingo@pobox.com>
13538
13539         * configure.ac: 
13540         * pkgconfig/gstreamer-net.pc.in:
13541         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13542         * pkgconfig/Makefile.am: Add net pkgconfig files.
13543
13544 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
13545
13546         * gst/gstcaps.c:
13547         * gst/gstghostpad.c:
13548         * gst/gsttrace.c:
13549         * gst/gstvalue.c:
13550         * gst/gstvalue.h:
13551           docs fixes
13552
13553 2005-11-18  Andy Wingo  <wingo@pobox.com>
13554
13555         * gst/net/gstnetclientclock.c: Turn off debugging.
13556
13557         * check/net/gstnetclientclock.c (test_functioning): Assert that the
13558         times connverge somewhat. Can't make a real test.
13559
13560         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13561         integer arithmetic. Return the minimum of the domain, which can be
13562         set as "internal" for gst_clock_set_calibration.
13563         (gst_net_client_clock_observe_times): Call _set_calibration.
13564         (gst_net_client_clock_new): Call _set_calibration instead of
13565         rate_offset.
13566
13567         * check/net/gstnetclientclock.c (test_functioning): Use the right
13568         adjustment api.
13569
13570         * gst/gstclock.h:
13571         * gst/gstclock.c (gst_clock_get_calibration) 
13572         (gst_clock_set_calibration): New functions, obsolete the ones I
13573         added yesterday. Doh. Precision issues mean we have to extrapolate
13574         from a point in the more recent past than 1970.
13575         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13576         obsolete.
13577         (gst_clock_adjust_unlocked): Use the right calibration data.
13578
13579 2005-11-18  Edward Hervey  <edward@fluendo.com>
13580
13581         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
13582         Also reset the ->current_* values in READY->PAUSED
13583
13584 2005-11-18  Andy Wingo  <wingo@pobox.com>
13585
13586         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13587         Whoops, check the right fd. Also add some debugging.
13588         (gst_net_client_clock_observe_times): Adjust for int64 offset.
13589         (do_linear_regression): Add a crapload of debugging. Subtract off
13590         the minimum values from the input series to discard unneeded bits.
13591         Use only int arithmetic. There is still double arithmetic when
13592         calculating the intercept that needs fixing. Return boolean to
13593         indicate success; FALSE would mean the domain or range is too
13594         great. Still needs fixes.
13595
13596 2005-11-18  Wim Taymans  <wim@fluendo.com>
13597
13598         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13599         For the current position in stream time, we need to subtract
13600         accumulated time.
13601         
13602         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13603         Release lock before calling the callback function of async
13604         entries.
13605
13606 2005-11-18  Andy Wingo  <wingo@pobox.com>
13607
13608         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13609         Port goes all the way to MAXUINT16.
13610
13611         * gst/net/gstnettimeprovider.c: Make the port range the same as
13612         for the kernel: 0 assigns, otherwise ports are less than
13613         MAXUINT16.
13614
13615         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13616         port change.
13617
13618         * check/net/gstnetclientclock.c (test_functioning): Add the start
13619         of another test. 
13620
13621 2005-11-18  Wim Taymans  <wim@fluendo.com>
13622
13623         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13624         (gst_bin_remove_func), (bin_bus_handler):
13625         * gst/gstbin.h:
13626         Removing a clock provider from a bin, triggers a clock lost message
13627         so that a new clock will be selected.
13628         Adding a clock to a bin triggers a clock provider message.
13629         Make sure we reselect a clock when we received a clock lost message.
13630         Keep a reference to the element that provided the clock.
13631
13632 2005-11-18  Andy Wingo  <wingo@pobox.com>
13633
13634         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13635         the clock initially so it produces values around the base time.
13636         (gst_net_client_clock_class_init): Typo fix.
13637         (gst_net_client_clock_thread): Add note on when the socket gets
13638         closed.
13639
13640 2005-11-17  Wim Taymans  <wim@fluendo.com>
13641
13642         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13643         Free remote and local time arrays.
13644
13645 2005-11-17  Wim Taymans  <wim@fluendo.com>
13646
13647         * gst/net/gstnetclientclock.c: (do_linear_regression),
13648         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13649         Fix compilation, uninitialized vars and a forgotten continue.
13650
13651 2005-11-17  Andy Wingo  <wingo@pobox.com>
13652
13653         * check/Makefile.am (check_PROGRAMS): 
13654         * check/net/gstnetclientclock.c: Add a most minimal test for the
13655         net client clock. More to come later.
13656
13657         * gst/net/gstnet.h: 
13658         * gst/net/Makefile.am: Add netclientclock.
13659
13660         * gst/net/gstnetclientclock.h:
13661         * gst/net/gstnetclientclock.c: New files, implement an untested
13662         GstClock that takes its time from a network time provider.
13663         Implements the algorithm in network-clock.scm.
13664
13665         * tests/network-clock.scm (*window-size*): Rename from
13666         *queue-length*.
13667         * tests/network-clock.scm (network-time): 
13668         * tests/network-clock-utils.scm (q-push): Update callers.
13669
13670 2005-11-17  Wim Taymans  <wim@fluendo.com>
13671
13672         * gst/gstbin.c: (gst_bin_provide_clock_func),
13673         (gst_bin_sort_iterator_new):
13674         And unref the child too..
13675
13676 2005-11-17  Wim Taymans  <wim@fluendo.com>
13677
13678         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13679         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13680         Refactor the sort iterator so it can be used while holding the
13681         LOCK too.
13682         Make clock selection select a clock closest to the source.
13683
13684 2005-11-17  Michael Smith <msmith@fluendo.com>
13685
13686         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13687         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13688         * gst/gstclock.h:
13689           Anonymous structs are a gcc (and some other compilers) extension, so
13690           don't use them. Since this is only for ABI-compatibility, and our
13691           API/ABI freeze is over in a few days, this whole thing will only
13692           last a few days, so don't bother trying to think up a meaningful
13693           name for the struct.
13694
13695 2005-11-17  Andy Wingo  <wingo@pobox.com>
13696
13697         * gst/gstclock.h (GstClock): Add rate and offset properties,
13698         preserving ABI stability. Add rate/offset accessors. Will file bug
13699         for the freeze break.
13700
13701         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13702         and offset, trying to keep precision and avoiding
13703         underflow/overflow.
13704         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13705         functions. Make gst_clock_set_time_adjust obsolete.
13706         (gst_clock_set_time_adjust): Note that this function is obsolete.
13707         Will file bug soon.
13708
13709         * gst/base/gstbasetransform.h: Make the ABI-stability hack
13710         greppable by using GST_PADDING-1+1.
13711
13712 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
13713
13714         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13715
13716         * gst/gstmessage.c: (gst_message_parse_clock_lost):
13717           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13718
13719         * gst/gstpadtemplate.h:
13720         * gst/gstpluginfeature.h:
13721           Don't use c++ style comments in headers (#321638).
13722
13723 2005-11-16  Andy Wingo  <wingo@pobox.com>
13724
13725         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13726         buffer.
13727
13728         * check/net/gstnettimeprovider.c: Check to see that the time
13729         provider actually provides times. Works, yo!
13730
13731 2005-11-16  Wim Taymans  <wim@fluendo.com>
13732
13733         * check/Makefile.am:
13734         Enable more tests.
13735
13736         * check/elements/fakesrc.c: (GST_START_TEST):
13737         Set element to NULL before disposing it.
13738
13739 2005-11-16  Andy Wingo  <wingo@pobox.com>
13740
13741         * gst/net/Makefile.am:
13742         * gst/net/gstnet.h:
13743         * gst/net/gstnettimeprovider.c: 
13744         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13745         provider, include it from gstnet.h, and add it to the build.
13746
13747         * gst/net/gstnettimepacket.h: 
13748         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13749         sending and receiving.
13750
13751 2005-11-16  Wim Taymans  <wim@fluendo.com>
13752
13753         * check/Makefile.am:
13754         Enable valgrind check.
13755
13756         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13757         (gst_fake_src_alloc_buffer):
13758         Fix memleak.
13759
13760 2005-11-16  Wim Taymans  <wim@fluendo.com>
13761
13762         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13763         Call parent finalize too.
13764
13765 2005-11-16  Wim Taymans  <wim@fluendo.com>
13766
13767         * check/Makefile.am:
13768         Enable valgrind check that should work fine now.
13769
13770         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13771         * gst/gstqueue.c: (gst_queue_init):
13772         Fix memleaks in pad allocation.
13773
13774 2005-11-16  Andy Wingo  <wingo@pobox.com>
13775
13776         * gst/net/Makefile.am:
13777         * gst/net/gstnet.h: New part of core to hold network elements and
13778         objects. Put in core because it exposes API that applications want
13779         to use. The library is named libgstnet-tempname right now because
13780         of the existing libgstnet in gst-plugins-base. Solution is
13781         probably to rename the one in plugins-base; will file a bug for
13782         the freeze break.
13783
13784         * gst/net/gstnettimeprovider.c: 
13785         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13786         get_time call over the network.
13787
13788         * configure.ac: 
13789         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13790
13791         * check/Makefile.am:
13792         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13793         get additions shortly.
13794
13795 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13796
13797         * gst/gstpad.c: (gst_pad_new_from_static_template):
13798         * gst/gstpad.h:
13799           add gst_pad_new_from_static_template functions
13800         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13801         (gst_check_setup_sink_pad):
13802         * gst/elements/gsttee.c: (gst_tee_init):
13803           and use them
13804
13805 2005-11-16  Wim Taymans  <wim@fluendo.com>
13806
13807         * gst/gstpad.c: (gst_pad_pause_task):
13808         Removed warning, it's not really an error either.
13809
13810 2005-11-16  Wim Taymans  <wim@fluendo.com>
13811
13812         * gst/base/gstbasetransform.c:
13813         (gst_base_transform_prepare_output_buf),
13814         (gst_base_transform_event):
13815         Check if the caps are NULL, this can happen if the element
13816         is shutting down and the pad caps are set to NULL.
13817
13818 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13819
13820         * gst/elements/gsttee.c: (gst_tee_init):
13821           fix pad template leak in tee
13822
13823 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13824
13825         * gst/glib-compat.c: (g_value_dup_gst_object):
13826         * gst/glib-compat.h:
13827         * gst/gstpad.c: (gst_pad_set_property):
13828           use gst_object_ref when setting the pad template; this will
13829           trigger the pad template leaks on GLib 2.6 and the slaves
13830
13831 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13832
13833         * gst/glib-compat.c: (gst_flags_get_first_value):
13834         * gst/glib-compat.h:
13835         * gst/gstregistryxml.c:
13836           remove functions copied from GLib 2.6
13837
13838 2005-11-16  Michael Smith <msmith@fluendo.com>
13839
13840         * gst/Makefile.am:
13841           Don't link against VALGRIND_LIBS. That was always the wrong thing to
13842           do, but only breaks with newer valgrind versions. We're not a
13843           valgrind tool, we have no link-time dependencies on libcoregrind.
13844
13845 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13846
13847         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13848           some debug changes
13849         * gst/gstmessage.h:
13850           typo fixes
13851
13852 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13853
13854         * gst/base/gstbasesrc.c: (gst_base_src_init):
13855         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13856         * gst/gstqueue.c: (gst_queue_init):
13857         * gst/gstregistryxml.c: (load_feature):
13858           Revert all these unrefs, they don't even pass make check !
13859
13860 2005-11-15  Johan Dahlin  <johan@gnome.org>
13861
13862         * gst/base/gstbasesrc.c: (gst_base_src_init):
13863         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13864         * gst/gstqueue.c: (gst_queue_init): 
13865         Free pad templates, fixes a couple of leaks.
13866
13867 2005-11-15  Daniel Fischer  <dan at f3c dot com>
13868
13869         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13870
13871         * gst/gstpad.c: (gst_pad_get_property):
13872           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
13873           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
13874           (#321452)
13875
13876 2005-11-15  Wim Taymans  <wim@fluendo.com>
13877
13878         * gst/gstevent.c:
13879         Small doc update.
13880
13881 2005-11-15  Andy Wingo  <wingo@pobox.com>
13882
13883         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
13884
13885         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
13886         using GST_CLOCK_TIME_NONE to disable base time management.
13887         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13888         time if it was NONE before.
13889         (gst_pipeline_change_state): Only munge the base time if
13890         stream_time != GST_CLOCK_TIME_NONE.
13891
13892         * check/gst/gstpipeline.c (test_base_time): Punt around the
13893         problem of the probe not being called, because that's not the
13894         issue I'm looking at. Add a check that setting stream_time to NONE
13895         disables base time management.
13896         
13897 2005-11-15  Wim Taymans  <wim@fluendo.com>
13898
13899         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13900         segment_stop == -1 at startup.
13901
13902         * gst/base/gstbasetransform.c: (gst_base_transform_event),
13903         (gst_base_transform_change_state):
13904         Init segment values at start.
13905
13906 2005-11-15  Wim Taymans  <wim@fluendo.com>
13907
13908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13909         0 segment values are 0 in any format.
13910
13911         * gst/base/gstbasetransform.c: (gst_base_transform_event):
13912         * gst/base/gstbasetransform.h:
13913         Parse newsegment correctly in basetransform
13914
13915         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13916         Sync to clock using updated segment values.
13917
13918 2005-11-15  Andy Wingo  <wingo@pobox.com>
13919
13920         * check/gst/gstpipeline.c (test_base_time): Add check that the
13921         base time and stream time are reset correctly.
13922
13923 2005-11-15  Wim Taymans  <wim@fluendo.com>
13924
13925         * docs/design/part-TODO.txt:
13926         Some more TODO items.
13927
13928 2005-11-15  Andy Wingo  <wingo@pobox.com>
13929
13930         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
13931         error if the user selected "no clock" as the clocking method.
13932
13933         * check/gst/gstpipeline.c (test_base_time): New test for buffer
13934         timestamps with live capture.
13935
13936         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
13937         is 0 but we are a live source, timestamp the buffers using the
13938         element's clock.
13939
13940 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
13941
13942         * docs/gst/gstreamer-sections.txt:
13943         * gst/gsterror.c:
13944         * gst/gstghostpad.c:
13945         * gst/gstobject.h:
13946         * gst/gstxml.c:
13947           more section docs
13948
13949 2005-11-14  Wim Taymans  <wim@fluendo.com>
13950
13951         * common/gst.supp:
13952           add suppressions from Wim's Debian machine
13953
13954 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13955
13956         * common/gst.supp:
13957           add suppressions from Andy's AMD64 Ubuntu machine
13958
13959 2005-11-14  Andy Wingo  <wingo@pobox.com>
13960
13961         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
13962         STATE_LOCK not necessary. Fixes #311489.
13963
13964         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
13965         #305291.
13966
13967         * gst/gstindex.c (gst_index_add_object): Note in the docs that
13968         this function is not implemented.
13969
13970 2005-11-14  Julien MOUTTE  <julien@moutte.net>
13971
13972         * gst/base/gstbasetransform.c:
13973         (gst_base_transform_prepare_output_buf):
13974         Ref the source pad caps while we need them.
13975         Fixes (#321386)
13976
13977 2005-11-11  Wim Taymans  <wim@fluendo.com>
13978
13979         * docs/gst/gstreamer-sections.txt:
13980         Added some docs for GstCollectData.
13981
13982         * gst/base/gstadapter.c:
13983         Some small code example fix.
13984
13985         * gst/base/gstcollectpads.c:
13986         * gst/base/gstcollectpads.h:
13987         Document some more.
13988
13989 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13990
13991         * configure.ac: back to HEAD
13992
13993 === release 0.9.5 ===
13994
13995 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
13996
13997         * configure.ac:
13998           releasing 0.9.5, "Bike Lunch Day"
13999
14000 2005-11-11  Wim Taymans  <wim@fluendo.com>
14001
14002         * gst/gstbuffer.c: (_gst_buffer_copy):
14003         Copy more flags.
14004
14005         * gst/gstcaps.c: (gst_caps_is_equal):
14006         Fix some docs.
14007         Make _is_equal fast in the trivial cases.
14008
14009         * gst/gstminiobject.c:
14010         * gst/gstminiobject.h:
14011         More docs. Spifify .h file.
14012
14013         * gst/gstutils.c:
14014         Small doc update.
14015
14016 2005-11-11  Wim Taymans  <wim@fluendo.com>
14017
14018         * gst/base/gstbasetransform.c:
14019         (gst_base_transform_prepare_output_buf),
14020         (gst_base_transform_handle_buffer):
14021         Small cleanups.
14022         If we're processing a buffer and need to allocate an output
14023         buffer, we cannot accept a format change. If we did get a 
14024         format change, we have to alloc a buffer ourselves of the 
14025         right size.
14026
14027 2005-11-11  Wim Taymans  <wim@fluendo.com>
14028
14029         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14030         While checking the flag for reentrancy in the gstcaps function
14031         is nice to detect recursive invocations, it also makes it 
14032         impossible to call getcaps from multiple threads, which must be
14033         possible. So, checking for recursive calls has to go.
14034
14035 2005-11-11  Michael Smith <msmith@fluendo.com>
14036
14037         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14038           Don't sync on buffers that fall partially outside our current
14039           segment. Prevents an assertion failure/abort playing some files.
14040
14041 2005-11-10  Andy Wingo  <wingo@pobox.com>
14042
14043         * check/gst/gstbin.c (test_message_state_changed_children): Style
14044         fix..
14045
14046         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14047         gst_bus_poll with the signal watch. Ensures that poll and a signal
14048         watch see the same messages.
14049
14050         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14051         a poll and a watch at the same time get the same messages.
14052
14053 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14054
14055         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14056         * gst/gstcaps.c: (gst_caps_intersect):
14057           Don't call gst_caps_do_simplify - it doesn't respect order of caps
14058           and it's not needed.
14059
14060 2005-11-10  Wim Taymans  <wim@fluendo.com>
14061
14062         * docs/design/part-TODO.txt:
14063         Updated todo.
14064
14065 2005-11-10  Wim Taymans  <wim@fluendo.com>
14066
14067         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14068         * gst/base/gstbasesrc.c: (gst_base_src_wait),
14069         (gst_base_src_do_sync), (gst_base_src_get_range):
14070         Implement clock sync in base class.
14071
14072 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14073
14074         patch by: Tim-Philipp Müller <tim at centricular dot net>
14075
14076         * gst/gststructure.c: (gst_structure_parse_field),
14077         (gst_structure_from_string):
14078           Forward-port a 0.8 patch to handle escaped spaces in structure string,
14079           so that gst_parse_launch() can deal with spaces in filtered link
14080           caps (fixes #164479)
14081         * check/gst/capslist.h:
14082         * check/gst/gststructure.c: (GST_START_TEST):
14083           add unit tests for this change
14084
14085 2005-11-10  Wim Taymans  <wim@fluendo.com>
14086
14087         * docs/gst/gstreamer-sections.txt:
14088         * gst/gstelement.c:
14089         * gst/gstelement.h:
14090         Fix docs, move some STATE macros to private.
14091
14092 2005-11-10  Wim Taymans  <wim@fluendo.com>
14093
14094         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14095         Added check for bug #317341
14096
14097         * gst/gstbuffer.c:
14098         * gst/gstbuffer.h:
14099         Some more spiffifying.
14100
14101         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14102         Call peer linkfunction if we are a source pad. Totally fixes
14103         #317341
14104
14105         * gst/gstpad.c:
14106         Update docs, source pads should call the peer linkfunction
14107         so they can atomically perform the pad link.
14108
14109 2005-11-09  Wim Taymans  <wim@fluendo.com>
14110
14111         * gst/gstbuffer.c:
14112         * gst/gstbuffer.h:
14113         Uber-spiffy-spiffify some more.
14114
14115 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
14116
14117         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14118         * gst/elements/gstfilesink.c: (gst_file_sink_init):
14119         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14120         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14121         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14122         * gst/gstpad.c: (gst_pad_init):
14123           Use GST_DEBUG_FUNCPTR() more extensively.
14124
14125 2005-11-09  Wim Taymans  <wim@fluendo.com>
14126
14127         * gst/gstobject.c: (gst_object_class_init):
14128         * gst/gstobject.h:
14129         Documentation fixes.
14130
14131 2005-11-09  Edward Hervey  <edward@fluendo.com>
14132
14133         * gst/gsttypefindfactory.c:
14134         Fix docs.
14135         
14136 2005-11-09  Edward Hervey  <edward@fluendo.com>
14137
14138         * gst/base/gsttypefindhelper.c:
14139         * gst/gsttypefind.c:
14140         * gst/gsttypefind.h:
14141         Fix docs.
14142
14143 2005-11-09  Wim Taymans  <wim@fluendo.com>
14144
14145         * gst/gstiterator.c:
14146         Fix revision data.
14147
14148         * gst/gsttask.c:
14149         * gst/gsttask.h:
14150         Fix docs.
14151
14152 2005-11-09  Wim Taymans  <wim@fluendo.com>
14153
14154         * gst/gstevent.h:
14155         * gst/gsturi.h:
14156         Fix docs.
14157
14158 2005-11-09  Wim Taymans  <wim@fluendo.com>
14159
14160         * docs/gst/gstreamer-sections.txt:
14161         Moved the message async delivery private lock and cond
14162         to the private section.
14163
14164         * gst/gstmessage.c:
14165         * gst/gstmessage.h:
14166         Fixed docs.
14167
14168 2005-11-09  Edward Hervey  <edward@fluendo.com>
14169
14170         * docs/gst/gstreamer-sections.txt:
14171         * gst/gsturi.c:
14172         * gst/gsturi.h:
14173         Document GstURIHandler
14174
14175 2005-11-09  Wim Taymans  <wim@fluendo.com>
14176
14177         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14178         (gst_iterator_find_custom):
14179         * gst/gstiterator.h:
14180         Fix iterator docs.
14181
14182 2005-11-09  Wim Taymans  <wim@fluendo.com>
14183
14184         * gst/gstbin.h:
14185         Document another field.
14186
14187         * gst/gststructure.c:
14188         * gst/gststructure.h:
14189         Document.
14190
14191 2005-11-09  Wim Taymans  <wim@fluendo.com>
14192
14193         * gst/gstbin.h:
14194         Documented structs.
14195
14196 2005-11-09  Wim Taymans  <wim@fluendo.com>
14197
14198         * docs/gst/gstreamer-sections.txt:
14199         Added some new macros.
14200
14201         * gst/gstclock.c:
14202         * gst/gstclock.h:
14203         * gst/gstobject.h:
14204         Docs updates.
14205
14206 2005-11-09  Wim Taymans  <wim@fluendo.com>
14207
14208         * docs/design/part-TODO.txt:
14209         Some more items for the TODO
14210
14211         * gst/gstcaps.c:
14212         * gst/gstcaps.h:
14213         Document GstCaps.
14214
14215 2005-11-09  Andy Wingo  <wingo@pobox.com>
14216
14217         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14218         to work on something else now tho...
14219
14220         * gst/base/gstadapter.c: More adapter docs.
14221
14222         * gst/elements/gstfilesink.c (gst_file_sink_start) 
14223         (gst_file_sink_stop): New functions, replace the state change
14224         handler.
14225         (gst_file_sink_class_init): Hook up the start and stop functions.
14226         (gst_file_sink_base_init): Don't set the state change handler any
14227         more. It was a bit ugly too, being set from here...
14228         (gst_file_sink_get_property, gst_file_sink_set_property):
14229         Cleanups...
14230         (gst_file_sink_set_location): More robust check that doesn't call
14231         GST_STATE. Ugggggg.
14232
14233 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
14234
14235         * gst/base/gstbasetransform.c: (gst_base_transform_event):
14236           Hold STREAM_LOCK while pushing newsegment or tag events as well.
14237
14238 2005-11-08  Wim Taymans  <wim@fluendo.com>
14239
14240         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14241         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14242         (gst_base_sink_chain), (gst_base_sink_change_state):
14243         * gst/base/gstbasesink.h:
14244         * gst/base/gstbasesrc.h:
14245         * gst/gstelement.h:
14246         * gst/gstevent.h:
14247         Avoid excessive typechecking in macros.
14248
14249         * gst/gstminiobject.c: (gst_mini_object_get_type),
14250         (gst_mini_object_init), (gst_mini_object_new),
14251         (gst_mini_object_free):
14252         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14253         (gst_object_finalize):
14254         Remove cruft code, optimize alloc_trace.
14255
14256 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * docs/faq/gst-uninstalled:
14259           fix up PS1 for systems that try to reset it
14260
14261 2005-11-07  Wim Taymans  <wim@fluendo.com>
14262
14263         * gst/base/gstbasesrc.c: (gst_base_src_init),
14264         (gst_base_src_get_range):
14265         Set the segment_end to -1 initially. Fixed typefind.
14266
14267 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
14268
14269         * gst/base/gstadapter.c:
14270           Debug category should be 'adapter', not 'GstAdapter'.
14271           
14272         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14273         (gst_collectpads_class_init), (gst_collectpads_init),
14274         (gst_collectpads_peek), (gst_collectpads_pop),
14275         (gst_collectpads_event), (gst_collectpads_chain):
14276           Add debug category and some debugging output. Use boilerplate
14277           macros. Remove some extraneous words from docs.
14278
14279 2005-11-05  Andy Wingo  <wingo@pobox.com>
14280
14281         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14282         macro.
14283
14284 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14285
14286         * docs/gst/gstreamer-sections.txt:
14287         * gst/gstcaps.h:
14288         * gst/gstinfo.c:
14289         * gst/gstminiobject.h:
14290         * gst/gstobject.h:
14291         * gst/gstutils.h:
14292           more docs added
14293
14294 2005-11-04  Wim Taymans  <wim@fluendo.com>
14295
14296         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14297         Small update to stop at the configured segment_end
14298         position.
14299
14300 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
14301
14302         * gst/gstregistry.c:
14303         * gst/gstregistry.h:
14304           added missing docs
14305
14306 2005-11-04  Edward Hervey  <edward@fluendo.com>
14307
14308         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14309         Check if we are doing a segment seek and have arrived at the
14310         end of that segment.
14311
14312 2005-11-04  Wim Taymans  <wim@fluendo.com>
14313
14314         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14315         Don't leak a mutex unlock in case of an error.
14316
14317         * gst/gstbus.h:
14318         Doc fixes.
14319
14320 2005-11-04  Wim Taymans  <wim@fluendo.com>
14321
14322         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14323         (gst_bus_post):
14324         Get the context to wake up only once.
14325
14326 2005-11-03  Wim Taymans  <wim@fluendo.com>
14327
14328         * check/states/sinks.c: (GST_START_TEST):
14329         Uncomment fixed check.
14330
14331         * docs/design/part-TODO.txt:
14332         Updated TODO.
14333
14334         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14335         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14336         (gst_base_sink_get_position):
14337         If we are going to PLAYING, post the right pending state
14338         when we post the intermediate paused message.
14339
14340         * gst/gstelement.c: (gst_element_continue_state),
14341         (gst_element_set_state_func), (gst_element_change_state):
14342         Don't post state changes that were between the same state
14343         and were not ASYNC.
14344
14345 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14346
14347         * docs/gst/gstreamer-sections.txt:
14348         * gst/gstcaps.h:
14349         * gst/gstinfo.c:
14350         * gst/gstminiobject.h:
14351         * gst/gstobject.h:
14352         * gst/gstutils.h:
14353           more docs and doc style fixes
14354
14355 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
14356
14357         * docs/gst/gstreamer-sections.txt:
14358         * gst/gstelement.c:
14359         * gst/gstminiobject.c:
14360         doc fixes
14361
14362 2005-11-03  Andy Wingo  <wingo@pobox.com>
14363
14364         * check/states/sinks.c (test_livesrc_sink): Add checks that the
14365         state-changed messages actually have the right order and the right
14366         values.
14367
14368 2005-11-03  Wim Taymans  <wim@fluendo.com>
14369
14370         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14371         Added some more checks. Specifically the case where NO_PREROLL
14372         elements are in the pipeline.
14373
14374         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14375         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14376         (gst_base_sink_get_position):
14377         Post READY->PAUSED state change messages too.
14378         Fix bug where VOID was posted as pending state...
14379
14380         * gst/gstbin.c: (gst_bin_recalc_state):
14381         use _element_continue_state() to continue the state change.
14382
14383         * gst/gstelement.c: (gst_element_continue_state),
14384         (gst_element_commit_state), (gst_element_set_state_func),
14385         (gst_element_change_state), (gst_element_change_state_func):
14386         Lots of state change cleanups, assign the STATE_RETURN in
14387         a new continue_state() function that also propagates the
14388         last return value from a state change to the app.
14389         Update some debug statements with proper category.
14390
14391 2005-11-03  Wim Taymans  <wim@fluendo.com>
14392
14393         * docs/design/part-events.txt:
14394         * docs/design/part-gstpipeline.txt:
14395         * docs/design/part-messages.txt:
14396         * docs/design/part-overview.txt:
14397         * docs/design/part-seeking.txt:
14398         * docs/design/part-states.txt:
14399         * docs/design/part-trickmodes.txt:
14400         * docs/manual/advanced-position.xml:
14401         Small docs updates.
14402
14403         * gst/gstobject.h:
14404         People think !! is ugly, this looks better.
14405
14406         * gst/gstpad.c: (gst_pad_set_blocked_async):
14407         Remove !! since it's fixed elsewhere now.
14408
14409 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14410
14411         * gst/gstminiobject.h:
14412         * gst/gstobject.h:
14413           Add !! to _FLAG_IS_SET macros to make the result boolean.
14414
14415 2005-11-03  Edward Hervey  <edward@fluendo.com>
14416
14417         * gst/gstpad.c: (gst_pad_set_blocked_async):
14418         comparing a flag and a gboolean rarely returns coherent results...
14419         Added two characters (!!) to make that work correctly.
14420         
14421 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14422
14423         * gst/gstbus.c: (gst_bus_class_init):
14424           Fix some typos.
14425           
14426         * gst/gstqueue.c: (gst_queue_loop):
14427           Don't assume a miniobject that isn't a buffer is an
14428           event (it could be that there is a refcounting
14429           problem somewhere and the pointer is stale and
14430           refers to an already destroyed miniobject).
14431
14432 2005-11-03  Julien MOUTTE  <julien@moutte.net>
14433
14434         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14435
14436 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
14437
14438         * docs/manual/advanced-position.xml:
14439           Update seek example and explanations to current 0.9 API.
14440
14441         * gst/elements/gsttypefindelement.c:
14442         (gst_type_find_element_activate):
14443           Remove FIXME comment now that the found caps
14444           are unreffed.
14445
14446 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14447
14448         * gst/gstregistryxml.c: (load_feature):
14449           Add another GST_STR_NULL instance
14450
14451 2005-11-02  Edward Hervey  <edward@fluendo.com>
14452
14453         * gst/gstpad.c: (handle_pad_block):
14454         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14455         
14456 2005-11-02  Wim Taymans  <wim@fluendo.com>
14457
14458         * gst/gstbin.c:
14459         Fix typo in docs.
14460
14461         * gst/gstelement.c: (gst_element_commit_state):
14462         Remove unused value.
14463
14464         * gst/gstiterator.c:
14465         Mention that the returned element is reffed in the docs.
14466
14467 2005-11-02  Wim Taymans  <wim@fluendo.com>
14468
14469         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14470         (gst_pad_push), (gst_pad_push_event):
14471         Unlock blocked pads when they are flushed.
14472
14473 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14474
14475         * docs/README:
14476         * docs/gst/gstreamer-sections.txt:
14477         * gst/gstbin.c:
14478           doc updates
14479         * gst/gstregistry.c: (gst_registry_scan_path_level):
14480           fix for a nasty little missed situation where an installed plug-in
14481           which was in the cache did not get overridden by an uninstalled one
14482           which was earlier in the plugin path because the newly created plugin
14483           for the uninstalled one (not in the registry) didn't get its
14484           ->registered set to TRUE
14485
14486 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14487
14488         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14489         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14490         (gst_collectpads_is_active), (gst_collectpads_collect),
14491         (gst_collectpads_collect_range), (gst_collectpads_start),
14492         (gst_collectpads_stop), (gst_collectpads_peek),
14493         (gst_collectpads_pop), (gst_collectpads_available),
14494         (gst_collectpads_read), (gst_collectpads_flush):
14495           Guard public API with assertions.
14496         
14497         * gst/gstpad.c:
14498           Fix docs for gst_pad_set_link_function().
14499
14500 2005-11-02  Johan Dahlin  <johan@gnome.org>
14501
14502         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
14503         Unref found_caps after we used it.
14504
14505 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
14506
14507         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14508           Don't try to ref NULL.
14509
14510 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14511
14512         * win32/common/config.h.in:
14513           provide a GST_FUNCTION that just gives a string for now
14514
14515 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14516
14517         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14518         (gst_object_flags_get_type), (register_gst_bin_flags),
14519         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14520         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14521         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14522         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14523         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14524         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14525         (gst_clock_flags_get_type), (register_gst_state),
14526         (gst_state_get_type), (register_gst_state_change_return),
14527         (gst_state_change_return_get_type), (register_gst_state_change),
14528         (gst_state_change_get_type), (register_gst_element_flags),
14529         (gst_element_flags_get_type), (register_gst_core_error),
14530         (gst_core_error_get_type), (register_gst_library_error),
14531         (gst_library_error_get_type), (register_gst_resource_error),
14532         (gst_resource_error_get_type), (register_gst_stream_error),
14533         (gst_stream_error_get_type), (register_gst_event_type),
14534         (gst_event_type_get_type), (register_gst_seek_type),
14535         (gst_seek_type_get_type), (register_gst_seek_flags),
14536         (gst_seek_flags_get_type), (register_gst_format),
14537         (gst_format_get_type), (register_gst_index_certainty),
14538         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14539         (gst_index_entry_type_get_type),
14540         (register_gst_index_lookup_method),
14541         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14542         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14543         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14544         (gst_index_flags_get_type), (register_gst_debug_level),
14545         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14546         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14547         (gst_iterator_result_get_type), (register_gst_iterator_item),
14548         (gst_iterator_item_get_type), (register_gst_message_type),
14549         (gst_message_type_get_type), (register_gst_mini_object_flags),
14550         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14551         (gst_pad_link_return_get_type), (register_gst_flow_return),
14552         (gst_flow_return_get_type), (register_gst_activate_mode),
14553         (gst_activate_mode_get_type), (register_gst_pad_direction),
14554         (gst_pad_direction_get_type), (register_gst_pad_flags),
14555         (gst_pad_flags_get_type), (register_gst_pad_presence),
14556         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14557         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14558         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14559         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14560         (gst_plugin_flags_get_type), (register_gst_rank),
14561         (gst_rank_get_type), (register_gst_query_type),
14562         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14563         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14564         (gst_tag_flag_get_type), (register_gst_task_state),
14565         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14566         (gst_alloc_trace_flags_get_type),
14567         (register_gst_type_find_probability),
14568         (gst_type_find_probability_get_type), (register_gst_uri_type),
14569         (gst_uri_type_get_type), (register_gst_parse_error),
14570         (gst_parse_error_get_type):
14571         * win32/common/gstversion.h:
14572           update win32 copies
14573
14574 2005-11-01  Luca Ognibene  <luogni@tin.it>
14575
14576         * gst/gst.c:
14577           fix docs. popt is dead, long live GOption.
14578
14579 2005-10-31  Wim Taymans  <wim@fluendo.com>
14580
14581         * gst/gstbuffer.h:
14582         Small doc fix.
14583
14584 2005-10-31  Andy Wingo  <wingo@pobox.com>
14585
14586         * Boo!
14587
14588         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14589
14590         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14591         need to serialize property notifications on GLib 2.8. GLib 2.6 has
14592         the possibility of deadlocks here if code calling notify() or
14593         set() has a lock that can be taken in another notify handler (ABBA
14594         with class lock and e.g. python GIL state lock).
14595
14596 2005-10-28  Julien MOUTTE  <julien@moutte.net>
14597
14598         * gst/gstbus.c: Doc updates.
14599
14600 2005-10-28  Wim Taymans  <wim@fluendo.com>
14601
14602         * docs/design/part-TODO.txt:
14603         * gst/gstiterator.c:
14604         * gst/gstsystemclock.c:
14605         * gst/gstsystemclock.h:
14606         Doc updates.
14607
14608 2005-10-28  Edward Hervey  <edward@fluendo.com>
14609
14610         * docs/gst/gstreamer-docs.sgml:
14611         * docs/gst/gstreamer-sections.txt:
14612         the GstURIType documentation page is private, it only defines GstURIType
14613         which should be defined in the GstURIHandler page
14614         
14615 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14616
14617         * gst/gstbin.c: (gst_bin_class_init):
14618         * gst/gstbin.h:
14619         * gst/gstutils.c:
14620         Documentation updates.
14621
14622 2005-10-28  Wim Taymans  <wim@fluendo.com>
14623
14624         * docs/gst/gstreamer-sections.txt:
14625         * gst/gstclock.c:
14626         * gst/gstclock.h:
14627         Documented the clocks.
14628
14629 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
14630
14631         * docs/gst/gstreamer-sections.txt:
14632           move some macros to private sections
14633         * gst/gstminiobject.c:
14634         * gst/gstminiobject.h:
14635           add descriptions provided by ds and some more
14636         * gst/gstpad.h:
14637           mark macro as to be removed
14638
14639 2005-10-28  Wim Taymans  <wim@fluendo.com>
14640
14641         * docs/design/part-TODO.txt:
14642         Add an item to TODO.
14643
14644         * gst/gstiterator.c: (gst_iterator_fold),
14645         (gst_iterator_find_custom):
14646         * gst/gstiterator.h:
14647         Add iterator docs.
14648
14649 2005-10-28  Wim Taymans  <wim@fluendo.com>
14650
14651         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14652         (gst_base_transform_init):
14653         Don't leak class.
14654
14655         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14656         An EOS event marks the queue as completely filled.
14657
14658 2005-10-27  Wim Taymans  <wim@fluendo.com>
14659
14660         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14661         (gst_base_sink_do_sync), (gst_base_sink_get_position):
14662         Some more debugging.
14663
14664         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14665         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14666         (gst_base_transform_event), (gst_base_transform_getrange),
14667         (gst_base_transform_chain):
14668         * gst/base/gstbasetransform.h:
14669         Fix debugging,
14670         Protect transform and concurrent buffer alloc with a new lock.
14671         Try not to break ABI/API.
14672
14673 2005-10-27  Wim Taymans  <wim@fluendo.com>
14674
14675         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14676         (gst_base_src_init), (gst_base_src_query),
14677         (gst_base_src_default_newsegment),
14678         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14679         (gst_base_src_send_event), (gst_base_src_event_handler),
14680         (gst_base_src_pad_get_range), (gst_base_src_loop),
14681         (gst_base_src_unlock), (gst_base_src_default_negotiate),
14682         (gst_base_src_start), (gst_base_src_deactivate),
14683         (gst_base_src_activate_push), (gst_base_src_change_state):
14684         Move some stuff around and cleanup things.
14685
14686 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
14687
14688         * gst/base/gstbasesrc.c: (gst_base_src_query):
14689           Add missing break statements.
14690
14691 2005-10-27  Wim Taymans  <wim@fluendo.com>
14692
14693         * check/gst/gstbin.c: (GST_START_TEST):
14694         An extra refcount is taken in basesrc.
14695
14696         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14697         (gst_base_src_get_range), (gst_base_src_pad_get_range),
14698         (gst_base_src_loop):
14699         Small cleanups, check for flushing after being unlocked from the 
14700         LIVE_LOCK. take refcounts correctly (not yet everywhere).
14701         Don't send out EOS when going to READY.
14702
14703 2005-10-27  Wim Taymans  <wim@fluendo.com>
14704
14705         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14706         (gst_base_sink_get_position):
14707         Some more debug.
14708
14709         * gst/gstbin.c: (message_check), (bin_replace_message),
14710         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14711         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14712         (bin_query_duration_init), (bin_query_duration_fold),
14713         (bin_query_duration_done), (bin_query_generic_fold),
14714         (gst_bin_query):
14715         * tools/gst-launch.c: (main):
14716         Remove old option.
14717
14718 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
14719
14720         * examples/controller/audio-example.c: (main):
14721         * examples/queue/queue.c: (event_loop):
14722         * gst/base/gstbasetransform.h:
14723         * gst/gstelement.c: (gst_element_send_event):
14724         * gst/gstevent.h:
14725         * gst/gstpad.c: (gst_pad_send_event):
14726           fixing examples
14727           fixing docs typos
14728           changing log priority in error situations
14729
14730 2005-10-25  Wim Taymans  <wim@fluendo.com>
14731
14732         * gst/gstbin.c: (message_check), (bin_replace_message),
14733         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14734         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14735         (bin_query_duration_init), (bin_query_duration_fold),
14736         (bin_query_duration_done), (bin_query_generic_fold),
14737         (gst_bin_query):
14738         Some doc and debug updates.
14739         Cache previously requested query DURATION for speed. invalidate
14740         cached duration if element posts a DURATION message.
14741
14742 2005-10-25  Wim Taymans  <wim@fluendo.com>
14743
14744         * docs/design/part-TODO.txt:
14745         Update TODO.
14746
14747         * gst/gstbin.c: (message_check), (bin_replace_message),
14748         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14749         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14750         (bin_query_duration_init), (bin_query_duration_fold),
14751         (bin_query_duration_done), (bin_query_generic_fold),
14752         (gst_bin_query):
14753         Handle SEGMENT_START/DONE messages correctly.
14754         More evolved query algorithm that handles duration queries
14755         correctly.
14756
14757         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14758         (gst_element_get_state_func), (gst_element_abort_state),
14759         (gst_element_commit_state), (gst_element_lost_state):
14760         Some more debugging.
14761
14762         * gst/gstmessage.h:
14763         Added doc.
14764
14765 2005-10-25  Wim Taymans  <wim@fluendo.com>
14766
14767         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14768         Don't use invalid stream_time.
14769
14770         * gst/gstevent.c: (gst_event_new_newsegment):
14771         stream_time in newsegment cannot be undefined.
14772
14773 2005-10-24  Wim Taymans  <wim@fluendo.com>
14774
14775         * gst/gstbus.c:
14776         Doc fix.
14777
14778         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14779         (gst_queue_loop):
14780         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14781
14782 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
14783
14784         * docs/libs/tmpl/gstdparam.sgml:
14785         * docs/libs/tmpl/gstdplinint.sgml:
14786         * docs/libs/tmpl/gstdpman.sgml:
14787         * docs/libs/tmpl/gstdpsmooth.sgml:
14788         * docs/libs/tmpl/gstunitconvert.sgml:
14789           these are obsolete
14790
14791 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14792
14793         * configure.ac:
14794           back to HEAD
14795
14796 === release 0.9.4 ===
14797
14798 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14799
14800         * configure.ac:
14801           releasing 0.9.4, "Tyrannosaurus Rex"
14802
14803 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
14804
14805         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14806         (gst_file_sink_get_current_offset):
14807           Use fseeko() and ftello() if available. When falling back on
14808           lseek() to get the current offset, fflush() first to make sure
14809           everything is up-to-date and we get the right offset.
14810
14811 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14812
14813         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14814         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14815         * gst/gsterror.c: (_gst_stream_errors_init):
14816         * gst/gsterror.h:
14817         * gst/gstqueue.c: (gst_queue_loop):
14818         * po/POTFILES.in:
14819           remove prematurely added error category and clean up the instances
14820
14821 2005-10-21  Wim Taymans  <wim@fluendo.com>
14822
14823         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14824         (gst_base_sink_get_position), (gst_base_sink_query),
14825         (gst_base_sink_change_state):
14826         Simply set the right flag when going to playing, that's all
14827         we need to do instead of calling a function inside the object
14828         lock (that could take the lock as well and deadlock)
14829
14830 2005-10-21  Wim Taymans  <wim@fluendo.com>
14831
14832         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14833         (gst_base_src_loop):
14834         Don't warn, the peer element knows what to do best when
14835         the seek failed, it might try something else.
14836
14837 2005-10-21  Wim Taymans  <wim@fluendo.com>
14838
14839         * gst/base/gstbasesrc.c: (gst_base_src_init),
14840         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14841         Fix seeking.
14842
14843 2005-10-21  Wim Taymans  <wim@fluendo.com>
14844
14845         * docs/design/part-segments.txt:
14846         More docs.
14847
14848         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14849         Correctly set caps, even on the subbufer.
14850
14851 2005-10-21  Wim Taymans  <wim@fluendo.com>
14852
14853         * docs/gst/gstreamer-docs.sgml:
14854         * docs/gst/gstreamer-sections.txt:
14855         * gst/gstelement.h:
14856         * gst/gstevent.c:
14857         * gst/gstevent.h:
14858         * gst/gstmessage.h:
14859         * gst/gstpad.h:
14860         * gst/gstparse.h:
14861         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
14862         * gst/gsttask.h:
14863         * gst/gstutils.c:
14864         * gst/gstutils.h:
14865         And 2% more doc coverage.
14866
14867 2005-10-21  Andy Wingo  <wingo@pobox.com>
14868
14869         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
14870         position reporting.
14871
14872 2005-10-20  Wim Taymans  <wim@fluendo.com>
14873
14874         * gst/gsterror.c: (gst_error_get_message):
14875         * gst/gstparse.h:
14876         * gst/gstquery.h:
14877         * gst/gststructure.c:
14878         * gst/gsttrace.c:
14879         * gst/gstutils.c:
14880         More docs.
14881
14882 2005-10-20  Wim Taymans  <wim@fluendo.com>
14883
14884         * gst/gstbuffer.h:
14885         * gst/gstpad.c:
14886         * gst/gstparse.c:
14887         Another 1% more coverage.
14888
14889 2005-10-20  Wim Taymans  <wim@fluendo.com>
14890
14891         * docs/gst/gstreamer-sections.txt:
14892         * gst/gstelement.c: (gst_element_get_state_func),
14893         (gst_element_abort_state), (gst_element_commit_state),
14894         (gst_element_lost_state):
14895         * gst/gstevent.h:
14896         * gst/gstquery.c: (gst_query_set_position),
14897         (gst_query_parse_position), (gst_query_set_duration),
14898         (gst_query_parse_duration), (gst_query_new_convert):
14899         * gst/gstutils.c:
14900         Yay! 1% more docs coverage.
14901
14902 2005-10-20  Wim Taymans  <wim@fluendo.com>
14903
14904         * gst/gstpad.h:
14905         * gst/gstquery.c: (gst_query_set_position),
14906         (gst_query_parse_position), (gst_query_set_duration),
14907         (gst_query_parse_duration), (gst_query_new_convert):
14908         * gst/gstquery.h:
14909         * gst/gstutils.c: (gst_element_query_convert):
14910         * gst/gstutils.h:
14911         Docs and consistency fixes.
14912
14913 2005-10-20  Wim Taymans  <wim@fluendo.com>
14914
14915         * gst/gsttask.c:
14916         * gst/gsttask.h:
14917         More docs.
14918
14919 2005-10-20  Wim Taymans  <wim@fluendo.com>
14920
14921         * gst/gstbin.c: (message_check), (bin_replace_message),
14922         (bin_remove_messages), (is_eos), (gst_bin_add_func),
14923         (update_degree), (gst_bin_sort_iterator_next),
14924         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
14925         Reworked the message handling a bit, cache the messages instead of
14926         only the senders. alows us to do more in the future.
14927
14928 2005-10-20  Wim Taymans  <wim@fluendo.com>
14929
14930         * docs/design/part-TODO.txt:
14931         Update TODO
14932
14933         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14934         (gst_base_sink_query):
14935         Don't use clock time to report position when in EOS.
14936
14937 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
14938
14939         * tools/gst-inspect.c: (print_interfaces),
14940         (print_element_properties_info), (print_element_info):
14941           Fix interface output with gst-inspect -a; don't print
14942           newlines after double/float properties.
14943
14944 2005-10-20  Wim Taymans  <wim@fluendo.com>
14945
14946         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
14947         (gst_base_sink_query):
14948         Speed up current position calculation.
14949
14950         * gst/base/gstbasesrc.c: (gst_base_src_query),
14951         (gst_base_src_default_newsegment):
14952         Correctly set stream position in newsegment.
14953
14954         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
14955         (update_degree), (gst_bin_sort_iterator_next),
14956         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
14957         * gst/gstmessage.c: (gst_message_new_custom):
14958         Clean up debugging info
14959
14960         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14961         (gst_queue_loop), (gst_queue_handle_src_query):
14962         Pause task faster.
14963
14964 2005-10-19  Wim Taymans  <wim@fluendo.com>
14965
14966         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14967         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14968         Fix query handling again.
14969
14970 2005-10-19  Wim Taymans  <wim@fluendo.com>
14971
14972         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14973         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
14974         * gst/base/gstbasesrc.c: (gst_base_src_query):
14975         * gst/elements/gstfilesink.c: (gst_file_sink_query):
14976         * gst/elements/gsttypefindelement.c:
14977         (gst_type_find_handle_src_query), (find_element_get_length),
14978         (gst_type_find_element_activate):
14979         API change fix.
14980
14981         * gst/gstquery.c: (gst_query_new_position),
14982         (gst_query_set_position), (gst_query_parse_position),
14983         (gst_query_new_duration), (gst_query_set_duration),
14984         (gst_query_parse_duration), (gst_query_set_segment),
14985         (gst_query_parse_segment):
14986         * gst/gstquery.h:
14987         Bundling query position/duration is not a good idea since duration
14988         does not change much and we don't want to recalculate it for every
14989         position query, so they are separated again..
14990         Base value in segment query is not needed.
14991
14992         * gst/gstqueue.c: (gst_queue_handle_src_query):
14993         * gst/gstutils.c: (gst_element_query_position),
14994         (gst_element_query_duration), (gst_pad_query_position),
14995         (gst_pad_query_duration):
14996         * gst/gstutils.h:
14997         Updates for query API change.
14998         Added some docs here and there.
14999
15000 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15001
15002         * check/gst/gstbin.c: (GST_START_TEST):
15003         * check/gst/gstghostpad.c: (GST_START_TEST):
15004         * check/pipelines/cleanup.c: (GST_START_TEST):
15005           wait on thread to die so we can check refcount correctly
15006
15007 2005-10-18  Wim Taymans  <wim@fluendo.com>
15008
15009         * check/pipelines/stress.c: (GST_START_TEST):
15010         Make check a little more time consuming.
15011
15012 2005-10-18  Wim Taymans  <wim@fluendo.com>
15013
15014         * check/Makefile.am:
15015         * check/pipelines/stress.c: (GST_START_TEST),
15016         (simple_launch_lines_suite), (main):
15017         Small state change torture test.
15018
15019         * docs/design/part-states.txt:
15020         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15021         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15022         (gst_base_sink_change_state):
15023         Never take state lock from streaming thread, clean up ugly
15024         hacks. Unfortunatly core does not yet support nice ways to
15025         async commit state.
15026         
15027         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15028         (bin_bus_handler):
15029         Start state recalc if a STATE_DIRTY message is posted, but only
15030         on the toplevel bin.
15031
15032         * gst/gstelement.c: (gst_element_sync_state_with_parent),
15033         (gst_element_get_state_func), (gst_element_abort_state),
15034         (gst_element_commit_state), (gst_element_lost_state),
15035         (gst_element_set_state_func), (gst_element_change_state):
15036         * gst/gstelement.h:
15037         State variables are now protected with the LOCK, the state
15038         lock is only used to serialize _set_state().
15039
15040 2005-10-18  Wim Taymans  <wim@fluendo.com>
15041
15042         * check/gst/gstbin.c: (GST_START_TEST):
15043         * check/gst/gstmessage.c: (GST_START_TEST):
15044         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15045         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15046         (bin_bus_handler):
15047         * gst/gstelement.c: (gst_element_abort_state),
15048         (gst_element_commit_state), (gst_element_lost_state):
15049         * gst/gstmessage.c: (gst_message_new_state_changed),
15050         (gst_message_new_state_dirty), (gst_message_new_segment_start),
15051         (gst_message_new_segment_done), (gst_message_new_duration),
15052         (gst_message_parse_state_changed),
15053         (gst_message_parse_segment_start),
15054         (gst_message_parse_segment_done), (gst_message_parse_duration):
15055         * gst/gstmessage.h:
15056         * tools/gst-launch.c: (event_loop):
15057         Seriously, this is better than a previous commit as we only need
15058         to notify the fact that an element changed state in a streaming
15059         thread, marking the state of the parents dirty, hence the 
15060         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15061         message.
15062
15063 2005-10-18  Wim Taymans  <wim@fluendo.com>
15064
15065         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15066         (gst_bin_recalc_func):
15067         * gst/gstelement.c: (gst_element_set_clock),
15068         (gst_element_abort_state), (gst_element_lost_state):
15069         Cleanups, prepare for state change fixes.
15070
15071 2005-10-18  Wim Taymans  <wim@fluendo.com>
15072
15073         * gst/gstbin.h:
15074         * gst/gstelement.c: (gst_element_class_init),
15075         (gst_element_set_state), (gst_element_set_state_func):
15076         * gst/gstelement.h:
15077         Pending ABI changes.
15078         GThreadPool in GstBinClass to monitor async state changes.
15079         state_cookie in GstElement to detect concurrent gst/set state.
15080         set_state is now virtual too in case a very complicated element
15081         has to be constructed.
15082
15083 2005-10-18  Wim Taymans  <wim@fluendo.com>
15084
15085         * check/gst/gstbin.c: (GST_START_TEST):
15086         * check/gst/gstmessage.c: (GST_START_TEST):
15087         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15088         * gst/gstbin.c: (bin_bus_handler):
15089         * gst/gstelement.c: (gst_element_commit_state),
15090         (gst_element_lost_state):
15091         * gst/gstmessage.c: (gst_message_new_state_changed),
15092         (gst_message_new_segment_start), (gst_message_new_segment_done),
15093         (gst_message_new_duration), (gst_message_parse_state_changed),
15094         (gst_message_parse_segment_start),
15095         (gst_message_parse_segment_done), (gst_message_parse_duration):
15096         * gst/gstmessage.h:
15097         * tools/gst-launch.c: (event_loop):
15098         Make messages future proof.
15099         state-change gets a flag if it was a message comming from the
15100         streaming thread.
15101         segment-start/stop can also be specified in other formats.
15102         A message to notify an app that a pipeline changed playback 
15103         duration.
15104         Also fix a GstMessage leak in -launch
15105
15106 2005-10-18  Andy Wingo  <wingo@pobox.com>
15107
15108         * gst/gstelement.c (gst_element_dispose): More helpful message.
15109
15110 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15111
15112         reviewed by: <delete if not using a buddy>
15113
15114         * common/gtk-doc.mak:
15115
15116 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15117
15118         * gst/gstregistry.c: (gst_registry_scan_path_level):
15119           unref a plug-in we get that was already initialized
15120
15121 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
15122
15123         * docs/gst/gstreamer-sections.txt:
15124         * docs/libs/gstreamer-libs-sections.txt:
15125         * gst/gstelement.h:
15126           add new api entries
15127           hide internal macro
15128
15129 2005-10-17  Andy Wingo  <wingo@pobox.com>
15130
15131         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15132         cleanup.
15133
15134         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15135
15136         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15137
15138         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15139         (gst_element_get_state_func): Better debug message.
15140         (gst_element_commit_state): s/INFO/DEBUG/.
15141         (gst_element_lost_state, gst_element_change_state): 
15142
15143         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15144         (gst_message_new_custom): s/INFO/LOG/.
15145
15146 2005-10-17  Michael Smith <msmith@fluendo.com>
15147
15148         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15149           Check if end time is valid using end time, not start time.
15150
15151 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
15152
15153         * check/gst-libs/controller.c: (GST_START_TEST),
15154         (gst_controller_suite):
15155         * libs/gst/controller/gstcontroller.c:
15156         (gst_controlled_property_set_interpolation_mode):
15157         * libs/gst/controller/gstcontroller.h:
15158         * libs/gst/controller/gstinterpolation.c:
15159         * testsuite/controller/.cvsignore:
15160         * testsuite/controller/Makefile.am:
15161         * testsuite/controller/interpolator.c:
15162           merge controller testsuites
15163           fix broken tests
15164           remove mem-chunk from docs
15165
15166 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15167
15168         * gst/gstmemchunk.c:
15169         * gst/gstmemchunk.h:
15170         * gst/gsttrashstack.c:
15171         * gst/gsttrashstack.h:
15172           out.  get out.  you're fired.  to the Attic !
15173
15174 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15175
15176         * gst/gstcaps.c: (gst_caps_intersect):
15177           fix signedness issues in a (hopefully) correct way
15178         * gst/gstelement.c: (gst_element_pads_activate):
15179           some debugging
15180         * gst/gstobject.c: (gst_object_set_parent):
15181           some debugging
15182
15183 2005-10-17  Julien MOUTTE  <julien@moutte.net>
15184
15185         * gst/gstvalue.h: Fix prototypes.
15186
15187 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15188
15189         * docs/gst/gstreamer-sections.txt:
15190         * gst/gst.c: (gst_version_string):
15191         * gst/gst.h:
15192         * gst/gstversion.h.in:
15193         * win32/common/libgstreamer.def:
15194           add gst_version_string ()
15195
15196 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15197
15198         * configure.ac:
15199           clean up further
15200         * gst/gst.c: (init_post):
15201         * win32/common/config.h.in:
15202           it's PLUGINDIR now
15203         * gst/gstcaps.c: (gst_caps_intersect):
15204           use gint64, the range could be bigger than a guint
15205
15206 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15207
15208         * gst/gstclock.h:
15209           document potential problem in 2038
15210
15211 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15212
15213         * gst/gstcaps.c: (gst_caps_intersect):
15214           Fix guint j diving under 0
15215
15216 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15217
15218         * configure.ac:
15219         * win32/common/config.h:
15220         * win32/common/config.h.in:
15221           check for process.h, declares getpid() on Windows
15222         * gst/gstinfo.c:
15223           include process.h if we have it
15224         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15225         * gst/gstmemchunk.h:
15226           fix signedness issues
15227         * win32/common/libgstreamer.def:
15228           fix get_type's
15229
15230 2005-10-16  Julien MOUTTE  <julien@moutte.net>
15231
15232         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15233         fix. Because of unsigned ints, caps intersection was going nuts and
15234         trying to access structures with G_MAXUINT index. That fixes
15235         videotestsrc ! ffmpegcolorspace ! fakesink
15236         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15237         consistency.
15238
15239 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15240
15241         * configure.ac:
15242           use the gettext macro
15243         * gst/elements/gstelements.c:
15244         * gst/gst.c:
15245         * gst/indexers/gstindexers.c:
15246           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15247         * win32/common/config.h:
15248           updated config.h
15249         * win32/common/config.h.in:
15250           add the template to generate config.h
15251         * win32/common/gstenumtypes.c:
15252         * win32/common/gstversion.h:
15253           updated copies
15254
15255 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15256
15257         * gst/gst.c: (gst_version):
15258         * gst/gstversion.h.in:
15259           add the nano
15260
15261 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15262
15263         * gst/gstevent.h:
15264           Oops, add missing closing bracket.
15265
15266 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15267
15268         * configure.ac:
15269           use common m4's for argument checking
15270
15271 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
15272
15273         * docs/gst/gstreamer-sections.txt:
15274         * gst/gstevent.h:
15275           Add GST_EVENT_TYPE_NAME() macro.
15276
15277 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15278
15279         * gst/gstinfo.c:
15280         * gst/gstpluginfeature.c:
15281         * gst/gsttask.c:
15282           privatize more symbols
15283
15284 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15285
15286         * configure.ac:
15287           add srcdir, builddir includes to GST_ALL_CFLAGS, since
15288           everything that uses GStreamer API should have the includes
15289
15290 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15291
15292         * docs/gst/gstreamer-sections.txt:
15293         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15294         * gst/gstvalue.h:
15295           give each value a _get_type, removes the DATA exports
15296
15297 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15298
15299         * gst/gst.c:
15300         * gst/gst.h:
15301           remove _gst_registry_auto_load, not used anymore
15302         * gst/gstbin.c: (gst_bin_get_type):
15303         * gst/gstbin.h:
15304         * gst/gstelement.c: (gst_element_get_type):
15305         * gst/gstelement.h:
15306         * gst/gstobject.c: (gst_object_get_type):
15307         * gst/gstobject.h:
15308         * gst/gstpad.c: (gst_pad_get_type):
15309         * gst/gstpad.h:
15310           make _get_type functions similar, fixes data export from library
15311
15312 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15313
15314         * configure.ac:
15315           correctly make conditionals
15316         * gst/elements/Makefile.am:
15317         * gst/elements/gstelements.c:
15318           fix typo causing fdsrc not to build
15319
15320 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15321
15322         * testsuite/Makefile.am:
15323         * testsuite/bytestream/.cvsignore:
15324         * testsuite/bytestream/Makefile.am:
15325         * testsuite/bytestream/filepadsink.c:
15326         * testsuite/bytestream/gstbstest.c:
15327         * testsuite/bytestream/test1.c:
15328         * testsuite/bytestream/testfile1:
15329         * testsuite/caps/normalisation.c:
15330         * testsuite/caps/random.c: (main):
15331         * testsuite/cleanup/.cvsignore:
15332         * testsuite/cleanup/Makefile.am:
15333         * testsuite/cleanup/cleanup1.c:
15334         * testsuite/cleanup/cleanup2.c:
15335         * testsuite/cleanup/cleanup3.c:
15336         * testsuite/cleanup/cleanup4.c:
15337         * testsuite/cleanup/cleanup5.c:
15338         * testsuite/controller/interpolator.c:
15339         * testsuite/debug/printf_extension.c: (main):
15340         * testsuite/elements/tee.c:
15341         * testsuite/negotiation/.cvsignore:
15342         * testsuite/negotiation/Makefile.am:
15343         * testsuite/negotiation/pad_link.c:
15344         * testsuite/pad/Makefile.am:
15345         * testsuite/pad/chainnopull.c:
15346         * testsuite/pad/getnopush.c:
15347         * testsuite/pad/link.c:
15348         * testsuite/refcounting/sched.c: (create_pipeline):
15349         * testsuite/registry/Makefile.am:
15350         * testsuite/registry/gst-print-formats.c:
15351         * testsuite/schedulers/.cvsignore:
15352         * testsuite/schedulers/142183-2.c:
15353         * testsuite/schedulers/142183.c:
15354         * testsuite/schedulers/143777-2.c:
15355         * testsuite/schedulers/143777.c:
15356         * testsuite/schedulers/147713.c:
15357         * testsuite/schedulers/147819.c:
15358         * testsuite/schedulers/147894-2.c:
15359         * testsuite/schedulers/147894.c:
15360         * testsuite/schedulers/Makefile.am:
15361         * testsuite/schedulers/group_link.c:
15362         * testsuite/schedulers/queue_link.c:
15363         * testsuite/schedulers/relink.c:
15364         * testsuite/schedulers/unlink.c:
15365         * testsuite/schedulers/unref.c:
15366         * testsuite/schedulers/useless_iteration.c:
15367         * testsuite/states/bin.c:
15368           clean out/remove some stuff from the testsuite directories
15369
15370 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15371
15372         * configure.ac:
15373           check for some headers
15374         * gst/elements/Makefile.am:
15375         * gst/elements/gstelements.c:
15376           don't compile fdsrc without sys/socket.h
15377         * gst/indexers/Makefile.am:
15378         * gst/indexers/gstindexers.c: (plugin_init):
15379           don't compile fileindex without mmap
15380
15381 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15382
15383         * configure.ac:
15384           reorganize
15385           clean up
15386           document more
15387           remove cruft
15388         * check/Makefile.am:
15389         * docs/gst/Makefile.am:
15390         * examples/helloworld/Makefile.am:
15391         * gst/Makefile.am:
15392         * gst/base/Makefile.am:
15393         * gst/check/Makefile.am:
15394         * gst/elements/Makefile.am:
15395         * gst/indexers/Makefile.am:
15396         * gst/parse/Makefile.am:
15397         * libs/gst/controller/Makefile.am:
15398         * libs/gst/dataprotocol/Makefile.am:
15399         * examples/helloworld/helloworld.c: (event_loop):
15400           compile fixes, though it's not being compiled currently
15401
15402 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15403
15404         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15405           Add some simple tests for the new taglist date API.
15406
15407 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15408
15409         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15410         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15411           Beautify 'last-message' output: print 'none' for buffer timestamps
15412           and durations if none is set; improve alignment with next messages.
15413
15414 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
15415
15416         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15417         * gst/gstpluginfeature.h:
15418         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15419         * gst/gstregistry.h:
15420         * docs/gst/gstreamer-sections.txt:
15421           Add new API to check plugin feature version requirements.
15422
15423         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15424           Some basic tests for the above.         
15425
15426 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15427
15428         * gst/gststructure.c: (gst_structure_to_string):
15429           guard against NULL printf - happens when for example
15430           a message structure with GstClock gets serialized
15431
15432 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15433
15434         * gst/base/gstcollectpads.c: (gst_collectpads_event):
15435           Fix presumable copy'n'pasto.
15436
15437 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15438
15439         * gst/elements/gstfakesrc.h:
15440         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15441         * gst/elements/gsttypefindelement.c:
15442           fix some signedness
15443         * gst/elements/gstfilesink.c: (gst_file_sink_render):
15444           I wonder if this could actually write +2GB files before
15445
15446 2005-10-13  Andy Wingo  <wingo@pobox.com>
15447
15448         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15449         Fix Timmeke Waymans bug.
15450         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15451         string of the proper length to gst_caps_from_string. There's a
15452         potential for, before this fix, that this could cause someone
15453         connecting over the network to cause a segfault if the payload is
15454         not NUL-terminated.
15455
15456 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15457
15458         * docs/design/draft-push-pull.txt:
15459         * docs/design/part-overview.txt:
15460         * docs/random/TODO-pre-0.9:
15461         * docs/random/old/ChangeLog.gstreamer:
15462         * gst/base/gstpushsrc.c:
15463         * gst/gstclock.c:
15464           fixed typos
15465
15466 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15467
15468         * gst/glib-compat.c: (gst_flags_get_first_value):
15469         * gst/glib-compat.h:
15470         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15471         (gst_value_compare_double), (gst_value_serialize_flags):
15472           GLib 2.6 g_flags_get_first_value has a bug that triggers an
15473           infinite loop
15474
15475 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15476
15477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15478         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15479           fix up debugging
15480         * tools/gst-launch.c: (event_loop):
15481           print out clock nicely
15482
15483 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
15484
15485         * docs/gst/gstreamer-sections.txt:
15486         * gst/gsttaglist.h:
15487         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15488         (gst_tag_list_get_date_index):
15489           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15490           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15491
15492 2005-10-13  Julien MOUTTE  <julien@moutte.net>
15493
15494         * gst/base/gstcollectpads.c: (gst_collectpads_event),
15495         (gst_collectpads_chain):
15496         * gst/base/gstcollectpads.h: Handle newsegment and store informations
15497         in CollectData.
15498
15499 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
15500
15501         * docs/gst/gstreamer-sections.txt:
15502         * gst/gst.c:
15503         * gst/gsterror.h:
15504         * tools/gst-inspect.c: (main):
15505         * tools/gst-launch.c: (main):
15506         * tools/gst-run.c: (main):
15507         * tools/gst-xmlinspect.c: (main):
15508           fix GOption context leaks
15509           doc fixes
15510
15511 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15512
15513         * gst/gstbus.c:
15514           use HAVE_UNISTD_H
15515         * win32/common/config.h:
15516           update config
15517         * win32/vs6/grammar.dsp:
15518         * win32/vs6/libgstelements.dsp:
15519         * win32/vs6/libgstreamer.dsp:
15520           update vs6 files
15521
15522 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15523
15524         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15525         * gst/base/gstbasesrc.c: (gst_base_src_query):
15526           fix more guint64<->gdouble conversions
15527
15528 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15529
15530         * Makefile.am:
15531           add win32-update target
15532         * win32/common/gstconfig.h:
15533         * win32/common/gstenumtypes.c:
15534         * win32/common/gstenumtypes.h:
15535         * win32/common/gstversion.h:
15536           add files that visual studio can't generate
15537
15538 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15539
15540         * Makefile.am:
15541           add a win32-update target
15542         * configure.ac:
15543
15544 2005-10-12  Wim Taymans  <wim@fluendo.com>
15545
15546         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15547         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15548         * gst/gstelement.c: (gst_element_commit_state),
15549         (gst_element_set_state):
15550         Protect flags with proper lock.
15551         unref provided cached clock in dispose.
15552
15553 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15554
15555         * gst/gst.c:
15556         * gst/gstminiobject.h:
15557         * gst/gstpad.h:
15558         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15559           removed unused flags from miniobject
15560           doc fixes
15561
15562 2005-10-12  Wim Taymans  <wim@fluendo.com>
15563
15564         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15565         (gst_file_sink_event), (gst_file_sink_render):
15566         Flush before seeking.
15567
15568 2005-10-12  Andy Wingo  <wingo@pobox.com>
15569
15570         * gst/gst.c (gst_init_check): Ignore unknown options, as has
15571         always been the case.
15572
15573 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
15574
15575         * check/gst/gstbin.c: (GST_START_TEST):
15576         * docs/gst/gstreamer-sections.txt:
15577         * gst/base/gstbasesink.c: (gst_base_sink_init):
15578         * gst/base/gstbasesrc.c: (gst_base_src_init),
15579         (gst_base_src_get_range), (gst_base_src_check_get_range),
15580         (gst_base_src_start), (gst_base_src_stop):
15581         * gst/base/gstbasesrc.h:
15582         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15583         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15584         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15585         (bin_bus_handler):
15586         * gst/gstbin.h:
15587         * gst/gstbuffer.h:
15588         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15589         * gst/gstbus.h:
15590         * gst/gstelement.c: (gst_element_is_locked_state),
15591         (gst_element_set_locked_state), (gst_element_commit_state),
15592         (gst_element_set_state):
15593         * gst/gstelement.h:
15594         * gst/gstindex.c: (gst_index_init):
15595         * gst/gstindex.h:
15596         * gst/gstminiobject.h:
15597         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15598         (gst_object_set_parent):
15599         * gst/gstobject.h:
15600         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15601         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15602         * gst/gstpad.h:
15603         * gst/gstpadtemplate.h:
15604         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15605         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15606         * gst/gstpipeline.h:
15607         * gst/indexers/gstfileindex.c: (gst_file_index_load),
15608         (gst_file_index_commit):
15609         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15610         * testsuite/pad/link.c: (gst_test_src_init),
15611         (gst_test_filter_init), (gst_test_sink_init):
15612         * testsuite/states/locked.c: (main):
15613           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15614           moved bitshift from macro to enum definition
15615
15616 2005-10-12  Wim Taymans  <wim@fluendo.com>
15617
15618         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15619         * gst/elements/gstfilesink.c: (gst_file_sink_event),
15620         (gst_file_sink_render):
15621         Some more debugging info.
15622
15623 2005-10-12  Wim Taymans  <wim@fluendo.com>
15624
15625         * docs/design/part-states.txt:
15626         * tools/gst-launch.c: (main):
15627         Some doc updates.
15628         Revert non-intentional change.
15629
15630 2005-10-12  Wim Taymans  <wim@fluendo.com>
15631
15632         * check/gst/gstbin.c: (GST_START_TEST):
15633         * check/gst/gstelement.c: (GST_START_TEST):
15634         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15635         * check/gst/gstghostpad.c: (GST_START_TEST):
15636         * check/gst/gstpipeline.c: (GST_START_TEST):
15637         * check/pipelines/simple_launch_lines.c: (run_pipeline):
15638         * check/states/sinks.c: (GST_START_TEST):
15639         * gst/elements/gsttypefindelement.c: (stop_typefinding):
15640         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15641         (gst_bin_remove_func), (gst_bin_get_state_func),
15642         (gst_bin_recalc_state), (gst_bin_change_state_func),
15643         (bin_bus_handler):
15644         * gst/gstelement.c: (gst_element_get_state_func),
15645         (gst_element_get_state), (gst_element_abort_state),
15646         (gst_element_commit_state), (gst_element_set_state),
15647         (gst_element_change_state), (gst_element_change_state_func):
15648         * gst/gstelement.h:
15649         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15650         (gst_pipeline_provide_clock_func):
15651         * gst/gstutils.c: (gst_element_link_pads_filtered):
15652         * tools/gst-launch.c: (main):
15653         * tools/gst-typefind.c: (main):
15654         Use GstClockTime in _get_state() instead of GTimeVal.
15655         Remove old code in gstutils.c
15656
15657 2005-10-12  Andy Wingo  <wingo@pobox.com>
15658
15659         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15660         removed.
15661
15662         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15663         there is no task. Shouldn't affect any code, as nothing in our
15664         plugins checks this return value.
15665         (gst_pad_stop_task): Also take the stream lock if the pad has no
15666         task. Docs updated.
15667
15668 2005-10-12  Wim Taymans  <wim@fluendo.com>
15669
15670         * gst/gstpad.c: (pre_activate), (post_activate),
15671         (gst_pad_activate_pull), (gst_pad_activate_push):
15672         Cleanup activation code. Reset old state if
15673         activation failed.
15674
15675 2005-10-12  Wim Taymans  <wim@fluendo.com>
15676
15677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15678         (gst_base_sink_change_state):
15679         No need to prerol after receiving EOS.
15680
15681         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15682         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15683         * gst/elements/gstidentity.c: (gst_identity_event):
15684         Print events more verbosely.
15685
15686 2005-10-12  Wim Taymans  <wim@fluendo.com>
15687
15688         * check/Makefile.am:
15689         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15690         * check/states/sinks2.c:
15691         Moved sinks2 testcode in sinks check.
15692
15693         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15694         (gst_bin_remove_func), (gst_bin_recalc_state),
15695         (gst_bin_change_state_func), (bin_bus_handler):
15696         Fix potential race condition when _get_state() iterated over an
15697         ASYNC element right before it posted a state completion.
15698
15699         * gst/gstclock.h:
15700         Do proper cast here.
15701
15702         * gst/gstevent.c: (gst_event_new_newsegment),
15703         (gst_event_parse_newsegment):
15704         A playback rate of 0.0 is not allowed.
15705
15706 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15707
15708         * win32/common/config.h:
15709         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15710         (_trewinddir), (_ttelldir), (_tseekdir):
15711         * win32/common/dirent.h:
15712         * win32/common/gtchar.h:
15713         * win32/common/libgstbase.def:
15714         * win32/common/libgstreamer.def:
15715         * win32/vs6/grammar.dsp:
15716         * win32/vs6/gst_inspect.dsp:
15717         * win32/vs6/gst_launch.dsp:
15718         * win32/vs6/gstreamer.dsw:
15719         * win32/vs6/libgstbase.dsp:
15720         * win32/vs6/libgstelements.dsp:
15721         * win32/vs6/libgstreamer.dsp:
15722           Visual Studio 6 project files, and a new common directory.
15723           Phear.
15724
15725 2005-10-11  Wim Taymans  <wim@fluendo.com>
15726
15727         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15728         (gst_base_sink_do_sync), (gst_base_sink_query),
15729         (gst_base_sink_change_state):
15730         * gst/base/gstbasesink.h:
15731         Correctly parse newsegment info.
15732
15733 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15734
15735         * gst/gst.c: (init_post):
15736           split plugin paths correctly
15737
15738 2005-10-11  Wim Taymans  <wim@fluendo.com>
15739
15740         * check/gst/gstevent.c: (GST_START_TEST):
15741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15742         (gst_base_sink_change_state):
15743         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15744         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15745         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15746         * gst/gstevent.c: (gst_event_new_newsegment),
15747         (gst_event_parse_newsegment):
15748         * gst/gstevent.h:
15749         Added extra flag to newsegment for future API freeze.
15750         Updated check and base elements.
15751
15752 2005-10-11  Julien MOUTTE  <julien@moutte.net>
15753
15754         * gst/base/gstcollectpads.c: (gst_collectpads_init),
15755         (gst_collectpads_add_pad), (gst_collectpads_pop),
15756         (gst_collectpads_event), (gst_collectpads_chain):
15757         * gst/base/gstcollectpads.h: Handle EOS correctly.
15758
15759 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15760
15761         * tools/gst-launch.c: (main):
15762           more null protecting
15763
15764 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15765
15766         * gst/gst-i18n-lib.h:
15767           check for ENABLE_NLS, not GETTEXT_PACKAGE
15768         * gst/gstregistry.c: (gst_registry_add_plugin),
15769         (gst_registry_scan_path_level),
15770         (_gst_registry_remove_cache_plugins):
15771           protect possibly NULL strings
15772         * gst/parse/types.h:
15773           config.h already included before
15774         * tools/gst-inspect.c: (main):
15775           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15776           check for ENABLE_NLS, not GETTEXT_PACKAGE
15777         * tools/gst-launch.c: (main):
15778           check for ENABLE_NLS, not GETTEXT_PACKAGE
15779
15780 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15781
15782         * configure.ac:
15783           if we don't have glib, fail before testing 2.8
15784         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15785           fix a leak, should fix plugins-base testsuite
15786
15787 2005-10-11  Andy Wingo  <wingo@pobox.com>
15788
15789         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15790         take the mode we're going to as an arg. Go head and set the mode
15791         and flushing flags now, so that if the activate function starts a
15792         thread all the flags will be in the right state.
15793         (post_activate): Renamed also. Just handle making sure streaming
15794         finishes for the deactivation case, and setting the deactivated
15795         mode.
15796         (gst_pad_set_active): Complain loudly if deactivation fails.
15797         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15798         (gst_pad_activate_push): Adapt to pre/post_activate changes,
15799         remove the terrible hack.
15800
15801 2005-10-11  Wim Taymans  <wim@fluendo.com>
15802
15803         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15804         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15805         (gst_bin_recalc_state), (gst_bin_change_state_func),
15806         (gst_bin_dispose), (bin_bus_handler):
15807         * gst/gstbin.h:
15808         Prepare to make current EOS message queue more generic.
15809         Fix some typos.
15810
15811         * gst/gstevent.c: (gst_event_new_newsegment),
15812         (gst_event_parse_newsegment):
15813         * gst/gstevent.h:
15814         Rename base to stream_time.
15815
15816         * gst/gstmessage.h:
15817         Fix typo in docs.
15818
15819 2005-10-11  Wim Taymans  <wim@fluendo.com>
15820
15821         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15822         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15823         (gst_bin_change_state_func), (bin_bus_handler):
15824         * gst/gstbin.h:
15825         Work on proper clock selection.
15826
15827 2005-10-11  Edward Hervey  <edward@fluendo.com>
15828
15829         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
15830         * libs/gst/controller/gstcontroller.h:
15831         Added GList* version of _remove_properties() in order to be able to wrap
15832         it in bindings.
15833
15834 2005-10-11  Wim Taymans  <wim@fluendo.com>
15835
15836         * docs/design/part-states.txt:
15837         Some more docs.
15838
15839         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15840         (gst_bin_change_state_func), (bin_bus_handler):
15841         Doc updates. Don't distribute the same clock over and over again.
15842
15843         * gst/gstclock.c:
15844         * gst/gstclock.h:
15845         Doc updates.
15846
15847         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
15848         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
15849         (gst_pad_send_event):
15850         * gst/gstpad.h:
15851         Make probe emission threadsafe again.
15852         Register quarks and move _get_name() from utils.
15853         Doc updates.
15854
15855         * gst/gstpipeline.c: (gst_pipeline_class_init),
15856         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15857         Only redistribute the clock of it changed.
15858
15859         * gst/gstsystemclock.h:
15860         Doc updates. 
15861
15862         * gst/gstutils.c:
15863         * gst/gstutils.h:
15864         Moved the _flow_get_name() to GstPad.
15865
15866 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15867
15868         * check/gst-libs/gdp.c: (GST_START_TEST):
15869         * check/gst/gstcaps.c: (GST_START_TEST):
15870         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
15871         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
15872         (gst_dp_packet_from_caps):
15873           fix more valgrind warnings before turning up the heat
15874
15875 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15876
15877         * gst/parse/grammar.y:
15878           some cleanup before the hacking
15879
15880 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15881
15882         * gst/base/gstbasesrc.c: (gst_base_src_query):
15883           use conversions
15884         * gst/gstutils.c: (gst_guint64_to_gdouble),
15885         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
15886         * gst/gstutils.h:
15887           externalize, basesrc uses it
15888           obviously the implementation needs testing
15889
15890 2005-10-10  Wim Taymans  <wim@fluendo.com>
15891
15892         * tests/sched/Makefile.am:
15893         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
15894         (make_pipeline3), (make_pipeline4), (print_elem), (main):
15895
15896 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15897
15898         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
15899           apparently converting from guint64 to double is not implemented
15900           on MSVC
15901
15902 2005-10-10  Wim Taymans  <wim@fluendo.com>
15903
15904         * check/Makefile.am:
15905         * check/generic/states.c: (GST_START_TEST):
15906         * check/gst/gstbin.c: (GST_START_TEST):
15907         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15908         * check/states/sinks.c: (GST_START_TEST):
15909         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
15910         (main):
15911         Check fixes, use API as stated in design docs, remove hacks.
15912
15913         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15914         (gst_base_sink_change_state):
15915         Catch stopping our task while we're shutting down.
15916
15917         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
15918         (gst_bin_remove_func), (gst_bin_get_state_func),
15919         (gst_bin_recalc_state), (gst_bin_change_state_func),
15920         (bin_bus_handler):
15921         * gst/gstbin.h:
15922         * gst/gstelement.c: (gst_element_init),
15923         (gst_element_get_state_func), (gst_element_abort_state),
15924         (gst_element_commit_state), (gst_element_lost_state),
15925         (gst_element_set_state), (gst_element_change_state),
15926         (gst_element_change_state_func):
15927         * gst/gstelement.h:
15928         New state change algorithm (see #318116)
15929
15930         * gst/gstpipeline.c: (gst_pipeline_class_init),
15931         (gst_pipeline_init), (gst_pipeline_set_property),
15932         (gst_pipeline_get_property), (do_pipeline_seek),
15933         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
15934         * gst/gstpipeline.h:
15935         Remove crude state change hacks.
15936
15937         * gst/gstutils.h:
15938         Remove crude hacks.
15939
15940         * tools/gst-launch.c: (main):
15941         Fixes for state change. Needs some more work to fully use the
15942         new stuff.
15943
15944 2005-10-10  Andy Wingo  <wingo@pobox.com>
15945
15946         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
15947
15948         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
15949         this flag, but it's not even in GLib 2.6. Odd. Hack around the
15950         issue.
15951
15952 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
15953
15954         * gst/gstiterator.c: (gst_iterator_new):
15955           Fix my previous commit: GTypes passed to gst_iterator_new()
15956           can be fundamental types.
15957
15958 2005-10-10  Wim Taymans  <wim@fluendo.com>
15959
15960         * gst/gstelement.c: (gst_element_iterate_pad_list),
15961         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
15962         (gst_element_iterate_sink_pads):
15963         Use src/sink pads lists for the respective iterators instead
15964         of filtering.
15965
15966 2005-10-10  Andy Wingo  <wingo@pobox.com>
15967
15968         Merged in popt removal + GOption addition patch from Ronald, bug
15969         #169772.
15970
15971         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
15972         GstElement macros around, remove popt-related symbols, add goption
15973         stuff.
15974
15975         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
15976         
15977         * docs/gst/Makefile.am:
15978         * docs/libs/Makefile.am: No POPT_CFLAGS.
15979         
15980         * examples/manual/Makefile.am:
15981         * docs/manual/basics-init.xml: Doc updates with an example.
15982         
15983         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
15984         (gst_init), (parse_one_option), (parse_goption_arg):
15985         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
15986         bit of hand merging and debugging to get the GOption stuff working
15987         tho.
15988         
15989         * tests/Makefile.am:
15990         * tools/Makefile.am:
15991         * tools/gst-inspect.c: (main):
15992         * tools/gst-launch.c: (main):
15993         * tools/gst-run.c: (main):
15994         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
15995
15996 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
15997
15998         * gst/gstiterator.c: (gst_iterator_new):
15999           Add assertions to make sure passed GType is likely to really
16000           be a GType (as the compiler won't catch it if the size and
16001           GType arguments get mixed up, see #318447).
16002
16003 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
16004
16005         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16006
16007         * gst/gstbin.c: (gst_bin_iterate_sorted):
16008           Pass GType and size arguments to gst_iterator_new() in the right
16009           order (maybe we should make _new() take the GType as first argument
16010           just like _new_list()?) (#318447).
16011           
16012
16013 2005-10-10  Wim Taymans  <wim@fluendo.com>
16014
16015         * gst/gstelement.c: (gst_element_finalize):
16016         And free the GStaticRecMutex too
16017
16018 2005-10-10  Andy Wingo  <wingo@pobox.com>
16019
16020         * gst/gstelement.c (gst_element_init, gst_element_finalize):
16021         Allocate and free the mutex properly.
16022
16023         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16024         New macros.
16025         (GstElement): The state_lock is now recursive. Rebuild your
16026         plugins, suckers. Old macros adapted.
16027
16028         * docs/gst/gstreamer-sections.txt: Doc updates.
16029
16030         * gst/gstutils.h:
16031         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
16032         (g_static_rec_cond_wait): Ported from state changes patch, while
16033         we wait on bug #317802 to be solved in a well-distributed GLib.
16034
16035         * gst/gstelement.c (gst_element_change_state_func): Renamed from
16036         gst_element_change_state, variable name changes.
16037         (gst_element_change_state): Split out of gst_element_set_state in
16038         preparation for the state change merge. Doesn't pay attention to
16039         the 'transition' argument.
16040         (gst_element_set_state): Updates, hopefully purely cosmetic.
16041         (gst_element_sync_state_with_parent): MT-safety. Ported from the
16042         state change patch.
16043         (gst_element_get_state_func): Renamed from get_state, cosmetic
16044         changes.
16045
16046 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16047
16048         * gst/elements/gstelements.c:
16049         * win32/GStreamer.vcproj:
16050         * win32/config.h:
16051         * win32/dirent.c: (_tseekdir):
16052         * win32/gst-inspect.vcproj:
16053         * win32/gst-launch.vcproj:
16054         * win32/gstconfig.h:
16055         * win32/gstelements.vcproj:
16056         * win32/gstenumtypes.c: (gst_object_flags_get_type):
16057         * win32/gstreamer.def:
16058         * win32/msvc71.sln:
16059           updates for the win32 build (patch from Sebastien Moutte)
16060
16061 2005-10-10  Andy Wingo  <wingo@pobox.com>
16062
16063         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16064         gst_bin_get_state, cleaned up (but no logic changes).
16065         (bin_element_is_sink): Comment updates.
16066         (sink_iterator_filter): Remove needless cast.
16067         (gst_bin_iterate_sinks): Doc update.
16068         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16069         cleaned up (but no logic changes).
16070
16071         * check/states/sinks.c (test_src_sink): Cleanups from the state
16072         change patch.
16073         (test_livesrc_sink): Sync on the state.
16074
16075         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16076         the state change patch.
16077
16078         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16079         change patch.
16080
16081         * check/gst/gstbin.c: Merge in some style fixes and additional
16082         checks from Wim's state change patch.
16083
16084 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
16085
16086         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16087         (gst_type_find_helper):
16088           Check whether we have the requested data already in our list of
16089           cached buffers before pulling a new buffer; also make the buffer
16090           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16091
16092 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16093
16094         * gst/gstcaps.c:
16095         * gst/gstevent.c:
16096           doc updates
16097         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16098           don't use long long, it's not portable.  Replacing with
16099           gint64 seems to work; let's hope no skeletons fall out of the closet.
16100
16101 2005-10-10  Andy Wingo  <wingo@pobox.com>
16102
16103         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16104
16105 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
16106
16107         * docs/gst/gstreamer-sections.txt:
16108         * gst/gstevent.c:
16109         * gst/gstevent.h:
16110         * gst/gstinfo.c:
16111         * gst/gstinfo.h:
16112         * gst/gstmessage.c: (gst_message_parse_state_changed):
16113         * gst/gstpad.c:
16114         * gst/gstpad.h:
16115           more docs, fix compilation
16116
16117 2005-10-09  Philippe Khalaf <burger@speedy.org>
16118         * gst/gstmessage.c:
16119           Fixed a few forgotten variables on previous commit
16120
16121 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
16122
16123         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16124           Fix evil typefind crasher: getrange() might return a short
16125           buffer at the end of a file, but gst_type_find_peek() must
16126           either return the full data as requested or NULL, but
16127           never a short buffer.
16128
16129 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16130
16131         * gst/gstmessage.c: (gst_message_new_state_changed),
16132         (gst_message_parse_state_changed):
16133         * gst/gstmessage.h:
16134           don't use "new", it's a C++ keyword
16135
16136 2005-10-08  Wim Taymans  <wim@fluendo.com>
16137
16138         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16139         * gst/gstelement.c: (gst_element_post_message):
16140         * gst/gstpipeline.c: (gst_pipeline_change_state):
16141         Small docs and debug updates.
16142
16143 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16144
16145         * docs/gst/gstreamer-sections.txt:
16146         * gst/gstelementfactory.c:
16147         * gst/gstevent.c:
16148         * gst/gsttaglist.c:
16149           more docs
16150
16151 2005-10-08  Wim Taymans  <wim@fluendo.com>
16152
16153         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16154         (gst_bin_dispose), (bin_bus_handler):
16155         Fix typos, add comments.
16156         Clear EOS list when going to PAUSED from any direction and do it
16157         in a threadsafe way.
16158         Get base time in a threadsafe way too.
16159         Fix confusing debug in the change_state function.
16160         Various other small cleanups.
16161         
16162         * gst/gstelement.c: (gst_element_post_message):
16163         Fix very verbose bus posting code.
16164
16165         * gst/gstpipeline.c: (gst_pipeline_class_init),
16166         (gst_pipeline_set_property), (gst_pipeline_get_property),
16167         (gst_pipeline_change_state):
16168         Small ARG_ -> PROP_ cleanup
16169
16170 2005-10-08  Wim Taymans  <wim@fluendo.com>
16171
16172         * gst/gstbin.c: (is_eos), (bin_bus_handler):
16173         Do a less CPU demanding EOS check because we can.
16174
16175 2005-10-08  Wim Taymans  <wim@fluendo.com>
16176
16177         * libs/gst/dataprotocol/dataprotocol.c:
16178         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16179         (gst_dp_packet_from_event):
16180         * libs/gst/dataprotocol/dataprotocol.h:
16181         * libs/gst/dataprotocol/dp-private.h:
16182         It's about time we bump the version number.
16183         Since event types don't fit in the guint8 anymore describing
16184         the payload type, make payload type 16 bits wide.
16185
16186 2005-10-08  Wim Taymans  <wim@fluendo.com>
16187
16188         * docs/design/part-TODO.txt:
16189         * docs/design/part-clocks.txt:
16190         * docs/design/part-events.txt:
16191         * docs/design/part-gstbin.txt:
16192         * docs/design/part-gstelement.txt:
16193         * docs/design/part-gstpipeline.txt:
16194         * docs/design/part-live-source.txt:
16195         * docs/design/part-messages.txt:
16196         * docs/design/part-overview.txt:
16197         * docs/design/part-states.txt:
16198         Many doc updates.
16199
16200 2005-10-08  Wim Taymans  <wim@fluendo.com>
16201
16202         * gst/gstevent.c:
16203         * gst/gstevent.h:
16204         Fix event quark registration.
16205         Add some space between events so we can insert them in the
16206         right groups.
16207
16208 2005-10-08  Wim Taymans  <wim@fluendo.com>
16209
16210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16211         (gst_base_sink_handle_buffer):
16212         Better log message.
16213
16214         * gst/gstbus.h:
16215         * gst/gstelement.h:
16216         More docs.
16217
16218         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16219         (gst_queue_set_property), (gst_queue_get_property):
16220         * gst/gstqueue.h:
16221         Remove old unused properties.
16222
16223 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
16224         * docs/gst/gstreamer-sections.txt:
16225         * gst/gstmessage.c:
16226         * gst/gstmessage.h:
16227         * gst/gstminiobject.c:
16228         * gst/gstminiobject.h:
16229         * gst/gstobject.h:
16230         * gst/gstpad.h:
16231         * gst/gstutils.h:
16232           lots of new docs and doc fixes
16233
16234 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16235
16236         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16237         * gst/gstplugin.h:
16238         * gst/gstregistry.c: (gst_registry_lookup_locked),
16239         (gst_registry_scan_path_level):
16240         * gst/gstregistryxml.c: (load_plugin):
16241           Only ever load one plugin for a given plugin basename.
16242           This ensures correct overriding of GST_PLUGIN_PATH over
16243           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16244           system installed plugins.
16245
16246 2005-10-08  Wim Taymans  <wim@fluendo.com>
16247
16248         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16249         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16250         Prepare for doing QOS.
16251
16252 2005-10-08  Wim Taymans  <wim@fluendo.com>
16253
16254         * check/gst/gstbin.c: (GST_START_TEST):
16255         * check/pipelines/cleanup.c: (GST_START_TEST):
16256         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16257         Allow new clock message too.
16258
16259 2005-10-08  Wim Taymans  <wim@fluendo.com>
16260
16261         * gst/gstmessage.c: (gst_message_new_error),
16262         (gst_message_new_warning), (gst_message_new_tag),
16263         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16264         (gst_message_new_clock_lost), (gst_message_new_new_clock),
16265         (gst_message_new_segment_start), (gst_message_new_segment_done),
16266         (gst_message_parse_state_changed),
16267         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16268         (gst_message_parse_new_clock):
16269         * gst/gstmessage.h:
16270         Also carry the clock in question.
16271
16272 2005-10-08  Wim Taymans  <wim@fluendo.com>
16273
16274         * gst/gstmessage.c: (gst_message_new_custom),
16275         (gst_message_new_eos), (gst_message_new_error),
16276         (gst_message_new_warning), (gst_message_new_tag),
16277         (gst_message_new_state_changed), (gst_message_new_clock_provide),
16278         (gst_message_new_new_clock), (gst_message_new_segment_start),
16279         (gst_message_new_segment_done), (gst_message_parse_state_changed),
16280         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16281         * gst/gstmessage.h:
16282         Clean up.
16283         Added clock related messages.
16284
16285         * gst/gstpipeline.c: (gst_pipeline_change_state):
16286         Post message when the clock changed.
16287
16288         * tools/gst-launch.c: (event_loop):
16289         Print new clock.
16290
16291 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
16292
16293         * tools/gst-inspect.c: (print_element_properties_info):
16294           Can't pass NULL strings to g_print() on windows.
16295
16296 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16297
16298         * docs/Makefile.am:
16299         * docs/gst/Makefile.am:
16300         * docs/gst/gstreamer-docs.sgml:
16301         * docs/gst/running.xml:
16302         * docs/version.entities.in:
16303           add a chapter on running GStreamer.
16304           document GST_DEBUG and GST_PLUGIN* env vars
16305
16306 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16307
16308         * Makefile.am:
16309           remove include dir
16310         * configure.ac:
16311           remove PLUGINS_BUILDDIR stuff
16312         * gst/gst.c: (init_post):
16313           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16314         * idiottest.mak:
16315           remove, it was condescending and not needed
16316
16317 2005-10-08  Wim Taymans  <wim@fluendo.com>
16318
16319         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16320         (gst_base_sink_handle_object), (gst_base_sink_event),
16321         (gst_base_sink_wait), (gst_base_sink_handle_event),
16322         (gst_base_sink_change_state):
16323         * gst/base/gstbasesink.h:
16324         Repost EOS message while going to PLAYING if still EOS.
16325         Make sure that when receiving a FLUSH_START we don't attempt
16326         to sync on the clock anymore.
16327
16328 2005-10-08  Wim Taymans  <wim@fluendo.com>
16329
16330         * tools/gst-launch.c: (event_loop):
16331         Better message printout.
16332
16333 2005-10-08  Wim Taymans  <wim@fluendo.com>
16334
16335         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16336         (gst_bin_child_proxy_get_children_count):
16337         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16338         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16339         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16340         (gst_child_proxy_set_valist):
16341         * gst/parse/grammar.y:
16342         Make ChildProxy threadsafe and fix mem leaks.
16343
16344 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16345
16346         * gst/gst.c: (init_post):
16347           debug the GST_PLUGIN_ env vars
16348
16349 2005-10-08  Wim Taymans  <wim@fluendo.com>
16350
16351         * check/gst/gstbin.c: (GST_START_TEST):
16352         * check/gst/gstmessage.c: (GST_START_TEST):
16353         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16354         * gst/gstelement.c: (gst_element_commit_state),
16355         (gst_element_lost_state):
16356         * gst/gstmessage.c: (gst_message_new_state_changed),
16357         (gst_message_parse_state_changed):
16358         * gst/gstmessage.h:
16359         * tools/gst-launch.c: (event_loop):
16360         Added extra field to STATE_CHANGE message with the pending
16361         state, which will be different from the new state soon.
16362
16363 2005-10-08  Wim Taymans  <wim@fluendo.com>
16364
16365         * gst/gstbus.c: (gst_bus_pop):
16366         * gst/gstclock.c:
16367         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16368         Small cleanups and doc updates.
16369
16370 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16371
16372         * gst/gst.c: (init_pre):
16373         * gst/gstbin.c: (gst_bin_add_func):
16374           log distributing clocks and base time
16375         * gst/gstregistry.c: (gst_registry_add_plugin),
16376         (gst_registry_scan_path_level), (gst_registry_scan_path):
16377           clean up the debugging output a little
16378         * gst/gstutils.c: (gst_element_state_get_name):
16379           warn about a memleak (I've actually seen this be used, though
16380           it was probably a bug)
16381
16382 2005-10-07  Wim Taymans  <wim@fluendo.com>
16383
16384         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16385         (gst_base_src_init), (gst_base_src_default_newsegment),
16386         (gst_base_src_newsegment), (gst_base_src_do_seek),
16387         (gst_base_src_loop), (gst_base_src_start):
16388         * gst/base/gstbasesrc.h:
16389         Make the newsegment event customizable by subclasses.
16390
16391 2005-10-07  Wim Taymans  <wim@fluendo.com>
16392
16393         * gst/gstevent.c: (gst_event_new_buffersize),
16394         (gst_event_parse_buffersize):
16395         * gst/gstevent.h:
16396         New event for future idea.
16397
16398 2005-10-07  Andy Wingo  <wingo@pobox.com>
16399
16400         * gst/gstelement.c (gst_element_post_message): Doc update.
16401
16402         * docs/gst/gstreamer-sections.txt: Update.
16403
16404         * gst/gstmessage.c (gst_message_new_application): Made into a
16405         function like honest API calls.
16406         (gst_message_new_element): New message type.
16407
16408         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16409
16410         * check/elements/fakesrc.c (test_no_preroll): New check, checks
16411         that setting a live fakesrc to PAUSED returns NO_PREROLL both
16412         times.
16413
16414         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16415         NO_PREROLL from gst_element_change_state to fall through.
16416
16417 2005-10-07  Wim Taymans  <wim@fluendo.com>
16418
16419         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16420         (gst_ghost_pad_do_activate_push):
16421         Activating a ghostpad with no internal pad in push mode
16422         is ok.
16423
16424 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16425
16426         * gst/gstobject.h:
16427           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16428           Fixes compilation on Windows.
16429
16430 2005-10-07  Michael Smith <msmith@fluendo.com>
16431
16432         * tools/gst-inspect.c:
16433           Print out feature and plugin count at the end when printing out
16434           all features.
16435
16436 2005-10-04  Michael Smith <msmith@fluendo.com>
16437
16438         * gst/gsterror.c: (_gst_stream_errors_init):
16439           Add another error string used in a few existing plugins.
16440
16441         * gst/gstplugin.c:
16442         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16443         * tools/gst-inspect.c: (print_element_info):
16444           When a feature disappears from a plugin (and the feature exists in
16445           the cached registry file), things went horribly wrong. This isn't a
16446           complete fix, we should actually be removing the 'missing' features
16447           from the features list when we load the actual plugin. That's not
16448           yet implemented. 
16449
16450 2005-10-04  Johan Dahlin  <johan@gnome.org>
16451
16452         * check/gst/gstiterator.c: (GST_START_TEST):
16453         * gst/gstbin.c: (gst_bin_iterate_elements),
16454         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16455         * gst/gstelement.c: (gst_element_iterate_pads):
16456         * gst/gstformat.c: (gst_format_iterate_definitions):
16457         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16458         (gst_iterator_new_list), (gst_iterator_filter):
16459         * gst/gstiterator.h:
16460         * gst/gstquery.c: (gst_query_type_iterate_definitions):
16461         Add a GType to GstIterator, update callsites and tests.
16462
16463 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * gst/gstpad.c: (gst_pad_event_default_dispatch):
16466           give events a chance to be handled by event probes when the pad
16467           is not linked
16468
16469 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16470
16471         * gst/gstevent.c: (gst_event_type_get_name),
16472         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16473         * gst/gstevent.h:
16474           add string representations for event types
16475
16476 2005-10-06  Wim Taymans  <wim@fluendo.com>
16477
16478         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16479         Don't use NULL pointers.
16480
16481 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16482
16483         * gst/gst_private.h:
16484         * gst/gstbus.c:
16485         * gst/gstelement.c:
16486         * gst/gstinfo.c:
16487         * gst/gstpluginfeature.c:
16488           widen the debug category in output to fit the biggest one we have
16489           add a bus category and use it
16490           play with the colors
16491           fix up some categories
16492
16493 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16494
16495         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16496           add push activation of sink ghost pads.
16497           Andye, please verify
16498
16499 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16500
16501         * gst/gstutils.c: (gst_element_link_pads):
16502           fix a bug in the case where neither element has a pad
16503         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16504           add a test for that case
16505
16506 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16507
16508         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16509           emit have-data before checking for peers.  This allows
16510           for probe handlers to connect elements.  This helps autopluggers.
16511         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16512         (gst_pad_suite):
16513           add six checks, linked/unlinked with no/true/false probe
16514
16515 2005-10-04  Wim Taymans  <wim@fluendo.com>
16516
16517         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16518         (gst_fake_sink_event), (gst_fake_sink_preroll),
16519         (gst_fake_sink_render), (gst_fake_sink_change_state):
16520         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16521         (gst_fake_src_get_property), (gst_fake_src_create),
16522         (gst_fake_src_stop):
16523         * gst/elements/gstidentity.c: (gst_identity_stop):
16524         Protect last_message with lock.
16525
16526 2005-10-04  Edward Hervey  <edward@fluendo.com>
16527
16528         * gst/gstformat.h: 
16529         Added precision in the comments for GST_FORMAT_DEFAULT
16530
16531 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
16532
16533         * tools/gst-launch.c: (main):
16534           Don't try to run erroneous pipelines.
16535
16536 2005-10-04  Julien MOUTTE  <julien@moutte.net>
16537
16538         * gst/gstbus.c: We don't need this header.
16539
16540 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16541
16542         * configure.ac:
16543           back to development
16544
16545 === release 0.9.3 ===
16546
16547 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16548
16549         * README:
16550         * configure.ac:
16551           Releasing 0.9.3, "Unregistered"
16552
16553 2005-10-03  Andy Wingo  <wingo@pobox.com>
16554
16555         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16556         whereby calling a pad's activatepush() function can start a thread
16557         that starts to push or pull before the pad gets the FLUSHING flag
16558         unset. Hack around it by holding the stream lock until the flag is
16559         set. Need to replace this with a proper solution. Together with
16560         the ghost pad fixes, this fixes mp3 playing/tagreading.
16561
16562         * docs/design/part-gstghostpad.txt: Add a note about activation of
16563         proxy pads outside of ghost pads.
16564
16565         * gst/gstghostpad.c: Implement the ghost pad activation design.
16566
16567 2005-10-02  Andy Wingo  <wingo@pobox.com>
16568
16569         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16570         It is volatile, after all.
16571
16572         * docs/design/part-gstghostpad.txt: Flesh out activation with
16573         ghost pads.
16574
16575         * gst/base/gstbasesrc.c (gst_base_src_init): Use
16576         GST_DEBUG_FUNCPTR.
16577
16578 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
16579
16580         * configure.ac:
16581           Fix (unused) AM_CONDITIONAL tests.
16582
16583 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
16584
16585         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16586
16587         * gst/gstutils.c: (gst_pad_query_convert):
16588           Add assertion that makes sure src_val is >=0, just like
16589           gst_query_new_convert() has. (#315895)
16590
16591 2005-09-30  Edward Hervey  <edward@fluendo.com>
16592
16593         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16594         Let's not iterate pads we're not interested in, it avoids getting 
16595         sky-high refcounts on sinkpad.
16596
16597 2005-09-30  Wim Taymans  <wim@fluendo.com>
16598
16599         * gst/gstelement.c: (gst_element_set_state),
16600         (gst_element_change_state):
16601         Small tweak, element in ASYNC remains ASYNC.
16602
16603 2005-09-30  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16606         Only error is an error.
16607
16608         * gst/gstbin.c: (gst_bin_change_state):
16609         Better debugging.
16610
16611         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16612         Also call pad_block in pad alloc.
16613
16614         * gst/gstutils.c: (gst_flow_get_name):
16615         Better debugging.
16616
16617 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16618
16619         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16620         (gst_base_src_get_range):
16621           Fix documentation typos. Add some more debug info.
16622
16623 2005-09-29  David Schleef  <ds@schleef.org>
16624
16625         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16626           more end-user friendly.
16627         * tools/gst-inspect.c: (main): Check if command-line argument is
16628           a file and attempt to load that file as a plugin.
16629
16630 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16631
16632         * check/gst/gstbin.c:
16633         * check/states/sinks.c:
16634           fix tests for the new warning
16635         * check/gst/gstpipeline.c:
16636           add a test for pipeline and bus interaction
16637         * gst/gstelement.c:
16638           elements should be NULL if they get disposed; add a warning if not
16639
16640 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16641
16642         * gst/gstobject.c:
16643           for 2.6 refcounting, make debug log more correct by printing
16644           the actual refcounts at the time of swap (Wim)
16645
16646 2005-09-29  Andy Wingo  <wingo@pobox.com>
16647
16648         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16649         removes signal watches previously added via
16650         gst_bus_add_signal_watch.
16651         (gst_bus_add_signal_watch): Don't return the source id, just store
16652         it on the bus if there wasn't an id already.
16653
16654         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16655         add_signal_watch and remove_signal_watch.
16656
16657 2005-09-29  Edward Hervey  <edward@fluendo.com>
16658
16659         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
16660         Better if we actually iterate the list :)
16661
16662 2005-09-29  Wim Taymans  <wim@fluendo.com>
16663
16664         * check/gst/gstbin.c: (GST_START_TEST):
16665         Change for new bus API.
16666
16667         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16668         (send_messages), (GST_START_TEST), (gstbus_suite):
16669         Change for new bus signal API.
16670
16671         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16672         (gst_bus_source_prepare), (gst_bus_source_check),
16673         (gst_bus_create_watch), (gst_bus_add_watch_full),
16674         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16675         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16676         * gst/gstbus.h:
16677         Remove support for multiple GSources operating on different
16678         message types as it is too complex and unneeded when using
16679         signals.
16680         Added support for receiving signals from the bus.
16681
16682 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16683
16684         * docs/libs/tmpl/gstdataprotocol.sgml:
16685         * docs/manual/advanced-dataaccess.xml:
16686         * gst/elements/gstcapsfilter.c:
16687         * gst/gstutils.c:
16688           rename filter-caps to caps property
16689
16690 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16691
16692         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16693           More robust fraction string parsing.
16694
16695         * docs/pwg/appendix-porting.xml:
16696           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16697
16698 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
16699
16700         * gst/gstcaps.c: (gst_caps_do_simplify):
16701           Thou shalt not free a structure and then continue using it
16702           in the next loop iteration.
16703
16704         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16705         (gst_caps_suite):
16706           Add test case for caps simplification.
16707
16708 2005-09-29  Wim Taymans  <wim@fluendo.com>
16709
16710         * check/gst/gstbin.c: (GST_START_TEST):
16711         Oops.
16712
16713 2005-09-29  Wim Taymans  <wim@fluendo.com>
16714
16715         * check/gst/gstbin.c: (GST_START_TEST):
16716         Add bus to bin.
16717
16718         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16719         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16720         (find_element), (gst_bin_sort_iterator_next),
16721         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16722         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16723         (gst_bin_change_state), (gst_bin_dispose):
16724         A bin does not have a bus, it gets the bus from the parent.
16725
16726         * gst/gstelement.c: (gst_element_requires_clock),
16727         (gst_element_provides_clock), (gst_element_is_indexable),
16728         (gst_element_is_locked_state), (gst_element_change_state),
16729         (gst_element_set_bus_func):
16730         Small cleanups.
16731
16732         * gst/gstpipeline.c: (gst_pipeline_class_init),
16733         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16734         The pipeline provides a bus.
16735
16736 2005-09-28  Johan Dahlin  <johan@gnome.org>
16737
16738         * gst/gstmessage.c (gst_message_parse_state_changed): Use
16739         gst_structure_get_enum instead of gst_structure_get_int
16740
16741         * gst/gststructure.c (gst_structure_get_enum): Impl.
16742
16743         * gst/gststructure.h (gst_structure_get_enum): Add
16744
16745         * docs/gst/gstreamer-sections.txt: Ditto
16746
16747         * gst/gstmessage.c (gst_message_new_state_changed): Use
16748         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16749         which does introspection.
16750         Reviewed by Christian Schaller
16751
16752 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16753
16754         * gst/gstinfo.c: (gst_debug_log_default):
16755           don't do dummy g_strdup()s
16756         * libs/gst/controller/gstcontroller.c:
16757         (on_object_controlled_property_changed),
16758         (gst_controlled_property_new), (gst_controller_new_valist),
16759         (gst_controller_new_list),
16760         (gst_controller_remove_properties_valist), (gst_controller_set),
16761         (gst_controller_get), (gst_controller_sync_values),
16762         (gst_controller_get_value_array), (_gst_controller_class_init),
16763         (gst_controller_get_type):
16764         * libs/gst/controller/gstcontroller.h:
16765         * libs/gst/controller/gstinterpolation.c:
16766         (gst_controlled_property_find_timed_value_node):
16767           convert // to /**/ comments
16768
16769 2005-09-28  Wim Taymans  <wim@fluendo.com>
16770
16771         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16772         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16773         (gst_bus_sync_signal_handler):
16774         * gst/gstbus.h:
16775         Added async-message and sync-message signals to the bus.
16776         Added helper BusFunc to emit signals for all posted messages.
16777
16778         * gst/gstmessage.c: (gst_message_type_get_name),
16779         (gst_message_type_to_quark), (gst_message_get_type):
16780         * gst/gstmessage.h:
16781         Register quarks for message names.
16782
16783 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
16784
16785         * docs/libs/gstreamer-libs-sections.txt:
16786         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16787         (gst_controller_new_list):
16788         * libs/gst/controller/gstcontroller.h:
16789           added another constructor for language bindings
16790
16791 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16792
16793         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16794           add another check
16795         * gst/gstbus.c:
16796           add some doc
16797         * gst/gstinfo.c: (_gst_debug_init):
16798           slightly more readable color for refcount debugging
16799
16800 2005-09-28  Wim Taymans  <wim@fluendo.com>
16801
16802         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16803         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16804         (find_element), (gst_bin_sort_iterator_next),
16805         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16806         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16807         (gst_bin_change_state), (gst_bin_dispose):
16808         Small doc fixes. get_clock -> provide_clock.
16809
16810         * gst/gstelement.c: (gst_element_class_init),
16811         (gst_element_provides_clock), (gst_element_provide_clock),
16812         (gst_element_get_clock), (gst_element_commit_state),
16813         (gst_element_lost_state):
16814         * gst/gstelement.h:
16815         Make get/set_clock() symetric. Add provide_clock vmethod since
16816         that is actually what this function does.
16817
16818         * gst/gstpipeline.c: (gst_pipeline_class_init),
16819         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16820         (gst_pipeline_get_clock):
16821         get_clock -> provide_clock.
16822
16823 2005-09-28  Andy Wingo  <wingo@pobox.com>
16824
16825         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16826         lieu of real docs...
16827
16828         * gst/elements/gstfdsrc.c: Cleaned up a bit.
16829
16830 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
16831
16832         * gst/elements/gstcapsfilter.c:
16833         * gst/elements/gstfakesink.c:
16834         * gst/elements/gstfakesrc.c:
16835         * gst/elements/gstfdsink.c:
16836         * gst/elements/gstfdsrc.c:
16837         * gst/elements/gstfilesink.c:
16838         * gst/elements/gstfilesrc.c:
16839         * gst/elements/gstidentity.c:
16840         * gst/elements/gsttee.c:
16841         * gst/elements/gsttypefindelement.c:
16842           Make element details static.
16843
16844 2005-09-28  Wim Taymans  <wim@fluendo.com>
16845
16846         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16847         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16848         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16849         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16850         (gst_bin_change_state), (gst_bin_dispose):
16851         Some documentation updates.
16852         Clean up dispose handlers.
16853
16854         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
16855         * gst/gstpad.c: (gst_pad_dispose):
16856         Clean up dispose handler.
16857
16858         * gst/gstpipeline.c: (gst_pipeline_change_state):
16859         Removed spurious UNLOCK.
16860
16861 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
16862
16863         * docs/gst/gstreamer-sections.txt:
16864         * gst/base/gstbasesrc.h:
16865         * gst/gstelement.h:
16866         * gst/gstevent.h:
16867         * gst/gstobject.h:
16868         * gst/gstpad.h:
16869         * gst/gstpipeline.c:
16870         * gst/gstpipeline.h:
16871         * gst/gstutils.h:
16872         * gst/gstxml.h:
16873           added two new functions to the docs
16874                 documents all undocumented GstXXXFlags
16875                 completed some incomplete docs 
16876
16877 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16878
16879         * gst/gstbin.c: (gst_bin_dispose):
16880         * gst/gstelement.c: (gst_element_dispose):
16881           remove now useless and leaky resurrection code in dispose
16882         * gst/base/gstbasesrc.c: (gst_base_src_init):
16883         * gst/gstelementfactory.c: (gst_element_factory_create):
16884         * gst/gstobject.c: (gst_object_set_parent):
16885           add some debugging
16886
16887 2005-09-27  Wim Taymans  <wim@fluendo.com>
16888
16889         * docs/design/part-TODO.txt:
16890         Update TODO.
16891
16892         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16893         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16894         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16895         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16896         (gst_bin_change_state):
16897         * gst/gstelement.h:
16898         Remove element variable, we keep element info in the iterator now.
16899
16900 2005-09-27  Andy Wingo  <wingo@pobox.com>
16901
16902         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
16903         values.
16904
16905 2005-09-27  Wim Taymans  <wim@fluendo.com>
16906
16907         * check/gst/gstbin.c: (GST_START_TEST):
16908         Enable check that works now.
16909
16910         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
16911         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
16912         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16913         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16914         (gst_bin_change_state):
16915         * gst/gstbin.h:
16916         Redid the state change algorithm using a topological sort algo.
16917         Handles all cases correctly.
16918         Exposed iterator for state change order.
16919
16920         * gst/gstelement.h:
16921         Temp storage for state changes. Need to get rid of this soon.
16922
16923 2005-09-27  Wim Taymans  <wim@fluendo.com>
16924
16925         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
16926         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
16927         (link_fold_func), (gst_pad_proxy_setcaps):
16928         Leak fixes, the fold functions need to unref the passed object and
16929         _get_parent_*() returns ref to parent.
16930
16931 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
16932
16933         * check/gst/gstbuffer.c: (test_make_writable):
16934           Plug leak in test case and fix 'make check-valgrind'
16935
16936 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
16937
16938         * gst/gstbuffer.c: (gst_subbuffer_init):
16939           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
16940           works correctly in all circumstances (we could have just copied
16941           the parent buffer's readonly flag, but conceptually it seems
16942           cleaner to mark all subbuffers as read-only). (based on patch
16943           by Alessandro Decina, #314710).
16944         
16945         * check/gst/gstbuffer.c: (create_read_only_buffer),
16946         (test_make_writable), (test_subbuffer_make_writable),
16947         (gst_test_suite):
16948           Add some tests for gst_buffer_make_writable().
16949
16950 2005-09-27  Wim Taymans  <wim@fluendo.com>
16951
16952         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
16953         use gst_object_has_ancestor().
16954
16955         * gst/gstobject.c: (gst_object_has_ancestor):
16956         * gst/gstobject.h:
16957         gst_object_has_ancestor() copied from gstbin.c as it is a
16958         useful function.
16959
16960         * tests/instantiate/create.c: (create_all_elements):
16961         * tests/lat.c: (handoff_src), (handoff_sink):
16962         * tests/sched/runxml.c: (main):
16963         * tests/seeking/seeking1.c: (main):
16964         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
16965         (main):
16966         Fix compilation of some tests.
16967
16968 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
16969
16970         * gst/gsterror.h:
16971           Remove comment. GST_TYPE_G_ERROR is here to stay,
16972           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
16973           (#316961, #300610).
16974
16975 2005-09-26  Wim Taymans  <wim@fluendo.com>
16976
16977         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16978         Added check that shows error in state change order.
16979
16980 2005-09-26  Wim Taymans  <wim@fluendo.com>
16981
16982         * gst/gstbin.c: (gst_bin_change_state):
16983         Make state change function use 3 queues again, we were
16984         adding elements in the wrong order.
16985
16986         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
16987         Some debug info,
16988
16989         * gst/gstpad.c: (gst_pad_dispose):
16990         Added some debug info first.
16991
16992 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
16993
16994         * docs/design/draft-push-pull.txt:
16995         * docs/design/part-events.txt:
16996         * docs/design/part-overview.txt:
16997         * docs/design/part-scheduling.txt:
16998           Replace all _pull_region() with _pull_range()
16999           
17000 2005-09-26  Andy Wingo  <wingo@pobox.com>
17001
17002         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17003
17004         * check/gst-libs/controller.c: Update for controller api change.
17005
17006         * configure.ac: 
17007         * tests/Makefile.am:
17008         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17009         over by GLib bug 118439.
17010         
17011         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17012         routines to a function.
17013
17014         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17015
17016         * libs/gst/controller/gsthelper.c:
17017         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17018         (gst_object_sync_values): Renamed from sink_values. Ugh.
17019
17020         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17021
17022         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17023         Renamed from controller_key, as it is exported.
17024
17025         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17026
17027 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
17028
17029         * gst/Makefile.am:
17030         * gst/gst.h:
17031         * gst/gstpad.h:
17032         * gst/gstpadtemplate.h:
17033         * gst/gstquery.c:
17034         * gst/gstquery.h:
17035         * gst/gstqueryutils.c:
17036         * gst/gstqueryutils.h:
17037           remove queryutils headers after moving the two used functions
17038           to gstquery.  also fixes build problem for gstsiddec
17039
17040 2005-09-26  Michael Smith <msmith@fluendo.com>
17041
17042         * tools/gst-launch.1.in:
17043         Correct documentation in manpage of debug syntax
17044
17045 2005-09-26  Wim Taymans  <wim@fluendo.com>
17046
17047         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17048         (gst_base_src_is_seekable), (gst_base_src_change_state):
17049         Some more debugging info.
17050
17051 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17052
17053         * docs/gst/gstreamer-sections.txt:
17054         * gst/base/gstbasetransform.h:
17055         * gst/gstindex.h:
17056           added more docs
17057
17058 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17059
17060         * docs/gst/.cvsignore:
17061         * docs/gst/tmpl/.cvsignore:
17062         * docs/gst/tmpl/gstpipeline.sgml:
17063         * docs/gst/tmpl/gstplugin.sgml:
17064         * gst/gstpipeline.c:
17065         * gst/gstplugin.c:
17066         * gst/gstplugin.h:
17067           inlined the last two docs files
17068           removed the tmpl directory from cvs (no more conflicts here!)
17069
17070 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
17071
17072         * docs/gst/gstreamer-sections.txt:
17073         * docs/gst/tmpl/.cvsignore:
17074         * docs/gst/tmpl/gstpad.sgml:
17075         * docs/gst/tmpl/gstpadtemplate.sgml:
17076         * gst/Makefile.am:
17077         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17078         (gst_pad_finalize), (gst_pad_set_pad_template):
17079         * gst/gstpad.h:
17080         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17081         (gst_pad_template_class_init), (gst_pad_template_init),
17082         (gst_pad_template_dispose), (name_is_valid),
17083         (gst_static_pad_template_get), (gst_pad_template_new),
17084         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17085         (gst_pad_template_pad_created):
17086         * gst/gstpadtemplate.h:
17087           inlined two more docs
17088           factored gstpadtemplate out of gstpad
17089
17090 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
17091
17092         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17093         (test_children_state_change_order_semi_sink):
17094           Fix test case: we can't rely on a fixed state change order when
17095           going from READY => PAUSED because the sink might commit its 
17096           new state first when the first buffer created by the source 
17097           reaches the sink before the source has finished its change state.
17098           (Test case still fails at times, see #316856, comment 5 onwards)
17099
17100 2005-09-24  Wim Taymans  <wim@fluendo.com>
17101
17102         * docs/design/part-events.txt:
17103         * docs/design/part-gstbus.txt:
17104         * docs/design/part-gstpipeline.txt:
17105         * docs/design/part-messages.txt:
17106         * docs/design/part-overview.txt:
17107         * docs/design/part-segments.txt:
17108         * gst/gstbin.c:
17109         * gst/gstbuffer.c:
17110         * gst/gstclock.c:
17111         * gst/gstelement.c:
17112         * gst/gstevent.c:
17113         * gst/gstfilter.c:
17114         * gst/gstiterator.c:
17115         Various documentation updates.
17116
17117 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17118
17119         * gst/gstclock.h:
17120           Well, that's embarassing.  Luckily we weren't using
17121           GST_CLOCK_DIFF anywhere.
17122
17123 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17124
17125         * common/gtk-doc.mak:
17126           don't fail on building XML, FC4 slave shows a bunch of doc
17127           missing bits that I don't get
17128         * gst/gstpad.c:
17129         * gst/gstpipeline.c:
17130         * gst/gststructure.c:
17131           some doc updates
17132
17133 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17134
17135         * docs/design/part-gstbin.txt:
17136         * docs/design/part-gstbus.txt:
17137         * gst/gstbus.c:
17138           Add blurb about how the bus goes into flushing mode and
17139           drops all messages when its bin goes from READY into NULL 
17140           state.
17141
17142 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17143
17144         * docs/gst/gstreamer-sections.txt:
17145         * gst/gststructure.c: (gst_structure_get_clock_time):
17146         * gst/gststructure.h:
17147           add a method to get a GstClockTime out of a structure
17148
17149 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
17150
17151         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17152         (test_children_state_change_order_semi_sink), (gst_bin_suite):
17153           Added test to check state change order in bins (can still be made
17154           to fail here under heavy disk load; bails out with 'Push on pad
17155           fakesink:sink0, but it was not activated in push mode').
17156
17157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17158           Fix state change order when there is only a semi sink (#316856)
17159
17160         * gst/gstbus.c: (gst_bus_class_init):
17161           Use _class_peek_parent(), not _class_ref(); fix docs to say
17162           'default main context' instead of 'mainloop' where that is
17163           what's meant.
17164
17165         * gst/gstelement.c: (gst_element_commit_state),
17166         (gst_element_set_state):
17167           Fix typos in debug messages
17168
17169 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17170
17171         * docs/README:
17172         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17173         * gst/gstpluginfeature.c:
17174         * gst/gstutils.c:
17175           various doc updates
17176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177           change an assert into an error until it gets fixed properly
17178
17179 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
17180
17181         * docs/gst/gstreamer-sections.txt:
17182         * docs/gst/tmpl/.cvsignore:
17183         * docs/gst/tmpl/gstelement.sgml:
17184         * docs/gst/tmpl/gstinfo.sgml:
17185         * docs/gst/tmpl/gstobject.sgml:
17186         * gst/gstelement.c:
17187         * gst/gstelement.h:
17188         * gst/gstinfo.c:
17189         * gst/gstinfo.h:
17190         * gst/gstobject.c: (gst_object_class_init):
17191         * gst/gstobject.h:
17192           inlined 3 more biiiig doc files and added some missing docs on the fly
17193
17194 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17195
17196         * check/gst/.cvsignore:
17197         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17198         * gst/gstregistryxml.c: (load_plugin),
17199         (gst_registry_xml_save_plugin):
17200           put back source in registry.  add checks for find_plugin.
17201         * testsuite/states/bin.c: (assert_state), (empty_bin),
17202         (test_adding_one_element), (main):
17203         * testsuite/states/locked.c: (main):
17204           some compile/run fixes
17205
17206 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17207
17208         * check/gst/gstvalue.c: (GST_START_TEST):
17209           fix leaks in the test itself
17210
17211 2005-09-22  Wim Taymans  <wim@fluendo.com>
17212
17213         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17214         (gst_base_sink_send_event), (gst_base_sink_peer_query),
17215         (gst_base_sink_query):
17216         Prepare for more accurate position reporting and query
17217         handling.
17218
17219         * gst/gstelement.c: (gst_element_send_event),
17220         (gst_element_set_state):
17221         Add some comment.
17222
17223 2005-09-22  Wim Taymans  <wim@fluendo.com>
17224
17225         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17226         (gst_query_parse_segment):
17227         * gst/gstquery.h:
17228         More documentation.
17229         Add segment query for future use.
17230
17231 2005-09-22  Wim Taymans  <wim@fluendo.com>
17232
17233         * gst/gstbin.c: (gst_bin_add_func):
17234         Some more debug info.
17235
17236         * gst/gstelement.c: (gst_element_send_event):
17237         Simplify send_event
17238
17239         * gst/gstelement.h:
17240         Don't know how flags got broken.
17241
17242         * gst/gstquery.h:
17243         Added new query.
17244
17245 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17246
17247         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17248           Add simplistic test suite for GST_TYPE_DATE serialisation and
17249           deserialisation.
17250
17251 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
17252
17253         * docs/gst/gstreamer-sections.txt:
17254         * gst/gststructure.c: (gst_structure_set_valist),
17255         (gst_structure_get_date):
17256         * gst/gststructure.h:
17257         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17258         (gst_date_copy), (gst_value_compare_date),
17259         (gst_value_serialize_date), (gst_value_deserialize_date),
17260         (gst_value_transform_date_string),
17261         (gst_value_transform_string_date), (_gst_value_initialize):
17262         * gst/gstvalue.h:
17263           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17264           bunch of utility functions along with a hack that checks that
17265           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17266           is required. Part of the grand scheme in #170777.
17267
17268 2005-09-22  Andy Wingo  <wingo@pobox.com>
17269
17270         * gst/gstconfig.h.in: Psych out gtk-doc.
17271
17272         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17273
17274         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17275
17276         * tools/gst-inspect.c (print_element_list): Plug some
17277         inconsequential leaks.
17278
17279         * gst/gstregistry.c (gst_registry_get_default): Doc.
17280
17281         * check/gst/gstplugin.c: 
17282         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17283         * gst/gstelementfactory.c (gst_element_factory_create): 
17284         * gst/gstindexfactory.c (gst_index_factory_create): Update for
17285         refcount changes.
17286
17287         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17288         (gst_plugin_feature_load): Doc, don't eat refs.
17289
17290         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17291         (gst_plugin_list_free): Doc.
17292         (gst_plugin_load_file): Doc updates.
17293
17294         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17295         accessors returning refcounted objects, return a ref.
17296
17297         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17298         accessor for caps. IDEMPOTENCE. Oh yes.
17299
17300 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
17301
17302         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17303
17304         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17305         (_gst_debug_register_funcptr):
17306           Add mutex to serialise access to the hash table with
17307           the function pointer => function name string mapping;
17308           make that hash table static scope (#316809).
17309
17310         * gst/registries/.cvsignore:
17311           Remove left-over file.
17312
17313 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17314
17315         * docs/pwg/appendix-porting.xml:
17316           And something about newsegment events and caps-on-buffers to
17317           the porting guide (feel free to improve).
17318
17319 2005-09-21  Andy Wingo  <wingo@pobox.com>
17320
17321         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17322         data and event probes on the same pad.
17323         (test_buffer_probe_once): Test that removing probes from within
17324         the probe functions works.
17325
17326 2005-09-21  Andy Wingo  <wingo@pobox.com>
17327
17328         * check/gst/gstutils.c: New file.
17329         (test_buffer_probe_n_times): A simple buffer probe test. More to
17330         come, foolios.
17331
17332         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17333         have-data::buffer, not have-data.
17334         (gst_pad_add_event_probe): Likewise for have-data::event.
17335         (gst_pad_add_data_probe): More docs. The part about 'resolving the
17336         peer' isn't quite right yet though.
17337         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
17338         (gst_pad_remove_data_probe): Change to take the guint handler_id
17339         as their arg, not the function+data, which is more glib-like.
17340
17341         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17342         the signal emission to indicate if the data is a buffer or an
17343         event.
17344         (gst_pad_get_type): Initialize buffer and event quarks.
17345         (gst_pad_class_init): have-data is now a detailed signal, yes it
17346         is.
17347
17348 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
17349
17350         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17351         * gst/gstutils.c: (gst_util_set_value_from_string),
17352         (gst_util_set_object_arg):
17353           Don't put functional code in g_return_if_fail() or
17354           g_return_val_if_fail() statements, otherwise things will 
17355           break when G_DISABLE_CHECKS is defined during compilation.
17356
17357 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17358
17359         * docs/gst/tmpl/.cvsignore:
17360         * docs/gst/tmpl/gstvalue.sgml:
17361         * gst/gstvalue.c:
17362         * gst/gstvalue.h:
17363           inlied another one and added  some obvious docs
17364
17365 2005-09-21  Wim Taymans  <wim@fluendo.com>
17366
17367         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17368         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17369         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17370         (gst_fdsrc_get_property), (gst_fdsrc_create):
17371         * gst/elements/gstfdsrc.h:
17372         Properly implement fdsrc. Removed signal and timeout,
17373         better implemented somewhere else.
17374
17375 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17376
17377         * docs/gst/tmpl/.cvsignore:
17378         * docs/gst/tmpl/gstimplementsinterface.sgml:
17379         * gst/gstinterface.c:
17380           inlined more docs
17381
17382 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17383
17384         * docs/gst/gstreamer-sections.txt:
17385         * docs/gst/tmpl/.cvsignore:
17386         * docs/gst/tmpl/gstenumtypes.sgml:
17387           remove obsolete doc file
17388
17389 2005-09-21  David Schleef  <ds@schleef.org>
17390
17391         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17392         little beer, fix a little leak.
17393
17394 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
17395
17396         * docs/gst/gstreamer-docs.sgml:
17397         * docs/gst/gstreamer-sections.txt:
17398         * docs/gst/tmpl/.cvsignore:
17399         * gst/Makefile.am:
17400         * gst/gst.h:
17401         * gst/gstbin.c:
17402         * gst/gstelement.h:
17403         * gst/gstindex.c: (gst_index_class_init):
17404         * gst/gstindex.h:
17405         * gst/gstindexfactory.c: (gst_index_factory_get_type),
17406         (gst_index_factory_class_init), (gst_index_factory_init),
17407         (gst_index_factory_finalize), (gst_index_factory_new),
17408         (gst_index_factory_destroy), (gst_index_factory_find),
17409         (gst_index_factory_create), (gst_index_factory_make):
17410         * gst/gstindexfactory.h:
17411         * gst/gstpluginfeature.c:
17412         * gst/gstpluginfeature.h:
17413         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17414           more docs inlined, splitted gstindex.{c,h}
17415
17416 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17419           fix a leak
17420
17421 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17422
17423         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17424           Set sync to FALSE by default.
17425
17426 2005-09-20  Wim Taymans  <wim@fluendo.com>
17427
17428         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17429         (gst_base_sink_init):
17430         Make sync property settable from subclass.
17431
17432         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17433         (gst_fake_sink_change_state):
17434         Set sync to FALSE by default.
17435
17436 2005-09-20  Wim Taymans  <wim@fluendo.com>
17437
17438         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17439         * tools/gst-launch.c: (main):
17440         The timeout handler should have lower priority than the source
17441         so we don't timeout before popping a message with 0 timeout.
17442         Dump error messages after failed state change.
17443
17444 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
17445
17446         * tools/gst-inspect.c: (print_element_properties_info):
17447           Fix two typos.
17448
17449 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17450
17451         * check/gst/gstevent.c:
17452         * gst/elements/gstfakesink.c:
17453         * gst/elements/gstfakesink.h:
17454           remove the sync property from fakesink.
17455           has the side effect of setting sync TRUE
17456           for fakesink, which is a change.  Anyone who knows how
17457           to fix this nicely in a GObject-y way, feel free.
17458
17459 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17460
17461         * docs/gst/gstreamer-docs.sgml:
17462           remove probe refsection
17463
17464 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17465
17466         * check/Makefile.am:
17467           disable valgrinding the controller test again
17468         * docs/gst/gstreamer-sections.txt:
17469           update for api-changes
17470
17471 2005-09-20  Wim Taymans  <wim@fluendo.com>
17472
17473         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17474         (gst_base_sink_set_property), (gst_base_sink_get_property),
17475         (gst_base_sink_do_sync):
17476         * gst/base/gstbasesink.h:
17477         Added sync property to basesink to disable clock sync.
17478
17479 2005-09-20  Andy Wingo  <wingo@pobox.com>
17480
17481         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17482         eating the caller's refcount.
17483
17484         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
17485         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17486         refcount.
17487
17488         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17489         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17490         of GLib 2.8 public, so we can know which refcount to check in
17491         tests.
17492
17493         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17494         (gst_object_init): Only set the gst refcount if we're going ahead
17495         with the refcount hack.
17496
17497 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17498
17499         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17500         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17501           more leaks plumbed, added more debug-logging
17502         * gst/gstmacros.h:
17503           whitespace fix
17504
17505 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17506
17507         * gst/gstmessage.c:
17508           remove include of gstmemchunk.h
17509
17510 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17511
17512         * gst/gstclock.c: (_gst_clock_id_free):
17513           Commit from the Political Party For More Atomic CVS Commits,
17514           so that people don't waste too much of their day fishing
17515           out obvious leaks out of massive commits.
17516           Oh, and fix a pretty damn obvious leak in the memchunk
17517           removal code.
17518
17519 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
17520
17521         * check/Makefile.am:
17522         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17523           plug mem-leak, re-add to valgrindable tests
17524
17525 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17526
17527         * gst/gstplugin.h:
17528           unbreak the build for those who have chronic arthritis
17529           and typing "make check" is just too taxing on the hands
17530
17531 2005-09-20  Andy Wingo  <wingo@pobox.com>
17532
17533         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17534         really want it out, you should fix plugins at the same time.
17535
17536 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
17537
17538         * configure.ac:
17539         * docs/gst/gstreamer-sections.txt:
17540         * gst/gstobject.c:
17541           added missing symbols to api docs
17542           disable ref-count hack if we have glib >= 2.8
17543
17544 2005-09-19  David Schleef  <ds@schleef.org>
17545
17546         * docs/gst/Makefile.am: Ignore a few more internal headers
17547         * docs/gst/gstreamer-docs.sgml: Remove old sections
17548         * docs/gst/gstreamer-sections.txt: Remove old sections
17549         * docs/gst/tmpl/gstobject.sgml: update
17550         * docs/gst/tmpl/gstplugin.sgml: update
17551         * docs/gst/tmpl/gstpluginfeature.sgml: update
17552         * docs/random/ds/0.9-suggested-changes: update.
17553         * gst/Makefile.am: remove memchunk and trashstack, since they're
17554           not used.
17555         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17556         * gst/gst.h: don't include some headers
17557         * gst/gstchildproxy.c: add gstmarshal.h
17558         * gst/gstclock.c: Don't use memchunks
17559         * gst/gstminiobject.c: Add some docs
17560         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17561         * gst/gstobject.h: same
17562         * gst/gstplugin.c: include gstmacros.h
17563         * gst/gstplugin.h: don't include gstmacros.h, since it's private
17564         * gst/gstquery.c: don't use memchunks
17565         * gst/gstregistry.c: rename gst_registry_deinit()
17566         * gst/gstregistry.h: same
17567
17568 2005-09-19  David Schleef  <ds@schleef.org>
17569
17570         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17571         * docs/libs/gstreamer-libs-sections.txt:
17572         * docs/libs/tmpl/gstgetbits.sgml:
17573         * docs/libs/tmpl/gstputbits.sgml:
17574
17575 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
17576
17577         * win32/gstenumtypes.c:
17578         * win32/gstenumtypes.h:
17579           Update.
17580
17581 2005-09-19  Wim Taymans  <wim@fluendo.com>
17582
17583         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17584         Automatically PAUSE and RESUME a pipeline when a flushing seek
17585         is performed.
17586
17587 2005-09-19  Andy Wingo  <wingo@pobox.com>
17588
17589         * gst/gstregistry.h: Spacing fixen.
17590
17591 2005-09-19  Wim Taymans  <wim@fluendo.com>
17592
17593         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17594         Handle state change failure more correctly.
17595
17596 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17597
17598         * check/Makefile.am:
17599         * check/pipelines/cleanup.c: (run_pipeline):
17600         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17601         (GST_START_TEST):
17602           enable cleanup again after fixing the leak
17603         * docs/README:
17604           some more info on docs
17605
17606 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * check/Makefile.am:
17609           re-enable tests now that leaks are plugged
17610         * check/gst/gst.c:
17611         * check/gst/gstbin.c:
17612         * check/gst/gstpipeline.c:
17613           add some more tests while fixing leaks
17614         * common/check.mak:
17615           make sure binaries are uptodate when valgrinding/gdbing
17616         * gst/gst.c:
17617         * gst/gstelementfactory.c:
17618           remove a ref too many, and add a FIXME for when we get
17619           round to disposing of classes
17620         * gst/gstplugin.c:
17621           fix the refcounting when loading a plugin from a file and
17622           the code pretends that the pointer is the same even though
17623           of course it can change
17624         * gst/gstpluginfeature.c:
17625           unref plugins marked cached (a bit confusing as a name)
17626           as the docs state should be done
17627           various doc additions to explain refcounting
17628         * gst/gstregistry.c:
17629         * gst/gstregistryxml.c:
17630           debugging
17631
17632 2005-09-19  Wim Taymans  <wim@fluendo.com>
17633
17634         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17635         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17636         (send_messages), (GST_START_TEST), (gstbus_suite):
17637         * check/gst/gstpipeline.c: (GST_START_TEST):
17638         * check/pipelines/cleanup.c: (run_pipeline):
17639         * check/pipelines/simple_launch_lines.c: (run_pipeline),
17640         (GST_START_TEST):
17641         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17642         (gst_bus_source_check), (gst_bus_source_dispatch),
17643         (gst_bus_create_watch), (gst_bus_add_watch_full),
17644         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17645         * gst/gstbus.h:
17646         * tools/gst-launch.c: (event_loop):
17647         * tools/gst-md5sum.c: (event_loop):
17648         GstBusHandler -> GstBusFunc, return value has the same meaning as
17649         any other GSource (FALSE == remove source).
17650         _add_watch() and _add_watch_full() now take a MessageType mask to
17651         only handle specific types of messages.
17652         _poll() returns the GstMessage instead of the message type to avoid
17653         race conditions.
17654         _have_pending() takes a MessageType mask now too.
17655         Added testsuite for multiple bus watches.
17656         Fix testsuites and applications for new bus API.
17657
17658 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17659
17660         * check/Makefile.am:
17661           mark a bunch of the tests as to fix until we fix them
17662
17663 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17664
17665         * common/check.mak:
17666           use GST_PLUGIN settings for valgrind tests as well, so we're
17667           valgrinding the correct thing
17668         * gst/gst.c: (init_post):
17669           plug another leak
17670
17671 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17672
17673         * gst/gst.c: (init_post), (gst_deinit):
17674         * gst/gstelementfactory.c: (gst_element_factory_class_init),
17675         (gst_element_factory_finalize), (gst_element_factory_cleanup):
17676         * gst/gstindex.c: (gst_index_factory_class_init),
17677         (gst_index_factory_finalize):
17678         * gst/gstobject.c: (gst_object_dispose):
17679         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17680         (gst_plugin_load_file), (gst_plugin_desc_free):
17681         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17682         (gst_plugin_feature_finalize):
17683         * gst/gstregistry.c: (gst_registry_class_init),
17684         (gst_registry_init), (gst_registry_finalize),
17685         (gst_registry_get_default), (gst_registry_deinit):
17686         * gst/gstregistry.h:
17687         * gst/gstregistryxml.c: (load_feature), (load_plugin):
17688           various cleanups and memleak plugging.  make valgrind is happy now.
17689
17690 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17691
17692         * common/check.mak:
17693           add a check-valgrind target
17694
17695 2005-09-18  David Schleef  <ds@schleef.org>
17696
17697         * tools/gst-inspect.c: Revert the GOption code.
17698
17699 2005-09-17  David Schleef  <ds@schleef.org>
17700
17701         * check/Makefile.am: Fix environment variables.
17702         * check/gst/gstplugin.c: Fix for API changes.
17703         * tools/gst-inspect.c: Fix for API changes.
17704         * tools/gst-xmlinspect.c: Fix for API changes.
17705         * gst/gstelementfactory.c:
17706         * gst/gstplugin.c:
17707         * gst/gstplugin.h:
17708         * gst/gstpluginfeature.c:
17709         * gst/gstpluginfeature.h:
17710         * gst/gstregistry.c:
17711         * gst/gstregistry.h:
17712         * gst/gstregistryxml.c:
17713         * gst/gsttypefind.c:
17714         * gst/gsttypefindfactory.c:
17715         * gst/indexers/gstfileindex.c:
17716         * gst/indexers/gstmemindex.c:
17717         * gst/schedulers/Makefile.am:
17718           Change registry to keep track of both plugins and features,
17719           removing the feature tracking from plugins themselves.
17720
17721 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17722
17723         * check/Makefile.am:
17724         * tools/gst-register.1.in:
17725           remove gst-register
17726
17727 2005-09-15  David Schleef  <ds@schleef.org>
17728
17729         * check/gst/gstplugin.c:
17730         * gst/gstelementfactory.c:
17731         * gst/gstplugin.c:
17732         * gst/gstpluginfeature.c:
17733         * gst/gstregistry.c:
17734           Getting tired of debugging.  Disabled all the unreffing of
17735           plugins and features, which fixes the segfaults, but of
17736           course leaks like crazy.  At least playbin works.
17737
17738 2005-09-15  David Schleef  <ds@schleef.org>
17739
17740         * check/gst/gstplugin.c: (register_check_elements),
17741         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17742         More testing
17743         * gst/elements/gsttypefindelement.c: Fix refcounting.
17744         * gst/gsttypefind.c:
17745         * gst/gsttypefindfactory.c:
17746         * gst/gsttypefindfactory.h:
17747
17748 2005-09-15  David Schleef  <ds@schleef.org>
17749
17750         * gst/gstindex.c: get refcounting correct.
17751         * gst/gstregistry.c: Handle the case where a feature/plugin is
17752           not found.
17753
17754 2005-09-15  David Schleef  <ds@schleef.org>
17755
17756         * check/Makefile.am:
17757         * check/gst/gstplugin.c: Add test
17758         * gst/gstplugin.c: Fix problems noticed by testsuite
17759         * gst/gstplugin.h:
17760         * gst/gstregistry.c: 
17761         * gst/gstregistry.h:
17762
17763 2005-09-15  David Schleef  <ds@schleef.org>
17764
17765         * gst/gstplugin.c: Implement semi-decent recounting and locking
17766           in plugins and plugin features.
17767         * gst/gstplugin.h:
17768         * gst/gstpluginfeature.c:
17769         * gst/gstpluginfeature.h:
17770         * gst/gstregistry.c:
17771
17772 2005-09-15  Michael Smith <msmith@fluendo.com>
17773
17774         * gst/gstregistry.c: (gst_registry_get_feature_list):
17775           Implement this. Makes oggdemux work; decodebin still broken.
17776
17777 2005-09-14  David Schleef  <ds@schleef.org>
17778
17779         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17780           #316076)
17781         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17782         * gst/check/Makefile.am:
17783         * libs/gst/controller/Makefile.am:
17784         * libs/gst/dataprotocol/Makefile.am:
17785
17786 2005-09-14  David Schleef  <ds@schleef.org>
17787
17788         * configure.ac: Remove getbits library.  Nothing uses it, and
17789           it should be in something like liboil if someone did want
17790           to use it.
17791         * libs/gst/Makefile.am:
17792         * libs/gst/getbits/Makefile.am:
17793         * libs/gst/getbits/gbtest.c:
17794         * libs/gst/getbits/getbits.c:
17795         * libs/gst/getbits/getbits.h:
17796         * libs/gst/getbits/gstgetbits_generic.c:
17797         * libs/gst/getbits/gstgetbits_i386.s:
17798         * libs/gst/getbits/gstgetbits_inl.h:
17799
17800 2005-09-14  David Schleef  <ds@schleef.org>
17801
17802         * gst/Makefile.am: Dist glib-compat.h
17803
17804 2005-09-14  David Schleef  <ds@schleef.org>
17805
17806         * configure.ac: Remove gst/registries, since it's no longer used.
17807         * gst/registries/Makefile.am:
17808         * gst/registries/gstlibxmlregistry.c:
17809         * gst/registries/gstlibxmlregistry.h:
17810         * gst/registries/gstxmlregistry.c:
17811         * gst/registries/gstxmlregistry.h:
17812         * gst/registries/registrytest.c:
17813
17814 2005-09-14  David Schleef  <ds@schleef.org>
17815
17816         * gst/glib-compat.h:
17817         * gst/gstregistryxml.c:
17818           Convergence is near.  Seriously.
17819
17820 2005-09-14  David Schleef  <ds@schleef.org>
17821
17822         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17823         * gst/glib-compat.h:
17824           Attempt #4 to appease the buildbots.
17825
17826 2005-09-14  David Schleef  <ds@schleef.org>
17827
17828         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17829           Attempt #3.
17830
17831 2005-09-14  David Schleef  <ds@schleef.org>
17832
17833         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17834         Attempt #2.
17835
17836 2005-09-14  David Schleef  <ds@schleef.org>
17837
17838         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17839           the new functions.
17840
17841 2005-09-14  David Schleef  <ds@schleef.org>
17842
17843         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17844         * gst/glib-compat.h: Add some functions that are in newer versions
17845           of glib than we care to require.
17846         * gst/gstregistryxml.c: Use them.
17847
17848 2005-09-14  David Schleef  <ds@schleef.org>
17849
17850         * po/POTFILES.in: remove gst-register.c
17851
17852 2005-09-14  David Schleef  <ds@schleef.org>
17853
17854         * docs/gst/gstreamer-docs.sgml:
17855         * docs/gst/gstreamer-sections.txt:
17856         * docs/gst/gstreamer.types:
17857         * docs/gst/tmpl/gstelement.sgml:
17858         * docs/gst/tmpl/gstplugin.sgml:
17859         * docs/gst/tmpl/gstpluginfeature.sgml:
17860           Documentation updates for registry changes.
17861
17862 2005-09-14  David Schleef  <ds@schleef.org>
17863
17864         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
17865           because we don't require glib-2.8.
17866
17867 2005-09-14  David Schleef  <ds@schleef.org>
17868
17869         * gst/gstregistryxml.c: Added.  Essentially moved out of the
17870           registries directory.
17871
17872 2005-09-14  David Schleef  <ds@schleef.org>
17873
17874         * check/Makefile.am:
17875         * check/generic/states.c:
17876         * gst/Makefile.am:
17877         * gst/gst.c:
17878         * gst/gst.h:
17879         * gst/gst_private.h:
17880         * gst/gstelementfactory.c:
17881         * gst/gstindex.c:
17882         * gst/gstinfo.c:
17883         * gst/gstplugin.c:
17884         * gst/gstplugin.h:
17885         * gst/gstpluginfeature.c:
17886         * gst/gstpluginfeature.h:
17887         * gst/gstregistry.c:
17888         * gst/gstregistry.h:
17889         * gst/gstregistrypool.c: remove
17890         * gst/gstregistrypool.h: remove
17891         * gst/gsttypefind.c:
17892         * gst/gsttypefindfactory.c:
17893         * gst/gsturi.c:
17894         * tools/Makefile.am:
17895         * tools/gst-compprep.c:
17896         * tools/gst-inspect.c:
17897         * tools/gst-register.c: remove
17898         * tools/gst-xmlinspect.c:
17899           Registry rewrite.  Changes registry from being a file created
17900           by a tool into a simple cache file created automatically by 
17901           libgstreamer.  Removed gst-register (because it's no longer
17902           needed).  Remove registry pools, because we only have one
17903           registry implementation (XML).  Fix up other subsystems as
17904           necessary.
17905
17906 2005-09-13  Michael Smith <msmith@fluendo.com>
17907
17908         * gst/gstconfig.h.in:
17909           Don't Use windows linking attributes for MinGW. Fixes #316157
17910
17911 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17912
17913         * gst/gstutils.c: (set_state_async_thread_func),
17914         (gst_element_set_state_async):
17915           Apparently people think it's better if this function doesn't
17916           try to set the state to whatever state was asked for on the first
17917           call to this function for any object.  Seriously.
17918
17919 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17920
17921         * check/gst/gstpipeline.c: (GST_START_TEST):
17922         * docs/gst/gstreamer-sections.txt:
17923         * gst/gstutils.c: (set_state_async_thread_func),
17924         (gst_element_set_state_async):
17925         * gst/gstutils.h:
17926           add a "gst_element_set_state_async" method that
17927           sets the state and starts a thread to make sure the state
17928           change completes as best as it can
17929
17930 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17931
17932         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17933           codify design+behaviour in testsuite after discussion
17934
17935 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17936
17937         * docs/gst/tmpl/gstelement.sgml:
17938         * docs/manual/appendix-quotes.xml:
17939           add a quote
17940         * gst/gstelement.c: (gst_element_set_state):
17941           add some debug
17942
17943 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
17944
17945         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17946         (gst_base_transform_prepare_output_buf),
17947         (gst_base_transform_handle_buffer):
17948         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
17949         (gst_capsfilter_prepare_buf):
17950           Remove the requirement for sub-classes to call the parent
17951           implementation of prepare_output_buffer with a wrapper function.
17952           
17953         * gst/gsttaglist.h:
17954         * gst/gsttagsetter.h:
17955           Fix #define wrapper
17956
17957 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
17958
17959         * docs/gst/gstreamer-sections.txt:
17960           more doc cleanups
17961
17962 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17963
17964         * docs/gst/gstreamer-sections.txt:
17965         * docs/gst/tmpl/gstelement.sgml:
17966         * docs/gst/tmpl/gstplugin.sgml:
17967         * gst/gstminiobject.c:
17968         * gst/gstvalue.h:
17969           docs now stop throwing warnings
17970
17971 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17972
17973         * docs/gst/gstreamer-sections.txt:
17974         * docs/gst/gstreamer.types:
17975         * docs/gst/tmpl/gstpad.sgml:
17976         * docs/gst/tmpl/gsttypes.sgml:
17977         * gst/base/gstadapter.h:
17978         * gst/base/gstbasesink.h:
17979         * gst/base/gstbasesrc.h:
17980         * gst/gstbin.h:
17981         * gst/gstbuffer.h:
17982         * gst/gstbus.h:
17983         * gst/gstcaps.h:
17984         * gst/gstclock.h:
17985         * gst/gstelement.h:
17986         * gst/gstevent.h:
17987         * gst/gstmessage.h:
17988         * gst/gstpad.h:
17989         * gst/gststructure.c:
17990         * gst/registries/gstlibxmlregistry.h:
17991           various documentation fixes
17992
17993 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17994
17995         * docs/gst/gstreamer-sections.txt:
17996         * docs/gst/tmpl/gstvalue.sgml:
17997           rearrange gstvalue section
17998         * gst/gstutils.c: (gst_element_state_get_name):
17999           NONE -> VOID
18000         * gst/gstvalue.c: (_gst_value_initialize):
18001         * gst/gstvalue.h:
18002           doc updates
18003
18004 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
18005
18006         * check/gst-libs/controller.c:
18007           Header include fix.
18008         * gst/base/gstbasetransform.c:
18009         (gst_base_transform_default_prepare_buf),
18010         (gst_base_transform_handle_buffer):
18011         * gst/base/gstbasetransform.h:
18012           Some more basetransform changes and fixes to enable sub-classes
18013           that modify buffer metadata only.
18014         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18015         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18016         (gst_capsfilter_prepare_buf):
18017           If the output pad has fixed allowed caps and input buffers 
18018           don't have any, set the fixed caps on outgoing buffers.
18019
18020 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
18021         * check/elements/identity.c: (GST_START_TEST):
18022           Make the error a little clearer when the test fails because
18023           identity made a copy of the buffer.
18024         * docs/gst/gstreamer-sections.txt:
18025           New symbols in gstbasetransform.h
18026         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18027         (gst_base_transform_init), (gst_base_transform_transform_size),
18028         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18029         (gst_base_transform_default_prepare_buf),
18030         (gst_base_transform_get_unit_size),
18031         (gst_base_transform_buffer_alloc),
18032         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18033         (gst_base_transform_change_state),
18034         (gst_base_transform_set_passthrough),
18035         (gst_base_transform_set_in_place),
18036         (gst_base_transform_is_in_place):
18037         * gst/base/gstbasetransform.h:
18038           Change BaseTransform to separate in_place operate from same_caps
18039           output. in_place implies that the element can perform the transform
18040           on incoming buffers in-place, even if the caps on the output are
18041           different.
18042           Sub-class elements can now implement special buffer allocation
18043           methods for outgoing buffers if they wish to.
18044           Big documentation addition.
18045         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18046         * gst/elements/gstelements.c:
18047           Changes for basetransform modifications.
18048         * gst/elements/Makefile.am:
18049         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18050           Compile fix. Extra debug output.
18051
18052 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18053
18054         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18055         (gst_pad_suite):
18056           add tests for valid pad naming
18057         * gst/check/gstcheck.c: (gst_check_log_message_func),
18058         (gst_check_log_critical_func):
18059           add ASSERT_WARNING
18060           remove printing of code, it is fragile when the code contains
18061           % and the line number is enough info
18062         * gst/check/gstcheck.h:
18063         * gst/gstpad.c: (gst_pad_template_new):
18064           fix memleaks
18065
18066 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18067
18068         * configure.ac:
18069           say what CHECK flags we use
18070         * docs/libs/gstreamer-libs.types:
18071         * libs/gst/controller/Makefile.am:
18072         * libs/gst/controller/gst-controller.c:
18073         * libs/gst/controller/gst-controller.h:
18074         * libs/gst/controller/gst-helper.c:
18075         * libs/gst/controller/gst-interpolation.c:
18076         * libs/gst/controller/gstcontroller.c:
18077         * libs/gst/controller/gsthelper.c:
18078         * libs/gst/controller/gstinterpolation.c:
18079         * tools/gst-inspect.c: (print_plugin_info):
18080           we don't use dashes in header names
18081
18082 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18083
18084         * check/Makefile.am:
18085         * check/gst/.cvsignore:
18086         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18087         (gst_pipeline_suite), (main):
18088           adding a test for pipelines and state changes
18089         * gst/gstutils.c: (get_state_func):
18090           add some debugging
18091         * gstreamer.spec.in:
18092           fix up spec file
18093
18094 2005-09-08  Michael Smith <msmith@fluendo.com>
18095
18096         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18097         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18098         (gst_file_src_is_seekable), (gst_file_src_get_size),
18099         (gst_file_src_start):
18100         * gst/elements/gstfilesrc.h:
18101           Various fixes for unseekable, unmmapable, and non-normal files, so
18102           that fallback to read() rather than mmap() works.
18103         * gst/gstevent.c: (gst_event_new_newsegment):
18104           Allow newsegment events with segment_start == segment_end, as will
18105           correctly happen if you use filesrc on a zero-size file, for
18106           example.
18107
18108 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18109
18110         * gst/gstplugin.c: (gst_plugin_load_file):
18111           Call g_module_close when we don't load the module
18112
18113         * gst/registries/gstlibxmlregistry.c:
18114         (gst_xml_registry_get_property):
18115           Port leak fix from 0.8
18116
18117 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18118
18119         * docs/gst/gstreamer-docs.sgml:
18120         * docs/gst/tmpl/.cvsignore:
18121         * docs/gst/tmpl/gsttrace.sgml:
18122         * docs/gst/tmpl/gsttrashstack.sgml:
18123         * gst/Makefile.am:
18124         * gst/gst.h:
18125         * gst/gstelement.h:
18126         * gst/gstevent.h:
18127         * gst/gstmessage.c:
18128         * gst/gstmessage.h:
18129         * gst/gsttag.c:
18130         * gst/gsttag.h:
18131         * gst/gsttaginterface.c:
18132         * gst/gsttaginterface.h:
18133         * gst/gsttaglist.c:
18134         * gst/gsttaglist.h:
18135         * gst/gsttagsetter.c:
18136         * gst/gsttagsetter.h:
18137         * gst/gsttrace.c:
18138         * gst/gsttrace.h:
18139         * gst/gsttrashstack.c:
18140           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18141           inlined docs for gsttrace, gsttrashstack
18142
18143 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18144
18145         * gst/Makefile.am:
18146         * gst/elements/gstbufferstore.h:
18147         * gst/elements/gsttypefindelement.c:
18148         * gst/elements/gsttypefindelement.h:
18149         * gst/gst.h:
18150         * gst/gsttypefind.c:
18151         * gst/gsttypefind.h:
18152         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18153         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18154         (gst_type_find_factory_dispose),
18155         (gst_type_find_factory_unload_thyself),
18156         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18157         (gst_type_find_factory_get_caps),
18158         (gst_type_find_factory_get_extensions),
18159         (gst_type_find_factory_call_function):
18160         * gst/gsttypefindfactory.h:
18161         * gst/registries/gstlibxmlregistry.c:
18162         * gst/registries/gstxmlregistry.c:
18163           splitted gsttypefind into gsttypefind, gsttypefindfactory
18164
18165 2005-09-07  Andy Wingo  <wingo@pobox.com>
18166
18167         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18168         condition whereby the pad's task function is entered before the
18169         pad_mode variable was set.
18170
18171 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
18172
18173         * gst/gstpad.c: (gst_pad_alloc_buffer):
18174           Catch misbehaving pad_alloc functions that don't
18175           set up caps and do it for them.
18176
18177 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
18178
18179         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18180           test for pipe!=NULL
18181         * docs/gst/tmpl/.cvsignore:
18182         * docs/gst/tmpl/gstmemchunk.sgml:
18183         * docs/gst/tmpl/gstparse.sgml:
18184         * docs/gst/tmpl/gsttaglist.sgml:
18185         * docs/gst/tmpl/gsttagsetter.sgml:
18186         * docs/gst/tmpl/gsttypefind.sgml:
18187         * docs/gst/tmpl/gsttypefindfactory.sgml:
18188         * gst/gstmemchunk.c:
18189         * gst/gstparse.c:
18190         * gst/gsttag.c:
18191         * gst/gsttaginterface.c:
18192         * gst/gsttypefind.c:
18193         * gst/gsttypefind.h:
18194           inlined more docs
18195
18196 === release 0.9.2 ===
18197
18198 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18199
18200         * NEWS:
18201         * RELEASE:
18202         * configure.ac:
18203           releasing 0.9.2, "South"
18204
18205 2005-09-05  Andy Wingo  <wingo@pobox.com>
18206
18207         * gst/registries/gstxmlregistry.h:
18208         * gst/registries/gstxmlregistry.c: Um... resurrect...
18209         
18210         * gst/registries/gstxmlregistry.h:
18211         * gst/registries/gstxmlregistry.c: and update to newer API.
18212         Incidentally they should be a bit faster now that they don't have
18213         to parse the caps.
18214         
18215 2005-09-05  Andy Wingo  <wingo@pobox.com>
18216
18217         * gst/registries/gstxmlregistry.h:
18218         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18219         replaced by the libxml registry a while back
18220
18221 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18222
18223         * docs/gst/tmpl/gstplugin.sgml:
18224         * gst/elements/gstelements.c:
18225         * gst/gst.c:
18226         * gst/gstplugin.c: (gst_plugin_register_func),
18227         (gst_plugin_desc_copy), (gst_plugin_desc_free),
18228         (gst_plugin_get_source):
18229         * gst/gstplugin.h:
18230         * gst/registries/gstlibxmlregistry.c: (load_plugin),
18231         (gst_xml_registry_save_plugin):
18232         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18233         (gst_xml_registry_save_plugin):
18234         * tools/gst-inspect.c: (print_plugin_info):
18235           add a "source" plugin description field, to represent the source
18236           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
18237           will set it to PACKAGE, which is automake's idea of the name of
18238           the source project.
18239
18240 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18241
18242         * Makefile.am:
18243         * autogen.sh:
18244         * configure.ac:
18245         * docs/Makefile.am:
18246         * docs/faq/Makefile.am:
18247         * docs/gst/tmpl/gstelement.sgml:
18248         * docs/gst/tmpl/gsttypes.sgml:
18249         * docs/htmlinstall.mak:
18250         * docs/manual/Makefile.am:
18251         * docs/pwg/Makefile.am:
18252           reorganize doc build a little
18253           split out docbook and gtk-doc stuff
18254           have two separate --enable's and enable them through autogen
18255           but disable by default in configure (to be similar to other
18256           projects)
18257         * gstreamer.spec.in:
18258           clean up docs install
18259         * po/af.po:
18260         * po/az.po:
18261         * po/ca.po:
18262         * po/cs.po:
18263         * po/de.po:
18264         * po/en_GB.po:
18265         * po/fr.po:
18266         * po/it.po:
18267         * po/nb.po:
18268         * po/nl.po:
18269         * po/ru.po:
18270         * po/sq.po:
18271         * po/sr.po:
18272         * po/sv.po:
18273         * po/tr.po:
18274         * po/uk.po:
18275         * po/vi.po:
18276           translation updates
18277
18278 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
18279
18280         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18281           Add comment.
18282           
18283         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18284         (gst_fake_sink_change_state):
18285           Make state change function thread-safe.
18286           
18287         * gst/gstpad.c: (gst_pad_alloc_buffer):
18288           Set offset on generic buffer allocated by fallback.
18289
18290 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
18291
18292         * docs/gst/gstreamer-sections.txt:
18293         * docs/gst/tmpl/gstelement.sgml:
18294         * gst/gstpad.c:
18295         * libs/gst/controller/gst-controller.c:
18296         (gst_controlled_property_set_interpolation_mode),
18297         (gst_controlled_property_new),
18298         (gst_controller_find_controlled_property):
18299          run the wingo-magic script against the docs
18300
18301 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18302
18303         * docs/gst/gstreamer-docs.sgml:
18304         * docs/gst/gstreamer-sections.txt:
18305         * docs/gst/tmpl/.cvsignore:
18306         * docs/gst/tmpl/gstelementdetails.sgml:
18307         * docs/gst/tmpl/gstelementfactory.sgml:
18308         * gst/gst.c:
18309         * gst/gstbus.c:
18310         * gst/gstelementfactory.c:
18311         * gst/gstelementfactory.h:
18312           merged elementdetails docs into elementfactory docs
18313           inlined both
18314
18315 2005-09-02  Andy Wingo  <wingo@pobox.com>
18316
18317         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18318         consider this enum an enum and not a flags.
18319
18320 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
18321
18322         * docs/gst/gstreamer-docs.sgml:
18323         * docs/gst/tmpl/.cvsignore:
18324         * docs/gst/tmpl/gstghostpad.sgml:
18325         * docs/gst/tmpl/gstiterator.sgml:
18326         * docs/gst/tmpl/gstmacros.sgml:
18327         * docs/gst/tmpl/gstrealpad.sgml:
18328         * docs/gst/tmpl/gstregistry.sgml:
18329         * docs/gst/tmpl/gstregistrypool.sgml:
18330         * docs/gst/tmpl/gststructure.sgml:
18331         * docs/gst/tmpl/gstsystemclock.sgml:
18332         * docs/gst/tmpl/gsttrace.sgml:
18333         * gst/gstghostpad.c:
18334         * gst/gstmacros.h:
18335         * gst/gstmemchunk.c:
18336         * gst/gstmemchunk.h:
18337         * gst/gstqueue.c:
18338         * gst/gstregistry.c:
18339         * gst/gstregistrypool.c:
18340         * gst/gststructure.c:
18341         * gst/gstsystemclock.c:
18342           more docs inlined
18343
18344 2005-09-02  Andy Wingo  <wingo@pobox.com>
18345
18346         * gst/gstelement.h (GstState): Renamed from GstElementState,
18347         changed to be a normal enum instead of flags.
18348         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18349         munged to be GST_STATE_CHANGE_*.
18350         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18351         work with the new state representation.
18352         (GstStateChange): New enumeration of possible state transitions.
18353         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18354         (GstElementClass::change_state): Pass the GstStateChange along as
18355         an argument. Helps language bindings, so they don't have to use
18356         tricky lock-needing macros like GST_STATE_CHANGE ().
18357
18358         * scripts/update-states (file): New script. Run it on a file to
18359         update it for state naming and API changes. Updates files in
18360         place.
18361
18362         * All files updated for the new API.
18363
18364 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18365
18366         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18367         * gst/gstutils.c: (gst_util_set_value_from_string),
18368         (gst_util_set_object_arg):
18369           fix a bunch of unchecked return values
18370         * tools/gst-complete.c: (main):
18371         * gstreamer.spec.in:
18372           clean up a little
18373
18374 2005-09-01  Wim Taymans  <wim@fluendo.com>
18375
18376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18377         (gst_base_sink_event), (gst_base_sink_do_sync),
18378         (gst_base_sink_handle_event):
18379         * gst/base/gstbasesink.h:
18380         Handle newsegments more correctly.
18381
18382         * gst/gstbus.c:
18383         Fix docs.
18384
18385         * gst/gstevent.c: (gst_event_new_newsegment):
18386         A newsegment cannot have a start_time of -1
18387
18388 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
18389
18390         * win32/gstenumtypes.c:
18391         * win32/gstenumtypes.h:
18392           Update
18393
18394 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18395
18396         * libs/gst/controller/gst-controller.c:
18397         (gst_controlled_property_set_interpolation_mode),
18398         (gst_controlled_property_new):
18399          fixed boolean again
18400
18401 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
18402
18403         * docs/faq/gst-uninstalled:
18404           add -good
18405         * gst/gstevent.c:
18406         * gst/gstevent.h:
18407           remove wrong docs
18408         * gst/gstutils.c: (gst_element_link_filtered):
18409         * gst/gstutils.h:
18410           add gst_element_link_filtered
18411
18412 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18413
18414         * docs/gst/gstreamer-docs.sgml:
18415         * docs/gst/gstreamer-sections.txt:
18416         * docs/gst/tmpl/.cvsignore:
18417         * docs/gst/tmpl/gsterror.sgml:
18418         * docs/gst/tmpl/gstfilter.sgml:
18419         * docs/gst/tmpl/gsturihandler.sgml:
18420         * docs/gst/tmpl/gsturitype.sgml:
18421         * docs/gst/tmpl/gstutils.sgml:
18422         * docs/gst/tmpl/gstxml.sgml:
18423         * gst/gsterror.c:
18424         * gst/gsterror.h:
18425         * gst/gstfilter.c:
18426         * gst/gsturi.c:
18427         * gst/gsturitype.c:
18428         * gst/gstutils.c:
18429         * gst/gstxml.c:
18430           inlined more docs, fixed double id-ref
18431
18432 2005-08-31  Wim Taymans  <wim@fluendo.com>
18433
18434         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18435         (gst_base_transform_handle_buffer):
18436         Passthrough elements don't need the caps as they don't care.
18437
18438 2005-08-31  Wim Taymans  <wim@fluendo.com>
18439
18440         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18441         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18442         Don't leak refcounts on buffers.
18443
18444 2005-08-31  Wim Taymans  <wim@fluendo.com>
18445
18446         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18447         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18448         (gst_base_transform_chain), (gst_base_transform_change_state):
18449         * gst/base/gstbasetransform.h:
18450         Handle the case where we are not negotiated more gracefully.
18451
18452 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
18453
18454         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18455         (gst_file_src_map_region):
18456           Set READONLY flag on mmap'ed buffers, otherwise
18457           gst_buffer_make_writable() won't work properly (#314708).
18458
18459 2005-08-31  Wim Taymans  <wim@fluendo.com>
18460
18461         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18462         passthrough elements can even do inplace on non writable
18463         buffers (as they don't touch them).
18464
18465 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
18466
18467         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18468         (gst_test_mono_source_set_property),
18469         (gst_test_mono_source_class_init), (GST_START_TEST),
18470         (gst_controller_suite):
18471           more tests (hehe I have the most)
18472         * gst/gstbus.c:
18473           describe popping messages whenusing mulltiple sources
18474         * libs/gst/controller/gst-controller.c:
18475         (gst_controlled_property_set_interpolation_mode),
18476         (gst_controlled_property_new):
18477         * libs/gst/controller/gst-controller.h:
18478         * libs/gst/controller/gst-interpolation.c:
18479           implement boolean properties
18480
18481 2005-08-31  Wim Taymans  <wim@fluendo.com>
18482
18483         * gst/gstminiobject.c: (gst_mini_object_ref):
18484         Cannot assert that the refcount has to be positive
18485         since a disposed object can be resurrected.
18486
18487 2005-08-31  Wim Taymans  <wim@fluendo.com>
18488
18489         * gst/gstpad.c: (gst_pad_init):
18490         Revert change, need to first fix badly behaving 
18491         apps.
18492
18493 2005-08-30  Wim Taymans  <wim@fluendo.com>
18494
18495         * check/elements/fakesrc.c: (setup_fakesrc):
18496         * check/elements/identity.c: (setup_identity):
18497         Activate pads before using them.
18498
18499 2005-08-30  Wim Taymans  <wim@fluendo.com>
18500
18501         * gst/base/gstadapter.c: (gst_adapter_flush):
18502         Flushing out 0 bytes is ok for this function.
18503
18504         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18505         no newsegment gives a warning and sets the start/stop to 
18506         invalid.
18507
18508         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18509         (gst_base_transform_set_passthrough):
18510         Some debug info.
18511
18512         * gst/gstminiobject.c: (gst_mini_object_ref):
18513         Check refcount here too.
18514
18515         * gst/gstpad.c: (gst_pad_init):
18516         Pads are initially flushing and refusing data.
18517
18518         * gst/gstutils.c: (gst_element_link_pads_filtered):
18519         When adding a capsfilter element make sure it has the
18520         same state as the parent bin.
18521
18522 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18523
18524         * docs/gst/tmpl/.cvsignore:
18525         * docs/gst/tmpl/gstformat.sgml:
18526         * docs/gst/tmpl/gstversion.sgml:
18527         * gst/gstbus.h:
18528         * gst/gstformat.c:
18529         * gst/gstformat.h:
18530         * gst/gstversion.h.in:
18531           more docs and two more inlined
18532
18533 2005-08-30  Wim Taymans  <wim@fluendo.com>
18534
18535         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18536         Don't sync to clock.
18537
18538 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18539
18540         * docs/gst/gstreamer-sections.txt:
18541           ultral33t func10ns deserve to appear in the docs actually
18542         * docs/gst/tmpl/.cvsignore:
18543         * docs/gst/tmpl/gstcompat.sgml:
18544         * docs/gst/tmpl/gstconfig.sgml:
18545         * gst/check/gstcheck.c:
18546         * gst/gstcompat.h:
18547         * gst/gstconfig.h.in:
18548           inlined more docs
18549
18550 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18551
18552         * docs/gst/tmpl/.cvsignore:
18553         * docs/gst/tmpl/gstquery.sgml:
18554         * docs/gst/tmpl/gstutils.sgml:
18555         * gst/gstquery.c:
18556         * gst/gstquery.h:
18557           inlined and extended docs
18558
18559 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
18560
18561         * check/gst-libs/controller.c: (GST_START_TEST),
18562         (gst_controller_suite):
18563           more tests
18564         * docs/gst/tmpl/gstutils.sgml:
18565         * docs/libs/gstreamer-libs-sections.txt:
18566         * docs/libs/tmpl/gstdataprotocol.sgml:
18567           include path fixes
18568         * examples/controller/audio-example.c: (main):
18569           controller example works now
18570         * gst/gstclock.h:
18571           doc fixes
18572         * tools/gst-inspect.c: (print_element_properties_info):
18573           show param spec flags
18574
18575 2005-08-29  Andy Wingo  <wingo@pobox.com>
18576
18577         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18578
18579 2005-08-28  Andy Wingo  <wingo@pobox.com>
18580
18581         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18582         as having two arguments instead of just one. Allows superclasses
18583         to access information on subclasses -- see the terrible for() loop
18584         in gtype.c:g_type_create_instance for the reason why. All callers
18585         changed.
18586
18587 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18588
18589         * docs/design/part-messages.txt:
18590           update info
18591         * docs/gst/tmpl/.cvsignore:
18592         * docs/gst/tmpl/gstcaps.sgml:
18593         * docs/gst/tmpl/gstclock.sgml:
18594         * gst/gstbus.c:
18595         * gst/gstcaps.c:
18596         * gst/gstcaps.h:
18597         * gst/gstclock.c:
18598         * gst/gstclock.h:
18599         * gst/gstmessage.c:
18600           added descriptions for bus and message
18601           inline caps and clock docs
18602
18603 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18604
18605         * gst/gstmessage.c:
18606         * gst/gstmessage.h:
18607           doc fixes
18608
18609 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
18610
18611         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18612           fix div-by-zero
18613
18614 2005-08-26  Andy Wingo  <wingo@pobox.com>
18615
18616         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18617         element_set_state's return val.
18618         (test_2_elements): Add test that's been disabled for months.
18619
18620         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18621         can-activate-pull properties.
18622
18623         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18624         can-activate-pull properties. Implement is_seekable so fakesrc can
18625         operate in pull mode.
18626
18627         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18628         properties.
18629         (gst_base_sink_activate, gst_base_sink_activate_pull)
18630         (gst_base_sink_activate_push): Make activation mode choosing work.
18631         Cleanups.
18632         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18633         is right. Make pull mode work. Post an eos before pausing in pull
18634         mode.
18635         (gst_base_sink_change_state): Pay attention to the core's
18636         change_state() return val.
18637         
18638         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18639         has-getrange properties. Cleanups.
18640         
18641         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18642         has_getrange and replace with can_activate_pull and
18643         can_activate_push.
18644
18645         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18646         locking comments. Remove has_loop, has_chain and replace with
18647         can_activate_pull and can_activate_push.
18648
18649 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
18650
18651         * configure.ac:
18652         * examples/Makefile.am:
18653         * examples/metadata/Makefile.am:
18654         * examples/metadata/read-metadata.c: (message_loop),
18655         (have_pad_handler), (make_pipeline), (print_tag), (main):
18656           Add metadata reading example that loops over a list of filenames,
18657           dumping any tags found.
18658
18659         * gst/gstbus.c: (gst_bus_dispose):
18660         * gst/gstelement.c: (gst_element_dispose):
18661           Release a few potentially-held references in dispose.
18662
18663 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18664
18665         * docs/gst/tmpl/gstminiobject.sgml:
18666           do *not* add tmpl/*.sgml files to CVS!
18667
18668 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18669
18670         * libs/gst/bytestream/.cvsignore:
18671         * libs/gst/bytestream/Makefile.am:
18672         * libs/gst/bytestream/adapter.c:
18673         * libs/gst/bytestream/adapter.h:
18674         * libs/gst/bytestream/bytestream.c:
18675         * libs/gst/bytestream/bytestream.h:
18676         * libs/gst/bytestream/filepad.c:
18677         * libs/gst/bytestream/filepad.h:
18678           removing obsolete files
18679
18680 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18681
18682         * docs/gst/gstreamer-docs.sgml:
18683         * docs/libs/gstreamer-libs-docs.sgml:
18684           disabed additional index entries again, as this makes docs-gen just
18685           slow and they aren't useful yet
18686         * docs/libs/gstreamer-libs-sections.txt:
18687           little -section.txt cleanup for libs
18688
18689 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18690
18691         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18692         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18693           fix up some debugging
18694         (gst_base_transform_get_unit_size),
18695         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18696         (gst_base_transform_handle_buffer):
18697         * gst/base/gstbasetransform.h:
18698           handle and store timed NEWSEGMENT events so that subclasses that
18699           calculate time by counting samples have a segment_start time they
18700           need to add to their timestamps - see audioresample
18701
18702 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
18703
18704         * gst/gstbin.h:
18705           removed ';' from the end of macro defs
18706         * docs/gst/gstreamer-docs.sgml:
18707         * docs/gst/gstreamer-sections.txt:
18708         * docs/gst/tmpl/.cvsignore:
18709         * gst/gstbus.h:
18710         * gst/gstelement.c: (gst_element_class_init),
18711         (gst_element_set_state), (activate_pads),
18712         (gst_element_save_thyself):
18713         * gst/gstevent.c: (gst_event_new_newsegment):
18714         * gst/gstevent.h:
18715         * gst/gstiterator.c:
18716         * gst/gstiterator.h:
18717         * gst/gstpad.c:
18718         * gst/gstprobe.h:
18719         * gst/gstutils.c: (gst_pad_query_convert):
18720         * gst/gstutils.h:
18721           fixed parameter name mismatches between source, header and docs
18722           added some more docs, resolved the last batch of unused elements in
18723           docs (now someone needs to doc them)
18724
18725 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18726
18727         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18728         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18729           don't walk through the plugins backwards.  Where is all this
18730           reversed logic coming from ?
18731
18732 2005-08-25  Wim Taymans  <wim@fluendo.com>
18733
18734         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18735         (gst_base_transform_transform_size),
18736         (gst_base_transform_configure_caps),
18737         (gst_base_transform_get_unit_size),
18738         (gst_base_transform_buffer_alloc),
18739         (gst_base_transform_change_state):
18740         * gst/base/gstbasetransform.h:
18741         Cache caps unit_size.
18742         Make sure we cannot negotiate up and downstream at the
18743         same time.
18744
18745 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18746
18747         * gst/gst.c: (init_pre), (init_post):
18748           register the installed plugin path after the env var
18749         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18750         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18751           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18752           directories, so the tests can prefer uninstalled over installed
18753
18754 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
18755
18756         * gst/base/gstbasetransform.h:
18757           comment
18758         * gst/gstpad.c:
18759           add to docs
18760
18761 2005-08-25  Wim Taymans  <wim@fluendo.com>
18762
18763         * gst/gstbin.c: (bin_bus_handler):
18764         Be a bit more conservative about the posted message.
18765         
18766         * gst/gstbus.c: (gst_bus_post):
18767         Some cleanups, warn wrong return values.
18768
18769 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
18770
18771         * check/gst/gstbin.c: (GST_START_TEST):
18772         * gst/gstbin.c: (bin_bus_handler):
18773         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18774         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18775         (gst_message_new_warning), (gst_message_new_tag),
18776         (gst_message_new_state_changed), (gst_message_new_segment_start),
18777         (gst_message_new_segment_done), (gst_message_new_custom):
18778         * gst/gstmessage.h:
18779         * tools/gst-launch.c: (event_loop):
18780         * tools/gst-md5sum.c: (event_loop):
18781           Revert unpopular change for GST_MESSAGE_SRC to GObject.
18782
18783 2005-08-25  Wim Taymans  <wim@fluendo.com>
18784
18785         * check/generic/states.c: (GST_START_TEST):
18786         Cleanup can be done at the end.
18787
18788         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18789         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18790         (gst_task_get_state), (gst_task_start), (gst_task_pause):
18791         Oh boy.. Thanks for finding this, Thomas. 
18792
18793 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18794
18795         * docs/gst/gstreamer.types:
18796           added missing types
18797
18798 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
18799
18800         * docs/gst/gstreamer-docs.sgml:
18801         * docs/gst/gstreamer-sections.txt:
18802         * docs/gst/tmpl/.cvsignore:
18803         * gst/gstbin.c:
18804         * gst/gstiterator.c:
18805         * gst/gstutils.c:
18806         * gst/registries/gstxmlregistry.h:
18807           added missing classes and symbols (123 more to go)
18808           removed removed symbols from section file
18809           fixed many doc-comments
18810
18811 2005-08-24  Wim Taymans  <wim@fluendo.com>
18812
18813         * check/generic/states.c: (GST_START_TEST):
18814         Make sure all tasks are stopped.
18815
18816         * check/gst/gstbin.c: (GST_START_TEST):
18817         Unref after usage for proper valgrinding.
18818
18819         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18820         Really wait for the task to stop before destroying the
18821         mutex.
18822
18823         * gst/gstqueue.c: (gst_queue_sink_activate_push),
18824         (gst_queue_src_activate_push):
18825         Small cleanups. Don't stop the task when we did not start
18826         it.
18827
18828         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18829         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18830         (gst_task_get_state), (gst_task_start), (gst_task_pause),
18831         (gst_task_join):
18832         * gst/gsttask.h:
18833         Protect the stream lock with the object lock.
18834         Disallow setting the stream lock when running.
18835         Add cleanup_all to wait for the threadpool to finish.
18836         Remove code to autoallocate a mutex if none was provided.
18837         Add _join() to wait for a task to stop.
18838         Protect the thread pool with a global lock.
18839
18840 2005-08-24  Wim Taymans  <wim@fluendo.com>
18841
18842         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18843         (gst_base_sink_get_times), (gst_base_sink_do_sync),
18844         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
18845         * gst/base/gstbasesink.h:
18846         Handle newsegment events correctly.
18847         Drop buffers out of the segment range.
18848
18849 2005-08-22  Andy Wingo  <wingo@pobox.com>
18850
18851         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
18852         macro, implements an interface and gstimplementsinterface for a
18853         new type.
18854
18855 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18856
18857         * check/Makefile.am:
18858         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
18859           add a test that does a bunch of state changes on elements
18860           needs some fixing for valgrind
18861         * check/states/sinks.c: (gst_object_suite):
18862           whitespace
18863         * gst/gstcaps.h:
18864           add prototype for gst_caps_is_equal_fixed
18865         * gst/gstplugin.c:
18866         * gst/gstregistrypool.c:
18867           doc fixes
18868
18869 2005-08-24  Andy Wingo  <wingo@pobox.com>
18870
18871         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
18872         convert a negative value. Doesn't make much sense. Mostly this is
18873         here to force callers to ensure -1 maps to -1.
18874
18875 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
18876
18877         * docs/pwg/advanced-types.xml:
18878           Well done to Michael for catching my deliberate introduction
18879           of this spelling mistake. 
18880         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
18881         * gst/gstelement.h:
18882           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
18883           unlink pads before removing the element from the bin.
18884
18885 2005-08-24  Andy Wingo  <wingo@pobox.com>
18886
18887         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
18888         the same thing as GST_DEBUG=*:4.
18889         (parse_debug_level, parse_debug_category): New helper parsers.
18890
18891 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18892
18893         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18894         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
18895         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
18896         (gst_base_transform_buffer_alloc),
18897         (gst_base_transform_handle_buffer):
18898           use gboolean return values and pointers to size so we can use the
18899           full GST_BUFFER_SIZE range (guint) for buffer sizes
18900           use GstPadDirection for transform_caps
18901         * gst/base/gstbasetransform.h:
18902           rename get_size to get_unit_size since that's what it is
18903         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
18904           use GstPadDirection for transform_caps
18905         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18906         * gst/gstutils.h:
18907           cleanup and debugging
18908
18909 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
18910
18911         * gst/gstelement.c: (gst_element_class_init),
18912         (gst_element_set_state), (activate_pads),
18913         (gst_element_save_thyself):
18914         * tools/gst-compprep.c: (main):
18915         * tools/gst-inspect.c: (print_element_properties_info):
18916         * tools/gst-xmlinspect.c: (print_element_properties):
18917           Fixed long standing mem-leak
18918
18919 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
18920
18921         * check/gst/gstbin.c: (GST_START_TEST):
18922         * gst/gstbin.c: (bin_bus_handler):
18923         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18924         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18925         (gst_message_new_warning), (gst_message_new_tag),
18926         (gst_message_new_state_changed), (gst_message_new_segment_start),
18927         (gst_message_new_segment_done), (gst_message_new_custom):
18928         * gst/gstmessage.h:
18929         * tools/gst-launch.c: (event_loop):
18930         * tools/gst-md5sum.c: (event_loop):
18931           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
18932           that applications can sensibly post custom messages with references
18933           to their own objects.
18934
18935 2005-08-24  Andy Wingo  <wingo@pobox.com>
18936
18937         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
18938         already.
18939
18940 2005-08-24  Wim Taymans  <wim@fluendo.com>
18941
18942         * gst/base/gstbasetransform.c: (gst_base_transform_init),
18943         (gst_base_transform_transform_caps),
18944         (gst_base_transform_transform_size),
18945         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18946         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18947         (gst_base_transform_handle_buffer):
18948         * gst/base/gstbasetransform.h:
18949         Many fixes and new features added by Thomas. Can now also do
18950         transforms with variable sizes and a custom fixate_caps function.
18951
18952 2005-08-24  Wim Taymans  <wim@fluendo.com>
18953
18954         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
18955         Some debugging.
18956
18957         * gst/gstclock.h:
18958         Cast to ClockTime before formatting to time.
18959
18960         * gst/gstutils.h:
18961         Cleanups.
18962
18963 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
18964
18965         * check/gst-libs/controller.c: (GST_START_TEST),
18966         (gst_controller_suite):
18967         * docs/gst/tmpl/gstcaps.sgml:
18968         * docs/gst/tmpl/gstghostpad.sgml:
18969         * docs/gst/tmpl/gstquery.sgml:
18970         * docs/gst/tmpl/gstutils.sgml:
18971         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
18972         (gst_object_sink_values), (gst_object_get_value_arrays),
18973         (gst_object_get_value_array):
18974           gracefully handle helper method calls to objects that are not beeing
18975           controlled, added test case for that          
18976
18977 2005-08-23  Wim Taymans  <wim@fluendo.com>
18978
18979         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
18980         (gst_event_new_newsegment), (gst_event_parse_newsegment),
18981         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
18982         (gst_event_parse_qos), (gst_event_new_seek),
18983         (gst_event_parse_seek):
18984         * gst/gstevent.h:
18985         Some more debugging output and doc cleanups.
18986
18987         * gst/gstqueue.c: (gst_queue_handle_sink_event):
18988         Fix possible deadlock.
18989
18990 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
18991
18992         * docs/gst/gstreamer-docs.sgml:
18993         * docs/gst/gstreamer-sections.txt:
18994         * docs/gst/gstreamer.types:
18995         * docs/gst/tmpl/.cvsignore:
18996         * gst/gstbin.h:
18997         * gst/gstbus.c:
18998         * gst/gstelement.c:
18999         * gst/gstevent.h:
19000           added 100 symbols from gstreamer-unused.txt to the right sections
19001           fixed more broken comments
19002           added GstBus to docs
19003
19004 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19005
19006         * docs/gst/gstreamer-sections.txt:
19007         * docs/gst/tmpl/.cvsignore:
19008         * docs/gst/tmpl/gstbin.sgml:
19009         * docs/gst/tmpl/gstbuffer.sgml:
19010         * gst/base/gstbasesrc.c:
19011         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19012         * gst/gstbuffer.c:
19013         * gst/gstbuffer.h:
19014         * tools/gst-launch.1.in:
19015           inlined more doc comments, added missing comments and fixed comments
19016           fixed typos
19017
19018 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19019
19020         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19021           some debugging
19022         * gst/gstcaps.h:
19023           whitespace fixes
19024         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19025           more debugging
19026         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19027         * gst/gststructure.h:
19028           add a fixate function for booleans; add a FIXME that these func
19029           names should probably be gst_structure_fixate_*
19030
19031 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
19032
19033         * docs/gst/gstreamer-docs.sgml:
19034         * docs/gst/gstreamer-sections.txt:
19035         * gst/Makefile.am:
19036         * gst/gstbin.c: (gst_bin_get_type),
19037         (gst_bin_child_proxy_get_child_by_index),
19038         (gst_bin_child_proxy_get_children_count),
19039         (gst_bin_child_proxy_init):
19040         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19041         (gst_child_proxy_get_child_by_index),
19042         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19043         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19044         (gst_child_proxy_get), (gst_child_proxy_set_property),
19045         (gst_child_proxy_set_valist), (gst_child_proxy_set),
19046         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19047         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19048         * gst/gstchildproxy.h:
19049         * gst/parse/grammar.y:
19050         * tools/gst-inspect.c: (print_interfaces),
19051         (print_element_properties_info), (print_element_info):
19052           ported gstchildproxy over from 0.8
19053           ported gst-inspect fixes and enhancements over from 0.8
19054
19055 2005-08-22  Wim Taymans  <wim@fluendo.com>
19056
19057         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19058         (gst_base_transform_handle_buffer):
19059         Also call the transform function if we have ANY caps.
19060
19061         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19062         Fix debug info.
19063
19064 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19065
19066         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19067           Don't pretend to handle seek events if the source is not seekable
19068
19069 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
19070
19071         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19072           Remove extra parameter to debug output
19073
19074         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19075         (gst_base_src_do_seek), (gst_base_src_activate_push):
19076           Fix seek event handling.
19077
19078         * gst/gstpipeline.c: (gst_pipeline_change_state):
19079         * gst/gstqueue.c: (gst_queue_handle_sink_event),
19080         (gst_queue_src_activate_push):
19081           Don't start the src pad task on FLUSH_STOP if the pad
19082           isn't linked.
19083           Debug changes.
19084
19085 2005-08-22  Wim Taymans  <wim@fluendo.com>
19086
19087         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19088         Added check for gst_static_caps_get() refcounting.
19089
19090 2005-08-22  Wim Taymans  <wim@fluendo.com>
19091
19092         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19093         Make _static_caps_get() refcounting sane.
19094         
19095         * gst/gstelement.c: (gst_element_set_state):
19096         Add g_return_val_if_fail() to protect against segfaults.
19097
19098 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
19099
19100         * docs/gst/tmpl/gstevent.sgml:
19101         * gst/gstevent.c:
19102         * gst/gstevent.h:
19103           inlined remaining docs, added missing doc comments
19104
19105 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19106
19107         * check/gst/gstbin.c: (GST_START_TEST):
19108           since we don't know when preroll is done, use refcount range
19109           check for the sink
19110         * gst/check/gstcheck.h:
19111           add macro for checking refcount range
19112
19113 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19114
19115         * check/Makefile.am:
19116           clean up environment for when registry gets built versus
19117           when actual tests are run; valgrind seems to not report
19118           leaks if GST_PLUGIN_PATH is set to some specific values
19119         * check/gst/gstbin.c: (GST_START_TEST):
19120           add more refcounting checks; maybe this exposes a
19121           preroll lock bug ?
19122         * common/check.mak:
19123         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19124         * gst/check/gstcheck.h:
19125         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19126         (gst_bin_change_state):
19127         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19128           add/fix debugging/whitespace
19129
19130 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19131
19132         * check/gst/gstevent.c: (event_probe), (test_event),
19133         (GST_START_TEST):
19134          Er, don't call gst_bin_watch_for_state_change you idiot.
19135
19136 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
19137
19138         * check/Makefile.am:
19139           Use CHECK_CFLAGS and CHECK_LIBS
19140         * check/gst/gstevent.c: (event_probe), (test_event),
19141         (GST_START_TEST):
19142           Don't leak events.
19143         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19144         (gst_base_src_start), (gst_base_src_stop),
19145         (gst_base_src_activate_push), (gst_base_src_activate_pull),
19146         (gst_base_src_change_state):
19147           Sprinkle gst_base_src_stop liberally around error paths to fix
19148           problems reusing a source after failed state changes.
19149         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19150         (helper_find_suggest), (gst_type_find_helper):
19151           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19152         * gst/gstevent.h:
19153         * docs/gst/tmpl/gstevent.sgml:
19154           Migrate part of the docs from the SGML file. Wait for ensonic to
19155           tell me how I did it wrong ;)
19156         * tools/gst-typefind.c: (main):
19157           Extra robustness to state changes between files.
19158
19159 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         * check/Makefile.am:
19162           don't valgrind the controller test - it's leaking - Stefan, HELP
19163         * gst/check/gstcheck.c: (gst_check_message_error),
19164         (gst_check_chain_func), (gst_check_setup_element),
19165         (gst_check_teardown_element), (gst_check_setup_src_pad),
19166         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19167         (gst_check_teardown_sink_pad):
19168         * gst/check/gstcheck.h:
19169           add a bunch of methods to set up elements, and src and sink pads
19170         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19171         * check/elements/identity.c: (setup_identity), (cleanup_identity),
19172         (GST_START_TEST):
19173           use them
19174         * gst/gstmessage.c:
19175         * gst/gsttag.h:
19176           whitespace/doc fixes
19177
19178 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19179
19180         * gst/gstelement.h:
19181           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19182           be handled by the application and not always printed as well
19183
19184 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19185
19186         * check/Makefile.am:
19187           set GST_TOOLS_DIR
19188         * gst/check/gstcheck.c: (gst_check_message_error):
19189         * gst/check/gstcheck.h:
19190           add a fail_unless_equals_int
19191           add fail_unless for error messages
19192
19193 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19194
19195         * check/Makefile.am:
19196         * check/gst.supp:
19197         * common/Makefile.am:
19198         * common/check.mak:
19199         * common/gst.supp:
19200           factor out some of the common stuff so we can use it
19201
19202 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19203
19204         * check/Makefile.am:
19205         * check/gst/gstiterator.c: (GST_START_TEST):
19206         * check/gst/gstsystemclock.c: (GST_START_TEST),
19207         (gst_systemclock_suite):
19208         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19209         * gst/gstclock.c:
19210           valgrind more tests
19211
19212 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19213
19214         * check/elements/.cvsignore:
19215         * check/elements/gstfakesrc.c:
19216           rename to name of element
19217         * check/elements/identity.c: (chain_func), (event_func),
19218         (setup_identity), (cleanup_identity), (GST_START_TEST),
19219         (identity_suite), (main):
19220           add a test for identity
19221         * check/Makefile.am:
19222         * pkgconfig/Makefile.am:
19223         * pkgconfig/gstreamer-check.pc.in:
19224         * pkgconfig/gstreamer-check-uninstalled.pc.in:
19225         * gst/check:
19226         * gst/Makefile.am:
19227         * configure.ac:
19228           move the check stuff to a library that gets installed
19229         * check/gst-libs/controller.c: (GST_START_TEST):
19230         * check/gst-libs/gdp.c:
19231         * check/gst/gst.c: (GST_START_TEST):
19232         * check/gst/gstbin.c:
19233         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19234         * check/gst/gstbus.c:
19235         * check/gst/gstcaps.c: (GST_START_TEST):
19236         * check/gst/gstelement.c:
19237         * check/gst/gstghostpad.c:
19238         * check/gst/gstiterator.c:
19239         * check/gst/gstmessage.c:
19240         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19241         * check/gst/gstobject.c:
19242         * check/gst/gstpad.c: (GST_START_TEST):
19243         * check/gst/gststructure.c: (GST_START_TEST):
19244         * check/gst/gstsystemclock.c: (GST_START_TEST),
19245         (gst_systemclock_suite):
19246         * check/gst/gsttag.c: (gst_tag_suite):
19247         * check/gst/gstvalue.c:
19248         * check/pipelines/cleanup.c:
19249         * check/pipelines/simple_launch_lines.c:
19250         * check/states/sinks.c:
19251           change include statement
19252
19253         * docs/gst/gstreamer-sections.txt:
19254         * docs/gst/tmpl/gstpad.sgml:
19255           document more pad stuff
19256         * gst/gstminiobject.c: (gst_mini_object_ref),
19257         (gst_mini_object_unref):
19258           debug refcounting
19259
19260 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
19261
19262         * docs/gst/tmpl/gst.sgml:
19263         * gst/gst.c:
19264           eliminate another tmpl file, fix spelling in the long-description
19265
19266 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19267
19268         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19269         (test_event), (timediff), (gstevents_suite):
19270           Should fix build on 64-bit arch's
19271
19272 2005-08-18  Andy Wingo  <wingo@pobox.com>
19273
19274         Make sure that when a pipeline goes to PLAYING, that data has
19275         actually hit the sink.
19276
19277         * check/states/sinks.c (test_sink): A sink that doesn't get any
19278         data shouldn't return SUCCESS for going to either PLAYING or
19279         PAUSED. Test also the return values on the way back down.
19280
19281         * gst/gstelement.c (gst_element_set_state): When changing the
19282         state of an element currently changing state asynchronously, go to
19283         lost-state after commiting the pending state. Makes future calls
19284         to get_state continue to return ASYNC.
19285
19286         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19287         ASYNC when going to PLAYING if we still don't have preroll, as can
19288         happen with live sources.
19289
19290 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19291
19292         * docs/pwg/advanced-types.xml:
19293           Hack long paragraph into 2 chunks as a workaround for buggy
19294           jadetex version in sid and breezy that loops infinitely and
19295           eats all RAM.
19296
19297 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19298
19299         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19300         (test_event), (timediff), (gstevents_suite):
19301           Provide more error margin in clock measurements to allow for 
19302           g_get_current_time inaccuracies.
19303
19304 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19305
19306         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19307         (test_event), (timediff), (gstevents_suite):
19308            Fix error message output so I might be able to tell why the
19309            test works here but fails on the build farm.
19310
19311 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
19312
19313         * check/Makefile.am:
19314         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19315         (test_event), (timediff), (gstevents_suite), (main):
19316           I wrote a test!
19317
19318         * docs/design/part-seeking.txt:
19319           Spelling correction
19320
19321         * docs/gst/tmpl/gstevent.sgml:
19322         * docs/gst/tmpl/gstfakesrc.sgml:
19323           Docs updates.
19324
19325         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19326           Treat a buffer-without-newsegment the same as a receiving 
19327           a newsegment not in time format, and disable syncing to the clock
19328           with a warning.
19329
19330         * gst/gstbus.c: (gst_bus_set_sync_handler):
19331           Assert if anyone tries to replace the existing sync_handler for bus, 
19332           as only the owner should be setting it.
19333
19334         * gst/gstevent.h:
19335           Have a fixed set of custom event enums with events identified by
19336           their structure name (as in 0.8), rather than a free-for-all
19337           allowing collisions between enum values from different plugins.
19338
19339         * gst/gstpad.c: (gst_pad_class_init):
19340           Docs change.
19341           
19342         * gst/gstqueue.c: (gst_queue_handle_sink_event):
19343           Handle out-of-band downstream events from the sending thread.
19344
19345 2005-08-17  Andy Wingo  <wingo@pobox.com>
19346
19347         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19348         play-timeout==0 to mean no timeout at all. In that case, don't
19349         bother with a get_state or a warning, just return directly, even
19350         if it's ASYNC.
19351
19352         * gst/base/gstbasetransform.c: Debug changes.
19353
19354         * gst/gstutils.h:
19355         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19356         ensure bins post state change messages. A bit of a hack but I can't
19357         think of a way to avoid it.
19358
19359         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19360
19361 2005-08-16  Andy Wingo  <wingo@pobox.com>
19362
19363         * gst/base/gstadapter.h:
19364         * gst/base/gstadapter.c (gst_adapter_take): New function, like
19365         peek() but you own the data. Not terribly efficient atm.
19366
19367 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19368
19369         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19370         (gst_element_found_tags):
19371         * gst/gstutils.h:
19372           Add two utility functions for tag handling.
19373
19374 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19375
19376         * docs/manual/advanced-dataaccess.xml:
19377         * docs/manual/basics-helloworld.xml:
19378           Fix docs to use _bin_add() before _link(), which fixes the examples
19379           with recent core versions (reported by Madhan Raj M
19380           <raj_madan@rediffmail.com>, #313199).
19381
19382 2005-08-16  Wim Taymans  <wim@fluendo.com>
19383
19384         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19385         Added subtract checks.
19386
19387         * docs/design/part-events.txt:
19388         Some more docs about newsegment
19389
19390         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19391         Fix FIXME
19392
19393         * gst/gstcaps.c: (gst_caps_to_string):
19394         Add comments, cleanups.
19395         
19396         * gst/gstelement.c: (gst_element_save_thyself):
19397         cleanups
19398         
19399         * gst/gstvalue.c: (gst_value_collect_int_range),
19400         (gst_string_unwrap), (gst_value_union_int_int_range),
19401         (gst_value_union_int_range_int_range),
19402         (gst_value_intersect_int_int_range),
19403         (gst_value_intersect_int_range_int_range),
19404         (gst_value_intersect_double_double_range),
19405         (gst_value_intersect_double_range_double_range),
19406         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19407         (gst_value_subtract_int_range_int),
19408         (gst_value_subtract_double_range_double),
19409         (gst_value_subtract_double_range_double_range),
19410         (gst_value_subtract_from_list), (gst_value_subtract_list),
19411         (gst_value_can_compare), (gst_value_compare_fraction):
19412         Cleanups, add comments, remove unneeded asserts.
19413
19414 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19415
19416         * tools/gst-launch.c: (event_loop):
19417           don't convert NULL structures to strings
19418
19419 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
19420
19421         * docs/gst/gstreamer-sections.txt:
19422           made some defines private
19423         * docs/gst/tmpl/gstconfig.sgml:
19424         * docs/gst/tmpl/gstqueue.sgml:
19425         * docs/gst/tmpl/gsttaglist.sgml:
19426         * docs/gst/tmpl/gsttypes.sgml:
19427         * docs/gst/tmpl/gstutils.sgml:
19428         * docs/pwg/appendix-porting.xml:
19429         * gst/base/gstbasesink.h:
19430         * gst/base/gstbasesrc.c:
19431         * gst/base/gstbasesrc.h:
19432         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19433         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19434         * gst/gstelement.c: (gst_element_class_init):
19435         * gst/gstpad.c: (gst_pad_class_init):
19436         * gst/gstqueue.c: (gst_queue_class_init):
19437         * gst/gstxml.c: (gst_xml_class_init):
19438           documented all undocumented signal inline
19439         * libs/gst/controller/gst-controller.h:
19440           added padding
19441
19442 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19443
19444         * docs/pwg/appendix-porting.xml:
19445           Document _set_link_function -> _set_setcaps_function.
19446
19447 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19448
19449         * check/Makefile.am:
19450           add a .check target for running the check
19451         * check/gst-libs/controller.c: (GST_START_TEST):
19452           cosmetic fixups
19453         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19454           complete checks for gstbuffer; would be nice if I could get the
19455           gcov stuff to work so I can see if I actually completed gstbuffer.c
19456         * check/gstcheck.h:
19457           add ASSERT_BUFFER_REFCOUNT
19458
19459 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
19460
19461         * docs/gst/gstreamer-sections.txt:
19462         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19463         * gst/gsttag.h:
19464           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19465           spew out a warning if a tag that is already registered
19466           is re-registered, unless it is re-registered with a 
19467           different type (#308438).
19468
19469 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
19470
19471         * docs/pwg/appendix-porting.xml:
19472         * docs/pwg/building-state.xml:
19473           Add some paragraphs about state changes in 0.9 to the PWG
19474           and the porting guide, in particular about the new meaning
19475           of GST_STATE_PAUSED and how to write state change functions
19476           with concurrent access by multiple threads in mind.
19477
19478 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
19479
19480         * docs/gst/gstreamer-docs.sgml:
19481         * docs/libs/gstreamer-libs-docs.sgml:
19482           added deprecation and since indexes
19483         * libs/gst/controller/gst-controller.c:
19484         * libs/gst/controller/gst-helper.c:
19485           added since tags
19486
19487
19488 2005-08-11  Wim Taymans  <wim@fluendo.com>
19489
19490         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19491         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19492         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19493         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19494         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19495         (gst_ghost_pad_set_target):
19496         Actually implement (re)setting the target on a ghostpad
19497         as described in the docs.
19498
19499 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19500
19501         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19502           Check whether GST_DEBUG_NO_COLOR environment variable is
19503           set and disable coloured debug output if that is the case.
19504
19505 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
19506
19507         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19508         (gst_type_find_helper):
19509           The memory returned by gst_type_find_peek() needs to
19510           stay valid until the end of a typefind function, and
19511           typefind functions may keep results from different 
19512           offsets around, so we can't just unref the buffer from
19513           the previous _peek(), but have to save all buffers 
19514           returned by _peek() until typefinding is done and only
19515           free them then.
19516
19517 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
19518
19519         * docs/gst/gstreamer-sections.txt:
19520         * gst/gstutils.h:
19521           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19522
19523 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19524
19525         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19526           Fix a pretty good memleak.
19527
19528 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19529
19530         * gst/gstiterator.h:
19531           Fix wrong include and 'make distcheck'.
19532
19533 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19534
19535         * gst/gstbin.c: (bin_bus_handler):
19536           Use gst_element_post_message() instead.
19537
19538 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
19539
19540         * gst/base/gstadapter.h:
19541         * gst/base/gstbasesink.h:
19542         * gst/base/gstbasesrc.h:
19543         * gst/base/gstbasetransform.h:
19544         * gst/base/gstcollectpads.h:
19545         * gst/base/gstpushsrc.h:
19546         * gst/gstiterator.h:
19547           Add padding to our base elements' class and instance structs and
19548           to GstIterator (you will need to rebuild all plugins and apps!)
19549
19550 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19551
19552         * gst/gstbin.c: (bin_bus_handler):
19553           Make default message forwarding from child->bus to bin->bus
19554           threadsafe and make it not emit warnings if the parent has no bus.
19555
19556 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19557
19558         * gst/gstelement.c: (activate_pads):
19559           On paused->ready, set pad->caps to NULL, as is the documented
19560           behaviour in this state change. Fixes playback of series of
19561           media files when visualization is enabled in Totem.
19562
19563 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19564
19565         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19566           Allow NULL as filter-caps (which means "any").
19567
19568 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19569
19570         * docs/libs/gstreamer-libs-sections.txt:
19571         * libs/gst/controller/gst-controller.c:
19572         * libs/gst/controller/gst-controller.h:
19573         * libs/gst/controller/gst-helper.c:
19574           adding more entries to the docs and fix small doc-bugs
19575
19576 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19577
19578         * docs/gst/gstreamer-docs.sgml:
19579         * docs/gst/gstreamer-sections.txt:
19580         * docs/gst/gstreamer.types:
19581         * docs/gst/tmpl/gstbasesink.sgml:
19582         * docs/gst/tmpl/gstbasesrc.sgml:
19583         * docs/gst/tmpl/gstbasetransform.sgml:
19584         * docs/gst/tmpl/gstfakesrc.sgml:
19585         * gst/base/gstcollectpads.c:
19586         * gst/base/gstcollectpads.h:
19587         * libs/gst/controller/gst-controller.c:
19588         * libs/gst/controller/gst-controller.h:
19589         * libs/gst/controller/gst-helper.c:
19590         * libs/gst/controller/gst-interpolation.c:
19591         * libs/gst/controller/lib.c:
19592           added long/short desc for controller docs
19593           added collectpads base class docs
19594           added correct includes to base-class docs
19595
19596 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
19597
19598         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19599         (gst_test_mono_source_set_property),
19600         (gst_test_mono_source_class_init), (GST_START_TEST),
19601         (gst_controller_suite):
19602         * docs/gst/gstreamer-docs.sgml:
19603         * docs/gst/gstreamer-sections.txt:
19604         * docs/gst/gstreamer.types:
19605         * docs/libs/gstreamer-libs-docs.sgml:
19606         * docs/libs/gstreamer-libs-sections.txt:
19607         * gst/base/gstadapter.c:
19608         * libs/gst/controller/gst-controller.c:
19609         (gst_controlled_property_new), (gst_controlled_property_free),
19610         (gst_controller_new_valist),
19611         (gst_controller_remove_properties_valist),
19612         (gst_controller_sink_values), (_gst_controller_finalize):
19613         * libs/gst/controller/gst-controller.h:
19614         * libs/gst/controller/gst-helper.c:
19615         (gst_object_control_properties), (gst_object_uncontrol_properties),
19616         (gst_object_get_controller), (gst_object_set_controller),
19617         (gst_object_sink_values), (gst_object_get_value_arrays),
19618         (gst_object_get_value_array):
19619           more tests (and fixes) for the controller
19620           more docs for the controller
19621           integrated companies docs for the adapter 
19622
19623 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19624
19625         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19626         (GST_START_TEST), (fakesrc_suite):
19627           add tests for sizetype
19628
19629 2005-08-04  Andy Wingo  <wingo@pobox.com>
19630
19631         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19632         fixes buffer_alloc proxying among other things.
19633
19634         * gst/base/gstbasetransform.c:
19635         * gst/base/gstbasetransform.h:
19636         Revert patch to gstbasetransform from 7-28 removing
19637         delay_configure.
19638
19639         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19640         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19641         Semantics changed, should return not the size of the output buffer
19642         but the byte size of a buffer with a given caps.
19643
19644         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19645         debug object.
19646         (gst_base_transform_configure_caps): Don't set out_size here: (in,
19647         out) are not the pad caps until setcaps finishes.
19648         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19649         not-in-place case as well. Deal with changing from in-place to
19650         not-in-place within calling pad_alloc_buffer. Still a bit
19651         concerned about the overhead here...
19652
19653 2005-08-03  Andy Wingo  <wingo@pobox.com>
19654
19655         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19656         fixating is an error.
19657
19658 2005-08-04  Edward Hervey  <edward@fluendo.com>
19659
19660         * gst/base/gstadapter.h: 
19661         Added gst_adapter_get_type() to the header
19662
19663 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19664
19665         * check/Makefile.am:
19666         * check/gst-libs/controller.c:
19667         * libs/gst/controller/gst-controller.c:
19668         (gst_controller_new_valist):
19669           added check test suite for the controller
19670         * gst/base/gstpushsrc.c:
19671           fixed a doc typo
19672
19673 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19674
19675         * docs/gst/Makefile.am:
19676         * docs/gst/gstreamer-docs.sgml:
19677         * docs/gst/gstreamer-sections.txt:
19678         * docs/gst/gstreamer.types:
19679         * docs/gst/tmpl/gstfakesrc.sgml:
19680         * gst/base/README:
19681         * gst/base/gstbasesink.c:
19682         * gst/base/gstbasesink.h:
19683         * gst/base/gstbasesrc.c:
19684         * gst/base/gstbasesrc.h:
19685         * gst/base/gstbasetransform.c:
19686         * gst/base/gstpushsrc.c:
19687         * gst/base/gstpushsrc.h:
19688           add short/long description docs to base classes
19689           add pushsrc to the docs
19690           remove consolidated doc fragments
19691
19692 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
19693
19694         * configure.ac:
19695         * docs/libs/Makefile.am:
19696         * docs/libs/gstreamer-libs-docs.sgml:
19697         * docs/libs/gstreamer-libs-sections.txt:
19698         * docs/libs/gstreamer-libs.types:
19699         * examples/Makefile.am:
19700         * examples/controller/.cvsignore:
19701         * examples/controller/Makefile.am:
19702         * examples/controller/audio-example.c: (main):
19703         * libs/gst/Makefile.am:
19704         * libs/gst/controller/.cvsignore:
19705         * libs/gst/controller/Makefile.am:
19706         * libs/gst/controller/gst-controller.c:
19707         (on_object_controlled_property_changed), (gst_timed_value_compare),
19708         (gst_timed_value_find),
19709         (gst_controlled_property_set_interpolation_mode),
19710         (gst_controlled_property_new), (gst_controlled_property_free),
19711         (gst_controller_find_controlled_property),
19712         (gst_controller_new_valist), (gst_controller_new),
19713         (gst_controller_remove_properties_valist),
19714         (gst_controller_remove_properties), (gst_controller_set),
19715         (gst_controller_set_from_list), (gst_controller_unset),
19716         (gst_controller_get), (gst_controller_get_all),
19717         (gst_controller_sink_values), (gst_controller_get_value_arrays),
19718         (gst_controller_get_value_array),
19719         (gst_controller_set_interpolation_mode),
19720         (_gst_controller_finalize), (_gst_controller_init),
19721         (_gst_controller_class_init), (gst_controller_get_type):
19722         * libs/gst/controller/gst-controller.h:
19723         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19724         (g_object_uncontrol_properties), (g_object_get_controller),
19725         (g_object_set_controller), (g_object_sink_values),
19726         (g_object_get_value_arrays), (g_object_get_value_array):
19727         * libs/gst/controller/gst-interpolation.c:
19728         (gst_controlled_property_find_timed_value_node),
19729         (interpolate_none_get), (interpolate_trigger_get),
19730         (interpolate_trigger_get_value_array):
19731         * libs/gst/controller/lib.c: (gst_controller_init):
19732         * pkgconfig/Makefile.am:
19733         * pkgconfig/gstreamer-control-uninstalled.pc.in:
19734         * pkgconfig/gstreamer-control.pc.in:
19735         * testsuite/Makefile.am:
19736         * testsuite/controller/.cvsignore:
19737         * testsuite/controller/Makefile.am:
19738         * testsuite/controller/interpolator.c: (main):
19739           added controller code
19740           removed dparam pc files
19741
19742 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19743         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19744         (gst_collectpads_stop):
19745           Broadcast the condition when shutting down, to make sure we wake all
19746           threads up. Shut down pads on finalize, for safety.
19747
19748 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
19749         * gst/base/gstbasetransform.c: (gst_base_transform_init),
19750         (gst_base_transform_handle_buffer),
19751         (gst_base_transform_change_state):
19752           Handle PAUSED->READY->PAUSED transition after negotiation
19753           occurred already.
19754         * gst/gstmessage.c: (gst_message_init):
19755           Extra piece of debug for new messages.
19756
19757 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
19758
19759         * configure.ac:
19760         * docs/gst/tmpl/gstbasesrc.sgml:
19761         * docs/gst/tmpl/gstelement.sgml:
19762         * docs/gst/tmpl/gstevent.sgml:
19763         * docs/gst/tmpl/gstfakesrc.sgml:
19764         * docs/gst/tmpl/gstformat.sgml:
19765         * docs/gst/tmpl/gstghostpad.sgml:
19766         * docs/gst/tmpl/gstpad.sgml:
19767         * docs/gst/tmpl/gstquery.sgml:
19768         * docs/gst/tmpl/gststructure.sgml:
19769         * docs/gst/tmpl/gsttaglist.sgml:
19770         * docs/gst/tmpl/gstvalue.sgml:
19771         * docs/libs/gstreamer-libs-docs.sgml:
19772         * docs/libs/gstreamer-libs-sections.txt:
19773         * docs/libs/gstreamer-libs.types:
19774         * libs/gst/Makefile.am:
19775         * libs/gst/control/.cvsignore:
19776         * libs/gst/control/Makefile.am:
19777         * libs/gst/control/control.c:
19778         * libs/gst/control/control.h:
19779         * libs/gst/control/dparam.c:
19780         * libs/gst/control/dparam.h:
19781         * libs/gst/control/dparam_smooth.c:
19782         * libs/gst/control/dparam_smooth.h:
19783         * libs/gst/control/dparamcommon.h:
19784         * libs/gst/control/dparammanager.c:
19785         * libs/gst/control/dparammanager.h:
19786         * libs/gst/control/dplinearinterp.c:
19787         * libs/gst/control/dplinearinterp.h:
19788         * libs/gst/control/unitconvert.c:
19789         * libs/gst/control/unitconvert.h:
19790         * testsuite/Makefile.am:
19791         * testsuite/dynparams/.cvsignore:
19792         * testsuite/dynparams/Makefile.am:
19793         * testsuite/dynparams/dparamstest.c:
19794         * tools/Makefile.am:
19795         * tools/gst-inspect.c: (print_element_info), (main):
19796         * tools/gst-xmlinspect.c: (print_element_info), (main):
19797           deactivate and remove dparams (libgstcontrol)
19798
19799 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19800
19801         * gst/elements/gsttypefindelement.c:
19802         (gst_type_find_element_have_type), (gst_type_find_element_init),
19803         (stop_typefinding), (gst_type_find_element_handle_event),
19804         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19805         * gst/elements/gsttypefindelement.h:
19806           Set caps on all outgoing buffers, not just the first one.
19807
19808 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19809
19810         * gst/elements/gsttypefindelement.c:
19811         (gst_type_find_element_have_type),
19812         (gst_type_find_element_check_set_buffer_caps),
19813         (gst_type_find_element_init), (stop_typefinding),
19814         (gst_type_find_element_handle_event),
19815         (gst_type_find_element_chain), (gst_type_find_element_getrange):
19816         * gst/elements/gsttypefindelement.h:
19817           Set caps on first outgoing buffer when we've found the type.
19818
19819 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
19820
19821         * docs/gst/gstreamer-docs.sgml:
19822         * docs/gst/gstreamer-sections.txt:
19823         * docs/gst/tmpl/gstscheduler.sgml:
19824         * docs/gst/tmpl/gstschedulerfactory.sgml:
19825           Remove some old cruft from docs.
19826
19827 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
19828
19829         * gst/gstpad.h:
19830           Fix inline docs for GstPadLinkReturn.
19831           
19832         * gst/gststructure.c: (gst_structure_has_name):
19833         * gst/gststructure.h:
19834         * docs/gst/gstreamer-sections.txt:
19835           New API: gst_structure_has_name().
19836
19837 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
19838
19839         * configure.ac:
19840           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19841           and _LARGEFILE_SOURCE in config.h as required. Do not 
19842           export those flags in our .pc files any longer (#142209).
19843
19844           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
19845
19846         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
19847         (gst_file_sink_do_seek), (gst_file_sink_event),
19848         (gst_file_sink_get_current_offset), (gst_file_sink_render):
19849           Redo seek/tell calls with large file support in mind; add some
19850           debugging messages; add log message that tells us when large
19851           file support is unavailable or not enabled for some reason.
19852
19853         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
19854           Add log message that tells us when large file support 
19855           is unavailable or not enabled for some reason.
19856
19857 2005-07-29  Wim Taymans  <wim@fluendo.com>
19858
19859         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19860         Added test for removing an element with ghostpad from a bin.
19861         Fixed test as current implementation does the right thing.
19862
19863         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
19864         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
19865         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
19866         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
19867         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
19868         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
19869         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
19870         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
19871         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
19872         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
19873         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
19874         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
19875         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
19876         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
19877         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
19878         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
19879         * gst/gstghostpad.h:
19880         Clean up ghostpads, remove properties for internal stuff.
19881         Make threadsafe.
19882         Fix refcounting.
19883         Prepare for switching targets, not all use cases work yet.
19884
19885 2005-07-29  Wim Taymans  <wim@fluendo.com>
19886
19887         * docs/design/part-gstghostpad.txt:
19888         Small update.
19889
19890         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19891         (gst_bin_remove_func):
19892         Unlinking pads while holding the bin LOCK is not a good
19893         idea.
19894
19895         * gst/gstpad.c: (gst_pad_class_init),
19896         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
19897         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
19898         No prob setting template after creating the pad.
19899
19900 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
19901
19902         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
19903         (gst_bus_peek), (gst_bus_source_dispatch),
19904         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
19905         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
19906           gst_bus_poll may be called from other threads. Handle
19907           this nicely by not making poll_data disappear off the
19908           stack once gst_bus_poll returns.
19909           gst_bus_peek now increments the refcount on the returned
19910           message.
19911
19912 2005-07-29  Wim Taymans  <wim@fluendo.com>
19913
19914         * docs/design/part-gstghostpad.txt:
19915         Overview of current GhostPad datastructures and use
19916         cases for changing the target.
19917
19918 2005-07-28  Wim Taymans  <wim@fluendo.com>
19919
19920         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19921         Added checks for hierarchy consistency whan adding linked
19922         elements to bins.
19923
19924         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19925         Added check to test element scheduling without bin/pipeline.
19926
19927         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19928         First add elements to bin, then link.
19929         
19930         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
19931         (gst_bin_remove_func):
19932         Unlink pads from elements added/removed from bin to maintain
19933         hierarchy consistency.
19934
19935 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19936
19937         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19938         (gst_base_transform_handle_buffer):
19939         * gst/base/gstbasetransform.h:
19940           Remove broken delay_configure (fixes renegotiation of software
19941           scaling pipelines); remove some leftover printf()s.
19942
19943 2005-07-28  Wim Taymans  <wim@fluendo.com>
19944
19945         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19946         Added some more tests for wrong hierarchy
19947
19948         * docs/design/part-overview.txt:
19949         Some updates.
19950
19951         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
19952         Cleanups.
19953
19954         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
19955         (gst_element_dispose):
19956         Some more cleanups.
19957
19958         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
19959         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
19960         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19961         (gst_pad_set_caps), (gst_pad_send_event):
19962         Check for correct hierarchy when linking pads. Moving to
19963         strict requirement for ghostpads when linking elements in
19964         different bins.
19965
19966         * gst/gstpad.h:
19967         Clean ups. Added WRONG_HIERARCHY return value.
19968
19969 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19970
19971         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19972           Better debug if no transform is possible.
19973
19974 2005-07-27  Wim Taymans  <wim@fluendo.com>
19975
19976         * docs/random/wtay/network-transp:
19977         Some old doc I had.
19978
19979 2005-07-27  Wim Taymans  <wim@fluendo.com>
19980
19981         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19982         (gst_dp_event_from_packet):
19983         Fix serialization of seek events.
19984
19985 2005-07-27  Wim Taymans  <wim@fluendo.com>
19986
19987         * check/gst-libs/gdp.c: (GST_START_TEST):
19988         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19989         Fix compilation and fix event serialization.
19990
19991 2005-07-27  Wim Taymans  <wim@fluendo.com>
19992
19993         * CHANGES-0.9:
19994         * docs/design/part-TODO.txt:
19995         * docs/design/part-events.txt:
19996         Some docs updates
19997
19998         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19999         (gst_base_sink_event), (gst_base_sink_do_sync),
20000         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20001         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20002         (gst_base_src_do_seek), (gst_base_src_event_handler),
20003         (gst_base_src_loop):
20004         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20005         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20006         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20007         (gst_base_transform_event), (gst_base_transform_handle_buffer),
20008         (gst_base_transform_set_passthrough),
20009         (gst_base_transform_is_passthrough):
20010         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20011         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20012         Event updates.
20013
20014         * gst/gstbuffer.h:
20015         Use faster casts.
20016
20017         * gst/gstelement.c: (gst_element_seek):
20018         * gst/gstelement.h:
20019         Update gst_element_seek.
20020
20021         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20022         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20023         (gst_event_new_flush_start), (gst_event_new_flush_stop),
20024         (gst_event_new_eos), (gst_event_new_newsegment),
20025         (gst_event_parse_newsegment), (gst_event_new_tag),
20026         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20027         (gst_event_parse_qos), (gst_event_new_seek),
20028         (gst_event_parse_seek), (gst_event_new_navigation):
20029         * gst/gstevent.h:
20030         Make GstEvent use GstStructure. Add parsing code, make sure the
20031         API is sufficiently generic.
20032         Mark possible directions of events and serialization.
20033
20034         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20035         (_gst_message_copy), (gst_message_new_segment_start),
20036         (gst_message_new_segment_done), (gst_message_new_custom),
20037         (gst_message_parse_segment_start),
20038         (gst_message_parse_segment_done):
20039         Small cleanups.
20040
20041         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20042         (gst_pad_set_caps), (gst_pad_send_event):
20043         Update for new events. 
20044         Catch events sent in wrong directions.
20045
20046         * gst/gstqueue.c: (gst_queue_link_src),
20047         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20048         (gst_queue_handle_src_query):
20049         Event updates.
20050
20051         * gst/gsttag.c:
20052         * gst/gsttag.h:
20053         Remove event code from this file.
20054
20055         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20056         (gst_dp_event_from_packet):
20057         Event updates.
20058
20059 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20060
20061         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20062         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20063         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20064           Make debugging actually useful.
20065
20066 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20067
20068         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20069         (gst_pad_fixate_caps):
20070           Implement default fixation once again, so that gst_pad_fixate()
20071           actually does anything at all. This probably needs to be some
20072           sort of a last resort, and use profile-based fixation first, but
20073           since that doesn't exist yet, this is the best we have. Fixes
20074           visualization in Totem.
20075
20076 2005-07-22  Wim Taymans  <wim@fluendo.com>
20077
20078         * docs/design/part-events.txt:
20079         Small update.
20080
20081         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20082         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20083         (gst_base_sink_activate_pull):
20084         Some more comments.
20085
20086         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20087         (gst_fake_src_create):
20088         Fix handoff marshall.
20089
20090         * gst/elements/gstidentity.c: (gst_identity_class_init),
20091         (gst_identity_transform_ip):
20092         We're a real inplace element.
20093
20094         * gst/gstbus.c: (gst_bus_post):
20095         Added some comments.
20096
20097         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20098         * tests/muxing/case1.c: (main):
20099         * tests/sched/dynamic-pipeline.c: (main):
20100         * tests/sched/interrupt1.c: (main):
20101         * tests/sched/interrupt2.c: (main):
20102         * tests/sched/interrupt3.c: (main):
20103         * tests/sched/runxml.c: (main):
20104         * tests/sched/sched-stress.c: (main):
20105         * tests/seeking/seeking1.c: (event_received), (main):
20106         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20107         (main):
20108         * tests/threadstate/threadstate3.c: (main):
20109         * tests/threadstate/threadstate4.c: (main):
20110         * tests/threadstate/threadstate5.c: (main):
20111         Fix the tests.
20112
20113 2005-07-21  Wim Taymans  <wim@fluendo.com>
20114
20115         * docs/design/part-seeking.txt:
20116         Some small additions.
20117
20118         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20119         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20120         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20121         * gst/base/gstbasesink.h:
20122         discont values are gint64, handle the math correctly.
20123
20124         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20125         Make the basesrc report error if the source pad is not linked.
20126
20127         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20128         (gst_queue_loop), (gst_queue_handle_src_query),
20129         (gst_queue_src_activate_push):
20130         Make queue collect data even if the srcpad is not linked.
20131         Start pushing out data as soon as it is linked.
20132
20133         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20134         * gst/gstutils.h:
20135         Added gst_flow_get_name() to ease error reporting.
20136
20137 2005-07-20  Wim Taymans  <wim@fluendo.com>
20138
20139         * gst/gstmessage.c: (gst_message_new_segment_start),
20140         (gst_message_new_segment_done), (gst_message_parse_segment_start),
20141         (gst_message_parse_segment_done):
20142         * gst/gstmessage.h:
20143         Added a bunch of messages for advanced seeking.
20144
20145         * gst/parse/grammar.y:
20146         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20147         (gst_dpman_state_changed):
20148         Fix some new-pad -> pad-added signals
20149
20150 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20151
20152         * docs/manual/appendix-porting.xml:
20153         * docs/pwg/appendix-porting.xml:
20154           Document new-pad/state-change signal renames and the FixedList
20155           type rename.
20156
20157 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20158
20159         * docs/manual/advanced-autoplugging.xml:
20160         * docs/manual/basics-helloworld.xml:
20161         * docs/manual/basics-pads.xml:
20162         * docs/random/ds/0.9-suggested-changes:
20163         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20164         * gst/gstelement.h:
20165         * gst/gstevent.h:
20166         * gst/gstformat.h:
20167         * gst/gstquery.h:
20168         * gst/gststructure.c: (gst_structure_value_get_generic_type),
20169         (gst_structure_parse_array), (gst_structure_parse_value):
20170         * gst/gstvalue.c: (gst_type_is_fixed),
20171         (gst_value_list_prepend_value), (gst_value_list_append_value),
20172         (gst_value_list_get_size), (gst_value_list_get_value),
20173         (gst_value_transform_array_string), (gst_value_serialize_array),
20174         (gst_value_deserialize_array), (gst_value_intersect_array),
20175         (gst_value_is_fixed), (_gst_value_initialize):
20176         * gst/gstvalue.h:
20177           GstElement::new-pad -> pad-added, GstElement::state-change ->
20178           state-changed, GstValueFixedList -> GstValueArray, add format and
20179           flags as their own arguments in gst_element_seek() (should improve
20180           "bindeability"), remove function generators since they don't work
20181           under a whole bunch of compilers (they were deprecated already
20182           anyway).
20183
20184 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20185
20186         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20187         (_gst_debug_register_funcptr):
20188         * gst/gstinfo.h:
20189           Fix illegal cast on some platforms (#309253).
20190
20191 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20192
20193         * gst/gstmessage.c: (gst_message_new_custom):
20194         * gst/gstmessage.h:
20195           Add _new_custom, make _new_application a macro to _new_custom.
20196
20197 2005-07-20  Wim Taymans  <wim@fluendo.com>
20198
20199         * gst/base/gstbasesrc.c: (gst_base_src_init),
20200         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20201         * gst/base/gstbasesrc.h:
20202         Add a gboolean to decide when to push out a discont.
20203
20204         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20205         (gst_queue_loop), (gst_queue_handle_src_query),
20206         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20207         (gst_queue_set_property), (gst_queue_get_property):
20208         Some cleanups.
20209
20210         * tests/threadstate/threadstate1.c: (main):
20211         Make a thread test compile and run... very silly..
20212
20213
20214 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20215
20216         * docs/manual/appendix-porting.xml:
20217           Mention removal of libgstgconf-0.9.la and existence of gconf
20218           elements.
20219
20220 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20221
20222         * docs/pwg/advanced-clock.xml:
20223         * docs/pwg/appendix-porting.xml:
20224         * docs/pwg/intro-preface.xml:
20225         * docs/pwg/other-base.xml:
20226         * docs/pwg/other-manager.xml:
20227         * docs/pwg/other-nton.xml:
20228         * docs/pwg/other-ntoone.xml:
20229         * docs/pwg/other-oneton.xml:
20230         * docs/pwg/pwg.xml:
20231           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20232           demuxer), remove n-to-n (was never written), fix some code examples
20233           and links and update the porting section to include all this.
20234
20235 2005-07-19  Wim Taymans  <wim@fluendo.com>
20236
20237         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20238         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20239         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20240         (gst_queue_src_activate_push), (gst_queue_change_state),
20241         (gst_queue_get_property):
20242         * gst/gstqueue.h:
20243         Propagate GstFlowReturn more intelligently upstream and output
20244         an ERROR/EOS when streaming stopped due to fatal error.
20245
20246 2005-07-19  Wim Taymans  <wim@fluendo.com>
20247
20248         * tools/gst-launch.c: (check_intr), (event_loop), (main):
20249         Don't block forever for the state change to complete, the
20250         pipeline already did with a sensible timeout.
20251
20252 2005-07-19  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20255         Make sure we never call the create function is we
20256         got deactivated.
20257
20258 2005-07-19  Andy Wingo  <wingo@pobox.com>
20259
20260         * gst/parse/parse.l: Attempt to solve bug #172815.
20261
20262 2005-07-19  Wim Taymans  <wim@fluendo.com>
20263
20264         * docs/design/part-clocks.txt:
20265         * docs/design/part-events.txt:
20266         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20267         Small docs updates.
20268         Only update the seeking values when we are not
20269         busy streaming.
20270
20271 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20272
20273         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20274           Oops, ignore the result of gst_pad_push_event here.
20275
20276 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
20277
20278         * gst/base/gstbasesrc.c: (gst_base_src_loop),
20279         (gst_base_src_activate_push):
20280           Send discont event from the loop function, as pads
20281           aren't activated yet in the activate_push handler.
20282
20283         * gst/gstbin.c: (bin_bus_handler):
20284           Don't leak element name.
20285
20286 2005-07-18  Andy Wingo  <wingo@pobox.com>
20287
20288         * configure.ac: Use AS_LIBTOOL_TAGS.
20289
20290 2005-07-18  Wim Taymans  <wim@fluendo.com>
20291
20292         * docs/gst/gstreamer.types:
20293         Remove deleted types.
20294
20295 2005-07-18  Wim Taymans  <wim@fluendo.com>
20296
20297         * check/elements/gstfakesrc.c: (GST_START_TEST):
20298         * configure.ac:
20299         * gst/Makefile.am:
20300         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20301         (init_popt_callback):
20302         * gst/gst.h:
20303         * gst/gst_private.h:
20304         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20305         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20306         * gst/gstbin.h:
20307         * gst/gstbus.h:
20308         * gst/gstconfig.h.in:
20309         * gst/gstelement.c: (gst_element_class_init),
20310         (gst_element_set_base_time), (gst_element_get_base_time),
20311         (iterator_fold_with_resync), (gst_element_change_state),
20312         (gst_element_dispose), (gst_element_get_bus):
20313         * gst/gstelement.h:
20314         * gst/gstelementfactory.h:
20315         * gst/gsterror.c: (_gst_core_errors_init):
20316         * gst/gsterror.h:
20317         * gst/gstevent.h:
20318         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20319         * gst/gstindex.c:
20320         * gst/gstinfo.c: (_gst_debug_init):
20321         * gst/gstmessage.c: (_gst_message_copy):
20322         * gst/gstmessage.h:
20323         * gst/gstminiobject.h:
20324         * gst/gstobject.c:
20325         * gst/gstobject.h:
20326         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20327         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20328         * gst/gstpad.h:
20329         * gst/gstparse.h:
20330         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20331         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20332         (gst_pipeline_get_last_stream_time):
20333         * gst/gstpipeline.h:
20334         * gst/gstpluginfeature.h:
20335         * gst/gstquery.h:
20336         * gst/gstscheduler.c:
20337         * gst/gstscheduler.h:
20338         * gst/gststructure.h:
20339         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20340         (gst_task_finalize), (gst_task_func), (gst_task_create),
20341         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20342         (gst_task_stop), (gst_task_pause):
20343         * gst/gsttask.h:
20344         * gst/gsttypefind.h:
20345         * gst/gsttypes.h:
20346         * gst/registries/gstlibxmlregistry.c: (load_feature),
20347         (gst_xml_registry_load), (gst_xml_registry_save_feature):
20348         * gst/registries/gstxmlregistry.c:
20349         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20350         * gst/schedulers/threadscheduler.c:
20351         * libs/gst/control/dparammanager.h:
20352         * tools/gst-inspect.c: (print_element_list),
20353         (print_plugin_features), (print_element_features):
20354         * tools/gst-xmlinspect.c: (print_element_list),
20355         (print_plugin_info), (main):
20356         Removed plugable schedulers.
20357         Removed Scheduler/Manager from elements.
20358         Removed gsttypes.h, rearranged includes.
20359         Removed dependency pad<->element, element<>pipeline, and
20360         various others,  fix includes.
20361         implement gst_pad_get_parent() with gst_object_get_parent()
20362         Make GstTask sefcontained.
20363         Fix _get_state() on GstBin, it did not return ASYNC with a 0
20364         timeout.
20365         Fix endless loop in iterator_fold_with_resync.
20366
20367
20368 2005-07-18  Wim Taymans  <wim@fluendo.com>
20369
20370         * gst/Makefile.am:
20371         * gst/gstarch.h:
20372         Remove old file.
20373
20374 2005-07-18  Wim Taymans  <wim@fluendo.com>
20375
20376         * gst/Makefile.am:
20377         No more cothreads.h
20378
20379 2005-07-18  Wim Taymans  <wim@fluendo.com>
20380
20381         * gst/cothreads.c:
20382         * gst/cothreads.h:
20383         Let's remove these.
20384
20385 2005-07-18  Wim Taymans  <wim@fluendo.com>
20386
20387         * docs/design/part-dynamic.txt:
20388         * docs/design/part-events.txt:
20389         * docs/design/part-seeking.txt:
20390         Some more docs in the works.
20391
20392         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20393         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20394         (gst_base_transform_setcaps), (gst_base_transform_get_size),
20395         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20396         (gst_base_transform_handle_buffer),
20397         (gst_base_transform_sink_activate_push),
20398         (gst_base_transform_src_activate_pull),
20399         (gst_base_transform_set_passthrough),
20400         (gst_base_transform_is_passthrough):
20401         Refcounting fixes.
20402
20403         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20404         Cleanups.
20405
20406         * gst/gstevent.c: (gst_event_finalize):
20407         Set SRC to NULL.
20408
20409         * gst/gstutils.c: (gst_element_unlink),
20410         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20411         (gst_pad_proxy_setcaps):
20412         * gst/gstutils.h:
20413         Add _get_parent_element() to get a pads parent as an element.
20414
20415 2005-07-18  Wim Taymans  <wim@fluendo.com>
20416
20417         * check/gst/gstbin.c: (GST_START_TEST):
20418         Remove bogus test.
20419
20420 2005-07-18  Wim Taymans  <wim@fluendo.com>
20421
20422         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20423         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20424         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20425         (gst_base_sink_event), (gst_base_sink_do_sync),
20426         (gst_base_sink_chain), (gst_base_sink_loop),
20427         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20428         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20429         Refcounting fixes.
20430         Fix logic for returning ASYNC when not prerolled.
20431
20432 2005-07-18  Wim Taymans  <wim@fluendo.com>
20433
20434         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20435         Fix nasty refcount bug.
20436
20437 2005-07-16 Philippe Khalaf <burger@speedy.org>
20438
20439         * gst/elements/gstfdsrc.c:
20440         * gst/elements/gstfdsrc.h:
20441         * gst/elements/gstelements.c:
20442         * gst/elements/Makefile.am:
20443         Ported fdsrc to 0.9.
20444
20445 2005-07-16  Wim Taymans  <wim@fluendo.com>
20446
20447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20448         (gst_base_sink_do_sync):
20449         Fix compile error.
20450
20451 2005-07-16  Wim Taymans  <wim@fluendo.com>
20452
20453         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20454         (gst_base_sink_event), (gst_base_sink_get_times),
20455         (gst_base_sink_do_sync), (gst_base_sink_change_state):
20456         * gst/base/gstbasesink.h:
20457         Store and use discont values when syncing buffers as described
20458         in design docs.
20459         
20460         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20461         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20462         (gst_base_src_activate_push):
20463         Push discont event when starting.
20464
20465         * gst/elements/gstidentity.c: (gst_identity_transform):
20466         Small cleanups.
20467
20468         * gst/gstbin.c: (gst_bin_change_state):
20469         Small cleanups in base_time  distribution.
20470
20471         * gst/gstelement.c: (gst_element_set_base_time),
20472         (gst_element_get_base_time), (gst_element_change_state):
20473         * gst/gstelement.h:
20474         Added methods for the base_time of the element.
20475         Some MT fixes.
20476
20477         * gst/gstpipeline.c: (gst_pipeline_send_event),
20478         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20479         (gst_pipeline_get_last_stream_time):
20480         * gst/gstpipeline.h:
20481         MT fixes.
20482         Handle seeking as described in design doc, remove stream_time
20483         hack.
20484         Cleanups clock and stream_time selection code. Added accessors
20485         for the stream_time.
20486         
20487
20488 2005-07-16  Andy Wingo  <wingo@pobox.com>
20489
20490         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20491         (#305291).
20492
20493 2005-07-16  Wim Taymans  <wim@fluendo.com>
20494
20495         * check/gst/gstbin.c: (GST_START_TEST):
20496         Make elements silent as the deep_notify refs the
20497         parent, which might make the test fail.
20498
20499         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20500         Don't hold the lock for too long.
20501
20502 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
20503
20504         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20505           Don't unref the caps we passed to gst_caps_make_writable() after
20506           passing them. gst_caps_make_writable() will do that for us.
20507
20508 2005-07-15  Andy Wingo  <wingo@pobox.com>
20509
20510         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20511         (#157311).
20512
20513         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20514         own marshalling function for the handoff signal. Properly type the
20515         buffer as a buffer. Fixes some warnings. Should do a more general
20516         solution.
20517         (gst_identity_class_init): Plug into the right marshaller.
20518
20519 2005-07-15  Wim Taymans  <wim@fluendo.com>
20520
20521         * docs/design/part-TODO.txt:
20522         * docs/design/part-clocks.txt:
20523         * docs/design/part-element-sink.txt:
20524         * docs/design/part-events.txt:
20525         * docs/design/part-gstpipeline.txt:
20526         Updated docs, mostly DISCONT related.
20527
20528 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
20529
20530         * docs/pwg/building-pads.xml:
20531           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20532
20533 2005-07-15  Andy Wingo  <wingo@pobox.com>
20534
20535         * tools/gst-typefind.c: Update, add copyright block.
20536
20537         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20538         Normalize and truncate caps before fixation.
20539
20540         * gst/gstcaps.h:
20541         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20542         discards all but the first structure from its argument.
20543
20544 2005-07-15  Wim Taymans  <wim@fluendo.com>
20545
20546         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20547         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20548         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20549         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20550         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20551         (gst_base_transform_chain), (gst_base_transform_change_state),
20552         (gst_base_transform_set_passthrough),
20553         (gst_base_transform_is_passthrough):
20554         * gst/base/gstbasetransform.h:
20555         Make passthrough work using the bufferpools.
20556         Changed API a bit, subclasses have to write into a buffer
20557         provided by the base class.
20558         More debug info in nego functions.
20559         
20560         * gst/elements/gstidentity.c: (gst_identity_init),
20561         (gst_identity_transform):
20562         Port to new base class.
20563
20564 2005-07-15  Wim Taymans  <wim@fluendo.com>
20565
20566         * gst/gstmessage.c: (gst_message_new_state_changed):
20567         * tools/gst-launch.c: (event_loop), (main):
20568         Totally dump messages in -launch with the -m option.
20569         Fix message name for State messages,
20570
20571 2005-07-14  Wim Taymans  <wim@fluendo.com>
20572
20573         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20574         Post error messages on errors.
20575
20576 2005-07-14  Wim Taymans  <wim@fluendo.com>
20577
20578         * gst/gstcaps.c: (gst_caps_do_simplify):
20579         Remove debug info.
20580
20581         * gst/gsterror.h:
20582         Define error for stream stopped.
20583
20584         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20585         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20586         Do proper return values.
20587
20588         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20589         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20590         (gst_pad_get_range):
20591         Better return values.
20592
20593         * gst/gstpad.h:
20594         Reorganise return values, add macro to check for fatal errors.
20595
20596         * gst/gstqueue.c: (gst_queue_chain):
20597         Return proper GstFlowReturn values,
20598
20599 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20600
20601         * docs/gst/gstreamer-sections.txt:
20602         * docs/gst/gstreamer.types:
20603         * docs/gst/tmpl/gst.sgml:
20604         * docs/gst/tmpl/gstbasesink.sgml:
20605         * docs/gst/tmpl/gstbasesrc.sgml:
20606         * docs/gst/tmpl/gstbasetransform.sgml:
20607         * docs/gst/tmpl/gstbin.sgml:
20608         * docs/gst/tmpl/gstbuffer.sgml:
20609         * docs/gst/tmpl/gstcaps.sgml:
20610         * docs/gst/tmpl/gstclock.sgml:
20611         * docs/gst/tmpl/gstcompat.sgml:
20612         * docs/gst/tmpl/gstconfig.sgml:
20613         * docs/gst/tmpl/gstelement.sgml:
20614         * docs/gst/tmpl/gstelementdetails.sgml:
20615         * docs/gst/tmpl/gstelementfactory.sgml:
20616         * docs/gst/tmpl/gstenumtypes.sgml:
20617         * docs/gst/tmpl/gsterror.sgml:
20618         * docs/gst/tmpl/gstevent.sgml:
20619         * docs/gst/tmpl/gstfakesink.sgml:
20620         * docs/gst/tmpl/gstfakesrc.sgml:
20621         * docs/gst/tmpl/gstfilesink.sgml:
20622         * docs/gst/tmpl/gstfilesrc.sgml:
20623         * docs/gst/tmpl/gstfilter.sgml:
20624         * docs/gst/tmpl/gstformat.sgml:
20625         * docs/gst/tmpl/gstghostpad.sgml:
20626         * docs/gst/tmpl/gstimplementsinterface.sgml:
20627         * docs/gst/tmpl/gstindex.sgml:
20628         * docs/gst/tmpl/gstindexfactory.sgml:
20629         * docs/gst/tmpl/gstinfo.sgml:
20630         * docs/gst/tmpl/gstiterator.sgml:
20631         * docs/gst/tmpl/gstmacros.sgml:
20632         * docs/gst/tmpl/gstmemchunk.sgml:
20633         * docs/gst/tmpl/gstminiobject.sgml:
20634         * docs/gst/tmpl/gstobject.sgml:
20635         * docs/gst/tmpl/gstpad.sgml:
20636         * docs/gst/tmpl/gstpadtemplate.sgml:
20637         * docs/gst/tmpl/gstparse.sgml:
20638         * docs/gst/tmpl/gstpipeline.sgml:
20639         * docs/gst/tmpl/gstplugin.sgml:
20640         * docs/gst/tmpl/gstpluginfeature.sgml:
20641         * docs/gst/tmpl/gstquery.sgml:
20642         * docs/gst/tmpl/gstqueue.sgml:
20643         * docs/gst/tmpl/gstregistry.sgml:
20644         * docs/gst/tmpl/gstregistrypool.sgml:
20645         * docs/gst/tmpl/gstscheduler.sgml:
20646         * docs/gst/tmpl/gstschedulerfactory.sgml:
20647         * docs/gst/tmpl/gststructure.sgml:
20648         * docs/gst/tmpl/gstsystemclock.sgml:
20649         * docs/gst/tmpl/gsttaglist.sgml:
20650         * docs/gst/tmpl/gsttagsetter.sgml:
20651         * docs/gst/tmpl/gsttrace.sgml:
20652         * docs/gst/tmpl/gsttrashstack.sgml:
20653         * docs/gst/tmpl/gsttypefind.sgml:
20654         * docs/gst/tmpl/gsttypefindfactory.sgml:
20655         * docs/gst/tmpl/gsttypes.sgml:
20656         * docs/gst/tmpl/gsturihandler.sgml:
20657         * docs/gst/tmpl/gsturitype.sgml:
20658         * docs/gst/tmpl/gstutils.sgml:
20659         * docs/gst/tmpl/gstvalue.sgml:
20660         * docs/gst/tmpl/gstversion.sgml:
20661         * docs/gst/tmpl/gstxml.sgml:
20662         * docs/libs/tmpl/gstcontrol.sgml:
20663         * docs/libs/tmpl/gstdataprotocol.sgml:
20664         * docs/libs/tmpl/gstdparam.sgml:
20665         * docs/libs/tmpl/gstdplinint.sgml:
20666         * docs/libs/tmpl/gstdpman.sgml:
20667         * docs/libs/tmpl/gstdpsmooth.sgml:
20668         * docs/libs/tmpl/gstgetbits.sgml:
20669         * docs/libs/tmpl/gstunitconvert.sgml:
20670         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20671         (gst_push_src_base_init), (gst_push_src_class_init),
20672         (gst_push_src_init), (gst_push_src_create):
20673         * gst/base/gstpushsrc.h:
20674         * gst/elements/gstelements.c:
20675         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20676         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20677         (gst_fake_sink_init), (gst_fake_sink_set_property),
20678         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20679         (gst_fake_sink_event), (gst_fake_sink_preroll),
20680         (gst_fake_sink_render), (gst_fake_sink_change_state):
20681         * gst/elements/gstfakesink.h:
20682         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20683         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20684         (gst_fake_src_base_init), (gst_fake_src_class_init),
20685         (gst_fake_src_init), (gst_fake_src_event_handler),
20686         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20687         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20688         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20689         (gst_fake_src_create_buffer), (gst_fake_src_create),
20690         (gst_fake_src_start), (gst_fake_src_stop):
20691         * gst/elements/gstfakesrc.h:
20692         * gst/elements/gstfilesink.c: (_do_init),
20693         (gst_file_sink_base_init), (gst_file_sink_class_init),
20694         (gst_file_sink_init), (gst_file_sink_dispose),
20695         (gst_file_sink_set_location), (gst_file_sink_set_property),
20696         (gst_file_sink_get_property), (gst_file_sink_open_file),
20697         (gst_file_sink_close_file), (gst_file_sink_query),
20698         (gst_file_sink_event), (gst_file_sink_render),
20699         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20700         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20701         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20702         * gst/elements/gstfilesink.h:
20703         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20704         (gst_file_src_class_init), (gst_file_src_init),
20705         (gst_file_src_finalize), (gst_file_src_set_location),
20706         (gst_file_src_set_property), (gst_file_src_get_property),
20707         (gst_file_src_map_region), (gst_file_src_map_small_region),
20708         (gst_file_src_create_mmap), (gst_file_src_create_read),
20709         (gst_file_src_create), (gst_file_src_is_seekable),
20710         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20711         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20712         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20713         (gst_file_src_uri_handler_init):
20714         * gst/elements/gstfilesrc.h:
20715           more autistic cleanliness in functions/names/defines
20716
20717 2005-07-13  Andy Wingo  <wingo@pobox.com>
20718
20719         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20720         source couldn't negotiate.
20721
20722         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20723         connections again.
20724
20725         * gst/gstutils.h:
20726         * gst/gstutils.c (gst_element_link_pads_filtered): New old
20727         function. I am channeling Hades. Put your boots on suckers!!!
20728
20729 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20730
20731         * testsuite/caps/Makefile.am:
20732         * testsuite/caps/value_compare.c:
20733         * testsuite/caps/value_intersect.c:
20734         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20735           move two testsuite apps over to the check dir
20736
20737 2005-07-12  Wim Taymans  <wim@fluendo.com>
20738
20739         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20740         Added more debug info in the negotiate process.
20741
20742         * gst/gstmessage.h:
20743         Prepare for segment playback.
20744
20745         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20746         Better debugging.
20747
20748         * gst/gstutils.c:
20749         Some more docs.
20750
20751         * tools/gst-launch.c: (main):
20752         NULL pipeline on errors.
20753
20754 2005-07-12  Andy Wingo  <wingo@pobox.com>
20755
20756         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20757         not it comes from a malloc region. Make sure our copy gets freed.
20758
20759 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20760
20761         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20762         * check/gst/gstmessage.c: (GST_START_TEST):
20763         * check/gst/gststructure.c: (GST_START_TEST),
20764         (gst_structure_suite), (main):
20765           more testing
20766         * gst/gstelement.c: (gst_element_message_full):
20767           clean up GError and debug string now that they get copied
20768         * gst/gstmessage.c: (gst_message_new_error),
20769         (gst_message_new_warning), (gst_message_parse_error),
20770         (gst_message_parse_warning):
20771           use GST_TYPE_G_ERROR for structure_new, and take copies of
20772           arguments, so that we don't mess up refcounting
20773
20774 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20775
20776         * check/Makefile.am:
20777           add per-test valgrind targets
20778         * check/gst-libs/gdp.c: (GST_START_TEST),
20779         (gst_data_protocol_suite), (main):
20780           clean up
20781
20782 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20783
20784         * check/Makefile.am:
20785           instate more valgrindable tests
20786         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20787         (GST_START_TEST), (fakesrc_suite):
20788         * check/gst/gstpad.c: (GST_START_TEST):
20789         * check/gst/gststructure.c: (GST_START_TEST):
20790           fix test leaks
20791         * docs/gst/tmpl/gstminiobject.sgml:
20792         * gst/gstpad.c: (gst_pad_finalize):
20793           fix the static mutex leak
20794
20795 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20796
20797         * check/Makefile.am:
20798           add two more tests for valgrinding
20799         * check/gst/gstvalue.c: (GST_START_TEST):
20800           test refcount of deserialized buffer, found a leak
20801         * docs/gst/gstreamer-docs.sgml:
20802         * docs/gst/gstreamer-sections.txt:
20803         * docs/gst/gstreamer.types:
20804         * docs/gst/tmpl/gstminiobject.sgml:
20805           add miniobject to docs
20806         * gst/gstminiobject.c:
20807           add some docs
20808         * gst/gstvalue.c: (gst_value_deserialize_buffer),
20809         (gst_string_unwrap):
20810           fix a hard-to-find invalid write for one of the tests
20811           fix a leak for deserialized buffers
20812
20813 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
20814
20815         * docs/pwg/advanced-events.xml:
20816         * docs/pwg/advanced-request.xml:
20817         * docs/pwg/advanced-scheduling.xml:
20818         * docs/pwg/appendix-porting.xml:
20819         * docs/pwg/building-boiler.xml:
20820         * docs/pwg/intro-preface.xml:
20821         * docs/pwg/other-ntoone.xml:
20822           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20823           of example code and explanation for pad activation, loop() and
20824           getrange() functions and a bit more. Remove old comments pointing
20825           to loop-functions.
20826         * examples/pwg/Makefile.am:
20827           Add loop/getrange examples.
20828
20829 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20830
20831         * configure.ac:
20832           check for valgrind binary + some fixes
20833         * check/gst.supp:
20834           valgrind suppressions for the tests
20835         * check/Makefile.am:
20836           add a valgrind: target that valgrinds the unit tests
20837         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20838         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20839         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20840         * check/gst/gstghostpad.c:
20841           added some cleanup
20842         * check/gst/gstdata.c:
20843           removed
20844         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
20845         (thread_unref), (gst_mini_object_suite), (main):
20846           added
20847         * gst/gst.c: (gst_deinit):
20848         * gst/gst.h:
20849           add a method to clean up.
20850         * gst/gstsystemclock.c: (gst_system_clock_dispose),
20851         (gst_system_clock_obtain):
20852           allow for disposing the system clock.
20853         * tools/gst-launch.c: (main):
20854           deinit
20855
20856 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20857
20858         * docs/gst/tmpl/gstbasesrc.sgml:
20859         * docs/gst/tmpl/gstfakesrc.sgml:
20860         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20861         (gst_base_src_init), (gst_base_src_set_property),
20862         (gst_base_src_get_property), (gst_base_src_get_range),
20863         (gst_base_src_start):
20864         * gst/base/gstbasesrc.h:
20865           add num-buffers property
20866         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20867         (gst_fakesrc_init), (gst_fakesrc_set_property),
20868         (gst_fakesrc_get_property), (gst_fakesrc_create),
20869         (gst_fakesrc_start):
20870           remove num-buffers property
20871
20872 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20873
20874         * docs/gst/gstreamer-sections.txt:
20875         * docs/gst/tmpl/gstbasesink.sgml:
20876         * docs/gst/tmpl/gstbasesrc.sgml:
20877         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20878         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20879         (gst_base_sink_finalize), (gst_base_sink_set_clock),
20880         (gst_base_sink_set_property), (gst_base_sink_get_property),
20881         (gst_base_sink_handle_object), (gst_base_sink_event),
20882         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20883         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
20884         (gst_base_sink_loop), (gst_base_sink_deactivate),
20885         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
20886         (gst_base_sink_change_state):
20887         * gst/base/gstbasesink.h:
20888         * gst/base/gstbasesrc.h:
20889         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
20890         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
20891         (gst_filesink_init):
20892           more macro splitting
20893
20894 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20895
20896         * gst/gstelement.c: (gst_element_get_bus):
20897           add debug
20898         * tools/gst-launch.c: (check_intr), (event_loop):
20899           fix bus leaks
20900
20901 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20902
20903         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
20904           fix a caps leak
20905
20906 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20907
20908         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20909         (gst_base_src_finalize):
20910           add finalize method and clean up properly
20911         * gst/gstpipeline.c: (gst_pipeline_dispose):
20912           add debug
20913
20914 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20915
20916         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
20917         (gst_bin_suite):
20918           add more things to check
20919         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20920         * gst/gstelement.c:
20921           more debug
20922
20923 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20924
20925         * check/elements/gstfakesrc.c: (chain_func), (event_func),
20926         (GST_START_TEST), (fakesrc_suite):
20927         * check/gst-libs/gdp.c: (GST_START_TEST):
20928         * check/gst/gst.c: (GST_START_TEST):
20929         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20930         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20931         * check/gst/gstbus.c: (GST_START_TEST):
20932         * check/gst/gstcaps.c: (GST_START_TEST):
20933         * check/gst/gstdata.c: (GST_START_TEST):
20934         * check/gst/gstelement.c: (GST_START_TEST):
20935         * check/gst/gstghostpad.c: (GST_START_TEST):
20936         * check/gst/gstiterator.c: (GST_START_TEST):
20937         * check/gst/gstmessage.c: (GST_START_TEST):
20938         * check/gst/gstobject.c: (GST_START_TEST):
20939         * check/gst/gstpad.c: (GST_START_TEST):
20940         * check/gst/gststructure.c: (GST_START_TEST):
20941         * check/gst/gstsystemclock.c: (GST_START_TEST),
20942         (gst_systemclock_suite):
20943         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20944         * check/gst/gstvalue.c: (GST_START_TEST):
20945         * check/pipelines/cleanup.c: (GST_START_TEST):
20946         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20947         * check/states/sinks.c: (GST_START_TEST):
20948         * check/gstcheck.c: (gst_check_init):
20949         * check/gstcheck.h:
20950           add debugging category
20951           use GST_START_TEST now, so we add a debug line
20952
20953 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20954
20955         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
20956           add test for state change message on a bin
20957         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
20958           add another test
20959         * gst/gstbin.c: (gst_bin_init):
20960         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
20961         * gst/gstelement.c: (gst_element_post_message),
20962         (gst_element_set_state):
20963         * gst/gstelementfactory.c: (gst_element_factory_create):
20964         * gst/gstmessage.c: (gst_message_new):
20965         * gst/gstscheduler.c:
20966           various debugging additions and cleanups
20967
20968 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20969
20970         * check/Makefile.am:
20971         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
20972         (main):
20973           adding tests for elements
20974         * gst/gstelement.c: (gst_element_dispose):
20975
20976 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20977
20978         * gst/registries/gstlibxmlregistry.c: (load_feature):
20979           plug more leaks.  A simple gst_init() now is leakfree, yay.
20980
20981 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20982
20983         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
20984         (gst_xml_registry_load):
20985           plug another memleak
20986
20987 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20988
20989         * configure.ac:
20990           use GST_SET_ERROR_CFLAGS
20991         * docs/faq/cvs.xml:
20992           change to ERROR_CFLAGS
20993
20994 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20995
20996         * configure.ac:
20997           make GST_ERROR_CFLAGS overridable and re-enable Werror
20998         * docs/faq/cvs.xml:
20999           add a note about error CFLAGS
21000         * docs/gst/tmpl/gstfakesrc.sgml:
21001         * gst/elements/gstfakesrc.c:
21002           comment out some unused code
21003         * gst/gst.c: (split_and_iterate):
21004         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21005         (load_feature):
21006           plug some memleaks
21007
21008 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21009
21010         * common/Makefile.am:
21011         * common/gtk-doc.mak:
21012         * docs/gst/Makefile.am:
21013           factor out gtk-doc.mak
21014
21015 2005-07-07  Wim Taymans  <wim@fluendo.com>
21016
21017         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21018         (gst_thread_scheduler_dispose):
21019         Unlock the STREAM_LOCK completely.
21020
21021 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21022
21023         * check/Makefile.am:
21024         * check/elements/.cvsignore:
21025         * check/elements/gstfakesrc.c: (chain_func), (event_func),
21026         (START_TEST), (fakesrc_suite), (main):
21027         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21028         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21029         (gst_fakesrc_create), (gst_fakesrc_start):
21030         * gst/elements/gstfakesrc.h:
21031           adding a first element test
21032
21033 2005-07-07  Andy Wingo  <wingo@pobox.com>
21034
21035         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21036         debug message.
21037
21038 2005-07-07  Wim Taymans  <wim@fluendo.com>
21039
21040         * gst/gstquery.c:
21041         * gst/gstquery.h:
21042         Remove old types
21043
21044 2005-07-07  Wim Taymans  <wim@fluendo.com>
21045
21046         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21047         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21048         Allow subclasses to implement their own negotiation.
21049
21050 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21051
21052         * docs/design/part-gstbin.txt:
21053         * docs/design/part-gstpipeline.txt:
21054           Update design notes to reflect the movement of
21055           responsibility for bus handling from GstPipeline to
21056           GstBin
21057
21058 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21059
21060         * configure.ac:
21061           Remove unnecessary queue2/3/4 examples.
21062
21063 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
21064
21065         * examples/Makefile.am:
21066         * examples/helloworld/helloworld.c: (event_loop), (main):
21067         * examples/queue/queue.c: (event_loop), (main):
21068         * examples/queue2/queue2.c: (main):
21069           Update a couple of the examples to work again.
21070
21071         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21072         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21073          Spelling corrections and extra debug.
21074         
21075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21076         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21077         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21078         * gst/gstbin.h:
21079         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21080         (gst_pipeline_change_state):
21081         * gst/gstpipeline.h:
21082           Move the bus handler for children to the GstBin, and create a
21083           separate bus for receiving messages from children to the one the
21084           bus sends 'upwards' on.
21085
21086 2005-07-06  Wim Taymans  <wim@fluendo.com>
21087
21088         * gst/base/README:
21089         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21090         (gst_base_sink_handle_object), (gst_base_sink_loop),
21091         (gst_base_sink_change_state):
21092         * gst/base/gstbasesink.h:
21093         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21094         (gst_base_src_init), (gst_base_src_setcaps),
21095         (gst_base_src_getcaps), (gst_base_src_loop),
21096         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21097         (gst_base_src_start), (gst_base_src_change_state):
21098         * gst/base/gstbasesrc.h:
21099         Make basesrc negotiate.
21100         Handle the case where preroll fails in basesink.
21101         Update README.
21102
21103 2005-07-06  Wim Taymans  <wim@fluendo.com>
21104
21105         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21106         Implement the fixate function.
21107         Clean up acceptcaps.
21108
21109 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21110
21111         * docs/pwg/building-filterfactory.xml:
21112         * docs/pwg/pwg.xml:
21113           Remove never-written filter-factory chapter; I'll add the various
21114           base classes to part 4 ("other element types") later on.
21115
21116 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21117
21118         * docs/pwg/advanced-negotiation.xml:
21119         * docs/pwg/building-boiler.xml:
21120         * docs/pwg/building-pads.xml:
21121         * docs/pwg/pwg.xml:
21122         * examples/pwg/Makefile.am:
21123           Add a chapter on caps negotiation, simplify the original code
21124           samples a bit w.r.t. caps negotiation, add link to the advanced
21125           section. Add a bunch of examples showing different use cases of
21126           different types of caps negotiation. Upstream renegotiation isn't
21127           fully documented yet since nobody knows how that works.
21128
21129 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21130
21131         * check/gst/gstpad.c:
21132         * check/gstcheck.c:
21133         * gst/gstpad.c: (gst_pad_get_internal_links_default):
21134           if pad has no parent, return NULL as list of internal links
21135
21136 2005-07-05  Andy Wingo  <wingo@pobox.com>
21137
21138         * gst/elements/gstfilesrc.c:
21139         * gst/elements/gstfakesrc.c: 
21140         * gst/base/gstpushsrc.c:
21141         * gst/base/gstbasesrc.h: 
21142         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21143         
21144 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
21145
21146         * Makefile.am:
21147           better report generation target (lcov needs a patch)
21148
21149 2005-07-05  Andy Wingo  <wingo@pobox.com>
21150
21151         * gst/elements, testsuite: Null if we got it...
21152
21153 2005-07-05  Wim Taymans  <wim@fluendo.com>
21154
21155         * configure.ac:
21156         * libs/gst/dataprotocol/Makefile.am:
21157         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21158         * libs/gst/dataprotocol/dataprotocol.h:
21159         * pkgconfig/Makefile.am:
21160         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21161         * pkgconfig/gstreamer-dataprotocol.pc.in:
21162         Ported dataprotol to 0.9. 
21163         Added pkgconfig files.
21164
21165 2005-07-05  Andy Wingo  <wingo@pobox.com>
21166
21167         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21168         Default to returning TRUE for the case when tranform_caps returns
21169         a fixed caps, like for identity or volume.
21170
21171         * check/gst/gstbus.c (pound_bus_with_messages): 
21172         * check/gst/gstmessage.c (START_TEST): 
21173         * check/pipelines/simple_launch_lines.c (got_handoff): Application
21174         message API change.
21175
21176         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21177         logic weaks here: always run transform_caps, trying passthrough
21178         operation only if the original caps intersects with the transform.
21179
21180         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21181         source and sink caps.
21182
21183         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21184         Intersect the peer caps with the pad template before going into
21185         transform_caps.
21186         (gst_base_transform_transform_caps): More debugging.
21187
21188         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21189         src argument.
21190
21191 2005-07-04  Edward Hervey  <edward@fluendo.com>
21192
21193         * gst/gstutils.c:
21194         * gst/gstutils.h:
21195         (gst_pad_add_*_probe): now returns the signal id for better wrapping
21196         in bindings.
21197
21198 2005-07-04  Andy Wingo  <wingo@pobox.com>
21199
21200         * check/gst/gstpad.c: Only set explicit caps on pads.
21201
21202 2005-07-01  Andy Wingo  <wingo@pobox.com>
21203
21204         * tests/network-clock.scm: Commentary update.
21205
21206         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21207         Didn't really make sense, not implementable with basetransform,
21208         etc.
21209         (gst_identity_transform): Unref inbuf via make_writable. Feeble
21210         attempt at implementing the sync property, needs an unlock method.
21211
21212         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21213         New func, by default returns the same caps (the identity
21214         transformation).
21215         (gst_base_transform_getcaps): Uses transform_caps to return
21216         something sensible.
21217         (gst_base_transform_setcaps): Complicated logic to get caps on
21218         both pads, even if they are different, and to call set_caps once
21219         for every time both pads get their caps set.
21220         (gst_base_transform_handle_buffer): Give the ref to the transform
21221         function. Allows in-place modification of the buffer.
21222
21223         * gst/base/gstbasetransform.h (transform_caps): New class method.
21224         Given caps on one side, what can I do on the other.
21225         (set_caps): Take two caps, one for each side of the element.
21226
21227         * gst/gstpad.h:
21228         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21229         caps in place. This is safe because we can check the mutability of
21230         the caps, and a good idea because fixate functions are just called
21231         as a matter of last resort. (Not actually implemented.)
21232         (gst_pad_set_caps): If the caps we're setting is actually the same
21233         as the existing pad caps, just update the pointer without calling
21234         setcaps. Assert that caps is either NULL or fixed, as per the
21235         docs.
21236
21237         * gst/gstghostpad.c: Update for fixate changes.
21238
21239 2005-07-02  Andy Wingo  <wingo@pobox.com>
21240
21241         * gst/gstcaps.c:
21242         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21243         two refcounts makes it immutable, which is enough. Doc more.
21244
21245 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
21246
21247         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21248           Put the mini_object into GValue as a mini_object,
21249           not a gpointer, since that's how we declared
21250           the signal.
21251
21252 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21253
21254         * examples/pwg/Makefile.am:
21255           Fix buildbot again.
21256
21257 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21258
21259         * docs/pwg/building-testapp.xml:
21260           Add extra check.
21261         * examples/pwg/Makefile.am:
21262           Fix buildbot.
21263
21264 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21265
21266         * configure.ac:
21267         * examples/Makefile.am:
21268         * examples/pwg/Makefile.am:
21269         * examples/pwg/extract.pl:
21270           Enable building the PWG examples.
21271         * docs/pwg/advanced-interfaces.xml:
21272           Add URI interface stub.
21273         * docs/pwg/advanced-types.xml:
21274         * docs/pwg/other-autoplugger.xml:
21275         * docs/pwg/appendix-porting.xml:
21276         * docs/pwg/pwg.xml:
21277           Add porting guide (mostly stubs), remove autoplugging (see ADM).
21278         * docs/pwg/building-boiler.xml:
21279         * docs/pwg/building-chainfn.xml:
21280         * docs/pwg/building-pads.xml:
21281         * docs/pwg/building-props.xml:
21282         * docs/pwg/building-state.xml:
21283         * docs/pwg/building-testapp.xml:
21284           Update the building-*.xml parts for 0.9 changes. All examples
21285           code blocks compile in examples/pwg/*.
21286
21287 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21288
21289         * docs/manual/advanced-autoplugging.xml:
21290         * docs/manual/appendix-checklist.xml:
21291         * docs/manual/appendix-integration.xml:
21292         * docs/manual/highlevel-components.xml:
21293           Fix playbin/decodebin examples, update docs a bit, mention bus
21294           instead of signals in various places, mention kmplayer and
21295           kaffeine since they have a working GStreamer backend in the KDE
21296           section.
21297
21298 2005-06-30  Wim Taymans  <wim@fluendo.com>
21299
21300         * CHANGES-0.9:
21301         * docs/design/draft-ghostpads.txt:
21302         * docs/design/draft-push-pull.txt:
21303         * docs/design/draft-query.txt:
21304         * docs/design/part-TODO.txt:
21305         * docs/design/part-query.txt:
21306         Added CHANGES-0.9 doc, updated status of other docs.
21307         
21308         * gst/gstquery.h:
21309         Remove "hmm" macro
21310
21311 2005-06-30  Wim Taymans  <wim@fluendo.com>
21312
21313         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21314         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21315         (gst_base_sink_change_state):
21316         * gst/base/gstbasesink.h:
21317         Some tweaks, only EOS and a buffer complete a preroll.
21318
21319 2005-06-30  Andy Wingo  <wingo@pobox.com>
21320
21321         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21322         activate_push down to the internal pad as well.
21323
21324 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
21325
21326         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21327
21328         * gst/gsttaginterface.c:
21329           Some documentation fixes (#307394 and #307397).
21330
21331 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
21332
21333         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21334
21335         * gst/gstvalue.c: (gst_value_intersect_list):
21336           Fix memleak (#309125).
21337
21338 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21339
21340         * docs/manual/advanced-dataaccess.xml:
21341           Fix fakesrc example to compile; doesn't work, bug somewhere...?
21342         * docs/manual/basics-pads.xml:
21343           Add reference for filtered caps to above chapter.
21344
21345 2005-06-30  Wim Taymans  <wim@fluendo.com>
21346
21347         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21348         (gst_bin_change_state):
21349         Probes are gone.
21350         Lame attempt at making the state change function a bit
21351         more readable.
21352
21353 2005-06-30  Wim Taymans  <wim@fluendo.com>
21354
21355         * docs/design/part-clocks.txt:
21356         * docs/design/part-element-sink.txt:
21357         * docs/design/part-events.txt:
21358         * docs/design/part-preroll.txt:
21359         * docs/design/part-states.txt:
21360         Some more tweeks and additions to the docs.
21361
21362 2005-06-30  Wim Taymans  <wim@fluendo.com>
21363
21364         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21365         (default_have_data), (gst_pad_class_init), (gst_pad_init),
21366         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21367         (gst_pad_check_pull_range), (gst_pad_get_range),
21368         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21369         * gst/gstpad.h:
21370         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21371         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21372         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21373         (gst_pad_remove_buffer_probe):
21374         Removed atomic operations, use existing LOCK.
21375         Move exception handling out of main code path.
21376
21377 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21378
21379         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21380         (silly_return_true_function), (gst_pad_class_init),
21381         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21382         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21383         (gst_pad_send_event):
21384           Fix accumulator, add default value by using _emitv() instead
21385           of _emit() for signal emission.
21386
21387 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21388
21389         * docs/manual/advanced-dataaccess.xml:
21390         * examples/manual/Makefile.am:
21391           Add probe example.
21392         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21393           Make work (??).
21394
21395 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
21396
21397         * gst/elements/gstfilesink.c: (gst_filesink_render):
21398           Simplify code so that we don't have to handle short
21399           writes and return GST_FLOW_ERROR if an error occured.
21400
21401 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21402
21403         * docs/gst/gstreamer-docs.sgml:
21404           Remove probes more.
21405
21406 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21407
21408         * docs/gst/gstreamer-sections.txt:
21409         * docs/gst/tmpl/gstpad.sgml:
21410         * docs/gst/tmpl/gstprobe.sgml:
21411         * gst/Makefile.am:
21412         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21413         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21414         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21415         (gst_pad_push_event), (gst_pad_send_event):
21416         * gst/gstpad.h:
21417         * gst/gstutils.c: (gst_pad_add_data_probe),
21418         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21419         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21420         (gst_pad_remove_buffer_probe):
21421         * gst/gstutils.h:
21422           Remove old probes, add new g-signal-based probes and some utility
21423           functions.
21424
21425 2005-06-29  Edward Hervey  <edward@fluendo.com>
21426
21427         * gst/gstelementfactory.c:
21428         * gst/gstutils.h:
21429         * gst/gstutils.c:
21430         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21431         the definition to the header file.
21432
21433 2005-06-29  Andy Wingo  <wingo@pobox.com>
21434
21435         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21436         plugins from the source directory.
21437
21438 2005-06-29  Wim Taymans  <wim@fluendo.com>
21439
21440         * docs/gst/tmpl/gstbuffer.sgml:
21441         * docs/gst/tmpl/gstclock.sgml:
21442         Some fixings for blantently wrong text.
21443
21444 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21445
21446         * check/Makefile.am:
21447         * gst/gst.c: (add_path_func), (init_pre):
21448         * gst/gstregistry.c: (gst_registry_add_path):
21449           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21450           only scan the GST_PLUGIN_PATH locations, and not add
21451           system locations
21452
21453 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21454
21455         * docs/gst/gstreamer-sections.txt:
21456         * docs/gst/tmpl/gstbasesrc.sgml:
21457         * gst/gstelement.c:
21458         * gst/gstelement.h:
21459         * gst/gstevent.c:
21460         * gst/gstutils.c:
21461           doc fixes
21462
21463 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21464
21465         * docs/manual/advanced-autoplugging.xml:
21466           Fix autoplugging example.
21467
21468 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21469
21470         * docs/manual/advanced-autoplugging.xml:
21471         * docs/manual/mime-world.fig:
21472           Try to get autoplugging working, fix type detection. Fix text
21473           in hello-world image.
21474
21475 2005-06-29  Wim Taymans  <wim@fluendo.com>
21476
21477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21478         (gst_base_sink_change_state):
21479         Small debug line.
21480
21481         * gst/gstclock.h:
21482         map SIGNAL and BROADCAST to the right function.
21483
21484         * gst/gstobject.h:
21485         Remove redundant braces.
21486
21487         * gst/gstpad.c: (gst_pad_set_caps):
21488         Don't call setcaps function when reseting caps to NULL.
21489
21490         * gst/gstsystemclock.c: (gst_system_clock_dispose),
21491         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21492         (gst_system_clock_id_unschedule):
21493         Use BROADCAST as this is what we do.
21494
21495 2005-06-29  Wim Taymans  <wim@fluendo.com>
21496
21497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21498         We are actually prerolling before commiting the state
21499         change. 
21500
21501 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21502
21503         * docs/manual/advanced-clocks.xml:
21504         * docs/manual/advanced-interfaces.xml:
21505         * docs/manual/advanced-metadata.xml:
21506         * docs/manual/advanced-position.xml:
21507         * docs/manual/advanced-schedulers.xml:
21508         * docs/manual/advanced-threads.xml:
21509         * docs/manual/appendix-porting.xml:
21510         * docs/manual/basics-bins.xml:
21511         * docs/manual/basics-bus.xml:
21512         * docs/manual/basics-elements.xml:
21513         * docs/manual/basics-helloworld.xml:
21514         * docs/manual/basics-pads.xml:
21515         * docs/manual/highlevel-components.xml:
21516         * docs/manual/manual.xml:
21517         * docs/manual/thread.fig:
21518           Update (until threads/scheduling) Application Development Manual;
21519           remove GstThread, add GstBus, add simple porting checklist, add
21520           documentation for tag writing, clocks, make all examples until this
21521           part compile and run.
21522         * examples/manual/Makefile.am:
21523           Update from changes to Application Development Manual; add bus
21524           example, remove thread example.
21525
21526 2005-06-28  Wim Taymans  <wim@fluendo.com>
21527
21528         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21529         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21530         (gst_bus_source_dispatch):
21531         Add debugging messages.
21532         Make internal methods static.
21533         Handle the case where the bus is flushed in the handler.
21534         
21535         * gst/gstelement.c: (gst_element_get_bus):
21536         Fix refcount in _get_bus();
21537
21538         * gst/gstpipeline.c: (gst_pipeline_change_state),
21539         (gst_pipeline_get_clock_func):
21540         Clock refcounting fixes.
21541         Handle the case where preroll timed out more gracefully.
21542         
21543         * gst/gstsystemclock.c: (gst_system_clock_dispose):
21544         Clean up the internal thread in dispose. This is needed
21545         for subclasses that actually get disposed.
21546         
21547         * gst/schedulers/threadscheduler.c:
21548         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21549         (gst_thread_scheduler_dispose):
21550         Free thread pool in dispose.
21551
21552 2005-06-28  Andy Wingo  <wingo@pobox.com>
21553
21554         * tests/network-clock-utils.scm (debug, print-event): New utils.
21555
21556         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21557         (*packet-loss*): Unified loss probability.
21558         (network-time): Report out-of-band events.
21559
21560         * tests/plot-data: Add support for out-of-band events. Hack it
21561         into this script instead of passing it down the pipe; should fix
21562         this later.
21563
21564 2005-06-28  Wim Taymans  <wim@fluendo.com>
21565
21566         * docs/gst/gstreamer.types:
21567         * docs/gst/tmpl/gstbasesrc.sgml:
21568         * docs/gst/tmpl/gstpad.sgml:
21569         Docs fixes.
21570
21571 2005-06-28  Wim Taymans  <wim@fluendo.com>
21572
21573         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21574         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21575         (gst_proxy_pad_do_fixatecaps):
21576         Correctly proxy the check_pull_range function.
21577
21578 2005-06-28  Andy Wingo  <wingo@pobox.com>
21579
21580         * tests/network-clock.scm: Removed need for slib.
21581         
21582 2005-06-28  Wim Taymans  <wim@fluendo.com>
21583
21584         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21585         (gst_basesink_preroll_queue_flush):
21586         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21587         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21588         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21589         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21590         (gst_proxy_pad_set_property):
21591         * gst/gstpad.c:
21592         * gst/gstpad.h:
21593         * gst/gstqueue.c: (gst_queue_init):
21594         The deprecated pad loop function is removed now.
21595
21596 2005-06-28  Andy Wingo  <wingo@pobox.com>
21597
21598         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21599         New parameters, simulate network packet loss.
21600
21601         * tests/network-clock-utils.scm: Initialize the RNG.
21602
21603 2005-06-28  Wim Taymans  <wim@fluendo.com>
21604
21605         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21606         (gst_basesink_event), (gst_basesink_deactivate):
21607         Flushing the preroll queue always needs to unlock the waiters.
21608
21609 2005-06-28  Edward Hervey  <edward@fluendo.com>
21610
21611         * gst/gstpipeline.c: (gst_pipeline_send_event): 
21612         Wheen a seek was successful on a pipeline, set the stream_time to the
21613         seek offset in order to have a synchronized stream_time.
21614
21615 2005-06-28  Wim Taymans  <wim@fluendo.com>
21616
21617         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21618         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21619         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21620         (gst_proxy_pad_do_fixatecaps):
21621         Call wrapper function instead of just calling the function
21622         pointers. This takes care of any locking and whatmore.
21623
21624 2005-06-28  Wim Taymans  <wim@fluendo.com>
21625
21626         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21627         (gst_pad_pull_range):
21628         * gst/gstpad.h:
21629         CONNECTED -> LINKED.
21630
21631 2005-06-28  Andy Wingo  <wingo@pobox.com>
21632
21633         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21634         source-munging commit!!!
21635
21636         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
21637         (gst_object_sink): Take gpointer arguments, not GstObject --
21638         avoids casts. Like GLib.
21639
21640         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21641         activate.
21642
21643 2005-06-27  Andy Wingo  <wingo@pobox.com>
21644
21645         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21646         remaining buffer.
21647
21648         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21649         returns a sorted copy of the trace list.
21650         (gst_alloc_trace_print_live): New API, only prints traces with
21651         live objects. Sort the list.
21652         (gst_alloc_trace_print_all): Sort the list.
21653         (gst_alloc_trace_print): Align columns.
21654
21655         * gst/elements/gstttypefindelement.c:
21656         * gst/elements/gsttee.c:
21657         * gst/base/gstbasesrc.c:
21658         * gst/base/gstbasesink.c:
21659         * gst/base/gstbasetransform.c:
21660         * gst/gstqueue.c: Adapt for pad activation changes.
21661
21662         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21663         sched.
21664         (gst_pipeline_dispose): Drop ref on sched.
21665
21666         * gst/gstpad.c (gst_pad_init): Set the default activate func.
21667         (gst_pad_activate_default): Push mode by default.
21668         (pre_activate_switch, post_activate_switch): New stubs, things to
21669         do before and after switching activation modes on pads.
21670         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21671         the pad's activate function to choose which mode to activate.
21672         Shortcut on deactivation and call the right function directly.
21673         (gst_pad_activate_pull): New API, (de)activates a pad in pull
21674         mode.
21675         (gst_pad_activate_push): New API, same for push mode.
21676         (gst_pad_set_activate_function) 
21677         (gst_pad_set_activatepull_function) 
21678         (gst_pad_set_activatepush_function): Setters for new API.
21679
21680         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21681         Trace all miniobjects.
21682         (gst_mini_object_make_writable): Unref the arg if we copy, like
21683         gst_caps_make_writable.
21684
21685         * gst/gstmessage.c (_gst_message_initialize): No trace init.
21686
21687         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
21688         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21689         Adapt for new pad API.
21690
21691         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21692
21693         * gst/gstelement.h:
21694         * gst/gstelement.c (gst_element_iterate_src_pads) 
21695         (gst_element_iterate_sink_pads): New API functions.
21696         
21697         * gst/gstelement.c (iterator_fold_with_resync): New utility,
21698         should fold into gstiterator.c in some form.
21699         (gst_element_pads_activate): Simplified via use of fold and
21700         delegation of decisions to gstpad->activate.
21701
21702         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21703         help in debugging.
21704
21705         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21706         class once in init, like gstmessage. Didn't run into this issue
21707         but it seems correct. Don't initialize a trace, gstminiobject does
21708         that.
21709
21710         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21711         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21712         to the bus.
21713         (assert_live_count): New util function, uses alloc traces to check
21714         cleanup.
21715
21716         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21717         To be modified when unlink drops the internal pad.
21718
21719 2005-06-27  Wim Taymans  <wim@fluendo.com>
21720
21721         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21722         (gst_bin_change_state):
21723         Cleanup the get_state() function a little, make sure it
21724         iterates the same set of elements.
21725         Added stub iterate_state_order().
21726
21727 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21728
21729         * docs/gst/gstreamer-docs.sgml:
21730         * docs/gst/gstreamer-sections.txt:
21731         * docs/gst/gstreamer.types:
21732         * docs/gst/tmpl/gstbasesink.sgml:
21733         * docs/gst/tmpl/gstbasesrc.sgml:
21734         * docs/gst/tmpl/gstbasetransform.sgml:
21735         * docs/gst/tmpl/gstelement.sgml:
21736         * docs/gst/tmpl/gstiterator.sgml:
21737         * gst/base/gstbasesrc.c:
21738         * gst/base/gstbasesrc.h:
21739         * gst/base/gstbasetransform.h:
21740         * gst/gstelement.c:
21741         * gst/gstiterator.h:
21742           adding basetransform and iterator docs
21743
21744 2005-06-27  Andy Wingo  <wingo@pobox.com>
21745
21746         * docs/design/part-activation.txt: Notes on how activation should
21747         work -- not quite implemented yet.
21748
21749 2005-06-25  Wim Taymans  <wim@fluendo.com>
21750
21751         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21752         At least get the chain function correct, needs more
21753         fixing.
21754
21755 2005-06-25  Wim Taymans  <wim@fluendo.com>
21756
21757         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21758         (gst_basesink_handle_object), (gst_basesink_event),
21759         (gst_basesink_do_sync), (gst_basesink_handle_event),
21760         (gst_basesink_change_state):
21761         * gst/gsttask.h:
21762         Right, two problems here: ghostpads don't take locks and
21763         glib _rec_mutex_lock_full() with depth==0 still locks.
21764         Catch illegal locking and g_warn them.
21765
21766 2005-06-25  Wim Taymans  <wim@fluendo.com>
21767
21768         * check/states/sinks.c: (START_TEST), (gst_object_suite):
21769         Have to check for completion now...
21770
21771 2005-06-25  Wim Taymans  <wim@fluendo.com>
21772
21773         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21774         (gst_basesink_handle_object), (gst_basesink_event),
21775         (gst_basesink_do_sync), (gst_basesink_handle_event),
21776         (gst_basesink_change_state):
21777         * gst/gstpad.h:
21778         Unlock STREAM_LOCK whatever the recursion was.
21779
21780 2005-06-25  Wim Taymans  <wim@fluendo.com>
21781
21782         * gst/base/gstbasesink.c: (gst_basesink_set_property),
21783         (gst_basesink_preroll_queue_empty),
21784         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21785         (gst_basesink_event), (gst_basesink_do_sync),
21786         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21787         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21788         (gst_basesink_change_state):
21789         Reworked the base sink, handle event and buffer serialisation
21790         correctly and removed possible deadlock.
21791         Handle EOS correctly.
21792
21793 2005-06-25  Wim Taymans  <wim@fluendo.com>
21794
21795         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21796         (gst_pipeline_change_state):
21797         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21798         Allow elements to post EOS in the state change function.
21799         Fix up -launch, make it exit the poll loop when the
21800         pipeline actually changed state.
21801         Fix up warning parsing in -launch.
21802
21803 2005-06-25  Wim Taymans  <wim@fluendo.com>
21804
21805         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21806         (gst_tee_sink_activate):
21807         Core takes STREAM_LOCK for us now.
21808
21809 2005-06-25  Wim Taymans  <wim@fluendo.com>
21810
21811         * gst/gstelement.c: (gst_element_get_state_func),
21812         (gst_element_set_state):
21813         * gst/gstelement.h:
21814         * gst/gstmessage.c: (gst_message_parse_error),
21815         (gst_message_parse_warning):
21816         Keep track of current target state while performing a state
21817         change so that subclasses can do something interesting.
21818         Fix parsing of warning/error messages when GError is NULL.
21819
21820 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21821
21822         * docs/gst/Makefile.am:
21823         * docs/gst/gstreamer-docs.sgml:
21824         * docs/gst/gstreamer-sections.txt:
21825         * docs/gst/gstreamer.types:
21826         * docs/gst/tmpl/gstbasesink.sgml:
21827         * docs/gst/tmpl/gstbasesrc.sgml:
21828         * docs/gst/tmpl/gstbin.sgml:
21829         * docs/gst/tmpl/gstcompat.sgml:
21830         * docs/gst/tmpl/gstfakesink.sgml:
21831         * docs/gst/tmpl/gstfakesrc.sgml:
21832         * docs/gst/tmpl/gstfilesink.sgml:
21833         * docs/gst/tmpl/gstfilesrc.sgml:
21834         * docs/gst/tmpl/gstindex.sgml:
21835         * docs/manual/appendix-quotes.xml:
21836         * gst/base/gstbasesrc.h:
21837         * gst/elements/gstfakesrc.h:
21838         * gst/gstmessage.h:
21839           start pulling in base classes and elements in our docs
21840
21841 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
21842
21843         * docs/gst/Makefile.am:
21844         * docs/libs/Makefile.am:
21845           fixed make distcheck with gtk-doc 1.3
21846
21847 2005-06-23  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/gstelement.c: (gst_element_get_state_func),
21850         (gst_element_set_state), (gst_element_change_state):
21851         When the state did not change, also report NO_PREROLL
21852         when it matters.
21853
21854 2005-06-23  Wim Taymans  <wim@fluendo.com>
21855
21856         * gst/gstpad.c: (gst_pad_event_default):
21857         * gst/gstqueue.c: (gst_queue_loop):
21858         No unsafe task pausing please.
21859
21860 2005-06-23  Wim Taymans  <wim@fluendo.com>
21861
21862         * gst/schedulers/threadscheduler.c:
21863         (gst_thread_scheduler_task_start),
21864         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
21865         Ref the task before pushing it on the threadpool. This
21866         makes sure that we have a ref when the threadfunction is
21867         actually called.
21868
21869 2005-06-23  Andy Wingo  <wingo@pobox.com>
21870
21871         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
21872         offset is greater than the file's size.
21873
21874         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
21875         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
21876         * gst/gstobject.c (gst_object_class_init): Make the class lock
21877         recursive. Wim won't let me drop deep_notify. Decodebin works
21878         again, whoopdy doo.
21879
21880         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
21881         internal pad, and hacks accordingly. Doesn't do it on the target
21882         pad because we change its caps. Probably catches all cases of
21883         interest tho.
21884         (gst_ghost_pad_set_property): Connect to notify::caps as
21885         appropritate.
21886
21887         * tests/network-clock.scm (plot-simulation): Pipe data to the
21888         elite python skript.
21889
21890         * tests/network-clock-utils.scm (define-parameter): New macro,
21891         defines a parameter that can be set via the command line.
21892         (set-parameter!, parse-parameter-arguments): Command line args
21893         parser.
21894
21895         * tests/plot-data: Simple matplotlib-based plotter, takes input on
21896         stdin.
21897
21898 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
21899
21900         * gst/elements/gsttypefindelement.c:
21901         (gst_type_find_element_handle_event):
21902           Don't restart typefinding on a discont.
21903         * gst/gstelement.c: (gst_element_set_state):
21904           Debug spelling fix.
21905         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
21906           Allow changing mode of an active pad.
21907           Debug output fixes.
21908         * gst/registries/gstlibxmlregistry.c: (load_feature):
21909           Don't cast a static pad template to a normal pad template.
21910
21911 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21912
21913         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21914         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21915           remove gst_strtoll completely, since it didn't actually do
21916           anything more than what g_ascii_strtoull already does.
21917           check for range errors when deserializing
21918           do a cast for the unsigned cases; but further fixing needs
21919           a decision on what the interpretation of "(int)" and
21920           deserialization should be for values that fall outside the
21921           type's boundaries (ie, refuse, or interpret as casting)
21922
21923 2005-06-23  Wim Taymans  <wim@fluendo.com>
21924
21925         * check/Makefile.am:
21926         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
21927         * docs/design/part-live-source.txt:
21928         * docs/design/part-states.txt:
21929         * gst/base/gstbasesrc.c: (gst_basesrc_init),
21930         (gst_basesrc_set_live), (gst_basesrc_is_live),
21931         (gst_basesrc_get_range), (gst_basesrc_activate),
21932         (gst_basesrc_change_state):
21933         * gst/base/gstbasesrc.h:
21934         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21935         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21936         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
21937         * gst/gstelement.c: (gst_element_get_state_func),
21938         (gst_element_set_state):
21939         * gst/gstelement.h:
21940         * gst/gsttypes.h:
21941         * tools/gst-launch.c: (event_loop), (main):
21942         Added support for live sources and other elements that
21943         cannot do preroll.
21944         Updated design docs, added live-source design doc.
21945         Implemented live source functionality in basesrc
21946         Fix error condition in _bin_get_state()
21947         Implement live source handling in -launch.
21948         Added check for live sources.
21949         Fixed case in GstBin where elements were changed state
21950         multiple times.
21951
21952
21953 2005-06-23  Andy Wingo  <wingo@pobox.com>
21954
21955         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
21956         borken refcounting.
21957
21958         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
21959         gst_caps_replace takes care of this for us.
21960
21961         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
21962         gst_pad_set_caps on the target, not just its setcaps() function.
21963
21964         * tests/network-clock.scm: 
21965         * tests/network-clock-utils.scm: A network clock simulator.
21966         Something of an algorithmic testbed before doing something in C.
21967
21968 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21969
21970         * check/Makefile.am:
21971         * check/gst/capslist.h:
21972           copy over from 0.8, and add two with bitmasks specified with
21973           (int) 0xFF...
21974         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
21975           add test to parse everything from capslist.h
21976         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
21977         (main):
21978           add test for structure deserialization
21979         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
21980           add tests for deserialization of strings to int types
21981         * gst/gststructure.c: (gst_structure_nth_field_name):
21982         * gst/gststructure.h:
21983           add a way to get the name of a field referenced by index
21984         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21985           instead of checking if the resulting long long lies between
21986           min and max, we check if the long long would fit into
21987           a number of bytes for the final type.
21988           This fixes cases where a string represents 2^32 - 1, which
21989           when cast to int would be the (valid) -1, but is bigger than
21990           G_MAXINT
21991
21992 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21993
21994         * gst/parse/grammar.y:
21995           add a log line for type deserialization
21996
21997 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21998
21999         * check/gst/gstvalue.c: (START_TEST):
22000         * gst/gstvalue.c: (gst_value_deserialize):
22001           return long long, not int, so gint64 deserialization actually
22002           works.  Is there any flag that makes the compiler check this ?
22003           Fixes #308559
22004
22005 2005-06-22  Wim Taymans  <wim@fluendo.com>
22006
22007         * gst/gstbuffer.h:
22008         Added convenience macros for setting buffers in GValue.
22009
22010 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22011
22012         * check/gst/.cvsignore:
22013         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22014           add a test deserializing int64, and comment part out because
22015           it fails, yay !
22016
22017 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22018
22019         * check/Makefile.am:
22020         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22021         * testsuite/Makefile.am:
22022         * testsuite/caps/Makefile.am:
22023         * testsuite/caps/value_serialize.c:
22024         * testsuite/test_gst_init.c:
22025           move a value_serialize test over
22026
22027 2005-06-20  Wim Taymans  <wim@fluendo.com>
22028
22029         * gst/gstpad.c:
22030         Small doc updates.
22031         
22032         * gst/gstvalue.c: (gst_value_compare_buffer),
22033         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22034         (gst_value_compare_flags), (gst_value_serialize_flags),
22035         (gst_value_deserialize_flags), (_gst_value_initialize):
22036         Fix serialisation of buffers, they are not boxed types anymore
22037
22038 2005-06-20  Wim Taymans  <wim@fluendo.com>
22039
22040         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22041         Testcase to show error in buffer-on-caps serialisation.
22042
22043 2005-06-20  Andy Wingo  <wingo@pobox.com>
22044
22045         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22046         will be adding to later.
22047
22048         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22049         if its socks fill with rocks.
22050         (gst_system_clock_obtain): Set the name on object construction.
22051         Avoid double-checked locking.
22052
22053 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
22054
22055         * gst/gsturi.c: (gst_element_make_from_uri):
22056           Fix potential endless loop.
22057
22058 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22059
22060         * check/Makefile.am:
22061           add gsttag
22062         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22063         (main):
22064           move over from testsuite dir and clean up
22065         * configure.ac:
22066         * gst/gsttag.c:
22067         * testsuite/Makefile.am:
22068         * testsuite/tags/.cvsignore:
22069         * testsuite/tags/Makefile.am:
22070         * testsuite/tags/merge.c:
22071           remove testsuite/tags
22072
22073 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22074
22075         * docs/gst/gstreamer-sections.txt:
22076         * docs/gst/tmpl/gstenumtypes.sgml:
22077         * win32/gstenumtypes.c:
22078           clean up documentation build a little
22079
22080 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22081
22082         * check/gstcheck.h:
22083           add macros for checking refcounts on objects and caps
22084         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22085           add some more unit tests
22086         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22087         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22088           fix leaked refcounts (I hope :)) so unittest works
22089         * gst/gstpad.h:
22090           whitespace removal
22091
22092 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22093
22094         * configure.ac: back to HEAD
22095
22096 === release 0.9.1 ===
22097
22098 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22099
22100         * NEWS:
22101         * RELEASE:
22102           updated
22103
22104 2005-06-17  Andy Wingo  <wingo@pobox.com>
22105
22106         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22107         assert; it's always possible that the pad gets deactivated in
22108         between the checks in gstpad.c and the implementation. Rely on
22109         finish_preroll() to return a FLUSHING or similar instead of on the
22110         assert.
22111         
22112         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22113         clock and post an EOS message if we come out of finish_preroll in
22114         the playing state.
22115
22116 2005-06-16  David Schleef  <ds@schleef.org>
22117
22118         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22119         (gst_capsfilter_set_property): Allow NULL as possible value
22120         for filter_caps property, indicating GST_CAPS_ANY.
22121
22122 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22123
22124         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22125           fix debug output
22126         * gst/schedulers/Makefile.am:
22127           use libgst prefix
22128         * gstreamer.spec.in:
22129           fix spec for it
22130
22131 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22132
22133         * gstreamer.spec.in:
22134           clean up
22135
22136 2005-06-08  Andy Wingo  <wingo@pobox.com>
22137
22138         * gst/gstutils.c: RPAD fixes all around.
22139         (gst_element_link_pads): Refcounting fixes.
22140
22141         * tools/gst-inspect.c:
22142         * tools/gst-xmlinspect.c:
22143         * parse/grammar.y:
22144         * gst/base/gsttypefindhelper.c:
22145         * gst/base/gstbasesink.c:
22146         * gst/gstqueue.c: RPAD fixes.
22147
22148         * gst/gstghostpad.h:
22149         * gst/gstghostpad.c: New ghost pad implementation as full proxy
22150         pads. The tricky thing is they provide both source and sink
22151         interfaces, since they proxy the internal pad for the external
22152         pad, and vice versa. Implement with lower-level ProxyPad objects,
22153         with the interior proxy pad as a child of the exterior ghost pad.
22154         Should write a doc on this.
22155         
22156         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22157         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22158         gst_object API.
22159         
22160         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22161         pads are real pads. No ghost pads in this file. Not documenting
22162         the myriad s/RPAD/PAD/ and REALIZE fixes.
22163         (gst_pad_class_init): Add properties for "direction" and
22164         "template". Both are construct-only, so they can't change during
22165         the life of the pad. Fixes properly deriving from GstPad.
22166         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22167         derived objects, just set properties when creating the objects via
22168         g_object_new.
22169         (gst_pad_get_parent): Implement as a function, return NULL if the
22170         parent is not an element.
22171         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22172         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22173         
22174         * gst/gstobject.c (gst_object_class_init): Make name a construct
22175         property. Don't set it in the object init.
22176
22177         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22178         with UNKNOWN direction.
22179         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22180         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22181         (gst_element_remove_pad): Remove ghost-pad special cases.
22182         (gst_element_pads_activate): Remove rpad cruft.
22183
22184         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22185         catch the pad's-parent-not-an-element case.
22186
22187         * gst/gst.h: Include gstghostpad.h.
22188
22189         * gst/gst.c (init_post): No more real, ghost pads.
22190
22191         * gst/Makefile.am: Add gstghostpad.[ch].
22192
22193         * check/Makefile.am:
22194         * check/gst/gstbin.c:
22195         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22196         into a bin creates ghost pads, and that the refcounts are right.
22197         Partly moved from gstbin.c.
22198
22199 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22200
22201         * check/gst-libs/.cvsignore:
22202         * check/gst/.cvsignore:
22203         * check/pipelines/.cvsignore:
22204           ignore more
22205         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22206         (START_TEST), (cleanup_suite), (main):
22207           add some tests related to cleanup after running pipelines
22208
22209 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22210
22211         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22212           add a testsuite for GstBuffer
22213
22214 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22215
22216         * gst/gstminiobject.h:
22217           add defines for accessing the refcount
22218
22219 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
22220
22221         * Makefile.am: added support for html unit test coverage reports
22222
22223 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
22224
22225         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22226           Free existing caps if the capsfilter changes. Add a FIXME about
22227           setting those caps on the pads.
22228
22229         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22230           Before adding a ghost pad to a parent bin, check that there isn't
22231           already one for the element on the bin. Prevents infinite recursion
22232           when using decodebin in parse pipelines. Andy says he'll rewrite the
22233           way this works anyway, so ignore the hack.
22234
22235 2005-06-02  Andy Wingo  <wingo@pobox.com>
22236
22237         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22238         file size, pass it on to the type find helper.
22239
22240         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22241         segment_start and segment_end properly according to the seek
22242         method. Segment_end is still a bit flaky because offset can be
22243         negative for CUR and END cases, but it takes -1 as an "unset"
22244         value.
22245
22246 2005-06-02  Wim Taymans  <wim@fluendo.com>
22247
22248         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22249         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22250         (gst_basesink_activate):
22251         * gst/base/gstbasesink.h:
22252         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22253         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22254         (gst_pad_query), (gst_pad_start_task):
22255         * gst/gstpad.h:
22256         * gst/gstqueue.c: (gst_queue_bufferalloc),
22257         (gst_queue_handle_sink_event), (gst_queue_chain):
22258         Bufferalloc: return GstFlowReturn to more accuratly report
22259         why allocation failed.
22260
22261 2005-06-02  Wim Taymans  <wim@fluendo.com>
22262
22263         * gst/gstpipeline.c: (gst_pipeline_send_event):
22264         Take snapshot of state without blocking.
22265
22266 2005-06-02  Wim Taymans  <wim@fluendo.com>
22267
22268         * docs/design/part-TODO.txt:
22269         * docs/design/part-caps.txt:
22270         * docs/design/part-clocks.txt:
22271         * docs/design/part-negotiation.txt:
22272         * docs/design/part-preroll.txt:
22273         Small doc updates 
22274
22275 2005-05-30  Wim Taymans  <wim@fluendo.com>
22276
22277         * gst/elements/gstidentity.c: (gst_identity_event),
22278         (gst_identity_transform), (gst_identity_get_property):
22279         Protect last_message property as it is accessed from
22280         multiple threads.
22281
22282 2005-05-30  Wim Taymans  <wim@fluendo.com>
22283
22284         * gst/gstelement.c: (gst_element_init),
22285         (gst_element_pads_activate), (gst_element_change_state):
22286         Slicker pad activation code.
22287
22288 2005-05-30  Wim Taymans  <wim@fluendo.com>
22289
22290         * gst/Makefile.am:
22291         * gst/gstelement.h:
22292         * gst/gstelementfactory.h:
22293         * gst/gsttypes.h:
22294         Move elementfactory methods to separate .h file.
22295
22296 2005-05-30  Wim Taymans  <wim@fluendo.com>
22297
22298         * docs/design/part-overview.txt:
22299         * gst/gstsystemclock.h:
22300         Small typo fixes, doc updates.
22301
22302 2005-05-30  Wim Taymans  <wim@fluendo.com>
22303
22304         * gst/gst.c: (gst_init_get_popt_table), (init_post),
22305         (init_popt_callback):
22306         Remove cpu-opt flag.
22307
22308 2005-05-30  Wim Taymans  <wim@fluendo.com>
22309
22310         * gst/gstbuffer.c: (gst_subbuffer_finalize),
22311         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22312         * gst/gstbuffer.h:
22313         Avoid typechecking in places where not needed.
22314         Added accessor for malloc_data.
22315
22316 2005-05-30  Wim Taymans  <wim@fluendo.com>
22317
22318         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22319         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22320         (gst_pad_configure_sink), (gst_pad_configure_src),
22321         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22322         (gst_pad_start_task):
22323         Propagate errors from _set_caps() in configure_src/sink
22324         functions instead of returning TRUE.
22325         FLUSH events can travel up and downstream
22326
22327
22328 2005-05-30  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22331         (gst_basesink_activate):
22332         Handle EOS in preroll.
22333
22334 2005-05-30  Wim Taymans  <wim@fluendo.com>
22335
22336         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22337         (gst_queue_loop), (gst_queue_handle_src_event):
22338         Remove old pieces of code
22339         Flushing the queue in an upstream event is a very bad idea.
22340
22341 2005-05-26  Andy Wingo  <wingo@pobox.com>
22342
22343         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22344         gst_value_set_mini_object so as to add a ref on the object (which
22345         will be removed when the value is unset).
22346
22347         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22348         arg type in ::handoff.
22349
22350         * gst/gstelement.c (gst_element_change_state): Also deactivate
22351         pads in READY->NULL, just in case the element didn't make it to
22352         PAUSED. Wingo tested, Wim approved.
22353
22354 2005-05-26  Wim Taymans  <wim@fluendo.com>
22355
22356         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22357         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22358         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22359         A flushing pad cannot be used to alloc_buffer from.
22360
22361 2005-05-26  Wim Taymans  <wim@fluendo.com>
22362
22363         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22364         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22365         (gst_bus_source_dispatch), (gst_bus_source_finalize),
22366         (gst_bus_create_watch), (gst_bus_add_watch_full):
22367         * gst/gstbus.h:
22368         Implement a real GSource and use g_main_context_wakeup() to
22369         signal new messages instead of the socketpair.
22370
22371 2005-05-25  Wim Taymans  <wim@fluendo.com>
22372
22373         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22374         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22375         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22376         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22377         (gst_pad_send_event), (gst_pad_start_task):
22378         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22379         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22380         (gst_queue_sink_activate), (gst_queue_src_activate),
22381         (gst_queue_change_state):
22382         * gst/gstqueue.h:
22383         Fix state changes for non sinks. We now change sinks, then elements
22384         with unconnected srcpads, then the rest.
22385         More efficient queue unlocking in flush and state changes.
22386         Set the pad activate mode even if it does not have an activate
22387         function.
22388
22389 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22390
22391         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22392           Don't go in pull mode for non-seekable sources.
22393         * gst/elements/gsttypefindelement.h:
22394         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22395         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22396         (free_entry), (stop_typefinding),
22397         (gst_type_find_element_handle_event), (find_peek),
22398         (gst_type_find_element_chain), (do_pull_typefind),
22399         (gst_type_find_element_change_state):
22400           Allow typefinding (w/o seeking) in push-mode, simplified version
22401           of what was in 0.8.
22402         * gst/gstutils.c: (gst_buffer_join):
22403         * gst/gstutils.h:
22404           gst_buffer_join() from 0.8.
22405
22406 2005-05-25  Wim Taymans  <wim@fluendo.com>
22407
22408         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22409         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22410         (gst_pad_send_event), (gst_pad_start_task):
22411         Disable attempt at mode switching until it is figured out.
22412
22413 2005-05-25  Wim Taymans  <wim@fluendo.com>
22414
22415         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22416         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22417         (gst_basesink_finish_preroll), (gst_basesink_chain),
22418         (gst_basesink_loop), (gst_basesink_activate),
22419         (gst_basesink_change_state):
22420         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22421         (gst_basesrc_get_range), (gst_basesrc_loop),
22422         (gst_basesrc_activate):
22423         * gst/elements/gsttee.c: (gst_tee_sink_activate):
22424         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22425         (gst_real_pad_init), (gst_real_pad_set_property),
22426         (gst_real_pad_get_property), (gst_pad_set_active),
22427         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22428         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22429         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22430         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22431         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22432         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22433         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22434         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22435         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22436         (gst_pad_stop_task):
22437         * gst/gstpad.h:
22438         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22439         (gst_queue_loop), (gst_queue_src_activate):
22440         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22441         (gst_task_get_state):
22442         * gst/gsttask.h:
22443         * gst/schedulers/threadscheduler.c:
22444         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22445         Implement gst_pad_pause/start/stop_task(), take STREAM lock
22446         in task function.
22447         Remove ACTIVE pad flag, use FLUSHING everywhere
22448         Added _pad_chain(), _pad_get_range() to call chain/getrange 
22449         functions.
22450         Add locks around IS_FLUSHING when reading.
22451         Take STREAM lock in chain(), get_range() functions so plugins
22452         don't need to take it anymore.
22453         
22454
22455
22456 2005-05-25  Wim Taymans  <wim@fluendo.com>
22457
22458         * tools/gst-launch.c: (event_loop):
22459         Unref message after using its contents instead of
22460         before.
22461
22462 2005-05-24  Wim Taymans  <wim@fluendo.com>
22463
22464         * docs/design/draft-ghostpads.txt:
22465         * docs/design/draft-push-pull.txt:
22466         * docs/design/draft-query.txt:
22467         * docs/design/part-overview.txt:
22468         Docs updates, added general overview doc.
22469
22470 2005-05-21  David Schleef  <ds@schleef.org>
22471
22472         * docs/gst/tmpl/old/GstBin.sgml:
22473         * docs/gst/tmpl/old/GstBuffer.sgml:
22474         * docs/gst/tmpl/old/GstCaps.sgml:
22475         * docs/gst/tmpl/old/GstClock.sgml:
22476         * docs/gst/tmpl/old/GstCompat.sgml:
22477         * docs/gst/tmpl/old/GstData.sgml:
22478         * docs/gst/tmpl/old/GstElement.sgml:
22479         * docs/gst/tmpl/old/GstEvent.sgml:
22480         * docs/gst/tmpl/old/GstIndex.sgml:
22481         * docs/gst/tmpl/old/GstStructure.sgml:
22482         * docs/gst/tmpl/old/GstTag.sgml:
22483         * docs/gst/tmpl/old/cothreads.sgml:
22484         * docs/gst/tmpl/old/cothreads_compat.sgml:
22485         * docs/gst/tmpl/old/gettext.sgml:
22486         * docs/gst/tmpl/old/gobject2gtk.sgml:
22487         * docs/gst/tmpl/old/grammar.tab.sgml:
22488         * docs/gst/tmpl/old/gst-i18n-app.sgml:
22489         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22490         * docs/gst/tmpl/old/gst_private.sgml:
22491         * docs/gst/tmpl/old/gstaggregator.sgml:
22492         * docs/gst/tmpl/old/gstarch.sgml:
22493         * docs/gst/tmpl/old/gstatomic_impl.sgml:
22494         * docs/gst/tmpl/old/gstbufferstore.sgml:
22495         * docs/gst/tmpl/old/gstdata_private.sgml:
22496         * docs/gst/tmpl/old/gstdisksink.sgml:
22497         * docs/gst/tmpl/old/gstdisksrc.sgml:
22498         * docs/gst/tmpl/old/gstelementfactory.sgml:
22499         * docs/gst/tmpl/old/gstextratypes.sgml:
22500         * docs/gst/tmpl/old/gstfakesink.sgml:
22501         * docs/gst/tmpl/old/gstfakesrc.sgml:
22502         * docs/gst/tmpl/old/gstfdsink.sgml:
22503         * docs/gst/tmpl/old/gstfdsrc.sgml:
22504         * docs/gst/tmpl/old/gstfilesink.sgml:
22505         * docs/gst/tmpl/old/gstfilesrc.sgml:
22506         * docs/gst/tmpl/old/gsthttpsrc.sgml:
22507         * docs/gst/tmpl/old/gstidentity.sgml:
22508         * docs/gst/tmpl/old/gstindexfactory.sgml:
22509         * docs/gst/tmpl/old/gstmarshal.sgml:
22510         * docs/gst/tmpl/old/gstmd5sink.sgml:
22511         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22512         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22513         * docs/gst/tmpl/old/gstpadtemplate.sgml:
22514         * docs/gst/tmpl/old/gstpipefilter.sgml:
22515         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22516         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22517         * docs/gst/tmpl/old/gstshaper.sgml:
22518         * docs/gst/tmpl/old/gstspider.sgml:
22519         * docs/gst/tmpl/old/gstspideridentity.sgml:
22520         * docs/gst/tmpl/old/gststatistics.sgml:
22521         * docs/gst/tmpl/old/gsttee.sgml:
22522         * docs/gst/tmpl/old/gsttimecache.sgml:
22523         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22524         * docs/gst/tmpl/old/gstxmlregistry.sgml:
22525         * docs/gst/tmpl/old/gthread-cothreads.sgml:
22526         * docs/gst/tmpl/old/types.sgml:
22527           I didn't intend to add these or check them in.
22528
22529 2005-05-19  David Schleef  <ds@schleef.org>
22530
22531         * configure.ac: Use -no-common everywhere.  In a sane world, it
22532           would be the default in libtool, because without it, you can't
22533           build DLLs on Windows.
22534         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22535         * docs/gst/gstreamer-sections.txt:
22536         * docs/gst/tmpl/gstcpu.sgml:
22537         * docs/gst/tmpl/gstdata.sgml:
22538         * docs/gst/tmpl/gstthread.sgml:
22539
22540 2005-05-19  David Schleef  <ds@schleef.org>
22541
22542         * gst/gstminiobject.c: (gst_value_set_mini_object),
22543         (gst_value_take_mini_object), (gst_value_get_mini_object):
22544         * gst/gstminiobject.h: Add GValue set/get functions.
22545
22546 2005-05-19  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22549         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22550         (gst_subbuffer_init), (gst_buffer_is_span_fast):
22551         * gst/gstbuffer.h:
22552         * gst/gstbus.c: (gst_bus_post):
22553         * gst/gstelement.c: (gst_element_get_random_pad):
22554         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22555         Make subbufer unref the parent in finalize.
22556         some more debugging info.
22557
22558
22559 2005-05-19  Wim Taymans  <wim@fluendo.com>
22560
22561         * gst/base/gstbasesink.c: (gst_basesink_class_init),
22562         (gst_basesink_init), (gst_basesink_finalize),
22563         (gst_basesink_activate), (gst_basesink_change_state):
22564         Don't free preroll queue too early.
22565
22566 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22567
22568         * gst/Makefile.am:
22569         * gst/ROADMAP:
22570           Hi, I'm outdated. Please shoot me.
22571
22572 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22573
22574         * gst/gstpipeline.c: (gst_pipeline_send_event):
22575           Do not access variables after they have been deleted.
22576
22577 2005-05-19  Wim Taymans  <wim@fluendo.com>
22578
22579         * tools/gst-inspect.c: (print_plugin_features):
22580         A plugin feature does unfortunatly not use the
22581         object name yet...
22582
22583 2005-05-18  Wim Taymans  <wim@fluendo.com>
22584
22585         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22586         Port _span() functions to new subbuffers.
22587
22588 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22589
22590         * gst/gstbin.c: (gst_bin_add_func):
22591           Fix clock settery in bins when adding kids after the clock has
22592           been selected.
22593
22594 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22595
22596         * gst/elements/gstidentity.c: (gst_identity_class_init):
22597           Workaround until signals support GstMiniObject.
22598
22599 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
22600
22601         * gst/gstbuffer.c:
22602         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22603
22604 2005-05-18  Wim Taymans  <wim@fluendo.com>
22605
22606         * gst/base/Makefile.am:
22607         * gst/base/gstadapter.c: (gst_adapter_base_init),
22608         (gst_adapter_class_init), (gst_adapter_init),
22609         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22610         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22611         (gst_adapter_flush), (gst_adapter_available),
22612         (gst_adapter_available_fast):
22613         * gst/base/gstadapter.h:
22614         Ported and added adapter to the base classes.
22615
22616 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
22617
22618         * gst/gst.c:
22619         * gst/gstmessage.c:
22620           Make sure the class is reffed/unreffed once before threads can be
22621           used.  Fixes #304551.
22622
22623 2005-05-17  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22626         (gst_basesink_chain_unlocked), (gst_basesink_activate):
22627         * gst/gstminiobject.c: (gst_mini_object_get_type),
22628         (gst_mini_object_free):
22629         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22630         (gst_pad_push), (gst_pad_push_event):
22631         * gst/gstqueue.c: (gst_queue_change_state):
22632         Don't queue buffers in basesink when we are flushing.
22633         Unref buffer when flushing in basesink.
22634         Flush queue when going to READY
22635         Unref buffer when _push() returns an error.
22636         Don't free MiniObject instance when refcount is incremented
22637         in _finalize() so that we can recover objects.
22638
22639 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22640
22641         * docs/manual/advanced-schedulers.xml:
22642         * docs/manual/appendix-checklist.xml:
22643         * docs/pwg/advanced-clock.xml:
22644         * docs/pwg/advanced-interfaces.xml:
22645         * docs/pwg/advanced-request.xml:
22646         * docs/pwg/advanced-types.xml:
22647         * docs/pwg/intro-preface.xml:
22648         * examples/plugins/example.c: (gst_example_get_type),
22649         (gst_example_class_init), (gst_example_chain),
22650         (gst_example_set_property), (gst_example_get_property),
22651         (gst_example_change_state), (plugin_init):
22652         * examples/plugins/example.h:
22653           small doc fixes
22654
22655 2005-05-17  Wim Taymans  <wim@fluendo.com>
22656
22657         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22658         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22659         * gst/gstqueue.c: (gst_queue_change_state):
22660         Clear queue when going to READY.
22661         Remove IN_SETCAPS flag too.
22662
22663 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
22664
22665         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22666           Remove implicit cast from gboolean to GstElementStateReturn;
22667           make sure we still return failure in paused => ready case if
22668           the parent class fails to change state and our own stop 
22669           vfunc succeeds.
22670
22671 2005-05-17  Wim Taymans  <wim@fluendo.com>
22672
22673         * tools/gst-launch.c: (event_loop):
22674         Message was unreffed too soon.
22675
22676 2005-05-16  Andy Wingo  <wingo@pobox.com>
22677
22678         * gst/gstbin.c (sink_iterator_filter): Err... um...
22679
22680         * check/gst/gstbin.c (test_ghost_pads): New test for the
22681         ghosting-if-elements-not-in-same-bin behavior.
22682
22683 2005-05-16  David Schleef  <ds@schleef.org>
22684
22685         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22686         accessing refcount directly.
22687
22688 2005-05-15  David Schleef  <ds@schleef.org>
22689
22690         * check/Makefile.am: remove GstData checks
22691         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22692         * gst/Makefile.am: add miniobject, remove data
22693         * gst/gst.h: add miniobject, remove data
22694         * gst/gstdata.c: remove
22695         * gst/gstdata.h: remove
22696         * gst/gstdata_private.h: remove
22697         * gst/gsttypes.h: remove GstEvent and GstMessage
22698         * gst/gstelement.c: (gst_element_post_message): fix for API changes
22699         * gst/gstmarshal.list: change BOXED -> OBJECT
22700
22701         Implement GstMiniObject.
22702         * gst/gstminiobject.c:
22703         * gst/gstminiobject.h:
22704
22705         Modify to be subclasses of GstMiniObject.
22706         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22707         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22708         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22709         (gst_subbuffer_get_type), (gst_subbuffer_init),
22710         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22711         (gst_buffer_span):
22712         * gst/gstbuffer.h:
22713         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22714         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22715         (_gst_event_copy), (gst_event_new):
22716         * gst/gstevent.h:
22717         * gst/gstmessage.c: (_gst_message_initialize),
22718         (gst_message_get_type), (gst_message_class_init),
22719         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22720         (gst_message_new), (gst_message_new_error),
22721         (gst_message_new_warning), (gst_message_new_tag),
22722         (gst_message_new_state_changed), (gst_message_new_application):
22723         * gst/gstmessage.h:
22724         * gst/gstprobe.c: (gst_probe_perform),
22725         (gst_probe_dispatcher_dispatch):
22726         * gst/gstprobe.h:
22727         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22728         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22729         (_gst_query_copy), (gst_query_new):
22730
22731         Update elements for GstData -> GstMiniObject changes
22732         * gst/gstquery.h:
22733         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22734         (gst_queue_chain), (gst_queue_loop):
22735         * gst/elements/gstbufferstore.c:
22736         (gst_buffer_store_add_buffer_func),
22737         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22738         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22739         (gst_fakesink_render):
22740         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22741         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22742         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22743         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22744         (gst_filesrc_create_read):
22745         * gst/elements/gstidentity.c: (gst_identity_class_init):
22746         * gst/elements/gsttypefindelement.c:
22747         (gst_type_find_element_src_event), (free_entry_buffers),
22748         (gst_type_find_element_handle_event):
22749         * libs/gst/dataprotocol/dataprotocol.c:
22750         (gst_dp_header_from_buffer):
22751         * libs/gst/dataprotocol/dataprotocol.h:
22752         * libs/gst/dataprotocol/dp-private.h:
22753
22754 2005-05-15  David Schleef  <ds@schleef.org>
22755
22756         * gst/elements/gstelements.c: Don't include headers that were
22757         just removed.
22758
22759 2005-05-15  David Schleef  <ds@schleef.org>
22760
22761         * gst/elements/Makefile.am: Remove some elements that don't
22762         need to be in the core (or even exist at all).
22763         * gst/elements/gstaggregator.c:
22764         * gst/elements/gstaggregator.h:
22765         * gst/elements/gstmd5sink.c:
22766         * gst/elements/gstmd5sink.h:
22767         * gst/elements/gstmultifilesrc.c:
22768         * gst/elements/gstmultifilesrc.h:
22769         * gst/elements/gstpipefilter.c:
22770         * gst/elements/gstpipefilter.h:
22771         * gst/elements/gstshaper.c:
22772         * gst/elements/gstshaper.h:
22773         * gst/elements/gststatistics.c:
22774         * gst/elements/gststatistics.h:
22775         * po/POTFILES.in: Remove above files.
22776
22777 2005-05-14  Andy Wingo  <wingo@pobox.com>
22778
22779         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22780         so as to get the refs right.
22781         (sink_iterator_filter): New function, wraps bin_element_is_sink,
22782         unreffing objects that don't pass the filter.
22783
22784         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22785         gst_element_set_bus.
22786         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22787         normal cases, this will destroy the bus.
22788
22789         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22790         object.
22791
22792         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22793         has no sinks.
22794
22795 2005-05-13  Andy Wingo  <wingo@pobox.com>
22796
22797         * gst/gstutils.c (gst_element_link_pads): Instead of calling
22798         gst_pad_link, call pad_link_maybe_ghosting,
22799         (pad_link_maybe_ghosting): Links pads, making sure that the
22800         elements being linked are in the same bin.
22801         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22802         Helpers for pad_link_maybe_ghosting.
22803
22804 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22805
22806         * configure.ac:
22807           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22808
22809 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
22810
22811         * docs/design/part-element-source.txt:
22812           Mention GstPushSrc
22813
22814 2005-05-12  Wim Taymans  <wim@fluendo.com>
22815
22816         * gst/base/gstbasesink.c: (gst_basesink_init),
22817         (gst_basesink_activate):
22818         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22819         (gst_basesrc_is_seekable):
22820         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22821         (bin_element_is_sink), (gst_bin_change_state):
22822         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22823         * gst/gstelement.h:
22824         Identify sinks by their flag to avoid overly complicated
22825         checks (fow now).
22826         Do state changes even for elements not reachable from the
22827         sinks.
22828         BaseSink is a sink now :)
22829         Some more debugging info in the basesrc.
22830
22831
22832 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22833
22834         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22835           Implement _query on a bin, similar to _send_event.
22836
22837 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
22838
22839         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22840           Discont event offset format should be GST_FORMAT_BYTES,
22841           not GST_FORMAT_TIME.
22842
22843 2005-05-12  Wim Taymans  <wim@fluendo.com>
22844
22845         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
22846         Same fix as Ronald's but without the signal. 
22847
22848 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22849
22850         * gst/gstutils.c: (gst_element_query_position):
22851           No, an element is not a pad.
22852
22853 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22854
22855         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
22856         (gst_bin_get_state):
22857           If a child is removed from a bin while we remove the child from
22858           the bin and while we're retrieving its state, signal this to the
22859           get_state function so we abort the wait (instead of waiting for
22860           a timeout) and can immediately re-iterate over all other elements.
22861
22862 2005-05-12  Wim Taymans  <wim@fluendo.com>
22863
22864         * gst/base/Makefile.am:
22865         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
22866         (gst_basesrc_start):
22867         * gst/base/gstbasesrc.h:
22868         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
22869         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
22870         (gst_pushsrc_init), (gst_pushsrc_create):
22871         * gst/base/gstpushsrc.h:
22872         Added is_seekable to BaseSrc
22873         Added simple PushSrc.
22874
22875 2005-05-11  Wim Taymans  <wim@fluendo.com>
22876
22877         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22878         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22879         (gst_element_link_pads), (gst_element_query_position),
22880         (gst_element_query_convert), (intersect_caps_func),
22881         (gst_pad_query_position), (gst_pad_query_convert):
22882         Fix refcounting in utils function.
22883         No point in trying to activate a pad when it's added, it could
22884         be added from the state change function and then we deadlock, the
22885         element has to decide what to do.
22886
22887 2005-05-10  Andy Wingo  <wingo@pobox.com>
22888
22889         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
22890         *all* the arguments.
22891
22892         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
22893         stream lock if it's a FLUSH_DONE; normal flushes don't get the
22894         lock (according to the docs -- if this is wrong change the docs).
22895
22896         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
22897         flush messages in the NULL state.
22898
22899         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
22900         message immediately and return.
22901         (gst_bus_set_flushing): New function. If a bus is flushing, it
22902         flushes out any queued messages and immediately unrefs new
22903         messages. This is so when an element goes to NULL, all of the
22904         unhandled messages coming from it can be freed, and their
22905         references to the element dropped. In other words: message source
22906         ref considered harmful :P
22907
22908         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
22909         we're finished with it.
22910
22911         * gst/gstmessage.c (gst_message_new_state_changed): 
22912
22913 2005-05-10  Wim Taymans  <wim@fluendo.com>
22914
22915         * gst/gstvalue.c: (gst_value_compare_flags),
22916         (gst_value_serialize_flags), (gst_value_deserialize_flags),
22917         (_gst_value_initialize):
22918         Added flags serialize/deserialize/compare code.
22919
22920 2005-05-09  Andy Wingo  <wingo@pobox.com>
22921
22922         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
22923         Intersect the peer's caps with our caps.
22924
22925 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22926
22927         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22928         * gst/elements/gsttypefindelement.c: (find_peek):
22929           Handle negative offsets better. Fixes decodebin.
22930
22931 2005-05-09  Wim Taymans  <wim@fluendo.com>
22932
22933         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
22934         (gst_base_transform_event):
22935         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
22936         Implement accept_caps.
22937         Fix silly lock/unlock mismatch in base class.
22938
22939 2005-05-09  Wim Taymans  <wim@fluendo.com>
22940
22941         * docs/design/draft-push-pull.txt:
22942         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
22943         * gst/elements/gstfilesink.c: (gst_filesink_init),
22944         (gst_filesink_query):
22945         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22946         (gst_type_find_handle_src_query), (find_element_get_length):
22947         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
22948         * gst/gstelement.h:
22949         * gst/gstmessage.c:
22950         * gst/gstmessage.h:
22951         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
22952         (gst_real_pad_get_caps_unlocked),
22953         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
22954         (gst_pad_event_default_dispatch), (gst_pad_event_default),
22955         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
22956         (gst_real_pad_dispose), (gst_real_pad_finalize),
22957         (gst_pad_load_and_link), (gst_pad_save_thyself),
22958         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
22959         (gst_pad_check_pull_range), (gst_pad_pull_range),
22960         (gst_pad_template_get_type), (gst_pad_template_class_init),
22961         (gst_pad_template_init), (gst_pad_template_dispose),
22962         (name_is_valid), (gst_static_pad_template_get),
22963         (gst_pad_template_new), (gst_static_pad_template_get_caps),
22964         (gst_pad_template_get_caps), (gst_pad_set_element_private),
22965         (gst_pad_get_element_private), (gst_pad_start_task),
22966         (gst_pad_pause_task), (gst_pad_stop_task),
22967         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
22968         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
22969         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
22970         (gst_ghost_pad_new):
22971         * gst/gstpad.h:
22972         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
22973         (gst_query_new_position), (gst_query_set_position),
22974         (gst_query_parse_position), (gst_query_new_convert),
22975         (gst_query_set_convert), (gst_query_parse_convert):
22976         * gst/gstquery.h:
22977         * gst/gstqueryutils.c:
22978         * gst/gstqueryutils.h:
22979         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22980         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22981         (gst_queue_handle_src_query):
22982         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22983         (gst_element_query_position), (gst_element_query_convert),
22984         (intersect_caps_func), (gst_pad_query_position),
22985         (gst_pad_query_convert):
22986         * gst/gstutils.h:
22987         * tools/gst-inspect.c: (print_pad_info):
22988         * tools/gst-xmlinspect.c: (print_element_info):
22989         Remove old query functions. Ported old code.
22990         Added position/convert helper functions to gstutils.
22991         Reordered gstpad.c code, grouping relevant things.
22992         Remove gst_message_new(), always need to speficy a specific
22993         message.
22994
22995
22996 2005-05-09  Andy Wingo  <wingo@pobox.com>
22997
22998         * gst/gstiterator.h: Add some includes.
22999
23000         * gst/gstqueryutils.h: Include more headers.
23001
23002         * gst/gstpad.h:
23003         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23004         some uses of gst_pad_query.
23005
23006         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23007         NULL out parameters.
23008         (gst_query_new_position): New proc, allocates a new position
23009         query.
23010
23011         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23012         gstqueryutils.c to the build.
23013
23014         * gst/gststructure.c (gst_structure_set_valist): Implement with
23015         the generic G_VALUE_COLLECT.
23016         
23017 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
23018
23019         * gst/Makefile.am: (gst_headers):
23020         Added gstqueryutils.h to the list of headers to install, that was
23021         a 'nachty' move wingo :)
23022
23023 2005-05-06  Andy Wingo  <wingo@pobox.com>
23024
23025         * gst/gstquery.h
23026         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23027         GstData, init a memchunk.
23028         (standard_definitions): Add a few query types, deprecate a few.
23029         (gst_query_get_type): New proc.
23030         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23031         implementation.
23032         (gst_query_new_application, gst_query_get_structure): New public
23033         procs.
23034
23035         * docs/design/draft-query.txt: Removed LINKS from the query types,
23036         because all the rest can be dispatched to other pads -- seemed
23037         ugly to have a query that couldn't be dispatched. internal_links
23038         is fine as a pad method.
23039
23040         * gst/gstpad.h: Add query2 as a pad method, add the new functions
23041         in gstpad.c, but maintain binary compatibility for the moment.
23042         Will fix before 0.9 is out.
23043
23044         * gst/gstqueryutils.c: 
23045         * gst/gstqueryutils.h: New files, implement 3 methods for each
23046         query type: parse_query, parse_response, and set. Probably need an
23047         allocator as well.
23048
23049         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23050
23051         * gst/elements/gstfilesink.c (gst_filesink_query2):
23052         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23053         query_types, and formats methods.
23054
23055         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23056         (gst_pad_set_query2_function): New functions.
23057         (gst_real_pad_init): Set query2_default as the default query2
23058         function. Basically just dispatches to internally linked pads.
23059
23060         Needs review!
23061         
23062         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23063         without using the atomic operations. Only one thread can possibly
23064         be accessing the data at this point. Changed so as to avoid
23065         gst_atomic operations.
23066
23067 2005-05-06  Wim Taymans  <wim@fluendo.com>
23068
23069         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23070         Also set caps if we use the fallback buffer alloc.
23071
23072 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
23073
23074         * docs/gst/Makefile.am:
23075         * docs/gst/gstreamer-docs.sgml:
23076         * docs/gst/gstreamer-sections.txt:
23077         * docs/gst/tmpl/gstatomic.sgml:
23078         * docs/gst/tmpl/gstmemchunk.sgml:
23079         * testsuite/elements/struct_i386.h:
23080         * win32/GStreamer.vcproj:
23081         * win32/Makefile:
23082           Purge GstAtomic stuff from docs and win32 makefiles as well
23083
23084 2005-05-06  Wim Taymans  <wim@fluendo.com>
23085
23086         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23087         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23088         * gst/gstpad.c: (gst_pad_peer_get_caps):
23089         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23090         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23091         (gst_queue_src_activate), (gst_queue_change_state):
23092         * gst/gstqueue.h:
23093         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23094         (intersect_caps_func):
23095         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23096         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23097         Some fixes for the peer_get_caps() change.
23098
23099 2005-05-06  Wim Taymans  <wim@fluendo.com>
23100
23101         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23102         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23103         (gst_basesink_activate):
23104         Actually do something with error codes returned from the push
23105         functions.
23106
23107 2005-05-06  Wim Taymans  <wim@fluendo.com>
23108
23109         * docs/design/part-element-sink.txt:
23110         * docs/design/part-element-source.txt:
23111         * gst/base/gstbasesink.c: (gst_basesink_class_init),
23112         (gst_basesink_event), (gst_basesink_activate):
23113         * gst/base/gstbasesink.h:
23114         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23115         (gst_basesrc_activate):
23116         * gst/base/gstbasesrc.h:
23117         * gst/gstelement.c: (gst_element_pads_activate):
23118         Some more documentation.
23119         Fixed scheduling decision in _pads_activate().
23120
23121 2005-05-05  Andy Wingo  <wingo@pobox.com>
23122
23123         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23124         the test suite.
23125
23126 2005-05-05  Wim Taymans  <wim@fluendo.com>
23127
23128         * gst/base/Makefile.am:
23129         * gst/base/gstbasesink.h:
23130         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23131         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23132         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23133         (gst_collectpads_class_init), (gst_collectpads_init),
23134         (gst_collectpads_finalize), (gst_collectpads_new),
23135         (gst_collectpads_set_function), (gst_collectpads_add_pad),
23136         (find_pad), (gst_collectpads_remove_pad),
23137         (gst_collectpads_is_active), (gst_collectpads_collect),
23138         (gst_collectpads_collect_range), (gst_collectpads_start),
23139         (gst_collectpads_stop), (gst_collectpads_peek),
23140         (gst_collectpads_pop), (gst_collectpads_available),
23141         (gst_collectpads_read), (gst_collectpads_flush),
23142         (gst_collectpads_chain):
23143         * gst/base/gstcollectpads.h:
23144         * gst/elements/Makefile.am:
23145         * gst/elements/gstelements.c:
23146         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23147         (gst_fakesink_get_times), (gst_fakesink_event),
23148         (gst_fakesink_preroll), (gst_fakesink_render):
23149         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23150         (gst_filesink_init), (gst_filesink_set_location),
23151         (gst_filesink_open_file), (gst_filesink_close_file),
23152         (gst_filesink_pad_query), (gst_filesink_event),
23153         (gst_filesink_render), (gst_filesink_change_state):
23154         * gst/elements/gstfilesink.h:
23155         Added object to help in making collect pad based elements.
23156         Ported filesink.
23157         Make event function in sink baseclass return gboolean.
23158
23159 2005-05-05  Wim Taymans  <wim@fluendo.com>
23160
23161         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23162         (gst_bin_get_by_name):
23163         * gst/gstbuffer.h:
23164         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23165         (gst_clock_finalize):
23166         * gst/gstdata.c: (gst_data_replace):
23167         * gst/gstdata.h:
23168         * gst/gstelement.c: (gst_element_request_pad),
23169         (gst_element_pads_activate):
23170         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23171         (gst_object_unref):
23172         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23173         (gst_pad_set_checkgetrange_function),
23174         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23175         (gst_pad_check_pull_range), (gst_pad_pull_range),
23176         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23177         (gst_pad_pause_task), (gst_pad_stop_task):
23178         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23179         (gst_element_request_pad), (gst_pad_proxy_getcaps):
23180         Fix name lookup in GstBin.
23181         Added _data_replace() function and _buffer_replace()
23182         Use finalize method to clean up clock.
23183         Fix refcounting on request pads.
23184         Fix pad schedule mode error.
23185         Some more object refcounting debug info,
23186
23187
23188 2005-05-04  Andy Wingo <wingo@pobox.com>
23189
23190         * check/Makefile.am:
23191         * docs/gst/tmpl/gstatomic.sgml:
23192         * docs/gst/tmpl/gstplugin.sgml:
23193         * gst/base/gstbasesink.c: (gst_basesink_activate):
23194         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23195         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23196         (gst_basesrc_query), (gst_basesrc_set_property),
23197         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23198         (gst_basesrc_activate):
23199         * gst/base/gstbasesrc.h:
23200         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23201         (gst_base_transform_src_activate):
23202         * gst/elements/gstelements.c:
23203         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23204         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23205         * gst/elements/gsttee.c: (gst_tee_sink_activate):
23206         * gst/elements/gsttypefindelement.c: (find_element_get_length),
23207         (gst_type_find_element_checkgetrange),
23208         (gst_type_find_element_activate):
23209         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23210         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23211         (gst_caps_load_thyself):
23212         * gst/gstelement.c: (gst_element_pads_activate),
23213         (gst_element_save_thyself), (gst_element_restore_thyself):
23214         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23215         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23216         * gst/gstpad.h:
23217         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23218         (gst_xml_parse_file), (gst_xml_parse_memory),
23219         (gst_xml_get_element), (gst_xml_make_element):
23220         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23221         (_file_index_id_save_xml), (gst_file_index_commit):
23222         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23223         (read_enum), (load_pad_template), (load_feature), (load_plugin),
23224         (load_paths):
23225         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23226         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23227         * tools/gst-complete.c: (main):
23228         * tools/gst-compprep.c: (main):
23229         * tools/gst-inspect.c: (print_element_properties_info):
23230         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23231         * tools/gst-xmlinspect.c: (print_element_properties):
23232         GCC 4 fixen.
23233         
23234 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23235
23236         * gst/gstplugin.c: (gst_plugin_check_module),
23237         (gst_plugin_check_file), (gst_plugin_load_file):
23238             apply patch from #172526 to make register work on MacOSX
23239
23240 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23241
23242         * docs/gst/tmpl/gstconfig.sgml:
23243         * gst/gstconfig.h.in:
23244           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
23245         * testsuite/debug/printf_extension.c: (main):
23246           Do not use GST_PTR_FORMAT on pointers to types with
23247           sizeof < sizeof(gpointer).  Fixes test on 64-bit
23248         * testsuite/elements/property.h:
23249           use correct printf format
23250
23251 2005-05-02  Wim Taymans  <wim@fluendo.com>
23252
23253         * docs/design/draft-push-pull.txt:
23254         * docs/design/draft-query.txt:
23255         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23256         (gst_basesrc_start):
23257         Added draft for new query API.
23258         Added draft for better selecting scheduling methods.
23259         Make basesrc ignore length if the subclass does not support
23260         it.
23261
23262 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23263
23264         * gst/Makefile.am:
23265           possible fixes for automake-1.5 - _LIBADD is reserved
23266
23267 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23268
23269         * docs/faq/Makefile.am:
23270         * docs/manual/Makefile.am:
23271         * docs/manuals.mak:
23272         * docs/pwg/Makefile.am:
23273         * gst/Makefile.am:
23274           possible fixes for automake-1.5
23275
23276 2005-04-28  Wim Taymans  <wim@fluendo.com>
23277
23278         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23279         (gst_basesink_pad_getcaps), (gst_basesink_init),
23280         (gst_basesink_do_sync):
23281         * gst/gstclock.c: (gst_clock_entry_new):
23282         * gst/gstevent.c: (gst_event_discont_get_value):
23283         * gst/gstpipeline.c: (pipeline_bus_handler),
23284         (gst_pipeline_change_state):
23285         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23286         Better debugging of clocking info.
23287         Allow NULL values when getting discont values.
23288
23289 2005-04-27  Wim Taymans  <wim@fluendo.com>
23290
23291         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23292         * check/gst/gstpad.c: (gst_pad_suite):
23293         Increase timeout for checks.
23294
23295 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
23296
23297         * check/Makefile.am:
23298           fix the broken rule for cleanup.  Apparently this rule is
23299           only needed on FC2, so maybe this warrants further autotool
23300           inspection.
23301
23302 2005-04-26  Wim Taymans  <wim@fluendo.com>
23303
23304         * gst/gsttrashstack.h:
23305         Ooohh. a nasty one! After having a failed pop() from the stack,
23306         it's possible that the stack is empty. In that case, don't
23307         follow the NULL pointer.
23308
23309 2005-04-25  Wim Taymans  <wim@fluendo.com>
23310
23311         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23312         (gst_pad_set_checkgetrange_function),
23313         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23314         (gst_pad_check_pull_range), (gst_pad_pull_range),
23315         (gst_static_pad_template_get_caps), (gst_pad_start_task),
23316         (gst_pad_pause_task), (gst_pad_stop_task):
23317         * gst/gstplugin.c: (gst_plugin_load):
23318         * gst/gstplugin.h:
23319         Remove gst_library_load as it does more harm than good with
23320         the new g_module flags.
23321         Revert bogus caps template check in pad linking, pad caps
23322         are important when linking not the template, which is more
23323         general than the current caps.
23324
23325 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23326
23327         * gst/autoplug/.cvsignore:
23328         * gst/autoplug/Makefile.am:
23329         * gst/autoplug/gstsearchfuncs.c:
23330         * gst/autoplug/gstsearchfuncs.h:
23331         * gst/autoplug/gstspider.c:
23332         * gst/autoplug/gstspider.h:
23333         * gst/autoplug/gstspideridentity.c:
23334         * gst/autoplug/gstspideridentity.h:
23335         * gst/autoplug/spidertest.c:
23336           Die, spider, die.
23337
23338 2005-04-25  Wim Taymans  <wim@fluendo.com>
23339
23340         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23341         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23342         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23343         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23344         * gst/gstpad.h:
23345         Added stubs for unimplemented functions. 
23346
23347 2005-04-24  David Schleef  <ds@schleef.org>
23348
23349         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
23350         please fix.
23351
23352 2005-04-24  David Schleef  <ds@schleef.org>
23353
23354         Convert everything from GstAtomicInt to g_atomic_int_*, and
23355         remove gstatomic.
23356         * gst/Makefile.am:
23357         * gst/gstatomic.c:
23358         * gst/gstatomic.h:
23359         * gst/gstatomic_impl.h:
23360         * gst/gstbuffer.c:
23361         * gst/gstcaps.c:
23362         * gst/gstcaps.h:
23363         * gst/gstclock.c:
23364         * gst/gstclock.h:
23365         * gst/gstdata.c:
23366         * gst/gstdata.h:
23367         * gst/gstdata_private.h:
23368         * gst/gstevent.c:
23369         * gst/gstinfo.c:
23370         * gst/gstinfo.h:
23371         * gst/gstmessage.c:
23372         * gst/gstobject.c:
23373         * gst/gstobject.h:
23374         * gst/gststructure.c:
23375         * gst/gststructure.h:
23376         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23377         * gst/gstutils.h:
23378
23379 2005-04-24  David Schleef  <ds@schleef.org>
23380
23381         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23382         make the regressions tests work.  Remove some code that is no
23383         longer true.
23384         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23385         Disable warning for pads without templates.
23386
23387 2005-04-24  David Schleef  <ds@schleef.org>
23388
23389         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
23390         functions that handle filtered links.
23391         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23392         removed functions.
23393         * gst/gstutils.c: Fix/remove utility functions that handle
23394         filtered caps.
23395         * gst/gstutils.h:
23396         * gst/gstvalue.c: Add serialization/deserialization of caps
23397         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
23398         requires fixing so that the filter caps notation creates
23399         a capsfilter element and sets the filter_caps property.  I
23400         think everyone probably wants to keep the shorthand notation.
23401         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23402         * docs/gst/tmpl/gstpad.sgml:
23403
23404         * gst/elements/gstelements.c: Register capsfilter element.
23405         * gst/Makefile.am: fix spacing
23406         * docs/random/ds/0.9-suggested-changes: random
23407
23408 2005-04-23  David Schleef  <ds@schleef.org>
23409
23410         * gst/elements/Makefile.am:
23411         * gst/elements/gstcapsfilter.c: New element that acts like an
23412         identity, but filters caps.  Will eventually replace filtered
23413         caps in pad linking.
23414         * gst/gstutils.c: (gst_element_create_all_pads): New function
23415         to create all the ALWAYS pads that are registered with an
23416         element class.  This functionality should eventually be
23417         merged in with GstElement initialization.
23418         * gst/gstutils.h:
23419         * testsuite/trigger/README: part of trigger test code that should
23420         have been checked in a long time ago.
23421
23422 2005-04-23  David Schleef  <ds@schleef.org>
23423
23424         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
23425         needed with new versions of libtool (nobody will confirm this),
23426         and hard to carry around.
23427         * gst/autoplug/Makefile.am:
23428         * gst/base/Makefile.am:
23429         * gst/elements/Makefile.am:
23430         * gst/indexers/Makefile.am:
23431         * gst/schedulers/Makefile.am:
23432         * libs/gst/bytestream/Makefile.am:
23433         * libs/gst/control/Makefile.am:
23434         * libs/gst/dataprotocol/Makefile.am:
23435         * libs/gst/getbits/Makefile.am:
23436
23437 2005-04-21  Wim Taymans  <wim@fluendo.com>
23438
23439         * docs/design/draft-push-pull.txt:
23440         * docs/design/part-MT-refcounting.txt:
23441         * docs/design/part-TODO.txt:
23442         * docs/design/part-caps.txt:
23443         * docs/design/part-events.txt:
23444         * docs/design/part-gstbus.txt:
23445         * docs/design/part-gstpipeline.txt:
23446         * docs/design/part-messages.txt:
23447         * docs/design/part-push-pull.txt:
23448         * docs/design/part-query.txt:
23449         Some more docs.
23450
23451 2005-04-21  Wim Taymans  <wim@fluendo.com>
23452
23453         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23454         (gst_message_new), (gst_message_new_error),
23455         (gst_message_new_warning), (gst_message_new_tag),
23456         (gst_message_new_state_changed), (gst_message_new_application),
23457         (gst_message_get_structure):
23458         * gst/gstmessage.h:
23459         * gst/gststructure.c: (gst_structure_set_parent_refcount),
23460         (gst_structure_copy_conditional):
23461         Use parent refcount in GstMessage to ensure GstStructure
23462         consistency.
23463         Cleaned up headers a bit.
23464         
23465
23466 2005-04-20  Wim Taymans  <wim@fluendo.com>
23467
23468         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23469         (gst_basesink_pad_getcaps), (gst_basesink_init),
23470         (gst_basesink_chain_unlocked):
23471         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23472         (gst_type_find_helper):
23473         * gst/elements/gsttypefindelement.c:
23474         (gst_type_find_element_have_type), (gst_type_find_element_init),
23475         (stop_typefinding), (gst_type_find_element_handle_event),
23476         (find_suggest), (gst_type_find_element_chain),
23477         (gst_type_find_element_checkgetrange),
23478         (gst_type_find_element_getrange), (do_typefind),
23479         (gst_type_find_element_activate):
23480         * gst/gstbuffer.c: (_gst_buffer_sub_free),
23481         (gst_buffer_default_free), (gst_buffer_default_copy),
23482         (gst_buffer_set_caps):
23483         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23484         (gst_caps_replace):
23485         * gst/gstmessage.c: (gst_message_new),
23486         (gst_message_new_state_changed):
23487         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23488         (gst_pad_set_checkgetrange_function),
23489         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23490         (gst_pad_set_caps), (gst_pad_check_pull_range),
23491         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23492         * gst/gstpad.h:
23493         * gst/gsttypefind.c: (gst_type_find_register):
23494         Make gst_caps_replace() work like other _replace() functions.
23495         Use _caps_replace() where possible.
23496         Make sure _message_new() initialises its field.
23497         Add gst_static_pad_template_get_caps()
23498
23499
23500 2005-04-18  Andy Wingo  <wingo@pobox.com>
23501
23502         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23503         on the peer, not the pad. I think that was a typo. Pass an extra
23504         arg to see if random access is possible. Activate the pads as
23505         PULL_RANGE if possible.
23506
23507         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23508
23509         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
23510         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23511         to PROP_....
23512
23513 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23514
23515         * docs/faq/using.xml:
23516           Add note on gstreamer-properties (#154996).
23517
23518 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23519
23520         * docs/random/bbb/optional-properties:
23521           Some analysis on optional properties.
23522
23523 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23524
23525         * docs/gst/tmpl/gstelementfactory.sgml:
23526         * gst/gstelement.h:
23527         * gst/gstelementfactory.c: (gst_element_factory_init),
23528         (gst_element_factory_cleanup), (gst_element_register),
23529         (__gst_element_factory_add_static_pad_template),
23530         (gst_element_factory_get_static_pad_templates),
23531         (gst_element_factory_can_src_caps),
23532         (gst_element_factory_can_sink_caps):
23533         * gst/registries/Makefile.am:
23534         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23535         (gst_xml_registry_class_init), (gst_xml_registry_init),
23536         (gst_xml_registry_new), (gst_xml_registry_set_property),
23537         (gst_xml_registry_get_property), (get_time), (make_dir),
23538         (gst_xml_registry_get_perms_func),
23539         (plugin_times_older_than_recurse), (plugin_times_older_than),
23540         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23541         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23542         (add_to_char_array), (read_string), (read_uint), (read_enum),
23543         (load_pad_template), (load_feature), (load_plugin), (load_paths),
23544         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23545         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23546         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23547         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23548         (gst_xml_registry_rebuild):
23549         * gst/registries/gstlibxmlregistry.h:
23550         * tools/gst-compprep.c: (main):
23551         * tools/gst-inspect.c: (print_pad_templates_info):
23552         * tools/gst-xmlinspect.c: (print_element_info):
23553           Use libxml2 for registry parsing, use staticpadtemplates in
23554           elementfactories. Makes gst_init() +/- 10x faster.
23555
23556 2005-04-12  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/base/Makefile.am:
23559         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23560         (gst_basesink_pad_getcaps), (gst_basesink_init),
23561         (gst_basesink_event), (gst_basesink_change_state):
23562         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23563         (gst_basesrc_init), (gst_basesrc_query),
23564         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23565         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23566         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23567         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23568         (gst_basesrc_stop), (gst_basesrc_activate),
23569         (gst_basesrc_change_state):
23570         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23571         (helper_find_suggest), (gst_type_find_helper):
23572         * gst/base/gsttypefindhelper.h:
23573         * gst/elements/Makefile.am:
23574         * gst/elements/gstelements.c:
23575         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23576         (gst_fakesink_get_times), (gst_fakesink_event),
23577         (gst_fakesink_preroll), (gst_fakesink_render):
23578         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23579         (gst_fakesrc_init), (gst_fakesrc_event_handler),
23580         (gst_fakesrc_get_property), (gst_fakesrc_create),
23581         (gst_fakesrc_start), (gst_fakesrc_stop):
23582         * gst/elements/gstfakesrc.h:
23583         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23584         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23585         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23586         (gst_filesrc_create_read), (gst_filesrc_create),
23587         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23588         (gst_filesrc_start):
23589         * gst/elements/gsttypefindelement.c:
23590         (gst_type_find_element_have_type), (gst_type_find_element_init),
23591         (start_typefinding), (stop_typefinding), (push_buffer_store),
23592         (gst_type_find_element_handle_event),
23593         (gst_type_find_element_chain),
23594         (gst_type_find_element_checkgetrange),
23595         (gst_type_find_element_getrange), (do_typefind),
23596         (gst_type_find_element_activate),
23597         (gst_type_find_element_change_state):
23598         * gst/elements/gsttypefindelement.h:
23599         * gst/gstpipeline.c: (pipeline_bus_handler):
23600         Added typefind helper.
23601         Small preroll fix in the base sink.
23602         Disable typefind code in basesrc.
23603         Crude port of typefindelement.
23604         Fakesrc cleanups.
23605
23606
23607 2005-04-11  Wim Taymans  <wim@fluendo.com>
23608
23609         * check/gst/gstbus.c: (gstbus_suite):
23610         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23611         * check/gstcheck.h:
23612           Fix up the timeout so that the test does not fail.
23613
23614 2005-04-06  Wim Taymans  <wim@fluendo.com>
23615
23616         * gst/base/README:
23617         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23618         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23619         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23620         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23621         (gst_basesrc_check_get_range), (gst_basesrc_loop),
23622         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23623         (gst_basesrc_stop), (gst_basesrc_activate),
23624         (gst_basesrc_change_state), (basesrc_find_peek),
23625         (basesrc_find_suggest), (gst_basesrc_type_find):
23626         * gst/base/gstbasesrc.h:
23627         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23628         (gst_filesrc_class_init), (gst_filesrc_init),
23629         (gst_filesrc_finalize), (gst_filesrc_set_location),
23630         (gst_filesrc_set_property), (gst_filesrc_get_property),
23631         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23632         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23633         (gst_filesrc_create_read), (gst_filesrc_create),
23634         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23635         * gst/elements/gstfilesrc.h:
23636         * gst/gstelement.c: (gst_element_get_state_func),
23637         (gst_element_lost_state), (gst_element_pads_activate):
23638         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23639         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23640         (gst_pad_pull_range):
23641         * gst/gstpad.h:
23642         More work on the generic source base class, implement seeking,
23643         query.
23644         Make filesrc extend the base source class.
23645         Added gst_pad_set_checkgetrange_function to GstPad.
23646
23647 2005-04-06  Andy Wingo  <wingo@pobox.com>
23648
23649         * pkgconfig/gstreamer-base.pc.in:
23650         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23651
23652         * pkgconfig/Makefile.am:
23653         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23654
23655 2005-04-04  Wim Taymans  <wim@fluendo.com>
23656
23657         * gst/base/Makefile.am:
23658         * gst/base/README:
23659         * gst/base/gstbasesink.c: (gst_basesink_base_init),
23660         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23661         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23662         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23663         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23664         (gst_basesrc_base_init), (gst_basesrc_class_init),
23665         (gst_basesrc_init), (gst_basesrc_get_formats),
23666         (gst_basesrc_get_query_types), (gst_basesrc_query),
23667         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23668         (gst_basesrc_set_property), (gst_basesrc_get_property),
23669         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23670         (gst_basesrc_loop), (gst_basesrc_activate),
23671         (gst_basesrc_change_state):
23672         * gst/base/gstbasesrc.h:
23673         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23674         (gst_fakesrc_class_init), (gst_fakesrc_init),
23675         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23676         (gst_fakesrc_get_property), (gst_fakesrc_create):
23677         * gst/elements/gstfakesrc.h:
23678         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23679         (gst_filesrc_open_file), (gst_filesrc_loop),
23680         (gst_filesrc_activate), (filesrc_find_peek),
23681         (gst_filesrc_type_find):
23682         Made base source class, make fakesrc extend it.
23683         Add comments to basesink class.
23684         Some filesrc cleanup.
23685
23686 2005-03-31  David Schleef  <ds@schleef.org>
23687
23688         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23689         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23690         expected to link against libgstreamer.
23691         * gst/base/Makefile.am: link against libgstreamer
23692         * gst/elements/Makefile.am: same
23693
23694 2005-03-31  Andy Wingo  <wingo@pobox.com>
23695
23696         * tests/instantiate/Makefile.am:
23697         * tests/instantiate/caps.c: Add test to test speed of caps copy
23698         and free.
23699
23700         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23701         GMemChunk to be fair.
23702
23703         * gst/gsttrashstack.h: Remove warning about using the fallback
23704         trash stack implementation, it's still faster than malloc.
23705
23706 2005-03-30  Andy Wingo  <wingo@pobox.com>
23707
23708         * tests/complexity.c: Add a copyright.
23709
23710 2005-03-31  Wim Taymans  <wim@fluendo.com>
23711
23712         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23713         (gst_base_transform_class_init), (gst_base_transform_init),
23714         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23715         (gst_base_transform_get_property),
23716         (gst_base_transform_sink_activate),
23717         (gst_base_transform_src_activate),
23718         (gst_base_transform_change_state):
23719         * gst/base/gstbasetransform.h:
23720         * gst/elements/gstidentity.c: (gst_identity_class_init),
23721         (gst_identity_event), (gst_identity_check_perfect),
23722         (gst_identity_transform), (gst_identity_start),
23723         (gst_identity_stop):
23724         Added start/stop methods to transform base class so subclasses 
23725         don't need to deal with state changes even.
23726
23727 2005-03-31  Wim Taymans  <wim@fluendo.com>
23728
23729         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23730         (gst_event_new_discontinuous), (gst_event_discont_get_value):
23731         * gst/gstevent.h:
23732         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23733         (gst_pad_pull_range):
23734         Added rate to the discont event to prepare for variable speed
23735         and reverse playback.
23736
23737 2005-03-29  David Schleef  <ds@schleef.org>
23738
23739         * configure.ac:
23740         * testsuite/trigger/Makefile.am:
23741         * testsuite/trigger/trigger.c: A little example program to show
23742         how trigger-based elements can work.
23743
23744 2005-03-29  Wim Taymans  <wim@fluendo.com>
23745
23746         * gst/base/Makefile.am:
23747         * gst/base/README:
23748         * gst/base/gstbasesink.c: (gst_basesink_get_type),
23749         (gst_basesink_base_init), (gst_basesink_class_init),
23750         (gst_basesink_pad_getcaps), (gst_basesink_init),
23751         (gst_basesink_activate), (gst_basesink_change_state):
23752         * gst/base/gstbasesink.h:
23753         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23754         (gst_base_transform_base_init), (gst_base_transform_finalize),
23755         (gst_base_transform_class_init), (gst_base_transform_init),
23756         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23757         (gst_base_transform_event), (gst_base_transform_getrange),
23758         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23759         (gst_base_transform_set_property),
23760         (gst_base_transform_get_property),
23761         (gst_base_transform_sink_activate),
23762         (gst_base_transform_src_activate),
23763         (gst_base_transform_change_state):
23764         * gst/base/gstbasetransform.h:
23765         * gst/elements/gstidentity.c: (gst_identity_finalize),
23766         (gst_identity_class_init), (gst_identity_init),
23767         (gst_identity_event), (gst_identity_check_perfect),
23768         (gst_identity_transform), (gst_identity_set_property),
23769         (gst_identity_get_property), (gst_identity_change_state):
23770         * gst/elements/gstidentity.h:
23771         * gst/gstelement.c: (gst_element_get_state_func),
23772         (gst_element_lost_state), (gst_element_pads_activate):
23773         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23774         (gst_pad_check_pull_range), (gst_pad_pull_range):
23775         * gst/gstpad.h:
23776         Simplify pad activation.
23777         Added function to check if pull_range can be performed.
23778         Error out when pulling inactive or flushing pads.
23779         Removed const from refcounted types as it does not make sense.
23780         Simplify pad templates in basesink
23781         Added base class for simple 1-to-1 transforms.
23782         Make identity subclass the base transform.
23783
23784 2005-03-29  Andy Wingo  <wingo@pobox.com>
23785
23786         * docs/libs/gstreamer-libs-overrides.txt: 
23787         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23788         really don't understand what's going on, but like whatever. I want
23789         green buildbot!
23790
23791         * docs/gst/Makefile.am:
23792         * docs/libs/Makefile.am: Dist the overrides files.
23793
23794         * check/Makefile.am (clean-local): Remove .libs directories.
23795
23796         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23797         elements to EXTRA_DIST, so po/ files are happy.
23798
23799         * po/POTFILES.in: Er, remove it here.
23800
23801         * po/POTFILES: Remove gstspider.c.
23802
23803         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23804
23805         * docs/libs/gstreamer-libs-docs.sgml: 
23806         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23807         bytestream.
23808
23809         * tests/complexity.c (main): Set the length of the preroll queue
23810         on the sinks to prevent a lockup.
23811
23812         * libs/gst/dataprotocol/Makefile.am: 
23813         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23814         the same as the one in check/gst-libs/gdp.c.
23815
23816         * po/, docs/gst/: Commit automatic changes to docs and po files.
23817
23818         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23819         the versioned libgstbase.
23820
23821         * check/Makefile.am: Depend on an unversioned gst-register, seems
23822         to make autoconf happier.
23823
23824         * gst/base/Makefile.am: Make libgstbase a versioned lib.
23825
23826 2005-03-28  Wim Taymans  <wim@fluendo.com>
23827
23828         * configure.ac:
23829         * docs/design/part-gstelement.txt:
23830         * docs/design/part-negotiation.txt:
23831         * docs/design/part-preroll.txt:
23832         * docs/design/part-scheduling.txt:
23833         * docs/design/part-states.txt:
23834         * gst/Makefile.am:
23835         * gst/base/Makefile.am:
23836         * gst/base/README:
23837         * gst/base/gstbasesink.c: (gst_basesink_get_template),
23838         (gst_basesink_base_init), (gst_basesink_class_init),
23839         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23840         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23841         (gst_basesink_set_pad_functions),
23842         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
23843         (gst_basesink_set_property), (gst_basesink_get_property),
23844         (gst_base_sink_get_template), (gst_base_sink_get_caps),
23845         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
23846         (gst_basesink_preroll_queue_push),
23847         (gst_basesink_preroll_queue_empty),
23848         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
23849         (gst_basesink_event), (gst_basesink_get_times),
23850         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
23851         (gst_basesink_chain_unlocked), (gst_basesink_chain),
23852         (gst_basesink_loop), (gst_basesink_activate),
23853         (gst_basesink_change_state):
23854         * gst/base/gstbasesink.h:
23855         * gst/elements/Makefile.am:
23856         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
23857         (gst_fakesink_class_init), (gst_fakesink_init),
23858         (gst_fakesink_set_property), (gst_fakesink_get_property),
23859         (gst_fakesink_get_times), (gst_fakesink_event),
23860         (gst_fakesink_preroll), (gst_fakesink_render),
23861         (gst_fakesink_change_state):
23862         * gst/elements/gstfakesink.h:
23863         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23864         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
23865         * gst/gstelement.c: (gst_element_add_pad),
23866         (gst_element_get_state_func), (gst_element_abort_state),
23867         (gst_element_commit_state), (gst_element_lost_state),
23868         (gst_element_set_state), (gst_element_pads_activate):
23869         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
23870         * gst/gstpipeline.c: (gst_pipeline_send_event),
23871         (gst_pipeline_change_state):
23872         Added state change code.
23873         Added/updated docs.
23874         Added sink base class, make fakesink extend the base class.
23875         Small cleanups in GstPipeline.
23876
23877 2005-03-26  David Schleef  <ds@schleef.org>
23878
23879         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
23880         is broken and should be implemented in a different library.
23881         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
23882         * gst/gst.h: remove gstcpu.h
23883         * gst/gstcpu.c: remove
23884         * gst/gstcpu.h: remove
23885         * gst/Makefile.am.future: Remove this file.  It's ancient.
23886
23887 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23888
23889         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
23890         (gst_bin_send_event):
23891           Add default event/set_manager handlers. The set_manager handler
23892           takes care that the manager is distributed over kids that were
23893           already in the bin before the manager was set. The event handler
23894           is a utility virtual function that sends the event over all sinks,
23895           so that gst_element_send_event (bin, event); has the expected
23896           behaviour.
23897         * gst/gstpad.c: (gst_pad_event_default):
23898           Re-install default event handling for discontinuities, so that
23899           seeking works without requiring hacks in applications or extra
23900           code in sinks.
23901         * gst/gstpipeline.c: (gst_pipeline_class_init),
23902         (gst_pipeline_send_event):
23903           Half hack, half utility: set a pipeline to PAUSED for seek events,
23904           since that is the only way we can guarantee a/v sync. Means that
23905           you can do gst_element_seek (pipeline, method, pos); on a pipeline
23906           and it "just works".
23907
23908 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23909
23910         * gst/gstpipeline.c: (gst_pipeline_use_clock):
23911           Lock/unlock mismatch.
23912
23913 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23914
23915         * docs/faq/gst-uninstalled:
23916           add gst-plugins-base
23917         * docs/gst/Makefile.am:
23918           don't error out until docs are fixed
23919         * docs/gst/gstreamer.types:
23920           remove thread
23921
23922 2005-03-22  Wim Taymans  <wim@fluendo.com>
23923
23924         * check/Makefile.am:
23925         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
23926         * gst/gststructure.c: (gst_structure_set_valist),
23927         (gst_structure_copy_conditional):
23928         Activated more tests.
23929         Added message test.
23930         Added G_TYPE_POINTER to GstStructure.
23931         
23932
23933 2005-03-22  Wim Taymans  <wim@fluendo.com>
23934
23935         * docs/design/part-TODO.txt:
23936         * docs/design/part-events.txt:
23937         * docs/design/part-gstbin.txt:
23938         * docs/design/part-gstbus.txt:
23939         * docs/design/part-gstpipeline.txt:
23940         * docs/design/part-messages.txt:
23941         * gst/gstbus.c:
23942         * gst/gstmessage.c:
23943         Docs updates
23944
23945 2005-03-21  Wim Taymans  <wim@fluendo.com>
23946
23947         * gst/gstbus.c: (gst_bus_post):
23948         Fix copy-and-paste error.
23949
23950 2005-03-21  Wim Taymans  <wim@fluendo.com>
23951
23952         * check/Makefile.am:
23953         * gst/Makefile.am:
23954         * gst/elements/Makefile.am:
23955         * gst/elements/gstelements.c:
23956         * gst/elements/gstfakesink.c: (gst_fakesink_init),
23957         (gst_fakesink_event), (gst_fakesink_chain):
23958         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23959         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
23960         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
23961         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
23962         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23963         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
23964         (gst_fakesrc_loop), (gst_fakesrc_activate),
23965         (gst_fakesrc_change_state):
23966         * gst/elements/gstfakesrc.h:
23967         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
23968         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
23969         (gst_filesrc_open_file), (gst_filesrc_loop),
23970         (gst_filesrc_activate), (gst_filesrc_change_state),
23971         (filesrc_find_peek), (filesrc_find_suggest),
23972         (gst_filesrc_type_find):
23973         * gst/elements/gstidentity.c: (gst_identity_finalize),
23974         (gst_identity_class_init), (gst_identity_init),
23975         (gst_identity_proxy_getcaps), (identity_queue_push),
23976         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
23977         (gst_identity_getrange), (gst_identity_chain),
23978         (gst_identity_sink_loop), (gst_identity_src_loop),
23979         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
23980         (gst_identity_set_property), (gst_identity_get_property),
23981         (gst_identity_change_state):
23982         * gst/elements/gstidentity.h:
23983         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
23984         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
23985         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
23986         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
23987         (gst_tee_sink_activate):
23988         * gst/elements/gsttee.h:
23989         * gst/gst.c: (gst_register_core_elements), (init_post):
23990         * gst/gst.h:
23991         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
23992         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
23993         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
23994         (gst_bin_change_state):
23995         * gst/gstbin.h:
23996         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
23997         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
23998         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
23999         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24000         (gst_bus_set_sync_handler), (gst_bus_create_watch),
24001         (bus_watch_callback), (bus_watch_destroy),
24002         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24003         (poll_timeout), (gst_bus_poll):
24004         * gst/gstbus.h:
24005         * gst/gstcaps.h:
24006         * gst/gstdata.h:
24007         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24008         (gst_element_post_message), (gst_element_message_full),
24009         (gst_element_get_state_func), (gst_element_get_state),
24010         (gst_element_abort_state), (gst_element_commit_state),
24011         (gst_element_lost_state), (gst_element_set_state),
24012         (gst_element_pads_activate), (gst_element_change_state),
24013         (gst_element_dispose), (gst_element_set_manager_func),
24014         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24015         (gst_element_set_manager), (gst_element_get_manager),
24016         (gst_element_set_bus), (gst_element_get_bus),
24017         (gst_element_set_scheduler), (gst_element_get_scheduler):
24018         * gst/gstelement.h:
24019         * gst/gstevent.c: (gst_event_new_segment_seek),
24020         (gst_event_new_flush):
24021         * gst/gstevent.h:
24022         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24023         (_gst_message_free), (gst_message_get_type), (gst_message_new),
24024         (gst_message_new_eos), (gst_message_new_error),
24025         (gst_message_new_warning), (gst_message_new_tag),
24026         (gst_message_new_state_changed), (gst_message_new_application),
24027         (gst_message_get_structure), (gst_message_parse_tag),
24028         (gst_message_parse_state_changed), (gst_message_parse_error),
24029         (gst_message_parse_warning):
24030         * gst/gstmessage.h:
24031         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24032         (gst_real_pad_set_property), (gst_pad_set_active),
24033         (gst_pad_is_active), (gst_pad_set_blocked_async),
24034         (gst_pad_set_blocked), (gst_pad_is_blocked),
24035         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24036         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24037         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24038         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24039         (gst_pad_link_filtered), (gst_pad_relink_filtered),
24040         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24041         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24042         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24043         (gst_pad_set_caps), (gst_pad_configure_sink),
24044         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24045         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24046         (gst_real_pad_dispose), (gst_real_pad_finalize),
24047         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24048         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24049         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24050         * gst/gstpad.h:
24051         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24052         (pipeline_bus_handler), (gst_pipeline_change_state),
24053         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24054         * gst/gstpipeline.h:
24055         * gst/gstprobe.h:
24056         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24057         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24058         (gst_queue_link_src), (gst_queue_bufferalloc),
24059         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24060         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24061         (gst_queue_loop), (gst_queue_handle_src_event),
24062         (gst_queue_handle_src_query), (gst_queue_src_activate),
24063         (gst_queue_change_state):
24064         * gst/gstqueue.h:
24065         * gst/gstscheduler.c: (gst_scheduler_init),
24066         (gst_scheduler_dispose), (gst_scheduler_create_task),
24067         (gst_scheduler_factory_create):
24068         * gst/gstscheduler.h:
24069         * gst/gststructure.c: (gst_structure_get_type),
24070         (gst_structure_copy_conditional):
24071         * gst/gststructure.h:
24072         * gst/gsttaginterface.h:
24073         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24074         (gst_task_init), (gst_task_dispose), (gst_task_create),
24075         (gst_task_get_state), (gst_task_start), (gst_task_stop),
24076         (gst_task_pause):
24077         * gst/gsttask.h:
24078         * gst/gstthread.c:
24079         * gst/gstthread.h:
24080         * gst/gsttypes.h:
24081         * gst/schedulers/Makefile.am:
24082         * gst/schedulers/cothreads_compat.h:
24083         * gst/schedulers/entryscheduler.c:
24084         * gst/schedulers/faircothreads.c:
24085         * gst/schedulers/faircothreads.h:
24086         * gst/schedulers/fairscheduler.c:
24087         * gst/schedulers/gstbasicscheduler.c:
24088         * gst/schedulers/gstoptimalscheduler.c:
24089         * gst/schedulers/gthread-cothreads.h:
24090         * gst/schedulers/threadscheduler.c:
24091         (gst_thread_scheduler_task_get_type),
24092         (gst_thread_scheduler_task_class_init),
24093         (gst_thread_scheduler_task_init),
24094         (gst_thread_scheduler_task_start),
24095         (gst_thread_scheduler_task_stop),
24096         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24097         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24098         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24099         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24100         (plugin_init):
24101         * libs/gst/Makefile.am:
24102         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24103         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24104         (gst_file_pad_parent_set):
24105         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24106         (gst_dp_event_from_packet):
24107         * tests/complexity.c: (main):
24108         * tests/mass_elements.c: (main):
24109         * testsuite/states/locked.c: (message_received), (main):
24110         * testsuite/states/parent.c: (main):
24111         * tools/gst-inspect.c: (print_element_flag_info),
24112         (print_implementation_info), (print_pad_info):
24113         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24114         (main):
24115         * tools/gst-md5sum.c: (event_loop), (main):
24116         * tools/gst-typefind.c: (main):
24117         * tools/gst-xmlinspect.c: (print_element_info):
24118         Next big merge.
24119         Added GstBus for mainloop integration.
24120         Added GstMessage for sending notifications on the bus.
24121         Added GstTask as an abstraction for pipeline entry points.
24122         Removed GstThread.
24123         Removed Schedulers.
24124         Simplified GstQueue for multithreaded core.
24125         Made _link threadsafe, removed old capsnego.
24126         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24127         Added pad blocking functions.
24128         Reworked scheduling functions in GstPad to prepare for
24129         scheduling updates soon.
24130         Moved events out of data stream.
24131         Simplified GstEvent types.
24132         Added return values to push/pull.
24133         Removed clocking from GstElement.
24134         Added prototypes for state change function for next merge.
24135         Removed iterate from bins and state change management.
24136         Fixed some elements, disabled others for now.
24137         Fixed -inspect and -launch.
24138         Added check for GstBus.
24139
24140 2005-03-10  Wim Taymans  <wim@fluendo.com>
24141
24142         * docs/design/part-MT-refcounting.txt:
24143         * docs/design/part-clocks.txt:
24144         * docs/design/part-gstelement.txt:
24145         * docs/design/part-gstobject.txt:
24146         * docs/design/part-standards.txt:
24147         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24148         (gst_bin_remove_func), (gst_bin_remove):
24149         * gst/gstbin.h:
24150         * gst/gstbuffer.c:
24151         * gst/gstcaps.h:
24152         * testsuite/clock/clock1.c: (main):
24153         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24154         (main):
24155         * testsuite/dlopen/loadgst.c: (do_test):
24156         * testsuite/refcounting/bin.c: (add_remove_test1),
24157         (add_remove_test2), (main):
24158         * testsuite/refcounting/element.c: (main):
24159         * testsuite/refcounting/element_pad.c: (main):
24160         * testsuite/refcounting/pad.c: (main):
24161         * tools/gst-launch.c: (sigint_handler_sighandler):
24162         * tools/gst-typefind.c: (main):
24163         Doc updates.
24164         Added doc about clock.
24165         removed gst_bin_iterate_recurse_up(), marked methods
24166         for removal.
24167         Fix more testsuites.
24168
24169 2005-03-09  Wim Taymans  <wim@fluendo.com>
24170
24171         * gst/gstpad.c: (gst_pad_get_direction),
24172         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24173         (gst_pad_collect_valist):
24174         * testsuite/bins/interface.c: (main):
24175         * testsuite/caps/audioscale.c: (test_caps):
24176         * testsuite/caps/caps.c: (test1), (test2), (test3):
24177         * testsuite/caps/deserialize.c: (main):
24178         * testsuite/caps/enumcaps.c: (main):
24179         * testsuite/caps/filtercaps.c: (main):
24180         * testsuite/caps/intersect2.c: (main):
24181         * testsuite/caps/random.c: (main):
24182         * testsuite/caps/renegotiate.c: (my_fixate), (main):
24183         * testsuite/caps/sets.c: (check_caps):
24184         * testsuite/caps/simplify.c: (check_caps), (main):
24185         * testsuite/caps/subtract.c: (check_caps):
24186         Fix _pad_get_direction wrt ghostpads.
24187         Fix caps testsuite.
24188
24189 2005-03-09  Wim Taymans  <wim@fluendo.com>
24190
24191         * check/Makefile.am:
24192         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24193         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24194         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24195         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24196         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24197         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24198         (gst_bin_remove), (gst_bin_iterate_recurse_up),
24199         (bin_element_is_sink), (gst_bin_iterate_sinks),
24200         (gst_bin_iterate_all_by_interface):
24201         * gst/gstbin.h:
24202         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24203         (gst_element_change_state), (gst_element_dispose),
24204         (gst_element_finalize), (gst_element_set_loop_function):
24205         * gst/gstelement.h:
24206         * gst/gstiterator.c: (find_custom_fold_func):
24207         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24208         (gst_pad_collectv), (gst_pad_collect_valist),
24209         (gst_pad_template_new):
24210         * gst/gstpipeline.c: (gst_pipeline_class_init),
24211         (gst_pipeline_dispose), (gst_pipeline_set_property),
24212         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24213         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24214         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24215         * gst/gstutils.h:
24216         * gst/schedulers/entryscheduler.c:
24217         * gst/schedulers/gstbasicscheduler.c:
24218         (gst_basic_scheduler_cothreaded_chain),
24219         (gst_basic_scheduler_chain_add_element):
24220         * testsuite/bins/interface.c: (main):
24221         Added GstBin test.
24222         Added GstSystemClock test.
24223         Implemented clock distribution code in GstBin.
24224         Implemented iterate sinks method for future use.
24225         Rearranged gstelement.h
24226         Fix GstIterator comparison bug.
24227         Moved some code to GstPipeline, mostly clocking related.
24228
24229 2005-03-09  Wim Taymans  <wim@fluendo.com>
24230
24231         * configure.ac:
24232         * gst/gst_private.h:
24233         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24234         (gst_bin_remove_func), (gst_bin_remove),
24235         (gst_bin_get_by_name_recurse_up):
24236         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24237         (gst_clock_id_compare_func), (gst_clock_id_wait),
24238         (gst_clock_id_wait_async), (gst_clock_init),
24239         (gst_clock_adjust_unlocked), (gst_clock_get_time):
24240         * gst/gstelement.h:
24241         * gst/gstinfo.c: (_gst_debug_init):
24242         * gst/gstobject.h:
24243         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24244         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24245         * gst/gstpad.h:
24246         Bump version number, we're now 0.9.0
24247         Add future debugging category.
24248         Fix NULL _unref() in _get_by_name_recurse_up
24249         Rearrange gstpad.h.
24250         Update some docs.
24251
24252 2005-03-08  Wim Taymans  <wim@fluendo.com>
24253
24254         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24255         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24256         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24257         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24258         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24259         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24260         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24261         * gst/elements/gstidentity.c: (gst_identity_class_init):
24262         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24263         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24264         * gst/elements/gstshaper.c: (gst_shaper_class_init):
24265         * gst/elements/gststatistics.c: (gst_statistics_class_init):
24266         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24267         (gst_tee_link):
24268         * gst/gstelement.c: (gst_element_class_init),
24269         (gst_element_base_class_init), (gst_element_init),
24270         (gst_element_get_random_pad), (gst_element_wait_state_change),
24271         (gst_element_change_state), (gst_element_dispose),
24272         (gst_element_finalize), (gst_element_set_loop_function):
24273         * gst/gstelement.h:
24274         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24275         * gst/gstthread.c: (gst_thread_class_init),
24276         (gst_thread_release_children_locks), (gst_thread_change_state):
24277         * gst/schedulers/gstbasicscheduler.c:
24278         (gst_basic_scheduler_loopfunc_wrapper),
24279         (gst_basic_scheduler_chain_wrapper),
24280         (gst_basic_scheduler_src_wrapper),
24281         (gst_basic_scheduler_remove_element):
24282         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24283         Remove threadsafe properties. Fix elements because GObject
24284         complains when installing a property before declaring a
24285         set/get_property handler.
24286         Rearrange gstelement.h file, use STATE macros for state locks.
24287         Free mutexes in the finalize method instead of dispose.
24288
24289 2005-03-08  Wim Taymans  <wim@fluendo.com>
24290
24291         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24292         * gst/gstthread.c: (gst_thread_release_children_locks):
24293         Added parentage check.
24294         Fix build og GstThread again.
24295
24296 2005-03-08  Wim Taymans  <wim@fluendo.com>
24297
24298         * docs/design/part-MT-refcounting.txt:
24299         * docs/design/part-conventions.txt:
24300         * docs/design/part-gstobject.txt:
24301         * docs/design/part-relations.txt:
24302         * docs/design/part-standards.txt:
24303         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24304         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24305         (gst_bin_get_by_name), (gst_bin_get_by_interface),
24306         (gst_bin_iterate_all_by_interface):
24307         * gst/gstbuffer.h:
24308         * gst/gstclock.h:
24309         * gst/gstelement.c: (gst_element_class_init),
24310         (gst_element_change_state), (gst_element_set_loop_function):
24311         * gst/gstelement.h:
24312         * gst/gstiterator.c:
24313         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24314         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24315         (gst_object_dispatch_properties_changed), (gst_object_set_name),
24316         (gst_object_set_parent), (gst_object_unparent),
24317         (gst_object_check_uniqueness):
24318         * gst/gstobject.h:
24319         Docs updates, clean up some headers.
24320
24321 2005-03-07  Wim Taymans  <wim@fluendo.com>
24322
24323         * check/.cvsignore:
24324         * check/Makefile.am:
24325         * check/gst-libs/.cvsignore:
24326         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24327         * check/gst/.cvsignore:
24328         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24329         (START_TEST), (gstbus_suite), (main):
24330         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24331         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24332         (gst_data_suite), (main):
24333         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24334         (add_fold_func), (gstiterator_suite), (main):
24335         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24336         (thread_name_object), (thread_name_object_default),
24337         (gst_object_name_compare), (gst_object_suite), (main):
24338         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24339         (gst_pad_suite), (main):
24340         * check/gstcheck.c: (gst_check_log_message_func),
24341         (gst_check_log_critical_func), (gst_check_init):
24342         * check/gstcheck.h:
24343         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24344         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24345         Added checks.
24346
24347 2005-03-07  Wim Taymans  <wim@fluendo.com>
24348
24349         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24350         (gst_list_iterator_next), (gst_list_iterator_resync),
24351         (gst_list_iterator_free), (gst_iterator_new_list),
24352         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24353         (gst_iterator_free), (gst_iterator_push), (filter_next),
24354         (filter_resync), (filter_uninit), (filter_free),
24355         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24356         (gst_iterator_foreach), (find_custom_fold_func),
24357         (gst_iterator_find_custom):
24358         * gst/gstiterator.h:
24359         Added missing files.
24360
24361 2005-03-07  Wim Taymans  <wim@fluendo.com>
24362
24363         * Makefile.am:
24364         * configure.ac:
24365         * docs/design/part-MT-refcounting.txt:
24366         * docs/design/part-conventions.txt:
24367         * docs/design/part-gstobject.txt:
24368         * docs/design/part-relations.txt:
24369         * examples/mixer/mixer.c: (main):
24370         * examples/thread/thread.c: (eos), (main):
24371         * gst/Makefile.am:
24372         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24373         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24374         (gst_spider_plug_from_srcpad):
24375         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24376         (gst_spider_identity_change_state),
24377         (gst_spider_identity_sink_loop_type_finding):
24378         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24379         * gst/elements/gstidentity.c: (gst_identity_init):
24380         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24381         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24382         * gst/elements/gsttypefindelement.c: (free_entry):
24383         * gst/gst.c:
24384         * gst/gst.h:
24385         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24386         (gst_bin_set_clock_func), (gst_bin_auto_clock),
24387         (gst_bin_set_index), (gst_bin_set_element_sched),
24388         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24389         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24390         (gst_bin_iterate_elements), (iterate_child_recurse),
24391         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24392         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24393         (compare_interface), (gst_bin_get_by_interface),
24394         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24395         * gst/gstbin.h:
24396         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24397         (gst_buffer_default_free), (gst_buffer_default_copy),
24398         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24399         (gst_buffer_create_sub):
24400         * gst/gstbuffer.h:
24401         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24402         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24403         (gst_caps_unref), (gst_static_caps_get),
24404         (gst_caps_remove_and_get_structure), (gst_caps_append),
24405         (gst_caps_append_structure), (gst_caps_remove_structure),
24406         (gst_caps_copy_nth), (gst_caps_set_simple),
24407         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24408         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24409         (gst_caps_structure_intersect_field), (gst_caps_intersect),
24410         (gst_caps_structure_subtract_field), (gst_caps_subtract),
24411         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24412         (gst_caps_structure_figure_out_union),
24413         (gst_caps_switch_structures), (gst_caps_do_simplify),
24414         (gst_caps_replace), (gst_caps_from_string),
24415         (gst_caps_copy_conditional):
24416         * gst/gstcaps.h:
24417         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24418         (_gst_clock_id_free), (gst_clock_id_unref),
24419         (gst_clock_id_compare_func), (gst_clock_id_wait),
24420         (gst_clock_id_wait_async), (gst_clock_class_init),
24421         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24422         (gst_clock_get_time), (gst_clock_set_time_adjust),
24423         (gst_clock_set_property), (gst_clock_get_property):
24424         * gst/gstclock.h:
24425         * gst/gstcompat.h:
24426         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24427         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24428         * gst/gstdata.h:
24429         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24430         (gst_element_requires_clock), (gst_element_provides_clock),
24431         (gst_element_set_clock), (gst_element_clock_wait),
24432         (gst_element_wait), (gst_element_set_time_delay),
24433         (gst_element_is_indexable), (gst_element_add_pad),
24434         (gst_element_add_ghost_pad), (gst_element_remove_pad),
24435         (pad_compare_name), (gst_element_get_static_pad),
24436         (gst_element_request_pad), (gst_element_get_request_pad),
24437         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24438         (gst_element_class_get_pad_template_list),
24439         (gst_element_class_get_pad_template), (gst_element_error_func),
24440         (gst_element_get_random_pad), (gst_element_get_event_masks),
24441         (gst_element_send_event), (gst_element_seek),
24442         (gst_element_get_query_types), (gst_element_query),
24443         (gst_element_get_formats), (gst_element_convert),
24444         (gst_element_is_locked_state), (gst_element_set_locked_state),
24445         (gst_element_sync_state_with_parent), (gst_element_change_state),
24446         (gst_element_finalize), (gst_element_yield),
24447         (gst_element_interrupt), (gst_element_set_scheduler),
24448         (gst_element_get_scheduler), (gst_element_set_loop_function):
24449         * gst/gstelement.h:
24450         * gst/gstevent.h:
24451         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24452         (gst_format_get_by_nick), (gst_format_get_details),
24453         (gst_format_iterate_definitions):
24454         * gst/gstformat.h:
24455         * gst/gstindex.c: (gst_index_gtype_resolver):
24456         * gst/gstinfo.c:
24457         * gst/gstinfo.h:
24458         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24459         (gst_mem_chunk_free):
24460         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24461         (gst_object_ref), (gst_object_unref), (gst_object_sink),
24462         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24463         (gst_object_dispatch_properties_changed),
24464         (gst_object_set_name_default), (gst_object_set_name),
24465         (gst_object_get_name), (gst_object_set_name_prefix),
24466         (gst_object_get_name_prefix), (gst_object_set_parent),
24467         (gst_object_get_parent), (gst_object_unparent),
24468         (gst_object_check_uniqueness), (gst_object_save_thyself),
24469         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24470         (gst_object_set_property), (gst_object_get_property),
24471         (gst_object_get_path_string):
24472         * gst/gstobject.h:
24473         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24474         (gst_real_pad_init), (gst_real_pad_get_property),
24475         (gst_pad_custom_new), (gst_pad_get_direction),
24476         (gst_pad_set_active), (gst_pad_is_active),
24477         (gst_pad_set_event_function), (gst_pad_is_linked),
24478         (gst_pad_link_free), (gst_pad_link_intersect),
24479         (gst_pad_link_fixate), (gst_pad_set_caps),
24480         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24481         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24482         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24483         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24484         (gst_pad_get_caps), (gst_pad_peer_get_caps),
24485         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24486         (gst_pad_realize), (gst_pad_get_allowed_caps),
24487         (gst_real_pad_dispose), (gst_real_pad_finalize),
24488         (gst_pad_collectv), (gst_pad_collect_valist),
24489         (gst_pad_template_dispose), (gst_pad_template_new),
24490         (gst_pad_get_internal_links):
24491         * gst/gstpad.h:
24492         * gst/gstpipeline.c: (gst_pipeline_dispose),
24493         (gst_pipeline_change_state):
24494         * gst/gstpipeline.h:
24495         * gst/gstplugin.c:
24496         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24497         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24498         * gst/gstpluginfeature.h:
24499         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24500         * gst/gstquery.c: (_gst_query_type_initialize),
24501         (gst_query_type_register), (gst_query_type_get_by_nick),
24502         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24503         * gst/gstquery.h:
24504         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24505         * gst/gstscheduler.c: (gst_scheduler_add_element),
24506         (gst_scheduler_factory_create):
24507         * gst/gststructure.c: (gst_structure_set_parent_refcount),
24508         (gst_structure_free), (gst_structure_set_name),
24509         (gst_structure_id_set_value), (gst_structure_set_value),
24510         (gst_structure_set_valist), (gst_structure_remove_field),
24511         (gst_structure_remove_fields),
24512         (gst_structure_remove_fields_valist),
24513         (gst_structure_remove_all_fields), (gst_structure_foreach),
24514         (gst_structure_map_in_place),
24515         (gst_caps_structure_fixate_field_nearest_int),
24516         (gst_caps_structure_fixate_field_nearest_double):
24517         * gst/gststructure.h:
24518         * gst/gstsystemclock.c: (gst_system_clock_class_init),
24519         (gst_system_clock_init), (gst_system_clock_dispose),
24520         (gst_system_clock_async_thread),
24521         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24522         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24523         * gst/gstsystemclock.h:
24524         * gst/gsttag.c: (gst_tag_list_add_value_internal),
24525         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24526         * gst/gsttaginterface.c:
24527         * gst/gstthread.c: (gst_thread_dispose),
24528         (gst_thread_release_children_locks), (gst_thread_change_state),
24529         (gst_thread_main_loop):
24530         * gst/gsttrashstack.h:
24531         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24532         * gst/gsttypes.h:
24533         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24534         (gst_element_request_pad), (gst_element_get_pad_from_template),
24535         (gst_element_request_compatible_pad),
24536         (gst_element_get_compatible_pad_filtered),
24537         (gst_element_get_compatible_pad), (gst_element_state_get_name),
24538         (gst_element_link_pads_filtered), (gst_element_link_filtered),
24539         (gst_element_link_many), (gst_element_link),
24540         (gst_element_link_pads), (gst_element_unlink_pads),
24541         (gst_element_unlink_many), (gst_element_unlink),
24542         (gst_pad_can_link_filtered), (gst_pad_can_link),
24543         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24544         (gst_object_default_error), (gst_bin_add_many),
24545         (gst_bin_remove_many), (gst_element_populate_std_props),
24546         (gst_element_class_install_std_props), (gst_buffer_merge),
24547         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24548         (link_fold_func), (gst_pad_proxy_setcaps):
24549         * gst/gstutils.h:
24550         * gst/gstvalue.c: (gst_value_deserialize_string):
24551         * gst/parse/grammar.y:
24552         * gst/schedulers/gstbasicscheduler.c:
24553         (gst_basic_scheduler_cothreaded_chain),
24554         (gst_basic_scheduler_chain_recursive_add),
24555         (gst_basic_scheduler_pad_link):
24556         * gst/schedulers/gstoptimalscheduler.c:
24557         (get_group_schedule_function),
24558         (gst_opt_scheduler_state_transition),
24559         (gst_opt_scheduler_add_element), (element_get_reachables_func):
24560         * libs/gst/bytestream/bytestream.c:
24561         * libs/gst/dataprotocol/dataprotocol.c:
24562         (gst_dp_header_from_buffer):
24563         * po/nb.po:
24564         * po/ru.po:
24565         * tests/threadstate/threadstate2.c: (eos):
24566         * tools/gst-compprep.c: (main):
24567         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24568         (print_pad_info), (print_children_info):
24569         * tools/gst-launch.c: (idle_func), (main):
24570         * tools/gst-md5sum.c: (idle_func), (main):
24571         * tools/gst-xmlinspect.c: (print_element_info):
24572         First THREADED backport attempt, focusing on adding locks and
24573         making sure the API is threadsafe. Needs more work. More docs
24574         follow this week.
24575
24576 2005-02-24  Andy Wingo  <wingo@pobox.com>
24577
24578         * tests/bench-complexity.scm:
24579         * tests/complexity.gnuplot: New files, good for running complexity
24580         benchmarks.
24581
24582         * tests/Makefile.am:
24583         * tests/complexity.c: New test, sets up N elements, at each level
24584         teeing into M streams per element. Eeeenteresting.
24585
24586         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24587         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24588         running bench-mass_elements.scm.
24589
24590         * tests/bench-mass_elements.scm: New script, runs mass_elements
24591         for various numbers of identities, outputting the results to a
24592         file. Requires guile 1.6. Just for testing.
24593
24594 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24595
24596         * gst/schedulers/fairscheduler.c:
24597           compile with debug disabled
24598
24599 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24600
24601         * configure.ac:
24602           hunting season on 0.9 is now OPEN