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