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