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