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