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