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