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