gst/gstiterator.c: Fix revision data.
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-09  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstiterator.c:
4         Fix revision data.
5
6         * gst/gsttask.c:
7         * gst/gsttask.h:
8         Fix docs.
9
10 2005-11-09  Wim Taymans  <wim@fluendo.com>
11
12         * gst/gstevent.h:
13         * gst/gsturi.h:
14         Fix docs.
15
16 2005-11-09  Wim Taymans  <wim@fluendo.com>
17
18         * docs/gst/gstreamer-sections.txt:
19         Moved the message async delivery private lock and cond
20         to the private section.
21
22         * gst/gstmessage.c:
23         * gst/gstmessage.h:
24         Fixed docs.
25
26 2005-11-09  Edward Hervey  <edward@fluendo.com>
27
28         * docs/gst/gstreamer-sections.txt:
29         * gst/gsturi.c:
30         * gst/gsturi.h:
31         Document GstURIHandler
32
33 2005-11-09  Wim Taymans  <wim@fluendo.com>
34
35         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
36         (gst_iterator_find_custom):
37         * gst/gstiterator.h:
38         Fix iterator docs.
39
40 2005-11-09  Wim Taymans  <wim@fluendo.com>
41
42         * gst/gstbin.h:
43         Document another field.
44
45         * gst/gststructure.c:
46         * gst/gststructure.h:
47         Document.
48
49 2005-11-09  Wim Taymans  <wim@fluendo.com>
50
51         * gst/gstbin.h:
52         Documented structs.
53
54 2005-11-09  Wim Taymans  <wim@fluendo.com>
55
56         * docs/gst/gstreamer-sections.txt:
57         Added some new macros.
58
59         * gst/gstclock.c:
60         * gst/gstclock.h:
61         * gst/gstobject.h:
62         Docs updates.
63
64 2005-11-09  Wim Taymans  <wim@fluendo.com>
65
66         * docs/design/part-TODO.txt:
67         Some more items for the TODO
68
69         * gst/gstcaps.c:
70         * gst/gstcaps.h:
71         Document GstCaps.
72
73 2005-11-09  Andy Wingo  <wingo@pobox.com>
74
75         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
76         to work on something else now tho...
77
78         * gst/base/gstadapter.c: More adapter docs.
79
80         * gst/elements/gstfilesink.c (gst_file_sink_start) 
81         (gst_file_sink_stop): New functions, replace the state change
82         handler.
83         (gst_file_sink_class_init): Hook up the start and stop functions.
84         (gst_file_sink_base_init): Don't set the state change handler any
85         more. It was a bit ugly too, being set from here...
86         (gst_file_sink_get_property, gst_file_sink_set_property):
87         Cleanups...
88         (gst_file_sink_set_location): More robust check that doesn't call
89         GST_STATE. Ugggggg.
90
91 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
92
93         * gst/base/gstbasetransform.c: (gst_base_transform_event):
94           Hold STREAM_LOCK while pushing newsegment or tag events as well.
95
96 2005-11-08  Wim Taymans  <wim@fluendo.com>
97
98         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
99         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
100         (gst_base_sink_chain), (gst_base_sink_change_state):
101         * gst/base/gstbasesink.h:
102         * gst/base/gstbasesrc.h:
103         * gst/gstelement.h:
104         * gst/gstevent.h:
105         Avoid excessive typechecking in macros.
106
107         * gst/gstminiobject.c: (gst_mini_object_get_type),
108         (gst_mini_object_init), (gst_mini_object_new),
109         (gst_mini_object_free):
110         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
111         (gst_object_finalize):
112         Remove cruft code, optimize alloc_trace.
113
114 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
115
116         * docs/faq/gst-uninstalled:
117           fix up PS1 for systems that try to reset it
118
119 2005-11-07  Wim Taymans  <wim@fluendo.com>
120
121         * gst/base/gstbasesrc.c: (gst_base_src_init),
122         (gst_base_src_get_range):
123         Set the segment_end to -1 initially. Fixed typefind.
124
125 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
126
127         * gst/base/gstadapter.c:
128           Debug category should be 'adapter', not 'GstAdapter'.
129           
130         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
131         (gst_collectpads_class_init), (gst_collectpads_init),
132         (gst_collectpads_peek), (gst_collectpads_pop),
133         (gst_collectpads_event), (gst_collectpads_chain):
134           Add debug category and some debugging output. Use boilerplate
135           macros. Remove some extraneous words from docs.
136
137 2005-11-05  Andy Wingo  <wingo@pobox.com>
138
139         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
140         macro.
141
142 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
143
144         * docs/gst/gstreamer-sections.txt:
145         * gst/gstcaps.h:
146         * gst/gstinfo.c:
147         * gst/gstminiobject.h:
148         * gst/gstobject.h:
149         * gst/gstutils.h:
150           more docs added
151
152 2005-11-04  Wim Taymans  <wim@fluendo.com>
153
154         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
155         Small update to stop at the configured segment_end
156         position.
157
158 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
159
160         * gst/gstregistry.c:
161         * gst/gstregistry.h:
162           added missing docs
163
164 2005-11-04  Edward Hervey  <edward@fluendo.com>
165
166         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
167         Check if we are doing a segment seek and have arrived at the
168         end of that segment.
169
170 2005-11-04  Wim Taymans  <wim@fluendo.com>
171
172         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
173         Don't leak a mutex unlock in case of an error.
174
175         * gst/gstbus.h:
176         Doc fixes.
177
178 2005-11-04  Wim Taymans  <wim@fluendo.com>
179
180         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
181         (gst_bus_post):
182         Get the context to wake up only once.
183
184 2005-11-03  Wim Taymans  <wim@fluendo.com>
185
186         * check/states/sinks.c: (GST_START_TEST):
187         Uncomment fixed check.
188
189         * docs/design/part-TODO.txt:
190         Updated TODO.
191
192         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
193         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
194         (gst_base_sink_get_position):
195         If we are going to PLAYING, post the right pending state
196         when we post the intermediate paused message.
197
198         * gst/gstelement.c: (gst_element_continue_state),
199         (gst_element_set_state_func), (gst_element_change_state):
200         Don't post state changes that were between the same state
201         and were not ASYNC.
202
203 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
204
205         * docs/gst/gstreamer-sections.txt:
206         * gst/gstcaps.h:
207         * gst/gstinfo.c:
208         * gst/gstminiobject.h:
209         * gst/gstobject.h:
210         * gst/gstutils.h:
211           more docs and doc style fixes
212
213 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
214
215         * docs/gst/gstreamer-sections.txt:
216         * gst/gstelement.c:
217         * gst/gstminiobject.c:
218         doc fixes
219
220 2005-11-03  Andy Wingo  <wingo@pobox.com>
221
222         * check/states/sinks.c (test_livesrc_sink): Add checks that the
223         state-changed messages actually have the right order and the right
224         values.
225
226 2005-11-03  Wim Taymans  <wim@fluendo.com>
227
228         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
229         Added some more checks. Specifically the case where NO_PREROLL
230         elements are in the pipeline.
231
232         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
233         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
234         (gst_base_sink_get_position):
235         Post READY->PAUSED state change messages too.
236         Fix bug where VOID was posted as pending state...
237
238         * gst/gstbin.c: (gst_bin_recalc_state):
239         use _element_continue_state() to continue the state change.
240
241         * gst/gstelement.c: (gst_element_continue_state),
242         (gst_element_commit_state), (gst_element_set_state_func),
243         (gst_element_change_state), (gst_element_change_state_func):
244         Lots of state change cleanups, assign the STATE_RETURN in
245         a new continue_state() function that also propagates the
246         last return value from a state change to the app.
247         Update some debug statements with proper category.
248
249 2005-11-03  Wim Taymans  <wim@fluendo.com>
250
251         * docs/design/part-events.txt:
252         * docs/design/part-gstpipeline.txt:
253         * docs/design/part-messages.txt:
254         * docs/design/part-overview.txt:
255         * docs/design/part-seeking.txt:
256         * docs/design/part-states.txt:
257         * docs/design/part-trickmodes.txt:
258         * docs/manual/advanced-position.xml:
259         Small docs updates.
260
261         * gst/gstobject.h:
262         People think !! is ugly, this looks better.
263
264         * gst/gstpad.c: (gst_pad_set_blocked_async):
265         Remove !! since it's fixed elsewhere now.
266
267 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
268
269         * gst/gstminiobject.h:
270         * gst/gstobject.h:
271           Add !! to _FLAG_IS_SET macros to make the result boolean.
272
273 2005-11-03  Edward Hervey  <edward@fluendo.com>
274
275         * gst/gstpad.c: (gst_pad_set_blocked_async):
276         comparing a flag and a gboolean rarely returns coherent results...
277         Added two characters (!!) to make that work correctly.
278         
279 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
280
281         * gst/gstbus.c: (gst_bus_class_init):
282           Fix some typos.
283           
284         * gst/gstqueue.c: (gst_queue_loop):
285           Don't assume a miniobject that isn't a buffer is an
286           event (it could be that there is a refcounting
287           problem somewhere and the pointer is stale and
288           refers to an already destroyed miniobject).
289
290 2005-11-03  Julien MOUTTE  <julien@moutte.net>
291
292         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
293
294 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
295
296         * docs/manual/advanced-position.xml:
297           Update seek example and explanations to current 0.9 API.
298
299         * gst/elements/gsttypefindelement.c:
300         (gst_type_find_element_activate):
301           Remove FIXME comment now that the found caps
302           are unreffed.
303
304 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
305
306         * gst/gstregistryxml.c: (load_feature):
307           Add another GST_STR_NULL instance
308
309 2005-11-02  Edward Hervey  <edward@fluendo.com>
310
311         * gst/gstpad.c: (handle_pad_block):
312         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
313         
314 2005-11-02  Wim Taymans  <wim@fluendo.com>
315
316         * gst/gstbin.c:
317         Fix typo in docs.
318
319         * gst/gstelement.c: (gst_element_commit_state):
320         Remove unused value.
321
322         * gst/gstiterator.c:
323         Mention that the returned element is reffed in the docs.
324
325 2005-11-02  Wim Taymans  <wim@fluendo.com>
326
327         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
328         (gst_pad_push), (gst_pad_push_event):
329         Unlock blocked pads when they are flushed.
330
331 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
332
333         * docs/README:
334         * docs/gst/gstreamer-sections.txt:
335         * gst/gstbin.c:
336           doc updates
337         * gst/gstregistry.c: (gst_registry_scan_path_level):
338           fix for a nasty little missed situation where an installed plug-in
339           which was in the cache did not get overridden by an uninstalled one
340           which was earlier in the plugin path because the newly created plugin
341           for the uninstalled one (not in the registry) didn't get its
342           ->registered set to TRUE
343
344 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
345
346         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
347         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
348         (gst_collectpads_is_active), (gst_collectpads_collect),
349         (gst_collectpads_collect_range), (gst_collectpads_start),
350         (gst_collectpads_stop), (gst_collectpads_peek),
351         (gst_collectpads_pop), (gst_collectpads_available),
352         (gst_collectpads_read), (gst_collectpads_flush):
353           Guard public API with assertions.
354         
355         * gst/gstpad.c:
356           Fix docs for gst_pad_set_link_function().
357
358 2005-11-02  Johan Dahlin  <johan@gnome.org>
359
360         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
361         Unref found_caps after we used it.
362
363 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
364
365         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
366           Don't try to ref NULL.
367
368 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
369
370         * win32/common/config.h.in:
371           provide a GST_FUNCTION that just gives a string for now
372
373 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
374
375         * win32/common/gstenumtypes.c: (register_gst_object_flags),
376         (gst_object_flags_get_type), (register_gst_bin_flags),
377         (gst_bin_flags_get_type), (register_gst_buffer_flag),
378         (gst_buffer_flag_get_type), (register_gst_bus_flags),
379         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
380         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
381         (gst_clock_return_get_type), (register_gst_clock_entry_type),
382         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
383         (gst_clock_flags_get_type), (register_gst_state),
384         (gst_state_get_type), (register_gst_state_change_return),
385         (gst_state_change_return_get_type), (register_gst_state_change),
386         (gst_state_change_get_type), (register_gst_element_flags),
387         (gst_element_flags_get_type), (register_gst_core_error),
388         (gst_core_error_get_type), (register_gst_library_error),
389         (gst_library_error_get_type), (register_gst_resource_error),
390         (gst_resource_error_get_type), (register_gst_stream_error),
391         (gst_stream_error_get_type), (register_gst_event_type),
392         (gst_event_type_get_type), (register_gst_seek_type),
393         (gst_seek_type_get_type), (register_gst_seek_flags),
394         (gst_seek_flags_get_type), (register_gst_format),
395         (gst_format_get_type), (register_gst_index_certainty),
396         (gst_index_certainty_get_type), (register_gst_index_entry_type),
397         (gst_index_entry_type_get_type),
398         (register_gst_index_lookup_method),
399         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
400         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
401         (gst_index_resolver_method_get_type), (register_gst_index_flags),
402         (gst_index_flags_get_type), (register_gst_debug_level),
403         (gst_debug_level_get_type), (register_gst_debug_color_flags),
404         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
405         (gst_iterator_result_get_type), (register_gst_iterator_item),
406         (gst_iterator_item_get_type), (register_gst_message_type),
407         (gst_message_type_get_type), (register_gst_mini_object_flags),
408         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
409         (gst_pad_link_return_get_type), (register_gst_flow_return),
410         (gst_flow_return_get_type), (register_gst_activate_mode),
411         (gst_activate_mode_get_type), (register_gst_pad_direction),
412         (gst_pad_direction_get_type), (register_gst_pad_flags),
413         (gst_pad_flags_get_type), (register_gst_pad_presence),
414         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
415         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
416         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
417         (gst_plugin_error_get_type), (register_gst_plugin_flags),
418         (gst_plugin_flags_get_type), (register_gst_rank),
419         (gst_rank_get_type), (register_gst_query_type),
420         (gst_query_type_get_type), (register_gst_tag_merge_mode),
421         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
422         (gst_tag_flag_get_type), (register_gst_task_state),
423         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
424         (gst_alloc_trace_flags_get_type),
425         (register_gst_type_find_probability),
426         (gst_type_find_probability_get_type), (register_gst_uri_type),
427         (gst_uri_type_get_type), (register_gst_parse_error),
428         (gst_parse_error_get_type):
429         * win32/common/gstversion.h:
430           update win32 copies
431
432 2005-11-01  Luca Ognibene  <luogni@tin.it>
433
434         * gst/gst.c:
435           fix docs. popt is dead, long live GOption.
436
437 2005-10-31  Wim Taymans  <wim@fluendo.com>
438
439         * gst/gstbuffer.h:
440         Small doc fix.
441
442 2005-10-31  Andy Wingo  <wingo@pobox.com>
443
444         * Boo!
445
446         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
447
448         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
449         need to serialize property notifications on GLib 2.8. GLib 2.6 has
450         the possibility of deadlocks here if code calling notify() or
451         set() has a lock that can be taken in another notify handler (ABBA
452         with class lock and e.g. python GIL state lock).
453
454 2005-10-28  Julien MOUTTE  <julien@moutte.net>
455
456         * gst/gstbus.c: Doc updates.
457
458 2005-10-28  Wim Taymans  <wim@fluendo.com>
459
460         * docs/design/part-TODO.txt:
461         * gst/gstiterator.c:
462         * gst/gstsystemclock.c:
463         * gst/gstsystemclock.h:
464         Doc updates.
465
466 2005-10-28  Edward Hervey  <edward@fluendo.com>
467
468         * docs/gst/gstreamer-docs.sgml:
469         * docs/gst/gstreamer-sections.txt:
470         the GstURIType documentation page is private, it only defines GstURIType
471         which should be defined in the GstURIHandler page
472         
473 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
474
475         * gst/gstbin.c: (gst_bin_class_init):
476         * gst/gstbin.h:
477         * gst/gstutils.c:
478         Documentation updates.
479
480 2005-10-28  Wim Taymans  <wim@fluendo.com>
481
482         * docs/gst/gstreamer-sections.txt:
483         * gst/gstclock.c:
484         * gst/gstclock.h:
485         Documented the clocks.
486
487 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
488
489         * docs/gst/gstreamer-sections.txt:
490           move some macros to private sections
491         * gst/gstminiobject.c:
492         * gst/gstminiobject.h:
493           add descriptions provided by ds and some more
494         * gst/gstpad.h:
495           mark macro as to be removed
496
497 2005-10-28  Wim Taymans  <wim@fluendo.com>
498
499         * docs/design/part-TODO.txt:
500         Add an item to TODO.
501
502         * gst/gstiterator.c: (gst_iterator_fold),
503         (gst_iterator_find_custom):
504         * gst/gstiterator.h:
505         Add iterator docs.
506
507 2005-10-28  Wim Taymans  <wim@fluendo.com>
508
509         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
510         (gst_base_transform_init):
511         Don't leak class.
512
513         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
514         An EOS event marks the queue as completely filled.
515
516 2005-10-27  Wim Taymans  <wim@fluendo.com>
517
518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
519         (gst_base_sink_do_sync), (gst_base_sink_get_position):
520         Some more debugging.
521
522         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
523         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
524         (gst_base_transform_event), (gst_base_transform_getrange),
525         (gst_base_transform_chain):
526         * gst/base/gstbasetransform.h:
527         Fix debugging,
528         Protect transform and concurrent buffer alloc with a new lock.
529         Try not to break ABI/API.
530
531 2005-10-27  Wim Taymans  <wim@fluendo.com>
532
533         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
534         (gst_base_src_init), (gst_base_src_query),
535         (gst_base_src_default_newsegment),
536         (gst_base_src_configure_segment), (gst_base_src_do_seek),
537         (gst_base_src_send_event), (gst_base_src_event_handler),
538         (gst_base_src_pad_get_range), (gst_base_src_loop),
539         (gst_base_src_unlock), (gst_base_src_default_negotiate),
540         (gst_base_src_start), (gst_base_src_deactivate),
541         (gst_base_src_activate_push), (gst_base_src_change_state):
542         Move some stuff around and cleanup things.
543
544 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
545
546         * gst/base/gstbasesrc.c: (gst_base_src_query):
547           Add missing break statements.
548
549 2005-10-27  Wim Taymans  <wim@fluendo.com>
550
551         * check/gst/gstbin.c: (GST_START_TEST):
552         An extra refcount is taken in basesrc.
553
554         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
555         (gst_base_src_get_range), (gst_base_src_pad_get_range),
556         (gst_base_src_loop):
557         Small cleanups, check for flushing after being unlocked from the 
558         LIVE_LOCK. take refcounts correctly (not yet everywhere).
559         Don't send out EOS when going to READY.
560
561 2005-10-27  Wim Taymans  <wim@fluendo.com>
562
563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
564         (gst_base_sink_get_position):
565         Some more debug.
566
567         * gst/gstbin.c: (message_check), (bin_replace_message),
568         (bin_remove_messages), (is_eos), (gst_bin_add_func),
569         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
570         (bin_query_duration_init), (bin_query_duration_fold),
571         (bin_query_duration_done), (bin_query_generic_fold),
572         (gst_bin_query):
573         * tools/gst-launch.c: (main):
574         Remove old option.
575
576 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
577
578         * examples/controller/audio-example.c: (main):
579         * examples/queue/queue.c: (event_loop):
580         * gst/base/gstbasetransform.h:
581         * gst/gstelement.c: (gst_element_send_event):
582         * gst/gstevent.h:
583         * gst/gstpad.c: (gst_pad_send_event):
584           fixing examples
585           fixing docs typos
586           changing log priority in error situations
587
588 2005-10-25  Wim Taymans  <wim@fluendo.com>
589
590         * gst/gstbin.c: (message_check), (bin_replace_message),
591         (bin_remove_messages), (is_eos), (gst_bin_add_func),
592         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
593         (bin_query_duration_init), (bin_query_duration_fold),
594         (bin_query_duration_done), (bin_query_generic_fold),
595         (gst_bin_query):
596         Some doc and debug updates.
597         Cache previously requested query DURATION for speed. invalidate
598         cached duration if element posts a DURATION message.
599
600 2005-10-25  Wim Taymans  <wim@fluendo.com>
601
602         * docs/design/part-TODO.txt:
603         Update TODO.
604
605         * gst/gstbin.c: (message_check), (bin_replace_message),
606         (bin_remove_messages), (is_eos), (gst_bin_add_func),
607         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
608         (bin_query_duration_init), (bin_query_duration_fold),
609         (bin_query_duration_done), (bin_query_generic_fold),
610         (gst_bin_query):
611         Handle SEGMENT_START/DONE messages correctly.
612         More evolved query algorithm that handles duration queries
613         correctly.
614
615         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
616         (gst_element_get_state_func), (gst_element_abort_state),
617         (gst_element_commit_state), (gst_element_lost_state):
618         Some more debugging.
619
620         * gst/gstmessage.h:
621         Added doc.
622
623 2005-10-25  Wim Taymans  <wim@fluendo.com>
624
625         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
626         Don't use invalid stream_time.
627
628         * gst/gstevent.c: (gst_event_new_newsegment):
629         stream_time in newsegment cannot be undefined.
630
631 2005-10-24  Wim Taymans  <wim@fluendo.com>
632
633         * gst/gstbus.c:
634         Doc fix.
635
636         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
637         (gst_queue_loop):
638         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
639
640 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
641
642         * docs/libs/tmpl/gstdparam.sgml:
643         * docs/libs/tmpl/gstdplinint.sgml:
644         * docs/libs/tmpl/gstdpman.sgml:
645         * docs/libs/tmpl/gstdpsmooth.sgml:
646         * docs/libs/tmpl/gstunitconvert.sgml:
647           these are obsolete
648
649 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
650
651         * configure.ac:
652           back to HEAD
653
654 === release 0.9.4 ===
655
656 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
657
658         * configure.ac:
659           releasing 0.9.4, "Tyrannosaurus Rex"
660
661 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
662
663         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
664         (gst_file_sink_get_current_offset):
665           Use fseeko() and ftello() if available. When falling back on
666           lseek() to get the current offset, fflush() first to make sure
667           everything is up-to-date and we get the right offset.
668
669 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
670
671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
672         * gst/base/gstbasesrc.c: (gst_base_src_loop):
673         * gst/gsterror.c: (_gst_stream_errors_init):
674         * gst/gsterror.h:
675         * gst/gstqueue.c: (gst_queue_loop):
676         * po/POTFILES.in:
677           remove prematurely added error category and clean up the instances
678
679 2005-10-21  Wim Taymans  <wim@fluendo.com>
680
681         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
682         (gst_base_sink_get_position), (gst_base_sink_query),
683         (gst_base_sink_change_state):
684         Simply set the right flag when going to playing, that's all
685         we need to do instead of calling a function inside the object
686         lock (that could take the lock as well and deadlock)
687
688 2005-10-21  Wim Taymans  <wim@fluendo.com>
689
690         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
691         (gst_base_src_loop):
692         Don't warn, the peer element knows what to do best when
693         the seek failed, it might try something else.
694
695 2005-10-21  Wim Taymans  <wim@fluendo.com>
696
697         * gst/base/gstbasesrc.c: (gst_base_src_init),
698         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
699         Fix seeking.
700
701 2005-10-21  Wim Taymans  <wim@fluendo.com>
702
703         * docs/design/part-segments.txt:
704         More docs.
705
706         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
707         Correctly set caps, even on the subbufer.
708
709 2005-10-21  Wim Taymans  <wim@fluendo.com>
710
711         * docs/gst/gstreamer-docs.sgml:
712         * docs/gst/gstreamer-sections.txt:
713         * gst/gstelement.h:
714         * gst/gstevent.c:
715         * gst/gstevent.h:
716         * gst/gstmessage.h:
717         * gst/gstpad.h:
718         * gst/gstparse.h:
719         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
720         * gst/gsttask.h:
721         * gst/gstutils.c:
722         * gst/gstutils.h:
723         And 2% more doc coverage.
724
725 2005-10-21  Andy Wingo  <wingo@pobox.com>
726
727         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
728         position reporting.
729
730 2005-10-20  Wim Taymans  <wim@fluendo.com>
731
732         * gst/gsterror.c: (gst_error_get_message):
733         * gst/gstparse.h:
734         * gst/gstquery.h:
735         * gst/gststructure.c:
736         * gst/gsttrace.c:
737         * gst/gstutils.c:
738         More docs.
739
740 2005-10-20  Wim Taymans  <wim@fluendo.com>
741
742         * gst/gstbuffer.h:
743         * gst/gstpad.c:
744         * gst/gstparse.c:
745         Another 1% more coverage.
746
747 2005-10-20  Wim Taymans  <wim@fluendo.com>
748
749         * docs/gst/gstreamer-sections.txt:
750         * gst/gstelement.c: (gst_element_get_state_func),
751         (gst_element_abort_state), (gst_element_commit_state),
752         (gst_element_lost_state):
753         * gst/gstevent.h:
754         * gst/gstquery.c: (gst_query_set_position),
755         (gst_query_parse_position), (gst_query_set_duration),
756         (gst_query_parse_duration), (gst_query_new_convert):
757         * gst/gstutils.c:
758         Yay! 1% more docs coverage.
759
760 2005-10-20  Wim Taymans  <wim@fluendo.com>
761
762         * gst/gstpad.h:
763         * gst/gstquery.c: (gst_query_set_position),
764         (gst_query_parse_position), (gst_query_set_duration),
765         (gst_query_parse_duration), (gst_query_new_convert):
766         * gst/gstquery.h:
767         * gst/gstutils.c: (gst_element_query_convert):
768         * gst/gstutils.h:
769         Docs and consistency fixes.
770
771 2005-10-20  Wim Taymans  <wim@fluendo.com>
772
773         * gst/gsttask.c:
774         * gst/gsttask.h:
775         More docs.
776
777 2005-10-20  Wim Taymans  <wim@fluendo.com>
778
779         * gst/gstbin.c: (message_check), (bin_replace_message),
780         (bin_remove_messages), (is_eos), (gst_bin_add_func),
781         (update_degree), (gst_bin_sort_iterator_next),
782         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
783         Reworked the message handling a bit, cache the messages instead of
784         only the senders. alows us to do more in the future.
785
786 2005-10-20  Wim Taymans  <wim@fluendo.com>
787
788         * docs/design/part-TODO.txt:
789         Update TODO
790
791         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
792         (gst_base_sink_query):
793         Don't use clock time to report position when in EOS.
794
795 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
796
797         * tools/gst-inspect.c: (print_interfaces),
798         (print_element_properties_info), (print_element_info):
799           Fix interface output with gst-inspect -a; don't print
800           newlines after double/float properties.
801
802 2005-10-20  Wim Taymans  <wim@fluendo.com>
803
804         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
805         (gst_base_sink_query):
806         Speed up current position calculation.
807
808         * gst/base/gstbasesrc.c: (gst_base_src_query),
809         (gst_base_src_default_newsegment):
810         Correctly set stream position in newsegment.
811
812         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
813         (update_degree), (gst_bin_sort_iterator_next),
814         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
815         * gst/gstmessage.c: (gst_message_new_custom):
816         Clean up debugging info
817
818         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
819         (gst_queue_loop), (gst_queue_handle_src_query):
820         Pause task faster.
821
822 2005-10-19  Wim Taymans  <wim@fluendo.com>
823
824         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
825         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
826         Fix query handling again.
827
828 2005-10-19  Wim Taymans  <wim@fluendo.com>
829
830         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
831         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
832         * gst/base/gstbasesrc.c: (gst_base_src_query):
833         * gst/elements/gstfilesink.c: (gst_file_sink_query):
834         * gst/elements/gsttypefindelement.c:
835         (gst_type_find_handle_src_query), (find_element_get_length),
836         (gst_type_find_element_activate):
837         API change fix.
838
839         * gst/gstquery.c: (gst_query_new_position),
840         (gst_query_set_position), (gst_query_parse_position),
841         (gst_query_new_duration), (gst_query_set_duration),
842         (gst_query_parse_duration), (gst_query_set_segment),
843         (gst_query_parse_segment):
844         * gst/gstquery.h:
845         Bundling query position/duration is not a good idea since duration
846         does not change much and we don't want to recalculate it for every
847         position query, so they are separated again..
848         Base value in segment query is not needed.
849
850         * gst/gstqueue.c: (gst_queue_handle_src_query):
851         * gst/gstutils.c: (gst_element_query_position),
852         (gst_element_query_duration), (gst_pad_query_position),
853         (gst_pad_query_duration):
854         * gst/gstutils.h:
855         Updates for query API change.
856         Added some docs here and there.
857
858 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
859
860         * check/gst/gstbin.c: (GST_START_TEST):
861         * check/gst/gstghostpad.c: (GST_START_TEST):
862         * check/pipelines/cleanup.c: (GST_START_TEST):
863           wait on thread to die so we can check refcount correctly
864
865 2005-10-18  Wim Taymans  <wim@fluendo.com>
866
867         * check/pipelines/stress.c: (GST_START_TEST):
868         Make check a little more time consuming.
869
870 2005-10-18  Wim Taymans  <wim@fluendo.com>
871
872         * check/Makefile.am:
873         * check/pipelines/stress.c: (GST_START_TEST),
874         (simple_launch_lines_suite), (main):
875         Small state change torture test.
876
877         * docs/design/part-states.txt:
878         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
879         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
880         (gst_base_sink_change_state):
881         Never take state lock from streaming thread, clean up ugly
882         hacks. Unfortunatly core does not yet support nice ways to
883         async commit state.
884         
885         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
886         (bin_bus_handler):
887         Start state recalc if a STATE_DIRTY message is posted, but only
888         on the toplevel bin.
889
890         * gst/gstelement.c: (gst_element_sync_state_with_parent),
891         (gst_element_get_state_func), (gst_element_abort_state),
892         (gst_element_commit_state), (gst_element_lost_state),
893         (gst_element_set_state_func), (gst_element_change_state):
894         * gst/gstelement.h:
895         State variables are now protected with the LOCK, the state
896         lock is only used to serialize _set_state().
897
898 2005-10-18  Wim Taymans  <wim@fluendo.com>
899
900         * check/gst/gstbin.c: (GST_START_TEST):
901         * check/gst/gstmessage.c: (GST_START_TEST):
902         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
903         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
904         (bin_bus_handler):
905         * gst/gstelement.c: (gst_element_abort_state),
906         (gst_element_commit_state), (gst_element_lost_state):
907         * gst/gstmessage.c: (gst_message_new_state_changed),
908         (gst_message_new_state_dirty), (gst_message_new_segment_start),
909         (gst_message_new_segment_done), (gst_message_new_duration),
910         (gst_message_parse_state_changed),
911         (gst_message_parse_segment_start),
912         (gst_message_parse_segment_done), (gst_message_parse_duration):
913         * gst/gstmessage.h:
914         * tools/gst-launch.c: (event_loop):
915         Seriously, this is better than a previous commit as we only need
916         to notify the fact that an element changed state in a streaming
917         thread, marking the state of the parents dirty, hence the 
918         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
919         message.
920
921 2005-10-18  Wim Taymans  <wim@fluendo.com>
922
923         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
924         (gst_bin_recalc_func):
925         * gst/gstelement.c: (gst_element_set_clock),
926         (gst_element_abort_state), (gst_element_lost_state):
927         Cleanups, prepare for state change fixes.
928
929 2005-10-18  Wim Taymans  <wim@fluendo.com>
930
931         * gst/gstbin.h:
932         * gst/gstelement.c: (gst_element_class_init),
933         (gst_element_set_state), (gst_element_set_state_func):
934         * gst/gstelement.h:
935         Pending ABI changes.
936         GThreadPool in GstBinClass to monitor async state changes.
937         state_cookie in GstElement to detect concurrent gst/set state.
938         set_state is now virtual too in case a very complicated element
939         has to be constructed.
940
941 2005-10-18  Wim Taymans  <wim@fluendo.com>
942
943         * check/gst/gstbin.c: (GST_START_TEST):
944         * check/gst/gstmessage.c: (GST_START_TEST):
945         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
946         * gst/gstbin.c: (bin_bus_handler):
947         * gst/gstelement.c: (gst_element_commit_state),
948         (gst_element_lost_state):
949         * gst/gstmessage.c: (gst_message_new_state_changed),
950         (gst_message_new_segment_start), (gst_message_new_segment_done),
951         (gst_message_new_duration), (gst_message_parse_state_changed),
952         (gst_message_parse_segment_start),
953         (gst_message_parse_segment_done), (gst_message_parse_duration):
954         * gst/gstmessage.h:
955         * tools/gst-launch.c: (event_loop):
956         Make messages future proof.
957         state-change gets a flag if it was a message comming from the
958         streaming thread.
959         segment-start/stop can also be specified in other formats.
960         A message to notify an app that a pipeline changed playback 
961         duration.
962         Also fix a GstMessage leak in -launch
963
964 2005-10-18  Andy Wingo  <wingo@pobox.com>
965
966         * gst/gstelement.c (gst_element_dispose): More helpful message.
967
968 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
969
970         * gst/gstregistry.c: (gst_registry_scan_path_level):
971           unref a plug-in we get that was already initialized
972
973 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
974
975         * docs/gst/gstreamer-sections.txt:
976         * docs/libs/gstreamer-libs-sections.txt:
977         * gst/gstelement.h:
978           add new api entries
979           hide internal macro
980
981 2005-10-17  Andy Wingo  <wingo@pobox.com>
982
983         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
984         cleanup.
985
986         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
987
988         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
989
990         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
991         (gst_element_get_state_func): Better debug message.
992         (gst_element_commit_state): s/INFO/DEBUG/.
993         (gst_element_lost_state, gst_element_change_state): 
994
995         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
996         (gst_message_new_custom): s/INFO/LOG/.
997
998 2005-10-17  Michael Smith <msmith@fluendo.com>
999
1000         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1001           Check if end time is valid using end time, not start time.
1002
1003 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
1004
1005         * check/gst-libs/controller.c: (GST_START_TEST),
1006         (gst_controller_suite):
1007         * libs/gst/controller/gstcontroller.c:
1008         (gst_controlled_property_set_interpolation_mode):
1009         * libs/gst/controller/gstcontroller.h:
1010         * libs/gst/controller/gstinterpolation.c:
1011         * testsuite/controller/.cvsignore:
1012         * testsuite/controller/Makefile.am:
1013         * testsuite/controller/interpolator.c:
1014           merge controller testsuites
1015           fix broken tests
1016           remove mem-chunk from docs
1017
1018 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1019
1020         * gst/gstmemchunk.c:
1021         * gst/gstmemchunk.h:
1022         * gst/gsttrashstack.c:
1023         * gst/gsttrashstack.h:
1024           out.  get out.  you're fired.  to the Attic !
1025
1026 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1027
1028         * gst/gstcaps.c: (gst_caps_intersect):
1029           fix signedness issues in a (hopefully) correct way
1030         * gst/gstelement.c: (gst_element_pads_activate):
1031           some debugging
1032         * gst/gstobject.c: (gst_object_set_parent):
1033           some debugging
1034
1035 2005-10-17  Julien MOUTTE  <julien@moutte.net>
1036
1037         * gst/gstvalue.h: Fix prototypes.
1038
1039 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1040
1041         * docs/gst/gstreamer-sections.txt:
1042         * gst/gst.c: (gst_version_string):
1043         * gst/gst.h:
1044         * gst/gstversion.h.in:
1045         * win32/common/libgstreamer.def:
1046           add gst_version_string ()
1047
1048 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1049
1050         * configure.ac:
1051           clean up further
1052         * gst/gst.c: (init_post):
1053         * win32/common/config.h.in:
1054           it's PLUGINDIR now
1055         * gst/gstcaps.c: (gst_caps_intersect):
1056           use gint64, the range could be bigger than a guint
1057
1058 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1059
1060         * gst/gstclock.h:
1061           document potential problem in 2038
1062
1063 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1064
1065         * gst/gstcaps.c: (gst_caps_intersect):
1066           Fix guint j diving under 0
1067
1068 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1069
1070         * configure.ac:
1071         * win32/common/config.h:
1072         * win32/common/config.h.in:
1073           check for process.h, declares getpid() on Windows
1074         * gst/gstinfo.c:
1075           include process.h if we have it
1076         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1077         * gst/gstmemchunk.h:
1078           fix signedness issues
1079         * win32/common/libgstreamer.def:
1080           fix get_type's
1081
1082 2005-10-16  Julien MOUTTE  <julien@moutte.net>
1083
1084         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1085         fix. Because of unsigned ints, caps intersection was going nuts and
1086         trying to access structures with G_MAXUINT index. That fixes
1087         videotestsrc ! ffmpegcolorspace ! fakesink
1088         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1089         consistency.
1090
1091 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1092
1093         * configure.ac:
1094           use the gettext macro
1095         * gst/elements/gstelements.c:
1096         * gst/gst.c:
1097         * gst/indexers/gstindexers.c:
1098           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1099         * win32/common/config.h:
1100           updated config.h
1101         * win32/common/config.h.in:
1102           add the template to generate config.h
1103         * win32/common/gstenumtypes.c:
1104         * win32/common/gstversion.h:
1105           updated copies
1106
1107 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1108
1109         * gst/gst.c: (gst_version):
1110         * gst/gstversion.h.in:
1111           add the nano
1112
1113 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1114
1115         * gst/gstevent.h:
1116           Oops, add missing closing bracket.
1117
1118 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1119
1120         * configure.ac:
1121           use common m4's for argument checking
1122
1123 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1124
1125         * docs/gst/gstreamer-sections.txt:
1126         * gst/gstevent.h:
1127           Add GST_EVENT_TYPE_NAME() macro.
1128
1129 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1130
1131         * gst/gstinfo.c:
1132         * gst/gstpluginfeature.c:
1133         * gst/gsttask.c:
1134           privatize more symbols
1135
1136 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1137
1138         * configure.ac:
1139           add srcdir, builddir includes to GST_ALL_CFLAGS, since
1140           everything that uses GStreamer API should have the includes
1141
1142 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1143
1144         * docs/gst/gstreamer-sections.txt:
1145         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1146         * gst/gstvalue.h:
1147           give each value a _get_type, removes the DATA exports
1148
1149 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1150
1151         * gst/gst.c:
1152         * gst/gst.h:
1153           remove _gst_registry_auto_load, not used anymore
1154         * gst/gstbin.c: (gst_bin_get_type):
1155         * gst/gstbin.h:
1156         * gst/gstelement.c: (gst_element_get_type):
1157         * gst/gstelement.h:
1158         * gst/gstobject.c: (gst_object_get_type):
1159         * gst/gstobject.h:
1160         * gst/gstpad.c: (gst_pad_get_type):
1161         * gst/gstpad.h:
1162           make _get_type functions similar, fixes data export from library
1163
1164 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1165
1166         * configure.ac:
1167           correctly make conditionals
1168         * gst/elements/Makefile.am:
1169         * gst/elements/gstelements.c:
1170           fix typo causing fdsrc not to build
1171
1172 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1173
1174         * testsuite/Makefile.am:
1175         * testsuite/bytestream/.cvsignore:
1176         * testsuite/bytestream/Makefile.am:
1177         * testsuite/bytestream/filepadsink.c:
1178         * testsuite/bytestream/gstbstest.c:
1179         * testsuite/bytestream/test1.c:
1180         * testsuite/bytestream/testfile1:
1181         * testsuite/caps/normalisation.c:
1182         * testsuite/caps/random.c: (main):
1183         * testsuite/cleanup/.cvsignore:
1184         * testsuite/cleanup/Makefile.am:
1185         * testsuite/cleanup/cleanup1.c:
1186         * testsuite/cleanup/cleanup2.c:
1187         * testsuite/cleanup/cleanup3.c:
1188         * testsuite/cleanup/cleanup4.c:
1189         * testsuite/cleanup/cleanup5.c:
1190         * testsuite/controller/interpolator.c:
1191         * testsuite/debug/printf_extension.c: (main):
1192         * testsuite/elements/tee.c:
1193         * testsuite/negotiation/.cvsignore:
1194         * testsuite/negotiation/Makefile.am:
1195         * testsuite/negotiation/pad_link.c:
1196         * testsuite/pad/Makefile.am:
1197         * testsuite/pad/chainnopull.c:
1198         * testsuite/pad/getnopush.c:
1199         * testsuite/pad/link.c:
1200         * testsuite/refcounting/sched.c: (create_pipeline):
1201         * testsuite/registry/Makefile.am:
1202         * testsuite/registry/gst-print-formats.c:
1203         * testsuite/schedulers/.cvsignore:
1204         * testsuite/schedulers/142183-2.c:
1205         * testsuite/schedulers/142183.c:
1206         * testsuite/schedulers/143777-2.c:
1207         * testsuite/schedulers/143777.c:
1208         * testsuite/schedulers/147713.c:
1209         * testsuite/schedulers/147819.c:
1210         * testsuite/schedulers/147894-2.c:
1211         * testsuite/schedulers/147894.c:
1212         * testsuite/schedulers/Makefile.am:
1213         * testsuite/schedulers/group_link.c:
1214         * testsuite/schedulers/queue_link.c:
1215         * testsuite/schedulers/relink.c:
1216         * testsuite/schedulers/unlink.c:
1217         * testsuite/schedulers/unref.c:
1218         * testsuite/schedulers/useless_iteration.c:
1219         * testsuite/states/bin.c:
1220           clean out/remove some stuff from the testsuite directories
1221
1222 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1223
1224         * configure.ac:
1225           check for some headers
1226         * gst/elements/Makefile.am:
1227         * gst/elements/gstelements.c:
1228           don't compile fdsrc without sys/socket.h
1229         * gst/indexers/Makefile.am:
1230         * gst/indexers/gstindexers.c: (plugin_init):
1231           don't compile fileindex without mmap
1232
1233 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1234
1235         * configure.ac:
1236           reorganize
1237           clean up
1238           document more
1239           remove cruft
1240         * check/Makefile.am:
1241         * docs/gst/Makefile.am:
1242         * examples/helloworld/Makefile.am:
1243         * gst/Makefile.am:
1244         * gst/base/Makefile.am:
1245         * gst/check/Makefile.am:
1246         * gst/elements/Makefile.am:
1247         * gst/indexers/Makefile.am:
1248         * gst/parse/Makefile.am:
1249         * libs/gst/controller/Makefile.am:
1250         * libs/gst/dataprotocol/Makefile.am:
1251         * examples/helloworld/helloworld.c: (event_loop):
1252           compile fixes, though it's not being compiled currently
1253
1254 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1255
1256         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1257           Add some simple tests for the new taglist date API.
1258
1259 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1260
1261         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1262         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1263           Beautify 'last-message' output: print 'none' for buffer timestamps
1264           and durations if none is set; improve alignment with next messages.
1265
1266 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
1267
1268         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1269         * gst/gstpluginfeature.h:
1270         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1271         * gst/gstregistry.h:
1272         * docs/gst/gstreamer-sections.txt:
1273           Add new API to check plugin feature version requirements.
1274
1275         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1276           Some basic tests for the above.         
1277
1278 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1279
1280         * gst/gststructure.c: (gst_structure_to_string):
1281           guard against NULL printf - happens when for example
1282           a message structure with GstClock gets serialized
1283
1284 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1285
1286         * gst/base/gstcollectpads.c: (gst_collectpads_event):
1287           Fix presumable copy'n'pasto.
1288
1289 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1290
1291         * gst/elements/gstfakesrc.h:
1292         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1293         * gst/elements/gsttypefindelement.c:
1294           fix some signedness
1295         * gst/elements/gstfilesink.c: (gst_file_sink_render):
1296           I wonder if this could actually write +2GB files before
1297
1298 2005-10-13  Andy Wingo  <wingo@pobox.com>
1299
1300         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1301         Fix Timmeke Waymans bug.
1302         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1303         string of the proper length to gst_caps_from_string. There's a
1304         potential for, before this fix, that this could cause someone
1305         connecting over the network to cause a segfault if the payload is
1306         not NUL-terminated.
1307
1308 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
1309
1310         * docs/design/draft-push-pull.txt:
1311         * docs/design/part-overview.txt:
1312         * docs/random/TODO-pre-0.9:
1313         * docs/random/old/ChangeLog.gstreamer:
1314         * gst/base/gstpushsrc.c:
1315         * gst/gstclock.c:
1316           fixed typos
1317
1318 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1319
1320         * gst/glib-compat.c: (gst_flags_get_first_value):
1321         * gst/glib-compat.h:
1322         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1323         (gst_value_compare_double), (gst_value_serialize_flags):
1324           GLib 2.6 g_flags_get_first_value has a bug that triggers an
1325           infinite loop
1326
1327 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1328
1329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1330         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1331           fix up debugging
1332         * tools/gst-launch.c: (event_loop):
1333           print out clock nicely
1334
1335 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1336
1337         * docs/gst/gstreamer-sections.txt:
1338         * gst/gsttaglist.h:
1339         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1340         (gst_tag_list_get_date_index):
1341           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1342           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1343
1344 2005-10-13  Julien MOUTTE  <julien@moutte.net>
1345
1346         * gst/base/gstcollectpads.c: (gst_collectpads_event),
1347         (gst_collectpads_chain):
1348         * gst/base/gstcollectpads.h: Handle newsegment and store informations
1349         in CollectData.
1350
1351 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
1352
1353         * docs/gst/gstreamer-sections.txt:
1354         * gst/gst.c:
1355         * gst/gsterror.h:
1356         * tools/gst-inspect.c: (main):
1357         * tools/gst-launch.c: (main):
1358         * tools/gst-run.c: (main):
1359         * tools/gst-xmlinspect.c: (main):
1360           fix GOption context leaks
1361           doc fixes
1362
1363 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1364
1365         * gst/gstbus.c:
1366           use HAVE_UNISTD_H
1367         * win32/common/config.h:
1368           update config
1369         * win32/vs6/grammar.dsp:
1370         * win32/vs6/libgstelements.dsp:
1371         * win32/vs6/libgstreamer.dsp:
1372           update vs6 files
1373
1374 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1375
1376         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1377         * gst/base/gstbasesrc.c: (gst_base_src_query):
1378           fix more guint64<->gdouble conversions
1379
1380 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1381
1382         * Makefile.am:
1383           add win32-update target
1384         * win32/common/gstconfig.h:
1385         * win32/common/gstenumtypes.c:
1386         * win32/common/gstenumtypes.h:
1387         * win32/common/gstversion.h:
1388           add files that visual studio can't generate
1389
1390 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1391
1392         * Makefile.am:
1393           add a win32-update target
1394         * configure.ac:
1395
1396 2005-10-12  Wim Taymans  <wim@fluendo.com>
1397
1398         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1399         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1400         * gst/gstelement.c: (gst_element_commit_state),
1401         (gst_element_set_state):
1402         Protect flags with proper lock.
1403         unref provided cached clock in dispose.
1404
1405 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
1406
1407         * gst/gst.c:
1408         * gst/gstminiobject.h:
1409         * gst/gstpad.h:
1410         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1411           removed unused flags from miniobject
1412           doc fixes
1413
1414 2005-10-12  Wim Taymans  <wim@fluendo.com>
1415
1416         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1417         (gst_file_sink_event), (gst_file_sink_render):
1418         Flush before seeking.
1419
1420 2005-10-12  Andy Wingo  <wingo@pobox.com>
1421
1422         * gst/gst.c (gst_init_check): Ignore unknown options, as has
1423         always been the case.
1424
1425 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
1426
1427         * check/gst/gstbin.c: (GST_START_TEST):
1428         * docs/gst/gstreamer-sections.txt:
1429         * gst/base/gstbasesink.c: (gst_base_sink_init):
1430         * gst/base/gstbasesrc.c: (gst_base_src_init),
1431         (gst_base_src_get_range), (gst_base_src_check_get_range),
1432         (gst_base_src_start), (gst_base_src_stop):
1433         * gst/base/gstbasesrc.h:
1434         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1435         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1436         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1437         (bin_bus_handler):
1438         * gst/gstbin.h:
1439         * gst/gstbuffer.h:
1440         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1441         * gst/gstbus.h:
1442         * gst/gstelement.c: (gst_element_is_locked_state),
1443         (gst_element_set_locked_state), (gst_element_commit_state),
1444         (gst_element_set_state):
1445         * gst/gstelement.h:
1446         * gst/gstindex.c: (gst_index_init):
1447         * gst/gstindex.h:
1448         * gst/gstminiobject.h:
1449         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1450         (gst_object_set_parent):
1451         * gst/gstobject.h:
1452         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1453         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1454         * gst/gstpad.h:
1455         * gst/gstpadtemplate.h:
1456         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1457         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1458         * gst/gstpipeline.h:
1459         * gst/indexers/gstfileindex.c: (gst_file_index_load),
1460         (gst_file_index_commit):
1461         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1462         * testsuite/pad/link.c: (gst_test_src_init),
1463         (gst_test_filter_init), (gst_test_sink_init):
1464         * testsuite/states/locked.c: (main):
1465           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1466           moved bitshift from macro to enum definition
1467
1468 2005-10-12  Wim Taymans  <wim@fluendo.com>
1469
1470         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1471         * gst/elements/gstfilesink.c: (gst_file_sink_event),
1472         (gst_file_sink_render):
1473         Some more debugging info.
1474
1475 2005-10-12  Wim Taymans  <wim@fluendo.com>
1476
1477         * docs/design/part-states.txt:
1478         * tools/gst-launch.c: (main):
1479         Some doc updates.
1480         Revert non-intentional change.
1481
1482 2005-10-12  Wim Taymans  <wim@fluendo.com>
1483
1484         * check/gst/gstbin.c: (GST_START_TEST):
1485         * check/gst/gstelement.c: (GST_START_TEST):
1486         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1487         * check/gst/gstghostpad.c: (GST_START_TEST):
1488         * check/gst/gstpipeline.c: (GST_START_TEST):
1489         * check/pipelines/simple_launch_lines.c: (run_pipeline):
1490         * check/states/sinks.c: (GST_START_TEST):
1491         * gst/elements/gsttypefindelement.c: (stop_typefinding):
1492         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1493         (gst_bin_remove_func), (gst_bin_get_state_func),
1494         (gst_bin_recalc_state), (gst_bin_change_state_func),
1495         (bin_bus_handler):
1496         * gst/gstelement.c: (gst_element_get_state_func),
1497         (gst_element_get_state), (gst_element_abort_state),
1498         (gst_element_commit_state), (gst_element_set_state),
1499         (gst_element_change_state), (gst_element_change_state_func):
1500         * gst/gstelement.h:
1501         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1502         (gst_pipeline_provide_clock_func):
1503         * gst/gstutils.c: (gst_element_link_pads_filtered):
1504         * tools/gst-launch.c: (main):
1505         * tools/gst-typefind.c: (main):
1506         Use GstClockTime in _get_state() instead of GTimeVal.
1507         Remove old code in gstutils.c
1508
1509 2005-10-12  Andy Wingo  <wingo@pobox.com>
1510
1511         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1512         removed.
1513
1514         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1515         there is no task. Shouldn't affect any code, as nothing in our
1516         plugins checks this return value.
1517         (gst_pad_stop_task): Also take the stream lock if the pad has no
1518         task. Docs updated.
1519
1520 2005-10-12  Wim Taymans  <wim@fluendo.com>
1521
1522         * gst/gstpad.c: (pre_activate), (post_activate),
1523         (gst_pad_activate_pull), (gst_pad_activate_push):
1524         Cleanup activation code. Reset old state if
1525         activation failed.
1526
1527 2005-10-12  Wim Taymans  <wim@fluendo.com>
1528
1529         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1530         (gst_base_sink_change_state):
1531         No need to prerol after receiving EOS.
1532
1533         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1534         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1535         * gst/elements/gstidentity.c: (gst_identity_event):
1536         Print events more verbosely.
1537
1538 2005-10-12  Wim Taymans  <wim@fluendo.com>
1539
1540         * check/Makefile.am:
1541         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1542         * check/states/sinks2.c:
1543         Moved sinks2 testcode in sinks check.
1544
1545         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1546         (gst_bin_remove_func), (gst_bin_recalc_state),
1547         (gst_bin_change_state_func), (bin_bus_handler):
1548         Fix potential race condition when _get_state() iterated over an
1549         ASYNC element right before it posted a state completion.
1550
1551         * gst/gstclock.h:
1552         Do proper cast here.
1553
1554         * gst/gstevent.c: (gst_event_new_newsegment),
1555         (gst_event_parse_newsegment):
1556         A playback rate of 0.0 is not allowed.
1557
1558 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1559
1560         * win32/common/config.h:
1561         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1562         (_trewinddir), (_ttelldir), (_tseekdir):
1563         * win32/common/dirent.h:
1564         * win32/common/gtchar.h:
1565         * win32/common/libgstbase.def:
1566         * win32/common/libgstreamer.def:
1567         * win32/vs6/grammar.dsp:
1568         * win32/vs6/gst_inspect.dsp:
1569         * win32/vs6/gst_launch.dsp:
1570         * win32/vs6/gstreamer.dsw:
1571         * win32/vs6/libgstbase.dsp:
1572         * win32/vs6/libgstelements.dsp:
1573         * win32/vs6/libgstreamer.dsp:
1574           Visual Studio 6 project files, and a new common directory.
1575           Phear.
1576
1577 2005-10-11  Wim Taymans  <wim@fluendo.com>
1578
1579         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1580         (gst_base_sink_do_sync), (gst_base_sink_query),
1581         (gst_base_sink_change_state):
1582         * gst/base/gstbasesink.h:
1583         Correctly parse newsegment info.
1584
1585 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1586
1587         * gst/gst.c: (init_post):
1588           split plugin paths correctly
1589
1590 2005-10-11  Wim Taymans  <wim@fluendo.com>
1591
1592         * check/gst/gstevent.c: (GST_START_TEST):
1593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1594         (gst_base_sink_change_state):
1595         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1596         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1597         * gst/elements/gstfilesink.c: (gst_file_sink_event):
1598         * gst/gstevent.c: (gst_event_new_newsegment),
1599         (gst_event_parse_newsegment):
1600         * gst/gstevent.h:
1601         Added extra flag to newsegment for future API freeze.
1602         Updated check and base elements.
1603
1604 2005-10-11  Julien MOUTTE  <julien@moutte.net>
1605
1606         * gst/base/gstcollectpads.c: (gst_collectpads_init),
1607         (gst_collectpads_add_pad), (gst_collectpads_pop),
1608         (gst_collectpads_event), (gst_collectpads_chain):
1609         * gst/base/gstcollectpads.h: Handle EOS correctly.
1610
1611 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1612
1613         * tools/gst-launch.c: (main):
1614           more null protecting
1615
1616 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1617
1618         * gst/gst-i18n-lib.h:
1619           check for ENABLE_NLS, not GETTEXT_PACKAGE
1620         * gst/gstregistry.c: (gst_registry_add_plugin),
1621         (gst_registry_scan_path_level),
1622         (_gst_registry_remove_cache_plugins):
1623           protect possibly NULL strings
1624         * gst/parse/types.h:
1625           config.h already included before
1626         * tools/gst-inspect.c: (main):
1627           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1628           check for ENABLE_NLS, not GETTEXT_PACKAGE
1629         * tools/gst-launch.c: (main):
1630           check for ENABLE_NLS, not GETTEXT_PACKAGE
1631
1632 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1633
1634         * configure.ac:
1635           if we don't have glib, fail before testing 2.8
1636         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1637           fix a leak, should fix plugins-base testsuite
1638
1639 2005-10-11  Andy Wingo  <wingo@pobox.com>
1640
1641         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1642         take the mode we're going to as an arg. Go head and set the mode
1643         and flushing flags now, so that if the activate function starts a
1644         thread all the flags will be in the right state.
1645         (post_activate): Renamed also. Just handle making sure streaming
1646         finishes for the deactivation case, and setting the deactivated
1647         mode.
1648         (gst_pad_set_active): Complain loudly if deactivation fails.
1649         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1650         (gst_pad_activate_push): Adapt to pre/post_activate changes,
1651         remove the terrible hack.
1652
1653 2005-10-11  Wim Taymans  <wim@fluendo.com>
1654
1655         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1656         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1657         (gst_bin_recalc_state), (gst_bin_change_state_func),
1658         (gst_bin_dispose), (bin_bus_handler):
1659         * gst/gstbin.h:
1660         Prepare to make current EOS message queue more generic.
1661         Fix some typos.
1662
1663         * gst/gstevent.c: (gst_event_new_newsegment),
1664         (gst_event_parse_newsegment):
1665         * gst/gstevent.h:
1666         Rename base to stream_time.
1667
1668         * gst/gstmessage.h:
1669         Fix typo in docs.
1670
1671 2005-10-11  Wim Taymans  <wim@fluendo.com>
1672
1673         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1674         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1675         (gst_bin_change_state_func), (bin_bus_handler):
1676         * gst/gstbin.h:
1677         Work on proper clock selection.
1678
1679 2005-10-11  Edward Hervey  <edward@fluendo.com>
1680
1681         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
1682         * libs/gst/controller/gstcontroller.h:
1683         Added GList* version of _remove_properties() in order to be able to wrap
1684         it in bindings.
1685
1686 2005-10-11  Wim Taymans  <wim@fluendo.com>
1687
1688         * docs/design/part-states.txt:
1689         Some more docs.
1690
1691         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1692         (gst_bin_change_state_func), (bin_bus_handler):
1693         Doc updates. Don't distribute the same clock over and over again.
1694
1695         * gst/gstclock.c:
1696         * gst/gstclock.h:
1697         Doc updates.
1698
1699         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1700         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1701         (gst_pad_send_event):
1702         * gst/gstpad.h:
1703         Make probe emission threadsafe again.
1704         Register quarks and move _get_name() from utils.
1705         Doc updates.
1706
1707         * gst/gstpipeline.c: (gst_pipeline_class_init),
1708         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1709         Only redistribute the clock of it changed.
1710
1711         * gst/gstsystemclock.h:
1712         Doc updates. 
1713
1714         * gst/gstutils.c:
1715         * gst/gstutils.h:
1716         Moved the _flow_get_name() to GstPad.
1717
1718 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1719
1720         * check/gst-libs/gdp.c: (GST_START_TEST):
1721         * check/gst/gstcaps.c: (GST_START_TEST):
1722         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1723         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1724         (gst_dp_packet_from_caps):
1725           fix more valgrind warnings before turning up the heat
1726
1727 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1728
1729         * gst/parse/grammar.y:
1730           some cleanup before the hacking
1731
1732 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1733
1734         * gst/base/gstbasesrc.c: (gst_base_src_query):
1735           use conversions
1736         * gst/gstutils.c: (gst_guint64_to_gdouble),
1737         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1738         * gst/gstutils.h:
1739           externalize, basesrc uses it
1740           obviously the implementation needs testing
1741
1742 2005-10-10  Wim Taymans  <wim@fluendo.com>
1743
1744         * tests/sched/Makefile.am:
1745         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1746         (make_pipeline3), (make_pipeline4), (print_elem), (main):
1747
1748 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1749
1750         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1751           apparently converting from guint64 to double is not implemented
1752           on MSVC
1753
1754 2005-10-10  Wim Taymans  <wim@fluendo.com>
1755
1756         * check/Makefile.am:
1757         * check/generic/states.c: (GST_START_TEST):
1758         * check/gst/gstbin.c: (GST_START_TEST):
1759         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1760         * check/states/sinks.c: (GST_START_TEST):
1761         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1762         (main):
1763         Check fixes, use API as stated in design docs, remove hacks.
1764
1765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1766         (gst_base_sink_change_state):
1767         Catch stopping our task while we're shutting down.
1768
1769         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1770         (gst_bin_remove_func), (gst_bin_get_state_func),
1771         (gst_bin_recalc_state), (gst_bin_change_state_func),
1772         (bin_bus_handler):
1773         * gst/gstbin.h:
1774         * gst/gstelement.c: (gst_element_init),
1775         (gst_element_get_state_func), (gst_element_abort_state),
1776         (gst_element_commit_state), (gst_element_lost_state),
1777         (gst_element_set_state), (gst_element_change_state),
1778         (gst_element_change_state_func):
1779         * gst/gstelement.h:
1780         New state change algorithm (see #318116)
1781
1782         * gst/gstpipeline.c: (gst_pipeline_class_init),
1783         (gst_pipeline_init), (gst_pipeline_set_property),
1784         (gst_pipeline_get_property), (do_pipeline_seek),
1785         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1786         * gst/gstpipeline.h:
1787         Remove crude state change hacks.
1788
1789         * gst/gstutils.h:
1790         Remove crude hacks.
1791
1792         * tools/gst-launch.c: (main):
1793         Fixes for state change. Needs some more work to fully use the
1794         new stuff.
1795
1796 2005-10-10  Andy Wingo  <wingo@pobox.com>
1797
1798         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1799
1800         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1801         this flag, but it's not even in GLib 2.6. Odd. Hack around the
1802         issue.
1803
1804 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1805
1806         * gst/gstiterator.c: (gst_iterator_new):
1807           Fix my previous commit: GTypes passed to gst_iterator_new()
1808           can be fundamental types.
1809
1810 2005-10-10  Wim Taymans  <wim@fluendo.com>
1811
1812         * gst/gstelement.c: (gst_element_iterate_pad_list),
1813         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1814         (gst_element_iterate_sink_pads):
1815         Use src/sink pads lists for the respective iterators instead
1816         of filtering.
1817
1818 2005-10-10  Andy Wingo  <wingo@pobox.com>
1819
1820         Merged in popt removal + GOption addition patch from Ronald, bug
1821         #169772.
1822
1823         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1824         GstElement macros around, remove popt-related symbols, add goption
1825         stuff.
1826
1827         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1828         
1829         * docs/gst/Makefile.am:
1830         * docs/libs/Makefile.am: No POPT_CFLAGS.
1831         
1832         * examples/manual/Makefile.am:
1833         * docs/manual/basics-init.xml: Doc updates with an example.
1834         
1835         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1836         (gst_init), (parse_one_option), (parse_goption_arg):
1837         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1838         bit of hand merging and debugging to get the GOption stuff working
1839         tho.
1840         
1841         * tests/Makefile.am:
1842         * tools/Makefile.am:
1843         * tools/gst-inspect.c: (main):
1844         * tools/gst-launch.c: (main):
1845         * tools/gst-run.c: (main):
1846         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1847
1848 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1849
1850         * gst/gstiterator.c: (gst_iterator_new):
1851           Add assertions to make sure passed GType is likely to really
1852           be a GType (as the compiler won't catch it if the size and
1853           GType arguments get mixed up, see #318447).
1854
1855 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
1856
1857         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * gst/gstbin.c: (gst_bin_iterate_sorted):
1860           Pass GType and size arguments to gst_iterator_new() in the right
1861           order (maybe we should make _new() take the GType as first argument
1862           just like _new_list()?) (#318447).
1863           
1864
1865 2005-10-10  Wim Taymans  <wim@fluendo.com>
1866
1867         * gst/gstelement.c: (gst_element_finalize):
1868         And free the GStaticRecMutex too
1869
1870 2005-10-10  Andy Wingo  <wingo@pobox.com>
1871
1872         * gst/gstelement.c (gst_element_init, gst_element_finalize):
1873         Allocate and free the mutex properly.
1874
1875         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1876         New macros.
1877         (GstElement): The state_lock is now recursive. Rebuild your
1878         plugins, suckers. Old macros adapted.
1879
1880         * docs/gst/gstreamer-sections.txt: Doc updates.
1881
1882         * gst/gstutils.h:
1883         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
1884         (g_static_rec_cond_wait): Ported from state changes patch, while
1885         we wait on bug #317802 to be solved in a well-distributed GLib.
1886
1887         * gst/gstelement.c (gst_element_change_state_func): Renamed from
1888         gst_element_change_state, variable name changes.
1889         (gst_element_change_state): Split out of gst_element_set_state in
1890         preparation for the state change merge. Doesn't pay attention to
1891         the 'transition' argument.
1892         (gst_element_set_state): Updates, hopefully purely cosmetic.
1893         (gst_element_sync_state_with_parent): MT-safety. Ported from the
1894         state change patch.
1895         (gst_element_get_state_func): Renamed from get_state, cosmetic
1896         changes.
1897
1898 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1899
1900         * gst/elements/gstelements.c:
1901         * win32/GStreamer.vcproj:
1902         * win32/config.h:
1903         * win32/dirent.c: (_tseekdir):
1904         * win32/gst-inspect.vcproj:
1905         * win32/gst-launch.vcproj:
1906         * win32/gstconfig.h:
1907         * win32/gstelements.vcproj:
1908         * win32/gstenumtypes.c: (gst_object_flags_get_type):
1909         * win32/gstreamer.def:
1910         * win32/msvc71.sln:
1911           updates for the win32 build (patch from Sebastien Moutte)
1912
1913 2005-10-10  Andy Wingo  <wingo@pobox.com>
1914
1915         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1916         gst_bin_get_state, cleaned up (but no logic changes).
1917         (bin_element_is_sink): Comment updates.
1918         (sink_iterator_filter): Remove needless cast.
1919         (gst_bin_iterate_sinks): Doc update.
1920         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1921         cleaned up (but no logic changes).
1922
1923         * check/states/sinks.c (test_src_sink): Cleanups from the state
1924         change patch.
1925         (test_livesrc_sink): Sync on the state.
1926
1927         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1928         the state change patch.
1929
1930         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1931         change patch.
1932
1933         * check/gst/gstbin.c: Merge in some style fixes and additional
1934         checks from Wim's state change patch.
1935
1936 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1937
1938         * gst/base/gsttypefindhelper.c: (helper_find_peek),
1939         (gst_type_find_helper):
1940           Check whether we have the requested data already in our list of
1941           cached buffers before pulling a new buffer; also make the buffer
1942           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1943
1944 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1945
1946         * gst/gstcaps.c:
1947         * gst/gstevent.c:
1948           doc updates
1949         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1950           don't use long long, it's not portable.  Replacing with
1951           gint64 seems to work; let's hope no skeletons fall out of the closet.
1952
1953 2005-10-10  Andy Wingo  <wingo@pobox.com>
1954
1955         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1956
1957 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
1958
1959         * docs/gst/gstreamer-sections.txt:
1960         * gst/gstevent.c:
1961         * gst/gstevent.h:
1962         * gst/gstinfo.c:
1963         * gst/gstinfo.h:
1964         * gst/gstmessage.c: (gst_message_parse_state_changed):
1965         * gst/gstpad.c:
1966         * gst/gstpad.h:
1967           more docs, fix compilation
1968
1969 2005-10-09  Philippe Khalaf <burger@speedy.org>
1970         * gst/gstmessage.c:
1971           Fixed a few forgotten variables on previous commit
1972
1973 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1974
1975         * gst/base/gsttypefindhelper.c: (helper_find_peek):
1976           Fix evil typefind crasher: getrange() might return a short
1977           buffer at the end of a file, but gst_type_find_peek() must
1978           either return the full data as requested or NULL, but
1979           never a short buffer.
1980
1981 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1982
1983         * gst/gstmessage.c: (gst_message_new_state_changed),
1984         (gst_message_parse_state_changed):
1985         * gst/gstmessage.h:
1986           don't use "new", it's a C++ keyword
1987
1988 2005-10-08  Wim Taymans  <wim@fluendo.com>
1989
1990         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1991         * gst/gstelement.c: (gst_element_post_message):
1992         * gst/gstpipeline.c: (gst_pipeline_change_state):
1993         Small docs and debug updates.
1994
1995 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
1996
1997         * docs/gst/gstreamer-sections.txt:
1998         * gst/gstelementfactory.c:
1999         * gst/gstevent.c:
2000         * gst/gsttaglist.c:
2001           more docs
2002
2003 2005-10-08  Wim Taymans  <wim@fluendo.com>
2004
2005         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2006         (gst_bin_dispose), (bin_bus_handler):
2007         Fix typos, add comments.
2008         Clear EOS list when going to PAUSED from any direction and do it
2009         in a threadsafe way.
2010         Get base time in a threadsafe way too.
2011         Fix confusing debug in the change_state function.
2012         Various other small cleanups.
2013         
2014         * gst/gstelement.c: (gst_element_post_message):
2015         Fix very verbose bus posting code.
2016
2017         * gst/gstpipeline.c: (gst_pipeline_class_init),
2018         (gst_pipeline_set_property), (gst_pipeline_get_property),
2019         (gst_pipeline_change_state):
2020         Small ARG_ -> PROP_ cleanup
2021
2022 2005-10-08  Wim Taymans  <wim@fluendo.com>
2023
2024         * gst/gstbin.c: (is_eos), (bin_bus_handler):
2025         Do a less CPU demanding EOS check because we can.
2026
2027 2005-10-08  Wim Taymans  <wim@fluendo.com>
2028
2029         * libs/gst/dataprotocol/dataprotocol.c:
2030         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2031         (gst_dp_packet_from_event):
2032         * libs/gst/dataprotocol/dataprotocol.h:
2033         * libs/gst/dataprotocol/dp-private.h:
2034         It's about time we bump the version number.
2035         Since event types don't fit in the guint8 anymore describing
2036         the payload type, make payload type 16 bits wide.
2037
2038 2005-10-08  Wim Taymans  <wim@fluendo.com>
2039
2040         * docs/design/part-TODO.txt:
2041         * docs/design/part-clocks.txt:
2042         * docs/design/part-events.txt:
2043         * docs/design/part-gstbin.txt:
2044         * docs/design/part-gstelement.txt:
2045         * docs/design/part-gstpipeline.txt:
2046         * docs/design/part-live-source.txt:
2047         * docs/design/part-messages.txt:
2048         * docs/design/part-overview.txt:
2049         * docs/design/part-states.txt:
2050         Many doc updates.
2051
2052 2005-10-08  Wim Taymans  <wim@fluendo.com>
2053
2054         * gst/gstevent.c:
2055         * gst/gstevent.h:
2056         Fix event quark registration.
2057         Add some space between events so we can insert them in the
2058         right groups.
2059
2060 2005-10-08  Wim Taymans  <wim@fluendo.com>
2061
2062         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2063         (gst_base_sink_handle_buffer):
2064         Better log message.
2065
2066         * gst/gstbus.h:
2067         * gst/gstelement.h:
2068         More docs.
2069
2070         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2071         (gst_queue_set_property), (gst_queue_get_property):
2072         * gst/gstqueue.h:
2073         Remove old unused properties.
2074
2075 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
2076         * docs/gst/gstreamer-sections.txt:
2077         * gst/gstmessage.c:
2078         * gst/gstmessage.h:
2079         * gst/gstminiobject.c:
2080         * gst/gstminiobject.h:
2081         * gst/gstobject.h:
2082         * gst/gstpad.h:
2083         * gst/gstutils.h:
2084           lots of new docs and doc fixes
2085
2086 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2087
2088         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2089         * gst/gstplugin.h:
2090         * gst/gstregistry.c: (gst_registry_lookup_locked),
2091         (gst_registry_scan_path_level):
2092         * gst/gstregistryxml.c: (load_plugin):
2093           Only ever load one plugin for a given plugin basename.
2094           This ensures correct overriding of GST_PLUGIN_PATH over
2095           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2096           system installed plugins.
2097
2098 2005-10-08  Wim Taymans  <wim@fluendo.com>
2099
2100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2101         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2102         Prepare for doing QOS.
2103
2104 2005-10-08  Wim Taymans  <wim@fluendo.com>
2105
2106         * check/gst/gstbin.c: (GST_START_TEST):
2107         * check/pipelines/cleanup.c: (GST_START_TEST):
2108         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2109         Allow new clock message too.
2110
2111 2005-10-08  Wim Taymans  <wim@fluendo.com>
2112
2113         * gst/gstmessage.c: (gst_message_new_error),
2114         (gst_message_new_warning), (gst_message_new_tag),
2115         (gst_message_new_state_changed), (gst_message_new_clock_provide),
2116         (gst_message_new_clock_lost), (gst_message_new_new_clock),
2117         (gst_message_new_segment_start), (gst_message_new_segment_done),
2118         (gst_message_parse_state_changed),
2119         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2120         (gst_message_parse_new_clock):
2121         * gst/gstmessage.h:
2122         Also carry the clock in question.
2123
2124 2005-10-08  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstmessage.c: (gst_message_new_custom),
2127         (gst_message_new_eos), (gst_message_new_error),
2128         (gst_message_new_warning), (gst_message_new_tag),
2129         (gst_message_new_state_changed), (gst_message_new_clock_provide),
2130         (gst_message_new_new_clock), (gst_message_new_segment_start),
2131         (gst_message_new_segment_done), (gst_message_parse_state_changed),
2132         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2133         * gst/gstmessage.h:
2134         Clean up.
2135         Added clock related messages.
2136
2137         * gst/gstpipeline.c: (gst_pipeline_change_state):
2138         Post message when the clock changed.
2139
2140         * tools/gst-launch.c: (event_loop):
2141         Print new clock.
2142
2143 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * tools/gst-inspect.c: (print_element_properties_info):
2146           Can't pass NULL strings to g_print() on windows.
2147
2148 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2149
2150         * docs/Makefile.am:
2151         * docs/gst/Makefile.am:
2152         * docs/gst/gstreamer-docs.sgml:
2153         * docs/gst/running.xml:
2154         * docs/version.entities.in:
2155           add a chapter on running GStreamer.
2156           document GST_DEBUG and GST_PLUGIN* env vars
2157
2158 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2159
2160         * Makefile.am:
2161           remove include dir
2162         * configure.ac:
2163           remove PLUGINS_BUILDDIR stuff
2164         * gst/gst.c: (init_post):
2165           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2166         * idiottest.mak:
2167           remove, it was condescending and not needed
2168
2169 2005-10-08  Wim Taymans  <wim@fluendo.com>
2170
2171         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2172         (gst_base_sink_handle_object), (gst_base_sink_event),
2173         (gst_base_sink_wait), (gst_base_sink_handle_event),
2174         (gst_base_sink_change_state):
2175         * gst/base/gstbasesink.h:
2176         Repost EOS message while going to PLAYING if still EOS.
2177         Make sure that when receiving a FLUSH_START we don't attempt
2178         to sync on the clock anymore.
2179
2180 2005-10-08  Wim Taymans  <wim@fluendo.com>
2181
2182         * tools/gst-launch.c: (event_loop):
2183         Better message printout.
2184
2185 2005-10-08  Wim Taymans  <wim@fluendo.com>
2186
2187         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2188         (gst_bin_child_proxy_get_children_count):
2189         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2190         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2191         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2192         (gst_child_proxy_set_valist):
2193         * gst/parse/grammar.y:
2194         Make ChildProxy threadsafe and fix mem leaks.
2195
2196 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2197
2198         * gst/gst.c: (init_post):
2199           debug the GST_PLUGIN_ env vars
2200
2201 2005-10-08  Wim Taymans  <wim@fluendo.com>
2202
2203         * check/gst/gstbin.c: (GST_START_TEST):
2204         * check/gst/gstmessage.c: (GST_START_TEST):
2205         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2206         * gst/gstelement.c: (gst_element_commit_state),
2207         (gst_element_lost_state):
2208         * gst/gstmessage.c: (gst_message_new_state_changed),
2209         (gst_message_parse_state_changed):
2210         * gst/gstmessage.h:
2211         * tools/gst-launch.c: (event_loop):
2212         Added extra field to STATE_CHANGE message with the pending
2213         state, which will be different from the new state soon.
2214
2215 2005-10-08  Wim Taymans  <wim@fluendo.com>
2216
2217         * gst/gstbus.c: (gst_bus_pop):
2218         * gst/gstclock.c:
2219         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2220         Small cleanups and doc updates.
2221
2222 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
2223
2224         * gst/gst.c: (init_pre):
2225         * gst/gstbin.c: (gst_bin_add_func):
2226           log distributing clocks and base time
2227         * gst/gstregistry.c: (gst_registry_add_plugin),
2228         (gst_registry_scan_path_level), (gst_registry_scan_path):
2229           clean up the debugging output a little
2230         * gst/gstutils.c: (gst_element_state_get_name):
2231           warn about a memleak (I've actually seen this be used, though
2232           it was probably a bug)
2233
2234 2005-10-07  Wim Taymans  <wim@fluendo.com>
2235
2236         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2237         (gst_base_src_init), (gst_base_src_default_newsegment),
2238         (gst_base_src_newsegment), (gst_base_src_do_seek),
2239         (gst_base_src_loop), (gst_base_src_start):
2240         * gst/base/gstbasesrc.h:
2241         Make the newsegment event customizable by subclasses.
2242
2243 2005-10-07  Wim Taymans  <wim@fluendo.com>
2244
2245         * gst/gstevent.c: (gst_event_new_buffersize),
2246         (gst_event_parse_buffersize):
2247         * gst/gstevent.h:
2248         New event for future idea.
2249
2250 2005-10-07  Andy Wingo  <wingo@pobox.com>
2251
2252         * gst/gstelement.c (gst_element_post_message): Doc update.
2253
2254         * docs/gst/gstreamer-sections.txt: Update.
2255
2256         * gst/gstmessage.c (gst_message_new_application): Made into a
2257         function like honest API calls.
2258         (gst_message_new_element): New message type.
2259
2260         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2261
2262         * check/elements/fakesrc.c (test_no_preroll): New check, checks
2263         that setting a live fakesrc to PAUSED returns NO_PREROLL both
2264         times.
2265
2266         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2267         NO_PREROLL from gst_element_change_state to fall through.
2268
2269 2005-10-07  Wim Taymans  <wim@fluendo.com>
2270
2271         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2272         (gst_ghost_pad_do_activate_push):
2273         Activating a ghostpad with no internal pad in push mode
2274         is ok.
2275
2276 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2277
2278         * gst/gstobject.h:
2279           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2280           Fixes compilation on Windows.
2281
2282 2005-10-07  Michael Smith <msmith@fluendo.com>
2283
2284         * tools/gst-inspect.c:
2285           Print out feature and plugin count at the end when printing out
2286           all features.
2287
2288 2005-10-04  Michael Smith <msmith@fluendo.com>
2289
2290         * gst/gsterror.c: (_gst_stream_errors_init):
2291           Add another error string used in a few existing plugins.
2292
2293         * gst/gstplugin.c:
2294         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2295         * tools/gst-inspect.c: (print_element_info):
2296           When a feature disappears from a plugin (and the feature exists in
2297           the cached registry file), things went horribly wrong. This isn't a
2298           complete fix, we should actually be removing the 'missing' features
2299           from the features list when we load the actual plugin. That's not
2300           yet implemented. 
2301
2302 2005-10-04  Johan Dahlin  <johan@gnome.org>
2303
2304         * check/gst/gstiterator.c: (GST_START_TEST):
2305         * gst/gstbin.c: (gst_bin_iterate_elements),
2306         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2307         * gst/gstelement.c: (gst_element_iterate_pads):
2308         * gst/gstformat.c: (gst_format_iterate_definitions):
2309         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2310         (gst_iterator_new_list), (gst_iterator_filter):
2311         * gst/gstiterator.h:
2312         * gst/gstquery.c: (gst_query_type_iterate_definitions):
2313         Add a GType to GstIterator, update callsites and tests.
2314
2315 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2316
2317         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2318           give events a chance to be handled by event probes when the pad
2319           is not linked
2320
2321 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2322
2323         * gst/gstevent.c: (gst_event_type_get_name),
2324         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2325         * gst/gstevent.h:
2326           add string representations for event types
2327
2328 2005-10-06  Wim Taymans  <wim@fluendo.com>
2329
2330         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2331         Don't use NULL pointers.
2332
2333 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2334
2335         * gst/gst_private.h:
2336         * gst/gstbus.c:
2337         * gst/gstelement.c:
2338         * gst/gstinfo.c:
2339         * gst/gstpluginfeature.c:
2340           widen the debug category in output to fit the biggest one we have
2341           add a bus category and use it
2342           play with the colors
2343           fix up some categories
2344
2345 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2346
2347         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2348           add push activation of sink ghost pads.
2349           Andye, please verify
2350
2351 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2352
2353         * gst/gstutils.c: (gst_element_link_pads):
2354           fix a bug in the case where neither element has a pad
2355         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2356           add a test for that case
2357
2358 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
2359
2360         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2361           emit have-data before checking for peers.  This allows
2362           for probe handlers to connect elements.  This helps autopluggers.
2363         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2364         (gst_pad_suite):
2365           add six checks, linked/unlinked with no/true/false probe
2366
2367 2005-10-04  Wim Taymans  <wim@fluendo.com>
2368
2369         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2370         (gst_fake_sink_event), (gst_fake_sink_preroll),
2371         (gst_fake_sink_render), (gst_fake_sink_change_state):
2372         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2373         (gst_fake_src_get_property), (gst_fake_src_create),
2374         (gst_fake_src_stop):
2375         * gst/elements/gstidentity.c: (gst_identity_stop):
2376         Protect last_message with lock.
2377
2378 2005-10-04  Edward Hervey  <edward@fluendo.com>
2379
2380         * gst/gstformat.h: 
2381         Added precision in the comments for GST_FORMAT_DEFAULT
2382
2383 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
2384
2385         * tools/gst-launch.c: (main):
2386           Don't try to run erroneous pipelines.
2387
2388 2005-10-04  Julien MOUTTE  <julien@moutte.net>
2389
2390         * gst/gstbus.c: We don't need this header.
2391
2392 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2393
2394         * configure.ac:
2395           back to development
2396
2397 === release 0.9.3 ===
2398
2399 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2400
2401         * README:
2402         * configure.ac:
2403           Releasing 0.9.3, "Unregistered"
2404
2405 2005-10-03  Andy Wingo  <wingo@pobox.com>
2406
2407         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2408         whereby calling a pad's activatepush() function can start a thread
2409         that starts to push or pull before the pad gets the FLUSHING flag
2410         unset. Hack around it by holding the stream lock until the flag is
2411         set. Need to replace this with a proper solution. Together with
2412         the ghost pad fixes, this fixes mp3 playing/tagreading.
2413
2414         * docs/design/part-gstghostpad.txt: Add a note about activation of
2415         proxy pads outside of ghost pads.
2416
2417         * gst/gstghostpad.c: Implement the ghost pad activation design.
2418
2419 2005-10-02  Andy Wingo  <wingo@pobox.com>
2420
2421         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2422         It is volatile, after all.
2423
2424         * docs/design/part-gstghostpad.txt: Flesh out activation with
2425         ghost pads.
2426
2427         * gst/base/gstbasesrc.c (gst_base_src_init): Use
2428         GST_DEBUG_FUNCPTR.
2429
2430 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
2431
2432         * configure.ac:
2433           Fix (unused) AM_CONDITIONAL tests.
2434
2435 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
2436
2437         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
2438
2439         * gst/gstutils.c: (gst_pad_query_convert):
2440           Add assertion that makes sure src_val is >=0, just like
2441           gst_query_new_convert() has. (#315895)
2442
2443 2005-09-30  Edward Hervey  <edward@fluendo.com>
2444
2445         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2446         Let's not iterate pads we're not interested in, it avoids getting 
2447         sky-high refcounts on sinkpad.
2448
2449 2005-09-30  Wim Taymans  <wim@fluendo.com>
2450
2451         * gst/gstelement.c: (gst_element_set_state),
2452         (gst_element_change_state):
2453         Small tweak, element in ASYNC remains ASYNC.
2454
2455 2005-09-30  Wim Taymans  <wim@fluendo.com>
2456
2457         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2458         Only error is an error.
2459
2460         * gst/gstbin.c: (gst_bin_change_state):
2461         Better debugging.
2462
2463         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2464         Also call pad_block in pad alloc.
2465
2466         * gst/gstutils.c: (gst_flow_get_name):
2467         Better debugging.
2468
2469 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2470
2471         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2472         (gst_base_src_get_range):
2473           Fix documentation typos. Add some more debug info.
2474
2475 2005-09-29  David Schleef  <ds@schleef.org>
2476
2477         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2478           more end-user friendly.
2479         * tools/gst-inspect.c: (main): Check if command-line argument is
2480           a file and attempt to load that file as a plugin.
2481
2482 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2483
2484         * check/gst/gstbin.c:
2485         * check/states/sinks.c:
2486           fix tests for the new warning
2487         * check/gst/gstpipeline.c:
2488           add a test for pipeline and bus interaction
2489         * gst/gstelement.c:
2490           elements should be NULL if they get disposed; add a warning if not
2491
2492 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2493
2494         * gst/gstobject.c:
2495           for 2.6 refcounting, make debug log more correct by printing
2496           the actual refcounts at the time of swap (Wim)
2497
2498 2005-09-29  Andy Wingo  <wingo@pobox.com>
2499
2500         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2501         removes signal watches previously added via
2502         gst_bus_add_signal_watch.
2503         (gst_bus_add_signal_watch): Don't return the source id, just store
2504         it on the bus if there wasn't an id already.
2505
2506         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2507         add_signal_watch and remove_signal_watch.
2508
2509 2005-09-29  Edward Hervey  <edward@fluendo.com>
2510
2511         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
2512         Better if we actually iterate the list :)
2513
2514 2005-09-29  Wim Taymans  <wim@fluendo.com>
2515
2516         * check/gst/gstbin.c: (GST_START_TEST):
2517         Change for new bus API.
2518
2519         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2520         (send_messages), (GST_START_TEST), (gstbus_suite):
2521         Change for new bus signal API.
2522
2523         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2524         (gst_bus_source_prepare), (gst_bus_source_check),
2525         (gst_bus_create_watch), (gst_bus_add_watch_full),
2526         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2527         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2528         * gst/gstbus.h:
2529         Remove support for multiple GSources operating on different
2530         message types as it is too complex and unneeded when using
2531         signals.
2532         Added support for receiving signals from the bus.
2533
2534 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2535
2536         * docs/libs/tmpl/gstdataprotocol.sgml:
2537         * docs/manual/advanced-dataaccess.xml:
2538         * gst/elements/gstcapsfilter.c:
2539         * gst/gstutils.c:
2540           rename filter-caps to caps property
2541
2542 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2543
2544         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2545           More robust fraction string parsing.
2546
2547         * docs/pwg/appendix-porting.xml:
2548           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2549
2550 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2551
2552         * gst/gstcaps.c: (gst_caps_do_simplify):
2553           Thou shalt not free a structure and then continue using it
2554           in the next loop iteration.
2555
2556         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2557         (gst_caps_suite):
2558           Add test case for caps simplification.
2559
2560 2005-09-29  Wim Taymans  <wim@fluendo.com>
2561
2562         * check/gst/gstbin.c: (GST_START_TEST):
2563         Oops.
2564
2565 2005-09-29  Wim Taymans  <wim@fluendo.com>
2566
2567         * check/gst/gstbin.c: (GST_START_TEST):
2568         Add bus to bin.
2569
2570         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2571         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2572         (find_element), (gst_bin_sort_iterator_next),
2573         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2574         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2575         (gst_bin_change_state), (gst_bin_dispose):
2576         A bin does not have a bus, it gets the bus from the parent.
2577
2578         * gst/gstelement.c: (gst_element_requires_clock),
2579         (gst_element_provides_clock), (gst_element_is_indexable),
2580         (gst_element_is_locked_state), (gst_element_change_state),
2581         (gst_element_set_bus_func):
2582         Small cleanups.
2583
2584         * gst/gstpipeline.c: (gst_pipeline_class_init),
2585         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2586         The pipeline provides a bus.
2587
2588 2005-09-28  Johan Dahlin  <johan@gnome.org>
2589
2590         * gst/gstmessage.c (gst_message_parse_state_changed): Use
2591         gst_structure_get_enum instead of gst_structure_get_int
2592
2593         * gst/gststructure.c (gst_structure_get_enum): Impl.
2594
2595         * gst/gststructure.h (gst_structure_get_enum): Add
2596
2597         * docs/gst/gstreamer-sections.txt: Ditto
2598
2599         * gst/gstmessage.c (gst_message_new_state_changed): Use
2600         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2601         which does introspection.
2602         Reviewed by Christian Schaller
2603
2604 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
2605
2606         * gst/gstinfo.c: (gst_debug_log_default):
2607           don't do dummy g_strdup()s
2608         * libs/gst/controller/gstcontroller.c:
2609         (on_object_controlled_property_changed),
2610         (gst_controlled_property_new), (gst_controller_new_valist),
2611         (gst_controller_new_list),
2612         (gst_controller_remove_properties_valist), (gst_controller_set),
2613         (gst_controller_get), (gst_controller_sync_values),
2614         (gst_controller_get_value_array), (_gst_controller_class_init),
2615         (gst_controller_get_type):
2616         * libs/gst/controller/gstcontroller.h:
2617         * libs/gst/controller/gstinterpolation.c:
2618         (gst_controlled_property_find_timed_value_node):
2619           convert // to /**/ comments
2620
2621 2005-09-28  Wim Taymans  <wim@fluendo.com>
2622
2623         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2624         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2625         (gst_bus_sync_signal_handler):
2626         * gst/gstbus.h:
2627         Added async-message and sync-message signals to the bus.
2628         Added helper BusFunc to emit signals for all posted messages.
2629
2630         * gst/gstmessage.c: (gst_message_type_get_name),
2631         (gst_message_type_to_quark), (gst_message_get_type):
2632         * gst/gstmessage.h:
2633         Register quarks for message names.
2634
2635 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
2636
2637         * docs/libs/gstreamer-libs-sections.txt:
2638         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2639         (gst_controller_new_list):
2640         * libs/gst/controller/gstcontroller.h:
2641           added another constructor for language bindings
2642
2643 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2644
2645         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2646           add another check
2647         * gst/gstbus.c:
2648           add some doc
2649         * gst/gstinfo.c: (_gst_debug_init):
2650           slightly more readable color for refcount debugging
2651
2652 2005-09-28  Wim Taymans  <wim@fluendo.com>
2653
2654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2655         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2656         (find_element), (gst_bin_sort_iterator_next),
2657         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2658         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2659         (gst_bin_change_state), (gst_bin_dispose):
2660         Small doc fixes. get_clock -> provide_clock.
2661
2662         * gst/gstelement.c: (gst_element_class_init),
2663         (gst_element_provides_clock), (gst_element_provide_clock),
2664         (gst_element_get_clock), (gst_element_commit_state),
2665         (gst_element_lost_state):
2666         * gst/gstelement.h:
2667         Make get/set_clock() symetric. Add provide_clock vmethod since
2668         that is actually what this function does.
2669
2670         * gst/gstpipeline.c: (gst_pipeline_class_init),
2671         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2672         (gst_pipeline_get_clock):
2673         get_clock -> provide_clock.
2674
2675 2005-09-28  Andy Wingo  <wingo@pobox.com>
2676
2677         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2678         lieu of real docs...
2679
2680         * gst/elements/gstfdsrc.c: Cleaned up a bit.
2681
2682 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
2683
2684         * gst/elements/gstcapsfilter.c:
2685         * gst/elements/gstfakesink.c:
2686         * gst/elements/gstfakesrc.c:
2687         * gst/elements/gstfdsink.c:
2688         * gst/elements/gstfdsrc.c:
2689         * gst/elements/gstfilesink.c:
2690         * gst/elements/gstfilesrc.c:
2691         * gst/elements/gstidentity.c:
2692         * gst/elements/gsttee.c:
2693         * gst/elements/gsttypefindelement.c:
2694           Make element details static.
2695
2696 2005-09-28  Wim Taymans  <wim@fluendo.com>
2697
2698         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2699         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2700         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2701         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2702         (gst_bin_change_state), (gst_bin_dispose):
2703         Some documentation updates.
2704         Clean up dispose handlers.
2705
2706         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2707         * gst/gstpad.c: (gst_pad_dispose):
2708         Clean up dispose handler.
2709
2710         * gst/gstpipeline.c: (gst_pipeline_change_state):
2711         Removed spurious UNLOCK.
2712
2713 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
2714
2715         * docs/gst/gstreamer-sections.txt:
2716         * gst/base/gstbasesrc.h:
2717         * gst/gstelement.h:
2718         * gst/gstevent.h:
2719         * gst/gstobject.h:
2720         * gst/gstpad.h:
2721         * gst/gstpipeline.c:
2722         * gst/gstpipeline.h:
2723         * gst/gstutils.h:
2724         * gst/gstxml.h:
2725           added two new functions to the docs
2726                 documents all undocumented GstXXXFlags
2727                 completed some incomplete docs 
2728
2729 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
2730
2731         * gst/gstbin.c: (gst_bin_dispose):
2732         * gst/gstelement.c: (gst_element_dispose):
2733           remove now useless and leaky resurrection code in dispose
2734         * gst/base/gstbasesrc.c: (gst_base_src_init):
2735         * gst/gstelementfactory.c: (gst_element_factory_create):
2736         * gst/gstobject.c: (gst_object_set_parent):
2737           add some debugging
2738
2739 2005-09-27  Wim Taymans  <wim@fluendo.com>
2740
2741         * docs/design/part-TODO.txt:
2742         Update TODO.
2743
2744         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2745         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2746         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2747         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2748         (gst_bin_change_state):
2749         * gst/gstelement.h:
2750         Remove element variable, we keep element info in the iterator now.
2751
2752 2005-09-27  Andy Wingo  <wingo@pobox.com>
2753
2754         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2755         values.
2756
2757 2005-09-27  Wim Taymans  <wim@fluendo.com>
2758
2759         * check/gst/gstbin.c: (GST_START_TEST):
2760         Enable check that works now.
2761
2762         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2763         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2764         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2765         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2766         (gst_bin_change_state):
2767         * gst/gstbin.h:
2768         Redid the state change algorithm using a topological sort algo.
2769         Handles all cases correctly.
2770         Exposed iterator for state change order.
2771
2772         * gst/gstelement.h:
2773         Temp storage for state changes. Need to get rid of this soon.
2774
2775 2005-09-27  Wim Taymans  <wim@fluendo.com>
2776
2777         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2778         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2779         (link_fold_func), (gst_pad_proxy_setcaps):
2780         Leak fixes, the fold functions need to unref the passed object and
2781         _get_parent_*() returns ref to parent.
2782
2783 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2784
2785         * check/gst/gstbuffer.c: (test_make_writable):
2786           Plug leak in test case and fix 'make check-valgrind'
2787
2788 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2789
2790         * gst/gstbuffer.c: (gst_subbuffer_init):
2791           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2792           works correctly in all circumstances (we could have just copied
2793           the parent buffer's readonly flag, but conceptually it seems
2794           cleaner to mark all subbuffers as read-only). (based on patch
2795           by Alessandro Decina, #314710).
2796         
2797         * check/gst/gstbuffer.c: (create_read_only_buffer),
2798         (test_make_writable), (test_subbuffer_make_writable),
2799         (gst_test_suite):
2800           Add some tests for gst_buffer_make_writable().
2801
2802 2005-09-27  Wim Taymans  <wim@fluendo.com>
2803
2804         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2805         use gst_object_has_ancestor().
2806
2807         * gst/gstobject.c: (gst_object_has_ancestor):
2808         * gst/gstobject.h:
2809         gst_object_has_ancestor() copied from gstbin.c as it is a
2810         usefull function.
2811
2812         * tests/instantiate/create.c: (create_all_elements):
2813         * tests/lat.c: (handoff_src), (handoff_sink):
2814         * tests/sched/runxml.c: (main):
2815         * tests/seeking/seeking1.c: (main):
2816         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2817         (main):
2818         Fix compilation of some tests.
2819
2820 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
2821
2822         * gst/gsterror.h:
2823           Remove comment. GST_TYPE_G_ERROR is here to stay,
2824           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2825           (#316961, #300610).
2826
2827 2005-09-26  Wim Taymans  <wim@fluendo.com>
2828
2829         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2830         Added check that shows error in state change order.
2831
2832 2005-09-26  Wim Taymans  <wim@fluendo.com>
2833
2834         * gst/gstbin.c: (gst_bin_change_state):
2835         Make state change function use 3 queues again, we were
2836         adding elements in the wrong order.
2837
2838         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2839         Some debug info,
2840
2841         * gst/gstpad.c: (gst_pad_dispose):
2842         Added some debug info first.
2843
2844 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         * docs/design/draft-push-pull.txt:
2847         * docs/design/part-events.txt:
2848         * docs/design/part-overview.txt:
2849         * docs/design/part-scheduling.txt:
2850           Replace all _pull_region() with _pull_range()
2851           
2852 2005-09-26  Andy Wingo  <wingo@pobox.com>
2853
2854         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2855
2856         * check/gst-libs/controller.c: Update for controller api change.
2857
2858         * configure.ac: 
2859         * tests/Makefile.am:
2860         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2861         over by GLib bug 118439.
2862         
2863         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2864         routines to a function.
2865
2866         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2867
2868         * libs/gst/controller/gsthelper.c:
2869         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2870         (gst_object_sync_values): Renamed from sink_values. Ugh.
2871
2872         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2873
2874         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2875         Renamed from controller_key, as it is exported.
2876
2877         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2878
2879 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
2880
2881         * gst/Makefile.am:
2882         * gst/gst.h:
2883         * gst/gstpad.h:
2884         * gst/gstpadtemplate.h:
2885         * gst/gstquery.c:
2886         * gst/gstquery.h:
2887         * gst/gstqueryutils.c:
2888         * gst/gstqueryutils.h:
2889           remove queryutils headers after moving the two used functions
2890           to gstquery.  also fixes build problem for gstsiddec
2891
2892 2005-09-26  Michael Smith <msmith@fluendo.com>
2893
2894         * tools/gst-launch.1.in:
2895         Correct documentation in manpage of debug syntax
2896
2897 2005-09-26  Wim Taymans  <wim@fluendo.com>
2898
2899         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2900         (gst_base_src_is_seekable), (gst_base_src_change_state):
2901         Some more debugging info.
2902
2903 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
2904
2905         * docs/gst/gstreamer-sections.txt:
2906         * gst/base/gstbasetransform.h:
2907         * gst/gstindex.h:
2908           added more docs
2909
2910 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
2911
2912         * docs/gst/.cvsignore:
2913         * docs/gst/tmpl/.cvsignore:
2914         * docs/gst/tmpl/gstpipeline.sgml:
2915         * docs/gst/tmpl/gstplugin.sgml:
2916         * gst/gstpipeline.c:
2917         * gst/gstplugin.c:
2918         * gst/gstplugin.h:
2919           inlined the last two docs files
2920           removed the tmpl directory from cvs (no more conflicts here!)
2921
2922 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
2923
2924         * docs/gst/gstreamer-sections.txt:
2925         * docs/gst/tmpl/.cvsignore:
2926         * docs/gst/tmpl/gstpad.sgml:
2927         * docs/gst/tmpl/gstpadtemplate.sgml:
2928         * gst/Makefile.am:
2929         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2930         (gst_pad_finalize), (gst_pad_set_pad_template):
2931         * gst/gstpad.h:
2932         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2933         (gst_pad_template_class_init), (gst_pad_template_init),
2934         (gst_pad_template_dispose), (name_is_valid),
2935         (gst_static_pad_template_get), (gst_pad_template_new),
2936         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2937         (gst_pad_template_pad_created):
2938         * gst/gstpadtemplate.h:
2939           inlined two more docs
2940           factored gstpadtemplate out of gstpad
2941
2942 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2943
2944         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2945         (test_children_state_change_order_semi_sink):
2946           Fix test case: we can't rely on a fixed state change order when
2947           going from READY => PAUSED because the sink might commit its 
2948           new state first when the first buffer created by the source 
2949           reaches the sink before the source has finished its change state.
2950           (Test case still fails at times, see #316856, comment 5 onwards)
2951
2952 2005-09-24  Wim Taymans  <wim@fluendo.com>
2953
2954         * docs/design/part-events.txt:
2955         * docs/design/part-gstbus.txt:
2956         * docs/design/part-gstpipeline.txt:
2957         * docs/design/part-messages.txt:
2958         * docs/design/part-overview.txt:
2959         * docs/design/part-segments.txt:
2960         * gst/gstbin.c:
2961         * gst/gstbuffer.c:
2962         * gst/gstclock.c:
2963         * gst/gstelement.c:
2964         * gst/gstevent.c:
2965         * gst/gstfilter.c:
2966         * gst/gstiterator.c:
2967         Various documentation updates.
2968
2969 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2970
2971         * gst/gstclock.h:
2972           Well, that's embarassing.  Luckily we weren't using
2973           GST_CLOCK_DIFF anywhere.
2974
2975 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2976
2977         * common/gtk-doc.mak:
2978           don't fail on building XML, FC4 slave shows a bunch of doc
2979           missing bits that I don't get
2980         * gst/gstpad.c:
2981         * gst/gstpipeline.c:
2982         * gst/gststructure.c:
2983           some doc updates
2984
2985 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2986
2987         * docs/design/part-gstbin.txt:
2988         * docs/design/part-gstbus.txt:
2989         * gst/gstbus.c:
2990           Add blurb about how the bus goes into flushing mode and
2991           drops all messages when its bin goes from READY into NULL 
2992           state.
2993
2994 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2995
2996         * docs/gst/gstreamer-sections.txt:
2997         * gst/gststructure.c: (gst_structure_get_clock_time):
2998         * gst/gststructure.h:
2999           add a method to get a GstClockTime out of a structure
3000
3001 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3002
3003         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3004         (test_children_state_change_order_semi_sink), (gst_bin_suite):
3005           Added test to check state change order in bins (can still be made
3006           to fail here under heavy disk load; bails out with 'Push on pad
3007           fakesink:sink0, but it was not activated in push mode').
3008
3009         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3010           Fix state change order when there is only a semi sink (#316856)
3011
3012         * gst/gstbus.c: (gst_bus_class_init):
3013           Use _class_peek_parent(), not _class_ref(); fix docs to say
3014           'default main context' instead of 'mainloop' where that is
3015           what's meant.
3016
3017         * gst/gstelement.c: (gst_element_commit_state),
3018         (gst_element_set_state):
3019           Fix typos in debug messages
3020
3021 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3022
3023         * docs/README:
3024         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3025         * gst/gstpluginfeature.c:
3026         * gst/gstutils.c:
3027           various doc updates
3028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3029           change an assert into an error until it gets fixed properly
3030
3031 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
3032
3033         * docs/gst/gstreamer-sections.txt:
3034         * docs/gst/tmpl/.cvsignore:
3035         * docs/gst/tmpl/gstelement.sgml:
3036         * docs/gst/tmpl/gstinfo.sgml:
3037         * docs/gst/tmpl/gstobject.sgml:
3038         * gst/gstelement.c:
3039         * gst/gstelement.h:
3040         * gst/gstinfo.c:
3041         * gst/gstinfo.h:
3042         * gst/gstobject.c: (gst_object_class_init):
3043         * gst/gstobject.h:
3044           inlined 3 more biiiig doc files and added some missing docs on the fly
3045
3046 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3047
3048         * check/gst/.cvsignore:
3049         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3050         * gst/gstregistryxml.c: (load_plugin),
3051         (gst_registry_xml_save_plugin):
3052           put back source in registry.  add checks for find_plugin.
3053         * testsuite/states/bin.c: (assert_state), (empty_bin),
3054         (test_adding_one_element), (main):
3055         * testsuite/states/locked.c: (main):
3056           some compile/run fixes
3057
3058 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3059
3060         * check/gst/gstvalue.c: (GST_START_TEST):
3061           fix leaks in the test itself
3062
3063 2005-09-22  Wim Taymans  <wim@fluendo.com>
3064
3065         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3066         (gst_base_sink_send_event), (gst_base_sink_peer_query),
3067         (gst_base_sink_query):
3068         Prepare for more accurate position reporting and query
3069         handling.
3070
3071         * gst/gstelement.c: (gst_element_send_event),
3072         (gst_element_set_state):
3073         Add some comment.
3074
3075 2005-09-22  Wim Taymans  <wim@fluendo.com>
3076
3077         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3078         (gst_query_parse_segment):
3079         * gst/gstquery.h:
3080         More documentation.
3081         Add segment query for future use.
3082
3083 2005-09-22  Wim Taymans  <wim@fluendo.com>
3084
3085         * gst/gstbin.c: (gst_bin_add_func):
3086         Some more debug info.
3087
3088         * gst/gstelement.c: (gst_element_send_event):
3089         Simplify send_event
3090
3091         * gst/gstelement.h:
3092         Don't know how flags got broken.
3093
3094         * gst/gstquery.h:
3095         Added new query.
3096
3097 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3098
3099         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3100           Add simplistic test suite for GST_TYPE_DATE serialisation and
3101           deserialisation.
3102
3103 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
3104
3105         * docs/gst/gstreamer-sections.txt:
3106         * gst/gststructure.c: (gst_structure_set_valist),
3107         (gst_structure_get_date):
3108         * gst/gststructure.h:
3109         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3110         (gst_date_copy), (gst_value_compare_date),
3111         (gst_value_serialize_date), (gst_value_deserialize_date),
3112         (gst_value_transform_date_string),
3113         (gst_value_transform_string_date), (_gst_value_initialize):
3114         * gst/gstvalue.h:
3115           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3116           bunch of utility functions along with a hack that checks that
3117           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3118           is required. Part of the grand scheme in #170777.
3119
3120 2005-09-22  Andy Wingo  <wingo@pobox.com>
3121
3122         * gst/gstconfig.h.in: Psych out gtk-doc.
3123
3124         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3125
3126         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3127
3128         * tools/gst-inspect.c (print_element_list): Plug some
3129         inconsequential leaks.
3130
3131         * gst/gstregistry.c (gst_registry_get_default): Doc.
3132
3133         * check/gst/gstplugin.c: 
3134         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3135         * gst/gstelementfactory.c (gst_element_factory_create): 
3136         * gst/gstindexfactory.c (gst_index_factory_create): Update for
3137         refcount changes.
3138
3139         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3140         (gst_plugin_feature_load): Doc, don't eat refs.
3141
3142         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3143         (gst_plugin_list_free): Doc.
3144         (gst_plugin_load_file): Doc updates.
3145
3146         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3147         accessors returning refcounted objects, return a ref.
3148
3149         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3150         accessor for caps. IDEMPOTENCE. Oh yes.
3151
3152 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
3153
3154         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3155
3156         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3157         (_gst_debug_register_funcptr):
3158           Add mutex to serialise access to the hash table with
3159           the function pointer => function name string mapping;
3160           make that hash table static scope (#316809).
3161
3162         * gst/registries/.cvsignore:
3163           Remove left-over file.
3164
3165 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
3166
3167         * docs/pwg/appendix-porting.xml:
3168           And something about newsegment events and caps-on-buffers to
3169           the porting guide (feel free to improve).
3170
3171 2005-09-21  Andy Wingo  <wingo@pobox.com>
3172
3173         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3174         data and event probes on the same pad.
3175         (test_buffer_probe_once): Test that removing probes from within
3176         the probe functions works.
3177
3178 2005-09-21  Andy Wingo  <wingo@pobox.com>
3179
3180         * check/gst/gstutils.c: New file.
3181         (test_buffer_probe_n_times): A simple buffer probe test. More to
3182         come, foolios.
3183
3184         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3185         have-data::buffer, not have-data.
3186         (gst_pad_add_event_probe): Likewise for have-data::event.
3187         (gst_pad_add_data_probe): More docs. The part about 'resolving the
3188         peer' isn't quite right yet though.
3189         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
3190         (gst_pad_remove_data_probe): Change to take the guint handler_id
3191         as their arg, not the function+data, which is more glib-like.
3192
3193         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3194         the signal emission to indicate if the data is a buffer or an
3195         event.
3196         (gst_pad_get_type): Initialize buffer and event quarks.
3197         (gst_pad_class_init): have-data is now a detailed signal, yes it
3198         is.
3199
3200 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
3201
3202         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3203         * gst/gstutils.c: (gst_util_set_value_from_string),
3204         (gst_util_set_object_arg):
3205           Don't put functional code in g_return_if_fail() or
3206           g_return_val_if_fail() statements, otherwise things will 
3207           break when G_DISABLE_CHECKS is defined during compilation.
3208
3209 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3210
3211         * docs/gst/tmpl/.cvsignore:
3212         * docs/gst/tmpl/gstvalue.sgml:
3213         * gst/gstvalue.c:
3214         * gst/gstvalue.h:
3215           inlied another one and added  some obvious docs
3216
3217 2005-09-21  Wim Taymans  <wim@fluendo.com>
3218
3219         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3220         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3221         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3222         (gst_fdsrc_get_property), (gst_fdsrc_create):
3223         * gst/elements/gstfdsrc.h:
3224         Properly implement fdsrc. Removed signal and timeout,
3225         better implemented somewhere else.
3226
3227 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3228
3229         * docs/gst/tmpl/.cvsignore:
3230         * docs/gst/tmpl/gstimplementsinterface.sgml:
3231         * gst/gstinterface.c:
3232           inlined more docs
3233
3234 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * docs/gst/gstreamer-sections.txt:
3237         * docs/gst/tmpl/.cvsignore:
3238         * docs/gst/tmpl/gstenumtypes.sgml:
3239           remove obsolete doc file
3240
3241 2005-09-21  David Schleef  <ds@schleef.org>
3242
3243         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3244         little beer, fix a little leak.
3245
3246 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
3247
3248         * docs/gst/gstreamer-docs.sgml:
3249         * docs/gst/gstreamer-sections.txt:
3250         * docs/gst/tmpl/.cvsignore:
3251         * gst/Makefile.am:
3252         * gst/gst.h:
3253         * gst/gstbin.c:
3254         * gst/gstelement.h:
3255         * gst/gstindex.c: (gst_index_class_init):
3256         * gst/gstindex.h:
3257         * gst/gstindexfactory.c: (gst_index_factory_get_type),
3258         (gst_index_factory_class_init), (gst_index_factory_init),
3259         (gst_index_factory_finalize), (gst_index_factory_new),
3260         (gst_index_factory_destroy), (gst_index_factory_find),
3261         (gst_index_factory_create), (gst_index_factory_make):
3262         * gst/gstindexfactory.h:
3263         * gst/gstpluginfeature.c:
3264         * gst/gstpluginfeature.h:
3265         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3266           more docs inlined, splitted gstindex.{c,h}
3267
3268 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3269
3270         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3271           fix a leak
3272
3273 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
3274
3275         * gst/elements/gstfilesink.c: (gst_file_sink_init):
3276           Set sync to FALSE by default.
3277
3278 2005-09-20  Wim Taymans  <wim@fluendo.com>
3279
3280         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3281         (gst_base_sink_init):
3282         Make sync property settable from subclass.
3283
3284         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3285         (gst_fake_sink_change_state):
3286         Set sync to FALSE by default.
3287
3288 2005-09-20  Wim Taymans  <wim@fluendo.com>
3289
3290         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3291         * tools/gst-launch.c: (main):
3292         The timeout handler should have lower priority than the source
3293         so we don't timeout before popping a message with 0 timeout.
3294         Dump error messages after failed state change.
3295
3296 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
3297
3298         * tools/gst-inspect.c: (print_element_properties_info):
3299           Fix two typos.
3300
3301 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3302
3303         * check/gst/gstevent.c:
3304         * gst/elements/gstfakesink.c:
3305         * gst/elements/gstfakesink.h:
3306           remove the sync property from fakesink.
3307           has the side effect of setting sync TRUE
3308           for fakesink, which is a change.  Anyone who knows how
3309           to fix this nicely in a GObject-y way, feel free.
3310
3311 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3312
3313         * docs/gst/gstreamer-docs.sgml:
3314           remove probe refsection
3315
3316 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3317
3318         * check/Makefile.am:
3319           disable valgrinding the controller test again
3320         * docs/gst/gstreamer-sections.txt:
3321           update for api-changes
3322
3323 2005-09-20  Wim Taymans  <wim@fluendo.com>
3324
3325         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3326         (gst_base_sink_set_property), (gst_base_sink_get_property),
3327         (gst_base_sink_do_sync):
3328         * gst/base/gstbasesink.h:
3329         Added sync property to basesink to disable clock sync.
3330
3331 2005-09-20  Andy Wingo  <wingo@pobox.com>
3332
3333         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3334         eating the caller's refcount.
3335
3336         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
3337         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3338         refcount.
3339
3340         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3341         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3342         of GLib 2.8 public, so we can know which refcount to check in
3343         tests.
3344
3345         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3346         (gst_object_init): Only set the gst refcount if we're going ahead
3347         with the refcount hack.
3348
3349 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3350
3351         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3352         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3353           more leaks plumbed, added more debug-logging
3354         * gst/gstmacros.h:
3355           whitespace fix
3356
3357 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3358
3359         * gst/gstmessage.c:
3360           remove include of gstmemchunk.h
3361
3362 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3363
3364         * gst/gstclock.c: (_gst_clock_id_free):
3365           Commit from the Political Party For More Atomic CVS Commits,
3366           so that people don't waste too much of their day fishing
3367           out obvious leaks out of massive commits.
3368           Oh, and fix a pretty damn obvious leak in the memchunk
3369           removal code.
3370
3371 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
3372
3373         * check/Makefile.am:
3374         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3375           plug mem-leak, re-add to valgrindable tests
3376
3377 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3378
3379         * gst/gstplugin.h:
3380           unbreak the build for those who have chronic arthritis
3381           and typing "make check" is just too taxing on the hands
3382
3383 2005-09-20  Andy Wingo  <wingo@pobox.com>
3384
3385         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3386         really want it out, you should fix plugins at the same time.
3387
3388 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * configure.ac:
3391         * docs/gst/gstreamer-sections.txt:
3392         * gst/gstobject.c:
3393           added missing symbols to api docs
3394           disable ref-count hack if we have glib >= 2.8
3395
3396 2005-09-19  David Schleef  <ds@schleef.org>
3397
3398         * docs/gst/Makefile.am: Ignore a few more internal headers
3399         * docs/gst/gstreamer-docs.sgml: Remove old sections
3400         * docs/gst/gstreamer-sections.txt: Remove old sections
3401         * docs/gst/tmpl/gstobject.sgml: update
3402         * docs/gst/tmpl/gstplugin.sgml: update
3403         * docs/gst/tmpl/gstpluginfeature.sgml: update
3404         * docs/random/ds/0.9-suggested-changes: update.
3405         * gst/Makefile.am: remove memchunk and trashstack, since they're
3406           not used.
3407         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3408         * gst/gst.h: don't include some headers
3409         * gst/gstchildproxy.c: add gstmarshal.h
3410         * gst/gstclock.c: Don't use memchunks
3411         * gst/gstminiobject.c: Add some docs
3412         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3413         * gst/gstobject.h: same
3414         * gst/gstplugin.c: include gstmacros.h
3415         * gst/gstplugin.h: don't include gstmacros.h, since it's private
3416         * gst/gstquery.c: don't use memchunks
3417         * gst/gstregistry.c: rename gst_registry_deinit()
3418         * gst/gstregistry.h: same
3419
3420 2005-09-19  David Schleef  <ds@schleef.org>
3421
3422         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3423         * docs/libs/gstreamer-libs-sections.txt:
3424         * docs/libs/tmpl/gstgetbits.sgml:
3425         * docs/libs/tmpl/gstputbits.sgml:
3426
3427 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3428
3429         * win32/gstenumtypes.c:
3430         * win32/gstenumtypes.h:
3431           Update.
3432
3433 2005-09-19  Wim Taymans  <wim@fluendo.com>
3434
3435         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3436         Automatically PAUSE and RESUME a pipeline when a flushing seek
3437         is performed.
3438
3439 2005-09-19  Andy Wingo  <wingo@pobox.com>
3440
3441         * gst/gstregistry.h: Spacing fixen.
3442
3443 2005-09-19  Wim Taymans  <wim@fluendo.com>
3444
3445         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3446         Handle state change failure more correctly.
3447
3448 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3449
3450         * check/Makefile.am:
3451         * check/pipelines/cleanup.c: (run_pipeline):
3452         * check/pipelines/simple_launch_lines.c: (run_pipeline),
3453         (GST_START_TEST):
3454           enable cleanup again after fixing the leak
3455         * docs/README:
3456           some more info on docs
3457
3458 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3459
3460         * check/Makefile.am:
3461           re-enable tests now that leaks are plugged
3462         * check/gst/gst.c:
3463         * check/gst/gstbin.c:
3464         * check/gst/gstpipeline.c:
3465           add some more tests while fixing leaks
3466         * common/check.mak:
3467           make sure binaries are uptodate when valgrinding/gdbing
3468         * gst/gst.c:
3469         * gst/gstelementfactory.c:
3470           remove a ref too many, and add a FIXME for when we get
3471           round to disposing of classes
3472         * gst/gstplugin.c:
3473           fix the refcounting when loading a plugin from a file and
3474           the code pretends that the pointer is the same even though
3475           of course it can change
3476         * gst/gstpluginfeature.c:
3477           unref plugins marked cached (a bit confusing as a name)
3478           as the docs state should be done
3479           various doc additions to explain refcounting
3480         * gst/gstregistry.c:
3481         * gst/gstregistryxml.c:
3482           debugging
3483
3484 2005-09-19  Wim Taymans  <wim@fluendo.com>
3485
3486         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3487         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3488         (send_messages), (GST_START_TEST), (gstbus_suite):
3489         * check/gst/gstpipeline.c: (GST_START_TEST):
3490         * check/pipelines/cleanup.c: (run_pipeline):
3491         * check/pipelines/simple_launch_lines.c: (run_pipeline),
3492         (GST_START_TEST):
3493         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3494         (gst_bus_source_check), (gst_bus_source_dispatch),
3495         (gst_bus_create_watch), (gst_bus_add_watch_full),
3496         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3497         * gst/gstbus.h:
3498         * tools/gst-launch.c: (event_loop):
3499         * tools/gst-md5sum.c: (event_loop):
3500         GstBusHandler -> GstBusFunc, return value has the same meaning as
3501         any other GSource (FALSE == remove source).
3502         _add_watch() and _add_watch_full() now take a MessageType mask to
3503         only handle specific types of messages.
3504         _poll() returns the GstMessage instead of the message type to avoid
3505         race conditions.
3506         _have_pending() takes a MessageType mask now too.
3507         Added testsuite for multiple bus watches.
3508         Fix testsuites and applications for new bus API.
3509
3510 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
3511
3512         * check/Makefile.am:
3513           mark a bunch of the tests as to fix until we fix them
3514
3515 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3516
3517         * common/check.mak:
3518           use GST_PLUGIN settings for valgrind tests as well, so we're
3519           valgrinding the correct thing
3520         * gst/gst.c: (init_post):
3521           plug another leak
3522
3523 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3524
3525         * gst/gst.c: (init_post), (gst_deinit):
3526         * gst/gstelementfactory.c: (gst_element_factory_class_init),
3527         (gst_element_factory_finalize), (gst_element_factory_cleanup):
3528         * gst/gstindex.c: (gst_index_factory_class_init),
3529         (gst_index_factory_finalize):
3530         * gst/gstobject.c: (gst_object_dispose):
3531         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3532         (gst_plugin_load_file), (gst_plugin_desc_free):
3533         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3534         (gst_plugin_feature_finalize):
3535         * gst/gstregistry.c: (gst_registry_class_init),
3536         (gst_registry_init), (gst_registry_finalize),
3537         (gst_registry_get_default), (gst_registry_deinit):
3538         * gst/gstregistry.h:
3539         * gst/gstregistryxml.c: (load_feature), (load_plugin):
3540           various cleanups and memleak plugging.  make valgrind is happy now.
3541
3542 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
3543
3544         * common/check.mak:
3545           add a check-valgrind target
3546
3547 2005-09-18  David Schleef  <ds@schleef.org>
3548
3549         * tools/gst-inspect.c: Revert the GOption code.
3550
3551 2005-09-17  David Schleef  <ds@schleef.org>
3552
3553         * check/Makefile.am: Fix environment variables.
3554         * check/gst/gstplugin.c: Fix for API changes.
3555         * tools/gst-inspect.c: Fix for API changes.
3556         * tools/gst-xmlinspect.c: Fix for API changes.
3557         * gst/gstelementfactory.c:
3558         * gst/gstplugin.c:
3559         * gst/gstplugin.h:
3560         * gst/gstpluginfeature.c:
3561         * gst/gstpluginfeature.h:
3562         * gst/gstregistry.c:
3563         * gst/gstregistry.h:
3564         * gst/gstregistryxml.c:
3565         * gst/gsttypefind.c:
3566         * gst/gsttypefindfactory.c:
3567         * gst/indexers/gstfileindex.c:
3568         * gst/indexers/gstmemindex.c:
3569         * gst/schedulers/Makefile.am:
3570           Change registry to keep track of both plugins and features,
3571           removing the feature tracking from plugins themselves.
3572
3573 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
3574
3575         * check/Makefile.am:
3576         * tools/gst-register.1.in:
3577           remove gst-register
3578
3579 2005-09-15  David Schleef  <ds@schleef.org>
3580
3581         * check/gst/gstplugin.c:
3582         * gst/gstelementfactory.c:
3583         * gst/gstplugin.c:
3584         * gst/gstpluginfeature.c:
3585         * gst/gstregistry.c:
3586           Getting tired of debugging.  Disabled all the unreffing of
3587           plugins and features, which fixes the segfaults, but of
3588           course leaks like crazy.  At least playbin works.
3589
3590 2005-09-15  David Schleef  <ds@schleef.org>
3591
3592         * check/gst/gstplugin.c: (register_check_elements),
3593         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3594         More testing
3595         * gst/elements/gsttypefindelement.c: Fix refcounting.
3596         * gst/gsttypefind.c:
3597         * gst/gsttypefindfactory.c:
3598         * gst/gsttypefindfactory.h:
3599
3600 2005-09-15  David Schleef  <ds@schleef.org>
3601
3602         * gst/gstindex.c: get refcounting correct.
3603         * gst/gstregistry.c: Handle the case where a feature/plugin is
3604           not found.
3605
3606 2005-09-15  David Schleef  <ds@schleef.org>
3607
3608         * check/Makefile.am:
3609         * check/gst/gstplugin.c: Add test
3610         * gst/gstplugin.c: Fix problems noticed by testsuite
3611         * gst/gstplugin.h:
3612         * gst/gstregistry.c: 
3613         * gst/gstregistry.h:
3614
3615 2005-09-15  David Schleef  <ds@schleef.org>
3616
3617         * gst/gstplugin.c: Implement semi-decent recounting and locking
3618           in plugins and plugin features.
3619         * gst/gstplugin.h:
3620         * gst/gstpluginfeature.c:
3621         * gst/gstpluginfeature.h:
3622         * gst/gstregistry.c:
3623
3624 2005-09-15  Michael Smith <msmith@fluendo.com>
3625
3626         * gst/gstregistry.c: (gst_registry_get_feature_list):
3627           Implement this. Makes oggdemux work; decodebin still broken.
3628
3629 2005-09-14  David Schleef  <ds@schleef.org>
3630
3631         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3632           #316076)
3633         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3634         * gst/check/Makefile.am:
3635         * libs/gst/controller/Makefile.am:
3636         * libs/gst/dataprotocol/Makefile.am:
3637
3638 2005-09-14  David Schleef  <ds@schleef.org>
3639
3640         * configure.ac: Remove getbits library.  Nothing uses it, and
3641           it should be in something like liboil if someone did want
3642           to use it.
3643         * libs/gst/Makefile.am:
3644         * libs/gst/getbits/Makefile.am:
3645         * libs/gst/getbits/gbtest.c:
3646         * libs/gst/getbits/getbits.c:
3647         * libs/gst/getbits/getbits.h:
3648         * libs/gst/getbits/gstgetbits_generic.c:
3649         * libs/gst/getbits/gstgetbits_i386.s:
3650         * libs/gst/getbits/gstgetbits_inl.h:
3651
3652 2005-09-14  David Schleef  <ds@schleef.org>
3653
3654         * gst/Makefile.am: Dist glib-compat.h
3655
3656 2005-09-14  David Schleef  <ds@schleef.org>
3657
3658         * configure.ac: Remove gst/registries, since it's no longer used.
3659         * gst/registries/Makefile.am:
3660         * gst/registries/gstlibxmlregistry.c:
3661         * gst/registries/gstlibxmlregistry.h:
3662         * gst/registries/gstxmlregistry.c:
3663         * gst/registries/gstxmlregistry.h:
3664         * gst/registries/registrytest.c:
3665
3666 2005-09-14  David Schleef  <ds@schleef.org>
3667
3668         * gst/glib-compat.h:
3669         * gst/gstregistryxml.c:
3670           Convergence is near.  Seriously.
3671
3672 2005-09-14  David Schleef  <ds@schleef.org>
3673
3674         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3675         * gst/glib-compat.h:
3676           Attempt #4 to appease the buildbots.
3677
3678 2005-09-14  David Schleef  <ds@schleef.org>
3679
3680         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3681           Attempt #3.
3682
3683 2005-09-14  David Schleef  <ds@schleef.org>
3684
3685         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3686         Attempt #2.
3687
3688 2005-09-14  David Schleef  <ds@schleef.org>
3689
3690         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3691           the new functions.
3692
3693 2005-09-14  David Schleef  <ds@schleef.org>
3694
3695         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3696         * gst/glib-compat.h: Add some functions that are in newer versions
3697           of glib than we care to require.
3698         * gst/gstregistryxml.c: Use them.
3699
3700 2005-09-14  David Schleef  <ds@schleef.org>
3701
3702         * po/POTFILES.in: remove gst-register.c
3703
3704 2005-09-14  David Schleef  <ds@schleef.org>
3705
3706         * docs/gst/gstreamer-docs.sgml:
3707         * docs/gst/gstreamer-sections.txt:
3708         * docs/gst/gstreamer.types:
3709         * docs/gst/tmpl/gstelement.sgml:
3710         * docs/gst/tmpl/gstplugin.sgml:
3711         * docs/gst/tmpl/gstpluginfeature.sgml:
3712           Documentation updates for registry changes.
3713
3714 2005-09-14  David Schleef  <ds@schleef.org>
3715
3716         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3717           because we don't require glib-2.8.
3718
3719 2005-09-14  David Schleef  <ds@schleef.org>
3720
3721         * gst/gstregistryxml.c: Added.  Essentially moved out of the
3722           registries directory.
3723
3724 2005-09-14  David Schleef  <ds@schleef.org>
3725
3726         * check/Makefile.am:
3727         * check/generic/states.c:
3728         * gst/Makefile.am:
3729         * gst/gst.c:
3730         * gst/gst.h:
3731         * gst/gst_private.h:
3732         * gst/gstelementfactory.c:
3733         * gst/gstindex.c:
3734         * gst/gstinfo.c:
3735         * gst/gstplugin.c:
3736         * gst/gstplugin.h:
3737         * gst/gstpluginfeature.c:
3738         * gst/gstpluginfeature.h:
3739         * gst/gstregistry.c:
3740         * gst/gstregistry.h:
3741         * gst/gstregistrypool.c: remove
3742         * gst/gstregistrypool.h: remove
3743         * gst/gsttypefind.c:
3744         * gst/gsttypefindfactory.c:
3745         * gst/gsturi.c:
3746         * tools/Makefile.am:
3747         * tools/gst-compprep.c:
3748         * tools/gst-inspect.c:
3749         * tools/gst-register.c: remove
3750         * tools/gst-xmlinspect.c:
3751           Registry rewrite.  Changes registry from being a file created
3752           by a tool into a simple cache file created automatically by 
3753           libgstreamer.  Removed gst-register (because it's no longer
3754           needed).  Remove registry pools, because we only have one
3755           registry implementation (XML).  Fix up other subsystems as
3756           necessary.
3757
3758 2005-09-13  Michael Smith <msmith@fluendo.com>
3759
3760         * gst/gstconfig.h.in:
3761           Don't Use windows linking attributes for MinGW. Fixes #316157
3762
3763 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3764
3765         * gst/gstutils.c: (set_state_async_thread_func),
3766         (gst_element_set_state_async):
3767           Apparently people think it's better if this function doesn't
3768           try to set the state to whatever state was asked for on the first
3769           call to this function for any object.  Seriously.
3770
3771 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3772
3773         * check/gst/gstpipeline.c: (GST_START_TEST):
3774         * docs/gst/gstreamer-sections.txt:
3775         * gst/gstutils.c: (set_state_async_thread_func),
3776         (gst_element_set_state_async):
3777         * gst/gstutils.h:
3778           add a "gst_element_set_state_async" method that
3779           sets the state and starts a thread to make sure the state
3780           change completes as best as it can
3781
3782 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3783
3784         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3785           codify design+behaviour in testsuite after discussion
3786
3787 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3788
3789         * docs/gst/tmpl/gstelement.sgml:
3790         * docs/manual/appendix-quotes.xml:
3791           add a quote
3792         * gst/gstelement.c: (gst_element_set_state):
3793           add some debug
3794
3795 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
3796
3797         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3798         (gst_base_transform_prepare_output_buf),
3799         (gst_base_transform_handle_buffer):
3800         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3801         (gst_capsfilter_prepare_buf):
3802           Remove the requirement for sub-classes to call the parent
3803           implementation of prepare_output_buffer with a wrapper function.
3804           
3805         * gst/gsttaglist.h:
3806         * gst/gsttagsetter.h:
3807           Fix #define wrapper
3808
3809 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
3810
3811         * docs/gst/gstreamer-sections.txt:
3812           more doc cleanups
3813
3814 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3815
3816         * docs/gst/gstreamer-sections.txt:
3817         * docs/gst/tmpl/gstelement.sgml:
3818         * docs/gst/tmpl/gstplugin.sgml:
3819         * gst/gstminiobject.c:
3820         * gst/gstvalue.h:
3821           docs now stop throwing warnings
3822
3823 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3824
3825         * docs/gst/gstreamer-sections.txt:
3826         * docs/gst/gstreamer.types:
3827         * docs/gst/tmpl/gstpad.sgml:
3828         * docs/gst/tmpl/gsttypes.sgml:
3829         * gst/base/gstadapter.h:
3830         * gst/base/gstbasesink.h:
3831         * gst/base/gstbasesrc.h:
3832         * gst/gstbin.h:
3833         * gst/gstbuffer.h:
3834         * gst/gstbus.h:
3835         * gst/gstcaps.h:
3836         * gst/gstclock.h:
3837         * gst/gstelement.h:
3838         * gst/gstevent.h:
3839         * gst/gstmessage.h:
3840         * gst/gstpad.h:
3841         * gst/gststructure.c:
3842         * gst/registries/gstlibxmlregistry.h:
3843           various documentation fixes
3844
3845 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3846
3847         * docs/gst/gstreamer-sections.txt:
3848         * docs/gst/tmpl/gstvalue.sgml:
3849           rearrange gstvalue section
3850         * gst/gstutils.c: (gst_element_state_get_name):
3851           NONE -> VOID
3852         * gst/gstvalue.c: (_gst_value_initialize):
3853         * gst/gstvalue.h:
3854           doc updates
3855
3856 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
3857
3858         * check/gst-libs/controller.c:
3859           Header include fix.
3860         * gst/base/gstbasetransform.c:
3861         (gst_base_transform_default_prepare_buf),
3862         (gst_base_transform_handle_buffer):
3863         * gst/base/gstbasetransform.h:
3864           Some more basetransform changes and fixes to enable sub-classes
3865           that modify buffer metadata only.
3866         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3867         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3868         (gst_capsfilter_prepare_buf):
3869           If the output pad has fixed allowed caps and input buffers 
3870           don't have any, set the fixed caps on outgoing buffers.
3871
3872 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
3873         * check/elements/identity.c: (GST_START_TEST):
3874           Make the error a little clearer when the test fails because
3875           identity made a copy of the buffer.
3876         * docs/gst/gstreamer-sections.txt:
3877           New symbols in gstbasetransform.h
3878         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3879         (gst_base_transform_init), (gst_base_transform_transform_size),
3880         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3881         (gst_base_transform_default_prepare_buf),
3882         (gst_base_transform_get_unit_size),
3883         (gst_base_transform_buffer_alloc),
3884         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3885         (gst_base_transform_change_state),
3886         (gst_base_transform_set_passthrough),
3887         (gst_base_transform_set_in_place),
3888         (gst_base_transform_is_in_place):
3889         * gst/base/gstbasetransform.h:
3890           Change BaseTransform to separate in_place operate from same_caps
3891           output. in_place implies that the element can perform the transform
3892           on incoming buffers in-place, even if the caps on the output are
3893           different.
3894           Sub-class elements can now implement special buffer allocation
3895           methods for outgoing buffers if they wish to.
3896           Big documentation addition.
3897         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3898         * gst/elements/gstelements.c:
3899           Changes for basetransform modifications.
3900         * gst/elements/Makefile.am:
3901         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3902           Compile fix. Extra debug output.
3903
3904 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3905
3906         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3907         (gst_pad_suite):
3908           add tests for valid pad naming
3909         * gst/check/gstcheck.c: (gst_check_log_message_func),
3910         (gst_check_log_critical_func):
3911           add ASSERT_WARNING
3912           remove printing of code, it is fragile when the code contains
3913           % and the line number is enough info
3914         * gst/check/gstcheck.h:
3915         * gst/gstpad.c: (gst_pad_template_new):
3916           fix memleaks
3917
3918 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3919
3920         * configure.ac:
3921           say what CHECK flags we use
3922         * docs/libs/gstreamer-libs.types:
3923         * libs/gst/controller/Makefile.am:
3924         * libs/gst/controller/gst-controller.c:
3925         * libs/gst/controller/gst-controller.h:
3926         * libs/gst/controller/gst-helper.c:
3927         * libs/gst/controller/gst-interpolation.c:
3928         * libs/gst/controller/gstcontroller.c:
3929         * libs/gst/controller/gsthelper.c:
3930         * libs/gst/controller/gstinterpolation.c:
3931         * tools/gst-inspect.c: (print_plugin_info):
3932           we don't use dashes in header names
3933
3934 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3935
3936         * check/Makefile.am:
3937         * check/gst/.cvsignore:
3938         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3939         (gst_pipeline_suite), (main):
3940           adding a test for pipelines and state changes
3941         * gst/gstutils.c: (get_state_func):
3942           add some debugging
3943         * gstreamer.spec.in:
3944           fix up spec file
3945
3946 2005-09-08  Michael Smith <msmith@fluendo.com>
3947
3948         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3949         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3950         (gst_file_src_is_seekable), (gst_file_src_get_size),
3951         (gst_file_src_start):
3952         * gst/elements/gstfilesrc.h:
3953           Various fixes for unseekable, unmmapable, and non-normal files, so
3954           that fallback to read() rather than mmap() works.
3955         * gst/gstevent.c: (gst_event_new_newsegment):
3956           Allow newsegment events with segment_start == segment_end, as will
3957           correctly happen if you use filesrc on a zero-size file, for
3958           example.
3959
3960 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
3961
3962         * gst/gstplugin.c: (gst_plugin_load_file):
3963           Call g_module_close when we don't load the module
3964
3965         * gst/registries/gstlibxmlregistry.c:
3966         (gst_xml_registry_get_property):
3967           Port leak fix from 0.8
3968
3969 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
3970
3971         * docs/gst/gstreamer-docs.sgml:
3972         * docs/gst/tmpl/.cvsignore:
3973         * docs/gst/tmpl/gsttrace.sgml:
3974         * docs/gst/tmpl/gsttrashstack.sgml:
3975         * gst/Makefile.am:
3976         * gst/gst.h:
3977         * gst/gstelement.h:
3978         * gst/gstevent.h:
3979         * gst/gstmessage.c:
3980         * gst/gstmessage.h:
3981         * gst/gsttag.c:
3982         * gst/gsttag.h:
3983         * gst/gsttaginterface.c:
3984         * gst/gsttaginterface.h:
3985         * gst/gsttaglist.c:
3986         * gst/gsttaglist.h:
3987         * gst/gsttagsetter.c:
3988         * gst/gsttagsetter.h:
3989         * gst/gsttrace.c:
3990         * gst/gsttrace.h:
3991         * gst/gsttrashstack.c:
3992           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3993           inlined docs for gsttrace, gsttrashstack
3994
3995 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
3996
3997         * gst/Makefile.am:
3998         * gst/elements/gstbufferstore.h:
3999         * gst/elements/gsttypefindelement.c:
4000         * gst/elements/gsttypefindelement.h:
4001         * gst/gst.h:
4002         * gst/gsttypefind.c:
4003         * gst/gsttypefind.h:
4004         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4005         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4006         (gst_type_find_factory_dispose),
4007         (gst_type_find_factory_unload_thyself),
4008         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4009         (gst_type_find_factory_get_caps),
4010         (gst_type_find_factory_get_extensions),
4011         (gst_type_find_factory_call_function):
4012         * gst/gsttypefindfactory.h:
4013         * gst/registries/gstlibxmlregistry.c:
4014         * gst/registries/gstxmlregistry.c:
4015           splitted gsttypefind into gsttypefind, gsttypefindfactory
4016
4017 2005-09-07  Andy Wingo  <wingo@pobox.com>
4018
4019         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4020         condition whereby the pad's task function is entered before the
4021         pad_mode variable was set.
4022
4023 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
4024
4025         * gst/gstpad.c: (gst_pad_alloc_buffer):
4026           Catch misbehaving pad_alloc functions that don't
4027           set up caps and do it for them.
4028
4029 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
4030
4031         * check/pipelines/simple_launch_lines.c: (run_pipeline):
4032           test for pipe!=NULL
4033         * docs/gst/tmpl/.cvsignore:
4034         * docs/gst/tmpl/gstmemchunk.sgml:
4035         * docs/gst/tmpl/gstparse.sgml:
4036         * docs/gst/tmpl/gsttaglist.sgml:
4037         * docs/gst/tmpl/gsttagsetter.sgml:
4038         * docs/gst/tmpl/gsttypefind.sgml:
4039         * docs/gst/tmpl/gsttypefindfactory.sgml:
4040         * gst/gstmemchunk.c:
4041         * gst/gstparse.c:
4042         * gst/gsttag.c:
4043         * gst/gsttaginterface.c:
4044         * gst/gsttypefind.c:
4045         * gst/gsttypefind.h:
4046           inlined more docs
4047
4048 === release 0.9.2 ===
4049
4050 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4051
4052         * NEWS:
4053         * RELEASE:
4054         * configure.ac:
4055           releasing 0.9.2, "South"
4056
4057 2005-09-05  Andy Wingo  <wingo@pobox.com>
4058
4059         * gst/registries/gstxmlregistry.h:
4060         * gst/registries/gstxmlregistry.c: Um... resurrect...
4061         
4062         * gst/registries/gstxmlregistry.h:
4063         * gst/registries/gstxmlregistry.c: and update to newer API.
4064         Incidentally they should be a bit faster now that they don't have
4065         to parse the caps.
4066         
4067 2005-09-05  Andy Wingo  <wingo@pobox.com>
4068
4069         * gst/registries/gstxmlregistry.h:
4070         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4071         replaced by the libxml registry a while back
4072
4073 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4074
4075         * docs/gst/tmpl/gstplugin.sgml:
4076         * gst/elements/gstelements.c:
4077         * gst/gst.c:
4078         * gst/gstplugin.c: (gst_plugin_register_func),
4079         (gst_plugin_desc_copy), (gst_plugin_desc_free),
4080         (gst_plugin_get_source):
4081         * gst/gstplugin.h:
4082         * gst/registries/gstlibxmlregistry.c: (load_plugin),
4083         (gst_xml_registry_save_plugin):
4084         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4085         (gst_xml_registry_save_plugin):
4086         * tools/gst-inspect.c: (print_plugin_info):
4087           add a "source" plugin description field, to represent the source
4088           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
4089           will set it to PACKAGE, which is automake's idea of the name of
4090           the source project.
4091
4092 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4093
4094         * Makefile.am:
4095         * autogen.sh:
4096         * configure.ac:
4097         * docs/Makefile.am:
4098         * docs/faq/Makefile.am:
4099         * docs/gst/tmpl/gstelement.sgml:
4100         * docs/gst/tmpl/gsttypes.sgml:
4101         * docs/htmlinstall.mak:
4102         * docs/manual/Makefile.am:
4103         * docs/pwg/Makefile.am:
4104           reorganize doc build a little
4105           split out docbook and gtk-doc stuff
4106           have two separate --enable's and enable them through autogen
4107           but disable by default in configure (to be similar to other
4108           projects)
4109         * gstreamer.spec.in:
4110           clean up docs install
4111         * po/af.po:
4112         * po/az.po:
4113         * po/ca.po:
4114         * po/cs.po:
4115         * po/de.po:
4116         * po/en_GB.po:
4117         * po/fr.po:
4118         * po/it.po:
4119         * po/nb.po:
4120         * po/nl.po:
4121         * po/ru.po:
4122         * po/sq.po:
4123         * po/sr.po:
4124         * po/sv.po:
4125         * po/tr.po:
4126         * po/uk.po:
4127         * po/vi.po:
4128           translation updates
4129
4130 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
4131
4132         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4133           Add comment.
4134           
4135         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4136         (gst_fake_sink_change_state):
4137           Make state change function thread-safe.
4138           
4139         * gst/gstpad.c: (gst_pad_alloc_buffer):
4140           Set offset on generic buffer allocated by fallback.
4141
4142 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
4143
4144         * docs/gst/gstreamer-sections.txt:
4145         * docs/gst/tmpl/gstelement.sgml:
4146         * gst/gstpad.c:
4147         * libs/gst/controller/gst-controller.c:
4148         (gst_controlled_property_set_interpolation_mode),
4149         (gst_controlled_property_new),
4150         (gst_controller_find_controlled_property):
4151          run the wingo-magic script against the docs
4152
4153 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
4154
4155         * docs/gst/gstreamer-docs.sgml:
4156         * docs/gst/gstreamer-sections.txt:
4157         * docs/gst/tmpl/.cvsignore:
4158         * docs/gst/tmpl/gstelementdetails.sgml:
4159         * docs/gst/tmpl/gstelementfactory.sgml:
4160         * gst/gst.c:
4161         * gst/gstbus.c:
4162         * gst/gstelementfactory.c:
4163         * gst/gstelementfactory.h:
4164           merged elementdetails docs into elementfactory docs
4165           inlined both
4166
4167 2005-09-02  Andy Wingo  <wingo@pobox.com>
4168
4169         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4170         consider this enum an enum and not a flags.
4171
4172 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
4173
4174         * docs/gst/gstreamer-docs.sgml:
4175         * docs/gst/tmpl/.cvsignore:
4176         * docs/gst/tmpl/gstghostpad.sgml:
4177         * docs/gst/tmpl/gstiterator.sgml:
4178         * docs/gst/tmpl/gstmacros.sgml:
4179         * docs/gst/tmpl/gstrealpad.sgml:
4180         * docs/gst/tmpl/gstregistry.sgml:
4181         * docs/gst/tmpl/gstregistrypool.sgml:
4182         * docs/gst/tmpl/gststructure.sgml:
4183         * docs/gst/tmpl/gstsystemclock.sgml:
4184         * docs/gst/tmpl/gsttrace.sgml:
4185         * gst/gstghostpad.c:
4186         * gst/gstmacros.h:
4187         * gst/gstmemchunk.c:
4188         * gst/gstmemchunk.h:
4189         * gst/gstqueue.c:
4190         * gst/gstregistry.c:
4191         * gst/gstregistrypool.c:
4192         * gst/gststructure.c:
4193         * gst/gstsystemclock.c:
4194           more docs inlined
4195
4196 2005-09-02  Andy Wingo  <wingo@pobox.com>
4197
4198         * gst/gstelement.h (GstState): Renamed from GstElementState,
4199         changed to be a normal enum instead of flags.
4200         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4201         munged to be GST_STATE_CHANGE_*.
4202         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4203         work with the new state representation.
4204         (GstStateChange): New enumeration of possible state transitions.
4205         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4206         (GstElementClass::change_state): Pass the GstStateChange along as
4207         an argument. Helps language bindings, so they don't have to use
4208         tricky lock-needing macros like GST_STATE_CHANGE ().
4209
4210         * scripts/update-states (file): New script. Run it on a file to
4211         update it for state naming and API changes. Updates files in
4212         place.
4213
4214         * All files updated for the new API.
4215
4216 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4217
4218         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4219         * gst/gstutils.c: (gst_util_set_value_from_string),
4220         (gst_util_set_object_arg):
4221           fix a bunch of unchecked return values
4222         * tools/gst-complete.c: (main):
4223         * gstreamer.spec.in:
4224           clean up a little
4225
4226 2005-09-01  Wim Taymans  <wim@fluendo.com>
4227
4228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4229         (gst_base_sink_event), (gst_base_sink_do_sync),
4230         (gst_base_sink_handle_event):
4231         * gst/base/gstbasesink.h:
4232         Handle newsegments more correctly.
4233
4234         * gst/gstbus.c:
4235         Fix docs.
4236
4237         * gst/gstevent.c: (gst_event_new_newsegment):
4238         A newsegment cannot have a start_time of -1
4239
4240 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
4241
4242         * win32/gstenumtypes.c:
4243         * win32/gstenumtypes.h:
4244           Update
4245
4246 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4247
4248         * libs/gst/controller/gst-controller.c:
4249         (gst_controlled_property_set_interpolation_mode),
4250         (gst_controlled_property_new):
4251          fixed boolean again
4252
4253 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
4254
4255         * docs/faq/gst-uninstalled:
4256           add -good
4257         * gst/gstevent.c:
4258         * gst/gstevent.h:
4259           remove wrong docs
4260         * gst/gstutils.c: (gst_element_link_filtered):
4261         * gst/gstutils.h:
4262           add gst_element_link_filtered
4263
4264 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4265
4266         * docs/gst/gstreamer-docs.sgml:
4267         * docs/gst/gstreamer-sections.txt:
4268         * docs/gst/tmpl/.cvsignore:
4269         * docs/gst/tmpl/gsterror.sgml:
4270         * docs/gst/tmpl/gstfilter.sgml:
4271         * docs/gst/tmpl/gsturihandler.sgml:
4272         * docs/gst/tmpl/gsturitype.sgml:
4273         * docs/gst/tmpl/gstutils.sgml:
4274         * docs/gst/tmpl/gstxml.sgml:
4275         * gst/gsterror.c:
4276         * gst/gsterror.h:
4277         * gst/gstfilter.c:
4278         * gst/gsturi.c:
4279         * gst/gsturitype.c:
4280         * gst/gstutils.c:
4281         * gst/gstxml.c:
4282           inlined more docs, fixed double id-ref
4283
4284 2005-08-31  Wim Taymans  <wim@fluendo.com>
4285
4286         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4287         (gst_base_transform_handle_buffer):
4288         Passthrough elements don't need the caps as they don't care.
4289
4290 2005-08-31  Wim Taymans  <wim@fluendo.com>
4291
4292         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4293         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4294         Don't leak refcounts on buffers.
4295
4296 2005-08-31  Wim Taymans  <wim@fluendo.com>
4297
4298         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4299         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4300         (gst_base_transform_chain), (gst_base_transform_change_state):
4301         * gst/base/gstbasetransform.h:
4302         Handle the case where we are not negotiated more gracefully.
4303
4304 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
4305
4306         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4307         (gst_file_src_map_region):
4308           Set READONLY flag on mmap'ed buffers, otherwise
4309           gst_buffer_make_writable() won't work properly (#314708).
4310
4311 2005-08-31  Wim Taymans  <wim@fluendo.com>
4312
4313         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4314         passthrough elements can even do inplace on non writable
4315         buffers (as they don't touch them).
4316
4317 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
4318
4319         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4320         (gst_test_mono_source_set_property),
4321         (gst_test_mono_source_class_init), (GST_START_TEST),
4322         (gst_controller_suite):
4323           more tests (hehe I have the most)
4324         * gst/gstbus.c:
4325           describe popping messages whenusing mulltiple sources
4326         * libs/gst/controller/gst-controller.c:
4327         (gst_controlled_property_set_interpolation_mode),
4328         (gst_controlled_property_new):
4329         * libs/gst/controller/gst-controller.h:
4330         * libs/gst/controller/gst-interpolation.c:
4331           implement boolean properties
4332
4333 2005-08-31  Wim Taymans  <wim@fluendo.com>
4334
4335         * gst/gstminiobject.c: (gst_mini_object_ref):
4336         Cannot assert that the refcount has to be positive
4337         since a disposed object can be resurrected.
4338
4339 2005-08-31  Wim Taymans  <wim@fluendo.com>
4340
4341         * gst/gstpad.c: (gst_pad_init):
4342         Revert change, need to first fix badly behaving 
4343         apps.
4344
4345 2005-08-30  Wim Taymans  <wim@fluendo.com>
4346
4347         * check/elements/fakesrc.c: (setup_fakesrc):
4348         * check/elements/identity.c: (setup_identity):
4349         Activate pads before using them.
4350
4351 2005-08-30  Wim Taymans  <wim@fluendo.com>
4352
4353         * gst/base/gstadapter.c: (gst_adapter_flush):
4354         Flushing out 0 bytes is ok for this function.
4355
4356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4357         no newsegment gives a warning and sets the start/stop to 
4358         invalid.
4359
4360         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4361         (gst_base_transform_set_passthrough):
4362         Some debug info.
4363
4364         * gst/gstminiobject.c: (gst_mini_object_ref):
4365         Check refcount here too.
4366
4367         * gst/gstpad.c: (gst_pad_init):
4368         Pads are initially flushing and refusing data.
4369
4370         * gst/gstutils.c: (gst_element_link_pads_filtered):
4371         When adding a capsfilter element make sure it has the
4372         same state as the parent bin.
4373
4374 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4375
4376         * docs/gst/tmpl/.cvsignore:
4377         * docs/gst/tmpl/gstformat.sgml:
4378         * docs/gst/tmpl/gstversion.sgml:
4379         * gst/gstbus.h:
4380         * gst/gstformat.c:
4381         * gst/gstformat.h:
4382         * gst/gstversion.h.in:
4383           more docs and two more inlined
4384
4385 2005-08-30  Wim Taymans  <wim@fluendo.com>
4386
4387         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4388         Don't sync to clock.
4389
4390 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4391
4392         * docs/gst/gstreamer-sections.txt:
4393           ultral33t func10ns deserve to appear in the docs actually
4394         * docs/gst/tmpl/.cvsignore:
4395         * docs/gst/tmpl/gstcompat.sgml:
4396         * docs/gst/tmpl/gstconfig.sgml:
4397         * gst/check/gstcheck.c:
4398         * gst/gstcompat.h:
4399         * gst/gstconfig.h.in:
4400           inlined more docs
4401
4402 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4403
4404         * docs/gst/tmpl/.cvsignore:
4405         * docs/gst/tmpl/gstquery.sgml:
4406         * docs/gst/tmpl/gstutils.sgml:
4407         * gst/gstquery.c:
4408         * gst/gstquery.h:
4409           inlined and extended docs
4410
4411 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
4412
4413         * check/gst-libs/controller.c: (GST_START_TEST),
4414         (gst_controller_suite):
4415           more tests
4416         * docs/gst/tmpl/gstutils.sgml:
4417         * docs/libs/gstreamer-libs-sections.txt:
4418         * docs/libs/tmpl/gstdataprotocol.sgml:
4419           include path fixes
4420         * examples/controller/audio-example.c: (main):
4421           controller example works now
4422         * gst/gstclock.h:
4423           doc fixes
4424         * tools/gst-inspect.c: (print_element_properties_info):
4425           show param spec flags
4426
4427 2005-08-29  Andy Wingo  <wingo@pobox.com>
4428
4429         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4430
4431 2005-08-28  Andy Wingo  <wingo@pobox.com>
4432
4433         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4434         as having two arguments instead of just one. Allows superclasses
4435         to access information on subclasses -- see the terrible for() loop
4436         in gtype.c:g_type_create_instance for the reason why. All callers
4437         changed.
4438
4439 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4440
4441         * docs/design/part-messages.txt:
4442           update info
4443         * docs/gst/tmpl/.cvsignore:
4444         * docs/gst/tmpl/gstcaps.sgml:
4445         * docs/gst/tmpl/gstclock.sgml:
4446         * gst/gstbus.c:
4447         * gst/gstcaps.c:
4448         * gst/gstcaps.h:
4449         * gst/gstclock.c:
4450         * gst/gstclock.h:
4451         * gst/gstmessage.c:
4452           added descriptions for bus and message
4453           inline caps and clock docs
4454
4455 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4456
4457         * gst/gstmessage.c:
4458         * gst/gstmessage.h:
4459           doc fixes
4460
4461 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
4462
4463         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4464           fix div-by-zero
4465
4466 2005-08-26  Andy Wingo  <wingo@pobox.com>
4467
4468         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4469         element_set_state's return val.
4470         (test_2_elements): Add test that's been disabled for months.
4471
4472         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4473         can-activate-pull properties.
4474
4475         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4476         can-activate-pull properties. Implement is_seekable so fakesrc can
4477         operate in pull mode.
4478
4479         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4480         properties.
4481         (gst_base_sink_activate, gst_base_sink_activate_pull)
4482         (gst_base_sink_activate_push): Make activation mode choosing work.
4483         Cleanups.
4484         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4485         is right. Make pull mode work. Post an eos before pausing in pull
4486         mode.
4487         (gst_base_sink_change_state): Pay attention to the core's
4488         change_state() return val.
4489         
4490         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4491         has-getrange properties. Cleanups.
4492         
4493         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4494         has_getrange and replace with can_activate_pull and
4495         can_activate_push.
4496
4497         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4498         locking comments. Remove has_loop, has_chain and replace with
4499         can_activate_pull and can_activate_push.
4500
4501 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
4502
4503         * configure.ac:
4504         * examples/Makefile.am:
4505         * examples/metadata/Makefile.am:
4506         * examples/metadata/read-metadata.c: (message_loop),
4507         (have_pad_handler), (make_pipeline), (print_tag), (main):
4508           Add metadata reading example that loops over a list of filenames,
4509           dumping any tags found.
4510
4511         * gst/gstbus.c: (gst_bus_dispose):
4512         * gst/gstelement.c: (gst_element_dispose):
4513           Release a few potentially-held references in dispose.
4514
4515 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
4516
4517         * docs/gst/tmpl/gstminiobject.sgml:
4518           do *not* add tmpl/*.sgml files to CVS!
4519
4520 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
4521
4522         * libs/gst/bytestream/.cvsignore:
4523         * libs/gst/bytestream/Makefile.am:
4524         * libs/gst/bytestream/adapter.c:
4525         * libs/gst/bytestream/adapter.h:
4526         * libs/gst/bytestream/bytestream.c:
4527         * libs/gst/bytestream/bytestream.h:
4528         * libs/gst/bytestream/filepad.c:
4529         * libs/gst/bytestream/filepad.h:
4530           removing obsolete files
4531
4532 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
4533
4534         * docs/gst/gstreamer-docs.sgml:
4535         * docs/libs/gstreamer-libs-docs.sgml:
4536           disabed additional index entries again, as this makes docs-gen just
4537           slow and they aren't useful yet
4538         * docs/libs/gstreamer-libs-sections.txt:
4539           little -section.txt cleanup for libs
4540
4541 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4542
4543         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4544         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4545           fix up some debugging
4546         (gst_base_transform_get_unit_size),
4547         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4548         (gst_base_transform_handle_buffer):
4549         * gst/base/gstbasetransform.h:
4550           handle and store timed NEWSEGMENT events so that subclasses that
4551           calculate time by counting samples have a segment_start time they
4552           need to add to their timestamps - see audioresample
4553
4554 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
4555
4556         * gst/gstbin.h:
4557           removed ';' from the end of macro defs
4558         * docs/gst/gstreamer-docs.sgml:
4559         * docs/gst/gstreamer-sections.txt:
4560         * docs/gst/tmpl/.cvsignore:
4561         * gst/gstbus.h:
4562         * gst/gstelement.c: (gst_element_class_init),
4563         (gst_element_set_state), (activate_pads),
4564         (gst_element_save_thyself):
4565         * gst/gstevent.c: (gst_event_new_newsegment):
4566         * gst/gstevent.h:
4567         * gst/gstiterator.c:
4568         * gst/gstiterator.h:
4569         * gst/gstpad.c:
4570         * gst/gstprobe.h:
4571         * gst/gstutils.c: (gst_pad_query_convert):
4572         * gst/gstutils.h:
4573           fixed parameter name mismatches between source, header and docs
4574           added some more docs, resolved the last batch of unused elements in
4575           docs (now someone needs to doc them)
4576
4577 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
4578
4579         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4580         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4581           don't walk through the plugins backwards.  Where is all this
4582           reversed logic coming from ?
4583
4584 2005-08-25  Wim Taymans  <wim@fluendo.com>
4585
4586         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4587         (gst_base_transform_transform_size),
4588         (gst_base_transform_configure_caps),
4589         (gst_base_transform_get_unit_size),
4590         (gst_base_transform_buffer_alloc),
4591         (gst_base_transform_change_state):
4592         * gst/base/gstbasetransform.h:
4593         Cache caps unit_size.
4594         Make sure we cannot negotiate up and downstream at the
4595         same time.
4596
4597 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
4598
4599         * gst/gst.c: (init_pre), (init_post):
4600           register the installed plugin path after the env var
4601         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4602         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4603           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4604           directories, so the tests can prefer uninstalled over installed
4605
4606 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
4607
4608         * gst/base/gstbasetransform.h:
4609           comment
4610         * gst/gstpad.c:
4611           add to docs
4612
4613 2005-08-25  Wim Taymans  <wim@fluendo.com>
4614
4615         * gst/gstbin.c: (bin_bus_handler):
4616         Be a bit more conservative about the posted message.
4617         
4618         * gst/gstbus.c: (gst_bus_post):
4619         Some cleanups, warn wrong return values.
4620
4621 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
4622
4623         * check/gst/gstbin.c: (GST_START_TEST):
4624         * gst/gstbin.c: (bin_bus_handler):
4625         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4626         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4627         (gst_message_new_warning), (gst_message_new_tag),
4628         (gst_message_new_state_changed), (gst_message_new_segment_start),
4629         (gst_message_new_segment_done), (gst_message_new_custom):
4630         * gst/gstmessage.h:
4631         * tools/gst-launch.c: (event_loop):
4632         * tools/gst-md5sum.c: (event_loop):
4633           Revert unpopular change for GST_MESSAGE_SRC to GObject.
4634
4635 2005-08-25  Wim Taymans  <wim@fluendo.com>
4636
4637         * check/generic/states.c: (GST_START_TEST):
4638         Cleanup can be done at the end.
4639
4640         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4641         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4642         (gst_task_get_state), (gst_task_start), (gst_task_pause):
4643         Oh boy.. Thanks for finding this, Thomas. 
4644
4645 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
4646
4647         * docs/gst/gstreamer.types:
4648           added missing types
4649
4650 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
4651
4652         * docs/gst/gstreamer-docs.sgml:
4653         * docs/gst/gstreamer-sections.txt:
4654         * docs/gst/tmpl/.cvsignore:
4655         * gst/gstbin.c:
4656         * gst/gstiterator.c:
4657         * gst/gstutils.c:
4658         * gst/registries/gstxmlregistry.h:
4659           added missing classes and symbols (123 more to go)
4660           removed removed symbols from section file
4661           fixed many doc-comments
4662
4663 2005-08-24  Wim Taymans  <wim@fluendo.com>
4664
4665         * check/generic/states.c: (GST_START_TEST):
4666         Make sure all tasks are stopped.
4667
4668         * check/gst/gstbin.c: (GST_START_TEST):
4669         Unref after usage for proper valgrinding.
4670
4671         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4672         Really wait for the task to stop before destroying the
4673         mutex.
4674
4675         * gst/gstqueue.c: (gst_queue_sink_activate_push),
4676         (gst_queue_src_activate_push):
4677         Small cleanups. Don't stop the task when we did not start
4678         it.
4679
4680         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4681         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4682         (gst_task_get_state), (gst_task_start), (gst_task_pause),
4683         (gst_task_join):
4684         * gst/gsttask.h:
4685         Protect the stream lock with the object lock.
4686         Disallow setting the stream lock when running.
4687         Add cleanup_all to wait for the threadpool to finish.
4688         Remove code to autoallocate a mutex if none was provided.
4689         Add _join() to wait for a task to stop.
4690         Protect the thread pool with a global lock.
4691
4692 2005-08-24  Wim Taymans  <wim@fluendo.com>
4693
4694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4695         (gst_base_sink_get_times), (gst_base_sink_do_sync),
4696         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4697         * gst/base/gstbasesink.h:
4698         Handle newsegment events correctly.
4699         Drop buffers out of the segment range.
4700
4701 2005-08-22  Andy Wingo  <wingo@pobox.com>
4702
4703         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4704         macro, implements an interface and gstimplementsinterface for a
4705         new type.
4706
4707 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4708
4709         * check/Makefile.am:
4710         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4711           add a test that does a bunch of state changes on elements
4712           needs some fixing for valgrind
4713         * check/states/sinks.c: (gst_object_suite):
4714           whitespace
4715         * gst/gstcaps.h:
4716           add prototype for gst_caps_is_equal_fixed
4717         * gst/gstplugin.c:
4718         * gst/gstregistrypool.c:
4719           doc fixes
4720
4721 2005-08-24  Andy Wingo  <wingo@pobox.com>
4722
4723         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4724         convert a negative value. Doesn't make much sense. Mostly this is
4725         here to force callers to ensure -1 maps to -1.
4726
4727 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4728
4729         * docs/pwg/advanced-types.xml:
4730           Well done to Michael for catching my deliberate introduction
4731           of this spelling mistake. 
4732         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4733         * gst/gstelement.h:
4734           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4735           unlink pads before removing the element from the bin.
4736
4737 2005-08-24  Andy Wingo  <wingo@pobox.com>
4738
4739         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4740         the same thing as GST_DEBUG=*:4.
4741         (parse_debug_level, parse_debug_category): New helper parsers.
4742
4743 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4744
4745         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4746         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4747         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4748         (gst_base_transform_buffer_alloc),
4749         (gst_base_transform_handle_buffer):
4750           use gboolean return values and pointers to size so we can use the
4751           full GST_BUFFER_SIZE range (guint) for buffer sizes
4752           use GstPadDirection for transform_caps
4753         * gst/base/gstbasetransform.h:
4754           rename get_size to get_unit_size since that's what it is
4755         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4756           use GstPadDirection for transform_caps
4757         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4758         * gst/gstutils.h:
4759           cleanup and debugging
4760
4761 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
4762
4763         * gst/gstelement.c: (gst_element_class_init),
4764         (gst_element_set_state), (activate_pads),
4765         (gst_element_save_thyself):
4766         * tools/gst-compprep.c: (main):
4767         * tools/gst-inspect.c: (print_element_properties_info):
4768         * tools/gst-xmlinspect.c: (print_element_properties):
4769           Fixed long standing mem-leak
4770
4771 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4772
4773         * check/gst/gstbin.c: (GST_START_TEST):
4774         * gst/gstbin.c: (bin_bus_handler):
4775         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4776         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4777         (gst_message_new_warning), (gst_message_new_tag),
4778         (gst_message_new_state_changed), (gst_message_new_segment_start),
4779         (gst_message_new_segment_done), (gst_message_new_custom):
4780         * gst/gstmessage.h:
4781         * tools/gst-launch.c: (event_loop):
4782         * tools/gst-md5sum.c: (event_loop):
4783           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4784           that applications can sensibly post custom messages with references
4785           to their own objects.
4786
4787 2005-08-24  Andy Wingo  <wingo@pobox.com>
4788
4789         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4790         already.
4791
4792 2005-08-24  Wim Taymans  <wim@fluendo.com>
4793
4794         * gst/base/gstbasetransform.c: (gst_base_transform_init),
4795         (gst_base_transform_transform_caps),
4796         (gst_base_transform_transform_size),
4797         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4798         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4799         (gst_base_transform_handle_buffer):
4800         * gst/base/gstbasetransform.h:
4801         Many fixes and new features added by Thomas. Can now also do
4802         transforms with variable sizes and a custom fixate_caps function.
4803
4804 2005-08-24  Wim Taymans  <wim@fluendo.com>
4805
4806         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4807         Some debugging.
4808
4809         * gst/gstclock.h:
4810         Cast to ClockTime before formatting to time.
4811
4812         * gst/gstutils.h:
4813         Cleanups.
4814
4815 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
4816
4817         * check/gst-libs/controller.c: (GST_START_TEST),
4818         (gst_controller_suite):
4819         * docs/gst/tmpl/gstcaps.sgml:
4820         * docs/gst/tmpl/gstghostpad.sgml:
4821         * docs/gst/tmpl/gstquery.sgml:
4822         * docs/gst/tmpl/gstutils.sgml:
4823         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4824         (gst_object_sink_values), (gst_object_get_value_arrays),
4825         (gst_object_get_value_array):
4826           gracefully handle helper method calls to objects that are not beeing
4827           controlled, added test case for that          
4828
4829 2005-08-23  Wim Taymans  <wim@fluendo.com>
4830
4831         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4832         (gst_event_new_newsegment), (gst_event_parse_newsegment),
4833         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4834         (gst_event_parse_qos), (gst_event_new_seek),
4835         (gst_event_parse_seek):
4836         * gst/gstevent.h:
4837         Some more debugging output and doc cleanups.
4838
4839         * gst/gstqueue.c: (gst_queue_handle_sink_event):
4840         Fix possible deadlock.
4841
4842 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
4843
4844         * docs/gst/gstreamer-docs.sgml:
4845         * docs/gst/gstreamer-sections.txt:
4846         * docs/gst/gstreamer.types:
4847         * docs/gst/tmpl/.cvsignore:
4848         * gst/gstbin.h:
4849         * gst/gstbus.c:
4850         * gst/gstelement.c:
4851         * gst/gstevent.h:
4852           added 100 symbols from gstreamer-unused.txt to the right sections
4853           fixed more broken comments
4854           added GstBus to docs
4855
4856 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
4857
4858         * docs/gst/gstreamer-sections.txt:
4859         * docs/gst/tmpl/.cvsignore:
4860         * docs/gst/tmpl/gstbin.sgml:
4861         * docs/gst/tmpl/gstbuffer.sgml:
4862         * gst/base/gstbasesrc.c:
4863         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4864         * gst/gstbuffer.c:
4865         * gst/gstbuffer.h:
4866         * tools/gst-launch.1.in:
4867           inlined more doc comments, added missing comments and fixed comments
4868           fixed typos
4869
4870 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4871
4872         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4873           some debugging
4874         * gst/gstcaps.h:
4875           whitespace fixes
4876         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4877           more debugging
4878         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4879         * gst/gststructure.h:
4880           add a fixate function for booleans; add a FIXME that these func
4881           names should probably be gst_structure_fixate_*
4882
4883 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
4884
4885         * docs/gst/gstreamer-docs.sgml:
4886         * docs/gst/gstreamer-sections.txt:
4887         * gst/Makefile.am:
4888         * gst/gstbin.c: (gst_bin_get_type),
4889         (gst_bin_child_proxy_get_child_by_index),
4890         (gst_bin_child_proxy_get_children_count),
4891         (gst_bin_child_proxy_init):
4892         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4893         (gst_child_proxy_get_child_by_index),
4894         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4895         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4896         (gst_child_proxy_get), (gst_child_proxy_set_property),
4897         (gst_child_proxy_set_valist), (gst_child_proxy_set),
4898         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4899         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4900         * gst/gstchildproxy.h:
4901         * gst/parse/grammar.y:
4902         * tools/gst-inspect.c: (print_interfaces),
4903         (print_element_properties_info), (print_element_info):
4904           ported gstchildproxy over from 0.8
4905           ported gst-inspect fixes and enhancements over from 0.8
4906
4907 2005-08-22  Wim Taymans  <wim@fluendo.com>
4908
4909         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4910         (gst_base_transform_handle_buffer):
4911         Also call the transform function if we have ANY caps.
4912
4913         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4914         Fix debug info.
4915
4916 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
4917
4918         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4919           Don't pretend to handle seek events if the source is not seekable
4920
4921 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
4922
4923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4924           Remove extra parameter to debug output
4925
4926         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4927         (gst_base_src_do_seek), (gst_base_src_activate_push):
4928           Fix seek event handling.
4929
4930         * gst/gstpipeline.c: (gst_pipeline_change_state):
4931         * gst/gstqueue.c: (gst_queue_handle_sink_event),
4932         (gst_queue_src_activate_push):
4933           Don't start the src pad task on FLUSH_STOP if the pad
4934           isn't linked.
4935           Debug changes.
4936
4937 2005-08-22  Wim Taymans  <wim@fluendo.com>
4938
4939         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4940         Added check for gst_static_caps_get() refcounting.
4941
4942 2005-08-22  Wim Taymans  <wim@fluendo.com>
4943
4944         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4945         Make _static_caps_get() refcounting sane.
4946         
4947         * gst/gstelement.c: (gst_element_set_state):
4948         Add g_return_val_if_fail() to protect against segfaults.
4949
4950 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
4951
4952         * docs/gst/tmpl/gstevent.sgml:
4953         * gst/gstevent.c:
4954         * gst/gstevent.h:
4955           inlined remaining docs, added missing doc comments
4956
4957 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4958
4959         * check/gst/gstbin.c: (GST_START_TEST):
4960           since we don't know when preroll is done, use refcount range
4961           check for the sink
4962         * gst/check/gstcheck.h:
4963           add macro for checking refcount range
4964
4965 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4966
4967         * check/Makefile.am:
4968           clean up environment for when registry gets built versus
4969           when actual tests are run; valgrind seems to not report
4970           leaks if GST_PLUGIN_PATH is set to some specific values
4971         * check/gst/gstbin.c: (GST_START_TEST):
4972           add more refcounting checks; maybe this exposes a
4973           preroll lock bug ?
4974         * common/check.mak:
4975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4976         * gst/check/gstcheck.h:
4977         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4978         (gst_bin_change_state):
4979         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4980           add/fix debugging/whitespace
4981
4982 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
4983
4984         * check/gst/gstevent.c: (event_probe), (test_event),
4985         (GST_START_TEST):
4986          Er, don't call gst_bin_watch_for_state_change you idiot.
4987
4988 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
4989
4990         * check/Makefile.am:
4991           Use CHECK_CFLAGS and CHECK_LIBS
4992         * check/gst/gstevent.c: (event_probe), (test_event),
4993         (GST_START_TEST):
4994           Don't leak events.
4995         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4996         (gst_base_src_start), (gst_base_src_stop),
4997         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4998         (gst_base_src_change_state):
4999           Sprinkle gst_base_src_stop liberally around error paths to fix
5000           problems reusing a source after failed state changes.
5001         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5002         (helper_find_suggest), (gst_type_find_helper):
5003           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5004         * gst/gstevent.h:
5005         * docs/gst/tmpl/gstevent.sgml:
5006           Migrate part of the docs from the SGML file. Wait for ensonic to
5007           tell me how I did it wrong ;)
5008         * tools/gst-typefind.c: (main):
5009           Extra robustness to state changes between files.
5010
5011 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5012
5013         * check/Makefile.am:
5014           don't valgrind the controller test - it's leaking - Stefan, HELP
5015         * gst/check/gstcheck.c: (gst_check_message_error),
5016         (gst_check_chain_func), (gst_check_setup_element),
5017         (gst_check_teardown_element), (gst_check_setup_src_pad),
5018         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5019         (gst_check_teardown_sink_pad):
5020         * gst/check/gstcheck.h:
5021           add a bunch of methods to set up elements, and src and sink pads
5022         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5023         * check/elements/identity.c: (setup_identity), (cleanup_identity),
5024         (GST_START_TEST):
5025           use them
5026         * gst/gstmessage.c:
5027         * gst/gsttag.h:
5028           whitespace/doc fixes
5029
5030 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5031
5032         * gst/gstelement.h:
5033           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5034           be handled by the application and not always printed as well
5035
5036 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5037
5038         * check/Makefile.am:
5039           set GST_TOOLS_DIR
5040         * gst/check/gstcheck.c: (gst_check_message_error):
5041         * gst/check/gstcheck.h:
5042           add a fail_unless_equals_int
5043           add fail_unless for error messages
5044
5045 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5046
5047         * check/Makefile.am:
5048         * check/gst.supp:
5049         * common/Makefile.am:
5050         * common/check.mak:
5051         * common/gst.supp:
5052           factor out some of the common stuff so we can use it
5053
5054 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5055
5056         * check/Makefile.am:
5057         * check/gst/gstiterator.c: (GST_START_TEST):
5058         * check/gst/gstsystemclock.c: (GST_START_TEST),
5059         (gst_systemclock_suite):
5060         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5061         * gst/gstclock.c:
5062           valgrind more tests
5063
5064 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5065
5066         * check/elements/.cvsignore:
5067         * check/elements/gstfakesrc.c:
5068           rename to name of element
5069         * check/elements/identity.c: (chain_func), (event_func),
5070         (setup_identity), (cleanup_identity), (GST_START_TEST),
5071         (identity_suite), (main):
5072           add a test for identity
5073         * check/Makefile.am:
5074         * pkgconfig/Makefile.am:
5075         * pkgconfig/gstreamer-check.pc.in:
5076         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5077         * gst/check:
5078         * gst/Makefile.am:
5079         * configure.ac:
5080           move the check stuff to a library that gets installed
5081         * check/gst-libs/controller.c: (GST_START_TEST):
5082         * check/gst-libs/gdp.c:
5083         * check/gst/gst.c: (GST_START_TEST):
5084         * check/gst/gstbin.c:
5085         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5086         * check/gst/gstbus.c:
5087         * check/gst/gstcaps.c: (GST_START_TEST):
5088         * check/gst/gstelement.c:
5089         * check/gst/gstghostpad.c:
5090         * check/gst/gstiterator.c:
5091         * check/gst/gstmessage.c:
5092         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5093         * check/gst/gstobject.c:
5094         * check/gst/gstpad.c: (GST_START_TEST):
5095         * check/gst/gststructure.c: (GST_START_TEST):
5096         * check/gst/gstsystemclock.c: (GST_START_TEST),
5097         (gst_systemclock_suite):
5098         * check/gst/gsttag.c: (gst_tag_suite):
5099         * check/gst/gstvalue.c:
5100         * check/pipelines/cleanup.c:
5101         * check/pipelines/simple_launch_lines.c:
5102         * check/states/sinks.c:
5103           change include statement
5104
5105         * docs/gst/gstreamer-sections.txt:
5106         * docs/gst/tmpl/gstpad.sgml:
5107           document more pad stuff
5108         * gst/gstminiobject.c: (gst_mini_object_ref),
5109         (gst_mini_object_unref):
5110           debug refcounting
5111
5112 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * docs/gst/tmpl/gst.sgml:
5115         * gst/gst.c:
5116           eliminate another tmpl file, fix spelling in the long-description
5117
5118 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5119
5120         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5121         (test_event), (timediff), (gstevents_suite):
5122           Should fix build on 64-bit arch's
5123
5124 2005-08-18  Andy Wingo  <wingo@pobox.com>
5125
5126         Make sure that when a pipeline goes to PLAYING, that data has
5127         actually hit the sink.
5128
5129         * check/states/sinks.c (test_sink): A sink that doesn't get any
5130         data shouldn't return SUCCESS for going to either PLAYING or
5131         PAUSED. Test also the return values on the way back down.
5132
5133         * gst/gstelement.c (gst_element_set_state): When changing the
5134         state of an element currently changing state asynchronously, go to
5135         lost-state after commiting the pending state. Makes future calls
5136         to get_state continue to return ASYNC.
5137
5138         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5139         ASYNC when going to PLAYING if we still don't have preroll, as can
5140         happen with live sources.
5141
5142 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5143
5144         * docs/pwg/advanced-types.xml:
5145           Hack long paragraph into 2 chunks as a workaround for buggy
5146           jadetex version in sid and breezy that loops infinitely and
5147           eats all RAM.
5148
5149 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5150
5151         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5152         (test_event), (timediff), (gstevents_suite):
5153           Provide more error margin in clock measurements to allow for 
5154           g_get_current_time inaccuracies.
5155
5156 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5157
5158         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5159         (test_event), (timediff), (gstevents_suite):
5160            Fix error message output so I might be able to tell why the
5161            test works here but fails on the build farm.
5162
5163 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
5164
5165         * check/Makefile.am:
5166         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5167         (test_event), (timediff), (gstevents_suite), (main):
5168           I wrote a test!
5169
5170         * docs/design/part-seeking.txt:
5171           Spelling correction
5172
5173         * docs/gst/tmpl/gstevent.sgml:
5174         * docs/gst/tmpl/gstfakesrc.sgml:
5175           Docs updates.
5176
5177         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5178           Treat a buffer-without-newsegment the same as a receiving 
5179           a newsegment not in time format, and disable syncing to the clock
5180           with a warning.
5181
5182         * gst/gstbus.c: (gst_bus_set_sync_handler):
5183           Assert if anyone tries to replace the existing sync_handler for bus, 
5184           as only the owner should be setting it.
5185
5186         * gst/gstevent.h:
5187           Have a fixed set of custom event enums with events identified by
5188           their structure name (as in 0.8), rather than a free-for-all
5189           allowing collisions between enum values from different plugins.
5190
5191         * gst/gstpad.c: (gst_pad_class_init):
5192           Docs change.
5193           
5194         * gst/gstqueue.c: (gst_queue_handle_sink_event):
5195           Handle out-of-band downstream events from the sending thread.
5196
5197 2005-08-17  Andy Wingo  <wingo@pobox.com>
5198
5199         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5200         play-timeout==0 to mean no timeout at all. In that case, don't
5201         bother with a get_state or a warning, just return directly, even
5202         if it's ASYNC.
5203
5204         * gst/base/gstbasetransform.c: Debug changes.
5205
5206         * gst/gstutils.h:
5207         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5208         ensure bins post state change messages. A bit of a hack but I can't
5209         think of a way to avoid it.
5210
5211         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5212
5213 2005-08-16  Andy Wingo  <wingo@pobox.com>
5214
5215         * gst/base/gstadapter.h:
5216         * gst/base/gstadapter.c (gst_adapter_take): New function, like
5217         peek() but you own the data. Not terribly efficient atm.
5218
5219 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5220
5221         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5222         (gst_element_found_tags):
5223         * gst/gstutils.h:
5224           Add two utility functions for tag handling.
5225
5226 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5227
5228         * docs/manual/advanced-dataaccess.xml:
5229         * docs/manual/basics-helloworld.xml:
5230           Fix docs to use _bin_add() before _link(), which fixes the examples
5231           with recent core versions (reported by Madhan Raj M
5232           <raj_madan@rediffmail.com>, #313199).
5233
5234 2005-08-16  Wim Taymans  <wim@fluendo.com>
5235
5236         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5237         Added subtract checks.
5238
5239         * docs/design/part-events.txt:
5240         Some more docs about newsegment
5241
5242         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5243         Fix FIXME
5244
5245         * gst/gstcaps.c: (gst_caps_to_string):
5246         Add comments, cleanups.
5247         
5248         * gst/gstelement.c: (gst_element_save_thyself):
5249         cleanups
5250         
5251         * gst/gstvalue.c: (gst_value_collect_int_range),
5252         (gst_string_unwrap), (gst_value_union_int_int_range),
5253         (gst_value_union_int_range_int_range),
5254         (gst_value_intersect_int_int_range),
5255         (gst_value_intersect_int_range_int_range),
5256         (gst_value_intersect_double_double_range),
5257         (gst_value_intersect_double_range_double_range),
5258         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5259         (gst_value_subtract_int_range_int),
5260         (gst_value_subtract_double_range_double),
5261         (gst_value_subtract_double_range_double_range),
5262         (gst_value_subtract_from_list), (gst_value_subtract_list),
5263         (gst_value_can_compare), (gst_value_compare_fraction):
5264         Cleanups, add comments, remove unneeded asserts.
5265
5266 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5267
5268         * tools/gst-launch.c: (event_loop):
5269           don't convert NULL structures to strings
5270
5271 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
5272
5273         * docs/gst/gstreamer-sections.txt:
5274           made some defines private
5275         * docs/gst/tmpl/gstconfig.sgml:
5276         * docs/gst/tmpl/gstqueue.sgml:
5277         * docs/gst/tmpl/gsttaglist.sgml:
5278         * docs/gst/tmpl/gsttypes.sgml:
5279         * docs/gst/tmpl/gstutils.sgml:
5280         * docs/pwg/appendix-porting.xml:
5281         * gst/base/gstbasesink.h:
5282         * gst/base/gstbasesrc.c:
5283         * gst/base/gstbasesrc.h:
5284         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5285         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5286         * gst/gstelement.c: (gst_element_class_init):
5287         * gst/gstpad.c: (gst_pad_class_init):
5288         * gst/gstqueue.c: (gst_queue_class_init):
5289         * gst/gstxml.c: (gst_xml_class_init):
5290           documented all undocumented signal inline
5291         * libs/gst/controller/gst-controller.h:
5292           added padding
5293
5294 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5295
5296         * docs/pwg/appendix-porting.xml:
5297           Document _set_link_function -> _set_setcaps_function.
5298
5299 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5300
5301         * check/Makefile.am:
5302           add a .check target for running the check
5303         * check/gst-libs/controller.c: (GST_START_TEST):
5304           cosmetic fixups
5305         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5306           complete checks for gstbuffer; would be nice if I could get the
5307           gcov stuff to work so I can see if I actually completed gstbuffer.c
5308         * check/gstcheck.h:
5309           add ASSERT_BUFFER_REFCOUNT
5310
5311 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
5312
5313         * docs/gst/gstreamer-sections.txt:
5314         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5315         * gst/gsttag.h:
5316           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5317           spew out a warning if a tag that is already registered
5318           is re-registered, unless it is re-registered with a 
5319           different type (#308438).
5320
5321 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * docs/pwg/appendix-porting.xml:
5324         * docs/pwg/building-state.xml:
5325           Add some paragraphs about state changes in 0.9 to the PWG
5326           and the porting guide, in particular about the new meaning
5327           of GST_STATE_PAUSED and how to write state change functions
5328           with concurrent access by multiple threads in mind.
5329
5330 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
5331
5332         * docs/gst/gstreamer-docs.sgml:
5333         * docs/libs/gstreamer-libs-docs.sgml:
5334           added deprecation and since indexes
5335         * libs/gst/controller/gst-controller.c:
5336         * libs/gst/controller/gst-helper.c:
5337           added since tags
5338
5339
5340 2005-08-11  Wim Taymans  <wim@fluendo.com>
5341
5342         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5343         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5344         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5345         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5346         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5347         (gst_ghost_pad_set_target):
5348         Actually implement (re)setting the target on a ghostpad
5349         as described in the docs.
5350
5351 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5354           Check whether GST_DEBUG_NO_COLOR environment variable is
5355           set and disable coloured debug output if that is the case.
5356
5357 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5358
5359         * gst/base/gsttypefindhelper.c: (helper_find_peek),
5360         (gst_type_find_helper):
5361           The memory returned by gst_type_find_peek() needs to
5362           stay valid until the end of a typefind function, and
5363           typefind functions may keep results from different 
5364           offsets around, so we can't just unref the buffer from
5365           the previous _peek(), but have to save all buffers 
5366           returned by _peek() until typefinding is done and only
5367           free them then.
5368
5369 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * docs/gst/gstreamer-sections.txt:
5372         * gst/gstutils.h:
5373           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5374
5375 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5376
5377         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5378           Fix a pretty good memleak.
5379
5380 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5381
5382         * gst/gstiterator.h:
5383           Fix wrong include and 'make distcheck'.
5384
5385 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5386
5387         * gst/gstbin.c: (bin_bus_handler):
5388           Use gst_element_post_message() instead.
5389
5390 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
5391
5392         * gst/base/gstadapter.h:
5393         * gst/base/gstbasesink.h:
5394         * gst/base/gstbasesrc.h:
5395         * gst/base/gstbasetransform.h:
5396         * gst/base/gstcollectpads.h:
5397         * gst/base/gstpushsrc.h:
5398         * gst/gstiterator.h:
5399           Add padding to our base elements' class and instance structs and
5400           to GstIterator (you will need to rebuild all plugins and apps!)
5401
5402 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5403
5404         * gst/gstbin.c: (bin_bus_handler):
5405           Make default message forwarding from child->bus to bin->bus
5406           threadsafe and make it not emit warnings if the parent has no bus.
5407
5408 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5409
5410         * gst/gstelement.c: (activate_pads):
5411           On paused->ready, set pad->caps to NULL, as is the documented
5412           behaviour in this state change. Fixes playback of series of
5413           media files when visualization is enabled in Totem.
5414
5415 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5416
5417         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5418           Allow NULL as filter-caps (which means "any").
5419
5420 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5421
5422         * docs/libs/gstreamer-libs-sections.txt:
5423         * libs/gst/controller/gst-controller.c:
5424         * libs/gst/controller/gst-controller.h:
5425         * libs/gst/controller/gst-helper.c:
5426           adding more entries to the docs and fix small doc-bugs
5427
5428 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5429
5430         * docs/gst/gstreamer-docs.sgml:
5431         * docs/gst/gstreamer-sections.txt:
5432         * docs/gst/gstreamer.types:
5433         * docs/gst/tmpl/gstbasesink.sgml:
5434         * docs/gst/tmpl/gstbasesrc.sgml:
5435         * docs/gst/tmpl/gstbasetransform.sgml:
5436         * docs/gst/tmpl/gstfakesrc.sgml:
5437         * gst/base/gstcollectpads.c:
5438         * gst/base/gstcollectpads.h:
5439         * libs/gst/controller/gst-controller.c:
5440         * libs/gst/controller/gst-controller.h:
5441         * libs/gst/controller/gst-helper.c:
5442         * libs/gst/controller/gst-interpolation.c:
5443         * libs/gst/controller/lib.c:
5444           added long/short desc for controller docs
5445           added collectpads base class docs
5446           added correct includes to base-class docs
5447
5448 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
5449
5450         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5451         (gst_test_mono_source_set_property),
5452         (gst_test_mono_source_class_init), (GST_START_TEST),
5453         (gst_controller_suite):
5454         * docs/gst/gstreamer-docs.sgml:
5455         * docs/gst/gstreamer-sections.txt:
5456         * docs/gst/gstreamer.types:
5457         * docs/libs/gstreamer-libs-docs.sgml:
5458         * docs/libs/gstreamer-libs-sections.txt:
5459         * gst/base/gstadapter.c:
5460         * libs/gst/controller/gst-controller.c:
5461         (gst_controlled_property_new), (gst_controlled_property_free),
5462         (gst_controller_new_valist),
5463         (gst_controller_remove_properties_valist),
5464         (gst_controller_sink_values), (_gst_controller_finalize):
5465         * libs/gst/controller/gst-controller.h:
5466         * libs/gst/controller/gst-helper.c:
5467         (gst_object_control_properties), (gst_object_uncontrol_properties),
5468         (gst_object_get_controller), (gst_object_set_controller),
5469         (gst_object_sink_values), (gst_object_get_value_arrays),
5470         (gst_object_get_value_array):
5471           more tests (and fixes) for the controller
5472           more docs for the controller
5473           integrated companies docs for the adapter 
5474
5475 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5476
5477         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5478         (GST_START_TEST), (fakesrc_suite):
5479           add tests for sizetype
5480
5481 2005-08-04  Andy Wingo  <wingo@pobox.com>
5482
5483         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5484         fixes buffer_alloc proxying among other things.
5485
5486         * gst/base/gstbasetransform.c:
5487         * gst/base/gstbasetransform.h:
5488         Revert patch to gstbasetransform from 7-28 removing
5489         delay_configure.
5490
5491         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5492         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5493         Semantics changed, should return not the size of the output buffer
5494         but the byte size of a buffer with a given caps.
5495
5496         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5497         debug object.
5498         (gst_base_transform_configure_caps): Don't set out_size here: (in,
5499         out) are not the pad caps until setcaps finishes.
5500         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5501         not-in-place case as well. Deal with changing from in-place to
5502         not-in-place within calling pad_alloc_buffer. Still a bit
5503         concerned about the overhead here...
5504
5505 2005-08-03  Andy Wingo  <wingo@pobox.com>
5506
5507         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5508         fixating is an error.
5509
5510 2005-08-04  Edward Hervey  <edward@fluendo.com>
5511
5512         * gst/base/gstadapter.h: 
5513         Added gst_adapter_get_type() to the header
5514
5515 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * check/Makefile.am:
5518         * check/gst-libs/controller.c:
5519         * libs/gst/controller/gst-controller.c:
5520         (gst_controller_new_valist):
5521           added check test suite for the controller
5522         * gst/base/gstpushsrc.c:
5523           fixed a doc typo
5524
5525 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
5526
5527         * docs/gst/Makefile.am:
5528         * docs/gst/gstreamer-docs.sgml:
5529         * docs/gst/gstreamer-sections.txt:
5530         * docs/gst/gstreamer.types:
5531         * docs/gst/tmpl/gstfakesrc.sgml:
5532         * gst/base/README:
5533         * gst/base/gstbasesink.c:
5534         * gst/base/gstbasesink.h:
5535         * gst/base/gstbasesrc.c:
5536         * gst/base/gstbasesrc.h:
5537         * gst/base/gstbasetransform.c:
5538         * gst/base/gstpushsrc.c:
5539         * gst/base/gstpushsrc.h:
5540           add short/long description docs to base classes
5541           add pushsrc to the docs
5542           remove consolidated doc fragments
5543
5544 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
5545
5546         * configure.ac:
5547         * docs/libs/Makefile.am:
5548         * docs/libs/gstreamer-libs-docs.sgml:
5549         * docs/libs/gstreamer-libs-sections.txt:
5550         * docs/libs/gstreamer-libs.types:
5551         * examples/Makefile.am:
5552         * examples/controller/.cvsignore:
5553         * examples/controller/Makefile.am:
5554         * examples/controller/audio-example.c: (main):
5555         * libs/gst/Makefile.am:
5556         * libs/gst/controller/.cvsignore:
5557         * libs/gst/controller/Makefile.am:
5558         * libs/gst/controller/gst-controller.c:
5559         (on_object_controlled_property_changed), (gst_timed_value_compare),
5560         (gst_timed_value_find),
5561         (gst_controlled_property_set_interpolation_mode),
5562         (gst_controlled_property_new), (gst_controlled_property_free),
5563         (gst_controller_find_controlled_property),
5564         (gst_controller_new_valist), (gst_controller_new),
5565         (gst_controller_remove_properties_valist),
5566         (gst_controller_remove_properties), (gst_controller_set),
5567         (gst_controller_set_from_list), (gst_controller_unset),
5568         (gst_controller_get), (gst_controller_get_all),
5569         (gst_controller_sink_values), (gst_controller_get_value_arrays),
5570         (gst_controller_get_value_array),
5571         (gst_controller_set_interpolation_mode),
5572         (_gst_controller_finalize), (_gst_controller_init),
5573         (_gst_controller_class_init), (gst_controller_get_type):
5574         * libs/gst/controller/gst-controller.h:
5575         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5576         (g_object_uncontrol_properties), (g_object_get_controller),
5577         (g_object_set_controller), (g_object_sink_values),
5578         (g_object_get_value_arrays), (g_object_get_value_array):
5579         * libs/gst/controller/gst-interpolation.c:
5580         (gst_controlled_property_find_timed_value_node),
5581         (interpolate_none_get), (interpolate_trigger_get),
5582         (interpolate_trigger_get_value_array):
5583         * libs/gst/controller/lib.c: (gst_controller_init):
5584         * pkgconfig/Makefile.am:
5585         * pkgconfig/gstreamer-control-uninstalled.pc.in:
5586         * pkgconfig/gstreamer-control.pc.in:
5587         * testsuite/Makefile.am:
5588         * testsuite/controller/.cvsignore:
5589         * testsuite/controller/Makefile.am:
5590         * testsuite/controller/interpolator.c: (main):
5591           added controller code
5592           removed dparam pc files
5593
5594 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
5595         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5596         (gst_collectpads_stop):
5597           Broadcast the condition when shutting down, to make sure we wake all
5598           threads up. Shut down pads on finalize, for safety.
5599
5600 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
5601         * gst/base/gstbasetransform.c: (gst_base_transform_init),
5602         (gst_base_transform_handle_buffer),
5603         (gst_base_transform_change_state):
5604           Handle PAUSED->READY->PAUSED transition after negotiation
5605           occurred already.
5606         * gst/gstmessage.c: (gst_message_init):
5607           Extra piece of debug for new messages.
5608
5609 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
5610
5611         * configure.ac:
5612         * docs/gst/tmpl/gstbasesrc.sgml:
5613         * docs/gst/tmpl/gstelement.sgml:
5614         * docs/gst/tmpl/gstevent.sgml:
5615         * docs/gst/tmpl/gstfakesrc.sgml:
5616         * docs/gst/tmpl/gstformat.sgml:
5617         * docs/gst/tmpl/gstghostpad.sgml:
5618         * docs/gst/tmpl/gstpad.sgml:
5619         * docs/gst/tmpl/gstquery.sgml:
5620         * docs/gst/tmpl/gststructure.sgml:
5621         * docs/gst/tmpl/gsttaglist.sgml:
5622         * docs/gst/tmpl/gstvalue.sgml:
5623         * docs/libs/gstreamer-libs-docs.sgml:
5624         * docs/libs/gstreamer-libs-sections.txt:
5625         * docs/libs/gstreamer-libs.types:
5626         * libs/gst/Makefile.am:
5627         * libs/gst/control/.cvsignore:
5628         * libs/gst/control/Makefile.am:
5629         * libs/gst/control/control.c:
5630         * libs/gst/control/control.h:
5631         * libs/gst/control/dparam.c:
5632         * libs/gst/control/dparam.h:
5633         * libs/gst/control/dparam_smooth.c:
5634         * libs/gst/control/dparam_smooth.h:
5635         * libs/gst/control/dparamcommon.h:
5636         * libs/gst/control/dparammanager.c:
5637         * libs/gst/control/dparammanager.h:
5638         * libs/gst/control/dplinearinterp.c:
5639         * libs/gst/control/dplinearinterp.h:
5640         * libs/gst/control/unitconvert.c:
5641         * libs/gst/control/unitconvert.h:
5642         * testsuite/Makefile.am:
5643         * testsuite/dynparams/.cvsignore:
5644         * testsuite/dynparams/Makefile.am:
5645         * testsuite/dynparams/dparamstest.c:
5646         * tools/Makefile.am:
5647         * tools/gst-inspect.c: (print_element_info), (main):
5648         * tools/gst-xmlinspect.c: (print_element_info), (main):
5649           deactivate and remove dparams (libgstcontrol)
5650
5651 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
5652
5653         * gst/elements/gsttypefindelement.c:
5654         (gst_type_find_element_have_type), (gst_type_find_element_init),
5655         (stop_typefinding), (gst_type_find_element_handle_event),
5656         (gst_type_find_element_chain), (gst_type_find_element_getrange):
5657         * gst/elements/gsttypefindelement.h:
5658           Set caps on all outgoing buffers, not just the first one.
5659
5660 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
5661
5662         * gst/elements/gsttypefindelement.c:
5663         (gst_type_find_element_have_type),
5664         (gst_type_find_element_check_set_buffer_caps),
5665         (gst_type_find_element_init), (stop_typefinding),
5666         (gst_type_find_element_handle_event),
5667         (gst_type_find_element_chain), (gst_type_find_element_getrange):
5668         * gst/elements/gsttypefindelement.h:
5669           Set caps on first outgoing buffer when we've found the type.
5670
5671 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
5672
5673         * docs/gst/gstreamer-docs.sgml:
5674         * docs/gst/gstreamer-sections.txt:
5675         * docs/gst/tmpl/gstscheduler.sgml:
5676         * docs/gst/tmpl/gstschedulerfactory.sgml:
5677           Remove some old cruft from docs.
5678
5679 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
5680
5681         * gst/gstpad.h:
5682           Fix inline docs for GstPadLinkReturn.
5683           
5684         * gst/gststructure.c: (gst_structure_has_name):
5685         * gst/gststructure.h:
5686         * docs/gst/gstreamer-sections.txt:
5687           New API: gst_structure_has_name().
5688
5689 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
5690
5691         * configure.ac:
5692           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5693           and _LARGEFILE_SOURCE in config.h as required. Do not 
5694           export those flags in our .pc files any longer (#142209).
5695
5696           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5697
5698         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5699         (gst_file_sink_do_seek), (gst_file_sink_event),
5700         (gst_file_sink_get_current_offset), (gst_file_sink_render):
5701           Redo seek/tell calls with large file support in mind; add some
5702           debugging messages; add log message that tells us when large
5703           file support is unavailable or not enabled for some reason.
5704
5705         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5706           Add log message that tells us when large file support 
5707           is unavailable or not enabled for some reason.
5708
5709 2005-07-29  Wim Taymans  <wim@fluendo.com>
5710
5711         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5712         Added test for removing an element with ghostpad from a bin.
5713         Fixed test as current implementation does the right thing.
5714
5715         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5716         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5717         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5718         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5719         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5720         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5721         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5722         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5723         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5724         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5725         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5726         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5727         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5728         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5729         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5730         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5731         * gst/gstghostpad.h:
5732         Clean up ghostpads, remove properties for internal stuff.
5733         Make threadsafe.
5734         Fix refcounting.
5735         Prepare for switching targets, not all use cases work yet.
5736
5737 2005-07-29  Wim Taymans  <wim@fluendo.com>
5738
5739         * docs/design/part-gstghostpad.txt:
5740         Small update.
5741
5742         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5743         (gst_bin_remove_func):
5744         Unlinking pads while holding the bin LOCK is not a good
5745         idea.
5746
5747         * gst/gstpad.c: (gst_pad_class_init),
5748         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5749         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5750         No prob setting template after creating the pad.
5751
5752 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
5753
5754         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5755         (gst_bus_peek), (gst_bus_source_dispatch),
5756         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5757         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5758           gst_bus_poll may be called from other threads. Handle
5759           this nicely by not making poll_data disappear off the
5760           stack once gst_bus_poll returns.
5761           gst_bus_peek now increments the refcount on the returned
5762           message.
5763
5764 2005-07-29  Wim Taymans  <wim@fluendo.com>
5765
5766         * docs/design/part-gstghostpad.txt:
5767         Overview of current GhostPad datastructures and use
5768         cases for changing the target.
5769
5770 2005-07-28  Wim Taymans  <wim@fluendo.com>
5771
5772         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5773         Added checks for hierarchy consistency whan adding linked
5774         elements to bins.
5775
5776         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5777         Added check to test element scheduling without bin/pipeline.
5778
5779         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5780         First add elements to bin, then link.
5781         
5782         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5783         (gst_bin_remove_func):
5784         Unlink pads from elements added/removed from bin to maintain
5785         hierarchy consistency.
5786
5787 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5788
5789         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5790         (gst_base_transform_handle_buffer):
5791         * gst/base/gstbasetransform.h:
5792           Remove broken delay_configure (fixes renegotiation of software
5793           scaling pipelines); remove some leftover printf()s.
5794
5795 2005-07-28  Wim Taymans  <wim@fluendo.com>
5796
5797         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5798         Added some more tests for wrong hierarchy
5799
5800         * docs/design/part-overview.txt:
5801         Some updates.
5802
5803         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5804         Cleanups.
5805
5806         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5807         (gst_element_dispose):
5808         Some more cleanups.
5809
5810         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5811         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5812         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5813         (gst_pad_set_caps), (gst_pad_send_event):
5814         Check for correct hierarchy when linking pads. Moving to
5815         strict requirement for ghostpads when linking elements in
5816         different bins.
5817
5818         * gst/gstpad.h:
5819         Clean ups. Added WRONG_HIERARCHY return value.
5820
5821 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5822
5823         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5824           Better debug if no transform is possible.
5825
5826 2005-07-27  Wim Taymans  <wim@fluendo.com>
5827
5828         * docs/random/wtay/network-transp:
5829         Some old doc I had.
5830
5831 2005-07-27  Wim Taymans  <wim@fluendo.com>
5832
5833         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5834         (gst_dp_event_from_packet):
5835         Fix serialization of seek events.
5836
5837 2005-07-27  Wim Taymans  <wim@fluendo.com>
5838
5839         * check/gst-libs/gdp.c: (GST_START_TEST):
5840         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5841         Fix compilation and fix event serialization.
5842
5843 2005-07-27  Wim Taymans  <wim@fluendo.com>
5844
5845         * CHANGES-0.9:
5846         * docs/design/part-TODO.txt:
5847         * docs/design/part-events.txt:
5848         Some docs updates
5849
5850         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5851         (gst_base_sink_event), (gst_base_sink_do_sync),
5852         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5853         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5854         (gst_base_src_do_seek), (gst_base_src_event_handler),
5855         (gst_base_src_loop):
5856         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5857         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5858         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5859         (gst_base_transform_event), (gst_base_transform_handle_buffer),
5860         (gst_base_transform_set_passthrough),
5861         (gst_base_transform_is_passthrough):
5862         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5863         * gst/elements/gstfilesink.c: (gst_file_sink_event):
5864         Event updates.
5865
5866         * gst/gstbuffer.h:
5867         Use faster casts.
5868
5869         * gst/gstelement.c: (gst_element_seek):
5870         * gst/gstelement.h:
5871         Update gst_element_seek.
5872
5873         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5874         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5875         (gst_event_new_flush_start), (gst_event_new_flush_stop),
5876         (gst_event_new_eos), (gst_event_new_newsegment),
5877         (gst_event_parse_newsegment), (gst_event_new_tag),
5878         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5879         (gst_event_parse_qos), (gst_event_new_seek),
5880         (gst_event_parse_seek), (gst_event_new_navigation):
5881         * gst/gstevent.h:
5882         Make GstEvent use GstStructure. Add parsing code, make sure the
5883         API is sufficiently generic.
5884         Mark possible directions of events and serialization.
5885
5886         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5887         (_gst_message_copy), (gst_message_new_segment_start),
5888         (gst_message_new_segment_done), (gst_message_new_custom),
5889         (gst_message_parse_segment_start),
5890         (gst_message_parse_segment_done):
5891         Small cleanups.
5892
5893         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5894         (gst_pad_set_caps), (gst_pad_send_event):
5895         Update for new events. 
5896         Catch events sent in wrong directions.
5897
5898         * gst/gstqueue.c: (gst_queue_link_src),
5899         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5900         (gst_queue_handle_src_query):
5901         Event updates.
5902
5903         * gst/gsttag.c:
5904         * gst/gsttag.h:
5905         Remove event code from this file.
5906
5907         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5908         (gst_dp_event_from_packet):
5909         Event updates.
5910
5911 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5912
5913         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5914         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5915         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5916           Make debugging actually useful.
5917
5918 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
5919
5920         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5921         (gst_pad_fixate_caps):
5922           Implement default fixation once again, so that gst_pad_fixate()
5923           actually does anything at all. This probably needs to be some
5924           sort of a last resort, and use profile-based fixation first, but
5925           since that doesn't exist yet, this is the best we have. Fixes
5926           visualization in Totem.
5927
5928 2005-07-22  Wim Taymans  <wim@fluendo.com>
5929
5930         * docs/design/part-events.txt:
5931         Small update.
5932
5933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5934         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5935         (gst_base_sink_activate_pull):
5936         Some more comments.
5937
5938         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5939         (gst_fake_src_create):
5940         Fix handoff marshall.
5941
5942         * gst/elements/gstidentity.c: (gst_identity_class_init),
5943         (gst_identity_transform_ip):
5944         We're a real inplace element.
5945
5946         * gst/gstbus.c: (gst_bus_post):
5947         Added some comments.
5948
5949         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5950         * tests/muxing/case1.c: (main):
5951         * tests/sched/dynamic-pipeline.c: (main):
5952         * tests/sched/interrupt1.c: (main):
5953         * tests/sched/interrupt2.c: (main):
5954         * tests/sched/interrupt3.c: (main):
5955         * tests/sched/runxml.c: (main):
5956         * tests/sched/sched-stress.c: (main):
5957         * tests/seeking/seeking1.c: (event_received), (main):
5958         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5959         (main):
5960         * tests/threadstate/threadstate3.c: (main):
5961         * tests/threadstate/threadstate4.c: (main):
5962         * tests/threadstate/threadstate5.c: (main):
5963         Fix the tests.
5964
5965 2005-07-21  Wim Taymans  <wim@fluendo.com>
5966
5967         * docs/design/part-seeking.txt:
5968         Some small additions.
5969
5970         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5971         (gst_base_sink_get_times), (gst_base_sink_do_sync),
5972         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5973         * gst/base/gstbasesink.h:
5974         discont values are gint64, handle the math correctly.
5975
5976         * gst/base/gstbasesrc.c: (gst_base_src_loop):
5977         Make the basesrc report error if the source pad is not linked.
5978
5979         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5980         (gst_queue_loop), (gst_queue_handle_src_query),
5981         (gst_queue_src_activate_push):
5982         Make queue collect data even if the srcpad is not linked.
5983         Start pushing out data as soon as it is linked.
5984
5985         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5986         * gst/gstutils.h:
5987         Added gst_flow_get_name() to ease error reporting.
5988
5989 2005-07-20  Wim Taymans  <wim@fluendo.com>
5990
5991         * gst/gstmessage.c: (gst_message_new_segment_start),
5992         (gst_message_new_segment_done), (gst_message_parse_segment_start),
5993         (gst_message_parse_segment_done):
5994         * gst/gstmessage.h:
5995         Added a bunch of messages for advanced seeking.
5996
5997         * gst/parse/grammar.y:
5998         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5999         (gst_dpman_state_changed):
6000         Fix some new-pad -> pad-added signals
6001
6002 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6003
6004         * docs/manual/appendix-porting.xml:
6005         * docs/pwg/appendix-porting.xml:
6006           Document new-pad/state-change signal renames and the FixedList
6007           type rename.
6008
6009 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6010
6011         * docs/manual/advanced-autoplugging.xml:
6012         * docs/manual/basics-helloworld.xml:
6013         * docs/manual/basics-pads.xml:
6014         * docs/random/ds/0.9-suggested-changes:
6015         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6016         * gst/gstelement.h:
6017         * gst/gstevent.h:
6018         * gst/gstformat.h:
6019         * gst/gstquery.h:
6020         * gst/gststructure.c: (gst_structure_value_get_generic_type),
6021         (gst_structure_parse_array), (gst_structure_parse_value):
6022         * gst/gstvalue.c: (gst_type_is_fixed),
6023         (gst_value_list_prepend_value), (gst_value_list_append_value),
6024         (gst_value_list_get_size), (gst_value_list_get_value),
6025         (gst_value_transform_array_string), (gst_value_serialize_array),
6026         (gst_value_deserialize_array), (gst_value_intersect_array),
6027         (gst_value_is_fixed), (_gst_value_initialize):
6028         * gst/gstvalue.h:
6029           GstElement::new-pad -> pad-added, GstElement::state-change ->
6030           state-changed, GstValueFixedList -> GstValueArray, add format and
6031           flags as their own arguments in gst_element_seek() (should improve
6032           "bindeability"), remove function generators since they don't work
6033           under a whole bunch of compilers (they were deprecated already
6034           anyway).
6035
6036 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6037
6038         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6039         (_gst_debug_register_funcptr):
6040         * gst/gstinfo.h:
6041           Fix illegal cast on some platforms (#309253).
6042
6043 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6044
6045         * gst/gstmessage.c: (gst_message_new_custom):
6046         * gst/gstmessage.h:
6047           Add _new_custom, make _new_application a macro to _new_custom.
6048
6049 2005-07-20  Wim Taymans  <wim@fluendo.com>
6050
6051         * gst/base/gstbasesrc.c: (gst_base_src_init),
6052         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6053         * gst/base/gstbasesrc.h:
6054         Add a gboolean to decide when to push out a discont.
6055
6056         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6057         (gst_queue_loop), (gst_queue_handle_src_query),
6058         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6059         (gst_queue_set_property), (gst_queue_get_property):
6060         Some cleanups.
6061
6062         * tests/threadstate/threadstate1.c: (main):
6063         Make a thread test compile and run... very silly..
6064
6065
6066 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6067
6068         * docs/manual/appendix-porting.xml:
6069           Mention removal of libgstgconf-0.9.la and existence of gconf
6070           elements.
6071
6072 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6073
6074         * docs/pwg/advanced-clock.xml:
6075         * docs/pwg/appendix-porting.xml:
6076         * docs/pwg/intro-preface.xml:
6077         * docs/pwg/other-base.xml:
6078         * docs/pwg/other-manager.xml:
6079         * docs/pwg/other-nton.xml:
6080         * docs/pwg/other-ntoone.xml:
6081         * docs/pwg/other-oneton.xml:
6082         * docs/pwg/pwg.xml:
6083           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6084           demuxer), remove n-to-n (was never written), fix some code examples
6085           and links and update the porting section to include all this.
6086
6087 2005-07-19  Wim Taymans  <wim@fluendo.com>
6088
6089         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6090         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6091         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6092         (gst_queue_src_activate_push), (gst_queue_change_state),
6093         (gst_queue_get_property):
6094         * gst/gstqueue.h:
6095         Propagate GstFlowReturn more intelligently upstream and output
6096         an ERROR/EOS when streaming stopped due to fatal error.
6097
6098 2005-07-19  Wim Taymans  <wim@fluendo.com>
6099
6100         * tools/gst-launch.c: (check_intr), (event_loop), (main):
6101         Don't block forever for the state change to complete, the
6102         pipeline already did with a sensible timeout.
6103
6104 2005-07-19  Wim Taymans  <wim@fluendo.com>
6105
6106         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6107         Make sure we never call the create function is we
6108         got deactivated.
6109
6110 2005-07-19  Andy Wingo  <wingo@pobox.com>
6111
6112         * gst/parse/parse.l: Attempt to solve bug #172815.
6113
6114 2005-07-19  Wim Taymans  <wim@fluendo.com>
6115
6116         * docs/design/part-clocks.txt:
6117         * docs/design/part-events.txt:
6118         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6119         Small docs updates.
6120         Only update the seeking values when we are not
6121         busy streaming.
6122
6123 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
6124
6125         * gst/base/gstbasesrc.c: (gst_base_src_loop):
6126           Oops, ignore the result of gst_pad_push_event here.
6127
6128 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
6129
6130         * gst/base/gstbasesrc.c: (gst_base_src_loop),
6131         (gst_base_src_activate_push):
6132           Send discont event from the loop function, as pads
6133           aren't activated yet in the activate_push handler.
6134
6135         * gst/gstbin.c: (bin_bus_handler):
6136           Don't leak element name.
6137
6138 2005-07-18  Andy Wingo  <wingo@pobox.com>
6139
6140         * configure.ac: Use AS_LIBTOOL_TAGS.
6141
6142 2005-07-18  Wim Taymans  <wim@fluendo.com>
6143
6144         * docs/gst/gstreamer.types:
6145         Remove deleted types.
6146
6147 2005-07-18  Wim Taymans  <wim@fluendo.com>
6148
6149         * check/elements/gstfakesrc.c: (GST_START_TEST):
6150         * configure.ac:
6151         * gst/Makefile.am:
6152         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6153         (init_popt_callback):
6154         * gst/gst.h:
6155         * gst/gst_private.h:
6156         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6157         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6158         * gst/gstbin.h:
6159         * gst/gstbus.h:
6160         * gst/gstconfig.h.in:
6161         * gst/gstelement.c: (gst_element_class_init),
6162         (gst_element_set_base_time), (gst_element_get_base_time),
6163         (iterator_fold_with_resync), (gst_element_change_state),
6164         (gst_element_dispose), (gst_element_get_bus):
6165         * gst/gstelement.h:
6166         * gst/gstelementfactory.h:
6167         * gst/gsterror.c: (_gst_core_errors_init):
6168         * gst/gsterror.h:
6169         * gst/gstevent.h:
6170         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6171         * gst/gstindex.c:
6172         * gst/gstinfo.c: (_gst_debug_init):
6173         * gst/gstmessage.c: (_gst_message_copy):
6174         * gst/gstmessage.h:
6175         * gst/gstminiobject.h:
6176         * gst/gstobject.c:
6177         * gst/gstobject.h:
6178         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6179         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6180         * gst/gstpad.h:
6181         * gst/gstparse.h:
6182         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6183         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6184         (gst_pipeline_get_last_stream_time):
6185         * gst/gstpipeline.h:
6186         * gst/gstpluginfeature.h:
6187         * gst/gstquery.h:
6188         * gst/gstscheduler.c:
6189         * gst/gstscheduler.h:
6190         * gst/gststructure.h:
6191         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6192         (gst_task_finalize), (gst_task_func), (gst_task_create),
6193         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6194         (gst_task_stop), (gst_task_pause):
6195         * gst/gsttask.h:
6196         * gst/gsttypefind.h:
6197         * gst/gsttypes.h:
6198         * gst/registries/gstlibxmlregistry.c: (load_feature),
6199         (gst_xml_registry_load), (gst_xml_registry_save_feature):
6200         * gst/registries/gstxmlregistry.c:
6201         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6202         * gst/schedulers/threadscheduler.c:
6203         * libs/gst/control/dparammanager.h:
6204         * tools/gst-inspect.c: (print_element_list),
6205         (print_plugin_features), (print_element_features):
6206         * tools/gst-xmlinspect.c: (print_element_list),
6207         (print_plugin_info), (main):
6208         Removed plugable schedulers.
6209         Removed Scheduler/Manager from elements.
6210         Removed gsttypes.h, rearranged includes.
6211         Removed dependency pad<->element, element<>pipeline, and
6212         various others,  fix includes.
6213         implement gst_pad_get_parent() with gst_object_get_parent()
6214         Make GstTask sefcontained.
6215         Fix _get_state() on GstBin, it did not return ASYNC with a 0
6216         timeout.
6217         Fix endless loop in iterator_fold_with_resync.
6218
6219
6220 2005-07-18  Wim Taymans  <wim@fluendo.com>
6221
6222         * gst/Makefile.am:
6223         * gst/gstarch.h:
6224         Remove old file.
6225
6226 2005-07-18  Wim Taymans  <wim@fluendo.com>
6227
6228         * gst/Makefile.am:
6229         No more cothreads.h
6230
6231 2005-07-18  Wim Taymans  <wim@fluendo.com>
6232
6233         * gst/cothreads.c:
6234         * gst/cothreads.h:
6235         Let's remove these.
6236
6237 2005-07-18  Wim Taymans  <wim@fluendo.com>
6238
6239         * docs/design/part-dynamic.txt:
6240         * docs/design/part-events.txt:
6241         * docs/design/part-seeking.txt:
6242         Some more docs in the works.
6243
6244         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6245         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6246         (gst_base_transform_setcaps), (gst_base_transform_get_size),
6247         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6248         (gst_base_transform_handle_buffer),
6249         (gst_base_transform_sink_activate_push),
6250         (gst_base_transform_src_activate_pull),
6251         (gst_base_transform_set_passthrough),
6252         (gst_base_transform_is_passthrough):
6253         Refcounting fixes.
6254
6255         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6256         Cleanups.
6257
6258         * gst/gstevent.c: (gst_event_finalize):
6259         Set SRC to NULL.
6260
6261         * gst/gstutils.c: (gst_element_unlink),
6262         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6263         (gst_pad_proxy_setcaps):
6264         * gst/gstutils.h:
6265         Add _get_parent_element() to get a pads parent as an element.
6266
6267 2005-07-18  Wim Taymans  <wim@fluendo.com>
6268
6269         * check/gst/gstbin.c: (GST_START_TEST):
6270         Remove bogus test.
6271
6272 2005-07-18  Wim Taymans  <wim@fluendo.com>
6273
6274         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6275         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6276         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6277         (gst_base_sink_event), (gst_base_sink_do_sync),
6278         (gst_base_sink_chain), (gst_base_sink_loop),
6279         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6280         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6281         Refcounting fixes.
6282         Fix logic for returning ASYNC when not prerolled.
6283
6284 2005-07-18  Wim Taymans  <wim@fluendo.com>
6285
6286         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6287         Fix nasty refcount bug.
6288
6289 2005-07-16 Philippe Khalaf <burger@speedy.org>
6290
6291         * gst/elements/gstfdsrc.c:
6292         * gst/elements/gstfdsrc.h:
6293         * gst/elements/gstelements.c:
6294         * gst/elements/Makefile.am:
6295         Ported fdsrc to 0.9.
6296
6297 2005-07-16  Wim Taymans  <wim@fluendo.com>
6298
6299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6300         (gst_base_sink_do_sync):
6301         Fix compile error.
6302
6303 2005-07-16  Wim Taymans  <wim@fluendo.com>
6304
6305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6306         (gst_base_sink_event), (gst_base_sink_get_times),
6307         (gst_base_sink_do_sync), (gst_base_sink_change_state):
6308         * gst/base/gstbasesink.h:
6309         Store and use discont values when syncing buffers as described
6310         in design docs.
6311         
6312         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6313         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6314         (gst_base_src_activate_push):
6315         Push discont event when starting.
6316
6317         * gst/elements/gstidentity.c: (gst_identity_transform):
6318         Small cleanups.
6319
6320         * gst/gstbin.c: (gst_bin_change_state):
6321         Small cleanups in base_time  distribution.
6322
6323         * gst/gstelement.c: (gst_element_set_base_time),
6324         (gst_element_get_base_time), (gst_element_change_state):
6325         * gst/gstelement.h:
6326         Added methods for the base_time of the element.
6327         Some MT fixes.
6328
6329         * gst/gstpipeline.c: (gst_pipeline_send_event),
6330         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6331         (gst_pipeline_get_last_stream_time):
6332         * gst/gstpipeline.h:
6333         MT fixes.
6334         Handle seeking as described in design doc, remove stream_time
6335         hack.
6336         Cleanups clock and stream_time selection code. Added accessors
6337         for the stream_time.
6338         
6339
6340 2005-07-16  Andy Wingo  <wingo@pobox.com>
6341
6342         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6343         (#305291).
6344
6345 2005-07-16  Wim Taymans  <wim@fluendo.com>
6346
6347         * check/gst/gstbin.c: (GST_START_TEST):
6348         Make elements silent as the deep_notify refs the
6349         parent, which might make the test fail.
6350
6351         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6352         Don't hold the lock for too long.
6353
6354 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
6355
6356         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6357           Don't unref the caps we passed to gst_caps_make_writable() after
6358           passing them. gst_caps_make_writable() will do that for us.
6359
6360 2005-07-15  Andy Wingo  <wingo@pobox.com>
6361
6362         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6363         (#157311).
6364
6365         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6366         own marshalling function for the handoff signal. Properly type the
6367         buffer as a buffer. Fixes some warnings. Should do a more general
6368         solution.
6369         (gst_identity_class_init): Plug into the right marshaller.
6370
6371 2005-07-15  Wim Taymans  <wim@fluendo.com>
6372
6373         * docs/design/part-TODO.txt:
6374         * docs/design/part-clocks.txt:
6375         * docs/design/part-element-sink.txt:
6376         * docs/design/part-events.txt:
6377         * docs/design/part-gstpipeline.txt:
6378         Updated docs, mostly DISCONT related.
6379
6380 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
6381
6382         * docs/pwg/building-pads.xml:
6383           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6384
6385 2005-07-15  Andy Wingo  <wingo@pobox.com>
6386
6387         * tools/gst-typefind.c: Update, add copyright block.
6388
6389         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6390         Normalize and truncate caps before fixation.
6391
6392         * gst/gstcaps.h:
6393         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6394         discards all but the first structure from its argument.
6395
6396 2005-07-15  Wim Taymans  <wim@fluendo.com>
6397
6398         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6399         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6400         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6401         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6402         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6403         (gst_base_transform_chain), (gst_base_transform_change_state),
6404         (gst_base_transform_set_passthrough),
6405         (gst_base_transform_is_passthrough):
6406         * gst/base/gstbasetransform.h:
6407         Make passthrough work using the bufferpools.
6408         Changed API a bit, subclasses have to write into a buffer
6409         provided by the base class.
6410         More debug info in nego functions.
6411         
6412         * gst/elements/gstidentity.c: (gst_identity_init),
6413         (gst_identity_transform):
6414         Port to new base class.
6415
6416 2005-07-15  Wim Taymans  <wim@fluendo.com>
6417
6418         * gst/gstmessage.c: (gst_message_new_state_changed):
6419         * tools/gst-launch.c: (event_loop), (main):
6420         Totally dump messages in -launch with the -m option.
6421         Fix message name for State messages,
6422
6423 2005-07-14  Wim Taymans  <wim@fluendo.com>
6424
6425         * gst/base/gstbasesrc.c: (gst_base_src_loop):
6426         Post error messages on errors.
6427
6428 2005-07-14  Wim Taymans  <wim@fluendo.com>
6429
6430         * gst/gstcaps.c: (gst_caps_do_simplify):
6431         Remove debug info.
6432
6433         * gst/gsterror.h:
6434         Define error for stream stopped.
6435
6436         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6437         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6438         Do proper return values.
6439
6440         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6441         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6442         (gst_pad_get_range):
6443         Better return values.
6444
6445         * gst/gstpad.h:
6446         Reorganise return values, add macro to check for fatal errors.
6447
6448         * gst/gstqueue.c: (gst_queue_chain):
6449         Return proper GstFlowReturn values,
6450
6451 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6452
6453         * docs/gst/gstreamer-sections.txt:
6454         * docs/gst/gstreamer.types:
6455         * docs/gst/tmpl/gst.sgml:
6456         * docs/gst/tmpl/gstbasesink.sgml:
6457         * docs/gst/tmpl/gstbasesrc.sgml:
6458         * docs/gst/tmpl/gstbasetransform.sgml:
6459         * docs/gst/tmpl/gstbin.sgml:
6460         * docs/gst/tmpl/gstbuffer.sgml:
6461         * docs/gst/tmpl/gstcaps.sgml:
6462         * docs/gst/tmpl/gstclock.sgml:
6463         * docs/gst/tmpl/gstcompat.sgml:
6464         * docs/gst/tmpl/gstconfig.sgml:
6465         * docs/gst/tmpl/gstelement.sgml:
6466         * docs/gst/tmpl/gstelementdetails.sgml:
6467         * docs/gst/tmpl/gstelementfactory.sgml:
6468         * docs/gst/tmpl/gstenumtypes.sgml:
6469         * docs/gst/tmpl/gsterror.sgml:
6470         * docs/gst/tmpl/gstevent.sgml:
6471         * docs/gst/tmpl/gstfakesink.sgml:
6472         * docs/gst/tmpl/gstfakesrc.sgml:
6473         * docs/gst/tmpl/gstfilesink.sgml:
6474         * docs/gst/tmpl/gstfilesrc.sgml:
6475         * docs/gst/tmpl/gstfilter.sgml:
6476         * docs/gst/tmpl/gstformat.sgml:
6477         * docs/gst/tmpl/gstghostpad.sgml:
6478         * docs/gst/tmpl/gstimplementsinterface.sgml:
6479         * docs/gst/tmpl/gstindex.sgml:
6480         * docs/gst/tmpl/gstindexfactory.sgml:
6481         * docs/gst/tmpl/gstinfo.sgml:
6482         * docs/gst/tmpl/gstiterator.sgml:
6483         * docs/gst/tmpl/gstmacros.sgml:
6484         * docs/gst/tmpl/gstmemchunk.sgml:
6485         * docs/gst/tmpl/gstminiobject.sgml:
6486         * docs/gst/tmpl/gstobject.sgml:
6487         * docs/gst/tmpl/gstpad.sgml:
6488         * docs/gst/tmpl/gstpadtemplate.sgml:
6489         * docs/gst/tmpl/gstparse.sgml:
6490         * docs/gst/tmpl/gstpipeline.sgml:
6491         * docs/gst/tmpl/gstplugin.sgml:
6492         * docs/gst/tmpl/gstpluginfeature.sgml:
6493         * docs/gst/tmpl/gstquery.sgml:
6494         * docs/gst/tmpl/gstqueue.sgml:
6495         * docs/gst/tmpl/gstregistry.sgml:
6496         * docs/gst/tmpl/gstregistrypool.sgml:
6497         * docs/gst/tmpl/gstscheduler.sgml:
6498         * docs/gst/tmpl/gstschedulerfactory.sgml:
6499         * docs/gst/tmpl/gststructure.sgml:
6500         * docs/gst/tmpl/gstsystemclock.sgml:
6501         * docs/gst/tmpl/gsttaglist.sgml:
6502         * docs/gst/tmpl/gsttagsetter.sgml:
6503         * docs/gst/tmpl/gsttrace.sgml:
6504         * docs/gst/tmpl/gsttrashstack.sgml:
6505         * docs/gst/tmpl/gsttypefind.sgml:
6506         * docs/gst/tmpl/gsttypefindfactory.sgml:
6507         * docs/gst/tmpl/gsttypes.sgml:
6508         * docs/gst/tmpl/gsturihandler.sgml:
6509         * docs/gst/tmpl/gsturitype.sgml:
6510         * docs/gst/tmpl/gstutils.sgml:
6511         * docs/gst/tmpl/gstvalue.sgml:
6512         * docs/gst/tmpl/gstversion.sgml:
6513         * docs/gst/tmpl/gstxml.sgml:
6514         * docs/libs/tmpl/gstcontrol.sgml:
6515         * docs/libs/tmpl/gstdataprotocol.sgml:
6516         * docs/libs/tmpl/gstdparam.sgml:
6517         * docs/libs/tmpl/gstdplinint.sgml:
6518         * docs/libs/tmpl/gstdpman.sgml:
6519         * docs/libs/tmpl/gstdpsmooth.sgml:
6520         * docs/libs/tmpl/gstgetbits.sgml:
6521         * docs/libs/tmpl/gstunitconvert.sgml:
6522         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6523         (gst_push_src_base_init), (gst_push_src_class_init),
6524         (gst_push_src_init), (gst_push_src_create):
6525         * gst/base/gstpushsrc.h:
6526         * gst/elements/gstelements.c:
6527         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6528         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6529         (gst_fake_sink_init), (gst_fake_sink_set_property),
6530         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6531         (gst_fake_sink_event), (gst_fake_sink_preroll),
6532         (gst_fake_sink_render), (gst_fake_sink_change_state):
6533         * gst/elements/gstfakesink.h:
6534         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6535         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6536         (gst_fake_src_base_init), (gst_fake_src_class_init),
6537         (gst_fake_src_init), (gst_fake_src_event_handler),
6538         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6539         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6540         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6541         (gst_fake_src_create_buffer), (gst_fake_src_create),
6542         (gst_fake_src_start), (gst_fake_src_stop):
6543         * gst/elements/gstfakesrc.h:
6544         * gst/elements/gstfilesink.c: (_do_init),
6545         (gst_file_sink_base_init), (gst_file_sink_class_init),
6546         (gst_file_sink_init), (gst_file_sink_dispose),
6547         (gst_file_sink_set_location), (gst_file_sink_set_property),
6548         (gst_file_sink_get_property), (gst_file_sink_open_file),
6549         (gst_file_sink_close_file), (gst_file_sink_query),
6550         (gst_file_sink_event), (gst_file_sink_render),
6551         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6552         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6553         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6554         * gst/elements/gstfilesink.h:
6555         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6556         (gst_file_src_class_init), (gst_file_src_init),
6557         (gst_file_src_finalize), (gst_file_src_set_location),
6558         (gst_file_src_set_property), (gst_file_src_get_property),
6559         (gst_file_src_map_region), (gst_file_src_map_small_region),
6560         (gst_file_src_create_mmap), (gst_file_src_create_read),
6561         (gst_file_src_create), (gst_file_src_is_seekable),
6562         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6563         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6564         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6565         (gst_file_src_uri_handler_init):
6566         * gst/elements/gstfilesrc.h:
6567           more autistic cleanliness in functions/names/defines
6568
6569 2005-07-13  Andy Wingo  <wingo@pobox.com>
6570
6571         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6572         source couldn't negotiate.
6573
6574         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6575         connections again.
6576
6577         * gst/gstutils.h:
6578         * gst/gstutils.c (gst_element_link_pads_filtered): New old
6579         function. I am channeling Hades. Put your boots on suckers!!!
6580
6581 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6582
6583         * testsuite/caps/Makefile.am:
6584         * testsuite/caps/value_compare.c:
6585         * testsuite/caps/value_intersect.c:
6586         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6587           move two testsuite apps over to the check dir
6588
6589 2005-07-12  Wim Taymans  <wim@fluendo.com>
6590
6591         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6592         Added more debug info in the negotiate process.
6593
6594         * gst/gstmessage.h:
6595         Prepare for segment playback.
6596
6597         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6598         Better debugging.
6599
6600         * gst/gstutils.c:
6601         Some more docs.
6602
6603         * tools/gst-launch.c: (main):
6604         NULL pipeline on errors.
6605
6606 2005-07-12  Andy Wingo  <wingo@pobox.com>
6607
6608         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6609         not it comes from a malloc region. Make sure our copy gets freed.
6610
6611 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6612
6613         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6614         * check/gst/gstmessage.c: (GST_START_TEST):
6615         * check/gst/gststructure.c: (GST_START_TEST),
6616         (gst_structure_suite), (main):
6617           more testing
6618         * gst/gstelement.c: (gst_element_message_full):
6619           clean up GError and debug string now that they get copied
6620         * gst/gstmessage.c: (gst_message_new_error),
6621         (gst_message_new_warning), (gst_message_parse_error),
6622         (gst_message_parse_warning):
6623           use GST_TYPE_G_ERROR for structure_new, and take copies of
6624           arguments, so that we don't mess up refcounting
6625
6626 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6627
6628         * check/Makefile.am:
6629           add per-test valgrind targets
6630         * check/gst-libs/gdp.c: (GST_START_TEST),
6631         (gst_data_protocol_suite), (main):
6632           clean up
6633
6634 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6635
6636         * check/Makefile.am:
6637           instate more valgrindable tests
6638         * check/elements/gstfakesrc.c: (chain_func), (event_func),
6639         (GST_START_TEST), (fakesrc_suite):
6640         * check/gst/gstpad.c: (GST_START_TEST):
6641         * check/gst/gststructure.c: (GST_START_TEST):
6642           fix test leaks
6643         * docs/gst/tmpl/gstminiobject.sgml:
6644         * gst/gstpad.c: (gst_pad_finalize):
6645           fix the static mutex leak
6646
6647 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6648
6649         * check/Makefile.am:
6650           add two more tests for valgrinding
6651         * check/gst/gstvalue.c: (GST_START_TEST):
6652           test refcount of deserialized buffer, found a leak
6653         * docs/gst/gstreamer-docs.sgml:
6654         * docs/gst/gstreamer-sections.txt:
6655         * docs/gst/gstreamer.types:
6656         * docs/gst/tmpl/gstminiobject.sgml:
6657           add miniobject to docs
6658         * gst/gstminiobject.c:
6659           add some docs
6660         * gst/gstvalue.c: (gst_value_deserialize_buffer),
6661         (gst_string_unwrap):
6662           fix a hard-to-find invalid write for one of the tests
6663           fix a leak for deserialized buffers
6664
6665 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6666
6667         * docs/pwg/advanced-events.xml:
6668         * docs/pwg/advanced-request.xml:
6669         * docs/pwg/advanced-scheduling.xml:
6670         * docs/pwg/appendix-porting.xml:
6671         * docs/pwg/building-boiler.xml:
6672         * docs/pwg/intro-preface.xml:
6673         * docs/pwg/other-ntoone.xml:
6674           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6675           of example code and explanation for pad activation, loop() and
6676           getrange() functions and a bit more. Remove old comments pointing
6677           to loop-functions.
6678         * examples/pwg/Makefile.am:
6679           Add loop/getrange examples.
6680
6681 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6682
6683         * configure.ac:
6684           check for valgrind binary + some fixes
6685         * check/gst.supp:
6686           valgrind suppressions for the tests
6687         * check/Makefile.am:
6688           add a valgrind: target that valgrinds the unit tests
6689         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6690         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6691         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6692         * check/gst/gstghostpad.c:
6693           added some cleanup
6694         * check/gst/gstdata.c:
6695           removed
6696         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6697         (thread_unref), (gst_mini_object_suite), (main):
6698           added
6699         * gst/gst.c: (gst_deinit):
6700         * gst/gst.h:
6701           add a method to clean up.
6702         * gst/gstsystemclock.c: (gst_system_clock_dispose),
6703         (gst_system_clock_obtain):
6704           allow for disposing the system clock.
6705         * tools/gst-launch.c: (main):
6706           deinit
6707
6708 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
6709
6710         * docs/gst/tmpl/gstbasesrc.sgml:
6711         * docs/gst/tmpl/gstfakesrc.sgml:
6712         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6713         (gst_base_src_init), (gst_base_src_set_property),
6714         (gst_base_src_get_property), (gst_base_src_get_range),
6715         (gst_base_src_start):
6716         * gst/base/gstbasesrc.h:
6717           add num-buffers property
6718         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6719         (gst_fakesrc_init), (gst_fakesrc_set_property),
6720         (gst_fakesrc_get_property), (gst_fakesrc_create),
6721         (gst_fakesrc_start):
6722           remove num-buffers property
6723
6724 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6725
6726         * docs/gst/gstreamer-sections.txt:
6727         * docs/gst/tmpl/gstbasesink.sgml:
6728         * docs/gst/tmpl/gstbasesrc.sgml:
6729         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6730         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6731         (gst_base_sink_finalize), (gst_base_sink_set_clock),
6732         (gst_base_sink_set_property), (gst_base_sink_get_property),
6733         (gst_base_sink_handle_object), (gst_base_sink_event),
6734         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6735         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6736         (gst_base_sink_loop), (gst_base_sink_deactivate),
6737         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6738         (gst_base_sink_change_state):
6739         * gst/base/gstbasesink.h:
6740         * gst/base/gstbasesrc.h:
6741         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6742         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6743         (gst_filesink_init):
6744           more macro splitting
6745
6746 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6747
6748         * gst/gstelement.c: (gst_element_get_bus):
6749           add debug
6750         * tools/gst-launch.c: (check_intr), (event_loop):
6751           fix bus leaks
6752
6753 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6754
6755         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6756           fix a caps leak
6757
6758 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
6759
6760         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6761         (gst_base_src_finalize):
6762           add finalize method and clean up properly
6763         * gst/gstpipeline.c: (gst_pipeline_dispose):
6764           add debug
6765
6766 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6767
6768         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6769         (gst_bin_suite):
6770           add more things to check
6771         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6772         * gst/gstelement.c:
6773           more debug
6774
6775 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6776
6777         * check/elements/gstfakesrc.c: (chain_func), (event_func),
6778         (GST_START_TEST), (fakesrc_suite):
6779         * check/gst-libs/gdp.c: (GST_START_TEST):
6780         * check/gst/gst.c: (GST_START_TEST):
6781         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6782         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6783         * check/gst/gstbus.c: (GST_START_TEST):
6784         * check/gst/gstcaps.c: (GST_START_TEST):
6785         * check/gst/gstdata.c: (GST_START_TEST):
6786         * check/gst/gstelement.c: (GST_START_TEST):
6787         * check/gst/gstghostpad.c: (GST_START_TEST):
6788         * check/gst/gstiterator.c: (GST_START_TEST):
6789         * check/gst/gstmessage.c: (GST_START_TEST):
6790         * check/gst/gstobject.c: (GST_START_TEST):
6791         * check/gst/gstpad.c: (GST_START_TEST):
6792         * check/gst/gststructure.c: (GST_START_TEST):
6793         * check/gst/gstsystemclock.c: (GST_START_TEST),
6794         (gst_systemclock_suite):
6795         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6796         * check/gst/gstvalue.c: (GST_START_TEST):
6797         * check/pipelines/cleanup.c: (GST_START_TEST):
6798         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6799         * check/states/sinks.c: (GST_START_TEST):
6800         * check/gstcheck.c: (gst_check_init):
6801         * check/gstcheck.h:
6802           add debugging category
6803           use GST_START_TEST now, so we add a debug line
6804
6805 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6806
6807         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6808           add test for state change message on a bin
6809         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6810           add another test
6811         * gst/gstbin.c: (gst_bin_init):
6812         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6813         * gst/gstelement.c: (gst_element_post_message),
6814         (gst_element_set_state):
6815         * gst/gstelementfactory.c: (gst_element_factory_create):
6816         * gst/gstmessage.c: (gst_message_new):
6817         * gst/gstscheduler.c:
6818           various debugging additions and cleanups
6819
6820 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6821
6822         * check/Makefile.am:
6823         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6824         (main):
6825           adding tests for elements
6826         * gst/gstelement.c: (gst_element_dispose):
6827
6828 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6829
6830         * gst/registries/gstlibxmlregistry.c: (load_feature):
6831           plug more leaks.  A simple gst_init() now is leakfree, yay.
6832
6833 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6834
6835         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6836         (gst_xml_registry_load):
6837           plug another memleak
6838
6839 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6840
6841         * configure.ac:
6842           use GST_SET_ERROR_CFLAGS
6843         * docs/faq/cvs.xml:
6844           change to ERROR_CFLAGS
6845
6846 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
6847
6848         * configure.ac:
6849           make GST_ERROR_CFLAGS overridable and re-enable Werror
6850         * docs/faq/cvs.xml:
6851           add a note about error CFLAGS
6852         * docs/gst/tmpl/gstfakesrc.sgml:
6853         * gst/elements/gstfakesrc.c:
6854           comment out some unused code
6855         * gst/gst.c: (split_and_iterate):
6856         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6857         (load_feature):
6858           plug some memleaks
6859
6860 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6861
6862         * common/Makefile.am:
6863         * common/gtk-doc.mak:
6864         * docs/gst/Makefile.am:
6865           factor out gtk-doc.mak
6866
6867 2005-07-07  Wim Taymans  <wim@fluendo.com>
6868
6869         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6870         (gst_thread_scheduler_dispose):
6871         Unlock the STREAM_LOCK completely.
6872
6873 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6874
6875         * check/Makefile.am:
6876         * check/elements/.cvsignore:
6877         * check/elements/gstfakesrc.c: (chain_func), (event_func),
6878         (START_TEST), (fakesrc_suite), (main):
6879         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6880         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6881         (gst_fakesrc_create), (gst_fakesrc_start):
6882         * gst/elements/gstfakesrc.h:
6883           adding a first element test
6884
6885 2005-07-07  Andy Wingo  <wingo@pobox.com>
6886
6887         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6888         debug message.
6889
6890 2005-07-07  Wim Taymans  <wim@fluendo.com>
6891
6892         * gst/gstquery.c:
6893         * gst/gstquery.h:
6894         Remove old types
6895
6896 2005-07-07  Wim Taymans  <wim@fluendo.com>
6897
6898         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6899         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6900         Allow subclasses to implement their own negotiation.
6901
6902 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
6903
6904         * docs/design/part-gstbin.txt:
6905         * docs/design/part-gstpipeline.txt:
6906           Update design notes to reflect the movement of
6907           responsibility for bus handling from GstPipeline to
6908           GstBin
6909
6910 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
6911
6912         * configure.ac:
6913           Remove unnecessary queue2/3/4 examples.
6914
6915 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
6916
6917         * examples/Makefile.am:
6918         * examples/helloworld/helloworld.c: (event_loop), (main):
6919         * examples/queue/queue.c: (event_loop), (main):
6920         * examples/queue2/queue2.c: (main):
6921           Update a couple of the examples to work again.
6922
6923         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6924         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6925          Spelling corrections and extra debug.
6926         
6927         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6928         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6929         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6930         * gst/gstbin.h:
6931         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6932         (gst_pipeline_change_state):
6933         * gst/gstpipeline.h:
6934           Move the bus handler for children to the GstBin, and create a
6935           separate bus for receiving messages from children to the one the
6936           bus sends 'upwards' on.
6937
6938 2005-07-06  Wim Taymans  <wim@fluendo.com>
6939
6940         * gst/base/README:
6941         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6942         (gst_base_sink_handle_object), (gst_base_sink_loop),
6943         (gst_base_sink_change_state):
6944         * gst/base/gstbasesink.h:
6945         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6946         (gst_base_src_init), (gst_base_src_setcaps),
6947         (gst_base_src_getcaps), (gst_base_src_loop),
6948         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6949         (gst_base_src_start), (gst_base_src_change_state):
6950         * gst/base/gstbasesrc.h:
6951         Make basesrc negotiate.
6952         Handle the case where preroll fails in basesink.
6953         Update README.
6954
6955 2005-07-06  Wim Taymans  <wim@fluendo.com>
6956
6957         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6958         Implement the fixate function.
6959         Clean up acceptcaps.
6960
6961 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6962
6963         * docs/pwg/building-filterfactory.xml:
6964         * docs/pwg/pwg.xml:
6965           Remove never-written filter-factory chapter; I'll add the various
6966           base classes to part 4 ("other element types") later on.
6967
6968 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6969
6970         * docs/pwg/advanced-negotiation.xml:
6971         * docs/pwg/building-boiler.xml:
6972         * docs/pwg/building-pads.xml:
6973         * docs/pwg/pwg.xml:
6974         * examples/pwg/Makefile.am:
6975           Add a chapter on caps negotiation, simplify the original code
6976           samples a bit w.r.t. caps negotiation, add link to the advanced
6977           section. Add a bunch of examples showing different use cases of
6978           different types of caps negotiation. Upstream renegotiation isn't
6979           fully documented yet since nobody knows how that works.
6980
6981 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6982
6983         * check/gst/gstpad.c:
6984         * check/gstcheck.c:
6985         * gst/gstpad.c: (gst_pad_get_internal_links_default):
6986           if pad has no parent, return NULL as list of internal links
6987
6988 2005-07-05  Andy Wingo  <wingo@pobox.com>
6989
6990         * gst/elements/gstfilesrc.c:
6991         * gst/elements/gstfakesrc.c: 
6992         * gst/base/gstpushsrc.c:
6993         * gst/base/gstbasesrc.h: 
6994         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6995         
6996 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
6997
6998         * Makefile.am:
6999           better report generation target (lcov needs a patch)
7000
7001 2005-07-05  Andy Wingo  <wingo@pobox.com>
7002
7003         * gst/elements, testsuite: Null if we got it...
7004
7005 2005-07-05  Wim Taymans  <wim@fluendo.com>
7006
7007         * configure.ac:
7008         * libs/gst/dataprotocol/Makefile.am:
7009         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7010         * libs/gst/dataprotocol/dataprotocol.h:
7011         * pkgconfig/Makefile.am:
7012         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7013         * pkgconfig/gstreamer-dataprotocol.pc.in:
7014         Ported dataprotol to 0.9. 
7015         Added pkgconfig files.
7016
7017 2005-07-05  Andy Wingo  <wingo@pobox.com>
7018
7019         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7020         Default to returning TRUE for the case when tranform_caps returns
7021         a fixed caps, like for identity or volume.
7022
7023         * check/gst/gstbus.c (pound_bus_with_messages): 
7024         * check/gst/gstmessage.c (START_TEST): 
7025         * check/pipelines/simple_launch_lines.c (got_handoff): Application
7026         message API change.
7027
7028         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7029         logic weaks here: always run transform_caps, trying passthrough
7030         operation only if the original caps intersects with the transform.
7031
7032         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7033         source and sink caps.
7034
7035         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7036         Intersect the peer caps with the pad template before going into
7037         transform_caps.
7038         (gst_base_transform_transform_caps): More debugging.
7039
7040         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7041         src argument.
7042
7043 2005-07-04  Edward Hervey  <edward@fluendo.com>
7044
7045         * gst/gstutils.c:
7046         * gst/gstutils.h:
7047         (gst_pad_add_*_probe): now returns the signal id for better wrapping
7048         in bindings.
7049
7050 2005-07-04  Andy Wingo  <wingo@pobox.com>
7051
7052         * check/gst/gstpad.c: Only set explicit caps on pads.
7053
7054 2005-07-01  Andy Wingo  <wingo@pobox.com>
7055
7056         * tests/network-clock.scm: Commentary update.
7057
7058         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7059         Didn't really make sense, not implementable with basetransform,
7060         etc.
7061         (gst_identity_transform): Unref inbuf via make_writable. Feeble
7062         attempt at implementing the sync property, needs an unlock method.
7063
7064         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7065         New func, by default returns the same caps (the identity
7066         transformation).
7067         (gst_base_transform_getcaps): Uses transform_caps to return
7068         something sensible.
7069         (gst_base_transform_setcaps): Complicated logic to get caps on
7070         both pads, even if they are different, and to call set_caps once
7071         for every time both pads get their caps set.
7072         (gst_base_transform_handle_buffer): Give the ref to the transform
7073         function. Allows in-place modification of the buffer.
7074
7075         * gst/base/gstbasetransform.h (transform_caps): New class method.
7076         Given caps on one side, what can I do on the other.
7077         (set_caps): Take two caps, one for each side of the element.
7078
7079         * gst/gstpad.h:
7080         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7081         caps in place. This is safe because we can check the mutability of
7082         the caps, and a good idea because fixate functions are just called
7083         as a matter of last resort. (Not actually implemented.)
7084         (gst_pad_set_caps): If the caps we're setting is actually the same
7085         as the existing pad caps, just update the pointer without calling
7086         setcaps. Assert that caps is either NULL or fixed, as per the
7087         docs.
7088
7089         * gst/gstghostpad.c: Update for fixate changes.
7090
7091 2005-07-02  Andy Wingo  <wingo@pobox.com>
7092
7093         * gst/gstcaps.c:
7094         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7095         two refcounts makes it immutable, which is enough. Doc more.
7096
7097 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
7098
7099         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7100           Put the mini_object into GValue as a mini_object,
7101           not a gpointer, since that's how we declared
7102           the signal.
7103
7104 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7105
7106         * examples/pwg/Makefile.am:
7107           Fix buildbot again.
7108
7109 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7110
7111         * docs/pwg/building-testapp.xml:
7112           Add extra check.
7113         * examples/pwg/Makefile.am:
7114           Fix buildbot.
7115
7116 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7117
7118         * configure.ac:
7119         * examples/Makefile.am:
7120         * examples/pwg/Makefile.am:
7121         * examples/pwg/extract.pl:
7122           Enable building the PWG examples.
7123         * docs/pwg/advanced-interfaces.xml:
7124           Add URI interface stub.
7125         * docs/pwg/advanced-types.xml:
7126         * docs/pwg/other-autoplugger.xml:
7127         * docs/pwg/appendix-porting.xml:
7128         * docs/pwg/pwg.xml:
7129           Add porting guide (mostly stubs), remove autoplugging (see ADM).
7130         * docs/pwg/building-boiler.xml:
7131         * docs/pwg/building-chainfn.xml:
7132         * docs/pwg/building-pads.xml:
7133         * docs/pwg/building-props.xml:
7134         * docs/pwg/building-state.xml:
7135         * docs/pwg/building-testapp.xml:
7136           Update the building-*.xml parts for 0.9 changes. All examples
7137           code blocks compile in examples/pwg/*.
7138
7139 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7140
7141         * docs/manual/advanced-autoplugging.xml:
7142         * docs/manual/appendix-checklist.xml:
7143         * docs/manual/appendix-integration.xml:
7144         * docs/manual/highlevel-components.xml:
7145           Fix playbin/decodebin examples, update docs a bit, mention bus
7146           instead of signals in various places, mention kmplayer and
7147           kaffeine since they have a working GStreamer backend in the KDE
7148           section.
7149
7150 2005-06-30  Wim Taymans  <wim@fluendo.com>
7151
7152         * CHANGES-0.9:
7153         * docs/design/draft-ghostpads.txt:
7154         * docs/design/draft-push-pull.txt:
7155         * docs/design/draft-query.txt:
7156         * docs/design/part-TODO.txt:
7157         * docs/design/part-query.txt:
7158         Added CHANGES-0.9 doc, updated status of other docs.
7159         
7160         * gst/gstquery.h:
7161         Remove "hmm" macro
7162
7163 2005-06-30  Wim Taymans  <wim@fluendo.com>
7164
7165         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7166         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7167         (gst_base_sink_change_state):
7168         * gst/base/gstbasesink.h:
7169         Some tweaks, only EOS and a buffer complete a preroll.
7170
7171 2005-06-30  Andy Wingo  <wingo@pobox.com>
7172
7173         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7174         activate_push down to the internal pad as well.
7175
7176 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
7177
7178         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7179
7180         * gst/gsttaginterface.c:
7181           Some documentation fixes (#307394 and #307397).
7182
7183 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
7184
7185         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7186
7187         * gst/gstvalue.c: (gst_value_intersect_list):
7188           Fix memleak (#309125).
7189
7190 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7191
7192         * docs/manual/advanced-dataaccess.xml:
7193           Fix fakesrc example to compile; doesn't work, bug somewhere...?
7194         * docs/manual/basics-pads.xml:
7195           Add reference for filtered caps to above chapter.
7196
7197 2005-06-30  Wim Taymans  <wim@fluendo.com>
7198
7199         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7200         (gst_bin_change_state):
7201         Probes are gone.
7202         Lame attempt at making the state change function a bit
7203         more readable.
7204
7205 2005-06-30  Wim Taymans  <wim@fluendo.com>
7206
7207         * docs/design/part-clocks.txt:
7208         * docs/design/part-element-sink.txt:
7209         * docs/design/part-events.txt:
7210         * docs/design/part-preroll.txt:
7211         * docs/design/part-states.txt:
7212         Some more tweeks and additions to the docs.
7213
7214 2005-06-30  Wim Taymans  <wim@fluendo.com>
7215
7216         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7217         (default_have_data), (gst_pad_class_init), (gst_pad_init),
7218         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7219         (gst_pad_check_pull_range), (gst_pad_get_range),
7220         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7221         * gst/gstpad.h:
7222         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7223         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7224         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7225         (gst_pad_remove_buffer_probe):
7226         Removed atomic operations, use existing LOCK.
7227         Move exception handling out of main code path.
7228
7229 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7230
7231         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7232         (silly_return_true_function), (gst_pad_class_init),
7233         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7234         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7235         (gst_pad_send_event):
7236           Fix accumulator, add default value by using _emitv() instead
7237           of _emit() for signal emission.
7238
7239 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7240
7241         * docs/manual/advanced-dataaccess.xml:
7242         * examples/manual/Makefile.am:
7243           Add probe example.
7244         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7245           Make work (??).
7246
7247 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
7248
7249         * gst/elements/gstfilesink.c: (gst_filesink_render):
7250           Simplify code so that we don't have to handle short
7251           writes and return GST_FLOW_ERROR if an error occured.
7252
7253 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7254
7255         * docs/gst/gstreamer-docs.sgml:
7256           Remove probes more.
7257
7258 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7259
7260         * docs/gst/gstreamer-sections.txt:
7261         * docs/gst/tmpl/gstpad.sgml:
7262         * docs/gst/tmpl/gstprobe.sgml:
7263         * gst/Makefile.am:
7264         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7265         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7266         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7267         (gst_pad_push_event), (gst_pad_send_event):
7268         * gst/gstpad.h:
7269         * gst/gstutils.c: (gst_pad_add_data_probe),
7270         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7271         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7272         (gst_pad_remove_buffer_probe):
7273         * gst/gstutils.h:
7274           Remove old probes, add new g-signal-based probes and some utility
7275           functions.
7276
7277 2005-06-29  Edward Hervey  <edward@fluendo.com>
7278
7279         * gst/gstelementfactory.c:
7280         * gst/gstutils.h:
7281         * gst/gstutils.c:
7282         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7283         the definition to the header file.
7284
7285 2005-06-29  Andy Wingo  <wingo@pobox.com>
7286
7287         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7288         plugins from the source directory.
7289
7290 2005-06-29  Wim Taymans  <wim@fluendo.com>
7291
7292         * docs/gst/tmpl/gstbuffer.sgml:
7293         * docs/gst/tmpl/gstclock.sgml:
7294         Some fixings for blantently wrong text.
7295
7296 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7297
7298         * check/Makefile.am:
7299         * gst/gst.c: (add_path_func), (init_pre):
7300         * gst/gstregistry.c: (gst_registry_add_path):
7301           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7302           only scan the GST_PLUGIN_PATH locations, and not add
7303           system locations
7304
7305 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7306
7307         * docs/gst/gstreamer-sections.txt:
7308         * docs/gst/tmpl/gstbasesrc.sgml:
7309         * gst/gstelement.c:
7310         * gst/gstelement.h:
7311         * gst/gstevent.c:
7312         * gst/gstutils.c:
7313           doc fixes
7314
7315 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7316
7317         * docs/manual/advanced-autoplugging.xml:
7318           Fix autoplugging example.
7319
7320 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7321
7322         * docs/manual/advanced-autoplugging.xml:
7323         * docs/manual/mime-world.fig:
7324           Try to get autoplugging working, fix type detection. Fix text
7325           in hello-world image.
7326
7327 2005-06-29  Wim Taymans  <wim@fluendo.com>
7328
7329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7330         (gst_base_sink_change_state):
7331         Small debug line.
7332
7333         * gst/gstclock.h:
7334         map SIGNAL and BROADCAST to the right function.
7335
7336         * gst/gstobject.h:
7337         Remove redundant braces.
7338
7339         * gst/gstpad.c: (gst_pad_set_caps):
7340         Don't call setcaps function when reseting caps to NULL.
7341
7342         * gst/gstsystemclock.c: (gst_system_clock_dispose),
7343         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7344         (gst_system_clock_id_unschedule):
7345         Use BROADCAST as this is what we do.
7346
7347 2005-06-29  Wim Taymans  <wim@fluendo.com>
7348
7349         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7350         We are actually prerolling before commiting the state
7351         change. 
7352
7353 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7354
7355         * docs/manual/advanced-clocks.xml:
7356         * docs/manual/advanced-interfaces.xml:
7357         * docs/manual/advanced-metadata.xml:
7358         * docs/manual/advanced-position.xml:
7359         * docs/manual/advanced-schedulers.xml:
7360         * docs/manual/advanced-threads.xml:
7361         * docs/manual/appendix-porting.xml:
7362         * docs/manual/basics-bins.xml:
7363         * docs/manual/basics-bus.xml:
7364         * docs/manual/basics-elements.xml:
7365         * docs/manual/basics-helloworld.xml:
7366         * docs/manual/basics-pads.xml:
7367         * docs/manual/highlevel-components.xml:
7368         * docs/manual/manual.xml:
7369         * docs/manual/thread.fig:
7370           Update (until threads/scheduling) Application Development Manual;
7371           remove GstThread, add GstBus, add simple porting checklist, add
7372           documentation for tag writing, clocks, make all examples until this
7373           part compile and run.
7374         * examples/manual/Makefile.am:
7375           Update from changes to Application Development Manual; add bus
7376           example, remove thread example.
7377
7378 2005-06-28  Wim Taymans  <wim@fluendo.com>
7379
7380         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7381         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7382         (gst_bus_source_dispatch):
7383         Add debugging messages.
7384         Make internal methods static.
7385         Handle the case where the bus is flushed in the handler.
7386         
7387         * gst/gstelement.c: (gst_element_get_bus):
7388         Fix refcount in _get_bus();
7389
7390         * gst/gstpipeline.c: (gst_pipeline_change_state),
7391         (gst_pipeline_get_clock_func):
7392         Clock refcounting fixes.
7393         Handle the case where preroll timed out more gracefully.
7394         
7395         * gst/gstsystemclock.c: (gst_system_clock_dispose):
7396         Clean up the internal thread in dispose. This is needed
7397         for subclasses that actually get disposed.
7398         
7399         * gst/schedulers/threadscheduler.c:
7400         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7401         (gst_thread_scheduler_dispose):
7402         Free thread pool in dispose.
7403
7404 2005-06-28  Andy Wingo  <wingo@pobox.com>
7405
7406         * tests/network-clock-utils.scm (debug, print-event): New utils.
7407
7408         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7409         (*packet-loss*): Unified loss probability.
7410         (network-time): Report out-of-band events.
7411
7412         * tests/plot-data: Add support for out-of-band events. Hack it
7413         into this script instead of passing it down the pipe; should fix
7414         this later.
7415
7416 2005-06-28  Wim Taymans  <wim@fluendo.com>
7417
7418         * docs/gst/gstreamer.types:
7419         * docs/gst/tmpl/gstbasesrc.sgml:
7420         * docs/gst/tmpl/gstpad.sgml:
7421         Docs fixes.
7422
7423 2005-06-28  Wim Taymans  <wim@fluendo.com>
7424
7425         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7426         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7427         (gst_proxy_pad_do_fixatecaps):
7428         Correctly proxy the check_pull_range function.
7429
7430 2005-06-28  Andy Wingo  <wingo@pobox.com>
7431
7432         * tests/network-clock.scm: Removed need for slib.
7433         
7434 2005-06-28  Wim Taymans  <wim@fluendo.com>
7435
7436         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7437         (gst_basesink_preroll_queue_flush):
7438         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7439         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7440         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7441         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7442         (gst_proxy_pad_set_property):
7443         * gst/gstpad.c:
7444         * gst/gstpad.h:
7445         * gst/gstqueue.c: (gst_queue_init):
7446         The deprecated pad loop function is removed now.
7447
7448 2005-06-28  Andy Wingo  <wingo@pobox.com>
7449
7450         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7451         New parameters, simulate network packet loss.
7452
7453         * tests/network-clock-utils.scm: Initialize the RNG.
7454
7455 2005-06-28  Wim Taymans  <wim@fluendo.com>
7456
7457         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7458         (gst_basesink_event), (gst_basesink_deactivate):
7459         Flushing the preroll queue always needs to unlock the waiters.
7460
7461 2005-06-28  Edward Hervey  <edward@fluendo.com>
7462
7463         * gst/gstpipeline.c: (gst_pipeline_send_event): 
7464         Wheen a seek was successful on a pipeline, set the stream_time to the
7465         seek offset in order to have a synchronized stream_time.
7466
7467 2005-06-28  Wim Taymans  <wim@fluendo.com>
7468
7469         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7470         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7471         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7472         (gst_proxy_pad_do_fixatecaps):
7473         Call wrapper function instead of just calling the function
7474         pointers. This takes care of any locking and whatmore.
7475
7476 2005-06-28  Wim Taymans  <wim@fluendo.com>
7477
7478         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7479         (gst_pad_pull_range):
7480         * gst/gstpad.h:
7481         CONNECTED -> LINKED.
7482
7483 2005-06-28  Andy Wingo  <wingo@pobox.com>
7484
7485         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7486         source-munging commit!!!
7487
7488         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
7489         (gst_object_sink): Take gpointer arguments, not GstObject --
7490         avoids casts. Like GLib.
7491
7492         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7493         activate.
7494
7495 2005-06-27  Andy Wingo  <wingo@pobox.com>
7496
7497         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7498         remaining buffer.
7499
7500         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7501         returns a sorted copy of the trace list.
7502         (gst_alloc_trace_print_live): New API, only prints traces with
7503         live objects. Sort the list.
7504         (gst_alloc_trace_print_all): Sort the list.
7505         (gst_alloc_trace_print): Align columns.
7506
7507         * gst/elements/gstttypefindelement.c:
7508         * gst/elements/gsttee.c:
7509         * gst/base/gstbasesrc.c:
7510         * gst/base/gstbasesink.c:
7511         * gst/base/gstbasetransform.c:
7512         * gst/gstqueue.c: Adapt for pad activation changes.
7513
7514         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7515         sched.
7516         (gst_pipeline_dispose): Drop ref on sched.
7517
7518         * gst/gstpad.c (gst_pad_init): Set the default activate func.
7519         (gst_pad_activate_default): Push mode by default.
7520         (pre_activate_switch, post_activate_switch): New stubs, things to
7521         do before and after switching activation modes on pads.
7522         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7523         the pad's activate function to choose which mode to activate.
7524         Shortcut on deactivation and call the right function directly.
7525         (gst_pad_activate_pull): New API, (de)activates a pad in pull
7526         mode.
7527         (gst_pad_activate_push): New API, same for push mode.
7528         (gst_pad_set_activate_function) 
7529         (gst_pad_set_activatepull_function) 
7530         (gst_pad_set_activatepush_function): Setters for new API.
7531
7532         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7533         Trace all miniobjects.
7534         (gst_mini_object_make_writable): Unref the arg if we copy, like
7535         gst_caps_make_writable.
7536
7537         * gst/gstmessage.c (_gst_message_initialize): No trace init.
7538
7539         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
7540         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7541         Adapt for new pad API.
7542
7543         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7544
7545         * gst/gstelement.h:
7546         * gst/gstelement.c (gst_element_iterate_src_pads) 
7547         (gst_element_iterate_sink_pads): New API functions.
7548         
7549         * gst/gstelement.c (iterator_fold_with_resync): New utility,
7550         should fold into gstiterator.c in some form.
7551         (gst_element_pads_activate): Simplified via use of fold and
7552         delegation of decisions to gstpad->activate.
7553
7554         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7555         help in debugging.
7556
7557         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7558         class once in init, like gstmessage. Didn't run into this issue
7559         but it seems correct. Don't initialize a trace, gstminiobject does
7560         that.
7561
7562         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7563         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7564         to the bus.
7565         (assert_live_count): New util function, uses alloc traces to check
7566         cleanup.
7567
7568         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7569         To be modified when unlink drops the internal pad.
7570
7571 2005-06-27  Wim Taymans  <wim@fluendo.com>
7572
7573         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7574         (gst_bin_change_state):
7575         Cleanup the get_state() function a little, make sure it
7576         iterates the same set of elements.
7577         Added stub iterate_state_order().
7578
7579 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * docs/gst/gstreamer-docs.sgml:
7582         * docs/gst/gstreamer-sections.txt:
7583         * docs/gst/gstreamer.types:
7584         * docs/gst/tmpl/gstbasesink.sgml:
7585         * docs/gst/tmpl/gstbasesrc.sgml:
7586         * docs/gst/tmpl/gstbasetransform.sgml:
7587         * docs/gst/tmpl/gstelement.sgml:
7588         * docs/gst/tmpl/gstiterator.sgml:
7589         * gst/base/gstbasesrc.c:
7590         * gst/base/gstbasesrc.h:
7591         * gst/base/gstbasetransform.h:
7592         * gst/gstelement.c:
7593         * gst/gstiterator.h:
7594           adding basetransform and iterator docs
7595
7596 2005-06-27  Andy Wingo  <wingo@pobox.com>
7597
7598         * docs/design/part-activation.txt: Notes on how activation should
7599         work -- not quite implemented yet.
7600
7601 2005-06-25  Wim Taymans  <wim@fluendo.com>
7602
7603         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7604         At least get the chain function correct, needs more
7605         fixing.
7606
7607 2005-06-25  Wim Taymans  <wim@fluendo.com>
7608
7609         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7610         (gst_basesink_handle_object), (gst_basesink_event),
7611         (gst_basesink_do_sync), (gst_basesink_handle_event),
7612         (gst_basesink_change_state):
7613         * gst/gsttask.h:
7614         Right, two problems here: ghostpads don't take locks and
7615         glib _rec_mutex_lock_full() with depth==0 still locks.
7616         Catch illegal locking and g_warn them.
7617
7618 2005-06-25  Wim Taymans  <wim@fluendo.com>
7619
7620         * check/states/sinks.c: (START_TEST), (gst_object_suite):
7621         Have to check for completion now...
7622
7623 2005-06-25  Wim Taymans  <wim@fluendo.com>
7624
7625         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7626         (gst_basesink_handle_object), (gst_basesink_event),
7627         (gst_basesink_do_sync), (gst_basesink_handle_event),
7628         (gst_basesink_change_state):
7629         * gst/gstpad.h:
7630         Unlock STREAM_LOCK whatever the recursion was.
7631
7632 2005-06-25  Wim Taymans  <wim@fluendo.com>
7633
7634         * gst/base/gstbasesink.c: (gst_basesink_set_property),
7635         (gst_basesink_preroll_queue_empty),
7636         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7637         (gst_basesink_event), (gst_basesink_do_sync),
7638         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7639         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7640         (gst_basesink_change_state):
7641         Reworked the base sink, handle event and buffer serialisation
7642         correctly and removed possible deadlock.
7643         Handle EOS correctly.
7644
7645 2005-06-25  Wim Taymans  <wim@fluendo.com>
7646
7647         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7648         (gst_pipeline_change_state):
7649         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7650         Allow elements to post EOS in the state change function.
7651         Fix up -launch, make it exit the poll loop when the
7652         pipeline actually changed state.
7653         Fix up warning parsing in -launch.
7654
7655 2005-06-25  Wim Taymans  <wim@fluendo.com>
7656
7657         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7658         (gst_tee_sink_activate):
7659         Core takes STREAM_LOCK for us now.
7660
7661 2005-06-25  Wim Taymans  <wim@fluendo.com>
7662
7663         * gst/gstelement.c: (gst_element_get_state_func),
7664         (gst_element_set_state):
7665         * gst/gstelement.h:
7666         * gst/gstmessage.c: (gst_message_parse_error),
7667         (gst_message_parse_warning):
7668         Keep track of current target state while performing a state
7669         change so that subclasses can do something interesting.
7670         Fix parsing of warning/error messages when GError is NULL.
7671
7672 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7673
7674         * docs/gst/Makefile.am:
7675         * docs/gst/gstreamer-docs.sgml:
7676         * docs/gst/gstreamer-sections.txt:
7677         * docs/gst/gstreamer.types:
7678         * docs/gst/tmpl/gstbasesink.sgml:
7679         * docs/gst/tmpl/gstbasesrc.sgml:
7680         * docs/gst/tmpl/gstbin.sgml:
7681         * docs/gst/tmpl/gstcompat.sgml:
7682         * docs/gst/tmpl/gstfakesink.sgml:
7683         * docs/gst/tmpl/gstfakesrc.sgml:
7684         * docs/gst/tmpl/gstfilesink.sgml:
7685         * docs/gst/tmpl/gstfilesrc.sgml:
7686         * docs/gst/tmpl/gstindex.sgml:
7687         * docs/manual/appendix-quotes.xml:
7688         * gst/base/gstbasesrc.h:
7689         * gst/elements/gstfakesrc.h:
7690         * gst/gstmessage.h:
7691           start pulling in base classes and elements in our docs
7692
7693 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
7694
7695         * docs/gst/Makefile.am:
7696         * docs/libs/Makefile.am:
7697           fixed make distcheck with gtk-doc 1.3
7698
7699 2005-06-23  Wim Taymans  <wim@fluendo.com>
7700
7701         * gst/gstelement.c: (gst_element_get_state_func),
7702         (gst_element_set_state), (gst_element_change_state):
7703         When the state did not change, also report NO_PREROLL
7704         when it matters.
7705
7706 2005-06-23  Wim Taymans  <wim@fluendo.com>
7707
7708         * gst/gstpad.c: (gst_pad_event_default):
7709         * gst/gstqueue.c: (gst_queue_loop):
7710         No unsafe task pausing please.
7711
7712 2005-06-23  Wim Taymans  <wim@fluendo.com>
7713
7714         * gst/schedulers/threadscheduler.c:
7715         (gst_thread_scheduler_task_start),
7716         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7717         Ref the task before pushing it on the threadpool. This
7718         makes sure that we have a ref when the threadfunction is
7719         actually called.
7720
7721 2005-06-23  Andy Wingo  <wingo@pobox.com>
7722
7723         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7724         offset is greater than the file's size.
7725
7726         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
7727         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7728         * gst/gstobject.c (gst_object_class_init): Make the class lock
7729         recursive. Wim won't let me drop deep_notify. Decodebin works
7730         again, whoopdy doo.
7731
7732         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7733         internal pad, and hacks accordingly. Doesn't do it on the target
7734         pad because we change its caps. Probably catches all cases of
7735         interest tho.
7736         (gst_ghost_pad_set_property): Connect to notify::caps as
7737         appropritate.
7738
7739         * tests/network-clock.scm (plot-simulation): Pipe data to the
7740         elite python skript.
7741
7742         * tests/network-clock-utils.scm (define-parameter): New macro,
7743         defines a parameter that can be set via the command line.
7744         (set-parameter!, parse-parameter-arguments): Command line args
7745         parser.
7746
7747         * tests/plot-data: Simple matplotlib-based plotter, takes input on
7748         stdin.
7749
7750 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
7751
7752         * gst/elements/gsttypefindelement.c:
7753         (gst_type_find_element_handle_event):
7754           Don't restart typefinding on a discont.
7755         * gst/gstelement.c: (gst_element_set_state):
7756           Debug spelling fix.
7757         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7758           Allow changing mode of an active pad.
7759           Debug output fixes.
7760         * gst/registries/gstlibxmlregistry.c: (load_feature):
7761           Don't cast a static pad template to a normal pad template.
7762
7763 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7764
7765         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7766         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7767           remove gst_strtoll completely, since it didn't actually do
7768           anything more than what g_ascii_strtoull already does.
7769           check for range errors when deserializing
7770           do a cast for the unsigned cases; but further fixing needs
7771           a decision on what the interpretation of "(int)" and
7772           deserialization should be for values that fall outside the
7773           type's boundaries (ie, refuse, or interpret as casting)
7774
7775 2005-06-23  Wim Taymans  <wim@fluendo.com>
7776
7777         * check/Makefile.am:
7778         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7779         * docs/design/part-live-source.txt:
7780         * docs/design/part-states.txt:
7781         * gst/base/gstbasesrc.c: (gst_basesrc_init),
7782         (gst_basesrc_set_live), (gst_basesrc_is_live),
7783         (gst_basesrc_get_range), (gst_basesrc_activate),
7784         (gst_basesrc_change_state):
7785         * gst/base/gstbasesrc.h:
7786         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7787         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7788         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7789         * gst/gstelement.c: (gst_element_get_state_func),
7790         (gst_element_set_state):
7791         * gst/gstelement.h:
7792         * gst/gsttypes.h:
7793         * tools/gst-launch.c: (event_loop), (main):
7794         Added support for live sources and other elements that
7795         cannot do preroll.
7796         Updated design docs, added live-source design doc.
7797         Implemented live source functionality in basesrc
7798         Fix error condition in _bin_get_state()
7799         Implement live source handling in -launch.
7800         Added check for live sources.
7801         Fixed case in GstBin where elements were changed state
7802         multiple times.
7803
7804
7805 2005-06-23  Andy Wingo  <wingo@pobox.com>
7806
7807         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7808         borken refcounting.
7809
7810         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7811         gst_caps_replace takes care of this for us.
7812
7813         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7814         gst_pad_set_caps on the target, not just its setcaps() function.
7815
7816         * tests/network-clock.scm: 
7817         * tests/network-clock-utils.scm: A network clock simulator.
7818         Something of an algorithmic testbed before doing something in C.
7819
7820 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7821
7822         * check/Makefile.am:
7823         * check/gst/capslist.h:
7824           copy over from 0.8, and add two with bitmasks specified with
7825           (int) 0xFF...
7826         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7827           add test to parse everything from capslist.h
7828         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7829         (main):
7830           add test for structure deserialization
7831         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7832           add tests for deserialization of strings to int types
7833         * gst/gststructure.c: (gst_structure_nth_field_name):
7834         * gst/gststructure.h:
7835           add a way to get the name of a field referenced by index
7836         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7837           instead of checking if the resulting long long lies between
7838           min and max, we check if the long long would fit into
7839           a number of bytes for the final type.
7840           This fixes cases where a string represents 2^32 - 1, which
7841           when cast to int would be the (valid) -1, but is bigger than
7842           G_MAXINT
7843
7844 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7845
7846         * gst/parse/grammar.y:
7847           add a log line for type deserialization
7848
7849 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
7850
7851         * check/gst/gstvalue.c: (START_TEST):
7852         * gst/gstvalue.c: (gst_value_deserialize):
7853           return long long, not int, so gint64 deserialization actually
7854           works.  Is there any flag that makes the compiler check this ?
7855           Fixes #308559
7856
7857 2005-06-22  Wim Taymans  <wim@fluendo.com>
7858
7859         * gst/gstbuffer.h:
7860         Added convenience macros for setting buffers in GValue.
7861
7862 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * check/gst/.cvsignore:
7865         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7866           add a test deserializing int64, and comment part out because
7867           it fails, yay !
7868
7869 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7870
7871         * check/Makefile.am:
7872         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7873         * testsuite/Makefile.am:
7874         * testsuite/caps/Makefile.am:
7875         * testsuite/caps/value_serialize.c:
7876         * testsuite/test_gst_init.c:
7877           move a value_serialize test over
7878
7879 2005-06-20  Wim Taymans  <wim@fluendo.com>
7880
7881         * gst/gstpad.c:
7882         Small doc updates.
7883         
7884         * gst/gstvalue.c: (gst_value_compare_buffer),
7885         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7886         (gst_value_compare_flags), (gst_value_serialize_flags),
7887         (gst_value_deserialize_flags), (_gst_value_initialize):
7888         Fix serialisation of buffers, they are not boxed types anymore
7889
7890 2005-06-20  Wim Taymans  <wim@fluendo.com>
7891
7892         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7893         Testcase to show error in buffer-on-caps serialisation.
7894
7895 2005-06-20  Andy Wingo  <wingo@pobox.com>
7896
7897         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7898         will be adding to later.
7899
7900         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7901         if its socks fill with rocks.
7902         (gst_system_clock_obtain): Set the name on object construction.
7903         Avoid double-checked locking.
7904
7905 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
7906
7907         * gst/gsturi.c: (gst_element_make_from_uri):
7908           Fix potential endless loop.
7909
7910 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7911
7912         * check/Makefile.am:
7913           add gsttag
7914         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7915         (main):
7916           move over from testsuite dir and clean up
7917         * configure.ac:
7918         * gst/gsttag.c:
7919         * testsuite/Makefile.am:
7920         * testsuite/tags/.cvsignore:
7921         * testsuite/tags/Makefile.am:
7922         * testsuite/tags/merge.c:
7923           remove testsuite/tags
7924
7925 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7926
7927         * docs/gst/gstreamer-sections.txt:
7928         * docs/gst/tmpl/gstenumtypes.sgml:
7929         * win32/gstenumtypes.c:
7930           clean up documentation build a little
7931
7932 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7933
7934         * check/gstcheck.h:
7935           add macros for checking refcounts on objects and caps
7936         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7937           add some more unit tests
7938         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7939         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7940           fix leaked refcounts (I hope :)) so unittest works
7941         * gst/gstpad.h:
7942           whitespace removal
7943
7944 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
7945
7946         * configure.ac: back to HEAD
7947
7948 === release 0.9.1 ===
7949
7950 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
7951
7952         * NEWS:
7953         * RELEASE:
7954           updated
7955
7956 2005-06-17  Andy Wingo  <wingo@pobox.com>
7957
7958         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7959         assert; it's always possible that the pad gets deactivated in
7960         between the checks in gstpad.c and the implementation. Rely on
7961         finish_preroll() to return a FLUSHING or similar instead of on the
7962         assert.
7963         
7964         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7965         clock and post an EOS message if we come out of finish_preroll in
7966         the playing state.
7967
7968 2005-06-16  David Schleef  <ds@schleef.org>
7969
7970         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7971         (gst_capsfilter_set_property): Allow NULL as possible value
7972         for filter_caps property, indicating GST_CAPS_ANY.
7973
7974 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7975
7976         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7977           fix debug output
7978         * gst/schedulers/Makefile.am:
7979           use libgst prefix
7980         * gstreamer.spec.in:
7981           fix spec for it
7982
7983 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7984
7985         * gstreamer.spec.in:
7986           clean up
7987
7988 2005-06-08  Andy Wingo  <wingo@pobox.com>
7989
7990         * gst/gstutils.c: RPAD fixes all around.
7991         (gst_element_link_pads): Refcounting fixes.
7992
7993         * tools/gst-inspect.c:
7994         * tools/gst-xmlinspect.c:
7995         * parse/grammar.y:
7996         * gst/base/gsttypefindhelper.c:
7997         * gst/base/gstbasesink.c:
7998         * gst/gstqueue.c: RPAD fixes.
7999
8000         * gst/gstghostpad.h:
8001         * gst/gstghostpad.c: New ghost pad implementation as full proxy
8002         pads. The tricky thing is they provide both source and sink
8003         interfaces, since they proxy the internal pad for the external
8004         pad, and vice versa. Implement with lower-level ProxyPad objects,
8005         with the interior proxy pad as a child of the exterior ghost pad.
8006         Should write a doc on this.
8007         
8008         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8009         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8010         gst_object API.
8011         
8012         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8013         pads are real pads. No ghost pads in this file. Not documenting
8014         the myriad s/RPAD/PAD/ and REALIZE fixes.
8015         (gst_pad_class_init): Add properties for "direction" and
8016         "template". Both are construct-only, so they can't change during
8017         the life of the pad. Fixes properly deriving from GstPad.
8018         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8019         derived objects, just set properties when creating the objects via
8020         g_object_new.
8021         (gst_pad_get_parent): Implement as a function, return NULL if the
8022         parent is not an element.
8023         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8024         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8025         
8026         * gst/gstobject.c (gst_object_class_init): Make name a construct
8027         property. Don't set it in the object init.
8028
8029         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8030         with UNKNOWN direction.
8031         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8032         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8033         (gst_element_remove_pad): Remove ghost-pad special cases.
8034         (gst_element_pads_activate): Remove rpad cruft.
8035
8036         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8037         catch the pad's-parent-not-an-element case.
8038
8039         * gst/gst.h: Include gstghostpad.h.
8040
8041         * gst/gst.c (init_post): No more real, ghost pads.
8042
8043         * gst/Makefile.am: Add gstghostpad.[ch].
8044
8045         * check/Makefile.am:
8046         * check/gst/gstbin.c:
8047         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8048         into a bin creates ghost pads, and that the refcounts are right.
8049         Partly moved from gstbin.c.
8050
8051 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8052
8053         * check/gst-libs/.cvsignore:
8054         * check/gst/.cvsignore:
8055         * check/pipelines/.cvsignore:
8056           ignore more
8057         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8058         (START_TEST), (cleanup_suite), (main):
8059           add some tests related to cleanup after running pipelines
8060
8061 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8062
8063         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8064           add a testsuite for GstBuffer
8065
8066 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8067
8068         * gst/gstminiobject.h:
8069           add defines for accessing the refcount
8070
8071 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
8072
8073         * Makefile.am: added support for html unit test coverage reports
8074
8075 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
8076
8077         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8078           Free existing caps if the capsfilter changes. Add a FIXME about
8079           setting those caps on the pads.
8080
8081         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8082           Before adding a ghost pad to a parent bin, check that there isn't
8083           already one for the element on the bin. Prevents infinite recursion
8084           when using decodebin in parse pipelines. Andy says he'll rewrite the
8085           way this works anyway, so ignore the hack.
8086
8087 2005-06-02  Andy Wingo  <wingo@pobox.com>
8088
8089         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8090         file size, pass it on to the type find helper.
8091
8092         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8093         segment_start and segment_end properly according to the seek
8094         method. Segment_end is still a bit flaky because offset can be
8095         negative for CUR and END cases, but it takes -1 as an "unset"
8096         value.
8097
8098 2005-06-02  Wim Taymans  <wim@fluendo.com>
8099
8100         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8101         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8102         (gst_basesink_activate):
8103         * gst/base/gstbasesink.h:
8104         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8105         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8106         (gst_pad_query), (gst_pad_start_task):
8107         * gst/gstpad.h:
8108         * gst/gstqueue.c: (gst_queue_bufferalloc),
8109         (gst_queue_handle_sink_event), (gst_queue_chain):
8110         Bufferalloc: return GstFlowReturn to more accuratly report
8111         why allocation failed.
8112
8113 2005-06-02  Wim Taymans  <wim@fluendo.com>
8114
8115         * gst/gstpipeline.c: (gst_pipeline_send_event):
8116         Take snapshot of state without blocking.
8117
8118 2005-06-02  Wim Taymans  <wim@fluendo.com>
8119
8120         * docs/design/part-TODO.txt:
8121         * docs/design/part-caps.txt:
8122         * docs/design/part-clocks.txt:
8123         * docs/design/part-negotiation.txt:
8124         * docs/design/part-preroll.txt:
8125         Small doc updates 
8126
8127 2005-05-30  Wim Taymans  <wim@fluendo.com>
8128
8129         * gst/elements/gstidentity.c: (gst_identity_event),
8130         (gst_identity_transform), (gst_identity_get_property):
8131         Protect last_message property as it is accessed from
8132         multiple threads.
8133
8134 2005-05-30  Wim Taymans  <wim@fluendo.com>
8135
8136         * gst/gstelement.c: (gst_element_init),
8137         (gst_element_pads_activate), (gst_element_change_state):
8138         Slicker pad activation code.
8139
8140 2005-05-30  Wim Taymans  <wim@fluendo.com>
8141
8142         * gst/Makefile.am:
8143         * gst/gstelement.h:
8144         * gst/gstelementfactory.h:
8145         * gst/gsttypes.h:
8146         Move elementfactory methods to separate .h file.
8147
8148 2005-05-30  Wim Taymans  <wim@fluendo.com>
8149
8150         * docs/design/part-overview.txt:
8151         * gst/gstsystemclock.h:
8152         Small typo fixes, doc updates.
8153
8154 2005-05-30  Wim Taymans  <wim@fluendo.com>
8155
8156         * gst/gst.c: (gst_init_get_popt_table), (init_post),
8157         (init_popt_callback):
8158         Remove cpu-opt flag.
8159
8160 2005-05-30  Wim Taymans  <wim@fluendo.com>
8161
8162         * gst/gstbuffer.c: (gst_subbuffer_finalize),
8163         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8164         * gst/gstbuffer.h:
8165         Avoid typechecking in places where not needed.
8166         Added accessor for malloc_data.
8167
8168 2005-05-30  Wim Taymans  <wim@fluendo.com>
8169
8170         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8171         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8172         (gst_pad_configure_sink), (gst_pad_configure_src),
8173         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8174         (gst_pad_start_task):
8175         Propagate errors from _set_caps() in configure_src/sink
8176         functions instead of returning TRUE.
8177         FLUSH events can travel up and downstream
8178
8179
8180 2005-05-30  Wim Taymans  <wim@fluendo.com>
8181
8182         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8183         (gst_basesink_activate):
8184         Handle EOS in preroll.
8185
8186 2005-05-30  Wim Taymans  <wim@fluendo.com>
8187
8188         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8189         (gst_queue_loop), (gst_queue_handle_src_event):
8190         Remove old pieces of code
8191         Flushing the queue in an upstream event is a very bad idea.
8192
8193 2005-05-26  Andy Wingo  <wingo@pobox.com>
8194
8195         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8196         gst_value_set_mini_object so as to add a ref on the object (which
8197         will be removed when the value is unset).
8198
8199         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8200         arg type in ::handoff.
8201
8202         * gst/gstelement.c (gst_element_change_state): Also deactivate
8203         pads in READY->NULL, just in case the element didn't make it to
8204         PAUSED. Wingo tested, Wim approved.
8205
8206 2005-05-26  Wim Taymans  <wim@fluendo.com>
8207
8208         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8209         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8210         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8211         A flushing pad cannot be used to alloc_buffer from.
8212
8213 2005-05-26  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8216         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8217         (gst_bus_source_dispatch), (gst_bus_source_finalize),
8218         (gst_bus_create_watch), (gst_bus_add_watch_full):
8219         * gst/gstbus.h:
8220         Implement a real GSource and use g_main_context_wakeup() to
8221         signal new messages instead of the socketpair.
8222
8223 2005-05-25  Wim Taymans  <wim@fluendo.com>
8224
8225         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8226         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8227         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8228         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8229         (gst_pad_send_event), (gst_pad_start_task):
8230         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8231         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8232         (gst_queue_sink_activate), (gst_queue_src_activate),
8233         (gst_queue_change_state):
8234         * gst/gstqueue.h:
8235         Fix state changes for non sinks. We now change sinks, then elements
8236         with unconnected srcpads, then the rest.
8237         More efficient queue unlocking in flush and state changes.
8238         Set the pad activate mode even if it does not have an activate
8239         function.
8240
8241 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8242
8243         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8244           Don't go in pull mode for non-seekable sources.
8245         * gst/elements/gsttypefindelement.h:
8246         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8247         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8248         (free_entry), (stop_typefinding),
8249         (gst_type_find_element_handle_event), (find_peek),
8250         (gst_type_find_element_chain), (do_pull_typefind),
8251         (gst_type_find_element_change_state):
8252           Allow typefinding (w/o seeking) in push-mode, simplified version
8253           of what was in 0.8.
8254         * gst/gstutils.c: (gst_buffer_join):
8255         * gst/gstutils.h:
8256           gst_buffer_join() from 0.8.
8257
8258 2005-05-25  Wim Taymans  <wim@fluendo.com>
8259
8260         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8261         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8262         (gst_pad_send_event), (gst_pad_start_task):
8263         Disable attempt at mode switching until it is figured out.
8264
8265 2005-05-25  Wim Taymans  <wim@fluendo.com>
8266
8267         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8268         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8269         (gst_basesink_finish_preroll), (gst_basesink_chain),
8270         (gst_basesink_loop), (gst_basesink_activate),
8271         (gst_basesink_change_state):
8272         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8273         (gst_basesrc_get_range), (gst_basesrc_loop),
8274         (gst_basesrc_activate):
8275         * gst/elements/gsttee.c: (gst_tee_sink_activate):
8276         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8277         (gst_real_pad_init), (gst_real_pad_set_property),
8278         (gst_real_pad_get_property), (gst_pad_set_active),
8279         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8280         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8281         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8282         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8283         (gst_pad_event_default_dispatch), (gst_pad_event_default),
8284         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8285         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8286         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8287         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8288         (gst_pad_stop_task):
8289         * gst/gstpad.h:
8290         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8291         (gst_queue_loop), (gst_queue_src_activate):
8292         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8293         (gst_task_get_state):
8294         * gst/gsttask.h:
8295         * gst/schedulers/threadscheduler.c:
8296         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8297         Implement gst_pad_pause/start/stop_task(), take STREAM lock
8298         in task function.
8299         Remove ACTIVE pad flag, use FLUSHING everywhere
8300         Added _pad_chain(), _pad_get_range() to call chain/getrange 
8301         functions.
8302         Add locks around IS_FLUSHING when reading.
8303         Take STREAM lock in chain(), get_range() functions so plugins
8304         don't need to take it anymore.
8305         
8306
8307
8308 2005-05-25  Wim Taymans  <wim@fluendo.com>
8309
8310         * tools/gst-launch.c: (event_loop):
8311         Unref message after using its contents instead of
8312         before.
8313
8314 2005-05-24  Wim Taymans  <wim@fluendo.com>
8315
8316         * docs/design/draft-ghostpads.txt:
8317         * docs/design/draft-push-pull.txt:
8318         * docs/design/draft-query.txt:
8319         * docs/design/part-overview.txt:
8320         Docs updates, added general overview doc.
8321
8322 2005-05-21  David Schleef  <ds@schleef.org>
8323
8324         * docs/gst/tmpl/old/GstBin.sgml:
8325         * docs/gst/tmpl/old/GstBuffer.sgml:
8326         * docs/gst/tmpl/old/GstCaps.sgml:
8327         * docs/gst/tmpl/old/GstClock.sgml:
8328         * docs/gst/tmpl/old/GstCompat.sgml:
8329         * docs/gst/tmpl/old/GstData.sgml:
8330         * docs/gst/tmpl/old/GstElement.sgml:
8331         * docs/gst/tmpl/old/GstEvent.sgml:
8332         * docs/gst/tmpl/old/GstIndex.sgml:
8333         * docs/gst/tmpl/old/GstStructure.sgml:
8334         * docs/gst/tmpl/old/GstTag.sgml:
8335         * docs/gst/tmpl/old/cothreads.sgml:
8336         * docs/gst/tmpl/old/cothreads_compat.sgml:
8337         * docs/gst/tmpl/old/gettext.sgml:
8338         * docs/gst/tmpl/old/gobject2gtk.sgml:
8339         * docs/gst/tmpl/old/grammar.tab.sgml:
8340         * docs/gst/tmpl/old/gst-i18n-app.sgml:
8341         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8342         * docs/gst/tmpl/old/gst_private.sgml:
8343         * docs/gst/tmpl/old/gstaggregator.sgml:
8344         * docs/gst/tmpl/old/gstarch.sgml:
8345         * docs/gst/tmpl/old/gstatomic_impl.sgml:
8346         * docs/gst/tmpl/old/gstbufferstore.sgml:
8347         * docs/gst/tmpl/old/gstdata_private.sgml:
8348         * docs/gst/tmpl/old/gstdisksink.sgml:
8349         * docs/gst/tmpl/old/gstdisksrc.sgml:
8350         * docs/gst/tmpl/old/gstelementfactory.sgml:
8351         * docs/gst/tmpl/old/gstextratypes.sgml:
8352         * docs/gst/tmpl/old/gstfakesink.sgml:
8353         * docs/gst/tmpl/old/gstfakesrc.sgml:
8354         * docs/gst/tmpl/old/gstfdsink.sgml:
8355         * docs/gst/tmpl/old/gstfdsrc.sgml:
8356         * docs/gst/tmpl/old/gstfilesink.sgml:
8357         * docs/gst/tmpl/old/gstfilesrc.sgml:
8358         * docs/gst/tmpl/old/gsthttpsrc.sgml:
8359         * docs/gst/tmpl/old/gstidentity.sgml:
8360         * docs/gst/tmpl/old/gstindexfactory.sgml:
8361         * docs/gst/tmpl/old/gstmarshal.sgml:
8362         * docs/gst/tmpl/old/gstmd5sink.sgml:
8363         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8364         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8365         * docs/gst/tmpl/old/gstpadtemplate.sgml:
8366         * docs/gst/tmpl/old/gstpipefilter.sgml:
8367         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8368         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8369         * docs/gst/tmpl/old/gstshaper.sgml:
8370         * docs/gst/tmpl/old/gstspider.sgml:
8371         * docs/gst/tmpl/old/gstspideridentity.sgml:
8372         * docs/gst/tmpl/old/gststatistics.sgml:
8373         * docs/gst/tmpl/old/gsttee.sgml:
8374         * docs/gst/tmpl/old/gsttimecache.sgml:
8375         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8376         * docs/gst/tmpl/old/gstxmlregistry.sgml:
8377         * docs/gst/tmpl/old/gthread-cothreads.sgml:
8378         * docs/gst/tmpl/old/types.sgml:
8379           I didn't intend to add these or check them in.
8380
8381 2005-05-19  David Schleef  <ds@schleef.org>
8382
8383         * configure.ac: Use -no-common everywhere.  In a sane world, it
8384           would be the default in libtool, because without it, you can't
8385           build DLLs on Windows.
8386         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8387         * docs/gst/gstreamer-sections.txt:
8388         * docs/gst/tmpl/gstcpu.sgml:
8389         * docs/gst/tmpl/gstdata.sgml:
8390         * docs/gst/tmpl/gstthread.sgml:
8391
8392 2005-05-19  David Schleef  <ds@schleef.org>
8393
8394         * gst/gstminiobject.c: (gst_value_set_mini_object),
8395         (gst_value_take_mini_object), (gst_value_get_mini_object):
8396         * gst/gstminiobject.h: Add GValue set/get functions.
8397
8398 2005-05-19  Wim Taymans  <wim@fluendo.com>
8399
8400         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8401         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8402         (gst_subbuffer_init), (gst_buffer_is_span_fast):
8403         * gst/gstbuffer.h:
8404         * gst/gstbus.c: (gst_bus_post):
8405         * gst/gstelement.c: (gst_element_get_random_pad):
8406         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8407         Make subbufer unref the parent in finalize.
8408         some more debugging info.
8409
8410
8411 2005-05-19  Wim Taymans  <wim@fluendo.com>
8412
8413         * gst/base/gstbasesink.c: (gst_basesink_class_init),
8414         (gst_basesink_init), (gst_basesink_finalize),
8415         (gst_basesink_activate), (gst_basesink_change_state):
8416         Don't free preroll queue too early.
8417
8418 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8419
8420         * gst/Makefile.am:
8421         * gst/ROADMAP:
8422           Hi, I'm outdated. Please shoot me.
8423
8424 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8425
8426         * gst/gstpipeline.c: (gst_pipeline_send_event):
8427           Do not access variables after they have been deleted.
8428
8429 2005-05-19  Wim Taymans  <wim@fluendo.com>
8430
8431         * tools/gst-inspect.c: (print_plugin_features):
8432         A plugin feature does unfortunatly not use the
8433         object name yet...
8434
8435 2005-05-18  Wim Taymans  <wim@fluendo.com>
8436
8437         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8438         Port _span() functions to new subbuffers.
8439
8440 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8441
8442         * gst/gstbin.c: (gst_bin_add_func):
8443           Fix clock settery in bins when adding kids after the clock has
8444           been selected.
8445
8446 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8447
8448         * gst/elements/gstidentity.c: (gst_identity_class_init):
8449           Workaround until signals support GstMiniObject.
8450
8451 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
8452
8453         * gst/gstbuffer.c:
8454         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8455
8456 2005-05-18  Wim Taymans  <wim@fluendo.com>
8457
8458         * gst/base/Makefile.am:
8459         * gst/base/gstadapter.c: (gst_adapter_base_init),
8460         (gst_adapter_class_init), (gst_adapter_init),
8461         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8462         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8463         (gst_adapter_flush), (gst_adapter_available),
8464         (gst_adapter_available_fast):
8465         * gst/base/gstadapter.h:
8466         Ported and added adapter to the base classes.
8467
8468 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8469
8470         * gst/gst.c:
8471         * gst/gstmessage.c:
8472           Make sure the class is reffed/unreffed once before threads can be
8473           used.  Fixes #304551.
8474
8475 2005-05-17  Wim Taymans  <wim@fluendo.com>
8476
8477         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8478         (gst_basesink_chain_unlocked), (gst_basesink_activate):
8479         * gst/gstminiobject.c: (gst_mini_object_get_type),
8480         (gst_mini_object_free):
8481         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8482         (gst_pad_push), (gst_pad_push_event):
8483         * gst/gstqueue.c: (gst_queue_change_state):
8484         Don't queue buffers in basesink when we are flushing.
8485         Unref buffer when flushing in basesink.
8486         Flush queue when going to READY
8487         Unref buffer when _push() returns an error.
8488         Don't free MiniObject instance when refcount is incremented
8489         in _finalize() so that we can recover objects.
8490
8491 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8492
8493         * docs/manual/advanced-schedulers.xml:
8494         * docs/manual/appendix-checklist.xml:
8495         * docs/pwg/advanced-clock.xml:
8496         * docs/pwg/advanced-interfaces.xml:
8497         * docs/pwg/advanced-request.xml:
8498         * docs/pwg/advanced-types.xml:
8499         * docs/pwg/intro-preface.xml:
8500         * examples/plugins/example.c: (gst_example_get_type),
8501         (gst_example_class_init), (gst_example_chain),
8502         (gst_example_set_property), (gst_example_get_property),
8503         (gst_example_change_state), (plugin_init):
8504         * examples/plugins/example.h:
8505           small doc fixes
8506
8507 2005-05-17  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8510         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8511         * gst/gstqueue.c: (gst_queue_change_state):
8512         Clear queue when going to READY.
8513         Remove IN_SETCAPS flag too.
8514
8515 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
8516
8517         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8518           Remove implicit cast from gboolean to GstElementStateReturn;
8519           make sure we still return failure in paused => ready case if
8520           the parent class fails to change state and our own stop 
8521           vfunc succeeds.
8522
8523 2005-05-17  Wim Taymans  <wim@fluendo.com>
8524
8525         * tools/gst-launch.c: (event_loop):
8526         Message was unreffed too soon.
8527
8528 2005-05-16  Andy Wingo  <wingo@pobox.com>
8529
8530         * gst/gstbin.c (sink_iterator_filter): Err... um...
8531
8532         * check/gst/gstbin.c (test_ghost_pads): New test for the
8533         ghosting-if-elements-not-in-same-bin behavior.
8534
8535 2005-05-16  David Schleef  <ds@schleef.org>
8536
8537         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8538         accessing refcount directly.
8539
8540 2005-05-15  David Schleef  <ds@schleef.org>
8541
8542         * check/Makefile.am: remove GstData checks
8543         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8544         * gst/Makefile.am: add miniobject, remove data
8545         * gst/gst.h: add miniobject, remove data
8546         * gst/gstdata.c: remove
8547         * gst/gstdata.h: remove
8548         * gst/gstdata_private.h: remove
8549         * gst/gsttypes.h: remove GstEvent and GstMessage
8550         * gst/gstelement.c: (gst_element_post_message): fix for API changes
8551         * gst/gstmarshal.list: change BOXED -> OBJECT
8552
8553         Implement GstMiniObject.
8554         * gst/gstminiobject.c:
8555         * gst/gstminiobject.h:
8556
8557         Modify to be subclasses of GstMiniObject.
8558         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8559         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8560         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8561         (gst_subbuffer_get_type), (gst_subbuffer_init),
8562         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8563         (gst_buffer_span):
8564         * gst/gstbuffer.h:
8565         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8566         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8567         (_gst_event_copy), (gst_event_new):
8568         * gst/gstevent.h:
8569         * gst/gstmessage.c: (_gst_message_initialize),
8570         (gst_message_get_type), (gst_message_class_init),
8571         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8572         (gst_message_new), (gst_message_new_error),
8573         (gst_message_new_warning), (gst_message_new_tag),
8574         (gst_message_new_state_changed), (gst_message_new_application):
8575         * gst/gstmessage.h:
8576         * gst/gstprobe.c: (gst_probe_perform),
8577         (gst_probe_dispatcher_dispatch):
8578         * gst/gstprobe.h:
8579         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8580         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8581         (_gst_query_copy), (gst_query_new):
8582
8583         Update elements for GstData -> GstMiniObject changes
8584         * gst/gstquery.h:
8585         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8586         (gst_queue_chain), (gst_queue_loop):
8587         * gst/elements/gstbufferstore.c:
8588         (gst_buffer_store_add_buffer_func),
8589         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8590         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8591         (gst_fakesink_render):
8592         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8593         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8594         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8595         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8596         (gst_filesrc_create_read):
8597         * gst/elements/gstidentity.c: (gst_identity_class_init):
8598         * gst/elements/gsttypefindelement.c:
8599         (gst_type_find_element_src_event), (free_entry_buffers),
8600         (gst_type_find_element_handle_event):
8601         * libs/gst/dataprotocol/dataprotocol.c:
8602         (gst_dp_header_from_buffer):
8603         * libs/gst/dataprotocol/dataprotocol.h:
8604         * libs/gst/dataprotocol/dp-private.h:
8605
8606 2005-05-15  David Schleef  <ds@schleef.org>
8607
8608         * gst/elements/gstelements.c: Don't include headers that were
8609         just removed.
8610
8611 2005-05-15  David Schleef  <ds@schleef.org>
8612
8613         * gst/elements/Makefile.am: Remove some elements that don't
8614         need to be in the core (or even exist at all).
8615         * gst/elements/gstaggregator.c:
8616         * gst/elements/gstaggregator.h:
8617         * gst/elements/gstmd5sink.c:
8618         * gst/elements/gstmd5sink.h:
8619         * gst/elements/gstmultifilesrc.c:
8620         * gst/elements/gstmultifilesrc.h:
8621         * gst/elements/gstpipefilter.c:
8622         * gst/elements/gstpipefilter.h:
8623         * gst/elements/gstshaper.c:
8624         * gst/elements/gstshaper.h:
8625         * gst/elements/gststatistics.c:
8626         * gst/elements/gststatistics.h:
8627         * po/POTFILES.in: Remove above files.
8628
8629 2005-05-14  Andy Wingo  <wingo@pobox.com>
8630
8631         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8632         so as to get the refs right.
8633         (sink_iterator_filter): New function, wraps bin_element_is_sink,
8634         unreffing objects that don't pass the filter.
8635
8636         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8637         gst_element_set_bus.
8638         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8639         normal cases, this will destroy the bus.
8640
8641         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8642         object.
8643
8644         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8645         has no sinks.
8646
8647 2005-05-13  Andy Wingo  <wingo@pobox.com>
8648
8649         * gst/gstutils.c (gst_element_link_pads): Instead of calling
8650         gst_pad_link, call pad_link_maybe_ghosting,
8651         (pad_link_maybe_ghosting): Links pads, making sure that the
8652         elements being linked are in the same bin.
8653         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8654         Helpers for pad_link_maybe_ghosting.
8655
8656 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
8657
8658         * configure.ac:
8659           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8660
8661 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
8662
8663         * docs/design/part-element-source.txt:
8664           Mention GstPushSrc
8665
8666 2005-05-12  Wim Taymans  <wim@fluendo.com>
8667
8668         * gst/base/gstbasesink.c: (gst_basesink_init),
8669         (gst_basesink_activate):
8670         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8671         (gst_basesrc_is_seekable):
8672         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8673         (bin_element_is_sink), (gst_bin_change_state):
8674         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8675         * gst/gstelement.h:
8676         Identify sinks by their flag to avoid overly complicated
8677         checks (fow now).
8678         Do state changes even for elements not reachable from the
8679         sinks.
8680         BaseSink is a sink now :)
8681         Some more debugging info in the basesrc.
8682
8683
8684 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8685
8686         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8687           Implement _query on a bin, similar to _send_event.
8688
8689 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
8690
8691         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8692           Discont event offset format should be GST_FORMAT_BYTES,
8693           not GST_FORMAT_TIME.
8694
8695 2005-05-12  Wim Taymans  <wim@fluendo.com>
8696
8697         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8698         Same fix as Ronald's but without the signal. 
8699
8700 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8701
8702         * gst/gstutils.c: (gst_element_query_position):
8703           No, an element is not a pad.
8704
8705 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8706
8707         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8708         (gst_bin_get_state):
8709           If a child is removed from a bin while we remove the child from
8710           the bin and while we're retrieving its state, signal this to the
8711           get_state function so we abort the wait (instead of waiting for
8712           a timeout) and can immediately re-iterate over all other elements.
8713
8714 2005-05-12  Wim Taymans  <wim@fluendo.com>
8715
8716         * gst/base/Makefile.am:
8717         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8718         (gst_basesrc_start):
8719         * gst/base/gstbasesrc.h:
8720         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8721         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8722         (gst_pushsrc_init), (gst_pushsrc_create):
8723         * gst/base/gstpushsrc.h:
8724         Added is_seekable to BaseSrc
8725         Added simple PushSrc.
8726
8727 2005-05-11  Wim Taymans  <wim@fluendo.com>
8728
8729         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8730         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8731         (gst_element_link_pads), (gst_element_query_position),
8732         (gst_element_query_convert), (intersect_caps_func),
8733         (gst_pad_query_position), (gst_pad_query_convert):
8734         Fix refcounting in utils function.
8735         No point in trying to activate a pad when it's added, it could
8736         be added from the state change function and then we deadlock, the
8737         element has to decide what to do.
8738
8739 2005-05-10  Andy Wingo  <wingo@pobox.com>
8740
8741         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8742         *all* the arguments.
8743
8744         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8745         stream lock if it's a FLUSH_DONE; normal flushes don't get the
8746         lock (according to the docs -- if this is wrong change the docs).
8747
8748         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8749         flush messages in the NULL state.
8750
8751         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8752         message immediately and return.
8753         (gst_bus_set_flushing): New function. If a bus is flushing, it
8754         flushes out any queued messages and immediately unrefs new
8755         messages. This is so when an element goes to NULL, all of the
8756         unhandled messages coming from it can be freed, and their
8757         references to the element dropped. In other words: message source
8758         ref considered harmful :P
8759
8760         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8761         we're finished with it.
8762
8763         * gst/gstmessage.c (gst_message_new_state_changed): 
8764
8765 2005-05-10  Wim Taymans  <wim@fluendo.com>
8766
8767         * gst/gstvalue.c: (gst_value_compare_flags),
8768         (gst_value_serialize_flags), (gst_value_deserialize_flags),
8769         (_gst_value_initialize):
8770         Added flags serialize/deserialize/compare code.
8771
8772 2005-05-09  Andy Wingo  <wingo@pobox.com>
8773
8774         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8775         Intersect the peer's caps with our caps.
8776
8777 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8778
8779         * gst/base/gsttypefindhelper.c: (helper_find_peek):
8780         * gst/elements/gsttypefindelement.c: (find_peek):
8781           Handle negative offsets better. Fixes decodebin.
8782
8783 2005-05-09  Wim Taymans  <wim@fluendo.com>
8784
8785         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8786         (gst_base_transform_event):
8787         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8788         Implement accept_caps.
8789         Fix silly lock/unlock mismatch in base class.
8790
8791 2005-05-09  Wim Taymans  <wim@fluendo.com>
8792
8793         * docs/design/draft-push-pull.txt:
8794         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8795         * gst/elements/gstfilesink.c: (gst_filesink_init),
8796         (gst_filesink_query):
8797         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8798         (gst_type_find_handle_src_query), (find_element_get_length):
8799         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8800         * gst/gstelement.h:
8801         * gst/gstmessage.c:
8802         * gst/gstmessage.h:
8803         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8804         (gst_real_pad_get_caps_unlocked),
8805         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8806         (gst_pad_event_default_dispatch), (gst_pad_event_default),
8807         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8808         (gst_real_pad_dispose), (gst_real_pad_finalize),
8809         (gst_pad_load_and_link), (gst_pad_save_thyself),
8810         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8811         (gst_pad_check_pull_range), (gst_pad_pull_range),
8812         (gst_pad_template_get_type), (gst_pad_template_class_init),
8813         (gst_pad_template_init), (gst_pad_template_dispose),
8814         (name_is_valid), (gst_static_pad_template_get),
8815         (gst_pad_template_new), (gst_static_pad_template_get_caps),
8816         (gst_pad_template_get_caps), (gst_pad_set_element_private),
8817         (gst_pad_get_element_private), (gst_pad_start_task),
8818         (gst_pad_pause_task), (gst_pad_stop_task),
8819         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8820         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8821         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8822         (gst_ghost_pad_new):
8823         * gst/gstpad.h:
8824         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8825         (gst_query_new_position), (gst_query_set_position),
8826         (gst_query_parse_position), (gst_query_new_convert),
8827         (gst_query_set_convert), (gst_query_parse_convert):
8828         * gst/gstquery.h:
8829         * gst/gstqueryutils.c:
8830         * gst/gstqueryutils.h:
8831         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8832         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8833         (gst_queue_handle_src_query):
8834         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8835         (gst_element_query_position), (gst_element_query_convert),
8836         (intersect_caps_func), (gst_pad_query_position),
8837         (gst_pad_query_convert):
8838         * gst/gstutils.h:
8839         * tools/gst-inspect.c: (print_pad_info):
8840         * tools/gst-xmlinspect.c: (print_element_info):
8841         Remove old query functions. Ported old code.
8842         Added position/convert helper functions to gstutils.
8843         Reordered gstpad.c code, grouping relevant things.
8844         Remove gst_message_new(), always need to speficy a specific
8845         message.
8846
8847
8848 2005-05-09  Andy Wingo  <wingo@pobox.com>
8849
8850         * gst/gstiterator.h: Add some includes.
8851
8852         * gst/gstqueryutils.h: Include more headers.
8853
8854         * gst/gstpad.h:
8855         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8856         some uses of gst_pad_query.
8857
8858         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8859         NULL out parameters.
8860         (gst_query_new_position): New proc, allocates a new position
8861         query.
8862
8863         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8864         gstqueryutils.c to the build.
8865
8866         * gst/gststructure.c (gst_structure_set_valist): Implement with
8867         the generic G_VALUE_COLLECT.
8868         
8869 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
8870
8871         * gst/Makefile.am: (gst_headers):
8872         Added gstqueryutils.h to the list of headers to install, that was
8873         a 'nachty' move wingo :)
8874
8875 2005-05-06  Andy Wingo  <wingo@pobox.com>
8876
8877         * gst/gstquery.h
8878         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8879         GstData, init a memchunk.
8880         (standard_definitions): Add a few query types, deprecate a few.
8881         (gst_query_get_type): New proc.
8882         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8883         implementation.
8884         (gst_query_new_application, gst_query_get_structure): New public
8885         procs.
8886
8887         * docs/design/draft-query.txt: Removed LINKS from the query types,
8888         because all the rest can be dispatched to other pads -- seemed
8889         ugly to have a query that couldn't be dispatched. internal_links
8890         is fine as a pad method.
8891
8892         * gst/gstpad.h: Add query2 as a pad method, add the new functions
8893         in gstpad.c, but maintain binary compatibility for the moment.
8894         Will fix before 0.9 is out.
8895
8896         * gst/gstqueryutils.c: 
8897         * gst/gstqueryutils.h: New files, implement 3 methods for each
8898         query type: parse_query, parse_response, and set. Probably need an
8899         allocator as well.
8900
8901         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8902
8903         * gst/elements/gstfilesink.c (gst_filesink_query2):
8904         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8905         query_types, and formats methods.
8906
8907         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8908         (gst_pad_set_query2_function): New functions.
8909         (gst_real_pad_init): Set query2_default as the default query2
8910         function. Basically just dispatches to internally linked pads.
8911
8912         Needs review!
8913         
8914         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8915         without using the atomic operations. Only one thread can possibly
8916         be accessing the data at this point. Changed so as to avoid
8917         gst_atomic operations.
8918
8919 2005-05-06  Wim Taymans  <wim@fluendo.com>
8920
8921         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8922         Also set caps if we use the fallback buffer alloc.
8923
8924 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
8925
8926         * docs/gst/Makefile.am:
8927         * docs/gst/gstreamer-docs.sgml:
8928         * docs/gst/gstreamer-sections.txt:
8929         * docs/gst/tmpl/gstatomic.sgml:
8930         * docs/gst/tmpl/gstmemchunk.sgml:
8931         * testsuite/elements/struct_i386.h:
8932         * win32/GStreamer.vcproj:
8933         * win32/Makefile:
8934           Purge GstAtomic stuff from docs and win32 makefiles as well
8935
8936 2005-05-06  Wim Taymans  <wim@fluendo.com>
8937
8938         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8939         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8940         * gst/gstpad.c: (gst_pad_peer_get_caps):
8941         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8942         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8943         (gst_queue_src_activate), (gst_queue_change_state):
8944         * gst/gstqueue.h:
8945         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8946         (intersect_caps_func):
8947         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8948         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8949         Some fixes for the peer_get_caps() change.
8950
8951 2005-05-06  Wim Taymans  <wim@fluendo.com>
8952
8953         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8954         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8955         (gst_basesink_activate):
8956         Actually do something with error codes returned from the push
8957         functions.
8958
8959 2005-05-06  Wim Taymans  <wim@fluendo.com>
8960
8961         * docs/design/part-element-sink.txt:
8962         * docs/design/part-element-source.txt:
8963         * gst/base/gstbasesink.c: (gst_basesink_class_init),
8964         (gst_basesink_event), (gst_basesink_activate):
8965         * gst/base/gstbasesink.h:
8966         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8967         (gst_basesrc_activate):
8968         * gst/base/gstbasesrc.h:
8969         * gst/gstelement.c: (gst_element_pads_activate):
8970         Some more documentation.
8971         Fixed scheduling decision in _pads_activate().
8972
8973 2005-05-05  Andy Wingo  <wingo@pobox.com>
8974
8975         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8976         the test suite.
8977
8978 2005-05-05  Wim Taymans  <wim@fluendo.com>
8979
8980         * gst/base/Makefile.am:
8981         * gst/base/gstbasesink.h:
8982         * gst/base/gstbasesrc.c: (gst_basesrc_init),
8983         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8984         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8985         (gst_collectpads_class_init), (gst_collectpads_init),
8986         (gst_collectpads_finalize), (gst_collectpads_new),
8987         (gst_collectpads_set_function), (gst_collectpads_add_pad),
8988         (find_pad), (gst_collectpads_remove_pad),
8989         (gst_collectpads_is_active), (gst_collectpads_collect),
8990         (gst_collectpads_collect_range), (gst_collectpads_start),
8991         (gst_collectpads_stop), (gst_collectpads_peek),
8992         (gst_collectpads_pop), (gst_collectpads_available),
8993         (gst_collectpads_read), (gst_collectpads_flush),
8994         (gst_collectpads_chain):
8995         * gst/base/gstcollectpads.h:
8996         * gst/elements/Makefile.am:
8997         * gst/elements/gstelements.c:
8998         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8999         (gst_fakesink_get_times), (gst_fakesink_event),
9000         (gst_fakesink_preroll), (gst_fakesink_render):
9001         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9002         (gst_filesink_init), (gst_filesink_set_location),
9003         (gst_filesink_open_file), (gst_filesink_close_file),
9004         (gst_filesink_pad_query), (gst_filesink_event),
9005         (gst_filesink_render), (gst_filesink_change_state):
9006         * gst/elements/gstfilesink.h:
9007         Added object to help in making collect pad based elements.
9008         Ported filesink.
9009         Make event function in sink baseclass return gboolean.
9010
9011 2005-05-05  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9014         (gst_bin_get_by_name):
9015         * gst/gstbuffer.h:
9016         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9017         (gst_clock_finalize):
9018         * gst/gstdata.c: (gst_data_replace):
9019         * gst/gstdata.h:
9020         * gst/gstelement.c: (gst_element_request_pad),
9021         (gst_element_pads_activate):
9022         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9023         (gst_object_unref):
9024         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9025         (gst_pad_set_checkgetrange_function),
9026         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9027         (gst_pad_check_pull_range), (gst_pad_pull_range),
9028         (gst_static_pad_template_get_caps), (gst_pad_start_task),
9029         (gst_pad_pause_task), (gst_pad_stop_task):
9030         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9031         (gst_element_request_pad), (gst_pad_proxy_getcaps):
9032         Fix name lookup in GstBin.
9033         Added _data_replace() function and _buffer_replace()
9034         Use finalize method to clean up clock.
9035         Fix refcounting on request pads.
9036         Fix pad schedule mode error.
9037         Some more object refcounting debug info,
9038
9039
9040 2005-05-04  Andy Wingo <wingo@pobox.com>
9041
9042         * check/Makefile.am:
9043         * docs/gst/tmpl/gstatomic.sgml:
9044         * docs/gst/tmpl/gstplugin.sgml:
9045         * gst/base/gstbasesink.c: (gst_basesink_activate):
9046         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9047         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9048         (gst_basesrc_query), (gst_basesrc_set_property),
9049         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9050         (gst_basesrc_activate):
9051         * gst/base/gstbasesrc.h:
9052         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9053         (gst_base_transform_src_activate):
9054         * gst/elements/gstelements.c:
9055         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9056         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9057         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9058         * gst/elements/gsttypefindelement.c: (find_element_get_length),
9059         (gst_type_find_element_checkgetrange),
9060         (gst_type_find_element_activate):
9061         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9062         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9063         (gst_caps_load_thyself):
9064         * gst/gstelement.c: (gst_element_pads_activate),
9065         (gst_element_save_thyself), (gst_element_restore_thyself):
9066         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9067         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9068         * gst/gstpad.h:
9069         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9070         (gst_xml_parse_file), (gst_xml_parse_memory),
9071         (gst_xml_get_element), (gst_xml_make_element):
9072         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9073         (_file_index_id_save_xml), (gst_file_index_commit):
9074         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9075         (read_enum), (load_pad_template), (load_feature), (load_plugin),
9076         (load_paths):
9077         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9078         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9079         * tools/gst-complete.c: (main):
9080         * tools/gst-compprep.c: (main):
9081         * tools/gst-inspect.c: (print_element_properties_info):
9082         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9083         * tools/gst-xmlinspect.c: (print_element_properties):
9084         GCC 4 fixen.
9085         
9086 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9087
9088         * gst/gstplugin.c: (gst_plugin_check_module),
9089         (gst_plugin_check_file), (gst_plugin_load_file):
9090             apply patch from #172526 to make register work on MacOSX
9091
9092 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9093
9094         * docs/gst/tmpl/gstconfig.sgml:
9095         * gst/gstconfig.h.in:
9096           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
9097         * testsuite/debug/printf_extension.c: (main):
9098           Do not use GST_PTR_FORMAT on pointers to types with
9099           sizeof < sizeof(gpointer).  Fixes test on 64-bit
9100         * testsuite/elements/property.h:
9101           use correct printf format
9102
9103 2005-05-02  Wim Taymans  <wim@fluendo.com>
9104
9105         * docs/design/draft-push-pull.txt:
9106         * docs/design/draft-query.txt:
9107         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9108         (gst_basesrc_start):
9109         Added draft for new query API.
9110         Added draft for better selecting scheduling methods.
9111         Make basesrc ignore length if the subclass does not support
9112         it.
9113
9114 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9115
9116         * gst/Makefile.am:
9117           possible fixes for automake-1.5 - _LIBADD is reserved
9118
9119 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9120
9121         * docs/faq/Makefile.am:
9122         * docs/manual/Makefile.am:
9123         * docs/manuals.mak:
9124         * docs/pwg/Makefile.am:
9125         * gst/Makefile.am:
9126           possible fixes for automake-1.5
9127
9128 2005-04-28  Wim Taymans  <wim@fluendo.com>
9129
9130         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9131         (gst_basesink_pad_getcaps), (gst_basesink_init),
9132         (gst_basesink_do_sync):
9133         * gst/gstclock.c: (gst_clock_entry_new):
9134         * gst/gstevent.c: (gst_event_discont_get_value):
9135         * gst/gstpipeline.c: (pipeline_bus_handler),
9136         (gst_pipeline_change_state):
9137         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9138         Better debugging of clocking info.
9139         Allow NULL values when getting discont values.
9140
9141 2005-04-27  Wim Taymans  <wim@fluendo.com>
9142
9143         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9144         * check/gst/gstpad.c: (gst_pad_suite):
9145         Increase timeout for checks.
9146
9147 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9148
9149         * check/Makefile.am:
9150           fix the broken rule for cleanup.  Apparently this rule is
9151           only needed on FC2, so maybe this warrants further autotool
9152           inspection.
9153
9154 2005-04-26  Wim Taymans  <wim@fluendo.com>
9155
9156         * gst/gsttrashstack.h:
9157         Ooohh. a nasty one! After having a failed pop() from the stack,
9158         it's possible that the stack is empty. In that case, don't
9159         follow the NULL pointer.
9160
9161 2005-04-25  Wim Taymans  <wim@fluendo.com>
9162
9163         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9164         (gst_pad_set_checkgetrange_function),
9165         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9166         (gst_pad_check_pull_range), (gst_pad_pull_range),
9167         (gst_static_pad_template_get_caps), (gst_pad_start_task),
9168         (gst_pad_pause_task), (gst_pad_stop_task):
9169         * gst/gstplugin.c: (gst_plugin_load):
9170         * gst/gstplugin.h:
9171         Remove gst_library_load as it does more harm than good with
9172         the new g_module flags.
9173         Revert bogus caps template check in pad linking, pad caps
9174         are important when linking not the template, which is more
9175         general than the current caps.
9176
9177 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9178
9179         * gst/autoplug/.cvsignore:
9180         * gst/autoplug/Makefile.am:
9181         * gst/autoplug/gstsearchfuncs.c:
9182         * gst/autoplug/gstsearchfuncs.h:
9183         * gst/autoplug/gstspider.c:
9184         * gst/autoplug/gstspider.h:
9185         * gst/autoplug/gstspideridentity.c:
9186         * gst/autoplug/gstspideridentity.h:
9187         * gst/autoplug/spidertest.c:
9188           Die, spider, die.
9189
9190 2005-04-25  Wim Taymans  <wim@fluendo.com>
9191
9192         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9193         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9194         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9195         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9196         * gst/gstpad.h:
9197         Added stubs for unimplemented functions. 
9198
9199 2005-04-24  David Schleef  <ds@schleef.org>
9200
9201         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
9202         please fix.
9203
9204 2005-04-24  David Schleef  <ds@schleef.org>
9205
9206         Convert everything from GstAtomicInt to g_atomic_int_*, and
9207         remove gstatomic.
9208         * gst/Makefile.am:
9209         * gst/gstatomic.c:
9210         * gst/gstatomic.h:
9211         * gst/gstatomic_impl.h:
9212         * gst/gstbuffer.c:
9213         * gst/gstcaps.c:
9214         * gst/gstcaps.h:
9215         * gst/gstclock.c:
9216         * gst/gstclock.h:
9217         * gst/gstdata.c:
9218         * gst/gstdata.h:
9219         * gst/gstdata_private.h:
9220         * gst/gstevent.c:
9221         * gst/gstinfo.c:
9222         * gst/gstinfo.h:
9223         * gst/gstmessage.c:
9224         * gst/gstobject.c:
9225         * gst/gstobject.h:
9226         * gst/gststructure.c:
9227         * gst/gststructure.h:
9228         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9229         * gst/gstutils.h:
9230
9231 2005-04-24  David Schleef  <ds@schleef.org>
9232
9233         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9234         make the regressions tests work.  Remove some code that is no
9235         longer true.
9236         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9237         Disable warning for pads without templates.
9238
9239 2005-04-24  David Schleef  <ds@schleef.org>
9240
9241         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
9242         functions that handle filtered links.
9243         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9244         removed functions.
9245         * gst/gstutils.c: Fix/remove utility functions that handle
9246         filtered caps.
9247         * gst/gstutils.h:
9248         * gst/gstvalue.c: Add serialization/deserialization of caps
9249         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
9250         requires fixing so that the filter caps notation creates
9251         a capsfilter element and sets the filter_caps property.  I
9252         think everyone probably wants to keep the shorthand notation.
9253         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9254         * docs/gst/tmpl/gstpad.sgml:
9255
9256         * gst/elements/gstelements.c: Register capsfilter element.
9257         * gst/Makefile.am: fix spacing
9258         * docs/random/ds/0.9-suggested-changes: random
9259
9260 2005-04-23  David Schleef  <ds@schleef.org>
9261
9262         * gst/elements/Makefile.am:
9263         * gst/elements/gstcapsfilter.c: New element that acts like an
9264         identity, but filters caps.  Will eventually replace filtered
9265         caps in pad linking.
9266         * gst/gstutils.c: (gst_element_create_all_pads): New function
9267         to create all the ALWAYS pads that are registered with an
9268         element class.  This functionality should eventually be
9269         merged in with GstElement initialization.
9270         * gst/gstutils.h:
9271         * testsuite/trigger/README: part of trigger test code that should
9272         have been checked in a long time ago.
9273
9274 2005-04-23  David Schleef  <ds@schleef.org>
9275
9276         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
9277         needed with new versions of libtool (nobody will confirm this),
9278         and hard to carry around.
9279         * gst/autoplug/Makefile.am:
9280         * gst/base/Makefile.am:
9281         * gst/elements/Makefile.am:
9282         * gst/indexers/Makefile.am:
9283         * gst/schedulers/Makefile.am:
9284         * libs/gst/bytestream/Makefile.am:
9285         * libs/gst/control/Makefile.am:
9286         * libs/gst/dataprotocol/Makefile.am:
9287         * libs/gst/getbits/Makefile.am:
9288
9289 2005-04-21  Wim Taymans  <wim@fluendo.com>
9290
9291         * docs/design/draft-push-pull.txt:
9292         * docs/design/part-MT-refcounting.txt:
9293         * docs/design/part-TODO.txt:
9294         * docs/design/part-caps.txt:
9295         * docs/design/part-events.txt:
9296         * docs/design/part-gstbus.txt:
9297         * docs/design/part-gstpipeline.txt:
9298         * docs/design/part-messages.txt:
9299         * docs/design/part-push-pull.txt:
9300         * docs/design/part-query.txt:
9301         Some more docs.
9302
9303 2005-04-21  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9306         (gst_message_new), (gst_message_new_error),
9307         (gst_message_new_warning), (gst_message_new_tag),
9308         (gst_message_new_state_changed), (gst_message_new_application),
9309         (gst_message_get_structure):
9310         * gst/gstmessage.h:
9311         * gst/gststructure.c: (gst_structure_set_parent_refcount),
9312         (gst_structure_copy_conditional):
9313         Use parent refcount in GstMessage to ensure GstStructure
9314         consistency.
9315         Cleaned up headers a bit.
9316         
9317
9318 2005-04-20  Wim Taymans  <wim@fluendo.com>
9319
9320         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9321         (gst_basesink_pad_getcaps), (gst_basesink_init),
9322         (gst_basesink_chain_unlocked):
9323         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9324         (gst_type_find_helper):
9325         * gst/elements/gsttypefindelement.c:
9326         (gst_type_find_element_have_type), (gst_type_find_element_init),
9327         (stop_typefinding), (gst_type_find_element_handle_event),
9328         (find_suggest), (gst_type_find_element_chain),
9329         (gst_type_find_element_checkgetrange),
9330         (gst_type_find_element_getrange), (do_typefind),
9331         (gst_type_find_element_activate):
9332         * gst/gstbuffer.c: (_gst_buffer_sub_free),
9333         (gst_buffer_default_free), (gst_buffer_default_copy),
9334         (gst_buffer_set_caps):
9335         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9336         (gst_caps_replace):
9337         * gst/gstmessage.c: (gst_message_new),
9338         (gst_message_new_state_changed):
9339         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9340         (gst_pad_set_checkgetrange_function),
9341         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9342         (gst_pad_set_caps), (gst_pad_check_pull_range),
9343         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9344         * gst/gstpad.h:
9345         * gst/gsttypefind.c: (gst_type_find_register):
9346         Make gst_caps_replace() work like other _replace() functions.
9347         Use _caps_replace() where possible.
9348         Make sure _message_new() initialises its field.
9349         Add gst_static_pad_template_get_caps()
9350
9351
9352 2005-04-18  Andy Wingo  <wingo@pobox.com>
9353
9354         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9355         on the peer, not the pad. I think that was a typo. Pass an extra
9356         arg to see if random access is possible. Activate the pads as
9357         PULL_RANGE if possible.
9358
9359         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9360
9361         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
9362         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9363         to PROP_....
9364
9365 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9366
9367         * docs/faq/using.xml:
9368           Add note on gstreamer-properties (#154996).
9369
9370 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9371
9372         * docs/random/bbb/optional-properties:
9373           Some analysis on optional properties.
9374
9375 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9376
9377         * docs/gst/tmpl/gstelementfactory.sgml:
9378         * gst/gstelement.h:
9379         * gst/gstelementfactory.c: (gst_element_factory_init),
9380         (gst_element_factory_cleanup), (gst_element_register),
9381         (__gst_element_factory_add_static_pad_template),
9382         (gst_element_factory_get_static_pad_templates),
9383         (gst_element_factory_can_src_caps),
9384         (gst_element_factory_can_sink_caps):
9385         * gst/registries/Makefile.am:
9386         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9387         (gst_xml_registry_class_init), (gst_xml_registry_init),
9388         (gst_xml_registry_new), (gst_xml_registry_set_property),
9389         (gst_xml_registry_get_property), (get_time), (make_dir),
9390         (gst_xml_registry_get_perms_func),
9391         (plugin_times_older_than_recurse), (plugin_times_older_than),
9392         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9393         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9394         (add_to_char_array), (read_string), (read_uint), (read_enum),
9395         (load_pad_template), (load_feature), (load_plugin), (load_paths),
9396         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9397         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9398         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9399         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9400         (gst_xml_registry_rebuild):
9401         * gst/registries/gstlibxmlregistry.h:
9402         * tools/gst-compprep.c: (main):
9403         * tools/gst-inspect.c: (print_pad_templates_info):
9404         * tools/gst-xmlinspect.c: (print_element_info):
9405           Use libxml2 for registry parsing, use staticpadtemplates in
9406           elementfactories. Makes gst_init() +/- 10x faster.
9407
9408 2005-04-12  Wim Taymans  <wim@fluendo.com>
9409
9410         * gst/base/Makefile.am:
9411         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9412         (gst_basesink_pad_getcaps), (gst_basesink_init),
9413         (gst_basesink_event), (gst_basesink_change_state):
9414         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9415         (gst_basesrc_init), (gst_basesrc_query),
9416         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9417         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9418         (gst_basesrc_check_get_range), (gst_basesrc_loop),
9419         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9420         (gst_basesrc_stop), (gst_basesrc_activate),
9421         (gst_basesrc_change_state):
9422         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9423         (helper_find_suggest), (gst_type_find_helper):
9424         * gst/base/gsttypefindhelper.h:
9425         * gst/elements/Makefile.am:
9426         * gst/elements/gstelements.c:
9427         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9428         (gst_fakesink_get_times), (gst_fakesink_event),
9429         (gst_fakesink_preroll), (gst_fakesink_render):
9430         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9431         (gst_fakesrc_init), (gst_fakesrc_event_handler),
9432         (gst_fakesrc_get_property), (gst_fakesrc_create),
9433         (gst_fakesrc_start), (gst_fakesrc_stop):
9434         * gst/elements/gstfakesrc.h:
9435         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9436         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9437         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9438         (gst_filesrc_create_read), (gst_filesrc_create),
9439         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9440         (gst_filesrc_start):
9441         * gst/elements/gsttypefindelement.c:
9442         (gst_type_find_element_have_type), (gst_type_find_element_init),
9443         (start_typefinding), (stop_typefinding), (push_buffer_store),
9444         (gst_type_find_element_handle_event),
9445         (gst_type_find_element_chain),
9446         (gst_type_find_element_checkgetrange),
9447         (gst_type_find_element_getrange), (do_typefind),
9448         (gst_type_find_element_activate),
9449         (gst_type_find_element_change_state):
9450         * gst/elements/gsttypefindelement.h:
9451         * gst/gstpipeline.c: (pipeline_bus_handler):
9452         Added typefind helper.
9453         Small preroll fix in the base sink.
9454         Disable typefind code in basesrc.
9455         Crude port of typefindelement.
9456         Fakesrc cleanups.
9457
9458
9459 2005-04-11  Wim Taymans  <wim@fluendo.com>
9460
9461         * check/gst/gstbus.c: (gstbus_suite):
9462         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9463         * check/gstcheck.h:
9464           Fix up the timeout so that the test does not fail.
9465
9466 2005-04-06  Wim Taymans  <wim@fluendo.com>
9467
9468         * gst/base/README:
9469         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9470         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9471         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9472         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9473         (gst_basesrc_check_get_range), (gst_basesrc_loop),
9474         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9475         (gst_basesrc_stop), (gst_basesrc_activate),
9476         (gst_basesrc_change_state), (basesrc_find_peek),
9477         (basesrc_find_suggest), (gst_basesrc_type_find):
9478         * gst/base/gstbasesrc.h:
9479         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9480         (gst_filesrc_class_init), (gst_filesrc_init),
9481         (gst_filesrc_finalize), (gst_filesrc_set_location),
9482         (gst_filesrc_set_property), (gst_filesrc_get_property),
9483         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9484         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9485         (gst_filesrc_create_read), (gst_filesrc_create),
9486         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9487         * gst/elements/gstfilesrc.h:
9488         * gst/gstelement.c: (gst_element_get_state_func),
9489         (gst_element_lost_state), (gst_element_pads_activate):
9490         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9491         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9492         (gst_pad_pull_range):
9493         * gst/gstpad.h:
9494         More work on the generic source base class, implement seeking,
9495         query.
9496         Make filesrc extend the base source class.
9497         Added gst_pad_set_checkgetrange_function to GstPad.
9498
9499 2005-04-06  Andy Wingo  <wingo@pobox.com>
9500
9501         * pkgconfig/gstreamer-base.pc.in:
9502         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9503
9504         * pkgconfig/Makefile.am:
9505         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9506
9507 2005-04-04  Wim Taymans  <wim@fluendo.com>
9508
9509         * gst/base/Makefile.am:
9510         * gst/base/README:
9511         * gst/base/gstbasesink.c: (gst_basesink_base_init),
9512         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9513         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9514         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9515         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9516         (gst_basesrc_base_init), (gst_basesrc_class_init),
9517         (gst_basesrc_init), (gst_basesrc_get_formats),
9518         (gst_basesrc_get_query_types), (gst_basesrc_query),
9519         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9520         (gst_basesrc_set_property), (gst_basesrc_get_property),
9521         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9522         (gst_basesrc_loop), (gst_basesrc_activate),
9523         (gst_basesrc_change_state):
9524         * gst/base/gstbasesrc.h:
9525         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9526         (gst_fakesrc_class_init), (gst_fakesrc_init),
9527         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9528         (gst_fakesrc_get_property), (gst_fakesrc_create):
9529         * gst/elements/gstfakesrc.h:
9530         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9531         (gst_filesrc_open_file), (gst_filesrc_loop),
9532         (gst_filesrc_activate), (filesrc_find_peek),
9533         (gst_filesrc_type_find):
9534         Made base source class, make fakesrc extend it.
9535         Add comments to basesink class.
9536         Some filesrc cleanup.
9537
9538 2005-03-31  David Schleef  <ds@schleef.org>
9539
9540         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9541         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9542         expected to link against libgstreamer.
9543         * gst/base/Makefile.am: link against libgstreamer
9544         * gst/elements/Makefile.am: same
9545
9546 2005-03-31  Andy Wingo  <wingo@pobox.com>
9547
9548         * tests/instantiate/Makefile.am:
9549         * tests/instantiate/caps.c: Add test to test speed of caps copy
9550         and free.
9551
9552         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9553         GMemChunk to be fair.
9554
9555         * gst/gsttrashstack.h: Remove warning about using the fallback
9556         trash stack implementation, it's still faster than malloc.
9557
9558 2005-03-30  Andy Wingo  <wingo@pobox.com>
9559
9560         * tests/complexity.c: Add a copyright.
9561
9562 2005-03-31  Wim Taymans  <wim@fluendo.com>
9563
9564         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9565         (gst_base_transform_class_init), (gst_base_transform_init),
9566         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9567         (gst_base_transform_get_property),
9568         (gst_base_transform_sink_activate),
9569         (gst_base_transform_src_activate),
9570         (gst_base_transform_change_state):
9571         * gst/base/gstbasetransform.h:
9572         * gst/elements/gstidentity.c: (gst_identity_class_init),
9573         (gst_identity_event), (gst_identity_check_perfect),
9574         (gst_identity_transform), (gst_identity_start),
9575         (gst_identity_stop):
9576         Added start/stop methods to transform base class so subclasses 
9577         don't need to deal with state changes even.
9578
9579 2005-03-31  Wim Taymans  <wim@fluendo.com>
9580
9581         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9582         (gst_event_new_discontinuous), (gst_event_discont_get_value):
9583         * gst/gstevent.h:
9584         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9585         (gst_pad_pull_range):
9586         Added rate to the discont event to prepare for variable speed
9587         and reverse playback.
9588
9589 2005-03-29  David Schleef  <ds@schleef.org>
9590
9591         * configure.ac:
9592         * testsuite/trigger/Makefile.am:
9593         * testsuite/trigger/trigger.c: A little example program to show
9594         how trigger-based elements can work.
9595
9596 2005-03-29  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/base/Makefile.am:
9599         * gst/base/README:
9600         * gst/base/gstbasesink.c: (gst_basesink_get_type),
9601         (gst_basesink_base_init), (gst_basesink_class_init),
9602         (gst_basesink_pad_getcaps), (gst_basesink_init),
9603         (gst_basesink_activate), (gst_basesink_change_state):
9604         * gst/base/gstbasesink.h:
9605         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9606         (gst_base_transform_base_init), (gst_base_transform_finalize),
9607         (gst_base_transform_class_init), (gst_base_transform_init),
9608         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9609         (gst_base_transform_event), (gst_base_transform_getrange),
9610         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9611         (gst_base_transform_set_property),
9612         (gst_base_transform_get_property),
9613         (gst_base_transform_sink_activate),
9614         (gst_base_transform_src_activate),
9615         (gst_base_transform_change_state):
9616         * gst/base/gstbasetransform.h:
9617         * gst/elements/gstidentity.c: (gst_identity_finalize),
9618         (gst_identity_class_init), (gst_identity_init),
9619         (gst_identity_event), (gst_identity_check_perfect),
9620         (gst_identity_transform), (gst_identity_set_property),
9621         (gst_identity_get_property), (gst_identity_change_state):
9622         * gst/elements/gstidentity.h:
9623         * gst/gstelement.c: (gst_element_get_state_func),
9624         (gst_element_lost_state), (gst_element_pads_activate):
9625         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9626         (gst_pad_check_pull_range), (gst_pad_pull_range):
9627         * gst/gstpad.h:
9628         Simplify pad activation.
9629         Added function to check if pull_range can be performed.
9630         Error out when pulling inactive or flushing pads.
9631         Removed const from refcounted types as it does not make sense.
9632         Simplify pad templates in basesink
9633         Added base class for simple 1-to-1 transforms.
9634         Make identity subclass the base transform.
9635
9636 2005-03-29  Andy Wingo  <wingo@pobox.com>
9637
9638         * docs/libs/gstreamer-libs-overrides.txt: 
9639         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9640         really don't understand what's going on, but like whatever. I want
9641         green buildbot!
9642
9643         * docs/gst/Makefile.am:
9644         * docs/libs/Makefile.am: Dist the overrides files.
9645
9646         * check/Makefile.am (clean-local): Remove .libs directories.
9647
9648         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9649         elements to EXTRA_DIST, so po/ files are happy.
9650
9651         * po/POTFILES.in: Er, remove it here.
9652
9653         * po/POTFILES: Remove gstspider.c.
9654
9655         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9656
9657         * docs/libs/gstreamer-libs-docs.sgml: 
9658         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9659         bytestream.
9660
9661         * tests/complexity.c (main): Set the length of the preroll queue
9662         on the sinks to prevent a lockup.
9663
9664         * libs/gst/dataprotocol/Makefile.am: 
9665         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9666         the same as the one in check/gst-libs/gdp.c.
9667
9668         * po/, docs/gst/: Commit automatic changes to docs and po files.
9669
9670         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9671         the versioned libgstbase.
9672
9673         * check/Makefile.am: Depend on an unversioned gst-register, seems
9674         to make autoconf happier.
9675
9676         * gst/base/Makefile.am: Make libgstbase a versioned lib.
9677
9678 2005-03-28  Wim Taymans  <wim@fluendo.com>
9679
9680         * configure.ac:
9681         * docs/design/part-gstelement.txt:
9682         * docs/design/part-negotiation.txt:
9683         * docs/design/part-preroll.txt:
9684         * docs/design/part-scheduling.txt:
9685         * docs/design/part-states.txt:
9686         * gst/Makefile.am:
9687         * gst/base/Makefile.am:
9688         * gst/base/README:
9689         * gst/base/gstbasesink.c: (gst_basesink_get_template),
9690         (gst_basesink_base_init), (gst_basesink_class_init),
9691         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9692         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9693         (gst_basesink_set_pad_functions),
9694         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9695         (gst_basesink_set_property), (gst_basesink_get_property),
9696         (gst_base_sink_get_template), (gst_base_sink_get_caps),
9697         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9698         (gst_basesink_preroll_queue_push),
9699         (gst_basesink_preroll_queue_empty),
9700         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9701         (gst_basesink_event), (gst_basesink_get_times),
9702         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9703         (gst_basesink_chain_unlocked), (gst_basesink_chain),
9704         (gst_basesink_loop), (gst_basesink_activate),
9705         (gst_basesink_change_state):
9706         * gst/base/gstbasesink.h:
9707         * gst/elements/Makefile.am:
9708         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9709         (gst_fakesink_class_init), (gst_fakesink_init),
9710         (gst_fakesink_set_property), (gst_fakesink_get_property),
9711         (gst_fakesink_get_times), (gst_fakesink_event),
9712         (gst_fakesink_preroll), (gst_fakesink_render),
9713         (gst_fakesink_change_state):
9714         * gst/elements/gstfakesink.h:
9715         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9716         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9717         * gst/gstelement.c: (gst_element_add_pad),
9718         (gst_element_get_state_func), (gst_element_abort_state),
9719         (gst_element_commit_state), (gst_element_lost_state),
9720         (gst_element_set_state), (gst_element_pads_activate):
9721         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9722         * gst/gstpipeline.c: (gst_pipeline_send_event),
9723         (gst_pipeline_change_state):
9724         Added state change code.
9725         Added/updated docs.
9726         Added sink base class, make fakesink extend the base class.
9727         Small cleanups in GstPipeline.
9728
9729 2005-03-26  David Schleef  <ds@schleef.org>
9730
9731         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
9732         is broken and should be implemented in a different library.
9733         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9734         * gst/gst.h: remove gstcpu.h
9735         * gst/gstcpu.c: remove
9736         * gst/gstcpu.h: remove
9737         * gst/Makefile.am.future: Remove this file.  It's ancient.
9738
9739 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9740
9741         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9742         (gst_bin_send_event):
9743           Add default event/set_manager handlers. The set_manager handler
9744           takes care that the manager is distributed over kids that were
9745           already in the bin before the manager was set. The event handler
9746           is a utility virtual function that sends the event over all sinks,
9747           so that gst_element_send_event (bin, event); has the expected
9748           behaviour.
9749         * gst/gstpad.c: (gst_pad_event_default):
9750           Re-install default event handling for discontinuities, so that
9751           seeking works without requiring hacks in applications or extra
9752           code in sinks.
9753         * gst/gstpipeline.c: (gst_pipeline_class_init),
9754         (gst_pipeline_send_event):
9755           Half hack, half utility: set a pipeline to PAUSED for seek events,
9756           since that is the only way we can guarantee a/v sync. Means that
9757           you can do gst_element_seek (pipeline, method, pos); on a pipeline
9758           and it "just works".
9759
9760 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9761
9762         * gst/gstpipeline.c: (gst_pipeline_use_clock):
9763           Lock/unlock mismatch.
9764
9765 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
9766
9767         * docs/faq/gst-uninstalled:
9768           add gst-plugins-base
9769         * docs/gst/Makefile.am:
9770           don't error out until docs are fixed
9771         * docs/gst/gstreamer.types:
9772           remove thread
9773
9774 2005-03-22  Wim Taymans  <wim@fluendo.com>
9775
9776         * check/Makefile.am:
9777         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9778         * gst/gststructure.c: (gst_structure_set_valist),
9779         (gst_structure_copy_conditional):
9780         Activated more tests.
9781         Added message test.
9782         Added G_TYPE_POINTER to GstStructure.
9783         
9784
9785 2005-03-22  Wim Taymans  <wim@fluendo.com>
9786
9787         * docs/design/part-TODO.txt:
9788         * docs/design/part-events.txt:
9789         * docs/design/part-gstbin.txt:
9790         * docs/design/part-gstbus.txt:
9791         * docs/design/part-gstpipeline.txt:
9792         * docs/design/part-messages.txt:
9793         * gst/gstbus.c:
9794         * gst/gstmessage.c:
9795         Docs updates
9796
9797 2005-03-21  Wim Taymans  <wim@fluendo.com>
9798
9799         * gst/gstbus.c: (gst_bus_post):
9800         Fix copy-and-paste error.
9801
9802 2005-03-21  Wim Taymans  <wim@fluendo.com>
9803
9804         * check/Makefile.am:
9805         * gst/Makefile.am:
9806         * gst/elements/Makefile.am:
9807         * gst/elements/gstelements.c:
9808         * gst/elements/gstfakesink.c: (gst_fakesink_init),
9809         (gst_fakesink_event), (gst_fakesink_chain):
9810         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9811         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9812         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9813         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9814         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9815         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9816         (gst_fakesrc_loop), (gst_fakesrc_activate),
9817         (gst_fakesrc_change_state):
9818         * gst/elements/gstfakesrc.h:
9819         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9820         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9821         (gst_filesrc_open_file), (gst_filesrc_loop),
9822         (gst_filesrc_activate), (gst_filesrc_change_state),
9823         (filesrc_find_peek), (filesrc_find_suggest),
9824         (gst_filesrc_type_find):
9825         * gst/elements/gstidentity.c: (gst_identity_finalize),
9826         (gst_identity_class_init), (gst_identity_init),
9827         (gst_identity_proxy_getcaps), (identity_queue_push),
9828         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9829         (gst_identity_getrange), (gst_identity_chain),
9830         (gst_identity_sink_loop), (gst_identity_src_loop),
9831         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9832         (gst_identity_set_property), (gst_identity_get_property),
9833         (gst_identity_change_state):
9834         * gst/elements/gstidentity.h:
9835         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9836         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9837         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9838         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9839         (gst_tee_sink_activate):
9840         * gst/elements/gsttee.h:
9841         * gst/gst.c: (gst_register_core_elements), (init_post):
9842         * gst/gst.h:
9843         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9844         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9845         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9846         (gst_bin_change_state):
9847         * gst/gstbin.h:
9848         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9849         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9850         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9851         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9852         (gst_bus_set_sync_handler), (gst_bus_create_watch),
9853         (bus_watch_callback), (bus_watch_destroy),
9854         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9855         (poll_timeout), (gst_bus_poll):
9856         * gst/gstbus.h:
9857         * gst/gstcaps.h:
9858         * gst/gstdata.h:
9859         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9860         (gst_element_post_message), (gst_element_message_full),
9861         (gst_element_get_state_func), (gst_element_get_state),
9862         (gst_element_abort_state), (gst_element_commit_state),
9863         (gst_element_lost_state), (gst_element_set_state),
9864         (gst_element_pads_activate), (gst_element_change_state),
9865         (gst_element_dispose), (gst_element_set_manager_func),
9866         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9867         (gst_element_set_manager), (gst_element_get_manager),
9868         (gst_element_set_bus), (gst_element_get_bus),
9869         (gst_element_set_scheduler), (gst_element_get_scheduler):
9870         * gst/gstelement.h:
9871         * gst/gstevent.c: (gst_event_new_segment_seek),
9872         (gst_event_new_flush):
9873         * gst/gstevent.h:
9874         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9875         (_gst_message_free), (gst_message_get_type), (gst_message_new),
9876         (gst_message_new_eos), (gst_message_new_error),
9877         (gst_message_new_warning), (gst_message_new_tag),
9878         (gst_message_new_state_changed), (gst_message_new_application),
9879         (gst_message_get_structure), (gst_message_parse_tag),
9880         (gst_message_parse_state_changed), (gst_message_parse_error),
9881         (gst_message_parse_warning):
9882         * gst/gstmessage.h:
9883         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9884         (gst_real_pad_set_property), (gst_pad_set_active),
9885         (gst_pad_is_active), (gst_pad_set_blocked_async),
9886         (gst_pad_set_blocked), (gst_pad_is_blocked),
9887         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9888         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9889         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9890         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9891         (gst_pad_link_filtered), (gst_pad_relink_filtered),
9892         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9893         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9894         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9895         (gst_pad_set_caps), (gst_pad_configure_sink),
9896         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9897         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9898         (gst_real_pad_dispose), (gst_real_pad_finalize),
9899         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9900         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9901         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9902         * gst/gstpad.h:
9903         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9904         (pipeline_bus_handler), (gst_pipeline_change_state),
9905         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9906         * gst/gstpipeline.h:
9907         * gst/gstprobe.h:
9908         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9909         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9910         (gst_queue_link_src), (gst_queue_bufferalloc),
9911         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9912         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9913         (gst_queue_loop), (gst_queue_handle_src_event),
9914         (gst_queue_handle_src_query), (gst_queue_src_activate),
9915         (gst_queue_change_state):
9916         * gst/gstqueue.h:
9917         * gst/gstscheduler.c: (gst_scheduler_init),
9918         (gst_scheduler_dispose), (gst_scheduler_create_task),
9919         (gst_scheduler_factory_create):
9920         * gst/gstscheduler.h:
9921         * gst/gststructure.c: (gst_structure_get_type),
9922         (gst_structure_copy_conditional):
9923         * gst/gststructure.h:
9924         * gst/gsttaginterface.h:
9925         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9926         (gst_task_init), (gst_task_dispose), (gst_task_create),
9927         (gst_task_get_state), (gst_task_start), (gst_task_stop),
9928         (gst_task_pause):
9929         * gst/gsttask.h:
9930         * gst/gstthread.c:
9931         * gst/gstthread.h:
9932         * gst/gsttypes.h:
9933         * gst/schedulers/Makefile.am:
9934         * gst/schedulers/cothreads_compat.h:
9935         * gst/schedulers/entryscheduler.c:
9936         * gst/schedulers/faircothreads.c:
9937         * gst/schedulers/faircothreads.h:
9938         * gst/schedulers/fairscheduler.c:
9939         * gst/schedulers/gstbasicscheduler.c:
9940         * gst/schedulers/gstoptimalscheduler.c:
9941         * gst/schedulers/gthread-cothreads.h:
9942         * gst/schedulers/threadscheduler.c:
9943         (gst_thread_scheduler_task_get_type),
9944         (gst_thread_scheduler_task_class_init),
9945         (gst_thread_scheduler_task_init),
9946         (gst_thread_scheduler_task_start),
9947         (gst_thread_scheduler_task_stop),
9948         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9949         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9950         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9951         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9952         (plugin_init):
9953         * libs/gst/Makefile.am:
9954         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9955         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9956         (gst_file_pad_parent_set):
9957         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9958         (gst_dp_event_from_packet):
9959         * tests/complexity.c: (main):
9960         * tests/mass_elements.c: (main):
9961         * testsuite/states/locked.c: (message_received), (main):
9962         * testsuite/states/parent.c: (main):
9963         * tools/gst-inspect.c: (print_element_flag_info),
9964         (print_implementation_info), (print_pad_info):
9965         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9966         (main):
9967         * tools/gst-md5sum.c: (event_loop), (main):
9968         * tools/gst-typefind.c: (main):
9969         * tools/gst-xmlinspect.c: (print_element_info):
9970         Next big merge.
9971         Added GstBus for mainloop integration.
9972         Added GstMessage for sending notifications on the bus.
9973         Added GstTask as an abstraction for pipeline entry points.
9974         Removed GstThread.
9975         Removed Schedulers.
9976         Simplified GstQueue for multithreaded core.
9977         Made _link threadsafe, removed old capsnego.
9978         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9979         Added pad blocking functions.
9980         Reworked scheduling functions in GstPad to prepare for
9981         scheduling updates soon.
9982         Moved events out of data stream.
9983         Simplified GstEvent types.
9984         Added return values to push/pull.
9985         Removed clocking from GstElement.
9986         Added prototypes for state change function for next merge.
9987         Removed iterate from bins and state change management.
9988         Fixed some elements, disabled others for now.
9989         Fixed -inspect and -launch.
9990         Added check for GstBus.
9991
9992 2005-03-10  Wim Taymans  <wim@fluendo.com>
9993
9994         * docs/design/part-MT-refcounting.txt:
9995         * docs/design/part-clocks.txt:
9996         * docs/design/part-gstelement.txt:
9997         * docs/design/part-gstobject.txt:
9998         * docs/design/part-standards.txt:
9999         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10000         (gst_bin_remove_func), (gst_bin_remove):
10001         * gst/gstbin.h:
10002         * gst/gstbuffer.c:
10003         * gst/gstcaps.h:
10004         * testsuite/clock/clock1.c: (main):
10005         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10006         (main):
10007         * testsuite/dlopen/loadgst.c: (do_test):
10008         * testsuite/refcounting/bin.c: (add_remove_test1),
10009         (add_remove_test2), (main):
10010         * testsuite/refcounting/element.c: (main):
10011         * testsuite/refcounting/element_pad.c: (main):
10012         * testsuite/refcounting/pad.c: (main):
10013         * tools/gst-launch.c: (sigint_handler_sighandler):
10014         * tools/gst-typefind.c: (main):
10015         Doc updates.
10016         Added doc about clock.
10017         removed gst_bin_iterate_recurse_up(), marked methods
10018         for removal.
10019         Fix more testsuites.
10020
10021 2005-03-09  Wim Taymans  <wim@fluendo.com>
10022
10023         * gst/gstpad.c: (gst_pad_get_direction),
10024         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10025         (gst_pad_collect_valist):
10026         * testsuite/bins/interface.c: (main):
10027         * testsuite/caps/audioscale.c: (test_caps):
10028         * testsuite/caps/caps.c: (test1), (test2), (test3):
10029         * testsuite/caps/deserialize.c: (main):
10030         * testsuite/caps/enumcaps.c: (main):
10031         * testsuite/caps/filtercaps.c: (main):
10032         * testsuite/caps/intersect2.c: (main):
10033         * testsuite/caps/random.c: (main):
10034         * testsuite/caps/renegotiate.c: (my_fixate), (main):
10035         * testsuite/caps/sets.c: (check_caps):
10036         * testsuite/caps/simplify.c: (check_caps), (main):
10037         * testsuite/caps/subtract.c: (check_caps):
10038         Fix _pad_get_direction wrt ghostpads.
10039         Fix caps testsuite.
10040
10041 2005-03-09  Wim Taymans  <wim@fluendo.com>
10042
10043         * check/Makefile.am:
10044         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10045         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10046         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10048         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10049         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10050         (gst_bin_remove), (gst_bin_iterate_recurse_up),
10051         (bin_element_is_sink), (gst_bin_iterate_sinks),
10052         (gst_bin_iterate_all_by_interface):
10053         * gst/gstbin.h:
10054         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10055         (gst_element_change_state), (gst_element_dispose),
10056         (gst_element_finalize), (gst_element_set_loop_function):
10057         * gst/gstelement.h:
10058         * gst/gstiterator.c: (find_custom_fold_func):
10059         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10060         (gst_pad_collectv), (gst_pad_collect_valist),
10061         (gst_pad_template_new):
10062         * gst/gstpipeline.c: (gst_pipeline_class_init),
10063         (gst_pipeline_dispose), (gst_pipeline_set_property),
10064         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10065         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10066         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10067         * gst/gstutils.h:
10068         * gst/schedulers/entryscheduler.c:
10069         * gst/schedulers/gstbasicscheduler.c:
10070         (gst_basic_scheduler_cothreaded_chain),
10071         (gst_basic_scheduler_chain_add_element):
10072         * testsuite/bins/interface.c: (main):
10073         Added GstBin test.
10074         Added GstSystemClock test.
10075         Implemented clock distribution code in GstBin.
10076         Implemented iterate sinks method for future use.
10077         Rearranged gstelement.h
10078         Fix GstIterator comparison bug.
10079         Moved some code to GstPipeline, mostly clocking related.
10080
10081 2005-03-09  Wim Taymans  <wim@fluendo.com>
10082
10083         * configure.ac:
10084         * gst/gst_private.h:
10085         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10086         (gst_bin_remove_func), (gst_bin_remove),
10087         (gst_bin_get_by_name_recurse_up):
10088         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10089         (gst_clock_id_compare_func), (gst_clock_id_wait),
10090         (gst_clock_id_wait_async), (gst_clock_init),
10091         (gst_clock_adjust_unlocked), (gst_clock_get_time):
10092         * gst/gstelement.h:
10093         * gst/gstinfo.c: (_gst_debug_init):
10094         * gst/gstobject.h:
10095         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10096         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10097         * gst/gstpad.h:
10098         Bump version number, we're now 0.9.0
10099         Add future debugging category.
10100         Fix NULL _unref() in _get_by_name_recurse_up
10101         Rearrange gstpad.h.
10102         Update some docs.
10103
10104 2005-03-08  Wim Taymans  <wim@fluendo.com>
10105
10106         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10107         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10108         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10109         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10110         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10111         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10112         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10113         * gst/elements/gstidentity.c: (gst_identity_class_init):
10114         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10115         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10116         * gst/elements/gstshaper.c: (gst_shaper_class_init):
10117         * gst/elements/gststatistics.c: (gst_statistics_class_init):
10118         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10119         (gst_tee_link):
10120         * gst/gstelement.c: (gst_element_class_init),
10121         (gst_element_base_class_init), (gst_element_init),
10122         (gst_element_get_random_pad), (gst_element_wait_state_change),
10123         (gst_element_change_state), (gst_element_dispose),
10124         (gst_element_finalize), (gst_element_set_loop_function):
10125         * gst/gstelement.h:
10126         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10127         * gst/gstthread.c: (gst_thread_class_init),
10128         (gst_thread_release_children_locks), (gst_thread_change_state):
10129         * gst/schedulers/gstbasicscheduler.c:
10130         (gst_basic_scheduler_loopfunc_wrapper),
10131         (gst_basic_scheduler_chain_wrapper),
10132         (gst_basic_scheduler_src_wrapper),
10133         (gst_basic_scheduler_remove_element):
10134         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10135         Remove threadsafe properties. Fix elements because GObject
10136         complains when installing a property before declaring a
10137         set/get_property handler.
10138         Rearrange gstelement.h file, use STATE macros for state locks.
10139         Free mutexes in the finalize method instead of dispose.
10140
10141 2005-03-08  Wim Taymans  <wim@fluendo.com>
10142
10143         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10144         * gst/gstthread.c: (gst_thread_release_children_locks):
10145         Added parentage check.
10146         Fix build og GstThread again.
10147
10148 2005-03-08  Wim Taymans  <wim@fluendo.com>
10149
10150         * docs/design/part-MT-refcounting.txt:
10151         * docs/design/part-conventions.txt:
10152         * docs/design/part-gstobject.txt:
10153         * docs/design/part-relations.txt:
10154         * docs/design/part-standards.txt:
10155         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10156         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10157         (gst_bin_get_by_name), (gst_bin_get_by_interface),
10158         (gst_bin_iterate_all_by_interface):
10159         * gst/gstbuffer.h:
10160         * gst/gstclock.h:
10161         * gst/gstelement.c: (gst_element_class_init),
10162         (gst_element_change_state), (gst_element_set_loop_function):
10163         * gst/gstelement.h:
10164         * gst/gstiterator.c:
10165         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10166         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10167         (gst_object_dispatch_properties_changed), (gst_object_set_name),
10168         (gst_object_set_parent), (gst_object_unparent),
10169         (gst_object_check_uniqueness):
10170         * gst/gstobject.h:
10171         Docs updates, clean up some headers.
10172
10173 2005-03-07  Wim Taymans  <wim@fluendo.com>
10174
10175         * check/.cvsignore:
10176         * check/Makefile.am:
10177         * check/gst-libs/.cvsignore:
10178         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10179         * check/gst/.cvsignore:
10180         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10181         (START_TEST), (gstbus_suite), (main):
10182         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10183         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10184         (gst_data_suite), (main):
10185         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10186         (add_fold_func), (gstiterator_suite), (main):
10187         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10188         (thread_name_object), (thread_name_object_default),
10189         (gst_object_name_compare), (gst_object_suite), (main):
10190         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10191         (gst_pad_suite), (main):
10192         * check/gstcheck.c: (gst_check_log_message_func),
10193         (gst_check_log_critical_func), (gst_check_init):
10194         * check/gstcheck.h:
10195         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10196         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10197         Added checks.
10198
10199 2005-03-07  Wim Taymans  <wim@fluendo.com>
10200
10201         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10202         (gst_list_iterator_next), (gst_list_iterator_resync),
10203         (gst_list_iterator_free), (gst_iterator_new_list),
10204         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10205         (gst_iterator_free), (gst_iterator_push), (filter_next),
10206         (filter_resync), (filter_uninit), (filter_free),
10207         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10208         (gst_iterator_foreach), (find_custom_fold_func),
10209         (gst_iterator_find_custom):
10210         * gst/gstiterator.h:
10211         Added missing files.
10212
10213 2005-03-07  Wim Taymans  <wim@fluendo.com>
10214
10215         * Makefile.am:
10216         * configure.ac:
10217         * docs/design/part-MT-refcounting.txt:
10218         * docs/design/part-conventions.txt:
10219         * docs/design/part-gstobject.txt:
10220         * docs/design/part-relations.txt:
10221         * examples/mixer/mixer.c: (main):
10222         * examples/thread/thread.c: (eos), (main):
10223         * gst/Makefile.am:
10224         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10225         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10226         (gst_spider_plug_from_srcpad):
10227         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10228         (gst_spider_identity_change_state),
10229         (gst_spider_identity_sink_loop_type_finding):
10230         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10231         * gst/elements/gstidentity.c: (gst_identity_init):
10232         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10233         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10234         * gst/elements/gsttypefindelement.c: (free_entry):
10235         * gst/gst.c:
10236         * gst/gst.h:
10237         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10238         (gst_bin_set_clock_func), (gst_bin_auto_clock),
10239         (gst_bin_set_index), (gst_bin_set_element_sched),
10240         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10241         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10242         (gst_bin_iterate_elements), (iterate_child_recurse),
10243         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10244         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10245         (compare_interface), (gst_bin_get_by_interface),
10246         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10247         * gst/gstbin.h:
10248         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10249         (gst_buffer_default_free), (gst_buffer_default_copy),
10250         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10251         (gst_buffer_create_sub):
10252         * gst/gstbuffer.h:
10253         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10254         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10255         (gst_caps_unref), (gst_static_caps_get),
10256         (gst_caps_remove_and_get_structure), (gst_caps_append),
10257         (gst_caps_append_structure), (gst_caps_remove_structure),
10258         (gst_caps_copy_nth), (gst_caps_set_simple),
10259         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10260         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10261         (gst_caps_structure_intersect_field), (gst_caps_intersect),
10262         (gst_caps_structure_subtract_field), (gst_caps_subtract),
10263         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10264         (gst_caps_structure_figure_out_union),
10265         (gst_caps_switch_structures), (gst_caps_do_simplify),
10266         (gst_caps_replace), (gst_caps_from_string),
10267         (gst_caps_copy_conditional):
10268         * gst/gstcaps.h:
10269         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10270         (_gst_clock_id_free), (gst_clock_id_unref),
10271         (gst_clock_id_compare_func), (gst_clock_id_wait),
10272         (gst_clock_id_wait_async), (gst_clock_class_init),
10273         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10274         (gst_clock_get_time), (gst_clock_set_time_adjust),
10275         (gst_clock_set_property), (gst_clock_get_property):
10276         * gst/gstclock.h:
10277         * gst/gstcompat.h:
10278         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10279         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10280         * gst/gstdata.h:
10281         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10282         (gst_element_requires_clock), (gst_element_provides_clock),
10283         (gst_element_set_clock), (gst_element_clock_wait),
10284         (gst_element_wait), (gst_element_set_time_delay),
10285         (gst_element_is_indexable), (gst_element_add_pad),
10286         (gst_element_add_ghost_pad), (gst_element_remove_pad),
10287         (pad_compare_name), (gst_element_get_static_pad),
10288         (gst_element_request_pad), (gst_element_get_request_pad),
10289         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10290         (gst_element_class_get_pad_template_list),
10291         (gst_element_class_get_pad_template), (gst_element_error_func),
10292         (gst_element_get_random_pad), (gst_element_get_event_masks),
10293         (gst_element_send_event), (gst_element_seek),
10294         (gst_element_get_query_types), (gst_element_query),
10295         (gst_element_get_formats), (gst_element_convert),
10296         (gst_element_is_locked_state), (gst_element_set_locked_state),
10297         (gst_element_sync_state_with_parent), (gst_element_change_state),
10298         (gst_element_finalize), (gst_element_yield),
10299         (gst_element_interrupt), (gst_element_set_scheduler),
10300         (gst_element_get_scheduler), (gst_element_set_loop_function):
10301         * gst/gstelement.h:
10302         * gst/gstevent.h:
10303         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10304         (gst_format_get_by_nick), (gst_format_get_details),
10305         (gst_format_iterate_definitions):
10306         * gst/gstformat.h:
10307         * gst/gstindex.c: (gst_index_gtype_resolver):
10308         * gst/gstinfo.c:
10309         * gst/gstinfo.h:
10310         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10311         (gst_mem_chunk_free):
10312         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10313         (gst_object_ref), (gst_object_unref), (gst_object_sink),
10314         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10315         (gst_object_dispatch_properties_changed),
10316         (gst_object_set_name_default), (gst_object_set_name),
10317         (gst_object_get_name), (gst_object_set_name_prefix),
10318         (gst_object_get_name_prefix), (gst_object_set_parent),
10319         (gst_object_get_parent), (gst_object_unparent),
10320         (gst_object_check_uniqueness), (gst_object_save_thyself),
10321         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10322         (gst_object_set_property), (gst_object_get_property),
10323         (gst_object_get_path_string):
10324         * gst/gstobject.h:
10325         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10326         (gst_real_pad_init), (gst_real_pad_get_property),
10327         (gst_pad_custom_new), (gst_pad_get_direction),
10328         (gst_pad_set_active), (gst_pad_is_active),
10329         (gst_pad_set_event_function), (gst_pad_is_linked),
10330         (gst_pad_link_free), (gst_pad_link_intersect),
10331         (gst_pad_link_fixate), (gst_pad_set_caps),
10332         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10333         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10334         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10335         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10336         (gst_pad_get_caps), (gst_pad_peer_get_caps),
10337         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10338         (gst_pad_realize), (gst_pad_get_allowed_caps),
10339         (gst_real_pad_dispose), (gst_real_pad_finalize),
10340         (gst_pad_collectv), (gst_pad_collect_valist),
10341         (gst_pad_template_dispose), (gst_pad_template_new),
10342         (gst_pad_get_internal_links):
10343         * gst/gstpad.h:
10344         * gst/gstpipeline.c: (gst_pipeline_dispose),
10345         (gst_pipeline_change_state):
10346         * gst/gstpipeline.h:
10347         * gst/gstplugin.c:
10348         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10349         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10350         * gst/gstpluginfeature.h:
10351         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10352         * gst/gstquery.c: (_gst_query_type_initialize),
10353         (gst_query_type_register), (gst_query_type_get_by_nick),
10354         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10355         * gst/gstquery.h:
10356         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10357         * gst/gstscheduler.c: (gst_scheduler_add_element),
10358         (gst_scheduler_factory_create):
10359         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10360         (gst_structure_free), (gst_structure_set_name),
10361         (gst_structure_id_set_value), (gst_structure_set_value),
10362         (gst_structure_set_valist), (gst_structure_remove_field),
10363         (gst_structure_remove_fields),
10364         (gst_structure_remove_fields_valist),
10365         (gst_structure_remove_all_fields), (gst_structure_foreach),
10366         (gst_structure_map_in_place),
10367         (gst_caps_structure_fixate_field_nearest_int),
10368         (gst_caps_structure_fixate_field_nearest_double):
10369         * gst/gststructure.h:
10370         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10371         (gst_system_clock_init), (gst_system_clock_dispose),
10372         (gst_system_clock_async_thread),
10373         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10374         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10375         * gst/gstsystemclock.h:
10376         * gst/gsttag.c: (gst_tag_list_add_value_internal),
10377         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10378         * gst/gsttaginterface.c:
10379         * gst/gstthread.c: (gst_thread_dispose),
10380         (gst_thread_release_children_locks), (gst_thread_change_state),
10381         (gst_thread_main_loop):
10382         * gst/gsttrashstack.h:
10383         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10384         * gst/gsttypes.h:
10385         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10386         (gst_element_request_pad), (gst_element_get_pad_from_template),
10387         (gst_element_request_compatible_pad),
10388         (gst_element_get_compatible_pad_filtered),
10389         (gst_element_get_compatible_pad), (gst_element_state_get_name),
10390         (gst_element_link_pads_filtered), (gst_element_link_filtered),
10391         (gst_element_link_many), (gst_element_link),
10392         (gst_element_link_pads), (gst_element_unlink_pads),
10393         (gst_element_unlink_many), (gst_element_unlink),
10394         (gst_pad_can_link_filtered), (gst_pad_can_link),
10395         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10396         (gst_object_default_error), (gst_bin_add_many),
10397         (gst_bin_remove_many), (gst_element_populate_std_props),
10398         (gst_element_class_install_std_props), (gst_buffer_merge),
10399         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10400         (link_fold_func), (gst_pad_proxy_setcaps):
10401         * gst/gstutils.h:
10402         * gst/gstvalue.c: (gst_value_deserialize_string):
10403         * gst/parse/grammar.y:
10404         * gst/schedulers/gstbasicscheduler.c:
10405         (gst_basic_scheduler_cothreaded_chain),
10406         (gst_basic_scheduler_chain_recursive_add),
10407         (gst_basic_scheduler_pad_link):
10408         * gst/schedulers/gstoptimalscheduler.c:
10409         (get_group_schedule_function),
10410         (gst_opt_scheduler_state_transition),
10411         (gst_opt_scheduler_add_element), (element_get_reachables_func):
10412         * libs/gst/bytestream/bytestream.c:
10413         * libs/gst/dataprotocol/dataprotocol.c:
10414         (gst_dp_header_from_buffer):
10415         * po/nb.po:
10416         * po/ru.po:
10417         * tests/threadstate/threadstate2.c: (eos):
10418         * tools/gst-compprep.c: (main):
10419         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10420         (print_pad_info), (print_children_info):
10421         * tools/gst-launch.c: (idle_func), (main):
10422         * tools/gst-md5sum.c: (idle_func), (main):
10423         * tools/gst-xmlinspect.c: (print_element_info):
10424         First THREADED backport attempt, focusing on adding locks and
10425         making sure the API is threadsafe. Needs more work. More docs
10426         follow this week.
10427
10428 2005-02-24  Andy Wingo  <wingo@pobox.com>
10429
10430         * tests/bench-complexity.scm:
10431         * tests/complexity.gnuplot: New files, good for running complexity
10432         benchmarks.
10433
10434         * tests/Makefile.am:
10435         * tests/complexity.c: New test, sets up N elements, at each level
10436         teeing into M streams per element. Eeeenteresting.
10437
10438         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10439         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10440         running bench-mass_elements.scm.
10441
10442         * tests/bench-mass_elements.scm: New script, runs mass_elements
10443         for various numbers of identities, outputting the results to a
10444         file. Requires guile 1.6. Just for testing.
10445
10446 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10447
10448         * gst/schedulers/fairscheduler.c:
10449           compile with debug disabled
10450
10451 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10452
10453         * configure.ac:
10454           hunting season on 0.9 is now OPEN