6e9fe4d2b27adc3bc617abb39207f745baafeba6
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * check/gst/capslist.h:
4         * check/gst/gstcaps.c: (GST_START_TEST):
5         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6         * gst/gststructure.c: (gst_structure_parse_range),
7         (gst_structure_fixate_field_nearest_fraction):
8         * gst/gststructure.h:
9         * gst/gstvalue.c: (gst_value_init_fraction_range),
10         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11         (gst_value_collect_fraction_range),
12         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13         (gst_value_set_fraction_range_full),
14         (gst_value_get_fraction_range_min),
15         (gst_value_get_fraction_range_max),
16         (gst_value_serialize_fraction_range),
17         (gst_value_transform_fraction_range_string),
18         (gst_value_compare_fraction_range),
19         (gst_value_deserialize_fraction_range),
20         (gst_value_intersect_fraction_fraction_range),
21         (gst_value_intersect_fraction_range_fraction_range),
22         (gst_value_subtract_fraction_fraction_range),
23         (gst_value_subtract_fraction_range_fraction),
24         (gst_value_subtract_fraction_range_fraction_range),
25         (gst_value_collect_fraction), (gst_value_fraction_multiply),
26         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
27         (gst_value_transform_string_fraction), (_gst_value_initialize):
28         * gst/gstvalue.h:
29           Implement fraction ranges and extend GstFraction to support
30           arithmetic subtraction, as well as deserialization from integer
31           strings such as "100"
32           Add a testsuite as for int and double range set operations
33
34 2005-11-21  Andy Wingo  <wingo@pobox.com>
35
36         * gst/gsttaglist.h: 
37         * gst/gstcaps.h: 
38         * gst/gststructure.h: Add glib-compat.h.
39
40 2005-11-21  Wim Taymans  <wim@fluendo.com>
41
42         * gst/gstbin.c: (gst_bin_change_state_func):
43         Fix for #321595
44
45 2005-11-21  Wim Taymans  <wim@fluendo.com>
46
47         * gst/gstsegment.h:
48         And add a nice define too.
49
50 2005-11-21  Wim Taymans  <wim@fluendo.com>
51
52         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
53         (gst_segment_new), (gst_segment_free), (gst_segment_init),
54         (gst_segment_set_duration), (gst_segment_set_last_stop),
55         (gst_segment_set_seek), (gst_segment_set_newsegment),
56         (gst_segment_to_stream_time), (gst_segment_to_running_time),
57         (gst_segment_clip):
58         * gst/gstsegment.h:
59         Make binding friendly.
60
61 2005-11-21  Andy Wingo  <wingo@pobox.com>
62
63         * gst/gsttagsetter.h: 
64         * gst/gsttaglist.h: 
65         * gst/gststructure.h: 
66         * gst/gstcaps.h: 
67         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
68         #319940.
69
70         * gst/gsterror.c (_gst_core_errors_init):
71         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
72         category.
73
74         * gst/Makefile.am (gst_headers): Add glib-compat.h.
75         (noinst_HEADERS): noinst the -private.
76
77 2005-11-21  Michael Smith <msmith@fluendo.com>
78
79         * gst/gstplugin.h:
80         * gst/gstregistry.h:
81           Remove unimplemented declarations for which we can see no sensible
82           use.
83
84 2005-11-21  Andy Wingo  <wingo@pobox.com>
85
86         * gst/gst.h: Include glib-compat.h.
87
88         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
89
90         * gst/glib-compat.c: Include the public and the private header.
91
92         * gst/glib-compat-private.h: Copied here from glib-compat.h.
93
94         * gst/gstvalue.c: 
95         * gst/gstpad.c: 
96         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
97
98         * check/gst/gstevent.c (create_custom_events): Check that
99         FLUSH_STOP is serialized.
100
101         * check/elements/identity.c (event_func): 
102         * check/elements/fakesrc.c (event_func): No stream lock, the core
103         takes it.
104
105         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
106         stream lock taking, yay.
107
108         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
109         ensure that core takes the stream lock.
110
111         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
112         lock name change.
113
114         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
115         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
116         it already. For the flush start we do take it though so we get the
117         right preroll state change messages.
118
119         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
120         the stream lock here, the core does it for us.
121
122         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
123         GST_STREAM_GET_LOCK.
124         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
125         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
126         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
127         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
128         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
129         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
130
131         * gst/gstpad.c: Update for stream lock name change.
132
133         * gst/base/gstbasesink.c: Update for preroll lock name change.
134
135 2005-11-21  Wim Taymans  <wim@fluendo.com>
136
137         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
138         (gst_clock_get_master):
139         * gst/gstclock.h:
140         * gst/gstsystemclock.c: (gst_system_clock_init):
141         Convert Clock flags to object flags.
142         Added methods to manage master/slave clocks.
143
144 2005-11-21  Wim Taymans  <wim@fluendo.com>
145
146         * check/gst/gstsegment.c: (GST_START_TEST):
147         * docs/design/part-TODO.txt:
148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
149         (gst_base_sink_event), (gst_base_sink_do_sync),
150         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
151         (gst_base_sink_query), (gst_base_sink_change_state):
152         * gst/base/gstbasesink.h:
153         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
154         (gst_base_src_default_newsegment),
155         (gst_base_src_configure_segment), (gst_base_src_do_seek),
156         (gst_base_src_get_range), (gst_base_src_loop),
157         (gst_base_src_change_state):
158         * gst/base/gstbasesrc.h:
159         * gst/base/gstbasetransform.c:
160         (gst_base_transform_prepare_output_buf),
161         (gst_base_transform_event), (gst_base_transform_change_state):
162         * gst/base/gstbasetransform.h:
163         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
164         (gst_collect_pads_event):
165         * gst/base/gstcollectpads.h:
166         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
167         (gst_fake_src_create):
168         * gst/elements/gstfakesrc.h:
169         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
170         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
171         (gst_segment_set_last_stop), (gst_segment_set_seek),
172         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
173         (gst_segment_to_running_time), (gst_segment_clip):
174         * gst/gstsegment.h:
175         More segment updates, replace code in plugins with segment
176         helper functions.
177
178 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
179
180         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
181         Don't ignore sscanf results
182
183 2005-11-21  Andy Wingo  <wingo@pobox.com>
184
185         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
186
187         * *.h:
188         * *.c: Ran scripts/update-macros. Oh yes.
189
190         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
191         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
192         GST_GET_LOCK, etc.
193
194         * scripts/update-macros: New script. Run it on your files to
195         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
196         well.
197
198 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
199
200         * docs/gst/Makefile.am:
201         * docs/gst/gstreamer-docs.sgml:
202         * docs/gst/gstreamer-sections.txt:
203         * docs/gst/gstreamer.types:
204         * gst/gstinfo.h:
205           more docs fixes, add new api to the docs
206
207 2005-11-21  Andy Wingo  <wingo@pobox.com>
208
209         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
210         state_broadcast call.
211
212         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
213
214 2005-11-21  Julien MOUTTE  <julien@moutte.net>
215
216         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
217         function calls for arrays.
218
219 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
220
221         * docs/random/ensonic/media-device-daemon.txt:
222           wild idea, can this be done?
223         * docs/gst/gstreamer-sections.txt:
224         * gst/gsterror.h:
225         * gst/gstfilter.c:
226         * gst/gstfilter.h:
227         * gst/gstplugin.h:
228         * gst/gstpluginfeature.c:
229         * gst/gsttrace.c:
230         * gst/gstvalue.c:
231         * gst/gstvalue.h:
232           doc fixes and additions
233
234 2005-11-21  Andy Wingo  <wingo@pobox.com>
235
236         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
237         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
238         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
239         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
240         private to the basesrc implementation.
241
242         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
243         behalf of event function if necessary. It should no longer be
244         necessary to take the stream lock in pad's event functions. Fixes
245         #320299.
246
247 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
248         * docs/gst/gstreamer-sections.txt:
249         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
250         (gst_structure_fixate_field_nearest_double),
251         (gst_structure_fixate_field_boolean):
252         * gst/gststructure.h:
253         * win32/common/libgstreamer.def:
254         * win32/gstreamer.def:
255
256         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
257         (#322027)
258
259 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
260
261         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
262         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
263         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
264         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
265         (gst_fdsrc_uri_handler_init):
266         * gst/elements/gstfdsrc.h:
267           Port fd:// URI handler from 0.8 to fdsrc
268
269 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
270
271         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
272         (gst_value_serialize_fourcc):
273         * gst/gstvalue.h:
274           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
275           consistent with our other format defines (#320324).
276
277 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
278
279         * gst/gstvalue.c: (gst_value_is_fixed):
280           Revert previous commit. Value lists are by definition
281           not fixed, as they are a list of possible values.
282
283 2005-11-21  Andy Wingo  <wingo@pobox.com>
284
285         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
286         during the stable series if we need it. Fixes #319178.
287
288         * gst/gstevent.c (gst_event_new_filler): Removed.
289
290         * check/gst/gstevent.c: Update comment about filler events.
291
292 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
293
294         * gst/gstvalue.c: (gst_value_is_fixed):
295           Should handle both value arrays and value lists.
296
297 2005-11-21  Andy Wingo  <wingo@pobox.com>
298
299         patch by: Alessandro Dessina <alessandro nnva org>
300
301         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
302         functions to access arrays. Fixes #321962.
303
304 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
305
306         * docs/gst/gstreamer.types:
307           gst_collectpads_get_type => gst_collect_pads_get_type.
308           
309         * gst/base/gstbasetransform.c:
310           Remove unused SIGNAL_HANDOFF enum.
311
312 2005-11-21  Andy Wingo  <wingo@pobox.com>
313
314         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
315         the event type (upstream, downstream, serialized). Renamed
316         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
317         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
318         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
319
320         * gst/gstevent.c: Update for new CUSTOM event names.
321
322         * check/gst/gstevent.c: Update check for new CUSTOM event names.
323
324         * gst/gstevent.h:
325         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
326         bug #319392.
327
328 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
329
330         * docs/gst/gstreamer-sections.txt:
331         * win32/common/libgstbase.def:
332         * win32/libgstbase.def:
333         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
334         (gst_collect_pads_class_init), (gst_collect_pads_init),
335         (gst_collect_pads_finalize), (gst_collect_pads_new),
336         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
337         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
338         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
339         (gst_collect_pads_start), (gst_collect_pads_stop),
340         (gst_collect_pads_peek), (gst_collect_pads_pop),
341         (gst_collect_pads_available), (gst_collect_pads_read),
342         (gst_collect_pads_flush), (gst_collect_pads_event),
343         (gst_collect_pads_chain):
344         * gst/base/gstcollectpads.h:
345           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
346           unimplemented functions as unimplemented. Add padding to
347           GstCollectData. (#320766, #320423)
348
349 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
350
351         * gst/gstmessage.c:
352           Improve docs for DURATION message (usage of duration parameter)
353           (#320113)
354
355 2005-11-20  Wim Taymans  <wim@fluendo.com>
356
357         * check/Makefile.am:
358         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
359         (main):
360         * gst/Makefile.am:
361         * gst/gst.h:
362         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
363         (gst_segment_set_seek), (gst_segment_set_newsegment),
364         (gst_segment_to_stream_time), (gst_segment_to_running_time),
365         (gst_segment_clip):
366         * gst/gstsegment.h:
367         Added segment helper structure and methods. Not fully implemented
368         yet.
369         Added segment check.
370
371 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
372
373         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
374           Add a deserialisation test for fractions
375         * examples/metadata/read-metadata.c: (message_loop),
376         (make_pipeline), (main):
377           Fix up metadata reading sample.
378         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
379           Debug format fix
380         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
381           Don't try and fixate empty caps
382         * gst/gst_private.h:
383           Wrap in G_BEGIN_DECLS/G_END_DECLS
384         * gst/gstvalue.c: (gst_value_collect_fraction),
385         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
386         (gst_value_transform_string_fraction),
387         (gst_value_compare_fraction):
388           Add some extra guards to ensure that we don't end up 
389           with an invalid denominator of 0 in a gstfraction and
390           that fractions always get reduced.
391
392 2005-11-20  Wim Taymans  <wim@fluendo.com>
393
394         * docs/gst/gstreamer-sections.txt:
395         * gst/gstbuffer.h:
396         * gst/gstelement.c:
397         * gst/gstformat.c:
398         * gst/gstformat.h:
399         * gst/gstindex.h:
400         * gst/gstquery.c:
401         * gst/gstquery.h:
402         * gst/gstvalue.c:
403         Doc fixes.
404
405 2005-11-20  Wim Taymans  <wim@fluendo.com>
406
407         * docs/design/part-TODO.txt:
408         * gst/gstcaps.h:
409         Make a proper enum of the flag.
410
411 2005-11-19  Wim Taymans  <wim@fluendo.com>
412
413         * docs/design/part-TODO.txt:
414         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
415         (gst_format_to_quark), (gst_format_register):
416         * gst/gstformat.h:
417         * gst/gstquery.c: (_gst_query_initialize),
418         (gst_query_type_get_name), (gst_query_type_to_quark),
419         (gst_query_type_register):
420         * gst/gstquery.h:
421         Add type to quark and type to string conversions.
422
423 2005-11-19  Andy Wingo  <wingo@pobox.com>
424
425         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
426         #320097.
427
428 2005-11-19  Wim Taymans  <wim@fluendo.com>
429
430         * docs/design/part-TODO.txt:
431         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
432         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
433         (gst_bin_handle_message_func):
434         * gst/gstbin.h:
435         Make message handling overridable.
436
437 2005-11-19  Andy Wingo  <wingo@pobox.com>
438
439         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
440
441         * gst/gstclock.h:
442         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
443         be a GstClockTime.
444         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
445         is a GstClockTime. Fixes #321710.
446
447         * gst/gstclock.h (GstClock): Remove offset property. Add
448         internal_calibration and external_calibration. Fix padding. Pad
449         also by GstClockTime so we don't run into problems.
450
451         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
452         (gst_clock_get_rate_offset): Remove.
453         (gst_clock_set_time_adjust): Remove. Fixes #321712.
454
455         * gst/gstutils.h:
456         * gst/gstutils.c (g_static_rec_cond_wait)
457         (g_static_rec_cond_timed_wait): Removed, no longer needed.
458
459         * gst/gstbin.c: Remove terrible continue_state prototype.
460
461         * gst/gstelement.h (gst_element_continue_state): Make public.
462
463         * gst/gstelement.h:
464         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
465         by continue_state. Fixes #319389.
466
467         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
468         Really fixes #168438. However I don't see anywhere where the
469         filter function is called... stupid GStreamer...
470         
471         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
472         don't have a dispose function, so it won't get called when the
473         object is unreffed, but oh well!
474
475         * gst/gstindex.c (gst_index_set_filter_full): New API function,
476         allows a destroy function to be set so user_data can be freed.
477         Fixes #168438.
478         (gst_index_set_filter): Call gst_index_set_filter_full.
479
480         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
481
482         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
483         string should produce an error, given the lack of a way to
484         represent NULL strings. Fixes #165650.
485         
486         * gst/gstvalue.h: 
487         * gst/gstvalue.c (gst_value_array_append_value) 
488         (gst_value_array_prepend_value, gst_value_array_get_size) 
489         (gst_value_array_get_value): New API, copied from
490         gst_value_list_*, only operates on arrays.
491         (gst_value_list_append_value, gst_value_list_prepend_value) 
492         (gst_value_list_concat, gst_value_list_get_size) 
493         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
494
495         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
496         init_list, because it works on both.
497         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
498         (gst_value_copy_list_or_array): Renamed from copy_list.
499         (gst_value_free_list_or_array): Renamed from free_list.
500         (gst_value_collect_list_or_array): Renamed from collect_list.
501         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
502         (gst_value_list_or_array_peek_pointer): Renamed from
503         list_peek_pointer.
504         (_gst_value_array_value_table, _gst_value_list_value_table):
505         Update value table functions.
506         (gst_value_compare_list_or_array): Renamed from compare_list.
507
508         * gsttaglist.h: Whoops, foreach function returns void. Also fix
509         some constness.
510
511         * gst/gsttaglist.c:
512         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
513         GstTagList*. Fixes #143472.
514
515         * gst/gststructure.h: Clarify what the foreach/map functions can
516         or can't do to their arguments.
517
518 2005-11-18  Wim Taymans  <wim@fluendo.com>
519
520         * gst/gstclock.c: (gst_clock_set_calibration),
521         (gst_clock_get_calibration):
522         Doc and API fixes.
523         Callibration can be set with internal time equal to current
524         internal time too.
525
526 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
527
528         * gst/gsterror.c:
529         * gst/gsterror.h:
530           document
531
532 2005-11-18  Andy Wingo  <wingo@pobox.com>
533
534         * configure.ac: 
535         * pkgconfig/gstreamer-net.pc.in:
536         * pkgconfig/gstreamer-net-uninstalled.pc.in:
537         * pkgconfig/Makefile.am: Add net pkgconfig files.
538
539 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
540
541         * gst/gstcaps.c:
542         * gst/gstghostpad.c:
543         * gst/gsttrace.c:
544         * gst/gstvalue.c:
545         * gst/gstvalue.h:
546           docs fixes
547
548 2005-11-18  Andy Wingo  <wingo@pobox.com>
549
550         * gst/net/gstnetclientclock.c: Turn off debugging.
551
552         * check/net/gstnetclientclock.c (test_functioning): Assert that the
553         times connverge somewhat. Can't make a real test.
554
555         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
556         integer arithmetic. Return the minimum of the domain, which can be
557         set as "internal" for gst_clock_set_calibration.
558         (gst_net_client_clock_observe_times): Call _set_calibration.
559         (gst_net_client_clock_new): Call _set_calibration instead of
560         rate_offset.
561
562         * check/net/gstnetclientclock.c (test_functioning): Use the right
563         adjustment api.
564
565         * gst/gstclock.h:
566         * gst/gstclock.c (gst_clock_get_calibration) 
567         (gst_clock_set_calibration): New functions, obsolete the ones I
568         added yesterday. Doh. Precision issues mean we have to extrapolate
569         from a point in the more recent past than 1970.
570         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
571         obsolete.
572         (gst_clock_adjust_unlocked): Use the right calibration data.
573
574 2005-11-18  Edward Hervey  <edward@fluendo.com>
575
576         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
577         Also reset the ->current_* values in READY->PAUSED
578
579 2005-11-18  Andy Wingo  <wingo@pobox.com>
580
581         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
582         Whoops, check the right fd. Also add some debugging.
583         (gst_net_client_clock_observe_times): Adjust for int64 offset.
584         (do_linear_regression): Add a crapload of debugging. Subtract off
585         the minimum values from the input series to discard unneeded bits.
586         Use only int arithmetic. There is still double arithmetic when
587         calculating the intercept that needs fixing. Return boolean to
588         indicate success; FALSE would mean the domain or range is too
589         great. Still needs fixes.
590
591 2005-11-18  Wim Taymans  <wim@fluendo.com>
592
593         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
594         For the current position in stream time, we need to subtract
595         accumulated time.
596         
597         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
598         Release lock before calling the callback function of async
599         entries.
600
601 2005-11-18  Andy Wingo  <wingo@pobox.com>
602
603         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
604         Port goes all the way to MAXUINT16.
605
606         * gst/net/gstnettimeprovider.c: Make the port range the same as
607         for the kernel: 0 assigns, otherwise ports are less than
608         MAXUINT16.
609
610         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
611         port change.
612
613         * check/net/gstnetclientclock.c (test_functioning): Add the start
614         of another test. 
615
616 2005-11-18  Wim Taymans  <wim@fluendo.com>
617
618         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
619         (gst_bin_remove_func), (bin_bus_handler):
620         * gst/gstbin.h:
621         Removing a clock provider from a bin, triggers a clock lost message
622         so that a new clock will be selected.
623         Adding a clock to a bin triggers a clock provider message.
624         Make sure we reselect a clock when we received a clock lost message.
625         Keep a reference to the element that provided the clock.
626
627 2005-11-18  Andy Wingo  <wingo@pobox.com>
628
629         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
630         the clock initially so it produces values around the base time.
631         (gst_net_client_clock_class_init): Typo fix.
632         (gst_net_client_clock_thread): Add note on when the socket gets
633         closed.
634
635 2005-11-17  Wim Taymans  <wim@fluendo.com>
636
637         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
638         Free remote and local time arrays.
639
640 2005-11-17  Wim Taymans  <wim@fluendo.com>
641
642         * gst/net/gstnetclientclock.c: (do_linear_regression),
643         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
644         Fix compilation, uninitialized vars and a forgotten continue.
645
646 2005-11-17  Andy Wingo  <wingo@pobox.com>
647
648         * check/Makefile.am (check_PROGRAMS): 
649         * check/net/gstnetclientclock.c: Add a most minimal test for the
650         net client clock. More to come later.
651
652         * gst/net/gstnet.h: 
653         * gst/net/Makefile.am: Add netclientclock.
654
655         * gst/net/gstnetclientclock.h:
656         * gst/net/gstnetclientclock.c: New files, implement an untested
657         GstClock that takes its time from a network time provider.
658         Implements the algorithm in network-clock.scm.
659
660         * tests/network-clock.scm (*window-size*): Rename from
661         *queue-length*.
662         * tests/network-clock.scm (network-time): 
663         * tests/network-clock-utils.scm (q-push): Update callers.
664
665 2005-11-17  Wim Taymans  <wim@fluendo.com>
666
667         * gst/gstbin.c: (gst_bin_provide_clock_func),
668         (gst_bin_sort_iterator_new):
669         And unref the child too..
670
671 2005-11-17  Wim Taymans  <wim@fluendo.com>
672
673         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
674         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
675         Refactor the sort iterator so it can be used while holding the
676         LOCK too.
677         Make clock selection select a clock closest to the source.
678
679 2005-11-17  Michael Smith <msmith@fluendo.com>
680
681         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
682         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
683         * gst/gstclock.h:
684           Anonymous structs are a gcc (and some other compilers) extension, so
685           don't use them. Since this is only for ABI-compatibility, and our
686           API/ABI freeze is over in a few days, this whole thing will only
687           last a few days, so don't bother trying to think up a meaningful
688           name for the struct.
689
690 2005-11-17  Andy Wingo  <wingo@pobox.com>
691
692         * gst/gstclock.h (GstClock): Add rate and offset properties,
693         preserving ABI stability. Add rate/offset accessors. Will file bug
694         for the freeze break.
695
696         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
697         and offset, trying to keep precision and avoiding
698         underflow/overflow.
699         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
700         functions. Make gst_clock_set_time_adjust obsolete.
701         (gst_clock_set_time_adjust): Note that this function is obsolete.
702         Will file bug soon.
703
704         * gst/base/gstbasetransform.h: Make the ABI-stability hack
705         greppable by using GST_PADDING-1+1.
706
707 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
708
709         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
710
711         * gst/gstmessage.c: (gst_message_parse_clock_lost):
712           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
713
714         * gst/gstpadtemplate.h:
715         * gst/gstpluginfeature.h:
716           Don't use c++ style comments in headers (#321638).
717
718 2005-11-16  Andy Wingo  <wingo@pobox.com>
719
720         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
721         buffer.
722
723         * check/net/gstnettimeprovider.c: Check to see that the time
724         provider actually provides times. Works, yo!
725
726 2005-11-16  Wim Taymans  <wim@fluendo.com>
727
728         * check/Makefile.am:
729         Enable more tests.
730
731         * check/elements/fakesrc.c: (GST_START_TEST):
732         Set element to NULL before disposing it.
733
734 2005-11-16  Andy Wingo  <wingo@pobox.com>
735
736         * gst/net/Makefile.am:
737         * gst/net/gstnet.h:
738         * gst/net/gstnettimeprovider.c: 
739         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
740         provider, include it from gstnet.h, and add it to the build.
741
742         * gst/net/gstnettimepacket.h: 
743         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
744         sending and receiving.
745
746 2005-11-16  Wim Taymans  <wim@fluendo.com>
747
748         * check/Makefile.am:
749         Enable valgrind check.
750
751         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
752         (gst_fake_src_alloc_buffer):
753         Fix memleak.
754
755 2005-11-16  Wim Taymans  <wim@fluendo.com>
756
757         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
758         Call parent finalize too.
759
760 2005-11-16  Wim Taymans  <wim@fluendo.com>
761
762         * check/Makefile.am:
763         Enable valgrind check that should work fine now.
764
765         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
766         * gst/gstqueue.c: (gst_queue_init):
767         Fix memleaks in pad allocation.
768
769 2005-11-16  Andy Wingo  <wingo@pobox.com>
770
771         * gst/net/Makefile.am:
772         * gst/net/gstnet.h: New part of core to hold network elements and
773         objects. Put in core because it exposes API that applications want
774         to use. The library is named libgstnet-tempname right now because
775         of the existing libgstnet in gst-plugins-base. Solution is
776         probably to rename the one in plugins-base; will file a bug for
777         the freeze break.
778
779         * gst/net/gstnettimeprovider.c: 
780         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
781         get_time call over the network.
782
783         * configure.ac: 
784         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
785
786         * check/Makefile.am:
787         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
788         get additions shortly.
789
790 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
791
792         * gst/gstpad.c: (gst_pad_new_from_static_template):
793         * gst/gstpad.h:
794           add gst_pad_new_from_static_template functions
795         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
796         (gst_check_setup_sink_pad):
797         * gst/elements/gsttee.c: (gst_tee_init):
798           and use them
799
800 2005-11-16  Wim Taymans  <wim@fluendo.com>
801
802         * gst/gstpad.c: (gst_pad_pause_task):
803         Removed warning, it's not really an error either.
804
805 2005-11-16  Wim Taymans  <wim@fluendo.com>
806
807         * gst/base/gstbasetransform.c:
808         (gst_base_transform_prepare_output_buf),
809         (gst_base_transform_event):
810         Check if the caps are NULL, this can happen if the element
811         is shutting down and the pad caps are set to NULL.
812
813 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
814
815         * gst/elements/gsttee.c: (gst_tee_init):
816           fix pad tempalte leak in tee
817
818 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
819
820         * gst/glib-compat.c: (g_value_dup_gst_object):
821         * gst/glib-compat.h:
822         * gst/gstpad.c: (gst_pad_set_property):
823           use gst_object_ref when setting the pad template; this will
824           trigger the pad template leaks on GLib 2.6 and the slaves
825
826 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
827
828         * gst/glib-compat.c: (gst_flags_get_first_value):
829         * gst/glib-compat.h:
830         * gst/gstregistryxml.c:
831           remove functions copied from GLib 2.6
832
833 2005-11-16  Michael Smith <msmith@fluendo.com>
834
835         * gst/Makefile.am:
836           Don't link against VALGRIND_LIBS. That was always the wrong thing to
837           do, but only breaks with newer valgrind versions. We're not a
838           valgrind tool, we have no link-time dependencies on libcoregrind.
839
840 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
841
842         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
843           some debug changes
844         * gst/gstmessage.h:
845           typo fixes
846
847 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
848
849         * gst/base/gstbasesrc.c: (gst_base_src_init):
850         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
851         * gst/gstqueue.c: (gst_queue_init):
852         * gst/gstregistryxml.c: (load_feature):
853           Revert all these unrefs, they don't even pass make check !
854
855 2005-11-15  Johan Dahlin  <johan@gnome.org>
856
857         * gst/base/gstbasesrc.c: (gst_base_src_init):
858         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
859         * gst/gstqueue.c: (gst_queue_init): 
860         Free pad templates, fixes a couple of leaks.
861
862 2005-11-15  Daniel Fischer  <dan at f3c dot com>
863
864         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
865
866         * gst/gstpad.c: (gst_pad_get_property):
867           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
868           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
869           (#321452)
870
871 2005-11-15  Wim Taymans  <wim@fluendo.com>
872
873         * gst/gstevent.c:
874         Small doc update.
875
876 2005-11-15  Andy Wingo  <wingo@pobox.com>
877
878         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
879
880         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
881         using GST_CLOCK_TIME_NONE to disable base time management.
882         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
883         time if it was NONE before.
884         (gst_pipeline_change_state): Only munge the base time if
885         stream_time != GST_CLOCK_TIME_NONE.
886
887         * check/gst/gstpipeline.c (test_base_time): Punt around the
888         problem of the probe not being called, because that's not the
889         issue I'm looking at. Add a check that setting stream_time to NONE
890         disables base time management.
891         
892 2005-11-15  Wim Taymans  <wim@fluendo.com>
893
894         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
895         segment_stop == -1 at startup.
896
897         * gst/base/gstbasetransform.c: (gst_base_transform_event),
898         (gst_base_transform_change_state):
899         Init segment values at start.
900
901 2005-11-15  Wim Taymans  <wim@fluendo.com>
902
903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
904         0 segment values are 0 in any format.
905
906         * gst/base/gstbasetransform.c: (gst_base_transform_event):
907         * gst/base/gstbasetransform.h:
908         Parse newsegment correctly in basetransform
909
910         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
911         Sync to clock using updated segment values.
912
913 2005-11-15  Andy Wingo  <wingo@pobox.com>
914
915         * check/gst/gstpipeline.c (test_base_time): Add check that the
916         base time and stream time are reset correctly.
917
918 2005-11-15  Wim Taymans  <wim@fluendo.com>
919
920         * docs/design/part-TODO.txt:
921         Some more TODO items.
922
923 2005-11-15  Andy Wingo  <wingo@pobox.com>
924
925         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
926         error if the user selected "no clock" as the clocking method.
927
928         * check/gst/gstpipeline.c (test_base_time): New test for buffer
929         timestamps with live capture.
930
931         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
932         is 0 but we are a live source, timestamp the buffers using the
933         element's clock.
934
935 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
936
937         * docs/gst/gstreamer-sections.txt:
938         * gst/gsterror.c:
939         * gst/gstghostpad.c:
940         * gst/gstobject.h:
941         * gst/gstxml.c:
942           more section docs
943
944 2005-11-14  Wim Taymans  <wim@fluendo.com>
945
946         * common/gst.supp:
947           add suppressions from Wim's Debian machine
948
949 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
950
951         * common/gst.supp:
952           add suppressions from Andy's AMD64 Ubuntu machine
953
954 2005-11-14  Andy Wingo  <wingo@pobox.com>
955
956         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
957         STATE_LOCK not necessary. Fixes #311489.
958
959         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
960         #305291.
961
962         * gst/gstindex.c (gst_index_add_object): Note in the docs that
963         this function is not implemented.
964
965 2005-11-14  Julien MOUTTE  <julien@moutte.net>
966
967         * gst/base/gstbasetransform.c:
968         (gst_base_transform_prepare_output_buf):
969         Ref the source pad caps while we need them.
970         Fixes (#321386)
971
972 2005-11-11  Wim Taymans  <wim@fluendo.com>
973
974         * docs/gst/gstreamer-sections.txt:
975         Added some docs for GstCollectData.
976
977         * gst/base/gstadapter.c:
978         Some small code example fix.
979
980         * gst/base/gstcollectpads.c:
981         * gst/base/gstcollectpads.h:
982         Document some more.
983
984 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
985
986         * configure.ac: back to HEAD
987
988 === release 0.9.5 ===
989
990 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
991
992         * configure.ac:
993           releasing 0.9.5, "Bike Lunch Day"
994
995 2005-11-11  Wim Taymans  <wim@fluendo.com>
996
997         * gst/gstbuffer.c: (_gst_buffer_copy):
998         Copy more flags.
999
1000         * gst/gstcaps.c: (gst_caps_is_equal):
1001         Fix some docs.
1002         Make _is_equal fast in the trivial cases.
1003
1004         * gst/gstminiobject.c:
1005         * gst/gstminiobject.h:
1006         More docs. Spifify .h file.
1007
1008         * gst/gstutils.c:
1009         Small doc update.
1010
1011 2005-11-11  Wim Taymans  <wim@fluendo.com>
1012
1013         * gst/base/gstbasetransform.c:
1014         (gst_base_transform_prepare_output_buf),
1015         (gst_base_transform_handle_buffer):
1016         Small cleanups.
1017         If we're processing a buffer and need to allocate an output
1018         buffer, we cannot accept a format change. If we did get a 
1019         format change, we have to alloc a buffer ourselves of the 
1020         right size.
1021
1022 2005-11-11  Wim Taymans  <wim@fluendo.com>
1023
1024         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1025         While checking the flag for reentrancy in the gstcaps function
1026         is nice to detect recursive invocations, it also makes it 
1027         impossible to call getcaps from multiple threads, which must be
1028         possible. So, checking for recursive calls has to go.
1029
1030 2005-11-11  Michael Smith <msmith@fluendo.com>
1031
1032         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1033           Don't sync on buffers that fall partially outside our current
1034           segment. Prevents an assertion failure/abort playing some files.
1035
1036 2005-11-10  Andy Wingo  <wingo@pobox.com>
1037
1038         * check/gst/gstbin.c (test_message_state_changed_children): Style
1039         fix..
1040
1041         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1042         gst_bus_poll with the signal watch. Ensures that poll and a signal
1043         watch see the same messages.
1044
1045         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1046         a poll and a watch at the same time get the same messages.
1047
1048 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1049
1050         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1051         * gst/gstcaps.c: (gst_caps_intersect):
1052           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1053           and it's not needed.
1054
1055 2005-11-10  Wim Taymans  <wim@fluendo.com>
1056
1057         * docs/design/part-TODO.txt:
1058         Updated todo.
1059
1060 2005-11-10  Wim Taymans  <wim@fluendo.com>
1061
1062         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1063         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1064         (gst_base_src_do_sync), (gst_base_src_get_range):
1065         Implement clock sync in base class.
1066
1067 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1068
1069         patch by: Tim-Philipp Müller <tim at centricular dot net>
1070
1071         * gst/gststructure.c: (gst_structure_parse_field),
1072         (gst_structure_from_string):
1073           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1074           so that gst_parse_launch() can deal with spaces in filtered link
1075           caps (fixes #164479)
1076         * check/gst/capslist.h:
1077         * check/gst/gststructure.c: (GST_START_TEST):
1078           add unit tests for this change
1079
1080 2005-11-10  Wim Taymans  <wim@fluendo.com>
1081
1082         * docs/gst/gstreamer-sections.txt:
1083         * gst/gstelement.c:
1084         * gst/gstelement.h:
1085         Fix docs, move some STATE macros to private.
1086
1087 2005-11-10  Wim Taymans  <wim@fluendo.com>
1088
1089         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1090         Added check for bug #317341
1091
1092         * gst/gstbuffer.c:
1093         * gst/gstbuffer.h:
1094         Some more spiffifying.
1095
1096         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1097         Call peer linkfunction if we are a source pad. Totally fixes
1098         #317341
1099
1100         * gst/gstpad.c:
1101         Update docs, source pads should call the peer linkfunction
1102         so they can atomically perform the pad link.
1103
1104 2005-11-09  Wim Taymans  <wim@fluendo.com>
1105
1106         * gst/gstbuffer.c:
1107         * gst/gstbuffer.h:
1108         Uber-spiffy-spiffify some more.
1109
1110 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1111
1112         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1113         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1114         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1115         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1116         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1117         * gst/gstpad.c: (gst_pad_init):
1118           Use GST_DEBUG_FUNCPTR() more extensively.
1119
1120 2005-11-09  Wim Taymans  <wim@fluendo.com>
1121
1122         * gst/gstobject.c: (gst_object_class_init):
1123         * gst/gstobject.h:
1124         Documentation fixes.
1125
1126 2005-11-09  Edward Hervey  <edward@fluendo.com>
1127
1128         * gst/gsttypefindfactory.c:
1129         Fix docs.
1130         
1131 2005-11-09  Edward Hervey  <edward@fluendo.com>
1132
1133         * gst/base/gsttypefindhelper.c:
1134         * gst/gsttypefind.c:
1135         * gst/gsttypefind.h:
1136         Fix docs.
1137
1138 2005-11-09  Wim Taymans  <wim@fluendo.com>
1139
1140         * gst/gstiterator.c:
1141         Fix revision data.
1142
1143         * gst/gsttask.c:
1144         * gst/gsttask.h:
1145         Fix docs.
1146
1147 2005-11-09  Wim Taymans  <wim@fluendo.com>
1148
1149         * gst/gstevent.h:
1150         * gst/gsturi.h:
1151         Fix docs.
1152
1153 2005-11-09  Wim Taymans  <wim@fluendo.com>
1154
1155         * docs/gst/gstreamer-sections.txt:
1156         Moved the message async delivery private lock and cond
1157         to the private section.
1158
1159         * gst/gstmessage.c:
1160         * gst/gstmessage.h:
1161         Fixed docs.
1162
1163 2005-11-09  Edward Hervey  <edward@fluendo.com>
1164
1165         * docs/gst/gstreamer-sections.txt:
1166         * gst/gsturi.c:
1167         * gst/gsturi.h:
1168         Document GstURIHandler
1169
1170 2005-11-09  Wim Taymans  <wim@fluendo.com>
1171
1172         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1173         (gst_iterator_find_custom):
1174         * gst/gstiterator.h:
1175         Fix iterator docs.
1176
1177 2005-11-09  Wim Taymans  <wim@fluendo.com>
1178
1179         * gst/gstbin.h:
1180         Document another field.
1181
1182         * gst/gststructure.c:
1183         * gst/gststructure.h:
1184         Document.
1185
1186 2005-11-09  Wim Taymans  <wim@fluendo.com>
1187
1188         * gst/gstbin.h:
1189         Documented structs.
1190
1191 2005-11-09  Wim Taymans  <wim@fluendo.com>
1192
1193         * docs/gst/gstreamer-sections.txt:
1194         Added some new macros.
1195
1196         * gst/gstclock.c:
1197         * gst/gstclock.h:
1198         * gst/gstobject.h:
1199         Docs updates.
1200
1201 2005-11-09  Wim Taymans  <wim@fluendo.com>
1202
1203         * docs/design/part-TODO.txt:
1204         Some more items for the TODO
1205
1206         * gst/gstcaps.c:
1207         * gst/gstcaps.h:
1208         Document GstCaps.
1209
1210 2005-11-09  Andy Wingo  <wingo@pobox.com>
1211
1212         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1213         to work on something else now tho...
1214
1215         * gst/base/gstadapter.c: More adapter docs.
1216
1217         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1218         (gst_file_sink_stop): New functions, replace the state change
1219         handler.
1220         (gst_file_sink_class_init): Hook up the start and stop functions.
1221         (gst_file_sink_base_init): Don't set the state change handler any
1222         more. It was a bit ugly too, being set from here...
1223         (gst_file_sink_get_property, gst_file_sink_set_property):
1224         Cleanups...
1225         (gst_file_sink_set_location): More robust check that doesn't call
1226         GST_STATE. Ugggggg.
1227
1228 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1229
1230         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1231           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1232
1233 2005-11-08  Wim Taymans  <wim@fluendo.com>
1234
1235         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1236         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1237         (gst_base_sink_chain), (gst_base_sink_change_state):
1238         * gst/base/gstbasesink.h:
1239         * gst/base/gstbasesrc.h:
1240         * gst/gstelement.h:
1241         * gst/gstevent.h:
1242         Avoid excessive typechecking in macros.
1243
1244         * gst/gstminiobject.c: (gst_mini_object_get_type),
1245         (gst_mini_object_init), (gst_mini_object_new),
1246         (gst_mini_object_free):
1247         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1248         (gst_object_finalize):
1249         Remove cruft code, optimize alloc_trace.
1250
1251 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1252
1253         * docs/faq/gst-uninstalled:
1254           fix up PS1 for systems that try to reset it
1255
1256 2005-11-07  Wim Taymans  <wim@fluendo.com>
1257
1258         * gst/base/gstbasesrc.c: (gst_base_src_init),
1259         (gst_base_src_get_range):
1260         Set the segment_end to -1 initially. Fixed typefind.
1261
1262 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1263
1264         * gst/base/gstadapter.c:
1265           Debug category should be 'adapter', not 'GstAdapter'.
1266           
1267         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
1268         (gst_collectpads_class_init), (gst_collectpads_init),
1269         (gst_collectpads_peek), (gst_collectpads_pop),
1270         (gst_collectpads_event), (gst_collectpads_chain):
1271           Add debug category and some debugging output. Use boilerplate
1272           macros. Remove some extraneous words from docs.
1273
1274 2005-11-05  Andy Wingo  <wingo@pobox.com>
1275
1276         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
1277         macro.
1278
1279 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * docs/gst/gstreamer-sections.txt:
1282         * gst/gstcaps.h:
1283         * gst/gstinfo.c:
1284         * gst/gstminiobject.h:
1285         * gst/gstobject.h:
1286         * gst/gstutils.h:
1287           more docs added
1288
1289 2005-11-04  Wim Taymans  <wim@fluendo.com>
1290
1291         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1292         Small update to stop at the configured segment_end
1293         position.
1294
1295 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
1296
1297         * gst/gstregistry.c:
1298         * gst/gstregistry.h:
1299           added missing docs
1300
1301 2005-11-04  Edward Hervey  <edward@fluendo.com>
1302
1303         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1304         Check if we are doing a segment seek and have arrived at the
1305         end of that segment.
1306
1307 2005-11-04  Wim Taymans  <wim@fluendo.com>
1308
1309         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
1310         Don't leak a mutex unlock in case of an error.
1311
1312         * gst/gstbus.h:
1313         Doc fixes.
1314
1315 2005-11-04  Wim Taymans  <wim@fluendo.com>
1316
1317         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
1318         (gst_bus_post):
1319         Get the context to wake up only once.
1320
1321 2005-11-03  Wim Taymans  <wim@fluendo.com>
1322
1323         * check/states/sinks.c: (GST_START_TEST):
1324         Uncomment fixed check.
1325
1326         * docs/design/part-TODO.txt:
1327         Updated TODO.
1328
1329         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1330         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1331         (gst_base_sink_get_position):
1332         If we are going to PLAYING, post the right pending state
1333         when we post the intermediate paused message.
1334
1335         * gst/gstelement.c: (gst_element_continue_state),
1336         (gst_element_set_state_func), (gst_element_change_state):
1337         Don't post state changes that were between the same state
1338         and were not ASYNC.
1339
1340 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1341
1342         * docs/gst/gstreamer-sections.txt:
1343         * gst/gstcaps.h:
1344         * gst/gstinfo.c:
1345         * gst/gstminiobject.h:
1346         * gst/gstobject.h:
1347         * gst/gstutils.h:
1348           more docs and doc style fixes
1349
1350 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
1351
1352         * docs/gst/gstreamer-sections.txt:
1353         * gst/gstelement.c:
1354         * gst/gstminiobject.c:
1355         doc fixes
1356
1357 2005-11-03  Andy Wingo  <wingo@pobox.com>
1358
1359         * check/states/sinks.c (test_livesrc_sink): Add checks that the
1360         state-changed messages actually have the right order and the right
1361         values.
1362
1363 2005-11-03  Wim Taymans  <wim@fluendo.com>
1364
1365         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1366         Added some more checks. Specifically the case where NO_PREROLL
1367         elements are in the pipeline.
1368
1369         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1370         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
1371         (gst_base_sink_get_position):
1372         Post READY->PAUSED state change messages too.
1373         Fix bug where VOID was posted as pending state...
1374
1375         * gst/gstbin.c: (gst_bin_recalc_state):
1376         use _element_continue_state() to continue the state change.
1377
1378         * gst/gstelement.c: (gst_element_continue_state),
1379         (gst_element_commit_state), (gst_element_set_state_func),
1380         (gst_element_change_state), (gst_element_change_state_func):
1381         Lots of state change cleanups, assign the STATE_RETURN in
1382         a new continue_state() function that also propagates the
1383         last return value from a state change to the app.
1384         Update some debug statements with proper category.
1385
1386 2005-11-03  Wim Taymans  <wim@fluendo.com>
1387
1388         * docs/design/part-events.txt:
1389         * docs/design/part-gstpipeline.txt:
1390         * docs/design/part-messages.txt:
1391         * docs/design/part-overview.txt:
1392         * docs/design/part-seeking.txt:
1393         * docs/design/part-states.txt:
1394         * docs/design/part-trickmodes.txt:
1395         * docs/manual/advanced-position.xml:
1396         Small docs updates.
1397
1398         * gst/gstobject.h:
1399         People think !! is ugly, this looks better.
1400
1401         * gst/gstpad.c: (gst_pad_set_blocked_async):
1402         Remove !! since it's fixed elsewhere now.
1403
1404 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1405
1406         * gst/gstminiobject.h:
1407         * gst/gstobject.h:
1408           Add !! to _FLAG_IS_SET macros to make the result boolean.
1409
1410 2005-11-03  Edward Hervey  <edward@fluendo.com>
1411
1412         * gst/gstpad.c: (gst_pad_set_blocked_async):
1413         comparing a flag and a gboolean rarely returns coherent results...
1414         Added two characters (!!) to make that work correctly.
1415         
1416 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1417
1418         * gst/gstbus.c: (gst_bus_class_init):
1419           Fix some typos.
1420           
1421         * gst/gstqueue.c: (gst_queue_loop):
1422           Don't assume a miniobject that isn't a buffer is an
1423           event (it could be that there is a refcounting
1424           problem somewhere and the pointer is stale and
1425           refers to an already destroyed miniobject).
1426
1427 2005-11-03  Julien MOUTTE  <julien@moutte.net>
1428
1429         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
1430
1431 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1432
1433         * docs/manual/advanced-position.xml:
1434           Update seek example and explanations to current 0.9 API.
1435
1436         * gst/elements/gsttypefindelement.c:
1437         (gst_type_find_element_activate):
1438           Remove FIXME comment now that the found caps
1439           are unreffed.
1440
1441 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1442
1443         * gst/gstregistryxml.c: (load_feature):
1444           Add another GST_STR_NULL instance
1445
1446 2005-11-02  Edward Hervey  <edward@fluendo.com>
1447
1448         * gst/gstpad.c: (handle_pad_block):
1449         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
1450         
1451 2005-11-02  Wim Taymans  <wim@fluendo.com>
1452
1453         * gst/gstbin.c:
1454         Fix typo in docs.
1455
1456         * gst/gstelement.c: (gst_element_commit_state):
1457         Remove unused value.
1458
1459         * gst/gstiterator.c:
1460         Mention that the returned element is reffed in the docs.
1461
1462 2005-11-02  Wim Taymans  <wim@fluendo.com>
1463
1464         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
1465         (gst_pad_push), (gst_pad_push_event):
1466         Unlock blocked pads when they are flushed.
1467
1468 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1469
1470         * docs/README:
1471         * docs/gst/gstreamer-sections.txt:
1472         * gst/gstbin.c:
1473           doc updates
1474         * gst/gstregistry.c: (gst_registry_scan_path_level):
1475           fix for a nasty little missed situation where an installed plug-in
1476           which was in the cache did not get overridden by an uninstalled one
1477           which was earlier in the plugin path because the newly created plugin
1478           for the uninstalled one (not in the registry) didn't get its
1479           ->registered set to TRUE
1480
1481 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1482
1483         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1484         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1485         (gst_collectpads_is_active), (gst_collectpads_collect),
1486         (gst_collectpads_collect_range), (gst_collectpads_start),
1487         (gst_collectpads_stop), (gst_collectpads_peek),
1488         (gst_collectpads_pop), (gst_collectpads_available),
1489         (gst_collectpads_read), (gst_collectpads_flush):
1490           Guard public API with assertions.
1491         
1492         * gst/gstpad.c:
1493           Fix docs for gst_pad_set_link_function().
1494
1495 2005-11-02  Johan Dahlin  <johan@gnome.org>
1496
1497         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
1498         Unref found_caps after we used it.
1499
1500 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1501
1502         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1503           Don't try to ref NULL.
1504
1505 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1506
1507         * win32/common/config.h.in:
1508           provide a GST_FUNCTION that just gives a string for now
1509
1510 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1511
1512         * win32/common/gstenumtypes.c: (register_gst_object_flags),
1513         (gst_object_flags_get_type), (register_gst_bin_flags),
1514         (gst_bin_flags_get_type), (register_gst_buffer_flag),
1515         (gst_buffer_flag_get_type), (register_gst_bus_flags),
1516         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1517         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1518         (gst_clock_return_get_type), (register_gst_clock_entry_type),
1519         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1520         (gst_clock_flags_get_type), (register_gst_state),
1521         (gst_state_get_type), (register_gst_state_change_return),
1522         (gst_state_change_return_get_type), (register_gst_state_change),
1523         (gst_state_change_get_type), (register_gst_element_flags),
1524         (gst_element_flags_get_type), (register_gst_core_error),
1525         (gst_core_error_get_type), (register_gst_library_error),
1526         (gst_library_error_get_type), (register_gst_resource_error),
1527         (gst_resource_error_get_type), (register_gst_stream_error),
1528         (gst_stream_error_get_type), (register_gst_event_type),
1529         (gst_event_type_get_type), (register_gst_seek_type),
1530         (gst_seek_type_get_type), (register_gst_seek_flags),
1531         (gst_seek_flags_get_type), (register_gst_format),
1532         (gst_format_get_type), (register_gst_index_certainty),
1533         (gst_index_certainty_get_type), (register_gst_index_entry_type),
1534         (gst_index_entry_type_get_type),
1535         (register_gst_index_lookup_method),
1536         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1537         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1538         (gst_index_resolver_method_get_type), (register_gst_index_flags),
1539         (gst_index_flags_get_type), (register_gst_debug_level),
1540         (gst_debug_level_get_type), (register_gst_debug_color_flags),
1541         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1542         (gst_iterator_result_get_type), (register_gst_iterator_item),
1543         (gst_iterator_item_get_type), (register_gst_message_type),
1544         (gst_message_type_get_type), (register_gst_mini_object_flags),
1545         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1546         (gst_pad_link_return_get_type), (register_gst_flow_return),
1547         (gst_flow_return_get_type), (register_gst_activate_mode),
1548         (gst_activate_mode_get_type), (register_gst_pad_direction),
1549         (gst_pad_direction_get_type), (register_gst_pad_flags),
1550         (gst_pad_flags_get_type), (register_gst_pad_presence),
1551         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1552         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1553         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1554         (gst_plugin_error_get_type), (register_gst_plugin_flags),
1555         (gst_plugin_flags_get_type), (register_gst_rank),
1556         (gst_rank_get_type), (register_gst_query_type),
1557         (gst_query_type_get_type), (register_gst_tag_merge_mode),
1558         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1559         (gst_tag_flag_get_type), (register_gst_task_state),
1560         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1561         (gst_alloc_trace_flags_get_type),
1562         (register_gst_type_find_probability),
1563         (gst_type_find_probability_get_type), (register_gst_uri_type),
1564         (gst_uri_type_get_type), (register_gst_parse_error),
1565         (gst_parse_error_get_type):
1566         * win32/common/gstversion.h:
1567           update win32 copies
1568
1569 2005-11-01  Luca Ognibene  <luogni@tin.it>
1570
1571         * gst/gst.c:
1572           fix docs. popt is dead, long live GOption.
1573
1574 2005-10-31  Wim Taymans  <wim@fluendo.com>
1575
1576         * gst/gstbuffer.h:
1577         Small doc fix.
1578
1579 2005-10-31  Andy Wingo  <wingo@pobox.com>
1580
1581         * Boo!
1582
1583         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1584
1585         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1586         need to serialize property notifications on GLib 2.8. GLib 2.6 has
1587         the possibility of deadlocks here if code calling notify() or
1588         set() has a lock that can be taken in another notify handler (ABBA
1589         with class lock and e.g. python GIL state lock).
1590
1591 2005-10-28  Julien MOUTTE  <julien@moutte.net>
1592
1593         * gst/gstbus.c: Doc updates.
1594
1595 2005-10-28  Wim Taymans  <wim@fluendo.com>
1596
1597         * docs/design/part-TODO.txt:
1598         * gst/gstiterator.c:
1599         * gst/gstsystemclock.c:
1600         * gst/gstsystemclock.h:
1601         Doc updates.
1602
1603 2005-10-28  Edward Hervey  <edward@fluendo.com>
1604
1605         * docs/gst/gstreamer-docs.sgml:
1606         * docs/gst/gstreamer-sections.txt:
1607         the GstURIType documentation page is private, it only defines GstURIType
1608         which should be defined in the GstURIHandler page
1609         
1610 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1611
1612         * gst/gstbin.c: (gst_bin_class_init):
1613         * gst/gstbin.h:
1614         * gst/gstutils.c:
1615         Documentation updates.
1616
1617 2005-10-28  Wim Taymans  <wim@fluendo.com>
1618
1619         * docs/gst/gstreamer-sections.txt:
1620         * gst/gstclock.c:
1621         * gst/gstclock.h:
1622         Documented the clocks.
1623
1624 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
1625
1626         * docs/gst/gstreamer-sections.txt:
1627           move some macros to private sections
1628         * gst/gstminiobject.c:
1629         * gst/gstminiobject.h:
1630           add descriptions provided by ds and some more
1631         * gst/gstpad.h:
1632           mark macro as to be removed
1633
1634 2005-10-28  Wim Taymans  <wim@fluendo.com>
1635
1636         * docs/design/part-TODO.txt:
1637         Add an item to TODO.
1638
1639         * gst/gstiterator.c: (gst_iterator_fold),
1640         (gst_iterator_find_custom):
1641         * gst/gstiterator.h:
1642         Add iterator docs.
1643
1644 2005-10-28  Wim Taymans  <wim@fluendo.com>
1645
1646         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1647         (gst_base_transform_init):
1648         Don't leak class.
1649
1650         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1651         An EOS event marks the queue as completely filled.
1652
1653 2005-10-27  Wim Taymans  <wim@fluendo.com>
1654
1655         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1656         (gst_base_sink_do_sync), (gst_base_sink_get_position):
1657         Some more debugging.
1658
1659         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1660         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1661         (gst_base_transform_event), (gst_base_transform_getrange),
1662         (gst_base_transform_chain):
1663         * gst/base/gstbasetransform.h:
1664         Fix debugging,
1665         Protect transform and concurrent buffer alloc with a new lock.
1666         Try not to break ABI/API.
1667
1668 2005-10-27  Wim Taymans  <wim@fluendo.com>
1669
1670         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1671         (gst_base_src_init), (gst_base_src_query),
1672         (gst_base_src_default_newsegment),
1673         (gst_base_src_configure_segment), (gst_base_src_do_seek),
1674         (gst_base_src_send_event), (gst_base_src_event_handler),
1675         (gst_base_src_pad_get_range), (gst_base_src_loop),
1676         (gst_base_src_unlock), (gst_base_src_default_negotiate),
1677         (gst_base_src_start), (gst_base_src_deactivate),
1678         (gst_base_src_activate_push), (gst_base_src_change_state):
1679         Move some stuff around and cleanup things.
1680
1681 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
1682
1683         * gst/base/gstbasesrc.c: (gst_base_src_query):
1684           Add missing break statements.
1685
1686 2005-10-27  Wim Taymans  <wim@fluendo.com>
1687
1688         * check/gst/gstbin.c: (GST_START_TEST):
1689         An extra refcount is taken in basesrc.
1690
1691         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1692         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1693         (gst_base_src_loop):
1694         Small cleanups, check for flushing after being unlocked from the 
1695         LIVE_LOCK. take refcounts correctly (not yet everywhere).
1696         Don't send out EOS when going to READY.
1697
1698 2005-10-27  Wim Taymans  <wim@fluendo.com>
1699
1700         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1701         (gst_base_sink_get_position):
1702         Some more debug.
1703
1704         * gst/gstbin.c: (message_check), (bin_replace_message),
1705         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1706         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1707         (bin_query_duration_init), (bin_query_duration_fold),
1708         (bin_query_duration_done), (bin_query_generic_fold),
1709         (gst_bin_query):
1710         * tools/gst-launch.c: (main):
1711         Remove old option.
1712
1713 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
1714
1715         * examples/controller/audio-example.c: (main):
1716         * examples/queue/queue.c: (event_loop):
1717         * gst/base/gstbasetransform.h:
1718         * gst/gstelement.c: (gst_element_send_event):
1719         * gst/gstevent.h:
1720         * gst/gstpad.c: (gst_pad_send_event):
1721           fixing examples
1722           fixing docs typos
1723           changing log priority in error situations
1724
1725 2005-10-25  Wim Taymans  <wim@fluendo.com>
1726
1727         * gst/gstbin.c: (message_check), (bin_replace_message),
1728         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1729         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1730         (bin_query_duration_init), (bin_query_duration_fold),
1731         (bin_query_duration_done), (bin_query_generic_fold),
1732         (gst_bin_query):
1733         Some doc and debug updates.
1734         Cache previously requested query DURATION for speed. invalidate
1735         cached duration if element posts a DURATION message.
1736
1737 2005-10-25  Wim Taymans  <wim@fluendo.com>
1738
1739         * docs/design/part-TODO.txt:
1740         Update TODO.
1741
1742         * gst/gstbin.c: (message_check), (bin_replace_message),
1743         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1744         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1745         (bin_query_duration_init), (bin_query_duration_fold),
1746         (bin_query_duration_done), (bin_query_generic_fold),
1747         (gst_bin_query):
1748         Handle SEGMENT_START/DONE messages correctly.
1749         More evolved query algorithm that handles duration queries
1750         correctly.
1751
1752         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1753         (gst_element_get_state_func), (gst_element_abort_state),
1754         (gst_element_commit_state), (gst_element_lost_state):
1755         Some more debugging.
1756
1757         * gst/gstmessage.h:
1758         Added doc.
1759
1760 2005-10-25  Wim Taymans  <wim@fluendo.com>
1761
1762         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1763         Don't use invalid stream_time.
1764
1765         * gst/gstevent.c: (gst_event_new_newsegment):
1766         stream_time in newsegment cannot be undefined.
1767
1768 2005-10-24  Wim Taymans  <wim@fluendo.com>
1769
1770         * gst/gstbus.c:
1771         Doc fix.
1772
1773         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1774         (gst_queue_loop):
1775         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1776
1777 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
1778
1779         * docs/libs/tmpl/gstdparam.sgml:
1780         * docs/libs/tmpl/gstdplinint.sgml:
1781         * docs/libs/tmpl/gstdpman.sgml:
1782         * docs/libs/tmpl/gstdpsmooth.sgml:
1783         * docs/libs/tmpl/gstunitconvert.sgml:
1784           these are obsolete
1785
1786 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1787
1788         * configure.ac:
1789           back to HEAD
1790
1791 === release 0.9.4 ===
1792
1793 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1794
1795         * configure.ac:
1796           releasing 0.9.4, "Tyrannosaurus Rex"
1797
1798 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1801         (gst_file_sink_get_current_offset):
1802           Use fseeko() and ftello() if available. When falling back on
1803           lseek() to get the current offset, fflush() first to make sure
1804           everything is up-to-date and we get the right offset.
1805
1806 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
1807
1808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1809         * gst/base/gstbasesrc.c: (gst_base_src_loop):
1810         * gst/gsterror.c: (_gst_stream_errors_init):
1811         * gst/gsterror.h:
1812         * gst/gstqueue.c: (gst_queue_loop):
1813         * po/POTFILES.in:
1814           remove prematurely added error category and clean up the instances
1815
1816 2005-10-21  Wim Taymans  <wim@fluendo.com>
1817
1818         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1819         (gst_base_sink_get_position), (gst_base_sink_query),
1820         (gst_base_sink_change_state):
1821         Simply set the right flag when going to playing, that's all
1822         we need to do instead of calling a function inside the object
1823         lock (that could take the lock as well and deadlock)
1824
1825 2005-10-21  Wim Taymans  <wim@fluendo.com>
1826
1827         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1828         (gst_base_src_loop):
1829         Don't warn, the peer element knows what to do best when
1830         the seek failed, it might try something else.
1831
1832 2005-10-21  Wim Taymans  <wim@fluendo.com>
1833
1834         * gst/base/gstbasesrc.c: (gst_base_src_init),
1835         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1836         Fix seeking.
1837
1838 2005-10-21  Wim Taymans  <wim@fluendo.com>
1839
1840         * docs/design/part-segments.txt:
1841         More docs.
1842
1843         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1844         Correctly set caps, even on the subbufer.
1845
1846 2005-10-21  Wim Taymans  <wim@fluendo.com>
1847
1848         * docs/gst/gstreamer-docs.sgml:
1849         * docs/gst/gstreamer-sections.txt:
1850         * gst/gstelement.h:
1851         * gst/gstevent.c:
1852         * gst/gstevent.h:
1853         * gst/gstmessage.h:
1854         * gst/gstpad.h:
1855         * gst/gstparse.h:
1856         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1857         * gst/gsttask.h:
1858         * gst/gstutils.c:
1859         * gst/gstutils.h:
1860         And 2% more doc coverage.
1861
1862 2005-10-21  Andy Wingo  <wingo@pobox.com>
1863
1864         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1865         position reporting.
1866
1867 2005-10-20  Wim Taymans  <wim@fluendo.com>
1868
1869         * gst/gsterror.c: (gst_error_get_message):
1870         * gst/gstparse.h:
1871         * gst/gstquery.h:
1872         * gst/gststructure.c:
1873         * gst/gsttrace.c:
1874         * gst/gstutils.c:
1875         More docs.
1876
1877 2005-10-20  Wim Taymans  <wim@fluendo.com>
1878
1879         * gst/gstbuffer.h:
1880         * gst/gstpad.c:
1881         * gst/gstparse.c:
1882         Another 1% more coverage.
1883
1884 2005-10-20  Wim Taymans  <wim@fluendo.com>
1885
1886         * docs/gst/gstreamer-sections.txt:
1887         * gst/gstelement.c: (gst_element_get_state_func),
1888         (gst_element_abort_state), (gst_element_commit_state),
1889         (gst_element_lost_state):
1890         * gst/gstevent.h:
1891         * gst/gstquery.c: (gst_query_set_position),
1892         (gst_query_parse_position), (gst_query_set_duration),
1893         (gst_query_parse_duration), (gst_query_new_convert):
1894         * gst/gstutils.c:
1895         Yay! 1% more docs coverage.
1896
1897 2005-10-20  Wim Taymans  <wim@fluendo.com>
1898
1899         * gst/gstpad.h:
1900         * gst/gstquery.c: (gst_query_set_position),
1901         (gst_query_parse_position), (gst_query_set_duration),
1902         (gst_query_parse_duration), (gst_query_new_convert):
1903         * gst/gstquery.h:
1904         * gst/gstutils.c: (gst_element_query_convert):
1905         * gst/gstutils.h:
1906         Docs and consistency fixes.
1907
1908 2005-10-20  Wim Taymans  <wim@fluendo.com>
1909
1910         * gst/gsttask.c:
1911         * gst/gsttask.h:
1912         More docs.
1913
1914 2005-10-20  Wim Taymans  <wim@fluendo.com>
1915
1916         * gst/gstbin.c: (message_check), (bin_replace_message),
1917         (bin_remove_messages), (is_eos), (gst_bin_add_func),
1918         (update_degree), (gst_bin_sort_iterator_next),
1919         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1920         Reworked the message handling a bit, cache the messages instead of
1921         only the senders. alows us to do more in the future.
1922
1923 2005-10-20  Wim Taymans  <wim@fluendo.com>
1924
1925         * docs/design/part-TODO.txt:
1926         Update TODO
1927
1928         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1929         (gst_base_sink_query):
1930         Don't use clock time to report position when in EOS.
1931
1932 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
1933
1934         * tools/gst-inspect.c: (print_interfaces),
1935         (print_element_properties_info), (print_element_info):
1936           Fix interface output with gst-inspect -a; don't print
1937           newlines after double/float properties.
1938
1939 2005-10-20  Wim Taymans  <wim@fluendo.com>
1940
1941         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1942         (gst_base_sink_query):
1943         Speed up current position calculation.
1944
1945         * gst/base/gstbasesrc.c: (gst_base_src_query),
1946         (gst_base_src_default_newsegment):
1947         Correctly set stream position in newsegment.
1948
1949         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1950         (update_degree), (gst_bin_sort_iterator_next),
1951         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1952         * gst/gstmessage.c: (gst_message_new_custom):
1953         Clean up debugging info
1954
1955         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1956         (gst_queue_loop), (gst_queue_handle_src_query):
1957         Pause task faster.
1958
1959 2005-10-19  Wim Taymans  <wim@fluendo.com>
1960
1961         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1962         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1963         Fix query handling again.
1964
1965 2005-10-19  Wim Taymans  <wim@fluendo.com>
1966
1967         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1968         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1969         * gst/base/gstbasesrc.c: (gst_base_src_query):
1970         * gst/elements/gstfilesink.c: (gst_file_sink_query):
1971         * gst/elements/gsttypefindelement.c:
1972         (gst_type_find_handle_src_query), (find_element_get_length),
1973         (gst_type_find_element_activate):
1974         API change fix.
1975
1976         * gst/gstquery.c: (gst_query_new_position),
1977         (gst_query_set_position), (gst_query_parse_position),
1978         (gst_query_new_duration), (gst_query_set_duration),
1979         (gst_query_parse_duration), (gst_query_set_segment),
1980         (gst_query_parse_segment):
1981         * gst/gstquery.h:
1982         Bundling query position/duration is not a good idea since duration
1983         does not change much and we don't want to recalculate it for every
1984         position query, so they are separated again..
1985         Base value in segment query is not needed.
1986
1987         * gst/gstqueue.c: (gst_queue_handle_src_query):
1988         * gst/gstutils.c: (gst_element_query_position),
1989         (gst_element_query_duration), (gst_pad_query_position),
1990         (gst_pad_query_duration):
1991         * gst/gstutils.h:
1992         Updates for query API change.
1993         Added some docs here and there.
1994
1995 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
1996
1997         * check/gst/gstbin.c: (GST_START_TEST):
1998         * check/gst/gstghostpad.c: (GST_START_TEST):
1999         * check/pipelines/cleanup.c: (GST_START_TEST):
2000           wait on thread to die so we can check refcount correctly
2001
2002 2005-10-18  Wim Taymans  <wim@fluendo.com>
2003
2004         * check/pipelines/stress.c: (GST_START_TEST):
2005         Make check a little more time consuming.
2006
2007 2005-10-18  Wim Taymans  <wim@fluendo.com>
2008
2009         * check/Makefile.am:
2010         * check/pipelines/stress.c: (GST_START_TEST),
2011         (simple_launch_lines_suite), (main):
2012         Small state change torture test.
2013
2014         * docs/design/part-states.txt:
2015         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2016         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2017         (gst_base_sink_change_state):
2018         Never take state lock from streaming thread, clean up ugly
2019         hacks. Unfortunatly core does not yet support nice ways to
2020         async commit state.
2021         
2022         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2023         (bin_bus_handler):
2024         Start state recalc if a STATE_DIRTY message is posted, but only
2025         on the toplevel bin.
2026
2027         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2028         (gst_element_get_state_func), (gst_element_abort_state),
2029         (gst_element_commit_state), (gst_element_lost_state),
2030         (gst_element_set_state_func), (gst_element_change_state):
2031         * gst/gstelement.h:
2032         State variables are now protected with the LOCK, the state
2033         lock is only used to serialize _set_state().
2034
2035 2005-10-18  Wim Taymans  <wim@fluendo.com>
2036
2037         * check/gst/gstbin.c: (GST_START_TEST):
2038         * check/gst/gstmessage.c: (GST_START_TEST):
2039         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2040         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2041         (bin_bus_handler):
2042         * gst/gstelement.c: (gst_element_abort_state),
2043         (gst_element_commit_state), (gst_element_lost_state):
2044         * gst/gstmessage.c: (gst_message_new_state_changed),
2045         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2046         (gst_message_new_segment_done), (gst_message_new_duration),
2047         (gst_message_parse_state_changed),
2048         (gst_message_parse_segment_start),
2049         (gst_message_parse_segment_done), (gst_message_parse_duration):
2050         * gst/gstmessage.h:
2051         * tools/gst-launch.c: (event_loop):
2052         Seriously, this is better than a previous commit as we only need
2053         to notify the fact that an element changed state in a streaming
2054         thread, marking the state of the parents dirty, hence the 
2055         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2056         message.
2057
2058 2005-10-18  Wim Taymans  <wim@fluendo.com>
2059
2060         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2061         (gst_bin_recalc_func):
2062         * gst/gstelement.c: (gst_element_set_clock),
2063         (gst_element_abort_state), (gst_element_lost_state):
2064         Cleanups, prepare for state change fixes.
2065
2066 2005-10-18  Wim Taymans  <wim@fluendo.com>
2067
2068         * gst/gstbin.h:
2069         * gst/gstelement.c: (gst_element_class_init),
2070         (gst_element_set_state), (gst_element_set_state_func):
2071         * gst/gstelement.h:
2072         Pending ABI changes.
2073         GThreadPool in GstBinClass to monitor async state changes.
2074         state_cookie in GstElement to detect concurrent gst/set state.
2075         set_state is now virtual too in case a very complicated element
2076         has to be constructed.
2077
2078 2005-10-18  Wim Taymans  <wim@fluendo.com>
2079
2080         * check/gst/gstbin.c: (GST_START_TEST):
2081         * check/gst/gstmessage.c: (GST_START_TEST):
2082         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2083         * gst/gstbin.c: (bin_bus_handler):
2084         * gst/gstelement.c: (gst_element_commit_state),
2085         (gst_element_lost_state):
2086         * gst/gstmessage.c: (gst_message_new_state_changed),
2087         (gst_message_new_segment_start), (gst_message_new_segment_done),
2088         (gst_message_new_duration), (gst_message_parse_state_changed),
2089         (gst_message_parse_segment_start),
2090         (gst_message_parse_segment_done), (gst_message_parse_duration):
2091         * gst/gstmessage.h:
2092         * tools/gst-launch.c: (event_loop):
2093         Make messages future proof.
2094         state-change gets a flag if it was a message comming from the
2095         streaming thread.
2096         segment-start/stop can also be specified in other formats.
2097         A message to notify an app that a pipeline changed playback 
2098         duration.
2099         Also fix a GstMessage leak in -launch
2100
2101 2005-10-18  Andy Wingo  <wingo@pobox.com>
2102
2103         * gst/gstelement.c (gst_element_dispose): More helpful message.
2104
2105 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2106
2107         reviewed by: <delete if not using a buddy>
2108
2109         * common/gtk-doc.mak:
2110
2111 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2112
2113         * gst/gstregistry.c: (gst_registry_scan_path_level):
2114           unref a plug-in we get that was already initialized
2115
2116 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2117
2118         * docs/gst/gstreamer-sections.txt:
2119         * docs/libs/gstreamer-libs-sections.txt:
2120         * gst/gstelement.h:
2121           add new api entries
2122           hide internal macro
2123
2124 2005-10-17  Andy Wingo  <wingo@pobox.com>
2125
2126         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2127         cleanup.
2128
2129         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2130
2131         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2132
2133         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2134         (gst_element_get_state_func): Better debug message.
2135         (gst_element_commit_state): s/INFO/DEBUG/.
2136         (gst_element_lost_state, gst_element_change_state): 
2137
2138         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2139         (gst_message_new_custom): s/INFO/LOG/.
2140
2141 2005-10-17  Michael Smith <msmith@fluendo.com>
2142
2143         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2144           Check if end time is valid using end time, not start time.
2145
2146 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2147
2148         * check/gst-libs/controller.c: (GST_START_TEST),
2149         (gst_controller_suite):
2150         * libs/gst/controller/gstcontroller.c:
2151         (gst_controlled_property_set_interpolation_mode):
2152         * libs/gst/controller/gstcontroller.h:
2153         * libs/gst/controller/gstinterpolation.c:
2154         * testsuite/controller/.cvsignore:
2155         * testsuite/controller/Makefile.am:
2156         * testsuite/controller/interpolator.c:
2157           merge controller testsuites
2158           fix broken tests
2159           remove mem-chunk from docs
2160
2161 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2162
2163         * gst/gstmemchunk.c:
2164         * gst/gstmemchunk.h:
2165         * gst/gsttrashstack.c:
2166         * gst/gsttrashstack.h:
2167           out.  get out.  you're fired.  to the Attic !
2168
2169 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2170
2171         * gst/gstcaps.c: (gst_caps_intersect):
2172           fix signedness issues in a (hopefully) correct way
2173         * gst/gstelement.c: (gst_element_pads_activate):
2174           some debugging
2175         * gst/gstobject.c: (gst_object_set_parent):
2176           some debugging
2177
2178 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2179
2180         * gst/gstvalue.h: Fix prototypes.
2181
2182 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2183
2184         * docs/gst/gstreamer-sections.txt:
2185         * gst/gst.c: (gst_version_string):
2186         * gst/gst.h:
2187         * gst/gstversion.h.in:
2188         * win32/common/libgstreamer.def:
2189           add gst_version_string ()
2190
2191 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2192
2193         * configure.ac:
2194           clean up further
2195         * gst/gst.c: (init_post):
2196         * win32/common/config.h.in:
2197           it's PLUGINDIR now
2198         * gst/gstcaps.c: (gst_caps_intersect):
2199           use gint64, the range could be bigger than a guint
2200
2201 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2202
2203         * gst/gstclock.h:
2204           document potential problem in 2038
2205
2206 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2207
2208         * gst/gstcaps.c: (gst_caps_intersect):
2209           Fix guint j diving under 0
2210
2211 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2212
2213         * configure.ac:
2214         * win32/common/config.h:
2215         * win32/common/config.h.in:
2216           check for process.h, declares getpid() on Windows
2217         * gst/gstinfo.c:
2218           include process.h if we have it
2219         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2220         * gst/gstmemchunk.h:
2221           fix signedness issues
2222         * win32/common/libgstreamer.def:
2223           fix get_type's
2224
2225 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2226
2227         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2228         fix. Because of unsigned ints, caps intersection was going nuts and
2229         trying to access structures with G_MAXUINT index. That fixes
2230         videotestsrc ! ffmpegcolorspace ! fakesink
2231         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2232         consistency.
2233
2234 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2235
2236         * configure.ac:
2237           use the gettext macro
2238         * gst/elements/gstelements.c:
2239         * gst/gst.c:
2240         * gst/indexers/gstindexers.c:
2241           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2242         * win32/common/config.h:
2243           updated config.h
2244         * win32/common/config.h.in:
2245           add the template to generate config.h
2246         * win32/common/gstenumtypes.c:
2247         * win32/common/gstversion.h:
2248           updated copies
2249
2250 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2251
2252         * gst/gst.c: (gst_version):
2253         * gst/gstversion.h.in:
2254           add the nano
2255
2256 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2257
2258         * gst/gstevent.h:
2259           Oops, add missing closing bracket.
2260
2261 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2262
2263         * configure.ac:
2264           use common m4's for argument checking
2265
2266 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * docs/gst/gstreamer-sections.txt:
2269         * gst/gstevent.h:
2270           Add GST_EVENT_TYPE_NAME() macro.
2271
2272 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2273
2274         * gst/gstinfo.c:
2275         * gst/gstpluginfeature.c:
2276         * gst/gsttask.c:
2277           privatize more symbols
2278
2279 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2280
2281         * configure.ac:
2282           add srcdir, builddir includes to GST_ALL_CFLAGS, since
2283           everything that uses GStreamer API should have the includes
2284
2285 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2286
2287         * docs/gst/gstreamer-sections.txt:
2288         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2289         * gst/gstvalue.h:
2290           give each value a _get_type, removes the DATA exports
2291
2292 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2293
2294         * gst/gst.c:
2295         * gst/gst.h:
2296           remove _gst_registry_auto_load, not used anymore
2297         * gst/gstbin.c: (gst_bin_get_type):
2298         * gst/gstbin.h:
2299         * gst/gstelement.c: (gst_element_get_type):
2300         * gst/gstelement.h:
2301         * gst/gstobject.c: (gst_object_get_type):
2302         * gst/gstobject.h:
2303         * gst/gstpad.c: (gst_pad_get_type):
2304         * gst/gstpad.h:
2305           make _get_type functions similar, fixes data export from library
2306
2307 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2308
2309         * configure.ac:
2310           correctly make conditionals
2311         * gst/elements/Makefile.am:
2312         * gst/elements/gstelements.c:
2313           fix typo causing fdsrc not to build
2314
2315 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2316
2317         * testsuite/Makefile.am:
2318         * testsuite/bytestream/.cvsignore:
2319         * testsuite/bytestream/Makefile.am:
2320         * testsuite/bytestream/filepadsink.c:
2321         * testsuite/bytestream/gstbstest.c:
2322         * testsuite/bytestream/test1.c:
2323         * testsuite/bytestream/testfile1:
2324         * testsuite/caps/normalisation.c:
2325         * testsuite/caps/random.c: (main):
2326         * testsuite/cleanup/.cvsignore:
2327         * testsuite/cleanup/Makefile.am:
2328         * testsuite/cleanup/cleanup1.c:
2329         * testsuite/cleanup/cleanup2.c:
2330         * testsuite/cleanup/cleanup3.c:
2331         * testsuite/cleanup/cleanup4.c:
2332         * testsuite/cleanup/cleanup5.c:
2333         * testsuite/controller/interpolator.c:
2334         * testsuite/debug/printf_extension.c: (main):
2335         * testsuite/elements/tee.c:
2336         * testsuite/negotiation/.cvsignore:
2337         * testsuite/negotiation/Makefile.am:
2338         * testsuite/negotiation/pad_link.c:
2339         * testsuite/pad/Makefile.am:
2340         * testsuite/pad/chainnopull.c:
2341         * testsuite/pad/getnopush.c:
2342         * testsuite/pad/link.c:
2343         * testsuite/refcounting/sched.c: (create_pipeline):
2344         * testsuite/registry/Makefile.am:
2345         * testsuite/registry/gst-print-formats.c:
2346         * testsuite/schedulers/.cvsignore:
2347         * testsuite/schedulers/142183-2.c:
2348         * testsuite/schedulers/142183.c:
2349         * testsuite/schedulers/143777-2.c:
2350         * testsuite/schedulers/143777.c:
2351         * testsuite/schedulers/147713.c:
2352         * testsuite/schedulers/147819.c:
2353         * testsuite/schedulers/147894-2.c:
2354         * testsuite/schedulers/147894.c:
2355         * testsuite/schedulers/Makefile.am:
2356         * testsuite/schedulers/group_link.c:
2357         * testsuite/schedulers/queue_link.c:
2358         * testsuite/schedulers/relink.c:
2359         * testsuite/schedulers/unlink.c:
2360         * testsuite/schedulers/unref.c:
2361         * testsuite/schedulers/useless_iteration.c:
2362         * testsuite/states/bin.c:
2363           clean out/remove some stuff from the testsuite directories
2364
2365 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2366
2367         * configure.ac:
2368           check for some headers
2369         * gst/elements/Makefile.am:
2370         * gst/elements/gstelements.c:
2371           don't compile fdsrc without sys/socket.h
2372         * gst/indexers/Makefile.am:
2373         * gst/indexers/gstindexers.c: (plugin_init):
2374           don't compile fileindex without mmap
2375
2376 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2377
2378         * configure.ac:
2379           reorganize
2380           clean up
2381           document more
2382           remove cruft
2383         * check/Makefile.am:
2384         * docs/gst/Makefile.am:
2385         * examples/helloworld/Makefile.am:
2386         * gst/Makefile.am:
2387         * gst/base/Makefile.am:
2388         * gst/check/Makefile.am:
2389         * gst/elements/Makefile.am:
2390         * gst/indexers/Makefile.am:
2391         * gst/parse/Makefile.am:
2392         * libs/gst/controller/Makefile.am:
2393         * libs/gst/dataprotocol/Makefile.am:
2394         * examples/helloworld/helloworld.c: (event_loop):
2395           compile fixes, though it's not being compiled currently
2396
2397 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2398
2399         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
2400           Add some simple tests for the new taglist date API.
2401
2402 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2403
2404         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
2405         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
2406           Beautify 'last-message' output: print 'none' for buffer timestamps
2407           and durations if none is set; improve alignment with next messages.
2408
2409 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
2410
2411         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
2412         * gst/gstpluginfeature.h:
2413         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
2414         * gst/gstregistry.h:
2415         * docs/gst/gstreamer-sections.txt:
2416           Add new API to check plugin feature version requirements.
2417
2418         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
2419           Some basic tests for the above.         
2420
2421 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2422
2423         * gst/gststructure.c: (gst_structure_to_string):
2424           guard against NULL printf - happens when for example
2425           a message structure with GstClock gets serialized
2426
2427 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2428
2429         * gst/base/gstcollectpads.c: (gst_collectpads_event):
2430           Fix presumable copy'n'pasto.
2431
2432 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2433
2434         * gst/elements/gstfakesrc.h:
2435         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
2436         * gst/elements/gsttypefindelement.c:
2437           fix some signedness
2438         * gst/elements/gstfilesink.c: (gst_file_sink_render):
2439           I wonder if this could actually write +2GB files before
2440
2441 2005-10-13  Andy Wingo  <wingo@pobox.com>
2442
2443         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
2444         Fix Timmeke Waymans bug.
2445         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
2446         string of the proper length to gst_caps_from_string. There's a
2447         potential for, before this fix, that this could cause someone
2448         connecting over the network to cause a segfault if the payload is
2449         not NUL-terminated.
2450
2451 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2452
2453         * docs/design/draft-push-pull.txt:
2454         * docs/design/part-overview.txt:
2455         * docs/random/TODO-pre-0.9:
2456         * docs/random/old/ChangeLog.gstreamer:
2457         * gst/base/gstpushsrc.c:
2458         * gst/gstclock.c:
2459           fixed typos
2460
2461 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2462
2463         * gst/glib-compat.c: (gst_flags_get_first_value):
2464         * gst/glib-compat.h:
2465         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
2466         (gst_value_compare_double), (gst_value_serialize_flags):
2467           GLib 2.6 g_flags_get_first_value has a bug that triggers an
2468           infinite loop
2469
2470 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2471
2472         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2473         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2474           fix up debugging
2475         * tools/gst-launch.c: (event_loop):
2476           print out clock nicely
2477
2478 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2479
2480         * docs/gst/gstreamer-sections.txt:
2481         * gst/gsttaglist.h:
2482         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2483         (gst_tag_list_get_date_index):
2484           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2485           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2486
2487 2005-10-13  Julien MOUTTE  <julien@moutte.net>
2488
2489         * gst/base/gstcollectpads.c: (gst_collectpads_event),
2490         (gst_collectpads_chain):
2491         * gst/base/gstcollectpads.h: Handle newsegment and store informations
2492         in CollectData.
2493
2494 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
2495
2496         * docs/gst/gstreamer-sections.txt:
2497         * gst/gst.c:
2498         * gst/gsterror.h:
2499         * tools/gst-inspect.c: (main):
2500         * tools/gst-launch.c: (main):
2501         * tools/gst-run.c: (main):
2502         * tools/gst-xmlinspect.c: (main):
2503           fix GOption context leaks
2504           doc fixes
2505
2506 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2507
2508         * gst/gstbus.c:
2509           use HAVE_UNISTD_H
2510         * win32/common/config.h:
2511           update config
2512         * win32/vs6/grammar.dsp:
2513         * win32/vs6/libgstelements.dsp:
2514         * win32/vs6/libgstreamer.dsp:
2515           update vs6 files
2516
2517 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2518
2519         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2520         * gst/base/gstbasesrc.c: (gst_base_src_query):
2521           fix more guint64<->gdouble conversions
2522
2523 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2524
2525         * Makefile.am:
2526           add win32-update target
2527         * win32/common/gstconfig.h:
2528         * win32/common/gstenumtypes.c:
2529         * win32/common/gstenumtypes.h:
2530         * win32/common/gstversion.h:
2531           add files that visual studio can't generate
2532
2533 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2534
2535         * Makefile.am:
2536           add a win32-update target
2537         * configure.ac:
2538
2539 2005-10-12  Wim Taymans  <wim@fluendo.com>
2540
2541         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2542         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2543         * gst/gstelement.c: (gst_element_commit_state),
2544         (gst_element_set_state):
2545         Protect flags with proper lock.
2546         unref provided cached clock in dispose.
2547
2548 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2549
2550         * gst/gst.c:
2551         * gst/gstminiobject.h:
2552         * gst/gstpad.h:
2553         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2554           removed unused flags from miniobject
2555           doc fixes
2556
2557 2005-10-12  Wim Taymans  <wim@fluendo.com>
2558
2559         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2560         (gst_file_sink_event), (gst_file_sink_render):
2561         Flush before seeking.
2562
2563 2005-10-12  Andy Wingo  <wingo@pobox.com>
2564
2565         * gst/gst.c (gst_init_check): Ignore unknown options, as has
2566         always been the case.
2567
2568 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
2569
2570         * check/gst/gstbin.c: (GST_START_TEST):
2571         * docs/gst/gstreamer-sections.txt:
2572         * gst/base/gstbasesink.c: (gst_base_sink_init):
2573         * gst/base/gstbasesrc.c: (gst_base_src_init),
2574         (gst_base_src_get_range), (gst_base_src_check_get_range),
2575         (gst_base_src_start), (gst_base_src_stop):
2576         * gst/base/gstbasesrc.h:
2577         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2578         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2579         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2580         (bin_bus_handler):
2581         * gst/gstbin.h:
2582         * gst/gstbuffer.h:
2583         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2584         * gst/gstbus.h:
2585         * gst/gstelement.c: (gst_element_is_locked_state),
2586         (gst_element_set_locked_state), (gst_element_commit_state),
2587         (gst_element_set_state):
2588         * gst/gstelement.h:
2589         * gst/gstindex.c: (gst_index_init):
2590         * gst/gstindex.h:
2591         * gst/gstminiobject.h:
2592         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2593         (gst_object_set_parent):
2594         * gst/gstobject.h:
2595         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2596         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2597         * gst/gstpad.h:
2598         * gst/gstpadtemplate.h:
2599         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2600         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2601         * gst/gstpipeline.h:
2602         * gst/indexers/gstfileindex.c: (gst_file_index_load),
2603         (gst_file_index_commit):
2604         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2605         * testsuite/pad/link.c: (gst_test_src_init),
2606         (gst_test_filter_init), (gst_test_sink_init):
2607         * testsuite/states/locked.c: (main):
2608           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2609           moved bitshift from macro to enum definition
2610
2611 2005-10-12  Wim Taymans  <wim@fluendo.com>
2612
2613         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2614         * gst/elements/gstfilesink.c: (gst_file_sink_event),
2615         (gst_file_sink_render):
2616         Some more debugging info.
2617
2618 2005-10-12  Wim Taymans  <wim@fluendo.com>
2619
2620         * docs/design/part-states.txt:
2621         * tools/gst-launch.c: (main):
2622         Some doc updates.
2623         Revert non-intentional change.
2624
2625 2005-10-12  Wim Taymans  <wim@fluendo.com>
2626
2627         * check/gst/gstbin.c: (GST_START_TEST):
2628         * check/gst/gstelement.c: (GST_START_TEST):
2629         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2630         * check/gst/gstghostpad.c: (GST_START_TEST):
2631         * check/gst/gstpipeline.c: (GST_START_TEST):
2632         * check/pipelines/simple_launch_lines.c: (run_pipeline):
2633         * check/states/sinks.c: (GST_START_TEST):
2634         * gst/elements/gsttypefindelement.c: (stop_typefinding):
2635         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2636         (gst_bin_remove_func), (gst_bin_get_state_func),
2637         (gst_bin_recalc_state), (gst_bin_change_state_func),
2638         (bin_bus_handler):
2639         * gst/gstelement.c: (gst_element_get_state_func),
2640         (gst_element_get_state), (gst_element_abort_state),
2641         (gst_element_commit_state), (gst_element_set_state),
2642         (gst_element_change_state), (gst_element_change_state_func):
2643         * gst/gstelement.h:
2644         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2645         (gst_pipeline_provide_clock_func):
2646         * gst/gstutils.c: (gst_element_link_pads_filtered):
2647         * tools/gst-launch.c: (main):
2648         * tools/gst-typefind.c: (main):
2649         Use GstClockTime in _get_state() instead of GTimeVal.
2650         Remove old code in gstutils.c
2651
2652 2005-10-12  Andy Wingo  <wingo@pobox.com>
2653
2654         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2655         removed.
2656
2657         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2658         there is no task. Shouldn't affect any code, as nothing in our
2659         plugins checks this return value.
2660         (gst_pad_stop_task): Also take the stream lock if the pad has no
2661         task. Docs updated.
2662
2663 2005-10-12  Wim Taymans  <wim@fluendo.com>
2664
2665         * gst/gstpad.c: (pre_activate), (post_activate),
2666         (gst_pad_activate_pull), (gst_pad_activate_push):
2667         Cleanup activation code. Reset old state if
2668         activation failed.
2669
2670 2005-10-12  Wim Taymans  <wim@fluendo.com>
2671
2672         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2673         (gst_base_sink_change_state):
2674         No need to prerol after receiving EOS.
2675
2676         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2677         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2678         * gst/elements/gstidentity.c: (gst_identity_event):
2679         Print events more verbosely.
2680
2681 2005-10-12  Wim Taymans  <wim@fluendo.com>
2682
2683         * check/Makefile.am:
2684         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2685         * check/states/sinks2.c:
2686         Moved sinks2 testcode in sinks check.
2687
2688         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2689         (gst_bin_remove_func), (gst_bin_recalc_state),
2690         (gst_bin_change_state_func), (bin_bus_handler):
2691         Fix potential race condition when _get_state() iterated over an
2692         ASYNC element right before it posted a state completion.
2693
2694         * gst/gstclock.h:
2695         Do proper cast here.
2696
2697         * gst/gstevent.c: (gst_event_new_newsegment),
2698         (gst_event_parse_newsegment):
2699         A playback rate of 0.0 is not allowed.
2700
2701 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2702
2703         * win32/common/config.h:
2704         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2705         (_trewinddir), (_ttelldir), (_tseekdir):
2706         * win32/common/dirent.h:
2707         * win32/common/gtchar.h:
2708         * win32/common/libgstbase.def:
2709         * win32/common/libgstreamer.def:
2710         * win32/vs6/grammar.dsp:
2711         * win32/vs6/gst_inspect.dsp:
2712         * win32/vs6/gst_launch.dsp:
2713         * win32/vs6/gstreamer.dsw:
2714         * win32/vs6/libgstbase.dsp:
2715         * win32/vs6/libgstelements.dsp:
2716         * win32/vs6/libgstreamer.dsp:
2717           Visual Studio 6 project files, and a new common directory.
2718           Phear.
2719
2720 2005-10-11  Wim Taymans  <wim@fluendo.com>
2721
2722         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2723         (gst_base_sink_do_sync), (gst_base_sink_query),
2724         (gst_base_sink_change_state):
2725         * gst/base/gstbasesink.h:
2726         Correctly parse newsegment info.
2727
2728 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2729
2730         * gst/gst.c: (init_post):
2731           split plugin paths correctly
2732
2733 2005-10-11  Wim Taymans  <wim@fluendo.com>
2734
2735         * check/gst/gstevent.c: (GST_START_TEST):
2736         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2737         (gst_base_sink_change_state):
2738         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2739         * gst/base/gstbasetransform.c: (gst_base_transform_event):
2740         * gst/elements/gstfilesink.c: (gst_file_sink_event):
2741         * gst/gstevent.c: (gst_event_new_newsegment),
2742         (gst_event_parse_newsegment):
2743         * gst/gstevent.h:
2744         Added extra flag to newsegment for future API freeze.
2745         Updated check and base elements.
2746
2747 2005-10-11  Julien MOUTTE  <julien@moutte.net>
2748
2749         * gst/base/gstcollectpads.c: (gst_collectpads_init),
2750         (gst_collectpads_add_pad), (gst_collectpads_pop),
2751         (gst_collectpads_event), (gst_collectpads_chain):
2752         * gst/base/gstcollectpads.h: Handle EOS correctly.
2753
2754 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2755
2756         * tools/gst-launch.c: (main):
2757           more null protecting
2758
2759 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2760
2761         * gst/gst-i18n-lib.h:
2762           check for ENABLE_NLS, not GETTEXT_PACKAGE
2763         * gst/gstregistry.c: (gst_registry_add_plugin),
2764         (gst_registry_scan_path_level),
2765         (_gst_registry_remove_cache_plugins):
2766           protect possibly NULL strings
2767         * gst/parse/types.h:
2768           config.h already included before
2769         * tools/gst-inspect.c: (main):
2770           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2771           check for ENABLE_NLS, not GETTEXT_PACKAGE
2772         * tools/gst-launch.c: (main):
2773           check for ENABLE_NLS, not GETTEXT_PACKAGE
2774
2775 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2776
2777         * configure.ac:
2778           if we don't have glib, fail before testing 2.8
2779         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2780           fix a leak, should fix plugins-base testsuite
2781
2782 2005-10-11  Andy Wingo  <wingo@pobox.com>
2783
2784         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2785         take the mode we're going to as an arg. Go head and set the mode
2786         and flushing flags now, so that if the activate function starts a
2787         thread all the flags will be in the right state.
2788         (post_activate): Renamed also. Just handle making sure streaming
2789         finishes for the deactivation case, and setting the deactivated
2790         mode.
2791         (gst_pad_set_active): Complain loudly if deactivation fails.
2792         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2793         (gst_pad_activate_push): Adapt to pre/post_activate changes,
2794         remove the terrible hack.
2795
2796 2005-10-11  Wim Taymans  <wim@fluendo.com>
2797
2798         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2799         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2800         (gst_bin_recalc_state), (gst_bin_change_state_func),
2801         (gst_bin_dispose), (bin_bus_handler):
2802         * gst/gstbin.h:
2803         Prepare to make current EOS message queue more generic.
2804         Fix some typos.
2805
2806         * gst/gstevent.c: (gst_event_new_newsegment),
2807         (gst_event_parse_newsegment):
2808         * gst/gstevent.h:
2809         Rename base to stream_time.
2810
2811         * gst/gstmessage.h:
2812         Fix typo in docs.
2813
2814 2005-10-11  Wim Taymans  <wim@fluendo.com>
2815
2816         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2817         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2818         (gst_bin_change_state_func), (bin_bus_handler):
2819         * gst/gstbin.h:
2820         Work on proper clock selection.
2821
2822 2005-10-11  Edward Hervey  <edward@fluendo.com>
2823
2824         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
2825         * libs/gst/controller/gstcontroller.h:
2826         Added GList* version of _remove_properties() in order to be able to wrap
2827         it in bindings.
2828
2829 2005-10-11  Wim Taymans  <wim@fluendo.com>
2830
2831         * docs/design/part-states.txt:
2832         Some more docs.
2833
2834         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2835         (gst_bin_change_state_func), (bin_bus_handler):
2836         Doc updates. Don't distribute the same clock over and over again.
2837
2838         * gst/gstclock.c:
2839         * gst/gstclock.h:
2840         Doc updates.
2841
2842         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2843         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2844         (gst_pad_send_event):
2845         * gst/gstpad.h:
2846         Make probe emission threadsafe again.
2847         Register quarks and move _get_name() from utils.
2848         Doc updates.
2849
2850         * gst/gstpipeline.c: (gst_pipeline_class_init),
2851         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2852         Only redistribute the clock of it changed.
2853
2854         * gst/gstsystemclock.h:
2855         Doc updates. 
2856
2857         * gst/gstutils.c:
2858         * gst/gstutils.h:
2859         Moved the _flow_get_name() to GstPad.
2860
2861 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2862
2863         * check/gst-libs/gdp.c: (GST_START_TEST):
2864         * check/gst/gstcaps.c: (GST_START_TEST):
2865         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2866         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2867         (gst_dp_packet_from_caps):
2868           fix more valgrind warnings before turning up the heat
2869
2870 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
2871
2872         * gst/parse/grammar.y:
2873           some cleanup before the hacking
2874
2875 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2876
2877         * gst/base/gstbasesrc.c: (gst_base_src_query):
2878           use conversions
2879         * gst/gstutils.c: (gst_guint64_to_gdouble),
2880         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2881         * gst/gstutils.h:
2882           externalize, basesrc uses it
2883           obviously the implementation needs testing
2884
2885 2005-10-10  Wim Taymans  <wim@fluendo.com>
2886
2887         * tests/sched/Makefile.am:
2888         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2889         (make_pipeline3), (make_pipeline4), (print_elem), (main):
2890
2891 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2892
2893         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2894           apparently converting from guint64 to double is not implemented
2895           on MSVC
2896
2897 2005-10-10  Wim Taymans  <wim@fluendo.com>
2898
2899         * check/Makefile.am:
2900         * check/generic/states.c: (GST_START_TEST):
2901         * check/gst/gstbin.c: (GST_START_TEST):
2902         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2903         * check/states/sinks.c: (GST_START_TEST):
2904         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2905         (main):
2906         Check fixes, use API as stated in design docs, remove hacks.
2907
2908         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2909         (gst_base_sink_change_state):
2910         Catch stopping our task while we're shutting down.
2911
2912         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2913         (gst_bin_remove_func), (gst_bin_get_state_func),
2914         (gst_bin_recalc_state), (gst_bin_change_state_func),
2915         (bin_bus_handler):
2916         * gst/gstbin.h:
2917         * gst/gstelement.c: (gst_element_init),
2918         (gst_element_get_state_func), (gst_element_abort_state),
2919         (gst_element_commit_state), (gst_element_lost_state),
2920         (gst_element_set_state), (gst_element_change_state),
2921         (gst_element_change_state_func):
2922         * gst/gstelement.h:
2923         New state change algorithm (see #318116)
2924
2925         * gst/gstpipeline.c: (gst_pipeline_class_init),
2926         (gst_pipeline_init), (gst_pipeline_set_property),
2927         (gst_pipeline_get_property), (do_pipeline_seek),
2928         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2929         * gst/gstpipeline.h:
2930         Remove crude state change hacks.
2931
2932         * gst/gstutils.h:
2933         Remove crude hacks.
2934
2935         * tools/gst-launch.c: (main):
2936         Fixes for state change. Needs some more work to fully use the
2937         new stuff.
2938
2939 2005-10-10  Andy Wingo  <wingo@pobox.com>
2940
2941         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2942
2943         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2944         this flag, but it's not even in GLib 2.6. Odd. Hack around the
2945         issue.
2946
2947 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2948
2949         * gst/gstiterator.c: (gst_iterator_new):
2950           Fix my previous commit: GTypes passed to gst_iterator_new()
2951           can be fundamental types.
2952
2953 2005-10-10  Wim Taymans  <wim@fluendo.com>
2954
2955         * gst/gstelement.c: (gst_element_iterate_pad_list),
2956         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2957         (gst_element_iterate_sink_pads):
2958         Use src/sink pads lists for the respective iterators instead
2959         of filtering.
2960
2961 2005-10-10  Andy Wingo  <wingo@pobox.com>
2962
2963         Merged in popt removal + GOption addition patch from Ronald, bug
2964         #169772.
2965
2966         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2967         GstElement macros around, remove popt-related symbols, add goption
2968         stuff.
2969
2970         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2971         
2972         * docs/gst/Makefile.am:
2973         * docs/libs/Makefile.am: No POPT_CFLAGS.
2974         
2975         * examples/manual/Makefile.am:
2976         * docs/manual/basics-init.xml: Doc updates with an example.
2977         
2978         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2979         (gst_init), (parse_one_option), (parse_goption_arg):
2980         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2981         bit of hand merging and debugging to get the GOption stuff working
2982         tho.
2983         
2984         * tests/Makefile.am:
2985         * tools/Makefile.am:
2986         * tools/gst-inspect.c: (main):
2987         * tools/gst-launch.c: (main):
2988         * tools/gst-run.c: (main):
2989         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2990
2991 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * gst/gstiterator.c: (gst_iterator_new):
2994           Add assertions to make sure passed GType is likely to really
2995           be a GType (as the compiler won't catch it if the size and
2996           GType arguments get mixed up, see #318447).
2997
2998 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
2999
3000         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3001
3002         * gst/gstbin.c: (gst_bin_iterate_sorted):
3003           Pass GType and size arguments to gst_iterator_new() in the right
3004           order (maybe we should make _new() take the GType as first argument
3005           just like _new_list()?) (#318447).
3006           
3007
3008 2005-10-10  Wim Taymans  <wim@fluendo.com>
3009
3010         * gst/gstelement.c: (gst_element_finalize):
3011         And free the GStaticRecMutex too
3012
3013 2005-10-10  Andy Wingo  <wingo@pobox.com>
3014
3015         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3016         Allocate and free the mutex properly.
3017
3018         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3019         New macros.
3020         (GstElement): The state_lock is now recursive. Rebuild your
3021         plugins, suckers. Old macros adapted.
3022
3023         * docs/gst/gstreamer-sections.txt: Doc updates.
3024
3025         * gst/gstutils.h:
3026         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3027         (g_static_rec_cond_wait): Ported from state changes patch, while
3028         we wait on bug #317802 to be solved in a well-distributed GLib.
3029
3030         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3031         gst_element_change_state, variable name changes.
3032         (gst_element_change_state): Split out of gst_element_set_state in
3033         preparation for the state change merge. Doesn't pay attention to
3034         the 'transition' argument.
3035         (gst_element_set_state): Updates, hopefully purely cosmetic.
3036         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3037         state change patch.
3038         (gst_element_get_state_func): Renamed from get_state, cosmetic
3039         changes.
3040
3041 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3042
3043         * gst/elements/gstelements.c:
3044         * win32/GStreamer.vcproj:
3045         * win32/config.h:
3046         * win32/dirent.c: (_tseekdir):
3047         * win32/gst-inspect.vcproj:
3048         * win32/gst-launch.vcproj:
3049         * win32/gstconfig.h:
3050         * win32/gstelements.vcproj:
3051         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3052         * win32/gstreamer.def:
3053         * win32/msvc71.sln:
3054           updates for the win32 build (patch from Sebastien Moutte)
3055
3056 2005-10-10  Andy Wingo  <wingo@pobox.com>
3057
3058         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3059         gst_bin_get_state, cleaned up (but no logic changes).
3060         (bin_element_is_sink): Comment updates.
3061         (sink_iterator_filter): Remove needless cast.
3062         (gst_bin_iterate_sinks): Doc update.
3063         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3064         cleaned up (but no logic changes).
3065
3066         * check/states/sinks.c (test_src_sink): Cleanups from the state
3067         change patch.
3068         (test_livesrc_sink): Sync on the state.
3069
3070         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3071         the state change patch.
3072
3073         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3074         change patch.
3075
3076         * check/gst/gstbin.c: Merge in some style fixes and additional
3077         checks from Wim's state change patch.
3078
3079 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3080
3081         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3082         (gst_type_find_helper):
3083           Check whether we have the requested data already in our list of
3084           cached buffers before pulling a new buffer; also make the buffer
3085           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3086
3087 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3088
3089         * gst/gstcaps.c:
3090         * gst/gstevent.c:
3091           doc updates
3092         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3093           don't use long long, it's not portable.  Replacing with
3094           gint64 seems to work; let's hope no skeletons fall out of the closet.
3095
3096 2005-10-10  Andy Wingo  <wingo@pobox.com>
3097
3098         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3099
3100 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3101
3102         * docs/gst/gstreamer-sections.txt:
3103         * gst/gstevent.c:
3104         * gst/gstevent.h:
3105         * gst/gstinfo.c:
3106         * gst/gstinfo.h:
3107         * gst/gstmessage.c: (gst_message_parse_state_changed):
3108         * gst/gstpad.c:
3109         * gst/gstpad.h:
3110           more docs, fix compilation
3111
3112 2005-10-09  Philippe Khalaf <burger@speedy.org>
3113         * gst/gstmessage.c:
3114           Fixed a few forgotten variables on previous commit
3115
3116 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3119           Fix evil typefind crasher: getrange() might return a short
3120           buffer at the end of a file, but gst_type_find_peek() must
3121           either return the full data as requested or NULL, but
3122           never a short buffer.
3123
3124 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3125
3126         * gst/gstmessage.c: (gst_message_new_state_changed),
3127         (gst_message_parse_state_changed):
3128         * gst/gstmessage.h:
3129           don't use "new", it's a C++ keyword
3130
3131 2005-10-08  Wim Taymans  <wim@fluendo.com>
3132
3133         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3134         * gst/gstelement.c: (gst_element_post_message):
3135         * gst/gstpipeline.c: (gst_pipeline_change_state):
3136         Small docs and debug updates.
3137
3138 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3139
3140         * docs/gst/gstreamer-sections.txt:
3141         * gst/gstelementfactory.c:
3142         * gst/gstevent.c:
3143         * gst/gsttaglist.c:
3144           more docs
3145
3146 2005-10-08  Wim Taymans  <wim@fluendo.com>
3147
3148         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3149         (gst_bin_dispose), (bin_bus_handler):
3150         Fix typos, add comments.
3151         Clear EOS list when going to PAUSED from any direction and do it
3152         in a threadsafe way.
3153         Get base time in a threadsafe way too.
3154         Fix confusing debug in the change_state function.
3155         Various other small cleanups.
3156         
3157         * gst/gstelement.c: (gst_element_post_message):
3158         Fix very verbose bus posting code.
3159
3160         * gst/gstpipeline.c: (gst_pipeline_class_init),
3161         (gst_pipeline_set_property), (gst_pipeline_get_property),
3162         (gst_pipeline_change_state):
3163         Small ARG_ -> PROP_ cleanup
3164
3165 2005-10-08  Wim Taymans  <wim@fluendo.com>
3166
3167         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3168         Do a less CPU demanding EOS check because we can.
3169
3170 2005-10-08  Wim Taymans  <wim@fluendo.com>
3171
3172         * libs/gst/dataprotocol/dataprotocol.c:
3173         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3174         (gst_dp_packet_from_event):
3175         * libs/gst/dataprotocol/dataprotocol.h:
3176         * libs/gst/dataprotocol/dp-private.h:
3177         It's about time we bump the version number.
3178         Since event types don't fit in the guint8 anymore describing
3179         the payload type, make payload type 16 bits wide.
3180
3181 2005-10-08  Wim Taymans  <wim@fluendo.com>
3182
3183         * docs/design/part-TODO.txt:
3184         * docs/design/part-clocks.txt:
3185         * docs/design/part-events.txt:
3186         * docs/design/part-gstbin.txt:
3187         * docs/design/part-gstelement.txt:
3188         * docs/design/part-gstpipeline.txt:
3189         * docs/design/part-live-source.txt:
3190         * docs/design/part-messages.txt:
3191         * docs/design/part-overview.txt:
3192         * docs/design/part-states.txt:
3193         Many doc updates.
3194
3195 2005-10-08  Wim Taymans  <wim@fluendo.com>
3196
3197         * gst/gstevent.c:
3198         * gst/gstevent.h:
3199         Fix event quark registration.
3200         Add some space between events so we can insert them in the
3201         right groups.
3202
3203 2005-10-08  Wim Taymans  <wim@fluendo.com>
3204
3205         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3206         (gst_base_sink_handle_buffer):
3207         Better log message.
3208
3209         * gst/gstbus.h:
3210         * gst/gstelement.h:
3211         More docs.
3212
3213         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3214         (gst_queue_set_property), (gst_queue_get_property):
3215         * gst/gstqueue.h:
3216         Remove old unused properties.
3217
3218 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3219         * docs/gst/gstreamer-sections.txt:
3220         * gst/gstmessage.c:
3221         * gst/gstmessage.h:
3222         * gst/gstminiobject.c:
3223         * gst/gstminiobject.h:
3224         * gst/gstobject.h:
3225         * gst/gstpad.h:
3226         * gst/gstutils.h:
3227           lots of new docs and doc fixes
3228
3229 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3230
3231         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3232         * gst/gstplugin.h:
3233         * gst/gstregistry.c: (gst_registry_lookup_locked),
3234         (gst_registry_scan_path_level):
3235         * gst/gstregistryxml.c: (load_plugin):
3236           Only ever load one plugin for a given plugin basename.
3237           This ensures correct overriding of GST_PLUGIN_PATH over
3238           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3239           system installed plugins.
3240
3241 2005-10-08  Wim Taymans  <wim@fluendo.com>
3242
3243         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3244         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3245         Prepare for doing QOS.
3246
3247 2005-10-08  Wim Taymans  <wim@fluendo.com>
3248
3249         * check/gst/gstbin.c: (GST_START_TEST):
3250         * check/pipelines/cleanup.c: (GST_START_TEST):
3251         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3252         Allow new clock message too.
3253
3254 2005-10-08  Wim Taymans  <wim@fluendo.com>
3255
3256         * gst/gstmessage.c: (gst_message_new_error),
3257         (gst_message_new_warning), (gst_message_new_tag),
3258         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3259         (gst_message_new_clock_lost), (gst_message_new_new_clock),
3260         (gst_message_new_segment_start), (gst_message_new_segment_done),
3261         (gst_message_parse_state_changed),
3262         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3263         (gst_message_parse_new_clock):
3264         * gst/gstmessage.h:
3265         Also carry the clock in question.
3266
3267 2005-10-08  Wim Taymans  <wim@fluendo.com>
3268
3269         * gst/gstmessage.c: (gst_message_new_custom),
3270         (gst_message_new_eos), (gst_message_new_error),
3271         (gst_message_new_warning), (gst_message_new_tag),
3272         (gst_message_new_state_changed), (gst_message_new_clock_provide),
3273         (gst_message_new_new_clock), (gst_message_new_segment_start),
3274         (gst_message_new_segment_done), (gst_message_parse_state_changed),
3275         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
3276         * gst/gstmessage.h:
3277         Clean up.
3278         Added clock related messages.
3279
3280         * gst/gstpipeline.c: (gst_pipeline_change_state):
3281         Post message when the clock changed.
3282
3283         * tools/gst-launch.c: (event_loop):
3284         Print new clock.
3285
3286 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3287
3288         * tools/gst-inspect.c: (print_element_properties_info):
3289           Can't pass NULL strings to g_print() on windows.
3290
3291 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3292
3293         * docs/Makefile.am:
3294         * docs/gst/Makefile.am:
3295         * docs/gst/gstreamer-docs.sgml:
3296         * docs/gst/running.xml:
3297         * docs/version.entities.in:
3298           add a chapter on running GStreamer.
3299           document GST_DEBUG and GST_PLUGIN* env vars
3300
3301 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3302
3303         * Makefile.am:
3304           remove include dir
3305         * configure.ac:
3306           remove PLUGINS_BUILDDIR stuff
3307         * gst/gst.c: (init_post):
3308           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
3309         * idiottest.mak:
3310           remove, it was condescending and not needed
3311
3312 2005-10-08  Wim Taymans  <wim@fluendo.com>
3313
3314         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3315         (gst_base_sink_handle_object), (gst_base_sink_event),
3316         (gst_base_sink_wait), (gst_base_sink_handle_event),
3317         (gst_base_sink_change_state):
3318         * gst/base/gstbasesink.h:
3319         Repost EOS message while going to PLAYING if still EOS.
3320         Make sure that when receiving a FLUSH_START we don't attempt
3321         to sync on the clock anymore.
3322
3323 2005-10-08  Wim Taymans  <wim@fluendo.com>
3324
3325         * tools/gst-launch.c: (event_loop):
3326         Better message printout.
3327
3328 2005-10-08  Wim Taymans  <wim@fluendo.com>
3329
3330         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
3331         (gst_bin_child_proxy_get_children_count):
3332         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3333         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
3334         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
3335         (gst_child_proxy_set_valist):
3336         * gst/parse/grammar.y:
3337         Make ChildProxy threadsafe and fix mem leaks.
3338
3339 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3340
3341         * gst/gst.c: (init_post):
3342           debug the GST_PLUGIN_ env vars
3343
3344 2005-10-08  Wim Taymans  <wim@fluendo.com>
3345
3346         * check/gst/gstbin.c: (GST_START_TEST):
3347         * check/gst/gstmessage.c: (GST_START_TEST):
3348         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3349         * gst/gstelement.c: (gst_element_commit_state),
3350         (gst_element_lost_state):
3351         * gst/gstmessage.c: (gst_message_new_state_changed),
3352         (gst_message_parse_state_changed):
3353         * gst/gstmessage.h:
3354         * tools/gst-launch.c: (event_loop):
3355         Added extra field to STATE_CHANGE message with the pending
3356         state, which will be different from the new state soon.
3357
3358 2005-10-08  Wim Taymans  <wim@fluendo.com>
3359
3360         * gst/gstbus.c: (gst_bus_pop):
3361         * gst/gstclock.c:
3362         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
3363         Small cleanups and doc updates.
3364
3365 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3366
3367         * gst/gst.c: (init_pre):
3368         * gst/gstbin.c: (gst_bin_add_func):
3369           log distributing clocks and base time
3370         * gst/gstregistry.c: (gst_registry_add_plugin),
3371         (gst_registry_scan_path_level), (gst_registry_scan_path):
3372           clean up the debugging output a little
3373         * gst/gstutils.c: (gst_element_state_get_name):
3374           warn about a memleak (I've actually seen this be used, though
3375           it was probably a bug)
3376
3377 2005-10-07  Wim Taymans  <wim@fluendo.com>
3378
3379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3380         (gst_base_src_init), (gst_base_src_default_newsegment),
3381         (gst_base_src_newsegment), (gst_base_src_do_seek),
3382         (gst_base_src_loop), (gst_base_src_start):
3383         * gst/base/gstbasesrc.h:
3384         Make the newsegment event customizable by subclasses.
3385
3386 2005-10-07  Wim Taymans  <wim@fluendo.com>
3387
3388         * gst/gstevent.c: (gst_event_new_buffersize),
3389         (gst_event_parse_buffersize):
3390         * gst/gstevent.h:
3391         New event for future idea.
3392
3393 2005-10-07  Andy Wingo  <wingo@pobox.com>
3394
3395         * gst/gstelement.c (gst_element_post_message): Doc update.
3396
3397         * docs/gst/gstreamer-sections.txt: Update.
3398
3399         * gst/gstmessage.c (gst_message_new_application): Made into a
3400         function like honest API calls.
3401         (gst_message_new_element): New message type.
3402
3403         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
3404
3405         * check/elements/fakesrc.c (test_no_preroll): New check, checks
3406         that setting a live fakesrc to PAUSED returns NO_PREROLL both
3407         times.
3408
3409         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
3410         NO_PREROLL from gst_element_change_state to fall through.
3411
3412 2005-10-07  Wim Taymans  <wim@fluendo.com>
3413
3414         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
3415         (gst_ghost_pad_do_activate_push):
3416         Activating a ghostpad with no internal pad in push mode
3417         is ok.
3418
3419 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3420
3421         * gst/gstobject.h:
3422           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
3423           Fixes compilation on Windows.
3424
3425 2005-10-07  Michael Smith <msmith@fluendo.com>
3426
3427         * tools/gst-inspect.c:
3428           Print out feature and plugin count at the end when printing out
3429           all features.
3430
3431 2005-10-04  Michael Smith <msmith@fluendo.com>
3432
3433         * gst/gsterror.c: (_gst_stream_errors_init):
3434           Add another error string used in a few existing plugins.
3435
3436         * gst/gstplugin.c:
3437         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3438         * tools/gst-inspect.c: (print_element_info):
3439           When a feature disappears from a plugin (and the feature exists in
3440           the cached registry file), things went horribly wrong. This isn't a
3441           complete fix, we should actually be removing the 'missing' features
3442           from the features list when we load the actual plugin. That's not
3443           yet implemented. 
3444
3445 2005-10-04  Johan Dahlin  <johan@gnome.org>
3446
3447         * check/gst/gstiterator.c: (GST_START_TEST):
3448         * gst/gstbin.c: (gst_bin_iterate_elements),
3449         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
3450         * gst/gstelement.c: (gst_element_iterate_pads):
3451         * gst/gstformat.c: (gst_format_iterate_definitions):
3452         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
3453         (gst_iterator_new_list), (gst_iterator_filter):
3454         * gst/gstiterator.h:
3455         * gst/gstquery.c: (gst_query_type_iterate_definitions):
3456         Add a GType to GstIterator, update callsites and tests.
3457
3458 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3459
3460         * gst/gstpad.c: (gst_pad_event_default_dispatch):
3461           give events a chance to be handled by event probes when the pad
3462           is not linked
3463
3464 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3465
3466         * gst/gstevent.c: (gst_event_type_get_name),
3467         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
3468         * gst/gstevent.h:
3469           add string representations for event types
3470
3471 2005-10-06  Wim Taymans  <wim@fluendo.com>
3472
3473         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
3474         Don't use NULL pointers.
3475
3476 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3477
3478         * gst/gst_private.h:
3479         * gst/gstbus.c:
3480         * gst/gstelement.c:
3481         * gst/gstinfo.c:
3482         * gst/gstpluginfeature.c:
3483           widen the debug category in output to fit the biggest one we have
3484           add a bus category and use it
3485           play with the colors
3486           fix up some categories
3487
3488 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3489
3490         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3491           add push activation of sink ghost pads.
3492           Andye, please verify
3493
3494 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3495
3496         * gst/gstutils.c: (gst_element_link_pads):
3497           fix a bug in the case where neither element has a pad
3498         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3499           add a test for that case
3500
3501 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3502
3503         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3504           emit have-data before checking for peers.  This allows
3505           for probe handlers to connect elements.  This helps autopluggers.
3506         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3507         (gst_pad_suite):
3508           add six checks, linked/unlinked with no/true/false probe
3509
3510 2005-10-04  Wim Taymans  <wim@fluendo.com>
3511
3512         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3513         (gst_fake_sink_event), (gst_fake_sink_preroll),
3514         (gst_fake_sink_render), (gst_fake_sink_change_state):
3515         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3516         (gst_fake_src_get_property), (gst_fake_src_create),
3517         (gst_fake_src_stop):
3518         * gst/elements/gstidentity.c: (gst_identity_stop):
3519         Protect last_message with lock.
3520
3521 2005-10-04  Edward Hervey  <edward@fluendo.com>
3522
3523         * gst/gstformat.h: 
3524         Added precision in the comments for GST_FORMAT_DEFAULT
3525
3526 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
3527
3528         * tools/gst-launch.c: (main):
3529           Don't try to run erroneous pipelines.
3530
3531 2005-10-04  Julien MOUTTE  <julien@moutte.net>
3532
3533         * gst/gstbus.c: We don't need this header.
3534
3535 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3536
3537         * configure.ac:
3538           back to development
3539
3540 === release 0.9.3 ===
3541
3542 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3543
3544         * README:
3545         * configure.ac:
3546           Releasing 0.9.3, "Unregistered"
3547
3548 2005-10-03  Andy Wingo  <wingo@pobox.com>
3549
3550         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3551         whereby calling a pad's activatepush() function can start a thread
3552         that starts to push or pull before the pad gets the FLUSHING flag
3553         unset. Hack around it by holding the stream lock until the flag is
3554         set. Need to replace this with a proper solution. Together with
3555         the ghost pad fixes, this fixes mp3 playing/tagreading.
3556
3557         * docs/design/part-gstghostpad.txt: Add a note about activation of
3558         proxy pads outside of ghost pads.
3559
3560         * gst/gstghostpad.c: Implement the ghost pad activation design.
3561
3562 2005-10-02  Andy Wingo  <wingo@pobox.com>
3563
3564         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3565         It is volatile, after all.
3566
3567         * docs/design/part-gstghostpad.txt: Flesh out activation with
3568         ghost pads.
3569
3570         * gst/base/gstbasesrc.c (gst_base_src_init): Use
3571         GST_DEBUG_FUNCPTR.
3572
3573 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
3574
3575         * configure.ac:
3576           Fix (unused) AM_CONDITIONAL tests.
3577
3578 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
3579
3580         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         * gst/gstutils.c: (gst_pad_query_convert):
3583           Add assertion that makes sure src_val is >=0, just like
3584           gst_query_new_convert() has. (#315895)
3585
3586 2005-09-30  Edward Hervey  <edward@fluendo.com>
3587
3588         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3589         Let's not iterate pads we're not interested in, it avoids getting 
3590         sky-high refcounts on sinkpad.
3591
3592 2005-09-30  Wim Taymans  <wim@fluendo.com>
3593
3594         * gst/gstelement.c: (gst_element_set_state),
3595         (gst_element_change_state):
3596         Small tweak, element in ASYNC remains ASYNC.
3597
3598 2005-09-30  Wim Taymans  <wim@fluendo.com>
3599
3600         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3601         Only error is an error.
3602
3603         * gst/gstbin.c: (gst_bin_change_state):
3604         Better debugging.
3605
3606         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3607         Also call pad_block in pad alloc.
3608
3609         * gst/gstutils.c: (gst_flow_get_name):
3610         Better debugging.
3611
3612 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3613
3614         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3615         (gst_base_src_get_range):
3616           Fix documentation typos. Add some more debug info.
3617
3618 2005-09-29  David Schleef  <ds@schleef.org>
3619
3620         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3621           more end-user friendly.
3622         * tools/gst-inspect.c: (main): Check if command-line argument is
3623           a file and attempt to load that file as a plugin.
3624
3625 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3626
3627         * check/gst/gstbin.c:
3628         * check/states/sinks.c:
3629           fix tests for the new warning
3630         * check/gst/gstpipeline.c:
3631           add a test for pipeline and bus interaction
3632         * gst/gstelement.c:
3633           elements should be NULL if they get disposed; add a warning if not
3634
3635 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3636
3637         * gst/gstobject.c:
3638           for 2.6 refcounting, make debug log more correct by printing
3639           the actual refcounts at the time of swap (Wim)
3640
3641 2005-09-29  Andy Wingo  <wingo@pobox.com>
3642
3643         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3644         removes signal watches previously added via
3645         gst_bus_add_signal_watch.
3646         (gst_bus_add_signal_watch): Don't return the source id, just store
3647         it on the bus if there wasn't an id already.
3648
3649         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3650         add_signal_watch and remove_signal_watch.
3651
3652 2005-09-29  Edward Hervey  <edward@fluendo.com>
3653
3654         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
3655         Better if we actually iterate the list :)
3656
3657 2005-09-29  Wim Taymans  <wim@fluendo.com>
3658
3659         * check/gst/gstbin.c: (GST_START_TEST):
3660         Change for new bus API.
3661
3662         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3663         (send_messages), (GST_START_TEST), (gstbus_suite):
3664         Change for new bus signal API.
3665
3666         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3667         (gst_bus_source_prepare), (gst_bus_source_check),
3668         (gst_bus_create_watch), (gst_bus_add_watch_full),
3669         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3670         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3671         * gst/gstbus.h:
3672         Remove support for multiple GSources operating on different
3673         message types as it is too complex and unneeded when using
3674         signals.
3675         Added support for receiving signals from the bus.
3676
3677 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3678
3679         * docs/libs/tmpl/gstdataprotocol.sgml:
3680         * docs/manual/advanced-dataaccess.xml:
3681         * gst/elements/gstcapsfilter.c:
3682         * gst/gstutils.c:
3683           rename filter-caps to caps property
3684
3685 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3686
3687         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3688           More robust fraction string parsing.
3689
3690         * docs/pwg/appendix-porting.xml:
3691           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3692
3693 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * gst/gstcaps.c: (gst_caps_do_simplify):
3696           Thou shalt not free a structure and then continue using it
3697           in the next loop iteration.
3698
3699         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3700         (gst_caps_suite):
3701           Add test case for caps simplification.
3702
3703 2005-09-29  Wim Taymans  <wim@fluendo.com>
3704
3705         * check/gst/gstbin.c: (GST_START_TEST):
3706         Oops.
3707
3708 2005-09-29  Wim Taymans  <wim@fluendo.com>
3709
3710         * check/gst/gstbin.c: (GST_START_TEST):
3711         Add bus to bin.
3712
3713         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3714         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3715         (find_element), (gst_bin_sort_iterator_next),
3716         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3717         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3718         (gst_bin_change_state), (gst_bin_dispose):
3719         A bin does not have a bus, it gets the bus from the parent.
3720
3721         * gst/gstelement.c: (gst_element_requires_clock),
3722         (gst_element_provides_clock), (gst_element_is_indexable),
3723         (gst_element_is_locked_state), (gst_element_change_state),
3724         (gst_element_set_bus_func):
3725         Small cleanups.
3726
3727         * gst/gstpipeline.c: (gst_pipeline_class_init),
3728         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3729         The pipeline provides a bus.
3730
3731 2005-09-28  Johan Dahlin  <johan@gnome.org>
3732
3733         * gst/gstmessage.c (gst_message_parse_state_changed): Use
3734         gst_structure_get_enum instead of gst_structure_get_int
3735
3736         * gst/gststructure.c (gst_structure_get_enum): Impl.
3737
3738         * gst/gststructure.h (gst_structure_get_enum): Add
3739
3740         * docs/gst/gstreamer-sections.txt: Ditto
3741
3742         * gst/gstmessage.c (gst_message_new_state_changed): Use
3743         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3744         which does introspection.
3745         Reviewed by Christian Schaller
3746
3747 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * gst/gstinfo.c: (gst_debug_log_default):
3750           don't do dummy g_strdup()s
3751         * libs/gst/controller/gstcontroller.c:
3752         (on_object_controlled_property_changed),
3753         (gst_controlled_property_new), (gst_controller_new_valist),
3754         (gst_controller_new_list),
3755         (gst_controller_remove_properties_valist), (gst_controller_set),
3756         (gst_controller_get), (gst_controller_sync_values),
3757         (gst_controller_get_value_array), (_gst_controller_class_init),
3758         (gst_controller_get_type):
3759         * libs/gst/controller/gstcontroller.h:
3760         * libs/gst/controller/gstinterpolation.c:
3761         (gst_controlled_property_find_timed_value_node):
3762           convert // to /**/ comments
3763
3764 2005-09-28  Wim Taymans  <wim@fluendo.com>
3765
3766         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3767         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3768         (gst_bus_sync_signal_handler):
3769         * gst/gstbus.h:
3770         Added async-message and sync-message signals to the bus.
3771         Added helper BusFunc to emit signals for all posted messages.
3772
3773         * gst/gstmessage.c: (gst_message_type_get_name),
3774         (gst_message_type_to_quark), (gst_message_get_type):
3775         * gst/gstmessage.h:
3776         Register quarks for message names.
3777
3778 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
3779
3780         * docs/libs/gstreamer-libs-sections.txt:
3781         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3782         (gst_controller_new_list):
3783         * libs/gst/controller/gstcontroller.h:
3784           added another constructor for language bindings
3785
3786 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3787
3788         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3789           add another check
3790         * gst/gstbus.c:
3791           add some doc
3792         * gst/gstinfo.c: (_gst_debug_init):
3793           slightly more readable color for refcount debugging
3794
3795 2005-09-28  Wim Taymans  <wim@fluendo.com>
3796
3797         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3798         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3799         (find_element), (gst_bin_sort_iterator_next),
3800         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3801         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3802         (gst_bin_change_state), (gst_bin_dispose):
3803         Small doc fixes. get_clock -> provide_clock.
3804
3805         * gst/gstelement.c: (gst_element_class_init),
3806         (gst_element_provides_clock), (gst_element_provide_clock),
3807         (gst_element_get_clock), (gst_element_commit_state),
3808         (gst_element_lost_state):
3809         * gst/gstelement.h:
3810         Make get/set_clock() symetric. Add provide_clock vmethod since
3811         that is actually what this function does.
3812
3813         * gst/gstpipeline.c: (gst_pipeline_class_init),
3814         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3815         (gst_pipeline_get_clock):
3816         get_clock -> provide_clock.
3817
3818 2005-09-28  Andy Wingo  <wingo@pobox.com>
3819
3820         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3821         lieu of real docs...
3822
3823         * gst/elements/gstfdsrc.c: Cleaned up a bit.
3824
3825 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
3826
3827         * gst/elements/gstcapsfilter.c:
3828         * gst/elements/gstfakesink.c:
3829         * gst/elements/gstfakesrc.c:
3830         * gst/elements/gstfdsink.c:
3831         * gst/elements/gstfdsrc.c:
3832         * gst/elements/gstfilesink.c:
3833         * gst/elements/gstfilesrc.c:
3834         * gst/elements/gstidentity.c:
3835         * gst/elements/gsttee.c:
3836         * gst/elements/gsttypefindelement.c:
3837           Make element details static.
3838
3839 2005-09-28  Wim Taymans  <wim@fluendo.com>
3840
3841         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3842         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3843         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3844         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3845         (gst_bin_change_state), (gst_bin_dispose):
3846         Some documentation updates.
3847         Clean up dispose handlers.
3848
3849         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3850         * gst/gstpad.c: (gst_pad_dispose):
3851         Clean up dispose handler.
3852
3853         * gst/gstpipeline.c: (gst_pipeline_change_state):
3854         Removed spurious UNLOCK.
3855
3856 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
3857
3858         * docs/gst/gstreamer-sections.txt:
3859         * gst/base/gstbasesrc.h:
3860         * gst/gstelement.h:
3861         * gst/gstevent.h:
3862         * gst/gstobject.h:
3863         * gst/gstpad.h:
3864         * gst/gstpipeline.c:
3865         * gst/gstpipeline.h:
3866         * gst/gstutils.h:
3867         * gst/gstxml.h:
3868           added two new functions to the docs
3869                 documents all undocumented GstXXXFlags
3870                 completed some incomplete docs 
3871
3872 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
3873
3874         * gst/gstbin.c: (gst_bin_dispose):
3875         * gst/gstelement.c: (gst_element_dispose):
3876           remove now useless and leaky resurrection code in dispose
3877         * gst/base/gstbasesrc.c: (gst_base_src_init):
3878         * gst/gstelementfactory.c: (gst_element_factory_create):
3879         * gst/gstobject.c: (gst_object_set_parent):
3880           add some debugging
3881
3882 2005-09-27  Wim Taymans  <wim@fluendo.com>
3883
3884         * docs/design/part-TODO.txt:
3885         Update TODO.
3886
3887         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3888         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3889         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3890         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3891         (gst_bin_change_state):
3892         * gst/gstelement.h:
3893         Remove element variable, we keep element info in the iterator now.
3894
3895 2005-09-27  Andy Wingo  <wingo@pobox.com>
3896
3897         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3898         values.
3899
3900 2005-09-27  Wim Taymans  <wim@fluendo.com>
3901
3902         * check/gst/gstbin.c: (GST_START_TEST):
3903         Enable check that works now.
3904
3905         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3906         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3907         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3908         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3909         (gst_bin_change_state):
3910         * gst/gstbin.h:
3911         Redid the state change algorithm using a topological sort algo.
3912         Handles all cases correctly.
3913         Exposed iterator for state change order.
3914
3915         * gst/gstelement.h:
3916         Temp storage for state changes. Need to get rid of this soon.
3917
3918 2005-09-27  Wim Taymans  <wim@fluendo.com>
3919
3920         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3921         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3922         (link_fold_func), (gst_pad_proxy_setcaps):
3923         Leak fixes, the fold functions need to unref the passed object and
3924         _get_parent_*() returns ref to parent.
3925
3926 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * check/gst/gstbuffer.c: (test_make_writable):
3929           Plug leak in test case and fix 'make check-valgrind'
3930
3931 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * gst/gstbuffer.c: (gst_subbuffer_init):
3934           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3935           works correctly in all circumstances (we could have just copied
3936           the parent buffer's readonly flag, but conceptually it seems
3937           cleaner to mark all subbuffers as read-only). (based on patch
3938           by Alessandro Decina, #314710).
3939         
3940         * check/gst/gstbuffer.c: (create_read_only_buffer),
3941         (test_make_writable), (test_subbuffer_make_writable),
3942         (gst_test_suite):
3943           Add some tests for gst_buffer_make_writable().
3944
3945 2005-09-27  Wim Taymans  <wim@fluendo.com>
3946
3947         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3948         use gst_object_has_ancestor().
3949
3950         * gst/gstobject.c: (gst_object_has_ancestor):
3951         * gst/gstobject.h:
3952         gst_object_has_ancestor() copied from gstbin.c as it is a
3953         usefull function.
3954
3955         * tests/instantiate/create.c: (create_all_elements):
3956         * tests/lat.c: (handoff_src), (handoff_sink):
3957         * tests/sched/runxml.c: (main):
3958         * tests/seeking/seeking1.c: (main):
3959         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3960         (main):
3961         Fix compilation of some tests.
3962
3963 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
3964
3965         * gst/gsterror.h:
3966           Remove comment. GST_TYPE_G_ERROR is here to stay,
3967           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3968           (#316961, #300610).
3969
3970 2005-09-26  Wim Taymans  <wim@fluendo.com>
3971
3972         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3973         Added check that shows error in state change order.
3974
3975 2005-09-26  Wim Taymans  <wim@fluendo.com>
3976
3977         * gst/gstbin.c: (gst_bin_change_state):
3978         Make state change function use 3 queues again, we were
3979         adding elements in the wrong order.
3980
3981         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3982         Some debug info,
3983
3984         * gst/gstpad.c: (gst_pad_dispose):
3985         Added some debug info first.
3986
3987 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3988
3989         * docs/design/draft-push-pull.txt:
3990         * docs/design/part-events.txt:
3991         * docs/design/part-overview.txt:
3992         * docs/design/part-scheduling.txt:
3993           Replace all _pull_region() with _pull_range()
3994           
3995 2005-09-26  Andy Wingo  <wingo@pobox.com>
3996
3997         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3998
3999         * check/gst-libs/controller.c: Update for controller api change.
4000
4001         * configure.ac: 
4002         * tests/Makefile.am:
4003         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4004         over by GLib bug 118439.
4005         
4006         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4007         routines to a function.
4008
4009         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4010
4011         * libs/gst/controller/gsthelper.c:
4012         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4013         (gst_object_sync_values): Renamed from sink_values. Ugh.
4014
4015         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4016
4017         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4018         Renamed from controller_key, as it is exported.
4019
4020         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4021
4022 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4023
4024         * gst/Makefile.am:
4025         * gst/gst.h:
4026         * gst/gstpad.h:
4027         * gst/gstpadtemplate.h:
4028         * gst/gstquery.c:
4029         * gst/gstquery.h:
4030         * gst/gstqueryutils.c:
4031         * gst/gstqueryutils.h:
4032           remove queryutils headers after moving the two used functions
4033           to gstquery.  also fixes build problem for gstsiddec
4034
4035 2005-09-26  Michael Smith <msmith@fluendo.com>
4036
4037         * tools/gst-launch.1.in:
4038         Correct documentation in manpage of debug syntax
4039
4040 2005-09-26  Wim Taymans  <wim@fluendo.com>
4041
4042         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4043         (gst_base_src_is_seekable), (gst_base_src_change_state):
4044         Some more debugging info.
4045
4046 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4047
4048         * docs/gst/gstreamer-sections.txt:
4049         * gst/base/gstbasetransform.h:
4050         * gst/gstindex.h:
4051           added more docs
4052
4053 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4054
4055         * docs/gst/.cvsignore:
4056         * docs/gst/tmpl/.cvsignore:
4057         * docs/gst/tmpl/gstpipeline.sgml:
4058         * docs/gst/tmpl/gstplugin.sgml:
4059         * gst/gstpipeline.c:
4060         * gst/gstplugin.c:
4061         * gst/gstplugin.h:
4062           inlined the last two docs files
4063           removed the tmpl directory from cvs (no more conflicts here!)
4064
4065 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4066
4067         * docs/gst/gstreamer-sections.txt:
4068         * docs/gst/tmpl/.cvsignore:
4069         * docs/gst/tmpl/gstpad.sgml:
4070         * docs/gst/tmpl/gstpadtemplate.sgml:
4071         * gst/Makefile.am:
4072         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4073         (gst_pad_finalize), (gst_pad_set_pad_template):
4074         * gst/gstpad.h:
4075         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4076         (gst_pad_template_class_init), (gst_pad_template_init),
4077         (gst_pad_template_dispose), (name_is_valid),
4078         (gst_static_pad_template_get), (gst_pad_template_new),
4079         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4080         (gst_pad_template_pad_created):
4081         * gst/gstpadtemplate.h:
4082           inlined two more docs
4083           factored gstpadtemplate out of gstpad
4084
4085 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4086
4087         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4088         (test_children_state_change_order_semi_sink):
4089           Fix test case: we can't rely on a fixed state change order when
4090           going from READY => PAUSED because the sink might commit its 
4091           new state first when the first buffer created by the source 
4092           reaches the sink before the source has finished its change state.
4093           (Test case still fails at times, see #316856, comment 5 onwards)
4094
4095 2005-09-24  Wim Taymans  <wim@fluendo.com>
4096
4097         * docs/design/part-events.txt:
4098         * docs/design/part-gstbus.txt:
4099         * docs/design/part-gstpipeline.txt:
4100         * docs/design/part-messages.txt:
4101         * docs/design/part-overview.txt:
4102         * docs/design/part-segments.txt:
4103         * gst/gstbin.c:
4104         * gst/gstbuffer.c:
4105         * gst/gstclock.c:
4106         * gst/gstelement.c:
4107         * gst/gstevent.c:
4108         * gst/gstfilter.c:
4109         * gst/gstiterator.c:
4110         Various documentation updates.
4111
4112 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4113
4114         * gst/gstclock.h:
4115           Well, that's embarassing.  Luckily we weren't using
4116           GST_CLOCK_DIFF anywhere.
4117
4118 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4119
4120         * common/gtk-doc.mak:
4121           don't fail on building XML, FC4 slave shows a bunch of doc
4122           missing bits that I don't get
4123         * gst/gstpad.c:
4124         * gst/gstpipeline.c:
4125         * gst/gststructure.c:
4126           some doc updates
4127
4128 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4129
4130         * docs/design/part-gstbin.txt:
4131         * docs/design/part-gstbus.txt:
4132         * gst/gstbus.c:
4133           Add blurb about how the bus goes into flushing mode and
4134           drops all messages when its bin goes from READY into NULL 
4135           state.
4136
4137 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4138
4139         * docs/gst/gstreamer-sections.txt:
4140         * gst/gststructure.c: (gst_structure_get_clock_time):
4141         * gst/gststructure.h:
4142           add a method to get a GstClockTime out of a structure
4143
4144 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4145
4146         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4147         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4148           Added test to check state change order in bins (can still be made
4149           to fail here under heavy disk load; bails out with 'Push on pad
4150           fakesink:sink0, but it was not activated in push mode').
4151
4152         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4153           Fix state change order when there is only a semi sink (#316856)
4154
4155         * gst/gstbus.c: (gst_bus_class_init):
4156           Use _class_peek_parent(), not _class_ref(); fix docs to say
4157           'default main context' instead of 'mainloop' where that is
4158           what's meant.
4159
4160         * gst/gstelement.c: (gst_element_commit_state),
4161         (gst_element_set_state):
4162           Fix typos in debug messages
4163
4164 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4165
4166         * docs/README:
4167         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4168         * gst/gstpluginfeature.c:
4169         * gst/gstutils.c:
4170           various doc updates
4171         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4172           change an assert into an error until it gets fixed properly
4173
4174 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4175
4176         * docs/gst/gstreamer-sections.txt:
4177         * docs/gst/tmpl/.cvsignore:
4178         * docs/gst/tmpl/gstelement.sgml:
4179         * docs/gst/tmpl/gstinfo.sgml:
4180         * docs/gst/tmpl/gstobject.sgml:
4181         * gst/gstelement.c:
4182         * gst/gstelement.h:
4183         * gst/gstinfo.c:
4184         * gst/gstinfo.h:
4185         * gst/gstobject.c: (gst_object_class_init):
4186         * gst/gstobject.h:
4187           inlined 3 more biiiig doc files and added some missing docs on the fly
4188
4189 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4190
4191         * check/gst/.cvsignore:
4192         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4193         * gst/gstregistryxml.c: (load_plugin),
4194         (gst_registry_xml_save_plugin):
4195           put back source in registry.  add checks for find_plugin.
4196         * testsuite/states/bin.c: (assert_state), (empty_bin),
4197         (test_adding_one_element), (main):
4198         * testsuite/states/locked.c: (main):
4199           some compile/run fixes
4200
4201 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4202
4203         * check/gst/gstvalue.c: (GST_START_TEST):
4204           fix leaks in the test itself
4205
4206 2005-09-22  Wim Taymans  <wim@fluendo.com>
4207
4208         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4209         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4210         (gst_base_sink_query):
4211         Prepare for more accurate position reporting and query
4212         handling.
4213
4214         * gst/gstelement.c: (gst_element_send_event),
4215         (gst_element_set_state):
4216         Add some comment.
4217
4218 2005-09-22  Wim Taymans  <wim@fluendo.com>
4219
4220         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4221         (gst_query_parse_segment):
4222         * gst/gstquery.h:
4223         More documentation.
4224         Add segment query for future use.
4225
4226 2005-09-22  Wim Taymans  <wim@fluendo.com>
4227
4228         * gst/gstbin.c: (gst_bin_add_func):
4229         Some more debug info.
4230
4231         * gst/gstelement.c: (gst_element_send_event):
4232         Simplify send_event
4233
4234         * gst/gstelement.h:
4235         Don't know how flags got broken.
4236
4237         * gst/gstquery.h:
4238         Added new query.
4239
4240 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4241
4242         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4243           Add simplistic test suite for GST_TYPE_DATE serialisation and
4244           deserialisation.
4245
4246 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4247
4248         * docs/gst/gstreamer-sections.txt:
4249         * gst/gststructure.c: (gst_structure_set_valist),
4250         (gst_structure_get_date):
4251         * gst/gststructure.h:
4252         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4253         (gst_date_copy), (gst_value_compare_date),
4254         (gst_value_serialize_date), (gst_value_deserialize_date),
4255         (gst_value_transform_date_string),
4256         (gst_value_transform_string_date), (_gst_value_initialize):
4257         * gst/gstvalue.h:
4258           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
4259           bunch of utility functions along with a hack that checks that
4260           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
4261           is required. Part of the grand scheme in #170777.
4262
4263 2005-09-22  Andy Wingo  <wingo@pobox.com>
4264
4265         * gst/gstconfig.h.in: Psych out gtk-doc.
4266
4267         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
4268
4269         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
4270
4271         * tools/gst-inspect.c (print_element_list): Plug some
4272         inconsequential leaks.
4273
4274         * gst/gstregistry.c (gst_registry_get_default): Doc.
4275
4276         * check/gst/gstplugin.c: 
4277         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
4278         * gst/gstelementfactory.c (gst_element_factory_create): 
4279         * gst/gstindexfactory.c (gst_index_factory_create): Update for
4280         refcount changes.
4281
4282         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
4283         (gst_plugin_feature_load): Doc, don't eat refs.
4284
4285         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
4286         (gst_plugin_list_free): Doc.
4287         (gst_plugin_load_file): Doc updates.
4288
4289         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
4290         accessors returning refcounted objects, return a ref.
4291
4292         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
4293         accessor for caps. IDEMPOTENCE. Oh yes.
4294
4295 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
4296
4297         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4298
4299         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4300         (_gst_debug_register_funcptr):
4301           Add mutex to serialise access to the hash table with
4302           the function pointer => function name string mapping;
4303           make that hash table static scope (#316809).
4304
4305         * gst/registries/.cvsignore:
4306           Remove left-over file.
4307
4308 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4309
4310         * docs/pwg/appendix-porting.xml:
4311           And something about newsegment events and caps-on-buffers to
4312           the porting guide (feel free to improve).
4313
4314 2005-09-21  Andy Wingo  <wingo@pobox.com>
4315
4316         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4317         data and event probes on the same pad.
4318         (test_buffer_probe_once): Test that removing probes from within
4319         the probe functions works.
4320
4321 2005-09-21  Andy Wingo  <wingo@pobox.com>
4322
4323         * check/gst/gstutils.c: New file.
4324         (test_buffer_probe_n_times): A simple buffer probe test. More to
4325         come, foolios.
4326
4327         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
4328         have-data::buffer, not have-data.
4329         (gst_pad_add_event_probe): Likewise for have-data::event.
4330         (gst_pad_add_data_probe): More docs. The part about 'resolving the
4331         peer' isn't quite right yet though.
4332         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
4333         (gst_pad_remove_data_probe): Change to take the guint handler_id
4334         as their arg, not the function+data, which is more glib-like.
4335
4336         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
4337         the signal emission to indicate if the data is a buffer or an
4338         event.
4339         (gst_pad_get_type): Initialize buffer and event quarks.
4340         (gst_pad_class_init): have-data is now a detailed signal, yes it
4341         is.
4342
4343 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
4344
4345         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4346         * gst/gstutils.c: (gst_util_set_value_from_string),
4347         (gst_util_set_object_arg):
4348           Don't put functional code in g_return_if_fail() or
4349           g_return_val_if_fail() statements, otherwise things will 
4350           break when G_DISABLE_CHECKS is defined during compilation.
4351
4352 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4353
4354         * docs/gst/tmpl/.cvsignore:
4355         * docs/gst/tmpl/gstvalue.sgml:
4356         * gst/gstvalue.c:
4357         * gst/gstvalue.h:
4358           inlied another one and added  some obvious docs
4359
4360 2005-09-21  Wim Taymans  <wim@fluendo.com>
4361
4362         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
4363         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
4364         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
4365         (gst_fdsrc_get_property), (gst_fdsrc_create):
4366         * gst/elements/gstfdsrc.h:
4367         Properly implement fdsrc. Removed signal and timeout,
4368         better implemented somewhere else.
4369
4370 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4371
4372         * docs/gst/tmpl/.cvsignore:
4373         * docs/gst/tmpl/gstimplementsinterface.sgml:
4374         * gst/gstinterface.c:
4375           inlined more docs
4376
4377 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4378
4379         * docs/gst/gstreamer-sections.txt:
4380         * docs/gst/tmpl/.cvsignore:
4381         * docs/gst/tmpl/gstenumtypes.sgml:
4382           remove obsolete doc file
4383
4384 2005-09-21  David Schleef  <ds@schleef.org>
4385
4386         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
4387         little beer, fix a little leak.
4388
4389 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
4390
4391         * docs/gst/gstreamer-docs.sgml:
4392         * docs/gst/gstreamer-sections.txt:
4393         * docs/gst/tmpl/.cvsignore:
4394         * gst/Makefile.am:
4395         * gst/gst.h:
4396         * gst/gstbin.c:
4397         * gst/gstelement.h:
4398         * gst/gstindex.c: (gst_index_class_init):
4399         * gst/gstindex.h:
4400         * gst/gstindexfactory.c: (gst_index_factory_get_type),
4401         (gst_index_factory_class_init), (gst_index_factory_init),
4402         (gst_index_factory_finalize), (gst_index_factory_new),
4403         (gst_index_factory_destroy), (gst_index_factory_find),
4404         (gst_index_factory_create), (gst_index_factory_make):
4405         * gst/gstindexfactory.h:
4406         * gst/gstpluginfeature.c:
4407         * gst/gstpluginfeature.h:
4408         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4409           more docs inlined, splitted gstindex.{c,h}
4410
4411 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4412
4413         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4414           fix a leak
4415
4416 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4417
4418         * gst/elements/gstfilesink.c: (gst_file_sink_init):
4419           Set sync to FALSE by default.
4420
4421 2005-09-20  Wim Taymans  <wim@fluendo.com>
4422
4423         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4424         (gst_base_sink_init):
4425         Make sync property settable from subclass.
4426
4427         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4428         (gst_fake_sink_change_state):
4429         Set sync to FALSE by default.
4430
4431 2005-09-20  Wim Taymans  <wim@fluendo.com>
4432
4433         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
4434         * tools/gst-launch.c: (main):
4435         The timeout handler should have lower priority than the source
4436         so we don't timeout before popping a message with 0 timeout.
4437         Dump error messages after failed state change.
4438
4439 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * tools/gst-inspect.c: (print_element_properties_info):
4442           Fix two typos.
4443
4444 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4445
4446         * check/gst/gstevent.c:
4447         * gst/elements/gstfakesink.c:
4448         * gst/elements/gstfakesink.h:
4449           remove the sync property from fakesink.
4450           has the side effect of setting sync TRUE
4451           for fakesink, which is a change.  Anyone who knows how
4452           to fix this nicely in a GObject-y way, feel free.
4453
4454 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4455
4456         * docs/gst/gstreamer-docs.sgml:
4457           remove probe refsection
4458
4459 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4460
4461         * check/Makefile.am:
4462           disable valgrinding the controller test again
4463         * docs/gst/gstreamer-sections.txt:
4464           update for api-changes
4465
4466 2005-09-20  Wim Taymans  <wim@fluendo.com>
4467
4468         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4469         (gst_base_sink_set_property), (gst_base_sink_get_property),
4470         (gst_base_sink_do_sync):
4471         * gst/base/gstbasesink.h:
4472         Added sync property to basesink to disable clock sync.
4473
4474 2005-09-20  Andy Wingo  <wingo@pobox.com>
4475
4476         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4477         eating the caller's refcount.
4478
4479         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
4480         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4481         refcount.
4482
4483         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4484         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4485         of GLib 2.8 public, so we can know which refcount to check in
4486         tests.
4487
4488         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4489         (gst_object_init): Only set the gst refcount if we're going ahead
4490         with the refcount hack.
4491
4492 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4493
4494         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4495         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4496           more leaks plumbed, added more debug-logging
4497         * gst/gstmacros.h:
4498           whitespace fix
4499
4500 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4501
4502         * gst/gstmessage.c:
4503           remove include of gstmemchunk.h
4504
4505 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4506
4507         * gst/gstclock.c: (_gst_clock_id_free):
4508           Commit from the Political Party For More Atomic CVS Commits,
4509           so that people don't waste too much of their day fishing
4510           out obvious leaks out of massive commits.
4511           Oh, and fix a pretty damn obvious leak in the memchunk
4512           removal code.
4513
4514 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
4515
4516         * check/Makefile.am:
4517         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4518           plug mem-leak, re-add to valgrindable tests
4519
4520 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4521
4522         * gst/gstplugin.h:
4523           unbreak the build for those who have chronic arthritis
4524           and typing "make check" is just too taxing on the hands
4525
4526 2005-09-20  Andy Wingo  <wingo@pobox.com>
4527
4528         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4529         really want it out, you should fix plugins at the same time.
4530
4531 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
4532
4533         * configure.ac:
4534         * docs/gst/gstreamer-sections.txt:
4535         * gst/gstobject.c:
4536           added missing symbols to api docs
4537           disable ref-count hack if we have glib >= 2.8
4538
4539 2005-09-19  David Schleef  <ds@schleef.org>
4540
4541         * docs/gst/Makefile.am: Ignore a few more internal headers
4542         * docs/gst/gstreamer-docs.sgml: Remove old sections
4543         * docs/gst/gstreamer-sections.txt: Remove old sections
4544         * docs/gst/tmpl/gstobject.sgml: update
4545         * docs/gst/tmpl/gstplugin.sgml: update
4546         * docs/gst/tmpl/gstpluginfeature.sgml: update
4547         * docs/random/ds/0.9-suggested-changes: update.
4548         * gst/Makefile.am: remove memchunk and trashstack, since they're
4549           not used.
4550         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4551         * gst/gst.h: don't include some headers
4552         * gst/gstchildproxy.c: add gstmarshal.h
4553         * gst/gstclock.c: Don't use memchunks
4554         * gst/gstminiobject.c: Add some docs
4555         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4556         * gst/gstobject.h: same
4557         * gst/gstplugin.c: include gstmacros.h
4558         * gst/gstplugin.h: don't include gstmacros.h, since it's private
4559         * gst/gstquery.c: don't use memchunks
4560         * gst/gstregistry.c: rename gst_registry_deinit()
4561         * gst/gstregistry.h: same
4562
4563 2005-09-19  David Schleef  <ds@schleef.org>
4564
4565         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4566         * docs/libs/gstreamer-libs-sections.txt:
4567         * docs/libs/tmpl/gstgetbits.sgml:
4568         * docs/libs/tmpl/gstputbits.sgml:
4569
4570 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4571
4572         * win32/gstenumtypes.c:
4573         * win32/gstenumtypes.h:
4574           Update.
4575
4576 2005-09-19  Wim Taymans  <wim@fluendo.com>
4577
4578         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4579         Automatically PAUSE and RESUME a pipeline when a flushing seek
4580         is performed.
4581
4582 2005-09-19  Andy Wingo  <wingo@pobox.com>
4583
4584         * gst/gstregistry.h: Spacing fixen.
4585
4586 2005-09-19  Wim Taymans  <wim@fluendo.com>
4587
4588         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4589         Handle state change failure more correctly.
4590
4591 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4592
4593         * check/Makefile.am:
4594         * check/pipelines/cleanup.c: (run_pipeline):
4595         * check/pipelines/simple_launch_lines.c: (run_pipeline),
4596         (GST_START_TEST):
4597           enable cleanup again after fixing the leak
4598         * docs/README:
4599           some more info on docs
4600
4601 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         * check/Makefile.am:
4604           re-enable tests now that leaks are plugged
4605         * check/gst/gst.c:
4606         * check/gst/gstbin.c:
4607         * check/gst/gstpipeline.c:
4608           add some more tests while fixing leaks
4609         * common/check.mak:
4610           make sure binaries are uptodate when valgrinding/gdbing
4611         * gst/gst.c:
4612         * gst/gstelementfactory.c:
4613           remove a ref too many, and add a FIXME for when we get
4614           round to disposing of classes
4615         * gst/gstplugin.c:
4616           fix the refcounting when loading a plugin from a file and
4617           the code pretends that the pointer is the same even though
4618           of course it can change
4619         * gst/gstpluginfeature.c:
4620           unref plugins marked cached (a bit confusing as a name)
4621           as the docs state should be done
4622           various doc additions to explain refcounting
4623         * gst/gstregistry.c:
4624         * gst/gstregistryxml.c:
4625           debugging
4626
4627 2005-09-19  Wim Taymans  <wim@fluendo.com>
4628
4629         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4630         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4631         (send_messages), (GST_START_TEST), (gstbus_suite):
4632         * check/gst/gstpipeline.c: (GST_START_TEST):
4633         * check/pipelines/cleanup.c: (run_pipeline):
4634         * check/pipelines/simple_launch_lines.c: (run_pipeline),
4635         (GST_START_TEST):
4636         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4637         (gst_bus_source_check), (gst_bus_source_dispatch),
4638         (gst_bus_create_watch), (gst_bus_add_watch_full),
4639         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4640         * gst/gstbus.h:
4641         * tools/gst-launch.c: (event_loop):
4642         * tools/gst-md5sum.c: (event_loop):
4643         GstBusHandler -> GstBusFunc, return value has the same meaning as
4644         any other GSource (FALSE == remove source).
4645         _add_watch() and _add_watch_full() now take a MessageType mask to
4646         only handle specific types of messages.
4647         _poll() returns the GstMessage instead of the message type to avoid
4648         race conditions.
4649         _have_pending() takes a MessageType mask now too.
4650         Added testsuite for multiple bus watches.
4651         Fix testsuites and applications for new bus API.
4652
4653 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
4654
4655         * check/Makefile.am:
4656           mark a bunch of the tests as to fix until we fix them
4657
4658 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4659
4660         * common/check.mak:
4661           use GST_PLUGIN settings for valgrind tests as well, so we're
4662           valgrinding the correct thing
4663         * gst/gst.c: (init_post):
4664           plug another leak
4665
4666 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4667
4668         * gst/gst.c: (init_post), (gst_deinit):
4669         * gst/gstelementfactory.c: (gst_element_factory_class_init),
4670         (gst_element_factory_finalize), (gst_element_factory_cleanup):
4671         * gst/gstindex.c: (gst_index_factory_class_init),
4672         (gst_index_factory_finalize):
4673         * gst/gstobject.c: (gst_object_dispose):
4674         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4675         (gst_plugin_load_file), (gst_plugin_desc_free):
4676         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4677         (gst_plugin_feature_finalize):
4678         * gst/gstregistry.c: (gst_registry_class_init),
4679         (gst_registry_init), (gst_registry_finalize),
4680         (gst_registry_get_default), (gst_registry_deinit):
4681         * gst/gstregistry.h:
4682         * gst/gstregistryxml.c: (load_feature), (load_plugin):
4683           various cleanups and memleak plugging.  make valgrind is happy now.
4684
4685 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
4686
4687         * common/check.mak:
4688           add a check-valgrind target
4689
4690 2005-09-18  David Schleef  <ds@schleef.org>
4691
4692         * tools/gst-inspect.c: Revert the GOption code.
4693
4694 2005-09-17  David Schleef  <ds@schleef.org>
4695
4696         * check/Makefile.am: Fix environment variables.
4697         * check/gst/gstplugin.c: Fix for API changes.
4698         * tools/gst-inspect.c: Fix for API changes.
4699         * tools/gst-xmlinspect.c: Fix for API changes.
4700         * gst/gstelementfactory.c:
4701         * gst/gstplugin.c:
4702         * gst/gstplugin.h:
4703         * gst/gstpluginfeature.c:
4704         * gst/gstpluginfeature.h:
4705         * gst/gstregistry.c:
4706         * gst/gstregistry.h:
4707         * gst/gstregistryxml.c:
4708         * gst/gsttypefind.c:
4709         * gst/gsttypefindfactory.c:
4710         * gst/indexers/gstfileindex.c:
4711         * gst/indexers/gstmemindex.c:
4712         * gst/schedulers/Makefile.am:
4713           Change registry to keep track of both plugins and features,
4714           removing the feature tracking from plugins themselves.
4715
4716 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4717
4718         * check/Makefile.am:
4719         * tools/gst-register.1.in:
4720           remove gst-register
4721
4722 2005-09-15  David Schleef  <ds@schleef.org>
4723
4724         * check/gst/gstplugin.c:
4725         * gst/gstelementfactory.c:
4726         * gst/gstplugin.c:
4727         * gst/gstpluginfeature.c:
4728         * gst/gstregistry.c:
4729           Getting tired of debugging.  Disabled all the unreffing of
4730           plugins and features, which fixes the segfaults, but of
4731           course leaks like crazy.  At least playbin works.
4732
4733 2005-09-15  David Schleef  <ds@schleef.org>
4734
4735         * check/gst/gstplugin.c: (register_check_elements),
4736         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4737         More testing
4738         * gst/elements/gsttypefindelement.c: Fix refcounting.
4739         * gst/gsttypefind.c:
4740         * gst/gsttypefindfactory.c:
4741         * gst/gsttypefindfactory.h:
4742
4743 2005-09-15  David Schleef  <ds@schleef.org>
4744
4745         * gst/gstindex.c: get refcounting correct.
4746         * gst/gstregistry.c: Handle the case where a feature/plugin is
4747           not found.
4748
4749 2005-09-15  David Schleef  <ds@schleef.org>
4750
4751         * check/Makefile.am:
4752         * check/gst/gstplugin.c: Add test
4753         * gst/gstplugin.c: Fix problems noticed by testsuite
4754         * gst/gstplugin.h:
4755         * gst/gstregistry.c: 
4756         * gst/gstregistry.h:
4757
4758 2005-09-15  David Schleef  <ds@schleef.org>
4759
4760         * gst/gstplugin.c: Implement semi-decent recounting and locking
4761           in plugins and plugin features.
4762         * gst/gstplugin.h:
4763         * gst/gstpluginfeature.c:
4764         * gst/gstpluginfeature.h:
4765         * gst/gstregistry.c:
4766
4767 2005-09-15  Michael Smith <msmith@fluendo.com>
4768
4769         * gst/gstregistry.c: (gst_registry_get_feature_list):
4770           Implement this. Makes oggdemux work; decodebin still broken.
4771
4772 2005-09-14  David Schleef  <ds@schleef.org>
4773
4774         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4775           #316076)
4776         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4777         * gst/check/Makefile.am:
4778         * libs/gst/controller/Makefile.am:
4779         * libs/gst/dataprotocol/Makefile.am:
4780
4781 2005-09-14  David Schleef  <ds@schleef.org>
4782
4783         * configure.ac: Remove getbits library.  Nothing uses it, and
4784           it should be in something like liboil if someone did want
4785           to use it.
4786         * libs/gst/Makefile.am:
4787         * libs/gst/getbits/Makefile.am:
4788         * libs/gst/getbits/gbtest.c:
4789         * libs/gst/getbits/getbits.c:
4790         * libs/gst/getbits/getbits.h:
4791         * libs/gst/getbits/gstgetbits_generic.c:
4792         * libs/gst/getbits/gstgetbits_i386.s:
4793         * libs/gst/getbits/gstgetbits_inl.h:
4794
4795 2005-09-14  David Schleef  <ds@schleef.org>
4796
4797         * gst/Makefile.am: Dist glib-compat.h
4798
4799 2005-09-14  David Schleef  <ds@schleef.org>
4800
4801         * configure.ac: Remove gst/registries, since it's no longer used.
4802         * gst/registries/Makefile.am:
4803         * gst/registries/gstlibxmlregistry.c:
4804         * gst/registries/gstlibxmlregistry.h:
4805         * gst/registries/gstxmlregistry.c:
4806         * gst/registries/gstxmlregistry.h:
4807         * gst/registries/registrytest.c:
4808
4809 2005-09-14  David Schleef  <ds@schleef.org>
4810
4811         * gst/glib-compat.h:
4812         * gst/gstregistryxml.c:
4813           Convergence is near.  Seriously.
4814
4815 2005-09-14  David Schleef  <ds@schleef.org>
4816
4817         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4818         * gst/glib-compat.h:
4819           Attempt #4 to appease the buildbots.
4820
4821 2005-09-14  David Schleef  <ds@schleef.org>
4822
4823         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4824           Attempt #3.
4825
4826 2005-09-14  David Schleef  <ds@schleef.org>
4827
4828         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4829         Attempt #2.
4830
4831 2005-09-14  David Schleef  <ds@schleef.org>
4832
4833         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4834           the new functions.
4835
4836 2005-09-14  David Schleef  <ds@schleef.org>
4837
4838         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4839         * gst/glib-compat.h: Add some functions that are in newer versions
4840           of glib than we care to require.
4841         * gst/gstregistryxml.c: Use them.
4842
4843 2005-09-14  David Schleef  <ds@schleef.org>
4844
4845         * po/POTFILES.in: remove gst-register.c
4846
4847 2005-09-14  David Schleef  <ds@schleef.org>
4848
4849         * docs/gst/gstreamer-docs.sgml:
4850         * docs/gst/gstreamer-sections.txt:
4851         * docs/gst/gstreamer.types:
4852         * docs/gst/tmpl/gstelement.sgml:
4853         * docs/gst/tmpl/gstplugin.sgml:
4854         * docs/gst/tmpl/gstpluginfeature.sgml:
4855           Documentation updates for registry changes.
4856
4857 2005-09-14  David Schleef  <ds@schleef.org>
4858
4859         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4860           because we don't require glib-2.8.
4861
4862 2005-09-14  David Schleef  <ds@schleef.org>
4863
4864         * gst/gstregistryxml.c: Added.  Essentially moved out of the
4865           registries directory.
4866
4867 2005-09-14  David Schleef  <ds@schleef.org>
4868
4869         * check/Makefile.am:
4870         * check/generic/states.c:
4871         * gst/Makefile.am:
4872         * gst/gst.c:
4873         * gst/gst.h:
4874         * gst/gst_private.h:
4875         * gst/gstelementfactory.c:
4876         * gst/gstindex.c:
4877         * gst/gstinfo.c:
4878         * gst/gstplugin.c:
4879         * gst/gstplugin.h:
4880         * gst/gstpluginfeature.c:
4881         * gst/gstpluginfeature.h:
4882         * gst/gstregistry.c:
4883         * gst/gstregistry.h:
4884         * gst/gstregistrypool.c: remove
4885         * gst/gstregistrypool.h: remove
4886         * gst/gsttypefind.c:
4887         * gst/gsttypefindfactory.c:
4888         * gst/gsturi.c:
4889         * tools/Makefile.am:
4890         * tools/gst-compprep.c:
4891         * tools/gst-inspect.c:
4892         * tools/gst-register.c: remove
4893         * tools/gst-xmlinspect.c:
4894           Registry rewrite.  Changes registry from being a file created
4895           by a tool into a simple cache file created automatically by 
4896           libgstreamer.  Removed gst-register (because it's no longer
4897           needed).  Remove registry pools, because we only have one
4898           registry implementation (XML).  Fix up other subsystems as
4899           necessary.
4900
4901 2005-09-13  Michael Smith <msmith@fluendo.com>
4902
4903         * gst/gstconfig.h.in:
4904           Don't Use windows linking attributes for MinGW. Fixes #316157
4905
4906 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4907
4908         * gst/gstutils.c: (set_state_async_thread_func),
4909         (gst_element_set_state_async):
4910           Apparently people think it's better if this function doesn't
4911           try to set the state to whatever state was asked for on the first
4912           call to this function for any object.  Seriously.
4913
4914 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4915
4916         * check/gst/gstpipeline.c: (GST_START_TEST):
4917         * docs/gst/gstreamer-sections.txt:
4918         * gst/gstutils.c: (set_state_async_thread_func),
4919         (gst_element_set_state_async):
4920         * gst/gstutils.h:
4921           add a "gst_element_set_state_async" method that
4922           sets the state and starts a thread to make sure the state
4923           change completes as best as it can
4924
4925 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4926
4927         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4928           codify design+behaviour in testsuite after discussion
4929
4930 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4931
4932         * docs/gst/tmpl/gstelement.sgml:
4933         * docs/manual/appendix-quotes.xml:
4934           add a quote
4935         * gst/gstelement.c: (gst_element_set_state):
4936           add some debug
4937
4938 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
4939
4940         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4941         (gst_base_transform_prepare_output_buf),
4942         (gst_base_transform_handle_buffer):
4943         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4944         (gst_capsfilter_prepare_buf):
4945           Remove the requirement for sub-classes to call the parent
4946           implementation of prepare_output_buffer with a wrapper function.
4947           
4948         * gst/gsttaglist.h:
4949         * gst/gsttagsetter.h:
4950           Fix #define wrapper
4951
4952 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
4953
4954         * docs/gst/gstreamer-sections.txt:
4955           more doc cleanups
4956
4957 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4958
4959         * docs/gst/gstreamer-sections.txt:
4960         * docs/gst/tmpl/gstelement.sgml:
4961         * docs/gst/tmpl/gstplugin.sgml:
4962         * gst/gstminiobject.c:
4963         * gst/gstvalue.h:
4964           docs now stop throwing warnings
4965
4966 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4967
4968         * docs/gst/gstreamer-sections.txt:
4969         * docs/gst/gstreamer.types:
4970         * docs/gst/tmpl/gstpad.sgml:
4971         * docs/gst/tmpl/gsttypes.sgml:
4972         * gst/base/gstadapter.h:
4973         * gst/base/gstbasesink.h:
4974         * gst/base/gstbasesrc.h:
4975         * gst/gstbin.h:
4976         * gst/gstbuffer.h:
4977         * gst/gstbus.h:
4978         * gst/gstcaps.h:
4979         * gst/gstclock.h:
4980         * gst/gstelement.h:
4981         * gst/gstevent.h:
4982         * gst/gstmessage.h:
4983         * gst/gstpad.h:
4984         * gst/gststructure.c:
4985         * gst/registries/gstlibxmlregistry.h:
4986           various documentation fixes
4987
4988 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
4989
4990         * docs/gst/gstreamer-sections.txt:
4991         * docs/gst/tmpl/gstvalue.sgml:
4992           rearrange gstvalue section
4993         * gst/gstutils.c: (gst_element_state_get_name):
4994           NONE -> VOID
4995         * gst/gstvalue.c: (_gst_value_initialize):
4996         * gst/gstvalue.h:
4997           doc updates
4998
4999 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5000
5001         * check/gst-libs/controller.c:
5002           Header include fix.
5003         * gst/base/gstbasetransform.c:
5004         (gst_base_transform_default_prepare_buf),
5005         (gst_base_transform_handle_buffer):
5006         * gst/base/gstbasetransform.h:
5007           Some more basetransform changes and fixes to enable sub-classes
5008           that modify buffer metadata only.
5009         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5010         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5011         (gst_capsfilter_prepare_buf):
5012           If the output pad has fixed allowed caps and input buffers 
5013           don't have any, set the fixed caps on outgoing buffers.
5014
5015 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5016         * check/elements/identity.c: (GST_START_TEST):
5017           Make the error a little clearer when the test fails because
5018           identity made a copy of the buffer.
5019         * docs/gst/gstreamer-sections.txt:
5020           New symbols in gstbasetransform.h
5021         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5022         (gst_base_transform_init), (gst_base_transform_transform_size),
5023         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5024         (gst_base_transform_default_prepare_buf),
5025         (gst_base_transform_get_unit_size),
5026         (gst_base_transform_buffer_alloc),
5027         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5028         (gst_base_transform_change_state),
5029         (gst_base_transform_set_passthrough),
5030         (gst_base_transform_set_in_place),
5031         (gst_base_transform_is_in_place):
5032         * gst/base/gstbasetransform.h:
5033           Change BaseTransform to separate in_place operate from same_caps
5034           output. in_place implies that the element can perform the transform
5035           on incoming buffers in-place, even if the caps on the output are
5036           different.
5037           Sub-class elements can now implement special buffer allocation
5038           methods for outgoing buffers if they wish to.
5039           Big documentation addition.
5040         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5041         * gst/elements/gstelements.c:
5042           Changes for basetransform modifications.
5043         * gst/elements/Makefile.am:
5044         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5045           Compile fix. Extra debug output.
5046
5047 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5048
5049         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5050         (gst_pad_suite):
5051           add tests for valid pad naming
5052         * gst/check/gstcheck.c: (gst_check_log_message_func),
5053         (gst_check_log_critical_func):
5054           add ASSERT_WARNING
5055           remove printing of code, it is fragile when the code contains
5056           % and the line number is enough info
5057         * gst/check/gstcheck.h:
5058         * gst/gstpad.c: (gst_pad_template_new):
5059           fix memleaks
5060
5061 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5062
5063         * configure.ac:
5064           say what CHECK flags we use
5065         * docs/libs/gstreamer-libs.types:
5066         * libs/gst/controller/Makefile.am:
5067         * libs/gst/controller/gst-controller.c:
5068         * libs/gst/controller/gst-controller.h:
5069         * libs/gst/controller/gst-helper.c:
5070         * libs/gst/controller/gst-interpolation.c:
5071         * libs/gst/controller/gstcontroller.c:
5072         * libs/gst/controller/gsthelper.c:
5073         * libs/gst/controller/gstinterpolation.c:
5074         * tools/gst-inspect.c: (print_plugin_info):
5075           we don't use dashes in header names
5076
5077 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5078
5079         * check/Makefile.am:
5080         * check/gst/.cvsignore:
5081         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5082         (gst_pipeline_suite), (main):
5083           adding a test for pipelines and state changes
5084         * gst/gstutils.c: (get_state_func):
5085           add some debugging
5086         * gstreamer.spec.in:
5087           fix up spec file
5088
5089 2005-09-08  Michael Smith <msmith@fluendo.com>
5090
5091         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5092         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5093         (gst_file_src_is_seekable), (gst_file_src_get_size),
5094         (gst_file_src_start):
5095         * gst/elements/gstfilesrc.h:
5096           Various fixes for unseekable, unmmapable, and non-normal files, so
5097           that fallback to read() rather than mmap() works.
5098         * gst/gstevent.c: (gst_event_new_newsegment):
5099           Allow newsegment events with segment_start == segment_end, as will
5100           correctly happen if you use filesrc on a zero-size file, for
5101           example.
5102
5103 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5104
5105         * gst/gstplugin.c: (gst_plugin_load_file):
5106           Call g_module_close when we don't load the module
5107
5108         * gst/registries/gstlibxmlregistry.c:
5109         (gst_xml_registry_get_property):
5110           Port leak fix from 0.8
5111
5112 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5113
5114         * docs/gst/gstreamer-docs.sgml:
5115         * docs/gst/tmpl/.cvsignore:
5116         * docs/gst/tmpl/gsttrace.sgml:
5117         * docs/gst/tmpl/gsttrashstack.sgml:
5118         * gst/Makefile.am:
5119         * gst/gst.h:
5120         * gst/gstelement.h:
5121         * gst/gstevent.h:
5122         * gst/gstmessage.c:
5123         * gst/gstmessage.h:
5124         * gst/gsttag.c:
5125         * gst/gsttag.h:
5126         * gst/gsttaginterface.c:
5127         * gst/gsttaginterface.h:
5128         * gst/gsttaglist.c:
5129         * gst/gsttaglist.h:
5130         * gst/gsttagsetter.c:
5131         * gst/gsttagsetter.h:
5132         * gst/gsttrace.c:
5133         * gst/gsttrace.h:
5134         * gst/gsttrashstack.c:
5135           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5136           inlined docs for gsttrace, gsttrashstack
5137
5138 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5139
5140         * gst/Makefile.am:
5141         * gst/elements/gstbufferstore.h:
5142         * gst/elements/gsttypefindelement.c:
5143         * gst/elements/gsttypefindelement.h:
5144         * gst/gst.h:
5145         * gst/gsttypefind.c:
5146         * gst/gsttypefind.h:
5147         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5148         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5149         (gst_type_find_factory_dispose),
5150         (gst_type_find_factory_unload_thyself),
5151         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5152         (gst_type_find_factory_get_caps),
5153         (gst_type_find_factory_get_extensions),
5154         (gst_type_find_factory_call_function):
5155         * gst/gsttypefindfactory.h:
5156         * gst/registries/gstlibxmlregistry.c:
5157         * gst/registries/gstxmlregistry.c:
5158           splitted gsttypefind into gsttypefind, gsttypefindfactory
5159
5160 2005-09-07  Andy Wingo  <wingo@pobox.com>
5161
5162         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5163         condition whereby the pad's task function is entered before the
5164         pad_mode variable was set.
5165
5166 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5167
5168         * gst/gstpad.c: (gst_pad_alloc_buffer):
5169           Catch misbehaving pad_alloc functions that don't
5170           set up caps and do it for them.
5171
5172 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5173
5174         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5175           test for pipe!=NULL
5176         * docs/gst/tmpl/.cvsignore:
5177         * docs/gst/tmpl/gstmemchunk.sgml:
5178         * docs/gst/tmpl/gstparse.sgml:
5179         * docs/gst/tmpl/gsttaglist.sgml:
5180         * docs/gst/tmpl/gsttagsetter.sgml:
5181         * docs/gst/tmpl/gsttypefind.sgml:
5182         * docs/gst/tmpl/gsttypefindfactory.sgml:
5183         * gst/gstmemchunk.c:
5184         * gst/gstparse.c:
5185         * gst/gsttag.c:
5186         * gst/gsttaginterface.c:
5187         * gst/gsttypefind.c:
5188         * gst/gsttypefind.h:
5189           inlined more docs
5190
5191 === release 0.9.2 ===
5192
5193 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5194
5195         * NEWS:
5196         * RELEASE:
5197         * configure.ac:
5198           releasing 0.9.2, "South"
5199
5200 2005-09-05  Andy Wingo  <wingo@pobox.com>
5201
5202         * gst/registries/gstxmlregistry.h:
5203         * gst/registries/gstxmlregistry.c: Um... resurrect...
5204         
5205         * gst/registries/gstxmlregistry.h:
5206         * gst/registries/gstxmlregistry.c: and update to newer API.
5207         Incidentally they should be a bit faster now that they don't have
5208         to parse the caps.
5209         
5210 2005-09-05  Andy Wingo  <wingo@pobox.com>
5211
5212         * gst/registries/gstxmlregistry.h:
5213         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5214         replaced by the libxml registry a while back
5215
5216 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5217
5218         * docs/gst/tmpl/gstplugin.sgml:
5219         * gst/elements/gstelements.c:
5220         * gst/gst.c:
5221         * gst/gstplugin.c: (gst_plugin_register_func),
5222         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5223         (gst_plugin_get_source):
5224         * gst/gstplugin.h:
5225         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5226         (gst_xml_registry_save_plugin):
5227         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5228         (gst_xml_registry_save_plugin):
5229         * tools/gst-inspect.c: (print_plugin_info):
5230           add a "source" plugin description field, to represent the source
5231           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5232           will set it to PACKAGE, which is automake's idea of the name of
5233           the source project.
5234
5235 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5236
5237         * Makefile.am:
5238         * autogen.sh:
5239         * configure.ac:
5240         * docs/Makefile.am:
5241         * docs/faq/Makefile.am:
5242         * docs/gst/tmpl/gstelement.sgml:
5243         * docs/gst/tmpl/gsttypes.sgml:
5244         * docs/htmlinstall.mak:
5245         * docs/manual/Makefile.am:
5246         * docs/pwg/Makefile.am:
5247           reorganize doc build a little
5248           split out docbook and gtk-doc stuff
5249           have two separate --enable's and enable them through autogen
5250           but disable by default in configure (to be similar to other
5251           projects)
5252         * gstreamer.spec.in:
5253           clean up docs install
5254         * po/af.po:
5255         * po/az.po:
5256         * po/ca.po:
5257         * po/cs.po:
5258         * po/de.po:
5259         * po/en_GB.po:
5260         * po/fr.po:
5261         * po/it.po:
5262         * po/nb.po:
5263         * po/nl.po:
5264         * po/ru.po:
5265         * po/sq.po:
5266         * po/sr.po:
5267         * po/sv.po:
5268         * po/tr.po:
5269         * po/uk.po:
5270         * po/vi.po:
5271           translation updates
5272
5273 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
5274
5275         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
5276           Add comment.
5277           
5278         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5279         (gst_fake_sink_change_state):
5280           Make state change function thread-safe.
5281           
5282         * gst/gstpad.c: (gst_pad_alloc_buffer):
5283           Set offset on generic buffer allocated by fallback.
5284
5285 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
5286
5287         * docs/gst/gstreamer-sections.txt:
5288         * docs/gst/tmpl/gstelement.sgml:
5289         * gst/gstpad.c:
5290         * libs/gst/controller/gst-controller.c:
5291         (gst_controlled_property_set_interpolation_mode),
5292         (gst_controlled_property_new),
5293         (gst_controller_find_controlled_property):
5294          run the wingo-magic script against the docs
5295
5296 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5297
5298         * docs/gst/gstreamer-docs.sgml:
5299         * docs/gst/gstreamer-sections.txt:
5300         * docs/gst/tmpl/.cvsignore:
5301         * docs/gst/tmpl/gstelementdetails.sgml:
5302         * docs/gst/tmpl/gstelementfactory.sgml:
5303         * gst/gst.c:
5304         * gst/gstbus.c:
5305         * gst/gstelementfactory.c:
5306         * gst/gstelementfactory.h:
5307           merged elementdetails docs into elementfactory docs
5308           inlined both
5309
5310 2005-09-02  Andy Wingo  <wingo@pobox.com>
5311
5312         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
5313         consider this enum an enum and not a flags.
5314
5315 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
5316
5317         * docs/gst/gstreamer-docs.sgml:
5318         * docs/gst/tmpl/.cvsignore:
5319         * docs/gst/tmpl/gstghostpad.sgml:
5320         * docs/gst/tmpl/gstiterator.sgml:
5321         * docs/gst/tmpl/gstmacros.sgml:
5322         * docs/gst/tmpl/gstrealpad.sgml:
5323         * docs/gst/tmpl/gstregistry.sgml:
5324         * docs/gst/tmpl/gstregistrypool.sgml:
5325         * docs/gst/tmpl/gststructure.sgml:
5326         * docs/gst/tmpl/gstsystemclock.sgml:
5327         * docs/gst/tmpl/gsttrace.sgml:
5328         * gst/gstghostpad.c:
5329         * gst/gstmacros.h:
5330         * gst/gstmemchunk.c:
5331         * gst/gstmemchunk.h:
5332         * gst/gstqueue.c:
5333         * gst/gstregistry.c:
5334         * gst/gstregistrypool.c:
5335         * gst/gststructure.c:
5336         * gst/gstsystemclock.c:
5337           more docs inlined
5338
5339 2005-09-02  Andy Wingo  <wingo@pobox.com>
5340
5341         * gst/gstelement.h (GstState): Renamed from GstElementState,
5342         changed to be a normal enum instead of flags.
5343         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
5344         munged to be GST_STATE_CHANGE_*.
5345         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
5346         work with the new state representation.
5347         (GstStateChange): New enumeration of possible state transitions.
5348         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
5349         (GstElementClass::change_state): Pass the GstStateChange along as
5350         an argument. Helps language bindings, so they don't have to use
5351         tricky lock-needing macros like GST_STATE_CHANGE ().
5352
5353         * scripts/update-states (file): New script. Run it on a file to
5354         update it for state naming and API changes. Updates files in
5355         place.
5356
5357         * All files updated for the new API.
5358
5359 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5360
5361         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
5362         * gst/gstutils.c: (gst_util_set_value_from_string),
5363         (gst_util_set_object_arg):
5364           fix a bunch of unchecked return values
5365         * tools/gst-complete.c: (main):
5366         * gstreamer.spec.in:
5367           clean up a little
5368
5369 2005-09-01  Wim Taymans  <wim@fluendo.com>
5370
5371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5372         (gst_base_sink_event), (gst_base_sink_do_sync),
5373         (gst_base_sink_handle_event):
5374         * gst/base/gstbasesink.h:
5375         Handle newsegments more correctly.
5376
5377         * gst/gstbus.c:
5378         Fix docs.
5379
5380         * gst/gstevent.c: (gst_event_new_newsegment):
5381         A newsegment cannot have a start_time of -1
5382
5383 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
5384
5385         * win32/gstenumtypes.c:
5386         * win32/gstenumtypes.h:
5387           Update
5388
5389 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5390
5391         * libs/gst/controller/gst-controller.c:
5392         (gst_controlled_property_set_interpolation_mode),
5393         (gst_controlled_property_new):
5394          fixed boolean again
5395
5396 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5397
5398         * docs/faq/gst-uninstalled:
5399           add -good
5400         * gst/gstevent.c:
5401         * gst/gstevent.h:
5402           remove wrong docs
5403         * gst/gstutils.c: (gst_element_link_filtered):
5404         * gst/gstutils.h:
5405           add gst_element_link_filtered
5406
5407 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5408
5409         * docs/gst/gstreamer-docs.sgml:
5410         * docs/gst/gstreamer-sections.txt:
5411         * docs/gst/tmpl/.cvsignore:
5412         * docs/gst/tmpl/gsterror.sgml:
5413         * docs/gst/tmpl/gstfilter.sgml:
5414         * docs/gst/tmpl/gsturihandler.sgml:
5415         * docs/gst/tmpl/gsturitype.sgml:
5416         * docs/gst/tmpl/gstutils.sgml:
5417         * docs/gst/tmpl/gstxml.sgml:
5418         * gst/gsterror.c:
5419         * gst/gsterror.h:
5420         * gst/gstfilter.c:
5421         * gst/gsturi.c:
5422         * gst/gsturitype.c:
5423         * gst/gstutils.c:
5424         * gst/gstxml.c:
5425           inlined more docs, fixed double id-ref
5426
5427 2005-08-31  Wim Taymans  <wim@fluendo.com>
5428
5429         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5430         (gst_base_transform_handle_buffer):
5431         Passthrough elements don't need the caps as they don't care.
5432
5433 2005-08-31  Wim Taymans  <wim@fluendo.com>
5434
5435         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5436         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
5437         Don't leak refcounts on buffers.
5438
5439 2005-08-31  Wim Taymans  <wim@fluendo.com>
5440
5441         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
5442         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5443         (gst_base_transform_chain), (gst_base_transform_change_state):
5444         * gst/base/gstbasetransform.h:
5445         Handle the case where we are not negotiated more gracefully.
5446
5447 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
5448
5449         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
5450         (gst_file_src_map_region):
5451           Set READONLY flag on mmap'ed buffers, otherwise
5452           gst_buffer_make_writable() won't work properly (#314708).
5453
5454 2005-08-31  Wim Taymans  <wim@fluendo.com>
5455
5456         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
5457         passthrough elements can even do inplace on non writable
5458         buffers (as they don't touch them).
5459
5460 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5463         (gst_test_mono_source_set_property),
5464         (gst_test_mono_source_class_init), (GST_START_TEST),
5465         (gst_controller_suite):
5466           more tests (hehe I have the most)
5467         * gst/gstbus.c:
5468           describe popping messages whenusing mulltiple sources
5469         * libs/gst/controller/gst-controller.c:
5470         (gst_controlled_property_set_interpolation_mode),
5471         (gst_controlled_property_new):
5472         * libs/gst/controller/gst-controller.h:
5473         * libs/gst/controller/gst-interpolation.c:
5474           implement boolean properties
5475
5476 2005-08-31  Wim Taymans  <wim@fluendo.com>
5477
5478         * gst/gstminiobject.c: (gst_mini_object_ref):
5479         Cannot assert that the refcount has to be positive
5480         since a disposed object can be resurrected.
5481
5482 2005-08-31  Wim Taymans  <wim@fluendo.com>
5483
5484         * gst/gstpad.c: (gst_pad_init):
5485         Revert change, need to first fix badly behaving 
5486         apps.
5487
5488 2005-08-30  Wim Taymans  <wim@fluendo.com>
5489
5490         * check/elements/fakesrc.c: (setup_fakesrc):
5491         * check/elements/identity.c: (setup_identity):
5492         Activate pads before using them.
5493
5494 2005-08-30  Wim Taymans  <wim@fluendo.com>
5495
5496         * gst/base/gstadapter.c: (gst_adapter_flush):
5497         Flushing out 0 bytes is ok for this function.
5498
5499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5500         no newsegment gives a warning and sets the start/stop to 
5501         invalid.
5502
5503         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5504         (gst_base_transform_set_passthrough):
5505         Some debug info.
5506
5507         * gst/gstminiobject.c: (gst_mini_object_ref):
5508         Check refcount here too.
5509
5510         * gst/gstpad.c: (gst_pad_init):
5511         Pads are initially flushing and refusing data.
5512
5513         * gst/gstutils.c: (gst_element_link_pads_filtered):
5514         When adding a capsfilter element make sure it has the
5515         same state as the parent bin.
5516
5517 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5518
5519         * docs/gst/tmpl/.cvsignore:
5520         * docs/gst/tmpl/gstformat.sgml:
5521         * docs/gst/tmpl/gstversion.sgml:
5522         * gst/gstbus.h:
5523         * gst/gstformat.c:
5524         * gst/gstformat.h:
5525         * gst/gstversion.h.in:
5526           more docs and two more inlined
5527
5528 2005-08-30  Wim Taymans  <wim@fluendo.com>
5529
5530         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5531         Don't sync to clock.
5532
5533 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5534
5535         * docs/gst/gstreamer-sections.txt:
5536           ultral33t func10ns deserve to appear in the docs actually
5537         * docs/gst/tmpl/.cvsignore:
5538         * docs/gst/tmpl/gstcompat.sgml:
5539         * docs/gst/tmpl/gstconfig.sgml:
5540         * gst/check/gstcheck.c:
5541         * gst/gstcompat.h:
5542         * gst/gstconfig.h.in:
5543           inlined more docs
5544
5545 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5546
5547         * docs/gst/tmpl/.cvsignore:
5548         * docs/gst/tmpl/gstquery.sgml:
5549         * docs/gst/tmpl/gstutils.sgml:
5550         * gst/gstquery.c:
5551         * gst/gstquery.h:
5552           inlined and extended docs
5553
5554 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
5555
5556         * check/gst-libs/controller.c: (GST_START_TEST),
5557         (gst_controller_suite):
5558           more tests
5559         * docs/gst/tmpl/gstutils.sgml:
5560         * docs/libs/gstreamer-libs-sections.txt:
5561         * docs/libs/tmpl/gstdataprotocol.sgml:
5562           include path fixes
5563         * examples/controller/audio-example.c: (main):
5564           controller example works now
5565         * gst/gstclock.h:
5566           doc fixes
5567         * tools/gst-inspect.c: (print_element_properties_info):
5568           show param spec flags
5569
5570 2005-08-29  Andy Wingo  <wingo@pobox.com>
5571
5572         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5573
5574 2005-08-28  Andy Wingo  <wingo@pobox.com>
5575
5576         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5577         as having two arguments instead of just one. Allows superclasses
5578         to access information on subclasses -- see the terrible for() loop
5579         in gtype.c:g_type_create_instance for the reason why. All callers
5580         changed.
5581
5582 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5583
5584         * docs/design/part-messages.txt:
5585           update info
5586         * docs/gst/tmpl/.cvsignore:
5587         * docs/gst/tmpl/gstcaps.sgml:
5588         * docs/gst/tmpl/gstclock.sgml:
5589         * gst/gstbus.c:
5590         * gst/gstcaps.c:
5591         * gst/gstcaps.h:
5592         * gst/gstclock.c:
5593         * gst/gstclock.h:
5594         * gst/gstmessage.c:
5595           added descriptions for bus and message
5596           inline caps and clock docs
5597
5598 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5599
5600         * gst/gstmessage.c:
5601         * gst/gstmessage.h:
5602           doc fixes
5603
5604 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
5605
5606         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5607           fix div-by-zero
5608
5609 2005-08-26  Andy Wingo  <wingo@pobox.com>
5610
5611         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5612         element_set_state's return val.
5613         (test_2_elements): Add test that's been disabled for months.
5614
5615         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5616         can-activate-pull properties.
5617
5618         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5619         can-activate-pull properties. Implement is_seekable so fakesrc can
5620         operate in pull mode.
5621
5622         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5623         properties.
5624         (gst_base_sink_activate, gst_base_sink_activate_pull)
5625         (gst_base_sink_activate_push): Make activation mode choosing work.
5626         Cleanups.
5627         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5628         is right. Make pull mode work. Post an eos before pausing in pull
5629         mode.
5630         (gst_base_sink_change_state): Pay attention to the core's
5631         change_state() return val.
5632         
5633         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5634         has-getrange properties. Cleanups.
5635         
5636         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5637         has_getrange and replace with can_activate_pull and
5638         can_activate_push.
5639
5640         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5641         locking comments. Remove has_loop, has_chain and replace with
5642         can_activate_pull and can_activate_push.
5643
5644 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
5645
5646         * configure.ac:
5647         * examples/Makefile.am:
5648         * examples/metadata/Makefile.am:
5649         * examples/metadata/read-metadata.c: (message_loop),
5650         (have_pad_handler), (make_pipeline), (print_tag), (main):
5651           Add metadata reading example that loops over a list of filenames,
5652           dumping any tags found.
5653
5654         * gst/gstbus.c: (gst_bus_dispose):
5655         * gst/gstelement.c: (gst_element_dispose):
5656           Release a few potentially-held references in dispose.
5657
5658 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5659
5660         * docs/gst/tmpl/gstminiobject.sgml:
5661           do *not* add tmpl/*.sgml files to CVS!
5662
5663 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5664
5665         * libs/gst/bytestream/.cvsignore:
5666         * libs/gst/bytestream/Makefile.am:
5667         * libs/gst/bytestream/adapter.c:
5668         * libs/gst/bytestream/adapter.h:
5669         * libs/gst/bytestream/bytestream.c:
5670         * libs/gst/bytestream/bytestream.h:
5671         * libs/gst/bytestream/filepad.c:
5672         * libs/gst/bytestream/filepad.h:
5673           removing obsolete files
5674
5675 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5676
5677         * docs/gst/gstreamer-docs.sgml:
5678         * docs/libs/gstreamer-libs-docs.sgml:
5679           disabed additional index entries again, as this makes docs-gen just
5680           slow and they aren't useful yet
5681         * docs/libs/gstreamer-libs-sections.txt:
5682           little -section.txt cleanup for libs
5683
5684 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
5685
5686         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5687         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5688           fix up some debugging
5689         (gst_base_transform_get_unit_size),
5690         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5691         (gst_base_transform_handle_buffer):
5692         * gst/base/gstbasetransform.h:
5693           handle and store timed NEWSEGMENT events so that subclasses that
5694           calculate time by counting samples have a segment_start time they
5695           need to add to their timestamps - see audioresample
5696
5697 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
5698
5699         * gst/gstbin.h:
5700           removed ';' from the end of macro defs
5701         * docs/gst/gstreamer-docs.sgml:
5702         * docs/gst/gstreamer-sections.txt:
5703         * docs/gst/tmpl/.cvsignore:
5704         * gst/gstbus.h:
5705         * gst/gstelement.c: (gst_element_class_init),
5706         (gst_element_set_state), (activate_pads),
5707         (gst_element_save_thyself):
5708         * gst/gstevent.c: (gst_event_new_newsegment):
5709         * gst/gstevent.h:
5710         * gst/gstiterator.c:
5711         * gst/gstiterator.h:
5712         * gst/gstpad.c:
5713         * gst/gstprobe.h:
5714         * gst/gstutils.c: (gst_pad_query_convert):
5715         * gst/gstutils.h:
5716           fixed parameter name mismatches between source, header and docs
5717           added some more docs, resolved the last batch of unused elements in
5718           docs (now someone needs to doc them)
5719
5720 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5721
5722         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5723         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5724           don't walk through the plugins backwards.  Where is all this
5725           reversed logic coming from ?
5726
5727 2005-08-25  Wim Taymans  <wim@fluendo.com>
5728
5729         * gst/base/gstbasetransform.c: (gst_base_transform_init),
5730         (gst_base_transform_transform_size),
5731         (gst_base_transform_configure_caps),
5732         (gst_base_transform_get_unit_size),
5733         (gst_base_transform_buffer_alloc),
5734         (gst_base_transform_change_state):
5735         * gst/base/gstbasetransform.h:
5736         Cache caps unit_size.
5737         Make sure we cannot negotiate up and downstream at the
5738         same time.
5739
5740 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5741
5742         * gst/gst.c: (init_pre), (init_post):
5743           register the installed plugin path after the env var
5744         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5745         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5746           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5747           directories, so the tests can prefer uninstalled over installed
5748
5749 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
5750
5751         * gst/base/gstbasetransform.h:
5752           comment
5753         * gst/gstpad.c:
5754           add to docs
5755
5756 2005-08-25  Wim Taymans  <wim@fluendo.com>
5757
5758         * gst/gstbin.c: (bin_bus_handler):
5759         Be a bit more conservative about the posted message.
5760         
5761         * gst/gstbus.c: (gst_bus_post):
5762         Some cleanups, warn wrong return values.
5763
5764 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
5765
5766         * check/gst/gstbin.c: (GST_START_TEST):
5767         * gst/gstbin.c: (bin_bus_handler):
5768         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5769         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5770         (gst_message_new_warning), (gst_message_new_tag),
5771         (gst_message_new_state_changed), (gst_message_new_segment_start),
5772         (gst_message_new_segment_done), (gst_message_new_custom):
5773         * gst/gstmessage.h:
5774         * tools/gst-launch.c: (event_loop):
5775         * tools/gst-md5sum.c: (event_loop):
5776           Revert unpopular change for GST_MESSAGE_SRC to GObject.
5777
5778 2005-08-25  Wim Taymans  <wim@fluendo.com>
5779
5780         * check/generic/states.c: (GST_START_TEST):
5781         Cleanup can be done at the end.
5782
5783         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5784         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5785         (gst_task_get_state), (gst_task_start), (gst_task_pause):
5786         Oh boy.. Thanks for finding this, Thomas. 
5787
5788 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
5789
5790         * docs/gst/gstreamer.types:
5791           added missing types
5792
5793 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * docs/gst/gstreamer-docs.sgml:
5796         * docs/gst/gstreamer-sections.txt:
5797         * docs/gst/tmpl/.cvsignore:
5798         * gst/gstbin.c:
5799         * gst/gstiterator.c:
5800         * gst/gstutils.c:
5801         * gst/registries/gstxmlregistry.h:
5802           added missing classes and symbols (123 more to go)
5803           removed removed symbols from section file
5804           fixed many doc-comments
5805
5806 2005-08-24  Wim Taymans  <wim@fluendo.com>
5807
5808         * check/generic/states.c: (GST_START_TEST):
5809         Make sure all tasks are stopped.
5810
5811         * check/gst/gstbin.c: (GST_START_TEST):
5812         Unref after usage for proper valgrinding.
5813
5814         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5815         Really wait for the task to stop before destroying the
5816         mutex.
5817
5818         * gst/gstqueue.c: (gst_queue_sink_activate_push),
5819         (gst_queue_src_activate_push):
5820         Small cleanups. Don't stop the task when we did not start
5821         it.
5822
5823         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5824         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5825         (gst_task_get_state), (gst_task_start), (gst_task_pause),
5826         (gst_task_join):
5827         * gst/gsttask.h:
5828         Protect the stream lock with the object lock.
5829         Disallow setting the stream lock when running.
5830         Add cleanup_all to wait for the threadpool to finish.
5831         Remove code to autoallocate a mutex if none was provided.
5832         Add _join() to wait for a task to stop.
5833         Protect the thread pool with a global lock.
5834
5835 2005-08-24  Wim Taymans  <wim@fluendo.com>
5836
5837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5838         (gst_base_sink_get_times), (gst_base_sink_do_sync),
5839         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5840         * gst/base/gstbasesink.h:
5841         Handle newsegment events correctly.
5842         Drop buffers out of the segment range.
5843
5844 2005-08-22  Andy Wingo  <wingo@pobox.com>
5845
5846         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5847         macro, implements an interface and gstimplementsinterface for a
5848         new type.
5849
5850 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5851
5852         * check/Makefile.am:
5853         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5854           add a test that does a bunch of state changes on elements
5855           needs some fixing for valgrind
5856         * check/states/sinks.c: (gst_object_suite):
5857           whitespace
5858         * gst/gstcaps.h:
5859           add prototype for gst_caps_is_equal_fixed
5860         * gst/gstplugin.c:
5861         * gst/gstregistrypool.c:
5862           doc fixes
5863
5864 2005-08-24  Andy Wingo  <wingo@pobox.com>
5865
5866         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5867         convert a negative value. Doesn't make much sense. Mostly this is
5868         here to force callers to ensure -1 maps to -1.
5869
5870 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5871
5872         * docs/pwg/advanced-types.xml:
5873           Well done to Michael for catching my deliberate introduction
5874           of this spelling mistake. 
5875         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5876         * gst/gstelement.h:
5877           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5878           unlink pads before removing the element from the bin.
5879
5880 2005-08-24  Andy Wingo  <wingo@pobox.com>
5881
5882         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5883         the same thing as GST_DEBUG=*:4.
5884         (parse_debug_level, parse_debug_category): New helper parsers.
5885
5886 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5887
5888         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5889         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5890         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5891         (gst_base_transform_buffer_alloc),
5892         (gst_base_transform_handle_buffer):
5893           use gboolean return values and pointers to size so we can use the
5894           full GST_BUFFER_SIZE range (guint) for buffer sizes
5895           use GstPadDirection for transform_caps
5896         * gst/base/gstbasetransform.h:
5897           rename get_size to get_unit_size since that's what it is
5898         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5899           use GstPadDirection for transform_caps
5900         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5901         * gst/gstutils.h:
5902           cleanup and debugging
5903
5904 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
5905
5906         * gst/gstelement.c: (gst_element_class_init),
5907         (gst_element_set_state), (activate_pads),
5908         (gst_element_save_thyself):
5909         * tools/gst-compprep.c: (main):
5910         * tools/gst-inspect.c: (print_element_properties_info):
5911         * tools/gst-xmlinspect.c: (print_element_properties):
5912           Fixed long standing mem-leak
5913
5914 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5915
5916         * check/gst/gstbin.c: (GST_START_TEST):
5917         * gst/gstbin.c: (bin_bus_handler):
5918         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5919         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5920         (gst_message_new_warning), (gst_message_new_tag),
5921         (gst_message_new_state_changed), (gst_message_new_segment_start),
5922         (gst_message_new_segment_done), (gst_message_new_custom):
5923         * gst/gstmessage.h:
5924         * tools/gst-launch.c: (event_loop):
5925         * tools/gst-md5sum.c: (event_loop):
5926           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5927           that applications can sensibly post custom messages with references
5928           to their own objects.
5929
5930 2005-08-24  Andy Wingo  <wingo@pobox.com>
5931
5932         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5933         already.
5934
5935 2005-08-24  Wim Taymans  <wim@fluendo.com>
5936
5937         * gst/base/gstbasetransform.c: (gst_base_transform_init),
5938         (gst_base_transform_transform_caps),
5939         (gst_base_transform_transform_size),
5940         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5941         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5942         (gst_base_transform_handle_buffer):
5943         * gst/base/gstbasetransform.h:
5944         Many fixes and new features added by Thomas. Can now also do
5945         transforms with variable sizes and a custom fixate_caps function.
5946
5947 2005-08-24  Wim Taymans  <wim@fluendo.com>
5948
5949         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5950         Some debugging.
5951
5952         * gst/gstclock.h:
5953         Cast to ClockTime before formatting to time.
5954
5955         * gst/gstutils.h:
5956         Cleanups.
5957
5958 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
5959
5960         * check/gst-libs/controller.c: (GST_START_TEST),
5961         (gst_controller_suite):
5962         * docs/gst/tmpl/gstcaps.sgml:
5963         * docs/gst/tmpl/gstghostpad.sgml:
5964         * docs/gst/tmpl/gstquery.sgml:
5965         * docs/gst/tmpl/gstutils.sgml:
5966         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5967         (gst_object_sink_values), (gst_object_get_value_arrays),
5968         (gst_object_get_value_array):
5969           gracefully handle helper method calls to objects that are not beeing
5970           controlled, added test case for that          
5971
5972 2005-08-23  Wim Taymans  <wim@fluendo.com>
5973
5974         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5975         (gst_event_new_newsegment), (gst_event_parse_newsegment),
5976         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5977         (gst_event_parse_qos), (gst_event_new_seek),
5978         (gst_event_parse_seek):
5979         * gst/gstevent.h:
5980         Some more debugging output and doc cleanups.
5981
5982         * gst/gstqueue.c: (gst_queue_handle_sink_event):
5983         Fix possible deadlock.
5984
5985 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
5986
5987         * docs/gst/gstreamer-docs.sgml:
5988         * docs/gst/gstreamer-sections.txt:
5989         * docs/gst/gstreamer.types:
5990         * docs/gst/tmpl/.cvsignore:
5991         * gst/gstbin.h:
5992         * gst/gstbus.c:
5993         * gst/gstelement.c:
5994         * gst/gstevent.h:
5995           added 100 symbols from gstreamer-unused.txt to the right sections
5996           fixed more broken comments
5997           added GstBus to docs
5998
5999 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6000
6001         * docs/gst/gstreamer-sections.txt:
6002         * docs/gst/tmpl/.cvsignore:
6003         * docs/gst/tmpl/gstbin.sgml:
6004         * docs/gst/tmpl/gstbuffer.sgml:
6005         * gst/base/gstbasesrc.c:
6006         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6007         * gst/gstbuffer.c:
6008         * gst/gstbuffer.h:
6009         * tools/gst-launch.1.in:
6010           inlined more doc comments, added missing comments and fixed comments
6011           fixed typos
6012
6013 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6014
6015         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6016           some debugging
6017         * gst/gstcaps.h:
6018           whitespace fixes
6019         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6020           more debugging
6021         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6022         * gst/gststructure.h:
6023           add a fixate function for booleans; add a FIXME that these func
6024           names should probably be gst_structure_fixate_*
6025
6026 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6027
6028         * docs/gst/gstreamer-docs.sgml:
6029         * docs/gst/gstreamer-sections.txt:
6030         * gst/Makefile.am:
6031         * gst/gstbin.c: (gst_bin_get_type),
6032         (gst_bin_child_proxy_get_child_by_index),
6033         (gst_bin_child_proxy_get_children_count),
6034         (gst_bin_child_proxy_init):
6035         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6036         (gst_child_proxy_get_child_by_index),
6037         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6038         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6039         (gst_child_proxy_get), (gst_child_proxy_set_property),
6040         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6041         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6042         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6043         * gst/gstchildproxy.h:
6044         * gst/parse/grammar.y:
6045         * tools/gst-inspect.c: (print_interfaces),
6046         (print_element_properties_info), (print_element_info):
6047           ported gstchildproxy over from 0.8
6048           ported gst-inspect fixes and enhancements over from 0.8
6049
6050 2005-08-22  Wim Taymans  <wim@fluendo.com>
6051
6052         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6053         (gst_base_transform_handle_buffer):
6054         Also call the transform function if we have ANY caps.
6055
6056         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6057         Fix debug info.
6058
6059 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6060
6061         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6062           Don't pretend to handle seek events if the source is not seekable
6063
6064 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6065
6066         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6067           Remove extra parameter to debug output
6068
6069         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6070         (gst_base_src_do_seek), (gst_base_src_activate_push):
6071           Fix seek event handling.
6072
6073         * gst/gstpipeline.c: (gst_pipeline_change_state):
6074         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6075         (gst_queue_src_activate_push):
6076           Don't start the src pad task on FLUSH_STOP if the pad
6077           isn't linked.
6078           Debug changes.
6079
6080 2005-08-22  Wim Taymans  <wim@fluendo.com>
6081
6082         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6083         Added check for gst_static_caps_get() refcounting.
6084
6085 2005-08-22  Wim Taymans  <wim@fluendo.com>
6086
6087         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6088         Make _static_caps_get() refcounting sane.
6089         
6090         * gst/gstelement.c: (gst_element_set_state):
6091         Add g_return_val_if_fail() to protect against segfaults.
6092
6093 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6094
6095         * docs/gst/tmpl/gstevent.sgml:
6096         * gst/gstevent.c:
6097         * gst/gstevent.h:
6098           inlined remaining docs, added missing doc comments
6099
6100 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6101
6102         * check/gst/gstbin.c: (GST_START_TEST):
6103           since we don't know when preroll is done, use refcount range
6104           check for the sink
6105         * gst/check/gstcheck.h:
6106           add macro for checking refcount range
6107
6108 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6109
6110         * check/Makefile.am:
6111           clean up environment for when registry gets built versus
6112           when actual tests are run; valgrind seems to not report
6113           leaks if GST_PLUGIN_PATH is set to some specific values
6114         * check/gst/gstbin.c: (GST_START_TEST):
6115           add more refcounting checks; maybe this exposes a
6116           preroll lock bug ?
6117         * common/check.mak:
6118         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6119         * gst/check/gstcheck.h:
6120         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6121         (gst_bin_change_state):
6122         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6123           add/fix debugging/whitespace
6124
6125 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6126
6127         * check/gst/gstevent.c: (event_probe), (test_event),
6128         (GST_START_TEST):
6129          Er, don't call gst_bin_watch_for_state_change you idiot.
6130
6131 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6132
6133         * check/Makefile.am:
6134           Use CHECK_CFLAGS and CHECK_LIBS
6135         * check/gst/gstevent.c: (event_probe), (test_event),
6136         (GST_START_TEST):
6137           Don't leak events.
6138         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6139         (gst_base_src_start), (gst_base_src_stop),
6140         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6141         (gst_base_src_change_state):
6142           Sprinkle gst_base_src_stop liberally around error paths to fix
6143           problems reusing a source after failed state changes.
6144         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6145         (helper_find_suggest), (gst_type_find_helper):
6146           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6147         * gst/gstevent.h:
6148         * docs/gst/tmpl/gstevent.sgml:
6149           Migrate part of the docs from the SGML file. Wait for ensonic to
6150           tell me how I did it wrong ;)
6151         * tools/gst-typefind.c: (main):
6152           Extra robustness to state changes between files.
6153
6154 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6155
6156         * check/Makefile.am:
6157           don't valgrind the controller test - it's leaking - Stefan, HELP
6158         * gst/check/gstcheck.c: (gst_check_message_error),
6159         (gst_check_chain_func), (gst_check_setup_element),
6160         (gst_check_teardown_element), (gst_check_setup_src_pad),
6161         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6162         (gst_check_teardown_sink_pad):
6163         * gst/check/gstcheck.h:
6164           add a bunch of methods to set up elements, and src and sink pads
6165         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6166         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6167         (GST_START_TEST):
6168           use them
6169         * gst/gstmessage.c:
6170         * gst/gsttag.h:
6171           whitespace/doc fixes
6172
6173 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6174
6175         * gst/gstelement.h:
6176           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6177           be handled by the application and not always printed as well
6178
6179 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6180
6181         * check/Makefile.am:
6182           set GST_TOOLS_DIR
6183         * gst/check/gstcheck.c: (gst_check_message_error):
6184         * gst/check/gstcheck.h:
6185           add a fail_unless_equals_int
6186           add fail_unless for error messages
6187
6188 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6189
6190         * check/Makefile.am:
6191         * check/gst.supp:
6192         * common/Makefile.am:
6193         * common/check.mak:
6194         * common/gst.supp:
6195           factor out some of the common stuff so we can use it
6196
6197 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6198
6199         * check/Makefile.am:
6200         * check/gst/gstiterator.c: (GST_START_TEST):
6201         * check/gst/gstsystemclock.c: (GST_START_TEST),
6202         (gst_systemclock_suite):
6203         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6204         * gst/gstclock.c:
6205           valgrind more tests
6206
6207 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6208
6209         * check/elements/.cvsignore:
6210         * check/elements/gstfakesrc.c:
6211           rename to name of element
6212         * check/elements/identity.c: (chain_func), (event_func),
6213         (setup_identity), (cleanup_identity), (GST_START_TEST),
6214         (identity_suite), (main):
6215           add a test for identity
6216         * check/Makefile.am:
6217         * pkgconfig/Makefile.am:
6218         * pkgconfig/gstreamer-check.pc.in:
6219         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6220         * gst/check:
6221         * gst/Makefile.am:
6222         * configure.ac:
6223           move the check stuff to a library that gets installed
6224         * check/gst-libs/controller.c: (GST_START_TEST):
6225         * check/gst-libs/gdp.c:
6226         * check/gst/gst.c: (GST_START_TEST):
6227         * check/gst/gstbin.c:
6228         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6229         * check/gst/gstbus.c:
6230         * check/gst/gstcaps.c: (GST_START_TEST):
6231         * check/gst/gstelement.c:
6232         * check/gst/gstghostpad.c:
6233         * check/gst/gstiterator.c:
6234         * check/gst/gstmessage.c:
6235         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6236         * check/gst/gstobject.c:
6237         * check/gst/gstpad.c: (GST_START_TEST):
6238         * check/gst/gststructure.c: (GST_START_TEST):
6239         * check/gst/gstsystemclock.c: (GST_START_TEST),
6240         (gst_systemclock_suite):
6241         * check/gst/gsttag.c: (gst_tag_suite):
6242         * check/gst/gstvalue.c:
6243         * check/pipelines/cleanup.c:
6244         * check/pipelines/simple_launch_lines.c:
6245         * check/states/sinks.c:
6246           change include statement
6247
6248         * docs/gst/gstreamer-sections.txt:
6249         * docs/gst/tmpl/gstpad.sgml:
6250           document more pad stuff
6251         * gst/gstminiobject.c: (gst_mini_object_ref),
6252         (gst_mini_object_unref):
6253           debug refcounting
6254
6255 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6256
6257         * docs/gst/tmpl/gst.sgml:
6258         * gst/gst.c:
6259           eliminate another tmpl file, fix spelling in the long-description
6260
6261 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6262
6263         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6264         (test_event), (timediff), (gstevents_suite):
6265           Should fix build on 64-bit arch's
6266
6267 2005-08-18  Andy Wingo  <wingo@pobox.com>
6268
6269         Make sure that when a pipeline goes to PLAYING, that data has
6270         actually hit the sink.
6271
6272         * check/states/sinks.c (test_sink): A sink that doesn't get any
6273         data shouldn't return SUCCESS for going to either PLAYING or
6274         PAUSED. Test also the return values on the way back down.
6275
6276         * gst/gstelement.c (gst_element_set_state): When changing the
6277         state of an element currently changing state asynchronously, go to
6278         lost-state after commiting the pending state. Makes future calls
6279         to get_state continue to return ASYNC.
6280
6281         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
6282         ASYNC when going to PLAYING if we still don't have preroll, as can
6283         happen with live sources.
6284
6285 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6286
6287         * docs/pwg/advanced-types.xml:
6288           Hack long paragraph into 2 chunks as a workaround for buggy
6289           jadetex version in sid and breezy that loops infinitely and
6290           eats all RAM.
6291
6292 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6293
6294         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6295         (test_event), (timediff), (gstevents_suite):
6296           Provide more error margin in clock measurements to allow for 
6297           g_get_current_time inaccuracies.
6298
6299 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6300
6301         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6302         (test_event), (timediff), (gstevents_suite):
6303            Fix error message output so I might be able to tell why the
6304            test works here but fails on the build farm.
6305
6306 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
6307
6308         * check/Makefile.am:
6309         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
6310         (test_event), (timediff), (gstevents_suite), (main):
6311           I wrote a test!
6312
6313         * docs/design/part-seeking.txt:
6314           Spelling correction
6315
6316         * docs/gst/tmpl/gstevent.sgml:
6317         * docs/gst/tmpl/gstfakesrc.sgml:
6318           Docs updates.
6319
6320         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6321           Treat a buffer-without-newsegment the same as a receiving 
6322           a newsegment not in time format, and disable syncing to the clock
6323           with a warning.
6324
6325         * gst/gstbus.c: (gst_bus_set_sync_handler):
6326           Assert if anyone tries to replace the existing sync_handler for bus, 
6327           as only the owner should be setting it.
6328
6329         * gst/gstevent.h:
6330           Have a fixed set of custom event enums with events identified by
6331           their structure name (as in 0.8), rather than a free-for-all
6332           allowing collisions between enum values from different plugins.
6333
6334         * gst/gstpad.c: (gst_pad_class_init):
6335           Docs change.
6336           
6337         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6338           Handle out-of-band downstream events from the sending thread.
6339
6340 2005-08-17  Andy Wingo  <wingo@pobox.com>
6341
6342         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
6343         play-timeout==0 to mean no timeout at all. In that case, don't
6344         bother with a get_state or a warning, just return directly, even
6345         if it's ASYNC.
6346
6347         * gst/base/gstbasetransform.c: Debug changes.
6348
6349         * gst/gstutils.h:
6350         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
6351         ensure bins post state change messages. A bit of a hack but I can't
6352         think of a way to avoid it.
6353
6354         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
6355
6356 2005-08-16  Andy Wingo  <wingo@pobox.com>
6357
6358         * gst/base/gstadapter.h:
6359         * gst/base/gstadapter.c (gst_adapter_take): New function, like
6360         peek() but you own the data. Not terribly efficient atm.
6361
6362 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6363
6364         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
6365         (gst_element_found_tags):
6366         * gst/gstutils.h:
6367           Add two utility functions for tag handling.
6368
6369 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6370
6371         * docs/manual/advanced-dataaccess.xml:
6372         * docs/manual/basics-helloworld.xml:
6373           Fix docs to use _bin_add() before _link(), which fixes the examples
6374           with recent core versions (reported by Madhan Raj M
6375           <raj_madan@rediffmail.com>, #313199).
6376
6377 2005-08-16  Wim Taymans  <wim@fluendo.com>
6378
6379         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6380         Added subtract checks.
6381
6382         * docs/design/part-events.txt:
6383         Some more docs about newsegment
6384
6385         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6386         Fix FIXME
6387
6388         * gst/gstcaps.c: (gst_caps_to_string):
6389         Add comments, cleanups.
6390         
6391         * gst/gstelement.c: (gst_element_save_thyself):
6392         cleanups
6393         
6394         * gst/gstvalue.c: (gst_value_collect_int_range),
6395         (gst_string_unwrap), (gst_value_union_int_int_range),
6396         (gst_value_union_int_range_int_range),
6397         (gst_value_intersect_int_int_range),
6398         (gst_value_intersect_int_range_int_range),
6399         (gst_value_intersect_double_double_range),
6400         (gst_value_intersect_double_range_double_range),
6401         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
6402         (gst_value_subtract_int_range_int),
6403         (gst_value_subtract_double_range_double),
6404         (gst_value_subtract_double_range_double_range),
6405         (gst_value_subtract_from_list), (gst_value_subtract_list),
6406         (gst_value_can_compare), (gst_value_compare_fraction):
6407         Cleanups, add comments, remove unneeded asserts.
6408
6409 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6410
6411         * tools/gst-launch.c: (event_loop):
6412           don't convert NULL structures to strings
6413
6414 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
6415
6416         * docs/gst/gstreamer-sections.txt:
6417           made some defines private
6418         * docs/gst/tmpl/gstconfig.sgml:
6419         * docs/gst/tmpl/gstqueue.sgml:
6420         * docs/gst/tmpl/gsttaglist.sgml:
6421         * docs/gst/tmpl/gsttypes.sgml:
6422         * docs/gst/tmpl/gstutils.sgml:
6423         * docs/pwg/appendix-porting.xml:
6424         * gst/base/gstbasesink.h:
6425         * gst/base/gstbasesrc.c:
6426         * gst/base/gstbasesrc.h:
6427         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
6428         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
6429         * gst/gstelement.c: (gst_element_class_init):
6430         * gst/gstpad.c: (gst_pad_class_init):
6431         * gst/gstqueue.c: (gst_queue_class_init):
6432         * gst/gstxml.c: (gst_xml_class_init):
6433           documented all undocumented signal inline
6434         * libs/gst/controller/gst-controller.h:
6435           added padding
6436
6437 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6438
6439         * docs/pwg/appendix-porting.xml:
6440           Document _set_link_function -> _set_setcaps_function.
6441
6442 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6443
6444         * check/Makefile.am:
6445           add a .check target for running the check
6446         * check/gst-libs/controller.c: (GST_START_TEST):
6447           cosmetic fixups
6448         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6449           complete checks for gstbuffer; would be nice if I could get the
6450           gcov stuff to work so I can see if I actually completed gstbuffer.c
6451         * check/gstcheck.h:
6452           add ASSERT_BUFFER_REFCOUNT
6453
6454 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * docs/gst/gstreamer-sections.txt:
6457         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
6458         * gst/gsttag.h:
6459           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
6460           spew out a warning if a tag that is already registered
6461           is re-registered, unless it is re-registered with a 
6462           different type (#308438).
6463
6464 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
6465
6466         * docs/pwg/appendix-porting.xml:
6467         * docs/pwg/building-state.xml:
6468           Add some paragraphs about state changes in 0.9 to the PWG
6469           and the porting guide, in particular about the new meaning
6470           of GST_STATE_PAUSED and how to write state change functions
6471           with concurrent access by multiple threads in mind.
6472
6473 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
6474
6475         * docs/gst/gstreamer-docs.sgml:
6476         * docs/libs/gstreamer-libs-docs.sgml:
6477           added deprecation and since indexes
6478         * libs/gst/controller/gst-controller.c:
6479         * libs/gst/controller/gst-helper.c:
6480           added since tags
6481
6482
6483 2005-08-11  Wim Taymans  <wim@fluendo.com>
6484
6485         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6486         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6487         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6488         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6489         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6490         (gst_ghost_pad_set_target):
6491         Actually implement (re)setting the target on a ghostpad
6492         as described in the docs.
6493
6494 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6497           Check whether GST_DEBUG_NO_COLOR environment variable is
6498           set and disable coloured debug output if that is the case.
6499
6500 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6503         (gst_type_find_helper):
6504           The memory returned by gst_type_find_peek() needs to
6505           stay valid until the end of a typefind function, and
6506           typefind functions may keep results from different 
6507           offsets around, so we can't just unref the buffer from
6508           the previous _peek(), but have to save all buffers 
6509           returned by _peek() until typefinding is done and only
6510           free them then.
6511
6512 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * docs/gst/gstreamer-sections.txt:
6515         * gst/gstutils.h:
6516           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6517
6518 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6519
6520         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6521           Fix a pretty good memleak.
6522
6523 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6524
6525         * gst/gstiterator.h:
6526           Fix wrong include and 'make distcheck'.
6527
6528 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6529
6530         * gst/gstbin.c: (bin_bus_handler):
6531           Use gst_element_post_message() instead.
6532
6533 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
6534
6535         * gst/base/gstadapter.h:
6536         * gst/base/gstbasesink.h:
6537         * gst/base/gstbasesrc.h:
6538         * gst/base/gstbasetransform.h:
6539         * gst/base/gstcollectpads.h:
6540         * gst/base/gstpushsrc.h:
6541         * gst/gstiterator.h:
6542           Add padding to our base elements' class and instance structs and
6543           to GstIterator (you will need to rebuild all plugins and apps!)
6544
6545 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6546
6547         * gst/gstbin.c: (bin_bus_handler):
6548           Make default message forwarding from child->bus to bin->bus
6549           threadsafe and make it not emit warnings if the parent has no bus.
6550
6551 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6552
6553         * gst/gstelement.c: (activate_pads):
6554           On paused->ready, set pad->caps to NULL, as is the documented
6555           behaviour in this state change. Fixes playback of series of
6556           media files when visualization is enabled in Totem.
6557
6558 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6559
6560         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6561           Allow NULL as filter-caps (which means "any").
6562
6563 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6564
6565         * docs/libs/gstreamer-libs-sections.txt:
6566         * libs/gst/controller/gst-controller.c:
6567         * libs/gst/controller/gst-controller.h:
6568         * libs/gst/controller/gst-helper.c:
6569           adding more entries to the docs and fix small doc-bugs
6570
6571 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6572
6573         * docs/gst/gstreamer-docs.sgml:
6574         * docs/gst/gstreamer-sections.txt:
6575         * docs/gst/gstreamer.types:
6576         * docs/gst/tmpl/gstbasesink.sgml:
6577         * docs/gst/tmpl/gstbasesrc.sgml:
6578         * docs/gst/tmpl/gstbasetransform.sgml:
6579         * docs/gst/tmpl/gstfakesrc.sgml:
6580         * gst/base/gstcollectpads.c:
6581         * gst/base/gstcollectpads.h:
6582         * libs/gst/controller/gst-controller.c:
6583         * libs/gst/controller/gst-controller.h:
6584         * libs/gst/controller/gst-helper.c:
6585         * libs/gst/controller/gst-interpolation.c:
6586         * libs/gst/controller/lib.c:
6587           added long/short desc for controller docs
6588           added collectpads base class docs
6589           added correct includes to base-class docs
6590
6591 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
6592
6593         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6594         (gst_test_mono_source_set_property),
6595         (gst_test_mono_source_class_init), (GST_START_TEST),
6596         (gst_controller_suite):
6597         * docs/gst/gstreamer-docs.sgml:
6598         * docs/gst/gstreamer-sections.txt:
6599         * docs/gst/gstreamer.types:
6600         * docs/libs/gstreamer-libs-docs.sgml:
6601         * docs/libs/gstreamer-libs-sections.txt:
6602         * gst/base/gstadapter.c:
6603         * libs/gst/controller/gst-controller.c:
6604         (gst_controlled_property_new), (gst_controlled_property_free),
6605         (gst_controller_new_valist),
6606         (gst_controller_remove_properties_valist),
6607         (gst_controller_sink_values), (_gst_controller_finalize):
6608         * libs/gst/controller/gst-controller.h:
6609         * libs/gst/controller/gst-helper.c:
6610         (gst_object_control_properties), (gst_object_uncontrol_properties),
6611         (gst_object_get_controller), (gst_object_set_controller),
6612         (gst_object_sink_values), (gst_object_get_value_arrays),
6613         (gst_object_get_value_array):
6614           more tests (and fixes) for the controller
6615           more docs for the controller
6616           integrated companies docs for the adapter 
6617
6618 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6619
6620         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6621         (GST_START_TEST), (fakesrc_suite):
6622           add tests for sizetype
6623
6624 2005-08-04  Andy Wingo  <wingo@pobox.com>
6625
6626         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6627         fixes buffer_alloc proxying among other things.
6628
6629         * gst/base/gstbasetransform.c:
6630         * gst/base/gstbasetransform.h:
6631         Revert patch to gstbasetransform from 7-28 removing
6632         delay_configure.
6633
6634         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6635         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6636         Semantics changed, should return not the size of the output buffer
6637         but the byte size of a buffer with a given caps.
6638
6639         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6640         debug object.
6641         (gst_base_transform_configure_caps): Don't set out_size here: (in,
6642         out) are not the pad caps until setcaps finishes.
6643         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6644         not-in-place case as well. Deal with changing from in-place to
6645         not-in-place within calling pad_alloc_buffer. Still a bit
6646         concerned about the overhead here...
6647
6648 2005-08-03  Andy Wingo  <wingo@pobox.com>
6649
6650         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6651         fixating is an error.
6652
6653 2005-08-04  Edward Hervey  <edward@fluendo.com>
6654
6655         * gst/base/gstadapter.h: 
6656         Added gst_adapter_get_type() to the header
6657
6658 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
6659
6660         * check/Makefile.am:
6661         * check/gst-libs/controller.c:
6662         * libs/gst/controller/gst-controller.c:
6663         (gst_controller_new_valist):
6664           added check test suite for the controller
6665         * gst/base/gstpushsrc.c:
6666           fixed a doc typo
6667
6668 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
6669
6670         * docs/gst/Makefile.am:
6671         * docs/gst/gstreamer-docs.sgml:
6672         * docs/gst/gstreamer-sections.txt:
6673         * docs/gst/gstreamer.types:
6674         * docs/gst/tmpl/gstfakesrc.sgml:
6675         * gst/base/README:
6676         * gst/base/gstbasesink.c:
6677         * gst/base/gstbasesink.h:
6678         * gst/base/gstbasesrc.c:
6679         * gst/base/gstbasesrc.h:
6680         * gst/base/gstbasetransform.c:
6681         * gst/base/gstpushsrc.c:
6682         * gst/base/gstpushsrc.h:
6683           add short/long description docs to base classes
6684           add pushsrc to the docs
6685           remove consolidated doc fragments
6686
6687 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * configure.ac:
6690         * docs/libs/Makefile.am:
6691         * docs/libs/gstreamer-libs-docs.sgml:
6692         * docs/libs/gstreamer-libs-sections.txt:
6693         * docs/libs/gstreamer-libs.types:
6694         * examples/Makefile.am:
6695         * examples/controller/.cvsignore:
6696         * examples/controller/Makefile.am:
6697         * examples/controller/audio-example.c: (main):
6698         * libs/gst/Makefile.am:
6699         * libs/gst/controller/.cvsignore:
6700         * libs/gst/controller/Makefile.am:
6701         * libs/gst/controller/gst-controller.c:
6702         (on_object_controlled_property_changed), (gst_timed_value_compare),
6703         (gst_timed_value_find),
6704         (gst_controlled_property_set_interpolation_mode),
6705         (gst_controlled_property_new), (gst_controlled_property_free),
6706         (gst_controller_find_controlled_property),
6707         (gst_controller_new_valist), (gst_controller_new),
6708         (gst_controller_remove_properties_valist),
6709         (gst_controller_remove_properties), (gst_controller_set),
6710         (gst_controller_set_from_list), (gst_controller_unset),
6711         (gst_controller_get), (gst_controller_get_all),
6712         (gst_controller_sink_values), (gst_controller_get_value_arrays),
6713         (gst_controller_get_value_array),
6714         (gst_controller_set_interpolation_mode),
6715         (_gst_controller_finalize), (_gst_controller_init),
6716         (_gst_controller_class_init), (gst_controller_get_type):
6717         * libs/gst/controller/gst-controller.h:
6718         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6719         (g_object_uncontrol_properties), (g_object_get_controller),
6720         (g_object_set_controller), (g_object_sink_values),
6721         (g_object_get_value_arrays), (g_object_get_value_array):
6722         * libs/gst/controller/gst-interpolation.c:
6723         (gst_controlled_property_find_timed_value_node),
6724         (interpolate_none_get), (interpolate_trigger_get),
6725         (interpolate_trigger_get_value_array):
6726         * libs/gst/controller/lib.c: (gst_controller_init):
6727         * pkgconfig/Makefile.am:
6728         * pkgconfig/gstreamer-control-uninstalled.pc.in:
6729         * pkgconfig/gstreamer-control.pc.in:
6730         * testsuite/Makefile.am:
6731         * testsuite/controller/.cvsignore:
6732         * testsuite/controller/Makefile.am:
6733         * testsuite/controller/interpolator.c: (main):
6734           added controller code
6735           removed dparam pc files
6736
6737 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
6738         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6739         (gst_collectpads_stop):
6740           Broadcast the condition when shutting down, to make sure we wake all
6741           threads up. Shut down pads on finalize, for safety.
6742
6743 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
6744         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6745         (gst_base_transform_handle_buffer),
6746         (gst_base_transform_change_state):
6747           Handle PAUSED->READY->PAUSED transition after negotiation
6748           occurred already.
6749         * gst/gstmessage.c: (gst_message_init):
6750           Extra piece of debug for new messages.
6751
6752 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
6753
6754         * configure.ac:
6755         * docs/gst/tmpl/gstbasesrc.sgml:
6756         * docs/gst/tmpl/gstelement.sgml:
6757         * docs/gst/tmpl/gstevent.sgml:
6758         * docs/gst/tmpl/gstfakesrc.sgml:
6759         * docs/gst/tmpl/gstformat.sgml:
6760         * docs/gst/tmpl/gstghostpad.sgml:
6761         * docs/gst/tmpl/gstpad.sgml:
6762         * docs/gst/tmpl/gstquery.sgml:
6763         * docs/gst/tmpl/gststructure.sgml:
6764         * docs/gst/tmpl/gsttaglist.sgml:
6765         * docs/gst/tmpl/gstvalue.sgml:
6766         * docs/libs/gstreamer-libs-docs.sgml:
6767         * docs/libs/gstreamer-libs-sections.txt:
6768         * docs/libs/gstreamer-libs.types:
6769         * libs/gst/Makefile.am:
6770         * libs/gst/control/.cvsignore:
6771         * libs/gst/control/Makefile.am:
6772         * libs/gst/control/control.c:
6773         * libs/gst/control/control.h:
6774         * libs/gst/control/dparam.c:
6775         * libs/gst/control/dparam.h:
6776         * libs/gst/control/dparam_smooth.c:
6777         * libs/gst/control/dparam_smooth.h:
6778         * libs/gst/control/dparamcommon.h:
6779         * libs/gst/control/dparammanager.c:
6780         * libs/gst/control/dparammanager.h:
6781         * libs/gst/control/dplinearinterp.c:
6782         * libs/gst/control/dplinearinterp.h:
6783         * libs/gst/control/unitconvert.c:
6784         * libs/gst/control/unitconvert.h:
6785         * testsuite/Makefile.am:
6786         * testsuite/dynparams/.cvsignore:
6787         * testsuite/dynparams/Makefile.am:
6788         * testsuite/dynparams/dparamstest.c:
6789         * tools/Makefile.am:
6790         * tools/gst-inspect.c: (print_element_info), (main):
6791         * tools/gst-xmlinspect.c: (print_element_info), (main):
6792           deactivate and remove dparams (libgstcontrol)
6793
6794 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6795
6796         * gst/elements/gsttypefindelement.c:
6797         (gst_type_find_element_have_type), (gst_type_find_element_init),
6798         (stop_typefinding), (gst_type_find_element_handle_event),
6799         (gst_type_find_element_chain), (gst_type_find_element_getrange):
6800         * gst/elements/gsttypefindelement.h:
6801           Set caps on all outgoing buffers, not just the first one.
6802
6803 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * gst/elements/gsttypefindelement.c:
6806         (gst_type_find_element_have_type),
6807         (gst_type_find_element_check_set_buffer_caps),
6808         (gst_type_find_element_init), (stop_typefinding),
6809         (gst_type_find_element_handle_event),
6810         (gst_type_find_element_chain), (gst_type_find_element_getrange):
6811         * gst/elements/gsttypefindelement.h:
6812           Set caps on first outgoing buffer when we've found the type.
6813
6814 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
6815
6816         * docs/gst/gstreamer-docs.sgml:
6817         * docs/gst/gstreamer-sections.txt:
6818         * docs/gst/tmpl/gstscheduler.sgml:
6819         * docs/gst/tmpl/gstschedulerfactory.sgml:
6820           Remove some old cruft from docs.
6821
6822 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
6823
6824         * gst/gstpad.h:
6825           Fix inline docs for GstPadLinkReturn.
6826           
6827         * gst/gststructure.c: (gst_structure_has_name):
6828         * gst/gststructure.h:
6829         * docs/gst/gstreamer-sections.txt:
6830           New API: gst_structure_has_name().
6831
6832 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
6833
6834         * configure.ac:
6835           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6836           and _LARGEFILE_SOURCE in config.h as required. Do not 
6837           export those flags in our .pc files any longer (#142209).
6838
6839           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6840
6841         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6842         (gst_file_sink_do_seek), (gst_file_sink_event),
6843         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6844           Redo seek/tell calls with large file support in mind; add some
6845           debugging messages; add log message that tells us when large
6846           file support is unavailable or not enabled for some reason.
6847
6848         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6849           Add log message that tells us when large file support 
6850           is unavailable or not enabled for some reason.
6851
6852 2005-07-29  Wim Taymans  <wim@fluendo.com>
6853
6854         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6855         Added test for removing an element with ghostpad from a bin.
6856         Fixed test as current implementation does the right thing.
6857
6858         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6859         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6860         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6861         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6862         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6863         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6864         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6865         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6866         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6867         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6868         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6869         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6870         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6871         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6872         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6873         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6874         * gst/gstghostpad.h:
6875         Clean up ghostpads, remove properties for internal stuff.
6876         Make threadsafe.
6877         Fix refcounting.
6878         Prepare for switching targets, not all use cases work yet.
6879
6880 2005-07-29  Wim Taymans  <wim@fluendo.com>
6881
6882         * docs/design/part-gstghostpad.txt:
6883         Small update.
6884
6885         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6886         (gst_bin_remove_func):
6887         Unlinking pads while holding the bin LOCK is not a good
6888         idea.
6889
6890         * gst/gstpad.c: (gst_pad_class_init),
6891         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6892         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6893         No prob setting template after creating the pad.
6894
6895 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
6896
6897         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6898         (gst_bus_peek), (gst_bus_source_dispatch),
6899         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6900         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6901           gst_bus_poll may be called from other threads. Handle
6902           this nicely by not making poll_data disappear off the
6903           stack once gst_bus_poll returns.
6904           gst_bus_peek now increments the refcount on the returned
6905           message.
6906
6907 2005-07-29  Wim Taymans  <wim@fluendo.com>
6908
6909         * docs/design/part-gstghostpad.txt:
6910         Overview of current GhostPad datastructures and use
6911         cases for changing the target.
6912
6913 2005-07-28  Wim Taymans  <wim@fluendo.com>
6914
6915         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6916         Added checks for hierarchy consistency whan adding linked
6917         elements to bins.
6918
6919         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6920         Added check to test element scheduling without bin/pipeline.
6921
6922         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6923         First add elements to bin, then link.
6924         
6925         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6926         (gst_bin_remove_func):
6927         Unlink pads from elements added/removed from bin to maintain
6928         hierarchy consistency.
6929
6930 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6931
6932         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6933         (gst_base_transform_handle_buffer):
6934         * gst/base/gstbasetransform.h:
6935           Remove broken delay_configure (fixes renegotiation of software
6936           scaling pipelines); remove some leftover printf()s.
6937
6938 2005-07-28  Wim Taymans  <wim@fluendo.com>
6939
6940         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6941         Added some more tests for wrong hierarchy
6942
6943         * docs/design/part-overview.txt:
6944         Some updates.
6945
6946         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6947         Cleanups.
6948
6949         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6950         (gst_element_dispose):
6951         Some more cleanups.
6952
6953         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6954         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6955         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6956         (gst_pad_set_caps), (gst_pad_send_event):
6957         Check for correct hierarchy when linking pads. Moving to
6958         strict requirement for ghostpads when linking elements in
6959         different bins.
6960
6961         * gst/gstpad.h:
6962         Clean ups. Added WRONG_HIERARCHY return value.
6963
6964 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
6965
6966         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6967           Better debug if no transform is possible.
6968
6969 2005-07-27  Wim Taymans  <wim@fluendo.com>
6970
6971         * docs/random/wtay/network-transp:
6972         Some old doc I had.
6973
6974 2005-07-27  Wim Taymans  <wim@fluendo.com>
6975
6976         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6977         (gst_dp_event_from_packet):
6978         Fix serialization of seek events.
6979
6980 2005-07-27  Wim Taymans  <wim@fluendo.com>
6981
6982         * check/gst-libs/gdp.c: (GST_START_TEST):
6983         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6984         Fix compilation and fix event serialization.
6985
6986 2005-07-27  Wim Taymans  <wim@fluendo.com>
6987
6988         * CHANGES-0.9:
6989         * docs/design/part-TODO.txt:
6990         * docs/design/part-events.txt:
6991         Some docs updates
6992
6993         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6994         (gst_base_sink_event), (gst_base_sink_do_sync),
6995         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6996         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6997         (gst_base_src_do_seek), (gst_base_src_event_handler),
6998         (gst_base_src_loop):
6999         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7000         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7001         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7002         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7003         (gst_base_transform_set_passthrough),
7004         (gst_base_transform_is_passthrough):
7005         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7006         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7007         Event updates.
7008
7009         * gst/gstbuffer.h:
7010         Use faster casts.
7011
7012         * gst/gstelement.c: (gst_element_seek):
7013         * gst/gstelement.h:
7014         Update gst_element_seek.
7015
7016         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7017         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7018         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7019         (gst_event_new_eos), (gst_event_new_newsegment),
7020         (gst_event_parse_newsegment), (gst_event_new_tag),
7021         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7022         (gst_event_parse_qos), (gst_event_new_seek),
7023         (gst_event_parse_seek), (gst_event_new_navigation):
7024         * gst/gstevent.h:
7025         Make GstEvent use GstStructure. Add parsing code, make sure the
7026         API is sufficiently generic.
7027         Mark possible directions of events and serialization.
7028
7029         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7030         (_gst_message_copy), (gst_message_new_segment_start),
7031         (gst_message_new_segment_done), (gst_message_new_custom),
7032         (gst_message_parse_segment_start),
7033         (gst_message_parse_segment_done):
7034         Small cleanups.
7035
7036         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7037         (gst_pad_set_caps), (gst_pad_send_event):
7038         Update for new events. 
7039         Catch events sent in wrong directions.
7040
7041         * gst/gstqueue.c: (gst_queue_link_src),
7042         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7043         (gst_queue_handle_src_query):
7044         Event updates.
7045
7046         * gst/gsttag.c:
7047         * gst/gsttag.h:
7048         Remove event code from this file.
7049
7050         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7051         (gst_dp_event_from_packet):
7052         Event updates.
7053
7054 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7055
7056         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7057         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7058         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7059           Make debugging actually useful.
7060
7061 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7062
7063         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7064         (gst_pad_fixate_caps):
7065           Implement default fixation once again, so that gst_pad_fixate()
7066           actually does anything at all. This probably needs to be some
7067           sort of a last resort, and use profile-based fixation first, but
7068           since that doesn't exist yet, this is the best we have. Fixes
7069           visualization in Totem.
7070
7071 2005-07-22  Wim Taymans  <wim@fluendo.com>
7072
7073         * docs/design/part-events.txt:
7074         Small update.
7075
7076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7077         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7078         (gst_base_sink_activate_pull):
7079         Some more comments.
7080
7081         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7082         (gst_fake_src_create):
7083         Fix handoff marshall.
7084
7085         * gst/elements/gstidentity.c: (gst_identity_class_init),
7086         (gst_identity_transform_ip):
7087         We're a real inplace element.
7088
7089         * gst/gstbus.c: (gst_bus_post):
7090         Added some comments.
7091
7092         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7093         * tests/muxing/case1.c: (main):
7094         * tests/sched/dynamic-pipeline.c: (main):
7095         * tests/sched/interrupt1.c: (main):
7096         * tests/sched/interrupt2.c: (main):
7097         * tests/sched/interrupt3.c: (main):
7098         * tests/sched/runxml.c: (main):
7099         * tests/sched/sched-stress.c: (main):
7100         * tests/seeking/seeking1.c: (event_received), (main):
7101         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7102         (main):
7103         * tests/threadstate/threadstate3.c: (main):
7104         * tests/threadstate/threadstate4.c: (main):
7105         * tests/threadstate/threadstate5.c: (main):
7106         Fix the tests.
7107
7108 2005-07-21  Wim Taymans  <wim@fluendo.com>
7109
7110         * docs/design/part-seeking.txt:
7111         Some small additions.
7112
7113         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7114         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7115         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7116         * gst/base/gstbasesink.h:
7117         discont values are gint64, handle the math correctly.
7118
7119         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7120         Make the basesrc report error if the source pad is not linked.
7121
7122         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7123         (gst_queue_loop), (gst_queue_handle_src_query),
7124         (gst_queue_src_activate_push):
7125         Make queue collect data even if the srcpad is not linked.
7126         Start pushing out data as soon as it is linked.
7127
7128         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7129         * gst/gstutils.h:
7130         Added gst_flow_get_name() to ease error reporting.
7131
7132 2005-07-20  Wim Taymans  <wim@fluendo.com>
7133
7134         * gst/gstmessage.c: (gst_message_new_segment_start),
7135         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7136         (gst_message_parse_segment_done):
7137         * gst/gstmessage.h:
7138         Added a bunch of messages for advanced seeking.
7139
7140         * gst/parse/grammar.y:
7141         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7142         (gst_dpman_state_changed):
7143         Fix some new-pad -> pad-added signals
7144
7145 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7146
7147         * docs/manual/appendix-porting.xml:
7148         * docs/pwg/appendix-porting.xml:
7149           Document new-pad/state-change signal renames and the FixedList
7150           type rename.
7151
7152 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7153
7154         * docs/manual/advanced-autoplugging.xml:
7155         * docs/manual/basics-helloworld.xml:
7156         * docs/manual/basics-pads.xml:
7157         * docs/random/ds/0.9-suggested-changes:
7158         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7159         * gst/gstelement.h:
7160         * gst/gstevent.h:
7161         * gst/gstformat.h:
7162         * gst/gstquery.h:
7163         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7164         (gst_structure_parse_array), (gst_structure_parse_value):
7165         * gst/gstvalue.c: (gst_type_is_fixed),
7166         (gst_value_list_prepend_value), (gst_value_list_append_value),
7167         (gst_value_list_get_size), (gst_value_list_get_value),
7168         (gst_value_transform_array_string), (gst_value_serialize_array),
7169         (gst_value_deserialize_array), (gst_value_intersect_array),
7170         (gst_value_is_fixed), (_gst_value_initialize):
7171         * gst/gstvalue.h:
7172           GstElement::new-pad -> pad-added, GstElement::state-change ->
7173           state-changed, GstValueFixedList -> GstValueArray, add format and
7174           flags as their own arguments in gst_element_seek() (should improve
7175           "bindeability"), remove function generators since they don't work
7176           under a whole bunch of compilers (they were deprecated already
7177           anyway).
7178
7179 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7180
7181         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7182         (_gst_debug_register_funcptr):
7183         * gst/gstinfo.h:
7184           Fix illegal cast on some platforms (#309253).
7185
7186 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7187
7188         * gst/gstmessage.c: (gst_message_new_custom):
7189         * gst/gstmessage.h:
7190           Add _new_custom, make _new_application a macro to _new_custom.
7191
7192 2005-07-20  Wim Taymans  <wim@fluendo.com>
7193
7194         * gst/base/gstbasesrc.c: (gst_base_src_init),
7195         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7196         * gst/base/gstbasesrc.h:
7197         Add a gboolean to decide when to push out a discont.
7198
7199         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7200         (gst_queue_loop), (gst_queue_handle_src_query),
7201         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7202         (gst_queue_set_property), (gst_queue_get_property):
7203         Some cleanups.
7204
7205         * tests/threadstate/threadstate1.c: (main):
7206         Make a thread test compile and run... very silly..
7207
7208
7209 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7210
7211         * docs/manual/appendix-porting.xml:
7212           Mention removal of libgstgconf-0.9.la and existence of gconf
7213           elements.
7214
7215 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7216
7217         * docs/pwg/advanced-clock.xml:
7218         * docs/pwg/appendix-porting.xml:
7219         * docs/pwg/intro-preface.xml:
7220         * docs/pwg/other-base.xml:
7221         * docs/pwg/other-manager.xml:
7222         * docs/pwg/other-nton.xml:
7223         * docs/pwg/other-ntoone.xml:
7224         * docs/pwg/other-oneton.xml:
7225         * docs/pwg/pwg.xml:
7226           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7227           demuxer), remove n-to-n (was never written), fix some code examples
7228           and links and update the porting section to include all this.
7229
7230 2005-07-19  Wim Taymans  <wim@fluendo.com>
7231
7232         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7233         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7234         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7235         (gst_queue_src_activate_push), (gst_queue_change_state),
7236         (gst_queue_get_property):
7237         * gst/gstqueue.h:
7238         Propagate GstFlowReturn more intelligently upstream and output
7239         an ERROR/EOS when streaming stopped due to fatal error.
7240
7241 2005-07-19  Wim Taymans  <wim@fluendo.com>
7242
7243         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7244         Don't block forever for the state change to complete, the
7245         pipeline already did with a sensible timeout.
7246
7247 2005-07-19  Wim Taymans  <wim@fluendo.com>
7248
7249         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7250         Make sure we never call the create function is we
7251         got deactivated.
7252
7253 2005-07-19  Andy Wingo  <wingo@pobox.com>
7254
7255         * gst/parse/parse.l: Attempt to solve bug #172815.
7256
7257 2005-07-19  Wim Taymans  <wim@fluendo.com>
7258
7259         * docs/design/part-clocks.txt:
7260         * docs/design/part-events.txt:
7261         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
7262         Small docs updates.
7263         Only update the seeking values when we are not
7264         busy streaming.
7265
7266 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7267
7268         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7269           Oops, ignore the result of gst_pad_push_event here.
7270
7271 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
7272
7273         * gst/base/gstbasesrc.c: (gst_base_src_loop),
7274         (gst_base_src_activate_push):
7275           Send discont event from the loop function, as pads
7276           aren't activated yet in the activate_push handler.
7277
7278         * gst/gstbin.c: (bin_bus_handler):
7279           Don't leak element name.
7280
7281 2005-07-18  Andy Wingo  <wingo@pobox.com>
7282
7283         * configure.ac: Use AS_LIBTOOL_TAGS.
7284
7285 2005-07-18  Wim Taymans  <wim@fluendo.com>
7286
7287         * docs/gst/gstreamer.types:
7288         Remove deleted types.
7289
7290 2005-07-18  Wim Taymans  <wim@fluendo.com>
7291
7292         * check/elements/gstfakesrc.c: (GST_START_TEST):
7293         * configure.ac:
7294         * gst/Makefile.am:
7295         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
7296         (init_popt_callback):
7297         * gst/gst.h:
7298         * gst/gst_private.h:
7299         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
7300         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
7301         * gst/gstbin.h:
7302         * gst/gstbus.h:
7303         * gst/gstconfig.h.in:
7304         * gst/gstelement.c: (gst_element_class_init),
7305         (gst_element_set_base_time), (gst_element_get_base_time),
7306         (iterator_fold_with_resync), (gst_element_change_state),
7307         (gst_element_dispose), (gst_element_get_bus):
7308         * gst/gstelement.h:
7309         * gst/gstelementfactory.h:
7310         * gst/gsterror.c: (_gst_core_errors_init):
7311         * gst/gsterror.h:
7312         * gst/gstevent.h:
7313         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7314         * gst/gstindex.c:
7315         * gst/gstinfo.c: (_gst_debug_init):
7316         * gst/gstmessage.c: (_gst_message_copy):
7317         * gst/gstmessage.h:
7318         * gst/gstminiobject.h:
7319         * gst/gstobject.c:
7320         * gst/gstobject.h:
7321         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7322         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
7323         * gst/gstpad.h:
7324         * gst/gstparse.h:
7325         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7326         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7327         (gst_pipeline_get_last_stream_time):
7328         * gst/gstpipeline.h:
7329         * gst/gstpluginfeature.h:
7330         * gst/gstquery.h:
7331         * gst/gstscheduler.c:
7332         * gst/gstscheduler.h:
7333         * gst/gststructure.h:
7334         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7335         (gst_task_finalize), (gst_task_func), (gst_task_create),
7336         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
7337         (gst_task_stop), (gst_task_pause):
7338         * gst/gsttask.h:
7339         * gst/gsttypefind.h:
7340         * gst/gsttypes.h:
7341         * gst/registries/gstlibxmlregistry.c: (load_feature),
7342         (gst_xml_registry_load), (gst_xml_registry_save_feature):
7343         * gst/registries/gstxmlregistry.c:
7344         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
7345         * gst/schedulers/threadscheduler.c:
7346         * libs/gst/control/dparammanager.h:
7347         * tools/gst-inspect.c: (print_element_list),
7348         (print_plugin_features), (print_element_features):
7349         * tools/gst-xmlinspect.c: (print_element_list),
7350         (print_plugin_info), (main):
7351         Removed plugable schedulers.
7352         Removed Scheduler/Manager from elements.
7353         Removed gsttypes.h, rearranged includes.
7354         Removed dependency pad<->element, element<>pipeline, and
7355         various others,  fix includes.
7356         implement gst_pad_get_parent() with gst_object_get_parent()
7357         Make GstTask sefcontained.
7358         Fix _get_state() on GstBin, it did not return ASYNC with a 0
7359         timeout.
7360         Fix endless loop in iterator_fold_with_resync.
7361
7362
7363 2005-07-18  Wim Taymans  <wim@fluendo.com>
7364
7365         * gst/Makefile.am:
7366         * gst/gstarch.h:
7367         Remove old file.
7368
7369 2005-07-18  Wim Taymans  <wim@fluendo.com>
7370
7371         * gst/Makefile.am:
7372         No more cothreads.h
7373
7374 2005-07-18  Wim Taymans  <wim@fluendo.com>
7375
7376         * gst/cothreads.c:
7377         * gst/cothreads.h:
7378         Let's remove these.
7379
7380 2005-07-18  Wim Taymans  <wim@fluendo.com>
7381
7382         * docs/design/part-dynamic.txt:
7383         * docs/design/part-events.txt:
7384         * docs/design/part-seeking.txt:
7385         Some more docs in the works.
7386
7387         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7388         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
7389         (gst_base_transform_setcaps), (gst_base_transform_get_size),
7390         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7391         (gst_base_transform_handle_buffer),
7392         (gst_base_transform_sink_activate_push),
7393         (gst_base_transform_src_activate_pull),
7394         (gst_base_transform_set_passthrough),
7395         (gst_base_transform_is_passthrough):
7396         Refcounting fixes.
7397
7398         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
7399         Cleanups.
7400
7401         * gst/gstevent.c: (gst_event_finalize):
7402         Set SRC to NULL.
7403
7404         * gst/gstutils.c: (gst_element_unlink),
7405         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
7406         (gst_pad_proxy_setcaps):
7407         * gst/gstutils.h:
7408         Add _get_parent_element() to get a pads parent as an element.
7409
7410 2005-07-18  Wim Taymans  <wim@fluendo.com>
7411
7412         * check/gst/gstbin.c: (GST_START_TEST):
7413         Remove bogus test.
7414
7415 2005-07-18  Wim Taymans  <wim@fluendo.com>
7416
7417         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7418         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7419         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7420         (gst_base_sink_event), (gst_base_sink_do_sync),
7421         (gst_base_sink_chain), (gst_base_sink_loop),
7422         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
7423         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7424         Refcounting fixes.
7425         Fix logic for returning ASYNC when not prerolled.
7426
7427 2005-07-18  Wim Taymans  <wim@fluendo.com>
7428
7429         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7430         Fix nasty refcount bug.
7431
7432 2005-07-16 Philippe Khalaf <burger@speedy.org>
7433
7434         * gst/elements/gstfdsrc.c:
7435         * gst/elements/gstfdsrc.h:
7436         * gst/elements/gstelements.c:
7437         * gst/elements/Makefile.am:
7438         Ported fdsrc to 0.9.
7439
7440 2005-07-16  Wim Taymans  <wim@fluendo.com>
7441
7442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7443         (gst_base_sink_do_sync):
7444         Fix compile error.
7445
7446 2005-07-16  Wim Taymans  <wim@fluendo.com>
7447
7448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7449         (gst_base_sink_event), (gst_base_sink_get_times),
7450         (gst_base_sink_do_sync), (gst_base_sink_change_state):
7451         * gst/base/gstbasesink.h:
7452         Store and use discont values when syncing buffers as described
7453         in design docs.
7454         
7455         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7456         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
7457         (gst_base_src_activate_push):
7458         Push discont event when starting.
7459
7460         * gst/elements/gstidentity.c: (gst_identity_transform):
7461         Small cleanups.
7462
7463         * gst/gstbin.c: (gst_bin_change_state):
7464         Small cleanups in base_time  distribution.
7465
7466         * gst/gstelement.c: (gst_element_set_base_time),
7467         (gst_element_get_base_time), (gst_element_change_state):
7468         * gst/gstelement.h:
7469         Added methods for the base_time of the element.
7470         Some MT fixes.
7471
7472         * gst/gstpipeline.c: (gst_pipeline_send_event),
7473         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
7474         (gst_pipeline_get_last_stream_time):
7475         * gst/gstpipeline.h:
7476         MT fixes.
7477         Handle seeking as described in design doc, remove stream_time
7478         hack.
7479         Cleanups clock and stream_time selection code. Added accessors
7480         for the stream_time.
7481         
7482
7483 2005-07-16  Andy Wingo  <wingo@pobox.com>
7484
7485         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7486         (#305291).
7487
7488 2005-07-16  Wim Taymans  <wim@fluendo.com>
7489
7490         * check/gst/gstbin.c: (GST_START_TEST):
7491         Make elements silent as the deep_notify refs the
7492         parent, which might make the test fail.
7493
7494         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7495         Don't hold the lock for too long.
7496
7497 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
7498
7499         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7500           Don't unref the caps we passed to gst_caps_make_writable() after
7501           passing them. gst_caps_make_writable() will do that for us.
7502
7503 2005-07-15  Andy Wingo  <wingo@pobox.com>
7504
7505         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7506         (#157311).
7507
7508         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7509         own marshalling function for the handoff signal. Properly type the
7510         buffer as a buffer. Fixes some warnings. Should do a more general
7511         solution.
7512         (gst_identity_class_init): Plug into the right marshaller.
7513
7514 2005-07-15  Wim Taymans  <wim@fluendo.com>
7515
7516         * docs/design/part-TODO.txt:
7517         * docs/design/part-clocks.txt:
7518         * docs/design/part-element-sink.txt:
7519         * docs/design/part-events.txt:
7520         * docs/design/part-gstpipeline.txt:
7521         Updated docs, mostly DISCONT related.
7522
7523 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * docs/pwg/building-pads.xml:
7526           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7527
7528 2005-07-15  Andy Wingo  <wingo@pobox.com>
7529
7530         * tools/gst-typefind.c: Update, add copyright block.
7531
7532         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7533         Normalize and truncate caps before fixation.
7534
7535         * gst/gstcaps.h:
7536         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7537         discards all but the first structure from its argument.
7538
7539 2005-07-15  Wim Taymans  <wim@fluendo.com>
7540
7541         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7542         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7543         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7544         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7545         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7546         (gst_base_transform_chain), (gst_base_transform_change_state),
7547         (gst_base_transform_set_passthrough),
7548         (gst_base_transform_is_passthrough):
7549         * gst/base/gstbasetransform.h:
7550         Make passthrough work using the bufferpools.
7551         Changed API a bit, subclasses have to write into a buffer
7552         provided by the base class.
7553         More debug info in nego functions.
7554         
7555         * gst/elements/gstidentity.c: (gst_identity_init),
7556         (gst_identity_transform):
7557         Port to new base class.
7558
7559 2005-07-15  Wim Taymans  <wim@fluendo.com>
7560
7561         * gst/gstmessage.c: (gst_message_new_state_changed):
7562         * tools/gst-launch.c: (event_loop), (main):
7563         Totally dump messages in -launch with the -m option.
7564         Fix message name for State messages,
7565
7566 2005-07-14  Wim Taymans  <wim@fluendo.com>
7567
7568         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7569         Post error messages on errors.
7570
7571 2005-07-14  Wim Taymans  <wim@fluendo.com>
7572
7573         * gst/gstcaps.c: (gst_caps_do_simplify):
7574         Remove debug info.
7575
7576         * gst/gsterror.h:
7577         Define error for stream stopped.
7578
7579         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7580         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7581         Do proper return values.
7582
7583         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7584         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7585         (gst_pad_get_range):
7586         Better return values.
7587
7588         * gst/gstpad.h:
7589         Reorganise return values, add macro to check for fatal errors.
7590
7591         * gst/gstqueue.c: (gst_queue_chain):
7592         Return proper GstFlowReturn values,
7593
7594 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7595
7596         * docs/gst/gstreamer-sections.txt:
7597         * docs/gst/gstreamer.types:
7598         * docs/gst/tmpl/gst.sgml:
7599         * docs/gst/tmpl/gstbasesink.sgml:
7600         * docs/gst/tmpl/gstbasesrc.sgml:
7601         * docs/gst/tmpl/gstbasetransform.sgml:
7602         * docs/gst/tmpl/gstbin.sgml:
7603         * docs/gst/tmpl/gstbuffer.sgml:
7604         * docs/gst/tmpl/gstcaps.sgml:
7605         * docs/gst/tmpl/gstclock.sgml:
7606         * docs/gst/tmpl/gstcompat.sgml:
7607         * docs/gst/tmpl/gstconfig.sgml:
7608         * docs/gst/tmpl/gstelement.sgml:
7609         * docs/gst/tmpl/gstelementdetails.sgml:
7610         * docs/gst/tmpl/gstelementfactory.sgml:
7611         * docs/gst/tmpl/gstenumtypes.sgml:
7612         * docs/gst/tmpl/gsterror.sgml:
7613         * docs/gst/tmpl/gstevent.sgml:
7614         * docs/gst/tmpl/gstfakesink.sgml:
7615         * docs/gst/tmpl/gstfakesrc.sgml:
7616         * docs/gst/tmpl/gstfilesink.sgml:
7617         * docs/gst/tmpl/gstfilesrc.sgml:
7618         * docs/gst/tmpl/gstfilter.sgml:
7619         * docs/gst/tmpl/gstformat.sgml:
7620         * docs/gst/tmpl/gstghostpad.sgml:
7621         * docs/gst/tmpl/gstimplementsinterface.sgml:
7622         * docs/gst/tmpl/gstindex.sgml:
7623         * docs/gst/tmpl/gstindexfactory.sgml:
7624         * docs/gst/tmpl/gstinfo.sgml:
7625         * docs/gst/tmpl/gstiterator.sgml:
7626         * docs/gst/tmpl/gstmacros.sgml:
7627         * docs/gst/tmpl/gstmemchunk.sgml:
7628         * docs/gst/tmpl/gstminiobject.sgml:
7629         * docs/gst/tmpl/gstobject.sgml:
7630         * docs/gst/tmpl/gstpad.sgml:
7631         * docs/gst/tmpl/gstpadtemplate.sgml:
7632         * docs/gst/tmpl/gstparse.sgml:
7633         * docs/gst/tmpl/gstpipeline.sgml:
7634         * docs/gst/tmpl/gstplugin.sgml:
7635         * docs/gst/tmpl/gstpluginfeature.sgml:
7636         * docs/gst/tmpl/gstquery.sgml:
7637         * docs/gst/tmpl/gstqueue.sgml:
7638         * docs/gst/tmpl/gstregistry.sgml:
7639         * docs/gst/tmpl/gstregistrypool.sgml:
7640         * docs/gst/tmpl/gstscheduler.sgml:
7641         * docs/gst/tmpl/gstschedulerfactory.sgml:
7642         * docs/gst/tmpl/gststructure.sgml:
7643         * docs/gst/tmpl/gstsystemclock.sgml:
7644         * docs/gst/tmpl/gsttaglist.sgml:
7645         * docs/gst/tmpl/gsttagsetter.sgml:
7646         * docs/gst/tmpl/gsttrace.sgml:
7647         * docs/gst/tmpl/gsttrashstack.sgml:
7648         * docs/gst/tmpl/gsttypefind.sgml:
7649         * docs/gst/tmpl/gsttypefindfactory.sgml:
7650         * docs/gst/tmpl/gsttypes.sgml:
7651         * docs/gst/tmpl/gsturihandler.sgml:
7652         * docs/gst/tmpl/gsturitype.sgml:
7653         * docs/gst/tmpl/gstutils.sgml:
7654         * docs/gst/tmpl/gstvalue.sgml:
7655         * docs/gst/tmpl/gstversion.sgml:
7656         * docs/gst/tmpl/gstxml.sgml:
7657         * docs/libs/tmpl/gstcontrol.sgml:
7658         * docs/libs/tmpl/gstdataprotocol.sgml:
7659         * docs/libs/tmpl/gstdparam.sgml:
7660         * docs/libs/tmpl/gstdplinint.sgml:
7661         * docs/libs/tmpl/gstdpman.sgml:
7662         * docs/libs/tmpl/gstdpsmooth.sgml:
7663         * docs/libs/tmpl/gstgetbits.sgml:
7664         * docs/libs/tmpl/gstunitconvert.sgml:
7665         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7666         (gst_push_src_base_init), (gst_push_src_class_init),
7667         (gst_push_src_init), (gst_push_src_create):
7668         * gst/base/gstpushsrc.h:
7669         * gst/elements/gstelements.c:
7670         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7671         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7672         (gst_fake_sink_init), (gst_fake_sink_set_property),
7673         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7674         (gst_fake_sink_event), (gst_fake_sink_preroll),
7675         (gst_fake_sink_render), (gst_fake_sink_change_state):
7676         * gst/elements/gstfakesink.h:
7677         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7678         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7679         (gst_fake_src_base_init), (gst_fake_src_class_init),
7680         (gst_fake_src_init), (gst_fake_src_event_handler),
7681         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7682         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7683         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7684         (gst_fake_src_create_buffer), (gst_fake_src_create),
7685         (gst_fake_src_start), (gst_fake_src_stop):
7686         * gst/elements/gstfakesrc.h:
7687         * gst/elements/gstfilesink.c: (_do_init),
7688         (gst_file_sink_base_init), (gst_file_sink_class_init),
7689         (gst_file_sink_init), (gst_file_sink_dispose),
7690         (gst_file_sink_set_location), (gst_file_sink_set_property),
7691         (gst_file_sink_get_property), (gst_file_sink_open_file),
7692         (gst_file_sink_close_file), (gst_file_sink_query),
7693         (gst_file_sink_event), (gst_file_sink_render),
7694         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7695         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7696         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7697         * gst/elements/gstfilesink.h:
7698         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7699         (gst_file_src_class_init), (gst_file_src_init),
7700         (gst_file_src_finalize), (gst_file_src_set_location),
7701         (gst_file_src_set_property), (gst_file_src_get_property),
7702         (gst_file_src_map_region), (gst_file_src_map_small_region),
7703         (gst_file_src_create_mmap), (gst_file_src_create_read),
7704         (gst_file_src_create), (gst_file_src_is_seekable),
7705         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7706         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7707         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7708         (gst_file_src_uri_handler_init):
7709         * gst/elements/gstfilesrc.h:
7710           more autistic cleanliness in functions/names/defines
7711
7712 2005-07-13  Andy Wingo  <wingo@pobox.com>
7713
7714         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7715         source couldn't negotiate.
7716
7717         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7718         connections again.
7719
7720         * gst/gstutils.h:
7721         * gst/gstutils.c (gst_element_link_pads_filtered): New old
7722         function. I am channeling Hades. Put your boots on suckers!!!
7723
7724 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7725
7726         * testsuite/caps/Makefile.am:
7727         * testsuite/caps/value_compare.c:
7728         * testsuite/caps/value_intersect.c:
7729         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7730           move two testsuite apps over to the check dir
7731
7732 2005-07-12  Wim Taymans  <wim@fluendo.com>
7733
7734         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7735         Added more debug info in the negotiate process.
7736
7737         * gst/gstmessage.h:
7738         Prepare for segment playback.
7739
7740         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7741         Better debugging.
7742
7743         * gst/gstutils.c:
7744         Some more docs.
7745
7746         * tools/gst-launch.c: (main):
7747         NULL pipeline on errors.
7748
7749 2005-07-12  Andy Wingo  <wingo@pobox.com>
7750
7751         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7752         not it comes from a malloc region. Make sure our copy gets freed.
7753
7754 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7755
7756         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7757         * check/gst/gstmessage.c: (GST_START_TEST):
7758         * check/gst/gststructure.c: (GST_START_TEST),
7759         (gst_structure_suite), (main):
7760           more testing
7761         * gst/gstelement.c: (gst_element_message_full):
7762           clean up GError and debug string now that they get copied
7763         * gst/gstmessage.c: (gst_message_new_error),
7764         (gst_message_new_warning), (gst_message_parse_error),
7765         (gst_message_parse_warning):
7766           use GST_TYPE_G_ERROR for structure_new, and take copies of
7767           arguments, so that we don't mess up refcounting
7768
7769 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7770
7771         * check/Makefile.am:
7772           add per-test valgrind targets
7773         * check/gst-libs/gdp.c: (GST_START_TEST),
7774         (gst_data_protocol_suite), (main):
7775           clean up
7776
7777 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7778
7779         * check/Makefile.am:
7780           instate more valgrindable tests
7781         * check/elements/gstfakesrc.c: (chain_func), (event_func),
7782         (GST_START_TEST), (fakesrc_suite):
7783         * check/gst/gstpad.c: (GST_START_TEST):
7784         * check/gst/gststructure.c: (GST_START_TEST):
7785           fix test leaks
7786         * docs/gst/tmpl/gstminiobject.sgml:
7787         * gst/gstpad.c: (gst_pad_finalize):
7788           fix the static mutex leak
7789
7790 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7791
7792         * check/Makefile.am:
7793           add two more tests for valgrinding
7794         * check/gst/gstvalue.c: (GST_START_TEST):
7795           test refcount of deserialized buffer, found a leak
7796         * docs/gst/gstreamer-docs.sgml:
7797         * docs/gst/gstreamer-sections.txt:
7798         * docs/gst/gstreamer.types:
7799         * docs/gst/tmpl/gstminiobject.sgml:
7800           add miniobject to docs
7801         * gst/gstminiobject.c:
7802           add some docs
7803         * gst/gstvalue.c: (gst_value_deserialize_buffer),
7804         (gst_string_unwrap):
7805           fix a hard-to-find invalid write for one of the tests
7806           fix a leak for deserialized buffers
7807
7808 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7809
7810         * docs/pwg/advanced-events.xml:
7811         * docs/pwg/advanced-request.xml:
7812         * docs/pwg/advanced-scheduling.xml:
7813         * docs/pwg/appendix-porting.xml:
7814         * docs/pwg/building-boiler.xml:
7815         * docs/pwg/intro-preface.xml:
7816         * docs/pwg/other-ntoone.xml:
7817           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7818           of example code and explanation for pad activation, loop() and
7819           getrange() functions and a bit more. Remove old comments pointing
7820           to loop-functions.
7821         * examples/pwg/Makefile.am:
7822           Add loop/getrange examples.
7823
7824 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7825
7826         * configure.ac:
7827           check for valgrind binary + some fixes
7828         * check/gst.supp:
7829           valgrind suppressions for the tests
7830         * check/Makefile.am:
7831           add a valgrind: target that valgrinds the unit tests
7832         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7833         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7834         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7835         * check/gst/gstghostpad.c:
7836           added some cleanup
7837         * check/gst/gstdata.c:
7838           removed
7839         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7840         (thread_unref), (gst_mini_object_suite), (main):
7841           added
7842         * gst/gst.c: (gst_deinit):
7843         * gst/gst.h:
7844           add a method to clean up.
7845         * gst/gstsystemclock.c: (gst_system_clock_dispose),
7846         (gst_system_clock_obtain):
7847           allow for disposing the system clock.
7848         * tools/gst-launch.c: (main):
7849           deinit
7850
7851 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7852
7853         * docs/gst/tmpl/gstbasesrc.sgml:
7854         * docs/gst/tmpl/gstfakesrc.sgml:
7855         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7856         (gst_base_src_init), (gst_base_src_set_property),
7857         (gst_base_src_get_property), (gst_base_src_get_range),
7858         (gst_base_src_start):
7859         * gst/base/gstbasesrc.h:
7860           add num-buffers property
7861         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7862         (gst_fakesrc_init), (gst_fakesrc_set_property),
7863         (gst_fakesrc_get_property), (gst_fakesrc_create),
7864         (gst_fakesrc_start):
7865           remove num-buffers property
7866
7867 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7868
7869         * docs/gst/gstreamer-sections.txt:
7870         * docs/gst/tmpl/gstbasesink.sgml:
7871         * docs/gst/tmpl/gstbasesrc.sgml:
7872         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7873         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7874         (gst_base_sink_finalize), (gst_base_sink_set_clock),
7875         (gst_base_sink_set_property), (gst_base_sink_get_property),
7876         (gst_base_sink_handle_object), (gst_base_sink_event),
7877         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7878         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7879         (gst_base_sink_loop), (gst_base_sink_deactivate),
7880         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7881         (gst_base_sink_change_state):
7882         * gst/base/gstbasesink.h:
7883         * gst/base/gstbasesrc.h:
7884         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7885         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7886         (gst_filesink_init):
7887           more macro splitting
7888
7889 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7890
7891         * gst/gstelement.c: (gst_element_get_bus):
7892           add debug
7893         * tools/gst-launch.c: (check_intr), (event_loop):
7894           fix bus leaks
7895
7896 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7897
7898         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7899           fix a caps leak
7900
7901 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7902
7903         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7904         (gst_base_src_finalize):
7905           add finalize method and clean up properly
7906         * gst/gstpipeline.c: (gst_pipeline_dispose):
7907           add debug
7908
7909 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7910
7911         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7912         (gst_bin_suite):
7913           add more things to check
7914         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7915         * gst/gstelement.c:
7916           more debug
7917
7918 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7919
7920         * check/elements/gstfakesrc.c: (chain_func), (event_func),
7921         (GST_START_TEST), (fakesrc_suite):
7922         * check/gst-libs/gdp.c: (GST_START_TEST):
7923         * check/gst/gst.c: (GST_START_TEST):
7924         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7925         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7926         * check/gst/gstbus.c: (GST_START_TEST):
7927         * check/gst/gstcaps.c: (GST_START_TEST):
7928         * check/gst/gstdata.c: (GST_START_TEST):
7929         * check/gst/gstelement.c: (GST_START_TEST):
7930         * check/gst/gstghostpad.c: (GST_START_TEST):
7931         * check/gst/gstiterator.c: (GST_START_TEST):
7932         * check/gst/gstmessage.c: (GST_START_TEST):
7933         * check/gst/gstobject.c: (GST_START_TEST):
7934         * check/gst/gstpad.c: (GST_START_TEST):
7935         * check/gst/gststructure.c: (GST_START_TEST):
7936         * check/gst/gstsystemclock.c: (GST_START_TEST),
7937         (gst_systemclock_suite):
7938         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7939         * check/gst/gstvalue.c: (GST_START_TEST):
7940         * check/pipelines/cleanup.c: (GST_START_TEST):
7941         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7942         * check/states/sinks.c: (GST_START_TEST):
7943         * check/gstcheck.c: (gst_check_init):
7944         * check/gstcheck.h:
7945           add debugging category
7946           use GST_START_TEST now, so we add a debug line
7947
7948 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7949
7950         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7951           add test for state change message on a bin
7952         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7953           add another test
7954         * gst/gstbin.c: (gst_bin_init):
7955         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7956         * gst/gstelement.c: (gst_element_post_message),
7957         (gst_element_set_state):
7958         * gst/gstelementfactory.c: (gst_element_factory_create):
7959         * gst/gstmessage.c: (gst_message_new):
7960         * gst/gstscheduler.c:
7961           various debugging additions and cleanups
7962
7963 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7964
7965         * check/Makefile.am:
7966         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7967         (main):
7968           adding tests for elements
7969         * gst/gstelement.c: (gst_element_dispose):
7970
7971 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7972
7973         * gst/registries/gstlibxmlregistry.c: (load_feature):
7974           plug more leaks.  A simple gst_init() now is leakfree, yay.
7975
7976 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7977
7978         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7979         (gst_xml_registry_load):
7980           plug another memleak
7981
7982 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7983
7984         * configure.ac:
7985           use GST_SET_ERROR_CFLAGS
7986         * docs/faq/cvs.xml:
7987           change to ERROR_CFLAGS
7988
7989 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
7990
7991         * configure.ac:
7992           make GST_ERROR_CFLAGS overridable and re-enable Werror
7993         * docs/faq/cvs.xml:
7994           add a note about error CFLAGS
7995         * docs/gst/tmpl/gstfakesrc.sgml:
7996         * gst/elements/gstfakesrc.c:
7997           comment out some unused code
7998         * gst/gst.c: (split_and_iterate):
7999         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8000         (load_feature):
8001           plug some memleaks
8002
8003 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8004
8005         * common/Makefile.am:
8006         * common/gtk-doc.mak:
8007         * docs/gst/Makefile.am:
8008           factor out gtk-doc.mak
8009
8010 2005-07-07  Wim Taymans  <wim@fluendo.com>
8011
8012         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8013         (gst_thread_scheduler_dispose):
8014         Unlock the STREAM_LOCK completely.
8015
8016 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8017
8018         * check/Makefile.am:
8019         * check/elements/.cvsignore:
8020         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8021         (START_TEST), (fakesrc_suite), (main):
8022         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8023         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8024         (gst_fakesrc_create), (gst_fakesrc_start):
8025         * gst/elements/gstfakesrc.h:
8026           adding a first element test
8027
8028 2005-07-07  Andy Wingo  <wingo@pobox.com>
8029
8030         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8031         debug message.
8032
8033 2005-07-07  Wim Taymans  <wim@fluendo.com>
8034
8035         * gst/gstquery.c:
8036         * gst/gstquery.h:
8037         Remove old types
8038
8039 2005-07-07  Wim Taymans  <wim@fluendo.com>
8040
8041         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8042         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8043         Allow subclasses to implement their own negotiation.
8044
8045 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8046
8047         * docs/design/part-gstbin.txt:
8048         * docs/design/part-gstpipeline.txt:
8049           Update design notes to reflect the movement of
8050           responsibility for bus handling from GstPipeline to
8051           GstBin
8052
8053 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8054
8055         * configure.ac:
8056           Remove unnecessary queue2/3/4 examples.
8057
8058 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8059
8060         * examples/Makefile.am:
8061         * examples/helloworld/helloworld.c: (event_loop), (main):
8062         * examples/queue/queue.c: (event_loop), (main):
8063         * examples/queue2/queue2.c: (main):
8064           Update a couple of the examples to work again.
8065
8066         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8067         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8068          Spelling corrections and extra debug.
8069         
8070         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8071         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8072         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8073         * gst/gstbin.h:
8074         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8075         (gst_pipeline_change_state):
8076         * gst/gstpipeline.h:
8077           Move the bus handler for children to the GstBin, and create a
8078           separate bus for receiving messages from children to the one the
8079           bus sends 'upwards' on.
8080
8081 2005-07-06  Wim Taymans  <wim@fluendo.com>
8082
8083         * gst/base/README:
8084         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8085         (gst_base_sink_handle_object), (gst_base_sink_loop),
8086         (gst_base_sink_change_state):
8087         * gst/base/gstbasesink.h:
8088         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8089         (gst_base_src_init), (gst_base_src_setcaps),
8090         (gst_base_src_getcaps), (gst_base_src_loop),
8091         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8092         (gst_base_src_start), (gst_base_src_change_state):
8093         * gst/base/gstbasesrc.h:
8094         Make basesrc negotiate.
8095         Handle the case where preroll fails in basesink.
8096         Update README.
8097
8098 2005-07-06  Wim Taymans  <wim@fluendo.com>
8099
8100         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8101         Implement the fixate function.
8102         Clean up acceptcaps.
8103
8104 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8105
8106         * docs/pwg/building-filterfactory.xml:
8107         * docs/pwg/pwg.xml:
8108           Remove never-written filter-factory chapter; I'll add the various
8109           base classes to part 4 ("other element types") later on.
8110
8111 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8112
8113         * docs/pwg/advanced-negotiation.xml:
8114         * docs/pwg/building-boiler.xml:
8115         * docs/pwg/building-pads.xml:
8116         * docs/pwg/pwg.xml:
8117         * examples/pwg/Makefile.am:
8118           Add a chapter on caps negotiation, simplify the original code
8119           samples a bit w.r.t. caps negotiation, add link to the advanced
8120           section. Add a bunch of examples showing different use cases of
8121           different types of caps negotiation. Upstream renegotiation isn't
8122           fully documented yet since nobody knows how that works.
8123
8124 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8125
8126         * check/gst/gstpad.c:
8127         * check/gstcheck.c:
8128         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8129           if pad has no parent, return NULL as list of internal links
8130
8131 2005-07-05  Andy Wingo  <wingo@pobox.com>
8132
8133         * gst/elements/gstfilesrc.c:
8134         * gst/elements/gstfakesrc.c: 
8135         * gst/base/gstpushsrc.c:
8136         * gst/base/gstbasesrc.h: 
8137         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8138         
8139 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8140
8141         * Makefile.am:
8142           better report generation target (lcov needs a patch)
8143
8144 2005-07-05  Andy Wingo  <wingo@pobox.com>
8145
8146         * gst/elements, testsuite: Null if we got it...
8147
8148 2005-07-05  Wim Taymans  <wim@fluendo.com>
8149
8150         * configure.ac:
8151         * libs/gst/dataprotocol/Makefile.am:
8152         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8153         * libs/gst/dataprotocol/dataprotocol.h:
8154         * pkgconfig/Makefile.am:
8155         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8156         * pkgconfig/gstreamer-dataprotocol.pc.in:
8157         Ported dataprotol to 0.9. 
8158         Added pkgconfig files.
8159
8160 2005-07-05  Andy Wingo  <wingo@pobox.com>
8161
8162         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8163         Default to returning TRUE for the case when tranform_caps returns
8164         a fixed caps, like for identity or volume.
8165
8166         * check/gst/gstbus.c (pound_bus_with_messages): 
8167         * check/gst/gstmessage.c (START_TEST): 
8168         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8169         message API change.
8170
8171         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8172         logic weaks here: always run transform_caps, trying passthrough
8173         operation only if the original caps intersects with the transform.
8174
8175         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8176         source and sink caps.
8177
8178         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8179         Intersect the peer caps with the pad template before going into
8180         transform_caps.
8181         (gst_base_transform_transform_caps): More debugging.
8182
8183         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8184         src argument.
8185
8186 2005-07-04  Edward Hervey  <edward@fluendo.com>
8187
8188         * gst/gstutils.c:
8189         * gst/gstutils.h:
8190         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8191         in bindings.
8192
8193 2005-07-04  Andy Wingo  <wingo@pobox.com>
8194
8195         * check/gst/gstpad.c: Only set explicit caps on pads.
8196
8197 2005-07-01  Andy Wingo  <wingo@pobox.com>
8198
8199         * tests/network-clock.scm: Commentary update.
8200
8201         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8202         Didn't really make sense, not implementable with basetransform,
8203         etc.
8204         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8205         attempt at implementing the sync property, needs an unlock method.
8206
8207         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8208         New func, by default returns the same caps (the identity
8209         transformation).
8210         (gst_base_transform_getcaps): Uses transform_caps to return
8211         something sensible.
8212         (gst_base_transform_setcaps): Complicated logic to get caps on
8213         both pads, even if they are different, and to call set_caps once
8214         for every time both pads get their caps set.
8215         (gst_base_transform_handle_buffer): Give the ref to the transform
8216         function. Allows in-place modification of the buffer.
8217
8218         * gst/base/gstbasetransform.h (transform_caps): New class method.
8219         Given caps on one side, what can I do on the other.
8220         (set_caps): Take two caps, one for each side of the element.
8221
8222         * gst/gstpad.h:
8223         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8224         caps in place. This is safe because we can check the mutability of
8225         the caps, and a good idea because fixate functions are just called
8226         as a matter of last resort. (Not actually implemented.)
8227         (gst_pad_set_caps): If the caps we're setting is actually the same
8228         as the existing pad caps, just update the pointer without calling
8229         setcaps. Assert that caps is either NULL or fixed, as per the
8230         docs.
8231
8232         * gst/gstghostpad.c: Update for fixate changes.
8233
8234 2005-07-02  Andy Wingo  <wingo@pobox.com>
8235
8236         * gst/gstcaps.c:
8237         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8238         two refcounts makes it immutable, which is enough. Doc more.
8239
8240 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8241
8242         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8243           Put the mini_object into GValue as a mini_object,
8244           not a gpointer, since that's how we declared
8245           the signal.
8246
8247 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8248
8249         * examples/pwg/Makefile.am:
8250           Fix buildbot again.
8251
8252 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8253
8254         * docs/pwg/building-testapp.xml:
8255           Add extra check.
8256         * examples/pwg/Makefile.am:
8257           Fix buildbot.
8258
8259 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8260
8261         * configure.ac:
8262         * examples/Makefile.am:
8263         * examples/pwg/Makefile.am:
8264         * examples/pwg/extract.pl:
8265           Enable building the PWG examples.
8266         * docs/pwg/advanced-interfaces.xml:
8267           Add URI interface stub.
8268         * docs/pwg/advanced-types.xml:
8269         * docs/pwg/other-autoplugger.xml:
8270         * docs/pwg/appendix-porting.xml:
8271         * docs/pwg/pwg.xml:
8272           Add porting guide (mostly stubs), remove autoplugging (see ADM).
8273         * docs/pwg/building-boiler.xml:
8274         * docs/pwg/building-chainfn.xml:
8275         * docs/pwg/building-pads.xml:
8276         * docs/pwg/building-props.xml:
8277         * docs/pwg/building-state.xml:
8278         * docs/pwg/building-testapp.xml:
8279           Update the building-*.xml parts for 0.9 changes. All examples
8280           code blocks compile in examples/pwg/*.
8281
8282 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8283
8284         * docs/manual/advanced-autoplugging.xml:
8285         * docs/manual/appendix-checklist.xml:
8286         * docs/manual/appendix-integration.xml:
8287         * docs/manual/highlevel-components.xml:
8288           Fix playbin/decodebin examples, update docs a bit, mention bus
8289           instead of signals in various places, mention kmplayer and
8290           kaffeine since they have a working GStreamer backend in the KDE
8291           section.
8292
8293 2005-06-30  Wim Taymans  <wim@fluendo.com>
8294
8295         * CHANGES-0.9:
8296         * docs/design/draft-ghostpads.txt:
8297         * docs/design/draft-push-pull.txt:
8298         * docs/design/draft-query.txt:
8299         * docs/design/part-TODO.txt:
8300         * docs/design/part-query.txt:
8301         Added CHANGES-0.9 doc, updated status of other docs.
8302         
8303         * gst/gstquery.h:
8304         Remove "hmm" macro
8305
8306 2005-06-30  Wim Taymans  <wim@fluendo.com>
8307
8308         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8309         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8310         (gst_base_sink_change_state):
8311         * gst/base/gstbasesink.h:
8312         Some tweaks, only EOS and a buffer complete a preroll.
8313
8314 2005-06-30  Andy Wingo  <wingo@pobox.com>
8315
8316         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
8317         activate_push down to the internal pad as well.
8318
8319 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
8320
8321         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8322
8323         * gst/gsttaginterface.c:
8324           Some documentation fixes (#307394 and #307397).
8325
8326 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
8327
8328         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8329
8330         * gst/gstvalue.c: (gst_value_intersect_list):
8331           Fix memleak (#309125).
8332
8333 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8334
8335         * docs/manual/advanced-dataaccess.xml:
8336           Fix fakesrc example to compile; doesn't work, bug somewhere...?
8337         * docs/manual/basics-pads.xml:
8338           Add reference for filtered caps to above chapter.
8339
8340 2005-06-30  Wim Taymans  <wim@fluendo.com>
8341
8342         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
8343         (gst_bin_change_state):
8344         Probes are gone.
8345         Lame attempt at making the state change function a bit
8346         more readable.
8347
8348 2005-06-30  Wim Taymans  <wim@fluendo.com>
8349
8350         * docs/design/part-clocks.txt:
8351         * docs/design/part-element-sink.txt:
8352         * docs/design/part-events.txt:
8353         * docs/design/part-preroll.txt:
8354         * docs/design/part-states.txt:
8355         Some more tweeks and additions to the docs.
8356
8357 2005-06-30  Wim Taymans  <wim@fluendo.com>
8358
8359         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8360         (default_have_data), (gst_pad_class_init), (gst_pad_init),
8361         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8362         (gst_pad_check_pull_range), (gst_pad_get_range),
8363         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
8364         * gst/gstpad.h:
8365         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
8366         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8367         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8368         (gst_pad_remove_buffer_probe):
8369         Removed atomic operations, use existing LOCK.
8370         Move exception handling out of main code path.
8371
8372 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8373
8374         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8375         (silly_return_true_function), (gst_pad_class_init),
8376         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
8377         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
8378         (gst_pad_send_event):
8379           Fix accumulator, add default value by using _emitv() instead
8380           of _emit() for signal emission.
8381
8382 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8383
8384         * docs/manual/advanced-dataaccess.xml:
8385         * examples/manual/Makefile.am:
8386           Add probe example.
8387         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
8388           Make work (??).
8389
8390 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
8391
8392         * gst/elements/gstfilesink.c: (gst_filesink_render):
8393           Simplify code so that we don't have to handle short
8394           writes and return GST_FLOW_ERROR if an error occured.
8395
8396 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8397
8398         * docs/gst/gstreamer-docs.sgml:
8399           Remove probes more.
8400
8401 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8402
8403         * docs/gst/gstreamer-sections.txt:
8404         * docs/gst/tmpl/gstpad.sgml:
8405         * docs/gst/tmpl/gstprobe.sgml:
8406         * gst/Makefile.am:
8407         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
8408         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
8409         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8410         (gst_pad_push_event), (gst_pad_send_event):
8411         * gst/gstpad.h:
8412         * gst/gstutils.c: (gst_pad_add_data_probe),
8413         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8414         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8415         (gst_pad_remove_buffer_probe):
8416         * gst/gstutils.h:
8417           Remove old probes, add new g-signal-based probes and some utility
8418           functions.
8419
8420 2005-06-29  Edward Hervey  <edward@fluendo.com>
8421
8422         * gst/gstelementfactory.c:
8423         * gst/gstutils.h:
8424         * gst/gstutils.c:
8425         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
8426         the definition to the header file.
8427
8428 2005-06-29  Andy Wingo  <wingo@pobox.com>
8429
8430         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
8431         plugins from the source directory.
8432
8433 2005-06-29  Wim Taymans  <wim@fluendo.com>
8434
8435         * docs/gst/tmpl/gstbuffer.sgml:
8436         * docs/gst/tmpl/gstclock.sgml:
8437         Some fixings for blantently wrong text.
8438
8439 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8440
8441         * check/Makefile.am:
8442         * gst/gst.c: (add_path_func), (init_pre):
8443         * gst/gstregistry.c: (gst_registry_add_path):
8444           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
8445           only scan the GST_PLUGIN_PATH locations, and not add
8446           system locations
8447
8448 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8449
8450         * docs/gst/gstreamer-sections.txt:
8451         * docs/gst/tmpl/gstbasesrc.sgml:
8452         * gst/gstelement.c:
8453         * gst/gstelement.h:
8454         * gst/gstevent.c:
8455         * gst/gstutils.c:
8456           doc fixes
8457
8458 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8459
8460         * docs/manual/advanced-autoplugging.xml:
8461           Fix autoplugging example.
8462
8463 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8464
8465         * docs/manual/advanced-autoplugging.xml:
8466         * docs/manual/mime-world.fig:
8467           Try to get autoplugging working, fix type detection. Fix text
8468           in hello-world image.
8469
8470 2005-06-29  Wim Taymans  <wim@fluendo.com>
8471
8472         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8473         (gst_base_sink_change_state):
8474         Small debug line.
8475
8476         * gst/gstclock.h:
8477         map SIGNAL and BROADCAST to the right function.
8478
8479         * gst/gstobject.h:
8480         Remove redundant braces.
8481
8482         * gst/gstpad.c: (gst_pad_set_caps):
8483         Don't call setcaps function when reseting caps to NULL.
8484
8485         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8486         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8487         (gst_system_clock_id_unschedule):
8488         Use BROADCAST as this is what we do.
8489
8490 2005-06-29  Wim Taymans  <wim@fluendo.com>
8491
8492         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8493         We are actually prerolling before commiting the state
8494         change. 
8495
8496 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8497
8498         * docs/manual/advanced-clocks.xml:
8499         * docs/manual/advanced-interfaces.xml:
8500         * docs/manual/advanced-metadata.xml:
8501         * docs/manual/advanced-position.xml:
8502         * docs/manual/advanced-schedulers.xml:
8503         * docs/manual/advanced-threads.xml:
8504         * docs/manual/appendix-porting.xml:
8505         * docs/manual/basics-bins.xml:
8506         * docs/manual/basics-bus.xml:
8507         * docs/manual/basics-elements.xml:
8508         * docs/manual/basics-helloworld.xml:
8509         * docs/manual/basics-pads.xml:
8510         * docs/manual/highlevel-components.xml:
8511         * docs/manual/manual.xml:
8512         * docs/manual/thread.fig:
8513           Update (until threads/scheduling) Application Development Manual;
8514           remove GstThread, add GstBus, add simple porting checklist, add
8515           documentation for tag writing, clocks, make all examples until this
8516           part compile and run.
8517         * examples/manual/Makefile.am:
8518           Update from changes to Application Development Manual; add bus
8519           example, remove thread example.
8520
8521 2005-06-28  Wim Taymans  <wim@fluendo.com>
8522
8523         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8524         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8525         (gst_bus_source_dispatch):
8526         Add debugging messages.
8527         Make internal methods static.
8528         Handle the case where the bus is flushed in the handler.
8529         
8530         * gst/gstelement.c: (gst_element_get_bus):
8531         Fix refcount in _get_bus();
8532
8533         * gst/gstpipeline.c: (gst_pipeline_change_state),
8534         (gst_pipeline_get_clock_func):
8535         Clock refcounting fixes.
8536         Handle the case where preroll timed out more gracefully.
8537         
8538         * gst/gstsystemclock.c: (gst_system_clock_dispose):
8539         Clean up the internal thread in dispose. This is needed
8540         for subclasses that actually get disposed.
8541         
8542         * gst/schedulers/threadscheduler.c:
8543         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8544         (gst_thread_scheduler_dispose):
8545         Free thread pool in dispose.
8546
8547 2005-06-28  Andy Wingo  <wingo@pobox.com>
8548
8549         * tests/network-clock-utils.scm (debug, print-event): New utils.
8550
8551         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8552         (*packet-loss*): Unified loss probability.
8553         (network-time): Report out-of-band events.
8554
8555         * tests/plot-data: Add support for out-of-band events. Hack it
8556         into this script instead of passing it down the pipe; should fix
8557         this later.
8558
8559 2005-06-28  Wim Taymans  <wim@fluendo.com>
8560
8561         * docs/gst/gstreamer.types:
8562         * docs/gst/tmpl/gstbasesrc.sgml:
8563         * docs/gst/tmpl/gstpad.sgml:
8564         Docs fixes.
8565
8566 2005-06-28  Wim Taymans  <wim@fluendo.com>
8567
8568         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8569         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8570         (gst_proxy_pad_do_fixatecaps):
8571         Correctly proxy the check_pull_range function.
8572
8573 2005-06-28  Andy Wingo  <wingo@pobox.com>
8574
8575         * tests/network-clock.scm: Removed need for slib.
8576         
8577 2005-06-28  Wim Taymans  <wim@fluendo.com>
8578
8579         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8580         (gst_basesink_preroll_queue_flush):
8581         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8582         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8583         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8584         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8585         (gst_proxy_pad_set_property):
8586         * gst/gstpad.c:
8587         * gst/gstpad.h:
8588         * gst/gstqueue.c: (gst_queue_init):
8589         The deprecated pad loop function is removed now.
8590
8591 2005-06-28  Andy Wingo  <wingo@pobox.com>
8592
8593         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8594         New parameters, simulate network packet loss.
8595
8596         * tests/network-clock-utils.scm: Initialize the RNG.
8597
8598 2005-06-28  Wim Taymans  <wim@fluendo.com>
8599
8600         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8601         (gst_basesink_event), (gst_basesink_deactivate):
8602         Flushing the preroll queue always needs to unlock the waiters.
8603
8604 2005-06-28  Edward Hervey  <edward@fluendo.com>
8605
8606         * gst/gstpipeline.c: (gst_pipeline_send_event): 
8607         Wheen a seek was successful on a pipeline, set the stream_time to the
8608         seek offset in order to have a synchronized stream_time.
8609
8610 2005-06-28  Wim Taymans  <wim@fluendo.com>
8611
8612         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8613         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8614         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8615         (gst_proxy_pad_do_fixatecaps):
8616         Call wrapper function instead of just calling the function
8617         pointers. This takes care of any locking and whatmore.
8618
8619 2005-06-28  Wim Taymans  <wim@fluendo.com>
8620
8621         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8622         (gst_pad_pull_range):
8623         * gst/gstpad.h:
8624         CONNECTED -> LINKED.
8625
8626 2005-06-28  Andy Wingo  <wingo@pobox.com>
8627
8628         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8629         source-munging commit!!!
8630
8631         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
8632         (gst_object_sink): Take gpointer arguments, not GstObject --
8633         avoids casts. Like GLib.
8634
8635         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8636         activate.
8637
8638 2005-06-27  Andy Wingo  <wingo@pobox.com>
8639
8640         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8641         remaining buffer.
8642
8643         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8644         returns a sorted copy of the trace list.
8645         (gst_alloc_trace_print_live): New API, only prints traces with
8646         live objects. Sort the list.
8647         (gst_alloc_trace_print_all): Sort the list.
8648         (gst_alloc_trace_print): Align columns.
8649
8650         * gst/elements/gstttypefindelement.c:
8651         * gst/elements/gsttee.c:
8652         * gst/base/gstbasesrc.c:
8653         * gst/base/gstbasesink.c:
8654         * gst/base/gstbasetransform.c:
8655         * gst/gstqueue.c: Adapt for pad activation changes.
8656
8657         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8658         sched.
8659         (gst_pipeline_dispose): Drop ref on sched.
8660
8661         * gst/gstpad.c (gst_pad_init): Set the default activate func.
8662         (gst_pad_activate_default): Push mode by default.
8663         (pre_activate_switch, post_activate_switch): New stubs, things to
8664         do before and after switching activation modes on pads.
8665         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8666         the pad's activate function to choose which mode to activate.
8667         Shortcut on deactivation and call the right function directly.
8668         (gst_pad_activate_pull): New API, (de)activates a pad in pull
8669         mode.
8670         (gst_pad_activate_push): New API, same for push mode.
8671         (gst_pad_set_activate_function) 
8672         (gst_pad_set_activatepull_function) 
8673         (gst_pad_set_activatepush_function): Setters for new API.
8674
8675         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8676         Trace all miniobjects.
8677         (gst_mini_object_make_writable): Unref the arg if we copy, like
8678         gst_caps_make_writable.
8679
8680         * gst/gstmessage.c (_gst_message_initialize): No trace init.
8681
8682         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
8683         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8684         Adapt for new pad API.
8685
8686         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8687
8688         * gst/gstelement.h:
8689         * gst/gstelement.c (gst_element_iterate_src_pads) 
8690         (gst_element_iterate_sink_pads): New API functions.
8691         
8692         * gst/gstelement.c (iterator_fold_with_resync): New utility,
8693         should fold into gstiterator.c in some form.
8694         (gst_element_pads_activate): Simplified via use of fold and
8695         delegation of decisions to gstpad->activate.
8696
8697         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8698         help in debugging.
8699
8700         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8701         class once in init, like gstmessage. Didn't run into this issue
8702         but it seems correct. Don't initialize a trace, gstminiobject does
8703         that.
8704
8705         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8706         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8707         to the bus.
8708         (assert_live_count): New util function, uses alloc traces to check
8709         cleanup.
8710
8711         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8712         To be modified when unlink drops the internal pad.
8713
8714 2005-06-27  Wim Taymans  <wim@fluendo.com>
8715
8716         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8717         (gst_bin_change_state):
8718         Cleanup the get_state() function a little, make sure it
8719         iterates the same set of elements.
8720         Added stub iterate_state_order().
8721
8722 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8723
8724         * docs/gst/gstreamer-docs.sgml:
8725         * docs/gst/gstreamer-sections.txt:
8726         * docs/gst/gstreamer.types:
8727         * docs/gst/tmpl/gstbasesink.sgml:
8728         * docs/gst/tmpl/gstbasesrc.sgml:
8729         * docs/gst/tmpl/gstbasetransform.sgml:
8730         * docs/gst/tmpl/gstelement.sgml:
8731         * docs/gst/tmpl/gstiterator.sgml:
8732         * gst/base/gstbasesrc.c:
8733         * gst/base/gstbasesrc.h:
8734         * gst/base/gstbasetransform.h:
8735         * gst/gstelement.c:
8736         * gst/gstiterator.h:
8737           adding basetransform and iterator docs
8738
8739 2005-06-27  Andy Wingo  <wingo@pobox.com>
8740
8741         * docs/design/part-activation.txt: Notes on how activation should
8742         work -- not quite implemented yet.
8743
8744 2005-06-25  Wim Taymans  <wim@fluendo.com>
8745
8746         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8747         At least get the chain function correct, needs more
8748         fixing.
8749
8750 2005-06-25  Wim Taymans  <wim@fluendo.com>
8751
8752         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8753         (gst_basesink_handle_object), (gst_basesink_event),
8754         (gst_basesink_do_sync), (gst_basesink_handle_event),
8755         (gst_basesink_change_state):
8756         * gst/gsttask.h:
8757         Right, two problems here: ghostpads don't take locks and
8758         glib _rec_mutex_lock_full() with depth==0 still locks.
8759         Catch illegal locking and g_warn them.
8760
8761 2005-06-25  Wim Taymans  <wim@fluendo.com>
8762
8763         * check/states/sinks.c: (START_TEST), (gst_object_suite):
8764         Have to check for completion now...
8765
8766 2005-06-25  Wim Taymans  <wim@fluendo.com>
8767
8768         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8769         (gst_basesink_handle_object), (gst_basesink_event),
8770         (gst_basesink_do_sync), (gst_basesink_handle_event),
8771         (gst_basesink_change_state):
8772         * gst/gstpad.h:
8773         Unlock STREAM_LOCK whatever the recursion was.
8774
8775 2005-06-25  Wim Taymans  <wim@fluendo.com>
8776
8777         * gst/base/gstbasesink.c: (gst_basesink_set_property),
8778         (gst_basesink_preroll_queue_empty),
8779         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8780         (gst_basesink_event), (gst_basesink_do_sync),
8781         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8782         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8783         (gst_basesink_change_state):
8784         Reworked the base sink, handle event and buffer serialisation
8785         correctly and removed possible deadlock.
8786         Handle EOS correctly.
8787
8788 2005-06-25  Wim Taymans  <wim@fluendo.com>
8789
8790         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8791         (gst_pipeline_change_state):
8792         * tools/gst-launch.c: (check_intr), (event_loop), (main):
8793         Allow elements to post EOS in the state change function.
8794         Fix up -launch, make it exit the poll loop when the
8795         pipeline actually changed state.
8796         Fix up warning parsing in -launch.
8797
8798 2005-06-25  Wim Taymans  <wim@fluendo.com>
8799
8800         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8801         (gst_tee_sink_activate):
8802         Core takes STREAM_LOCK for us now.
8803
8804 2005-06-25  Wim Taymans  <wim@fluendo.com>
8805
8806         * gst/gstelement.c: (gst_element_get_state_func),
8807         (gst_element_set_state):
8808         * gst/gstelement.h:
8809         * gst/gstmessage.c: (gst_message_parse_error),
8810         (gst_message_parse_warning):
8811         Keep track of current target state while performing a state
8812         change so that subclasses can do something interesting.
8813         Fix parsing of warning/error messages when GError is NULL.
8814
8815 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8816
8817         * docs/gst/Makefile.am:
8818         * docs/gst/gstreamer-docs.sgml:
8819         * docs/gst/gstreamer-sections.txt:
8820         * docs/gst/gstreamer.types:
8821         * docs/gst/tmpl/gstbasesink.sgml:
8822         * docs/gst/tmpl/gstbasesrc.sgml:
8823         * docs/gst/tmpl/gstbin.sgml:
8824         * docs/gst/tmpl/gstcompat.sgml:
8825         * docs/gst/tmpl/gstfakesink.sgml:
8826         * docs/gst/tmpl/gstfakesrc.sgml:
8827         * docs/gst/tmpl/gstfilesink.sgml:
8828         * docs/gst/tmpl/gstfilesrc.sgml:
8829         * docs/gst/tmpl/gstindex.sgml:
8830         * docs/manual/appendix-quotes.xml:
8831         * gst/base/gstbasesrc.h:
8832         * gst/elements/gstfakesrc.h:
8833         * gst/gstmessage.h:
8834           start pulling in base classes and elements in our docs
8835
8836 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
8837
8838         * docs/gst/Makefile.am:
8839         * docs/libs/Makefile.am:
8840           fixed make distcheck with gtk-doc 1.3
8841
8842 2005-06-23  Wim Taymans  <wim@fluendo.com>
8843
8844         * gst/gstelement.c: (gst_element_get_state_func),
8845         (gst_element_set_state), (gst_element_change_state):
8846         When the state did not change, also report NO_PREROLL
8847         when it matters.
8848
8849 2005-06-23  Wim Taymans  <wim@fluendo.com>
8850
8851         * gst/gstpad.c: (gst_pad_event_default):
8852         * gst/gstqueue.c: (gst_queue_loop):
8853         No unsafe task pausing please.
8854
8855 2005-06-23  Wim Taymans  <wim@fluendo.com>
8856
8857         * gst/schedulers/threadscheduler.c:
8858         (gst_thread_scheduler_task_start),
8859         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8860         Ref the task before pushing it on the threadpool. This
8861         makes sure that we have a ref when the threadfunction is
8862         actually called.
8863
8864 2005-06-23  Andy Wingo  <wingo@pobox.com>
8865
8866         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8867         offset is greater than the file's size.
8868
8869         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
8870         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8871         * gst/gstobject.c (gst_object_class_init): Make the class lock
8872         recursive. Wim won't let me drop deep_notify. Decodebin works
8873         again, whoopdy doo.
8874
8875         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8876         internal pad, and hacks accordingly. Doesn't do it on the target
8877         pad because we change its caps. Probably catches all cases of
8878         interest tho.
8879         (gst_ghost_pad_set_property): Connect to notify::caps as
8880         appropritate.
8881
8882         * tests/network-clock.scm (plot-simulation): Pipe data to the
8883         elite python skript.
8884
8885         * tests/network-clock-utils.scm (define-parameter): New macro,
8886         defines a parameter that can be set via the command line.
8887         (set-parameter!, parse-parameter-arguments): Command line args
8888         parser.
8889
8890         * tests/plot-data: Simple matplotlib-based plotter, takes input on
8891         stdin.
8892
8893 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
8894
8895         * gst/elements/gsttypefindelement.c:
8896         (gst_type_find_element_handle_event):
8897           Don't restart typefinding on a discont.
8898         * gst/gstelement.c: (gst_element_set_state):
8899           Debug spelling fix.
8900         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8901           Allow changing mode of an active pad.
8902           Debug output fixes.
8903         * gst/registries/gstlibxmlregistry.c: (load_feature):
8904           Don't cast a static pad template to a normal pad template.
8905
8906 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8907
8908         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8909         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8910           remove gst_strtoll completely, since it didn't actually do
8911           anything more than what g_ascii_strtoull already does.
8912           check for range errors when deserializing
8913           do a cast for the unsigned cases; but further fixing needs
8914           a decision on what the interpretation of "(int)" and
8915           deserialization should be for values that fall outside the
8916           type's boundaries (ie, refuse, or interpret as casting)
8917
8918 2005-06-23  Wim Taymans  <wim@fluendo.com>
8919
8920         * check/Makefile.am:
8921         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8922         * docs/design/part-live-source.txt:
8923         * docs/design/part-states.txt:
8924         * gst/base/gstbasesrc.c: (gst_basesrc_init),
8925         (gst_basesrc_set_live), (gst_basesrc_is_live),
8926         (gst_basesrc_get_range), (gst_basesrc_activate),
8927         (gst_basesrc_change_state):
8928         * gst/base/gstbasesrc.h:
8929         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8930         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8931         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8932         * gst/gstelement.c: (gst_element_get_state_func),
8933         (gst_element_set_state):
8934         * gst/gstelement.h:
8935         * gst/gsttypes.h:
8936         * tools/gst-launch.c: (event_loop), (main):
8937         Added support for live sources and other elements that
8938         cannot do preroll.
8939         Updated design docs, added live-source design doc.
8940         Implemented live source functionality in basesrc
8941         Fix error condition in _bin_get_state()
8942         Implement live source handling in -launch.
8943         Added check for live sources.
8944         Fixed case in GstBin where elements were changed state
8945         multiple times.
8946
8947
8948 2005-06-23  Andy Wingo  <wingo@pobox.com>
8949
8950         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8951         borken refcounting.
8952
8953         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8954         gst_caps_replace takes care of this for us.
8955
8956         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8957         gst_pad_set_caps on the target, not just its setcaps() function.
8958
8959         * tests/network-clock.scm: 
8960         * tests/network-clock-utils.scm: A network clock simulator.
8961         Something of an algorithmic testbed before doing something in C.
8962
8963 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8964
8965         * check/Makefile.am:
8966         * check/gst/capslist.h:
8967           copy over from 0.8, and add two with bitmasks specified with
8968           (int) 0xFF...
8969         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8970           add test to parse everything from capslist.h
8971         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8972         (main):
8973           add test for structure deserialization
8974         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8975           add tests for deserialization of strings to int types
8976         * gst/gststructure.c: (gst_structure_nth_field_name):
8977         * gst/gststructure.h:
8978           add a way to get the name of a field referenced by index
8979         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8980           instead of checking if the resulting long long lies between
8981           min and max, we check if the long long would fit into
8982           a number of bytes for the final type.
8983           This fixes cases where a string represents 2^32 - 1, which
8984           when cast to int would be the (valid) -1, but is bigger than
8985           G_MAXINT
8986
8987 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8988
8989         * gst/parse/grammar.y:
8990           add a log line for type deserialization
8991
8992 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8993
8994         * check/gst/gstvalue.c: (START_TEST):
8995         * gst/gstvalue.c: (gst_value_deserialize):
8996           return long long, not int, so gint64 deserialization actually
8997           works.  Is there any flag that makes the compiler check this ?
8998           Fixes #308559
8999
9000 2005-06-22  Wim Taymans  <wim@fluendo.com>
9001
9002         * gst/gstbuffer.h:
9003         Added convenience macros for setting buffers in GValue.
9004
9005 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9006
9007         * check/gst/.cvsignore:
9008         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9009           add a test deserializing int64, and comment part out because
9010           it fails, yay !
9011
9012 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9013
9014         * check/Makefile.am:
9015         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9016         * testsuite/Makefile.am:
9017         * testsuite/caps/Makefile.am:
9018         * testsuite/caps/value_serialize.c:
9019         * testsuite/test_gst_init.c:
9020           move a value_serialize test over
9021
9022 2005-06-20  Wim Taymans  <wim@fluendo.com>
9023
9024         * gst/gstpad.c:
9025         Small doc updates.
9026         
9027         * gst/gstvalue.c: (gst_value_compare_buffer),
9028         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9029         (gst_value_compare_flags), (gst_value_serialize_flags),
9030         (gst_value_deserialize_flags), (_gst_value_initialize):
9031         Fix serialisation of buffers, they are not boxed types anymore
9032
9033 2005-06-20  Wim Taymans  <wim@fluendo.com>
9034
9035         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9036         Testcase to show error in buffer-on-caps serialisation.
9037
9038 2005-06-20  Andy Wingo  <wingo@pobox.com>
9039
9040         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9041         will be adding to later.
9042
9043         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9044         if its socks fill with rocks.
9045         (gst_system_clock_obtain): Set the name on object construction.
9046         Avoid double-checked locking.
9047
9048 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9049
9050         * gst/gsturi.c: (gst_element_make_from_uri):
9051           Fix potential endless loop.
9052
9053 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9054
9055         * check/Makefile.am:
9056           add gsttag
9057         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9058         (main):
9059           move over from testsuite dir and clean up
9060         * configure.ac:
9061         * gst/gsttag.c:
9062         * testsuite/Makefile.am:
9063         * testsuite/tags/.cvsignore:
9064         * testsuite/tags/Makefile.am:
9065         * testsuite/tags/merge.c:
9066           remove testsuite/tags
9067
9068 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9069
9070         * docs/gst/gstreamer-sections.txt:
9071         * docs/gst/tmpl/gstenumtypes.sgml:
9072         * win32/gstenumtypes.c:
9073           clean up documentation build a little
9074
9075 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9076
9077         * check/gstcheck.h:
9078           add macros for checking refcounts on objects and caps
9079         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9080           add some more unit tests
9081         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9082         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9083           fix leaked refcounts (I hope :)) so unittest works
9084         * gst/gstpad.h:
9085           whitespace removal
9086
9087 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9088
9089         * configure.ac: back to HEAD
9090
9091 === release 0.9.1 ===
9092
9093 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9094
9095         * NEWS:
9096         * RELEASE:
9097           updated
9098
9099 2005-06-17  Andy Wingo  <wingo@pobox.com>
9100
9101         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9102         assert; it's always possible that the pad gets deactivated in
9103         between the checks in gstpad.c and the implementation. Rely on
9104         finish_preroll() to return a FLUSHING or similar instead of on the
9105         assert.
9106         
9107         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9108         clock and post an EOS message if we come out of finish_preroll in
9109         the playing state.
9110
9111 2005-06-16  David Schleef  <ds@schleef.org>
9112
9113         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9114         (gst_capsfilter_set_property): Allow NULL as possible value
9115         for filter_caps property, indicating GST_CAPS_ANY.
9116
9117 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9118
9119         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9120           fix debug output
9121         * gst/schedulers/Makefile.am:
9122           use libgst prefix
9123         * gstreamer.spec.in:
9124           fix spec for it
9125
9126 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9127
9128         * gstreamer.spec.in:
9129           clean up
9130
9131 2005-06-08  Andy Wingo  <wingo@pobox.com>
9132
9133         * gst/gstutils.c: RPAD fixes all around.
9134         (gst_element_link_pads): Refcounting fixes.
9135
9136         * tools/gst-inspect.c:
9137         * tools/gst-xmlinspect.c:
9138         * parse/grammar.y:
9139         * gst/base/gsttypefindhelper.c:
9140         * gst/base/gstbasesink.c:
9141         * gst/gstqueue.c: RPAD fixes.
9142
9143         * gst/gstghostpad.h:
9144         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9145         pads. The tricky thing is they provide both source and sink
9146         interfaces, since they proxy the internal pad for the external
9147         pad, and vice versa. Implement with lower-level ProxyPad objects,
9148         with the interior proxy pad as a child of the exterior ghost pad.
9149         Should write a doc on this.
9150         
9151         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9152         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9153         gst_object API.
9154         
9155         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9156         pads are real pads. No ghost pads in this file. Not documenting
9157         the myriad s/RPAD/PAD/ and REALIZE fixes.
9158         (gst_pad_class_init): Add properties for "direction" and
9159         "template". Both are construct-only, so they can't change during
9160         the life of the pad. Fixes properly deriving from GstPad.
9161         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9162         derived objects, just set properties when creating the objects via
9163         g_object_new.
9164         (gst_pad_get_parent): Implement as a function, return NULL if the
9165         parent is not an element.
9166         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9167         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9168         
9169         * gst/gstobject.c (gst_object_class_init): Make name a construct
9170         property. Don't set it in the object init.
9171
9172         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9173         with UNKNOWN direction.
9174         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9175         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9176         (gst_element_remove_pad): Remove ghost-pad special cases.
9177         (gst_element_pads_activate): Remove rpad cruft.
9178
9179         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9180         catch the pad's-parent-not-an-element case.
9181
9182         * gst/gst.h: Include gstghostpad.h.
9183
9184         * gst/gst.c (init_post): No more real, ghost pads.
9185
9186         * gst/Makefile.am: Add gstghostpad.[ch].
9187
9188         * check/Makefile.am:
9189         * check/gst/gstbin.c:
9190         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9191         into a bin creates ghost pads, and that the refcounts are right.
9192         Partly moved from gstbin.c.
9193
9194 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9195
9196         * check/gst-libs/.cvsignore:
9197         * check/gst/.cvsignore:
9198         * check/pipelines/.cvsignore:
9199           ignore more
9200         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9201         (START_TEST), (cleanup_suite), (main):
9202           add some tests related to cleanup after running pipelines
9203
9204 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9205
9206         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9207           add a testsuite for GstBuffer
9208
9209 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9210
9211         * gst/gstminiobject.h:
9212           add defines for accessing the refcount
9213
9214 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9215
9216         * Makefile.am: added support for html unit test coverage reports
9217
9218 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9219
9220         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9221           Free existing caps if the capsfilter changes. Add a FIXME about
9222           setting those caps on the pads.
9223
9224         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9225           Before adding a ghost pad to a parent bin, check that there isn't
9226           already one for the element on the bin. Prevents infinite recursion
9227           when using decodebin in parse pipelines. Andy says he'll rewrite the
9228           way this works anyway, so ignore the hack.
9229
9230 2005-06-02  Andy Wingo  <wingo@pobox.com>
9231
9232         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9233         file size, pass it on to the type find helper.
9234
9235         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9236         segment_start and segment_end properly according to the seek
9237         method. Segment_end is still a bit flaky because offset can be
9238         negative for CUR and END cases, but it takes -1 as an "unset"
9239         value.
9240
9241 2005-06-02  Wim Taymans  <wim@fluendo.com>
9242
9243         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9244         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9245         (gst_basesink_activate):
9246         * gst/base/gstbasesink.h:
9247         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9248         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9249         (gst_pad_query), (gst_pad_start_task):
9250         * gst/gstpad.h:
9251         * gst/gstqueue.c: (gst_queue_bufferalloc),
9252         (gst_queue_handle_sink_event), (gst_queue_chain):
9253         Bufferalloc: return GstFlowReturn to more accuratly report
9254         why allocation failed.
9255
9256 2005-06-02  Wim Taymans  <wim@fluendo.com>
9257
9258         * gst/gstpipeline.c: (gst_pipeline_send_event):
9259         Take snapshot of state without blocking.
9260
9261 2005-06-02  Wim Taymans  <wim@fluendo.com>
9262
9263         * docs/design/part-TODO.txt:
9264         * docs/design/part-caps.txt:
9265         * docs/design/part-clocks.txt:
9266         * docs/design/part-negotiation.txt:
9267         * docs/design/part-preroll.txt:
9268         Small doc updates 
9269
9270 2005-05-30  Wim Taymans  <wim@fluendo.com>
9271
9272         * gst/elements/gstidentity.c: (gst_identity_event),
9273         (gst_identity_transform), (gst_identity_get_property):
9274         Protect last_message property as it is accessed from
9275         multiple threads.
9276
9277 2005-05-30  Wim Taymans  <wim@fluendo.com>
9278
9279         * gst/gstelement.c: (gst_element_init),
9280         (gst_element_pads_activate), (gst_element_change_state):
9281         Slicker pad activation code.
9282
9283 2005-05-30  Wim Taymans  <wim@fluendo.com>
9284
9285         * gst/Makefile.am:
9286         * gst/gstelement.h:
9287         * gst/gstelementfactory.h:
9288         * gst/gsttypes.h:
9289         Move elementfactory methods to separate .h file.
9290
9291 2005-05-30  Wim Taymans  <wim@fluendo.com>
9292
9293         * docs/design/part-overview.txt:
9294         * gst/gstsystemclock.h:
9295         Small typo fixes, doc updates.
9296
9297 2005-05-30  Wim Taymans  <wim@fluendo.com>
9298
9299         * gst/gst.c: (gst_init_get_popt_table), (init_post),
9300         (init_popt_callback):
9301         Remove cpu-opt flag.
9302
9303 2005-05-30  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/gstbuffer.c: (gst_subbuffer_finalize),
9306         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
9307         * gst/gstbuffer.h:
9308         Avoid typechecking in places where not needed.
9309         Added accessor for malloc_data.
9310
9311 2005-05-30  Wim Taymans  <wim@fluendo.com>
9312
9313         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
9314         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
9315         (gst_pad_configure_sink), (gst_pad_configure_src),
9316         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
9317         (gst_pad_start_task):
9318         Propagate errors from _set_caps() in configure_src/sink
9319         functions instead of returning TRUE.
9320         FLUSH events can travel up and downstream
9321
9322
9323 2005-05-30  Wim Taymans  <wim@fluendo.com>
9324
9325         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9326         (gst_basesink_activate):
9327         Handle EOS in preroll.
9328
9329 2005-05-30  Wim Taymans  <wim@fluendo.com>
9330
9331         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9332         (gst_queue_loop), (gst_queue_handle_src_event):
9333         Remove old pieces of code
9334         Flushing the queue in an upstream event is a very bad idea.
9335
9336 2005-05-26  Andy Wingo  <wingo@pobox.com>
9337
9338         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
9339         gst_value_set_mini_object so as to add a ref on the object (which
9340         will be removed when the value is unset).
9341
9342         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
9343         arg type in ::handoff.
9344
9345         * gst/gstelement.c (gst_element_change_state): Also deactivate
9346         pads in READY->NULL, just in case the element didn't make it to
9347         PAUSED. Wingo tested, Wim approved.
9348
9349 2005-05-26  Wim Taymans  <wim@fluendo.com>
9350
9351         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9352         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9353         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
9354         A flushing pad cannot be used to alloc_buffer from.
9355
9356 2005-05-26  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9359         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
9360         (gst_bus_source_dispatch), (gst_bus_source_finalize),
9361         (gst_bus_create_watch), (gst_bus_add_watch_full):
9362         * gst/gstbus.h:
9363         Implement a real GSource and use g_main_context_wakeup() to
9364         signal new messages instead of the socketpair.
9365
9366 2005-05-25  Wim Taymans  <wim@fluendo.com>
9367
9368         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
9369         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
9370         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9371         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9372         (gst_pad_send_event), (gst_pad_start_task):
9373         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
9374         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9375         (gst_queue_sink_activate), (gst_queue_src_activate),
9376         (gst_queue_change_state):
9377         * gst/gstqueue.h:
9378         Fix state changes for non sinks. We now change sinks, then elements
9379         with unconnected srcpads, then the rest.
9380         More efficient queue unlocking in flush and state changes.
9381         Set the pad activate mode even if it does not have an activate
9382         function.
9383
9384 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9385
9386         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
9387           Don't go in pull mode for non-seekable sources.
9388         * gst/elements/gsttypefindelement.h:
9389         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9390         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
9391         (free_entry), (stop_typefinding),
9392         (gst_type_find_element_handle_event), (find_peek),
9393         (gst_type_find_element_chain), (do_pull_typefind),
9394         (gst_type_find_element_change_state):
9395           Allow typefinding (w/o seeking) in push-mode, simplified version
9396           of what was in 0.8.
9397         * gst/gstutils.c: (gst_buffer_join):
9398         * gst/gstutils.h:
9399           gst_buffer_join() from 0.8.
9400
9401 2005-05-25  Wim Taymans  <wim@fluendo.com>
9402
9403         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9404         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
9405         (gst_pad_send_event), (gst_pad_start_task):
9406         Disable attempt at mode switching until it is figured out.
9407
9408 2005-05-25  Wim Taymans  <wim@fluendo.com>
9409
9410         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
9411         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
9412         (gst_basesink_finish_preroll), (gst_basesink_chain),
9413         (gst_basesink_loop), (gst_basesink_activate),
9414         (gst_basesink_change_state):
9415         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
9416         (gst_basesrc_get_range), (gst_basesrc_loop),
9417         (gst_basesrc_activate):
9418         * gst/elements/gsttee.c: (gst_tee_sink_activate):
9419         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9420         (gst_real_pad_init), (gst_real_pad_set_property),
9421         (gst_real_pad_get_property), (gst_pad_set_active),
9422         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
9423         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
9424         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
9425         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
9426         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9427         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
9428         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
9429         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9430         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
9431         (gst_pad_stop_task):
9432         * gst/gstpad.h:
9433         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9434         (gst_queue_loop), (gst_queue_src_activate):
9435         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
9436         (gst_task_get_state):
9437         * gst/gsttask.h:
9438         * gst/schedulers/threadscheduler.c:
9439         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
9440         Implement gst_pad_pause/start/stop_task(), take STREAM lock
9441         in task function.
9442         Remove ACTIVE pad flag, use FLUSHING everywhere
9443         Added _pad_chain(), _pad_get_range() to call chain/getrange 
9444         functions.
9445         Add locks around IS_FLUSHING when reading.
9446         Take STREAM lock in chain(), get_range() functions so plugins
9447         don't need to take it anymore.
9448         
9449
9450
9451 2005-05-25  Wim Taymans  <wim@fluendo.com>
9452
9453         * tools/gst-launch.c: (event_loop):
9454         Unref message after using its contents instead of
9455         before.
9456
9457 2005-05-24  Wim Taymans  <wim@fluendo.com>
9458
9459         * docs/design/draft-ghostpads.txt:
9460         * docs/design/draft-push-pull.txt:
9461         * docs/design/draft-query.txt:
9462         * docs/design/part-overview.txt:
9463         Docs updates, added general overview doc.
9464
9465 2005-05-21  David Schleef  <ds@schleef.org>
9466
9467         * docs/gst/tmpl/old/GstBin.sgml:
9468         * docs/gst/tmpl/old/GstBuffer.sgml:
9469         * docs/gst/tmpl/old/GstCaps.sgml:
9470         * docs/gst/tmpl/old/GstClock.sgml:
9471         * docs/gst/tmpl/old/GstCompat.sgml:
9472         * docs/gst/tmpl/old/GstData.sgml:
9473         * docs/gst/tmpl/old/GstElement.sgml:
9474         * docs/gst/tmpl/old/GstEvent.sgml:
9475         * docs/gst/tmpl/old/GstIndex.sgml:
9476         * docs/gst/tmpl/old/GstStructure.sgml:
9477         * docs/gst/tmpl/old/GstTag.sgml:
9478         * docs/gst/tmpl/old/cothreads.sgml:
9479         * docs/gst/tmpl/old/cothreads_compat.sgml:
9480         * docs/gst/tmpl/old/gettext.sgml:
9481         * docs/gst/tmpl/old/gobject2gtk.sgml:
9482         * docs/gst/tmpl/old/grammar.tab.sgml:
9483         * docs/gst/tmpl/old/gst-i18n-app.sgml:
9484         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9485         * docs/gst/tmpl/old/gst_private.sgml:
9486         * docs/gst/tmpl/old/gstaggregator.sgml:
9487         * docs/gst/tmpl/old/gstarch.sgml:
9488         * docs/gst/tmpl/old/gstatomic_impl.sgml:
9489         * docs/gst/tmpl/old/gstbufferstore.sgml:
9490         * docs/gst/tmpl/old/gstdata_private.sgml:
9491         * docs/gst/tmpl/old/gstdisksink.sgml:
9492         * docs/gst/tmpl/old/gstdisksrc.sgml:
9493         * docs/gst/tmpl/old/gstelementfactory.sgml:
9494         * docs/gst/tmpl/old/gstextratypes.sgml:
9495         * docs/gst/tmpl/old/gstfakesink.sgml:
9496         * docs/gst/tmpl/old/gstfakesrc.sgml:
9497         * docs/gst/tmpl/old/gstfdsink.sgml:
9498         * docs/gst/tmpl/old/gstfdsrc.sgml:
9499         * docs/gst/tmpl/old/gstfilesink.sgml:
9500         * docs/gst/tmpl/old/gstfilesrc.sgml:
9501         * docs/gst/tmpl/old/gsthttpsrc.sgml:
9502         * docs/gst/tmpl/old/gstidentity.sgml:
9503         * docs/gst/tmpl/old/gstindexfactory.sgml:
9504         * docs/gst/tmpl/old/gstmarshal.sgml:
9505         * docs/gst/tmpl/old/gstmd5sink.sgml:
9506         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9507         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9508         * docs/gst/tmpl/old/gstpadtemplate.sgml:
9509         * docs/gst/tmpl/old/gstpipefilter.sgml:
9510         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9511         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9512         * docs/gst/tmpl/old/gstshaper.sgml:
9513         * docs/gst/tmpl/old/gstspider.sgml:
9514         * docs/gst/tmpl/old/gstspideridentity.sgml:
9515         * docs/gst/tmpl/old/gststatistics.sgml:
9516         * docs/gst/tmpl/old/gsttee.sgml:
9517         * docs/gst/tmpl/old/gsttimecache.sgml:
9518         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9519         * docs/gst/tmpl/old/gstxmlregistry.sgml:
9520         * docs/gst/tmpl/old/gthread-cothreads.sgml:
9521         * docs/gst/tmpl/old/types.sgml:
9522           I didn't intend to add these or check them in.
9523
9524 2005-05-19  David Schleef  <ds@schleef.org>
9525
9526         * configure.ac: Use -no-common everywhere.  In a sane world, it
9527           would be the default in libtool, because without it, you can't
9528           build DLLs on Windows.
9529         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9530         * docs/gst/gstreamer-sections.txt:
9531         * docs/gst/tmpl/gstcpu.sgml:
9532         * docs/gst/tmpl/gstdata.sgml:
9533         * docs/gst/tmpl/gstthread.sgml:
9534
9535 2005-05-19  David Schleef  <ds@schleef.org>
9536
9537         * gst/gstminiobject.c: (gst_value_set_mini_object),
9538         (gst_value_take_mini_object), (gst_value_get_mini_object):
9539         * gst/gstminiobject.h: Add GValue set/get functions.
9540
9541 2005-05-19  Wim Taymans  <wim@fluendo.com>
9542
9543         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9544         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9545         (gst_subbuffer_init), (gst_buffer_is_span_fast):
9546         * gst/gstbuffer.h:
9547         * gst/gstbus.c: (gst_bus_post):
9548         * gst/gstelement.c: (gst_element_get_random_pad):
9549         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9550         Make subbufer unref the parent in finalize.
9551         some more debugging info.
9552
9553
9554 2005-05-19  Wim Taymans  <wim@fluendo.com>
9555
9556         * gst/base/gstbasesink.c: (gst_basesink_class_init),
9557         (gst_basesink_init), (gst_basesink_finalize),
9558         (gst_basesink_activate), (gst_basesink_change_state):
9559         Don't free preroll queue too early.
9560
9561 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9562
9563         * gst/Makefile.am:
9564         * gst/ROADMAP:
9565           Hi, I'm outdated. Please shoot me.
9566
9567 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9568
9569         * gst/gstpipeline.c: (gst_pipeline_send_event):
9570           Do not access variables after they have been deleted.
9571
9572 2005-05-19  Wim Taymans  <wim@fluendo.com>
9573
9574         * tools/gst-inspect.c: (print_plugin_features):
9575         A plugin feature does unfortunatly not use the
9576         object name yet...
9577
9578 2005-05-18  Wim Taymans  <wim@fluendo.com>
9579
9580         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9581         Port _span() functions to new subbuffers.
9582
9583 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9584
9585         * gst/gstbin.c: (gst_bin_add_func):
9586           Fix clock settery in bins when adding kids after the clock has
9587           been selected.
9588
9589 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9590
9591         * gst/elements/gstidentity.c: (gst_identity_class_init):
9592           Workaround until signals support GstMiniObject.
9593
9594 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9595
9596         * gst/gstbuffer.c:
9597         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9598
9599 2005-05-18  Wim Taymans  <wim@fluendo.com>
9600
9601         * gst/base/Makefile.am:
9602         * gst/base/gstadapter.c: (gst_adapter_base_init),
9603         (gst_adapter_class_init), (gst_adapter_init),
9604         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9605         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9606         (gst_adapter_flush), (gst_adapter_available),
9607         (gst_adapter_available_fast):
9608         * gst/base/gstadapter.h:
9609         Ported and added adapter to the base classes.
9610
9611 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9612
9613         * gst/gst.c:
9614         * gst/gstmessage.c:
9615           Make sure the class is reffed/unreffed once before threads can be
9616           used.  Fixes #304551.
9617
9618 2005-05-17  Wim Taymans  <wim@fluendo.com>
9619
9620         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9621         (gst_basesink_chain_unlocked), (gst_basesink_activate):
9622         * gst/gstminiobject.c: (gst_mini_object_get_type),
9623         (gst_mini_object_free):
9624         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9625         (gst_pad_push), (gst_pad_push_event):
9626         * gst/gstqueue.c: (gst_queue_change_state):
9627         Don't queue buffers in basesink when we are flushing.
9628         Unref buffer when flushing in basesink.
9629         Flush queue when going to READY
9630         Unref buffer when _push() returns an error.
9631         Don't free MiniObject instance when refcount is incremented
9632         in _finalize() so that we can recover objects.
9633
9634 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9635
9636         * docs/manual/advanced-schedulers.xml:
9637         * docs/manual/appendix-checklist.xml:
9638         * docs/pwg/advanced-clock.xml:
9639         * docs/pwg/advanced-interfaces.xml:
9640         * docs/pwg/advanced-request.xml:
9641         * docs/pwg/advanced-types.xml:
9642         * docs/pwg/intro-preface.xml:
9643         * examples/plugins/example.c: (gst_example_get_type),
9644         (gst_example_class_init), (gst_example_chain),
9645         (gst_example_set_property), (gst_example_get_property),
9646         (gst_example_change_state), (plugin_init):
9647         * examples/plugins/example.h:
9648           small doc fixes
9649
9650 2005-05-17  Wim Taymans  <wim@fluendo.com>
9651
9652         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9653         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9654         * gst/gstqueue.c: (gst_queue_change_state):
9655         Clear queue when going to READY.
9656         Remove IN_SETCAPS flag too.
9657
9658 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
9659
9660         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9661           Remove implicit cast from gboolean to GstElementStateReturn;
9662           make sure we still return failure in paused => ready case if
9663           the parent class fails to change state and our own stop 
9664           vfunc succeeds.
9665
9666 2005-05-17  Wim Taymans  <wim@fluendo.com>
9667
9668         * tools/gst-launch.c: (event_loop):
9669         Message was unreffed too soon.
9670
9671 2005-05-16  Andy Wingo  <wingo@pobox.com>
9672
9673         * gst/gstbin.c (sink_iterator_filter): Err... um...
9674
9675         * check/gst/gstbin.c (test_ghost_pads): New test for the
9676         ghosting-if-elements-not-in-same-bin behavior.
9677
9678 2005-05-16  David Schleef  <ds@schleef.org>
9679
9680         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9681         accessing refcount directly.
9682
9683 2005-05-15  David Schleef  <ds@schleef.org>
9684
9685         * check/Makefile.am: remove GstData checks
9686         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9687         * gst/Makefile.am: add miniobject, remove data
9688         * gst/gst.h: add miniobject, remove data
9689         * gst/gstdata.c: remove
9690         * gst/gstdata.h: remove
9691         * gst/gstdata_private.h: remove
9692         * gst/gsttypes.h: remove GstEvent and GstMessage
9693         * gst/gstelement.c: (gst_element_post_message): fix for API changes
9694         * gst/gstmarshal.list: change BOXED -> OBJECT
9695
9696         Implement GstMiniObject.
9697         * gst/gstminiobject.c:
9698         * gst/gstminiobject.h:
9699
9700         Modify to be subclasses of GstMiniObject.
9701         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9702         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9703         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9704         (gst_subbuffer_get_type), (gst_subbuffer_init),
9705         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9706         (gst_buffer_span):
9707         * gst/gstbuffer.h:
9708         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9709         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9710         (_gst_event_copy), (gst_event_new):
9711         * gst/gstevent.h:
9712         * gst/gstmessage.c: (_gst_message_initialize),
9713         (gst_message_get_type), (gst_message_class_init),
9714         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9715         (gst_message_new), (gst_message_new_error),
9716         (gst_message_new_warning), (gst_message_new_tag),
9717         (gst_message_new_state_changed), (gst_message_new_application):
9718         * gst/gstmessage.h:
9719         * gst/gstprobe.c: (gst_probe_perform),
9720         (gst_probe_dispatcher_dispatch):
9721         * gst/gstprobe.h:
9722         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9723         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9724         (_gst_query_copy), (gst_query_new):
9725
9726         Update elements for GstData -> GstMiniObject changes
9727         * gst/gstquery.h:
9728         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9729         (gst_queue_chain), (gst_queue_loop):
9730         * gst/elements/gstbufferstore.c:
9731         (gst_buffer_store_add_buffer_func),
9732         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9733         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9734         (gst_fakesink_render):
9735         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9736         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9737         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9738         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9739         (gst_filesrc_create_read):
9740         * gst/elements/gstidentity.c: (gst_identity_class_init):
9741         * gst/elements/gsttypefindelement.c:
9742         (gst_type_find_element_src_event), (free_entry_buffers),
9743         (gst_type_find_element_handle_event):
9744         * libs/gst/dataprotocol/dataprotocol.c:
9745         (gst_dp_header_from_buffer):
9746         * libs/gst/dataprotocol/dataprotocol.h:
9747         * libs/gst/dataprotocol/dp-private.h:
9748
9749 2005-05-15  David Schleef  <ds@schleef.org>
9750
9751         * gst/elements/gstelements.c: Don't include headers that were
9752         just removed.
9753
9754 2005-05-15  David Schleef  <ds@schleef.org>
9755
9756         * gst/elements/Makefile.am: Remove some elements that don't
9757         need to be in the core (or even exist at all).
9758         * gst/elements/gstaggregator.c:
9759         * gst/elements/gstaggregator.h:
9760         * gst/elements/gstmd5sink.c:
9761         * gst/elements/gstmd5sink.h:
9762         * gst/elements/gstmultifilesrc.c:
9763         * gst/elements/gstmultifilesrc.h:
9764         * gst/elements/gstpipefilter.c:
9765         * gst/elements/gstpipefilter.h:
9766         * gst/elements/gstshaper.c:
9767         * gst/elements/gstshaper.h:
9768         * gst/elements/gststatistics.c:
9769         * gst/elements/gststatistics.h:
9770         * po/POTFILES.in: Remove above files.
9771
9772 2005-05-14  Andy Wingo  <wingo@pobox.com>
9773
9774         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9775         so as to get the refs right.
9776         (sink_iterator_filter): New function, wraps bin_element_is_sink,
9777         unreffing objects that don't pass the filter.
9778
9779         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9780         gst_element_set_bus.
9781         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9782         normal cases, this will destroy the bus.
9783
9784         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9785         object.
9786
9787         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9788         has no sinks.
9789
9790 2005-05-13  Andy Wingo  <wingo@pobox.com>
9791
9792         * gst/gstutils.c (gst_element_link_pads): Instead of calling
9793         gst_pad_link, call pad_link_maybe_ghosting,
9794         (pad_link_maybe_ghosting): Links pads, making sure that the
9795         elements being linked are in the same bin.
9796         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9797         Helpers for pad_link_maybe_ghosting.
9798
9799 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9800
9801         * configure.ac:
9802           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9803
9804 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9805
9806         * docs/design/part-element-source.txt:
9807           Mention GstPushSrc
9808
9809 2005-05-12  Wim Taymans  <wim@fluendo.com>
9810
9811         * gst/base/gstbasesink.c: (gst_basesink_init),
9812         (gst_basesink_activate):
9813         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9814         (gst_basesrc_is_seekable):
9815         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9816         (bin_element_is_sink), (gst_bin_change_state):
9817         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9818         * gst/gstelement.h:
9819         Identify sinks by their flag to avoid overly complicated
9820         checks (fow now).
9821         Do state changes even for elements not reachable from the
9822         sinks.
9823         BaseSink is a sink now :)
9824         Some more debugging info in the basesrc.
9825
9826
9827 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9828
9829         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9830           Implement _query on a bin, similar to _send_event.
9831
9832 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9833
9834         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9835           Discont event offset format should be GST_FORMAT_BYTES,
9836           not GST_FORMAT_TIME.
9837
9838 2005-05-12  Wim Taymans  <wim@fluendo.com>
9839
9840         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9841         Same fix as Ronald's but without the signal. 
9842
9843 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9844
9845         * gst/gstutils.c: (gst_element_query_position):
9846           No, an element is not a pad.
9847
9848 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9849
9850         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9851         (gst_bin_get_state):
9852           If a child is removed from a bin while we remove the child from
9853           the bin and while we're retrieving its state, signal this to the
9854           get_state function so we abort the wait (instead of waiting for
9855           a timeout) and can immediately re-iterate over all other elements.
9856
9857 2005-05-12  Wim Taymans  <wim@fluendo.com>
9858
9859         * gst/base/Makefile.am:
9860         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9861         (gst_basesrc_start):
9862         * gst/base/gstbasesrc.h:
9863         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9864         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9865         (gst_pushsrc_init), (gst_pushsrc_create):
9866         * gst/base/gstpushsrc.h:
9867         Added is_seekable to BaseSrc
9868         Added simple PushSrc.
9869
9870 2005-05-11  Wim Taymans  <wim@fluendo.com>
9871
9872         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9873         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9874         (gst_element_link_pads), (gst_element_query_position),
9875         (gst_element_query_convert), (intersect_caps_func),
9876         (gst_pad_query_position), (gst_pad_query_convert):
9877         Fix refcounting in utils function.
9878         No point in trying to activate a pad when it's added, it could
9879         be added from the state change function and then we deadlock, the
9880         element has to decide what to do.
9881
9882 2005-05-10  Andy Wingo  <wingo@pobox.com>
9883
9884         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9885         *all* the arguments.
9886
9887         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9888         stream lock if it's a FLUSH_DONE; normal flushes don't get the
9889         lock (according to the docs -- if this is wrong change the docs).
9890
9891         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9892         flush messages in the NULL state.
9893
9894         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9895         message immediately and return.
9896         (gst_bus_set_flushing): New function. If a bus is flushing, it
9897         flushes out any queued messages and immediately unrefs new
9898         messages. This is so when an element goes to NULL, all of the
9899         unhandled messages coming from it can be freed, and their
9900         references to the element dropped. In other words: message source
9901         ref considered harmful :P
9902
9903         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9904         we're finished with it.
9905
9906         * gst/gstmessage.c (gst_message_new_state_changed): 
9907
9908 2005-05-10  Wim Taymans  <wim@fluendo.com>
9909
9910         * gst/gstvalue.c: (gst_value_compare_flags),
9911         (gst_value_serialize_flags), (gst_value_deserialize_flags),
9912         (_gst_value_initialize):
9913         Added flags serialize/deserialize/compare code.
9914
9915 2005-05-09  Andy Wingo  <wingo@pobox.com>
9916
9917         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9918         Intersect the peer's caps with our caps.
9919
9920 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9921
9922         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9923         * gst/elements/gsttypefindelement.c: (find_peek):
9924           Handle negative offsets better. Fixes decodebin.
9925
9926 2005-05-09  Wim Taymans  <wim@fluendo.com>
9927
9928         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9929         (gst_base_transform_event):
9930         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9931         Implement accept_caps.
9932         Fix silly lock/unlock mismatch in base class.
9933
9934 2005-05-09  Wim Taymans  <wim@fluendo.com>
9935
9936         * docs/design/draft-push-pull.txt:
9937         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9938         * gst/elements/gstfilesink.c: (gst_filesink_init),
9939         (gst_filesink_query):
9940         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9941         (gst_type_find_handle_src_query), (find_element_get_length):
9942         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9943         * gst/gstelement.h:
9944         * gst/gstmessage.c:
9945         * gst/gstmessage.h:
9946         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9947         (gst_real_pad_get_caps_unlocked),
9948         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9949         (gst_pad_event_default_dispatch), (gst_pad_event_default),
9950         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9951         (gst_real_pad_dispose), (gst_real_pad_finalize),
9952         (gst_pad_load_and_link), (gst_pad_save_thyself),
9953         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9954         (gst_pad_check_pull_range), (gst_pad_pull_range),
9955         (gst_pad_template_get_type), (gst_pad_template_class_init),
9956         (gst_pad_template_init), (gst_pad_template_dispose),
9957         (name_is_valid), (gst_static_pad_template_get),
9958         (gst_pad_template_new), (gst_static_pad_template_get_caps),
9959         (gst_pad_template_get_caps), (gst_pad_set_element_private),
9960         (gst_pad_get_element_private), (gst_pad_start_task),
9961         (gst_pad_pause_task), (gst_pad_stop_task),
9962         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9963         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9964         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9965         (gst_ghost_pad_new):
9966         * gst/gstpad.h:
9967         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9968         (gst_query_new_position), (gst_query_set_position),
9969         (gst_query_parse_position), (gst_query_new_convert),
9970         (gst_query_set_convert), (gst_query_parse_convert):
9971         * gst/gstquery.h:
9972         * gst/gstqueryutils.c:
9973         * gst/gstqueryutils.h:
9974         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9975         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9976         (gst_queue_handle_src_query):
9977         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9978         (gst_element_query_position), (gst_element_query_convert),
9979         (intersect_caps_func), (gst_pad_query_position),
9980         (gst_pad_query_convert):
9981         * gst/gstutils.h:
9982         * tools/gst-inspect.c: (print_pad_info):
9983         * tools/gst-xmlinspect.c: (print_element_info):
9984         Remove old query functions. Ported old code.
9985         Added position/convert helper functions to gstutils.
9986         Reordered gstpad.c code, grouping relevant things.
9987         Remove gst_message_new(), always need to speficy a specific
9988         message.
9989
9990
9991 2005-05-09  Andy Wingo  <wingo@pobox.com>
9992
9993         * gst/gstiterator.h: Add some includes.
9994
9995         * gst/gstqueryutils.h: Include more headers.
9996
9997         * gst/gstpad.h:
9998         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9999         some uses of gst_pad_query.
10000
10001         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10002         NULL out parameters.
10003         (gst_query_new_position): New proc, allocates a new position
10004         query.
10005
10006         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10007         gstqueryutils.c to the build.
10008
10009         * gst/gststructure.c (gst_structure_set_valist): Implement with
10010         the generic G_VALUE_COLLECT.
10011         
10012 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10013
10014         * gst/Makefile.am: (gst_headers):
10015         Added gstqueryutils.h to the list of headers to install, that was
10016         a 'nachty' move wingo :)
10017
10018 2005-05-06  Andy Wingo  <wingo@pobox.com>
10019
10020         * gst/gstquery.h
10021         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10022         GstData, init a memchunk.
10023         (standard_definitions): Add a few query types, deprecate a few.
10024         (gst_query_get_type): New proc.
10025         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10026         implementation.
10027         (gst_query_new_application, gst_query_get_structure): New public
10028         procs.
10029
10030         * docs/design/draft-query.txt: Removed LINKS from the query types,
10031         because all the rest can be dispatched to other pads -- seemed
10032         ugly to have a query that couldn't be dispatched. internal_links
10033         is fine as a pad method.
10034
10035         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10036         in gstpad.c, but maintain binary compatibility for the moment.
10037         Will fix before 0.9 is out.
10038
10039         * gst/gstqueryutils.c: 
10040         * gst/gstqueryutils.h: New files, implement 3 methods for each
10041         query type: parse_query, parse_response, and set. Probably need an
10042         allocator as well.
10043
10044         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10045
10046         * gst/elements/gstfilesink.c (gst_filesink_query2):
10047         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10048         query_types, and formats methods.
10049
10050         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10051         (gst_pad_set_query2_function): New functions.
10052         (gst_real_pad_init): Set query2_default as the default query2
10053         function. Basically just dispatches to internally linked pads.
10054
10055         Needs review!
10056         
10057         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10058         without using the atomic operations. Only one thread can possibly
10059         be accessing the data at this point. Changed so as to avoid
10060         gst_atomic operations.
10061
10062 2005-05-06  Wim Taymans  <wim@fluendo.com>
10063
10064         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10065         Also set caps if we use the fallback buffer alloc.
10066
10067 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10068
10069         * docs/gst/Makefile.am:
10070         * docs/gst/gstreamer-docs.sgml:
10071         * docs/gst/gstreamer-sections.txt:
10072         * docs/gst/tmpl/gstatomic.sgml:
10073         * docs/gst/tmpl/gstmemchunk.sgml:
10074         * testsuite/elements/struct_i386.h:
10075         * win32/GStreamer.vcproj:
10076         * win32/Makefile:
10077           Purge GstAtomic stuff from docs and win32 makefiles as well
10078
10079 2005-05-06  Wim Taymans  <wim@fluendo.com>
10080
10081         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10082         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10083         * gst/gstpad.c: (gst_pad_peer_get_caps):
10084         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10085         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10086         (gst_queue_src_activate), (gst_queue_change_state):
10087         * gst/gstqueue.h:
10088         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10089         (intersect_caps_func):
10090         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10091         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10092         Some fixes for the peer_get_caps() change.
10093
10094 2005-05-06  Wim Taymans  <wim@fluendo.com>
10095
10096         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10097         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10098         (gst_basesink_activate):
10099         Actually do something with error codes returned from the push
10100         functions.
10101
10102 2005-05-06  Wim Taymans  <wim@fluendo.com>
10103
10104         * docs/design/part-element-sink.txt:
10105         * docs/design/part-element-source.txt:
10106         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10107         (gst_basesink_event), (gst_basesink_activate):
10108         * gst/base/gstbasesink.h:
10109         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10110         (gst_basesrc_activate):
10111         * gst/base/gstbasesrc.h:
10112         * gst/gstelement.c: (gst_element_pads_activate):
10113         Some more documentation.
10114         Fixed scheduling decision in _pads_activate().
10115
10116 2005-05-05  Andy Wingo  <wingo@pobox.com>
10117
10118         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10119         the test suite.
10120
10121 2005-05-05  Wim Taymans  <wim@fluendo.com>
10122
10123         * gst/base/Makefile.am:
10124         * gst/base/gstbasesink.h:
10125         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10126         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10127         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10128         (gst_collectpads_class_init), (gst_collectpads_init),
10129         (gst_collectpads_finalize), (gst_collectpads_new),
10130         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10131         (find_pad), (gst_collectpads_remove_pad),
10132         (gst_collectpads_is_active), (gst_collectpads_collect),
10133         (gst_collectpads_collect_range), (gst_collectpads_start),
10134         (gst_collectpads_stop), (gst_collectpads_peek),
10135         (gst_collectpads_pop), (gst_collectpads_available),
10136         (gst_collectpads_read), (gst_collectpads_flush),
10137         (gst_collectpads_chain):
10138         * gst/base/gstcollectpads.h:
10139         * gst/elements/Makefile.am:
10140         * gst/elements/gstelements.c:
10141         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10142         (gst_fakesink_get_times), (gst_fakesink_event),
10143         (gst_fakesink_preroll), (gst_fakesink_render):
10144         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10145         (gst_filesink_init), (gst_filesink_set_location),
10146         (gst_filesink_open_file), (gst_filesink_close_file),
10147         (gst_filesink_pad_query), (gst_filesink_event),
10148         (gst_filesink_render), (gst_filesink_change_state):
10149         * gst/elements/gstfilesink.h:
10150         Added object to help in making collect pad based elements.
10151         Ported filesink.
10152         Make event function in sink baseclass return gboolean.
10153
10154 2005-05-05  Wim Taymans  <wim@fluendo.com>
10155
10156         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10157         (gst_bin_get_by_name):
10158         * gst/gstbuffer.h:
10159         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10160         (gst_clock_finalize):
10161         * gst/gstdata.c: (gst_data_replace):
10162         * gst/gstdata.h:
10163         * gst/gstelement.c: (gst_element_request_pad),
10164         (gst_element_pads_activate):
10165         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10166         (gst_object_unref):
10167         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10168         (gst_pad_set_checkgetrange_function),
10169         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10170         (gst_pad_check_pull_range), (gst_pad_pull_range),
10171         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10172         (gst_pad_pause_task), (gst_pad_stop_task):
10173         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10174         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10175         Fix name lookup in GstBin.
10176         Added _data_replace() function and _buffer_replace()
10177         Use finalize method to clean up clock.
10178         Fix refcounting on request pads.
10179         Fix pad schedule mode error.
10180         Some more object refcounting debug info,
10181
10182
10183 2005-05-04  Andy Wingo <wingo@pobox.com>
10184
10185         * check/Makefile.am:
10186         * docs/gst/tmpl/gstatomic.sgml:
10187         * docs/gst/tmpl/gstplugin.sgml:
10188         * gst/base/gstbasesink.c: (gst_basesink_activate):
10189         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10190         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10191         (gst_basesrc_query), (gst_basesrc_set_property),
10192         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10193         (gst_basesrc_activate):
10194         * gst/base/gstbasesrc.h:
10195         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10196         (gst_base_transform_src_activate):
10197         * gst/elements/gstelements.c:
10198         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10199         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10200         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10201         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10202         (gst_type_find_element_checkgetrange),
10203         (gst_type_find_element_activate):
10204         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10205         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10206         (gst_caps_load_thyself):
10207         * gst/gstelement.c: (gst_element_pads_activate),
10208         (gst_element_save_thyself), (gst_element_restore_thyself):
10209         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10210         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10211         * gst/gstpad.h:
10212         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10213         (gst_xml_parse_file), (gst_xml_parse_memory),
10214         (gst_xml_get_element), (gst_xml_make_element):
10215         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10216         (_file_index_id_save_xml), (gst_file_index_commit):
10217         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10218         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10219         (load_paths):
10220         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10221         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10222         * tools/gst-complete.c: (main):
10223         * tools/gst-compprep.c: (main):
10224         * tools/gst-inspect.c: (print_element_properties_info):
10225         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10226         * tools/gst-xmlinspect.c: (print_element_properties):
10227         GCC 4 fixen.
10228         
10229 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10230
10231         * gst/gstplugin.c: (gst_plugin_check_module),
10232         (gst_plugin_check_file), (gst_plugin_load_file):
10233             apply patch from #172526 to make register work on MacOSX
10234
10235 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10236
10237         * docs/gst/tmpl/gstconfig.sgml:
10238         * gst/gstconfig.h.in:
10239           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10240         * testsuite/debug/printf_extension.c: (main):
10241           Do not use GST_PTR_FORMAT on pointers to types with
10242           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10243         * testsuite/elements/property.h:
10244           use correct printf format
10245
10246 2005-05-02  Wim Taymans  <wim@fluendo.com>
10247
10248         * docs/design/draft-push-pull.txt:
10249         * docs/design/draft-query.txt:
10250         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10251         (gst_basesrc_start):
10252         Added draft for new query API.
10253         Added draft for better selecting scheduling methods.
10254         Make basesrc ignore length if the subclass does not support
10255         it.
10256
10257 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10258
10259         * gst/Makefile.am:
10260           possible fixes for automake-1.5 - _LIBADD is reserved
10261
10262 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10263
10264         * docs/faq/Makefile.am:
10265         * docs/manual/Makefile.am:
10266         * docs/manuals.mak:
10267         * docs/pwg/Makefile.am:
10268         * gst/Makefile.am:
10269           possible fixes for automake-1.5
10270
10271 2005-04-28  Wim Taymans  <wim@fluendo.com>
10272
10273         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10274         (gst_basesink_pad_getcaps), (gst_basesink_init),
10275         (gst_basesink_do_sync):
10276         * gst/gstclock.c: (gst_clock_entry_new):
10277         * gst/gstevent.c: (gst_event_discont_get_value):
10278         * gst/gstpipeline.c: (pipeline_bus_handler),
10279         (gst_pipeline_change_state):
10280         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10281         Better debugging of clocking info.
10282         Allow NULL values when getting discont values.
10283
10284 2005-04-27  Wim Taymans  <wim@fluendo.com>
10285
10286         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10287         * check/gst/gstpad.c: (gst_pad_suite):
10288         Increase timeout for checks.
10289
10290 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10291
10292         * check/Makefile.am:
10293           fix the broken rule for cleanup.  Apparently this rule is
10294           only needed on FC2, so maybe this warrants further autotool
10295           inspection.
10296
10297 2005-04-26  Wim Taymans  <wim@fluendo.com>
10298
10299         * gst/gsttrashstack.h:
10300         Ooohh. a nasty one! After having a failed pop() from the stack,
10301         it's possible that the stack is empty. In that case, don't
10302         follow the NULL pointer.
10303
10304 2005-04-25  Wim Taymans  <wim@fluendo.com>
10305
10306         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10307         (gst_pad_set_checkgetrange_function),
10308         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
10309         (gst_pad_check_pull_range), (gst_pad_pull_range),
10310         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10311         (gst_pad_pause_task), (gst_pad_stop_task):
10312         * gst/gstplugin.c: (gst_plugin_load):
10313         * gst/gstplugin.h:
10314         Remove gst_library_load as it does more harm than good with
10315         the new g_module flags.
10316         Revert bogus caps template check in pad linking, pad caps
10317         are important when linking not the template, which is more
10318         general than the current caps.
10319
10320 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10321
10322         * gst/autoplug/.cvsignore:
10323         * gst/autoplug/Makefile.am:
10324         * gst/autoplug/gstsearchfuncs.c:
10325         * gst/autoplug/gstsearchfuncs.h:
10326         * gst/autoplug/gstspider.c:
10327         * gst/autoplug/gstspider.h:
10328         * gst/autoplug/gstspideridentity.c:
10329         * gst/autoplug/gstspideridentity.h:
10330         * gst/autoplug/spidertest.c:
10331           Die, spider, die.
10332
10333 2005-04-25  Wim Taymans  <wim@fluendo.com>
10334
10335         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10336         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10337         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
10338         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
10339         * gst/gstpad.h:
10340         Added stubs for unimplemented functions. 
10341
10342 2005-04-24  David Schleef  <ds@schleef.org>
10343
10344         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
10345         please fix.
10346
10347 2005-04-24  David Schleef  <ds@schleef.org>
10348
10349         Convert everything from GstAtomicInt to g_atomic_int_*, and
10350         remove gstatomic.
10351         * gst/Makefile.am:
10352         * gst/gstatomic.c:
10353         * gst/gstatomic.h:
10354         * gst/gstatomic_impl.h:
10355         * gst/gstbuffer.c:
10356         * gst/gstcaps.c:
10357         * gst/gstcaps.h:
10358         * gst/gstclock.c:
10359         * gst/gstclock.h:
10360         * gst/gstdata.c:
10361         * gst/gstdata.h:
10362         * gst/gstdata_private.h:
10363         * gst/gstevent.c:
10364         * gst/gstinfo.c:
10365         * gst/gstinfo.h:
10366         * gst/gstmessage.c:
10367         * gst/gstobject.c:
10368         * gst/gstobject.h:
10369         * gst/gststructure.c:
10370         * gst/gststructure.h:
10371         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
10372         * gst/gstutils.h:
10373
10374 2005-04-24  David Schleef  <ds@schleef.org>
10375
10376         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
10377         make the regressions tests work.  Remove some code that is no
10378         longer true.
10379         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
10380         Disable warning for pads without templates.
10381
10382 2005-04-24  David Schleef  <ds@schleef.org>
10383
10384         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
10385         functions that handle filtered links.
10386         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
10387         removed functions.
10388         * gst/gstutils.c: Fix/remove utility functions that handle
10389         filtered caps.
10390         * gst/gstutils.h:
10391         * gst/gstvalue.c: Add serialization/deserialization of caps
10392         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
10393         requires fixing so that the filter caps notation creates
10394         a capsfilter element and sets the filter_caps property.  I
10395         think everyone probably wants to keep the shorthand notation.
10396         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
10397         * docs/gst/tmpl/gstpad.sgml:
10398
10399         * gst/elements/gstelements.c: Register capsfilter element.
10400         * gst/Makefile.am: fix spacing
10401         * docs/random/ds/0.9-suggested-changes: random
10402
10403 2005-04-23  David Schleef  <ds@schleef.org>
10404
10405         * gst/elements/Makefile.am:
10406         * gst/elements/gstcapsfilter.c: New element that acts like an
10407         identity, but filters caps.  Will eventually replace filtered
10408         caps in pad linking.
10409         * gst/gstutils.c: (gst_element_create_all_pads): New function
10410         to create all the ALWAYS pads that are registered with an
10411         element class.  This functionality should eventually be
10412         merged in with GstElement initialization.
10413         * gst/gstutils.h:
10414         * testsuite/trigger/README: part of trigger test code that should
10415         have been checked in a long time ago.
10416
10417 2005-04-23  David Schleef  <ds@schleef.org>
10418
10419         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
10420         needed with new versions of libtool (nobody will confirm this),
10421         and hard to carry around.
10422         * gst/autoplug/Makefile.am:
10423         * gst/base/Makefile.am:
10424         * gst/elements/Makefile.am:
10425         * gst/indexers/Makefile.am:
10426         * gst/schedulers/Makefile.am:
10427         * libs/gst/bytestream/Makefile.am:
10428         * libs/gst/control/Makefile.am:
10429         * libs/gst/dataprotocol/Makefile.am:
10430         * libs/gst/getbits/Makefile.am:
10431
10432 2005-04-21  Wim Taymans  <wim@fluendo.com>
10433
10434         * docs/design/draft-push-pull.txt:
10435         * docs/design/part-MT-refcounting.txt:
10436         * docs/design/part-TODO.txt:
10437         * docs/design/part-caps.txt:
10438         * docs/design/part-events.txt:
10439         * docs/design/part-gstbus.txt:
10440         * docs/design/part-gstpipeline.txt:
10441         * docs/design/part-messages.txt:
10442         * docs/design/part-push-pull.txt:
10443         * docs/design/part-query.txt:
10444         Some more docs.
10445
10446 2005-04-21  Wim Taymans  <wim@fluendo.com>
10447
10448         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
10449         (gst_message_new), (gst_message_new_error),
10450         (gst_message_new_warning), (gst_message_new_tag),
10451         (gst_message_new_state_changed), (gst_message_new_application),
10452         (gst_message_get_structure):
10453         * gst/gstmessage.h:
10454         * gst/gststructure.c: (gst_structure_set_parent_refcount),
10455         (gst_structure_copy_conditional):
10456         Use parent refcount in GstMessage to ensure GstStructure
10457         consistency.
10458         Cleaned up headers a bit.
10459         
10460
10461 2005-04-20  Wim Taymans  <wim@fluendo.com>
10462
10463         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10464         (gst_basesink_pad_getcaps), (gst_basesink_init),
10465         (gst_basesink_chain_unlocked):
10466         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
10467         (gst_type_find_helper):
10468         * gst/elements/gsttypefindelement.c:
10469         (gst_type_find_element_have_type), (gst_type_find_element_init),
10470         (stop_typefinding), (gst_type_find_element_handle_event),
10471         (find_suggest), (gst_type_find_element_chain),
10472         (gst_type_find_element_checkgetrange),
10473         (gst_type_find_element_getrange), (do_typefind),
10474         (gst_type_find_element_activate):
10475         * gst/gstbuffer.c: (_gst_buffer_sub_free),
10476         (gst_buffer_default_free), (gst_buffer_default_copy),
10477         (gst_buffer_set_caps):
10478         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10479         (gst_caps_replace):
10480         * gst/gstmessage.c: (gst_message_new),
10481         (gst_message_new_state_changed):
10482         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10483         (gst_pad_set_checkgetrange_function),
10484         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10485         (gst_pad_set_caps), (gst_pad_check_pull_range),
10486         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10487         * gst/gstpad.h:
10488         * gst/gsttypefind.c: (gst_type_find_register):
10489         Make gst_caps_replace() work like other _replace() functions.
10490         Use _caps_replace() where possible.
10491         Make sure _message_new() initialises its field.
10492         Add gst_static_pad_template_get_caps()
10493
10494
10495 2005-04-18  Andy Wingo  <wingo@pobox.com>
10496
10497         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10498         on the peer, not the pad. I think that was a typo. Pass an extra
10499         arg to see if random access is possible. Activate the pads as
10500         PULL_RANGE if possible.
10501
10502         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10503
10504         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
10505         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10506         to PROP_....
10507
10508 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10509
10510         * docs/faq/using.xml:
10511           Add note on gstreamer-properties (#154996).
10512
10513 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10514
10515         * docs/random/bbb/optional-properties:
10516           Some analysis on optional properties.
10517
10518 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10519
10520         * docs/gst/tmpl/gstelementfactory.sgml:
10521         * gst/gstelement.h:
10522         * gst/gstelementfactory.c: (gst_element_factory_init),
10523         (gst_element_factory_cleanup), (gst_element_register),
10524         (__gst_element_factory_add_static_pad_template),
10525         (gst_element_factory_get_static_pad_templates),
10526         (gst_element_factory_can_src_caps),
10527         (gst_element_factory_can_sink_caps):
10528         * gst/registries/Makefile.am:
10529         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10530         (gst_xml_registry_class_init), (gst_xml_registry_init),
10531         (gst_xml_registry_new), (gst_xml_registry_set_property),
10532         (gst_xml_registry_get_property), (get_time), (make_dir),
10533         (gst_xml_registry_get_perms_func),
10534         (plugin_times_older_than_recurse), (plugin_times_older_than),
10535         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10536         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10537         (add_to_char_array), (read_string), (read_uint), (read_enum),
10538         (load_pad_template), (load_feature), (load_plugin), (load_paths),
10539         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10540         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10541         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10542         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10543         (gst_xml_registry_rebuild):
10544         * gst/registries/gstlibxmlregistry.h:
10545         * tools/gst-compprep.c: (main):
10546         * tools/gst-inspect.c: (print_pad_templates_info):
10547         * tools/gst-xmlinspect.c: (print_element_info):
10548           Use libxml2 for registry parsing, use staticpadtemplates in
10549           elementfactories. Makes gst_init() +/- 10x faster.
10550
10551 2005-04-12  Wim Taymans  <wim@fluendo.com>
10552
10553         * gst/base/Makefile.am:
10554         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10555         (gst_basesink_pad_getcaps), (gst_basesink_init),
10556         (gst_basesink_event), (gst_basesink_change_state):
10557         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10558         (gst_basesrc_init), (gst_basesrc_query),
10559         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10560         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10561         (gst_basesrc_check_get_range), (gst_basesrc_loop),
10562         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10563         (gst_basesrc_stop), (gst_basesrc_activate),
10564         (gst_basesrc_change_state):
10565         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10566         (helper_find_suggest), (gst_type_find_helper):
10567         * gst/base/gsttypefindhelper.h:
10568         * gst/elements/Makefile.am:
10569         * gst/elements/gstelements.c:
10570         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10571         (gst_fakesink_get_times), (gst_fakesink_event),
10572         (gst_fakesink_preroll), (gst_fakesink_render):
10573         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10574         (gst_fakesrc_init), (gst_fakesrc_event_handler),
10575         (gst_fakesrc_get_property), (gst_fakesrc_create),
10576         (gst_fakesrc_start), (gst_fakesrc_stop):
10577         * gst/elements/gstfakesrc.h:
10578         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10579         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10580         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10581         (gst_filesrc_create_read), (gst_filesrc_create),
10582         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10583         (gst_filesrc_start):
10584         * gst/elements/gsttypefindelement.c:
10585         (gst_type_find_element_have_type), (gst_type_find_element_init),
10586         (start_typefinding), (stop_typefinding), (push_buffer_store),
10587         (gst_type_find_element_handle_event),
10588         (gst_type_find_element_chain),
10589         (gst_type_find_element_checkgetrange),
10590         (gst_type_find_element_getrange), (do_typefind),
10591         (gst_type_find_element_activate),
10592         (gst_type_find_element_change_state):
10593         * gst/elements/gsttypefindelement.h:
10594         * gst/gstpipeline.c: (pipeline_bus_handler):
10595         Added typefind helper.
10596         Small preroll fix in the base sink.
10597         Disable typefind code in basesrc.
10598         Crude port of typefindelement.
10599         Fakesrc cleanups.
10600
10601
10602 2005-04-11  Wim Taymans  <wim@fluendo.com>
10603
10604         * check/gst/gstbus.c: (gstbus_suite):
10605         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10606         * check/gstcheck.h:
10607           Fix up the timeout so that the test does not fail.
10608
10609 2005-04-06  Wim Taymans  <wim@fluendo.com>
10610
10611         * gst/base/README:
10612         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10613         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10614         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10615         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10616         (gst_basesrc_check_get_range), (gst_basesrc_loop),
10617         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10618         (gst_basesrc_stop), (gst_basesrc_activate),
10619         (gst_basesrc_change_state), (basesrc_find_peek),
10620         (basesrc_find_suggest), (gst_basesrc_type_find):
10621         * gst/base/gstbasesrc.h:
10622         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10623         (gst_filesrc_class_init), (gst_filesrc_init),
10624         (gst_filesrc_finalize), (gst_filesrc_set_location),
10625         (gst_filesrc_set_property), (gst_filesrc_get_property),
10626         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10627         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10628         (gst_filesrc_create_read), (gst_filesrc_create),
10629         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10630         * gst/elements/gstfilesrc.h:
10631         * gst/gstelement.c: (gst_element_get_state_func),
10632         (gst_element_lost_state), (gst_element_pads_activate):
10633         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10634         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10635         (gst_pad_pull_range):
10636         * gst/gstpad.h:
10637         More work on the generic source base class, implement seeking,
10638         query.
10639         Make filesrc extend the base source class.
10640         Added gst_pad_set_checkgetrange_function to GstPad.
10641
10642 2005-04-06  Andy Wingo  <wingo@pobox.com>
10643
10644         * pkgconfig/gstreamer-base.pc.in:
10645         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10646
10647         * pkgconfig/Makefile.am:
10648         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10649
10650 2005-04-04  Wim Taymans  <wim@fluendo.com>
10651
10652         * gst/base/Makefile.am:
10653         * gst/base/README:
10654         * gst/base/gstbasesink.c: (gst_basesink_base_init),
10655         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10656         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10657         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10658         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10659         (gst_basesrc_base_init), (gst_basesrc_class_init),
10660         (gst_basesrc_init), (gst_basesrc_get_formats),
10661         (gst_basesrc_get_query_types), (gst_basesrc_query),
10662         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10663         (gst_basesrc_set_property), (gst_basesrc_get_property),
10664         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10665         (gst_basesrc_loop), (gst_basesrc_activate),
10666         (gst_basesrc_change_state):
10667         * gst/base/gstbasesrc.h:
10668         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10669         (gst_fakesrc_class_init), (gst_fakesrc_init),
10670         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10671         (gst_fakesrc_get_property), (gst_fakesrc_create):
10672         * gst/elements/gstfakesrc.h:
10673         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10674         (gst_filesrc_open_file), (gst_filesrc_loop),
10675         (gst_filesrc_activate), (filesrc_find_peek),
10676         (gst_filesrc_type_find):
10677         Made base source class, make fakesrc extend it.
10678         Add comments to basesink class.
10679         Some filesrc cleanup.
10680
10681 2005-03-31  David Schleef  <ds@schleef.org>
10682
10683         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10684         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10685         expected to link against libgstreamer.
10686         * gst/base/Makefile.am: link against libgstreamer
10687         * gst/elements/Makefile.am: same
10688
10689 2005-03-31  Andy Wingo  <wingo@pobox.com>
10690
10691         * tests/instantiate/Makefile.am:
10692         * tests/instantiate/caps.c: Add test to test speed of caps copy
10693         and free.
10694
10695         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10696         GMemChunk to be fair.
10697
10698         * gst/gsttrashstack.h: Remove warning about using the fallback
10699         trash stack implementation, it's still faster than malloc.
10700
10701 2005-03-30  Andy Wingo  <wingo@pobox.com>
10702
10703         * tests/complexity.c: Add a copyright.
10704
10705 2005-03-31  Wim Taymans  <wim@fluendo.com>
10706
10707         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10708         (gst_base_transform_class_init), (gst_base_transform_init),
10709         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10710         (gst_base_transform_get_property),
10711         (gst_base_transform_sink_activate),
10712         (gst_base_transform_src_activate),
10713         (gst_base_transform_change_state):
10714         * gst/base/gstbasetransform.h:
10715         * gst/elements/gstidentity.c: (gst_identity_class_init),
10716         (gst_identity_event), (gst_identity_check_perfect),
10717         (gst_identity_transform), (gst_identity_start),
10718         (gst_identity_stop):
10719         Added start/stop methods to transform base class so subclasses 
10720         don't need to deal with state changes even.
10721
10722 2005-03-31  Wim Taymans  <wim@fluendo.com>
10723
10724         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10725         (gst_event_new_discontinuous), (gst_event_discont_get_value):
10726         * gst/gstevent.h:
10727         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10728         (gst_pad_pull_range):
10729         Added rate to the discont event to prepare for variable speed
10730         and reverse playback.
10731
10732 2005-03-29  David Schleef  <ds@schleef.org>
10733
10734         * configure.ac:
10735         * testsuite/trigger/Makefile.am:
10736         * testsuite/trigger/trigger.c: A little example program to show
10737         how trigger-based elements can work.
10738
10739 2005-03-29  Wim Taymans  <wim@fluendo.com>
10740
10741         * gst/base/Makefile.am:
10742         * gst/base/README:
10743         * gst/base/gstbasesink.c: (gst_basesink_get_type),
10744         (gst_basesink_base_init), (gst_basesink_class_init),
10745         (gst_basesink_pad_getcaps), (gst_basesink_init),
10746         (gst_basesink_activate), (gst_basesink_change_state):
10747         * gst/base/gstbasesink.h:
10748         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10749         (gst_base_transform_base_init), (gst_base_transform_finalize),
10750         (gst_base_transform_class_init), (gst_base_transform_init),
10751         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10752         (gst_base_transform_event), (gst_base_transform_getrange),
10753         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10754         (gst_base_transform_set_property),
10755         (gst_base_transform_get_property),
10756         (gst_base_transform_sink_activate),
10757         (gst_base_transform_src_activate),
10758         (gst_base_transform_change_state):
10759         * gst/base/gstbasetransform.h:
10760         * gst/elements/gstidentity.c: (gst_identity_finalize),
10761         (gst_identity_class_init), (gst_identity_init),
10762         (gst_identity_event), (gst_identity_check_perfect),
10763         (gst_identity_transform), (gst_identity_set_property),
10764         (gst_identity_get_property), (gst_identity_change_state):
10765         * gst/elements/gstidentity.h:
10766         * gst/gstelement.c: (gst_element_get_state_func),
10767         (gst_element_lost_state), (gst_element_pads_activate):
10768         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10769         (gst_pad_check_pull_range), (gst_pad_pull_range):
10770         * gst/gstpad.h:
10771         Simplify pad activation.
10772         Added function to check if pull_range can be performed.
10773         Error out when pulling inactive or flushing pads.
10774         Removed const from refcounted types as it does not make sense.
10775         Simplify pad templates in basesink
10776         Added base class for simple 1-to-1 transforms.
10777         Make identity subclass the base transform.
10778
10779 2005-03-29  Andy Wingo  <wingo@pobox.com>
10780
10781         * docs/libs/gstreamer-libs-overrides.txt: 
10782         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10783         really don't understand what's going on, but like whatever. I want
10784         green buildbot!
10785
10786         * docs/gst/Makefile.am:
10787         * docs/libs/Makefile.am: Dist the overrides files.
10788
10789         * check/Makefile.am (clean-local): Remove .libs directories.
10790
10791         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10792         elements to EXTRA_DIST, so po/ files are happy.
10793
10794         * po/POTFILES.in: Er, remove it here.
10795
10796         * po/POTFILES: Remove gstspider.c.
10797
10798         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10799
10800         * docs/libs/gstreamer-libs-docs.sgml: 
10801         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10802         bytestream.
10803
10804         * tests/complexity.c (main): Set the length of the preroll queue
10805         on the sinks to prevent a lockup.
10806
10807         * libs/gst/dataprotocol/Makefile.am: 
10808         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10809         the same as the one in check/gst-libs/gdp.c.
10810
10811         * po/, docs/gst/: Commit automatic changes to docs and po files.
10812
10813         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10814         the versioned libgstbase.
10815
10816         * check/Makefile.am: Depend on an unversioned gst-register, seems
10817         to make autoconf happier.
10818
10819         * gst/base/Makefile.am: Make libgstbase a versioned lib.
10820
10821 2005-03-28  Wim Taymans  <wim@fluendo.com>
10822
10823         * configure.ac:
10824         * docs/design/part-gstelement.txt:
10825         * docs/design/part-negotiation.txt:
10826         * docs/design/part-preroll.txt:
10827         * docs/design/part-scheduling.txt:
10828         * docs/design/part-states.txt:
10829         * gst/Makefile.am:
10830         * gst/base/Makefile.am:
10831         * gst/base/README:
10832         * gst/base/gstbasesink.c: (gst_basesink_get_template),
10833         (gst_basesink_base_init), (gst_basesink_class_init),
10834         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10835         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10836         (gst_basesink_set_pad_functions),
10837         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10838         (gst_basesink_set_property), (gst_basesink_get_property),
10839         (gst_base_sink_get_template), (gst_base_sink_get_caps),
10840         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10841         (gst_basesink_preroll_queue_push),
10842         (gst_basesink_preroll_queue_empty),
10843         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10844         (gst_basesink_event), (gst_basesink_get_times),
10845         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10846         (gst_basesink_chain_unlocked), (gst_basesink_chain),
10847         (gst_basesink_loop), (gst_basesink_activate),
10848         (gst_basesink_change_state):
10849         * gst/base/gstbasesink.h:
10850         * gst/elements/Makefile.am:
10851         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10852         (gst_fakesink_class_init), (gst_fakesink_init),
10853         (gst_fakesink_set_property), (gst_fakesink_get_property),
10854         (gst_fakesink_get_times), (gst_fakesink_event),
10855         (gst_fakesink_preroll), (gst_fakesink_render),
10856         (gst_fakesink_change_state):
10857         * gst/elements/gstfakesink.h:
10858         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10859         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10860         * gst/gstelement.c: (gst_element_add_pad),
10861         (gst_element_get_state_func), (gst_element_abort_state),
10862         (gst_element_commit_state), (gst_element_lost_state),
10863         (gst_element_set_state), (gst_element_pads_activate):
10864         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10865         * gst/gstpipeline.c: (gst_pipeline_send_event),
10866         (gst_pipeline_change_state):
10867         Added state change code.
10868         Added/updated docs.
10869         Added sink base class, make fakesink extend the base class.
10870         Small cleanups in GstPipeline.
10871
10872 2005-03-26  David Schleef  <ds@schleef.org>
10873
10874         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
10875         is broken and should be implemented in a different library.
10876         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10877         * gst/gst.h: remove gstcpu.h
10878         * gst/gstcpu.c: remove
10879         * gst/gstcpu.h: remove
10880         * gst/Makefile.am.future: Remove this file.  It's ancient.
10881
10882 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10883
10884         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10885         (gst_bin_send_event):
10886           Add default event/set_manager handlers. The set_manager handler
10887           takes care that the manager is distributed over kids that were
10888           already in the bin before the manager was set. The event handler
10889           is a utility virtual function that sends the event over all sinks,
10890           so that gst_element_send_event (bin, event); has the expected
10891           behaviour.
10892         * gst/gstpad.c: (gst_pad_event_default):
10893           Re-install default event handling for discontinuities, so that
10894           seeking works without requiring hacks in applications or extra
10895           code in sinks.
10896         * gst/gstpipeline.c: (gst_pipeline_class_init),
10897         (gst_pipeline_send_event):
10898           Half hack, half utility: set a pipeline to PAUSED for seek events,
10899           since that is the only way we can guarantee a/v sync. Means that
10900           you can do gst_element_seek (pipeline, method, pos); on a pipeline
10901           and it "just works".
10902
10903 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10904
10905         * gst/gstpipeline.c: (gst_pipeline_use_clock):
10906           Lock/unlock mismatch.
10907
10908 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
10909
10910         * docs/faq/gst-uninstalled:
10911           add gst-plugins-base
10912         * docs/gst/Makefile.am:
10913           don't error out until docs are fixed
10914         * docs/gst/gstreamer.types:
10915           remove thread
10916
10917 2005-03-22  Wim Taymans  <wim@fluendo.com>
10918
10919         * check/Makefile.am:
10920         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10921         * gst/gststructure.c: (gst_structure_set_valist),
10922         (gst_structure_copy_conditional):
10923         Activated more tests.
10924         Added message test.
10925         Added G_TYPE_POINTER to GstStructure.
10926         
10927
10928 2005-03-22  Wim Taymans  <wim@fluendo.com>
10929
10930         * docs/design/part-TODO.txt:
10931         * docs/design/part-events.txt:
10932         * docs/design/part-gstbin.txt:
10933         * docs/design/part-gstbus.txt:
10934         * docs/design/part-gstpipeline.txt:
10935         * docs/design/part-messages.txt:
10936         * gst/gstbus.c:
10937         * gst/gstmessage.c:
10938         Docs updates
10939
10940 2005-03-21  Wim Taymans  <wim@fluendo.com>
10941
10942         * gst/gstbus.c: (gst_bus_post):
10943         Fix copy-and-paste error.
10944
10945 2005-03-21  Wim Taymans  <wim@fluendo.com>
10946
10947         * check/Makefile.am:
10948         * gst/Makefile.am:
10949         * gst/elements/Makefile.am:
10950         * gst/elements/gstelements.c:
10951         * gst/elements/gstfakesink.c: (gst_fakesink_init),
10952         (gst_fakesink_event), (gst_fakesink_chain):
10953         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10954         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10955         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10956         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10957         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10958         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10959         (gst_fakesrc_loop), (gst_fakesrc_activate),
10960         (gst_fakesrc_change_state):
10961         * gst/elements/gstfakesrc.h:
10962         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10963         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10964         (gst_filesrc_open_file), (gst_filesrc_loop),
10965         (gst_filesrc_activate), (gst_filesrc_change_state),
10966         (filesrc_find_peek), (filesrc_find_suggest),
10967         (gst_filesrc_type_find):
10968         * gst/elements/gstidentity.c: (gst_identity_finalize),
10969         (gst_identity_class_init), (gst_identity_init),
10970         (gst_identity_proxy_getcaps), (identity_queue_push),
10971         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10972         (gst_identity_getrange), (gst_identity_chain),
10973         (gst_identity_sink_loop), (gst_identity_src_loop),
10974         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10975         (gst_identity_set_property), (gst_identity_get_property),
10976         (gst_identity_change_state):
10977         * gst/elements/gstidentity.h:
10978         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10979         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10980         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10981         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10982         (gst_tee_sink_activate):
10983         * gst/elements/gsttee.h:
10984         * gst/gst.c: (gst_register_core_elements), (init_post):
10985         * gst/gst.h:
10986         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10987         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10988         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10989         (gst_bin_change_state):
10990         * gst/gstbin.h:
10991         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10992         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10993         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10994         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10995         (gst_bus_set_sync_handler), (gst_bus_create_watch),
10996         (bus_watch_callback), (bus_watch_destroy),
10997         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10998         (poll_timeout), (gst_bus_poll):
10999         * gst/gstbus.h:
11000         * gst/gstcaps.h:
11001         * gst/gstdata.h:
11002         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11003         (gst_element_post_message), (gst_element_message_full),
11004         (gst_element_get_state_func), (gst_element_get_state),
11005         (gst_element_abort_state), (gst_element_commit_state),
11006         (gst_element_lost_state), (gst_element_set_state),
11007         (gst_element_pads_activate), (gst_element_change_state),
11008         (gst_element_dispose), (gst_element_set_manager_func),
11009         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11010         (gst_element_set_manager), (gst_element_get_manager),
11011         (gst_element_set_bus), (gst_element_get_bus),
11012         (gst_element_set_scheduler), (gst_element_get_scheduler):
11013         * gst/gstelement.h:
11014         * gst/gstevent.c: (gst_event_new_segment_seek),
11015         (gst_event_new_flush):
11016         * gst/gstevent.h:
11017         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11018         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11019         (gst_message_new_eos), (gst_message_new_error),
11020         (gst_message_new_warning), (gst_message_new_tag),
11021         (gst_message_new_state_changed), (gst_message_new_application),
11022         (gst_message_get_structure), (gst_message_parse_tag),
11023         (gst_message_parse_state_changed), (gst_message_parse_error),
11024         (gst_message_parse_warning):
11025         * gst/gstmessage.h:
11026         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11027         (gst_real_pad_set_property), (gst_pad_set_active),
11028         (gst_pad_is_active), (gst_pad_set_blocked_async),
11029         (gst_pad_set_blocked), (gst_pad_is_blocked),
11030         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11031         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11032         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11033         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11034         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11035         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11036         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11037         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11038         (gst_pad_set_caps), (gst_pad_configure_sink),
11039         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11040         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11041         (gst_real_pad_dispose), (gst_real_pad_finalize),
11042         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11043         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11044         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11045         * gst/gstpad.h:
11046         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11047         (pipeline_bus_handler), (gst_pipeline_change_state),
11048         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11049         * gst/gstpipeline.h:
11050         * gst/gstprobe.h:
11051         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11052         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11053         (gst_queue_link_src), (gst_queue_bufferalloc),
11054         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11055         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11056         (gst_queue_loop), (gst_queue_handle_src_event),
11057         (gst_queue_handle_src_query), (gst_queue_src_activate),
11058         (gst_queue_change_state):
11059         * gst/gstqueue.h:
11060         * gst/gstscheduler.c: (gst_scheduler_init),
11061         (gst_scheduler_dispose), (gst_scheduler_create_task),
11062         (gst_scheduler_factory_create):
11063         * gst/gstscheduler.h:
11064         * gst/gststructure.c: (gst_structure_get_type),
11065         (gst_structure_copy_conditional):
11066         * gst/gststructure.h:
11067         * gst/gsttaginterface.h:
11068         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11069         (gst_task_init), (gst_task_dispose), (gst_task_create),
11070         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11071         (gst_task_pause):
11072         * gst/gsttask.h:
11073         * gst/gstthread.c:
11074         * gst/gstthread.h:
11075         * gst/gsttypes.h:
11076         * gst/schedulers/Makefile.am:
11077         * gst/schedulers/cothreads_compat.h:
11078         * gst/schedulers/entryscheduler.c:
11079         * gst/schedulers/faircothreads.c:
11080         * gst/schedulers/faircothreads.h:
11081         * gst/schedulers/fairscheduler.c:
11082         * gst/schedulers/gstbasicscheduler.c:
11083         * gst/schedulers/gstoptimalscheduler.c:
11084         * gst/schedulers/gthread-cothreads.h:
11085         * gst/schedulers/threadscheduler.c:
11086         (gst_thread_scheduler_task_get_type),
11087         (gst_thread_scheduler_task_class_init),
11088         (gst_thread_scheduler_task_init),
11089         (gst_thread_scheduler_task_start),
11090         (gst_thread_scheduler_task_stop),
11091         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11092         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11093         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11094         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11095         (plugin_init):
11096         * libs/gst/Makefile.am:
11097         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11098         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11099         (gst_file_pad_parent_set):
11100         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11101         (gst_dp_event_from_packet):
11102         * tests/complexity.c: (main):
11103         * tests/mass_elements.c: (main):
11104         * testsuite/states/locked.c: (message_received), (main):
11105         * testsuite/states/parent.c: (main):
11106         * tools/gst-inspect.c: (print_element_flag_info),
11107         (print_implementation_info), (print_pad_info):
11108         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11109         (main):
11110         * tools/gst-md5sum.c: (event_loop), (main):
11111         * tools/gst-typefind.c: (main):
11112         * tools/gst-xmlinspect.c: (print_element_info):
11113         Next big merge.
11114         Added GstBus for mainloop integration.
11115         Added GstMessage for sending notifications on the bus.
11116         Added GstTask as an abstraction for pipeline entry points.
11117         Removed GstThread.
11118         Removed Schedulers.
11119         Simplified GstQueue for multithreaded core.
11120         Made _link threadsafe, removed old capsnego.
11121         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11122         Added pad blocking functions.
11123         Reworked scheduling functions in GstPad to prepare for
11124         scheduling updates soon.
11125         Moved events out of data stream.
11126         Simplified GstEvent types.
11127         Added return values to push/pull.
11128         Removed clocking from GstElement.
11129         Added prototypes for state change function for next merge.
11130         Removed iterate from bins and state change management.
11131         Fixed some elements, disabled others for now.
11132         Fixed -inspect and -launch.
11133         Added check for GstBus.
11134
11135 2005-03-10  Wim Taymans  <wim@fluendo.com>
11136
11137         * docs/design/part-MT-refcounting.txt:
11138         * docs/design/part-clocks.txt:
11139         * docs/design/part-gstelement.txt:
11140         * docs/design/part-gstobject.txt:
11141         * docs/design/part-standards.txt:
11142         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11143         (gst_bin_remove_func), (gst_bin_remove):
11144         * gst/gstbin.h:
11145         * gst/gstbuffer.c:
11146         * gst/gstcaps.h:
11147         * testsuite/clock/clock1.c: (main):
11148         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11149         (main):
11150         * testsuite/dlopen/loadgst.c: (do_test):
11151         * testsuite/refcounting/bin.c: (add_remove_test1),
11152         (add_remove_test2), (main):
11153         * testsuite/refcounting/element.c: (main):
11154         * testsuite/refcounting/element_pad.c: (main):
11155         * testsuite/refcounting/pad.c: (main):
11156         * tools/gst-launch.c: (sigint_handler_sighandler):
11157         * tools/gst-typefind.c: (main):
11158         Doc updates.
11159         Added doc about clock.
11160         removed gst_bin_iterate_recurse_up(), marked methods
11161         for removal.
11162         Fix more testsuites.
11163
11164 2005-03-09  Wim Taymans  <wim@fluendo.com>
11165
11166         * gst/gstpad.c: (gst_pad_get_direction),
11167         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11168         (gst_pad_collect_valist):
11169         * testsuite/bins/interface.c: (main):
11170         * testsuite/caps/audioscale.c: (test_caps):
11171         * testsuite/caps/caps.c: (test1), (test2), (test3):
11172         * testsuite/caps/deserialize.c: (main):
11173         * testsuite/caps/enumcaps.c: (main):
11174         * testsuite/caps/filtercaps.c: (main):
11175         * testsuite/caps/intersect2.c: (main):
11176         * testsuite/caps/random.c: (main):
11177         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11178         * testsuite/caps/sets.c: (check_caps):
11179         * testsuite/caps/simplify.c: (check_caps), (main):
11180         * testsuite/caps/subtract.c: (check_caps):
11181         Fix _pad_get_direction wrt ghostpads.
11182         Fix caps testsuite.
11183
11184 2005-03-09  Wim Taymans  <wim@fluendo.com>
11185
11186         * check/Makefile.am:
11187         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11188         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11189         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11190         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11191         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11192         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11193         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11194         (bin_element_is_sink), (gst_bin_iterate_sinks),
11195         (gst_bin_iterate_all_by_interface):
11196         * gst/gstbin.h:
11197         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11198         (gst_element_change_state), (gst_element_dispose),
11199         (gst_element_finalize), (gst_element_set_loop_function):
11200         * gst/gstelement.h:
11201         * gst/gstiterator.c: (find_custom_fold_func):
11202         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11203         (gst_pad_collectv), (gst_pad_collect_valist),
11204         (gst_pad_template_new):
11205         * gst/gstpipeline.c: (gst_pipeline_class_init),
11206         (gst_pipeline_dispose), (gst_pipeline_set_property),
11207         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11208         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11209         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11210         * gst/gstutils.h:
11211         * gst/schedulers/entryscheduler.c:
11212         * gst/schedulers/gstbasicscheduler.c:
11213         (gst_basic_scheduler_cothreaded_chain),
11214         (gst_basic_scheduler_chain_add_element):
11215         * testsuite/bins/interface.c: (main):
11216         Added GstBin test.
11217         Added GstSystemClock test.
11218         Implemented clock distribution code in GstBin.
11219         Implemented iterate sinks method for future use.
11220         Rearranged gstelement.h
11221         Fix GstIterator comparison bug.
11222         Moved some code to GstPipeline, mostly clocking related.
11223
11224 2005-03-09  Wim Taymans  <wim@fluendo.com>
11225
11226         * configure.ac:
11227         * gst/gst_private.h:
11228         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11229         (gst_bin_remove_func), (gst_bin_remove),
11230         (gst_bin_get_by_name_recurse_up):
11231         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11232         (gst_clock_id_compare_func), (gst_clock_id_wait),
11233         (gst_clock_id_wait_async), (gst_clock_init),
11234         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11235         * gst/gstelement.h:
11236         * gst/gstinfo.c: (_gst_debug_init):
11237         * gst/gstobject.h:
11238         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11239         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11240         * gst/gstpad.h:
11241         Bump version number, we're now 0.9.0
11242         Add future debugging category.
11243         Fix NULL _unref() in _get_by_name_recurse_up
11244         Rearrange gstpad.h.
11245         Update some docs.
11246
11247 2005-03-08  Wim Taymans  <wim@fluendo.com>
11248
11249         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11250         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11251         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11252         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11253         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11254         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11255         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11256         * gst/elements/gstidentity.c: (gst_identity_class_init):
11257         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11258         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11259         * gst/elements/gstshaper.c: (gst_shaper_class_init):
11260         * gst/elements/gststatistics.c: (gst_statistics_class_init):
11261         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
11262         (gst_tee_link):
11263         * gst/gstelement.c: (gst_element_class_init),
11264         (gst_element_base_class_init), (gst_element_init),
11265         (gst_element_get_random_pad), (gst_element_wait_state_change),
11266         (gst_element_change_state), (gst_element_dispose),
11267         (gst_element_finalize), (gst_element_set_loop_function):
11268         * gst/gstelement.h:
11269         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
11270         * gst/gstthread.c: (gst_thread_class_init),
11271         (gst_thread_release_children_locks), (gst_thread_change_state):
11272         * gst/schedulers/gstbasicscheduler.c:
11273         (gst_basic_scheduler_loopfunc_wrapper),
11274         (gst_basic_scheduler_chain_wrapper),
11275         (gst_basic_scheduler_src_wrapper),
11276         (gst_basic_scheduler_remove_element):
11277         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
11278         Remove threadsafe properties. Fix elements because GObject
11279         complains when installing a property before declaring a
11280         set/get_property handler.
11281         Rearrange gstelement.h file, use STATE macros for state locks.
11282         Free mutexes in the finalize method instead of dispose.
11283
11284 2005-03-08  Wim Taymans  <wim@fluendo.com>
11285
11286         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11287         * gst/gstthread.c: (gst_thread_release_children_locks):
11288         Added parentage check.
11289         Fix build og GstThread again.
11290
11291 2005-03-08  Wim Taymans  <wim@fluendo.com>
11292
11293         * docs/design/part-MT-refcounting.txt:
11294         * docs/design/part-conventions.txt:
11295         * docs/design/part-gstobject.txt:
11296         * docs/design/part-relations.txt:
11297         * docs/design/part-standards.txt:
11298         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11299         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
11300         (gst_bin_get_by_name), (gst_bin_get_by_interface),
11301         (gst_bin_iterate_all_by_interface):
11302         * gst/gstbuffer.h:
11303         * gst/gstclock.h:
11304         * gst/gstelement.c: (gst_element_class_init),
11305         (gst_element_change_state), (gst_element_set_loop_function):
11306         * gst/gstelement.h:
11307         * gst/gstiterator.c:
11308         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
11309         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
11310         (gst_object_dispatch_properties_changed), (gst_object_set_name),
11311         (gst_object_set_parent), (gst_object_unparent),
11312         (gst_object_check_uniqueness):
11313         * gst/gstobject.h:
11314         Docs updates, clean up some headers.
11315
11316 2005-03-07  Wim Taymans  <wim@fluendo.com>
11317
11318         * check/.cvsignore:
11319         * check/Makefile.am:
11320         * check/gst-libs/.cvsignore:
11321         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
11322         * check/gst/.cvsignore:
11323         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
11324         (START_TEST), (gstbus_suite), (main):
11325         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
11326         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
11327         (gst_data_suite), (main):
11328         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
11329         (add_fold_func), (gstiterator_suite), (main):
11330         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
11331         (thread_name_object), (thread_name_object_default),
11332         (gst_object_name_compare), (gst_object_suite), (main):
11333         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
11334         (gst_pad_suite), (main):
11335         * check/gstcheck.c: (gst_check_log_message_func),
11336         (gst_check_log_critical_func), (gst_check_init):
11337         * check/gstcheck.h:
11338         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11339         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
11340         Added checks.
11341
11342 2005-03-07  Wim Taymans  <wim@fluendo.com>
11343
11344         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11345         (gst_list_iterator_next), (gst_list_iterator_resync),
11346         (gst_list_iterator_free), (gst_iterator_new_list),
11347         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
11348         (gst_iterator_free), (gst_iterator_push), (filter_next),
11349         (filter_resync), (filter_uninit), (filter_free),
11350         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
11351         (gst_iterator_foreach), (find_custom_fold_func),
11352         (gst_iterator_find_custom):
11353         * gst/gstiterator.h:
11354         Added missing files.
11355
11356 2005-03-07  Wim Taymans  <wim@fluendo.com>
11357
11358         * Makefile.am:
11359         * configure.ac:
11360         * docs/design/part-MT-refcounting.txt:
11361         * docs/design/part-conventions.txt:
11362         * docs/design/part-gstobject.txt:
11363         * docs/design/part-relations.txt:
11364         * examples/mixer/mixer.c: (main):
11365         * examples/thread/thread.c: (eos), (main):
11366         * gst/Makefile.am:
11367         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
11368         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
11369         (gst_spider_plug_from_srcpad):
11370         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
11371         (gst_spider_identity_change_state),
11372         (gst_spider_identity_sink_loop_type_finding):
11373         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
11374         * gst/elements/gstidentity.c: (gst_identity_init):
11375         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
11376         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
11377         * gst/elements/gsttypefindelement.c: (free_entry):
11378         * gst/gst.c:
11379         * gst/gst.h:
11380         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
11381         (gst_bin_set_clock_func), (gst_bin_auto_clock),
11382         (gst_bin_set_index), (gst_bin_set_element_sched),
11383         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
11384         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
11385         (gst_bin_iterate_elements), (iterate_child_recurse),
11386         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
11387         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
11388         (compare_interface), (gst_bin_get_by_interface),
11389         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
11390         * gst/gstbin.h:
11391         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
11392         (gst_buffer_default_free), (gst_buffer_default_copy),
11393         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
11394         (gst_buffer_create_sub):
11395         * gst/gstbuffer.h:
11396         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
11397         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
11398         (gst_caps_unref), (gst_static_caps_get),
11399         (gst_caps_remove_and_get_structure), (gst_caps_append),
11400         (gst_caps_append_structure), (gst_caps_remove_structure),
11401         (gst_caps_copy_nth), (gst_caps_set_simple),
11402         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
11403         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
11404         (gst_caps_structure_intersect_field), (gst_caps_intersect),
11405         (gst_caps_structure_subtract_field), (gst_caps_subtract),
11406         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
11407         (gst_caps_structure_figure_out_union),
11408         (gst_caps_switch_structures), (gst_caps_do_simplify),
11409         (gst_caps_replace), (gst_caps_from_string),
11410         (gst_caps_copy_conditional):
11411         * gst/gstcaps.h:
11412         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
11413         (_gst_clock_id_free), (gst_clock_id_unref),
11414         (gst_clock_id_compare_func), (gst_clock_id_wait),
11415         (gst_clock_id_wait_async), (gst_clock_class_init),
11416         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
11417         (gst_clock_get_time), (gst_clock_set_time_adjust),
11418         (gst_clock_set_property), (gst_clock_get_property):
11419         * gst/gstclock.h:
11420         * gst/gstcompat.h:
11421         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
11422         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
11423         * gst/gstdata.h:
11424         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11425         (gst_element_requires_clock), (gst_element_provides_clock),
11426         (gst_element_set_clock), (gst_element_clock_wait),
11427         (gst_element_wait), (gst_element_set_time_delay),
11428         (gst_element_is_indexable), (gst_element_add_pad),
11429         (gst_element_add_ghost_pad), (gst_element_remove_pad),
11430         (pad_compare_name), (gst_element_get_static_pad),
11431         (gst_element_request_pad), (gst_element_get_request_pad),
11432         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
11433         (gst_element_class_get_pad_template_list),
11434         (gst_element_class_get_pad_template), (gst_element_error_func),
11435         (gst_element_get_random_pad), (gst_element_get_event_masks),
11436         (gst_element_send_event), (gst_element_seek),
11437         (gst_element_get_query_types), (gst_element_query),
11438         (gst_element_get_formats), (gst_element_convert),
11439         (gst_element_is_locked_state), (gst_element_set_locked_state),
11440         (gst_element_sync_state_with_parent), (gst_element_change_state),
11441         (gst_element_finalize), (gst_element_yield),
11442         (gst_element_interrupt), (gst_element_set_scheduler),
11443         (gst_element_get_scheduler), (gst_element_set_loop_function):
11444         * gst/gstelement.h:
11445         * gst/gstevent.h:
11446         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
11447         (gst_format_get_by_nick), (gst_format_get_details),
11448         (gst_format_iterate_definitions):
11449         * gst/gstformat.h:
11450         * gst/gstindex.c: (gst_index_gtype_resolver):
11451         * gst/gstinfo.c:
11452         * gst/gstinfo.h:
11453         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
11454         (gst_mem_chunk_free):
11455         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
11456         (gst_object_ref), (gst_object_unref), (gst_object_sink),
11457         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
11458         (gst_object_dispatch_properties_changed),
11459         (gst_object_set_name_default), (gst_object_set_name),
11460         (gst_object_get_name), (gst_object_set_name_prefix),
11461         (gst_object_get_name_prefix), (gst_object_set_parent),
11462         (gst_object_get_parent), (gst_object_unparent),
11463         (gst_object_check_uniqueness), (gst_object_save_thyself),
11464         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
11465         (gst_object_set_property), (gst_object_get_property),
11466         (gst_object_get_path_string):
11467         * gst/gstobject.h:
11468         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11469         (gst_real_pad_init), (gst_real_pad_get_property),
11470         (gst_pad_custom_new), (gst_pad_get_direction),
11471         (gst_pad_set_active), (gst_pad_is_active),
11472         (gst_pad_set_event_function), (gst_pad_is_linked),
11473         (gst_pad_link_free), (gst_pad_link_intersect),
11474         (gst_pad_link_fixate), (gst_pad_set_caps),
11475         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
11476         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11477         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11478         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11479         (gst_pad_get_caps), (gst_pad_peer_get_caps),
11480         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11481         (gst_pad_realize), (gst_pad_get_allowed_caps),
11482         (gst_real_pad_dispose), (gst_real_pad_finalize),
11483         (gst_pad_collectv), (gst_pad_collect_valist),
11484         (gst_pad_template_dispose), (gst_pad_template_new),
11485         (gst_pad_get_internal_links):
11486         * gst/gstpad.h:
11487         * gst/gstpipeline.c: (gst_pipeline_dispose),
11488         (gst_pipeline_change_state):
11489         * gst/gstpipeline.h:
11490         * gst/gstplugin.c:
11491         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11492         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11493         * gst/gstpluginfeature.h:
11494         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11495         * gst/gstquery.c: (_gst_query_type_initialize),
11496         (gst_query_type_register), (gst_query_type_get_by_nick),
11497         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11498         * gst/gstquery.h:
11499         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11500         * gst/gstscheduler.c: (gst_scheduler_add_element),
11501         (gst_scheduler_factory_create):
11502         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11503         (gst_structure_free), (gst_structure_set_name),
11504         (gst_structure_id_set_value), (gst_structure_set_value),
11505         (gst_structure_set_valist), (gst_structure_remove_field),
11506         (gst_structure_remove_fields),
11507         (gst_structure_remove_fields_valist),
11508         (gst_structure_remove_all_fields), (gst_structure_foreach),
11509         (gst_structure_map_in_place),
11510         (gst_caps_structure_fixate_field_nearest_int),
11511         (gst_caps_structure_fixate_field_nearest_double):
11512         * gst/gststructure.h:
11513         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11514         (gst_system_clock_init), (gst_system_clock_dispose),
11515         (gst_system_clock_async_thread),
11516         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11517         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11518         * gst/gstsystemclock.h:
11519         * gst/gsttag.c: (gst_tag_list_add_value_internal),
11520         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11521         * gst/gsttaginterface.c:
11522         * gst/gstthread.c: (gst_thread_dispose),
11523         (gst_thread_release_children_locks), (gst_thread_change_state),
11524         (gst_thread_main_loop):
11525         * gst/gsttrashstack.h:
11526         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11527         * gst/gsttypes.h:
11528         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11529         (gst_element_request_pad), (gst_element_get_pad_from_template),
11530         (gst_element_request_compatible_pad),
11531         (gst_element_get_compatible_pad_filtered),
11532         (gst_element_get_compatible_pad), (gst_element_state_get_name),
11533         (gst_element_link_pads_filtered), (gst_element_link_filtered),
11534         (gst_element_link_many), (gst_element_link),
11535         (gst_element_link_pads), (gst_element_unlink_pads),
11536         (gst_element_unlink_many), (gst_element_unlink),
11537         (gst_pad_can_link_filtered), (gst_pad_can_link),
11538         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11539         (gst_object_default_error), (gst_bin_add_many),
11540         (gst_bin_remove_many), (gst_element_populate_std_props),
11541         (gst_element_class_install_std_props), (gst_buffer_merge),
11542         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11543         (link_fold_func), (gst_pad_proxy_setcaps):
11544         * gst/gstutils.h:
11545         * gst/gstvalue.c: (gst_value_deserialize_string):
11546         * gst/parse/grammar.y:
11547         * gst/schedulers/gstbasicscheduler.c:
11548         (gst_basic_scheduler_cothreaded_chain),
11549         (gst_basic_scheduler_chain_recursive_add),
11550         (gst_basic_scheduler_pad_link):
11551         * gst/schedulers/gstoptimalscheduler.c:
11552         (get_group_schedule_function),
11553         (gst_opt_scheduler_state_transition),
11554         (gst_opt_scheduler_add_element), (element_get_reachables_func):
11555         * libs/gst/bytestream/bytestream.c:
11556         * libs/gst/dataprotocol/dataprotocol.c:
11557         (gst_dp_header_from_buffer):
11558         * po/nb.po:
11559         * po/ru.po:
11560         * tests/threadstate/threadstate2.c: (eos):
11561         * tools/gst-compprep.c: (main):
11562         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11563         (print_pad_info), (print_children_info):
11564         * tools/gst-launch.c: (idle_func), (main):
11565         * tools/gst-md5sum.c: (idle_func), (main):
11566         * tools/gst-xmlinspect.c: (print_element_info):
11567         First THREADED backport attempt, focusing on adding locks and
11568         making sure the API is threadsafe. Needs more work. More docs
11569         follow this week.
11570
11571 2005-02-24  Andy Wingo  <wingo@pobox.com>
11572
11573         * tests/bench-complexity.scm:
11574         * tests/complexity.gnuplot: New files, good for running complexity
11575         benchmarks.
11576
11577         * tests/Makefile.am:
11578         * tests/complexity.c: New test, sets up N elements, at each level
11579         teeing into M streams per element. Eeeenteresting.
11580
11581         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11582         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11583         running bench-mass_elements.scm.
11584
11585         * tests/bench-mass_elements.scm: New script, runs mass_elements
11586         for various numbers of identities, outputting the results to a
11587         file. Requires guile 1.6. Just for testing.
11588
11589 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11590
11591         * gst/schedulers/fairscheduler.c:
11592           compile with debug disabled
11593
11594 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11595
11596         * configure.ac:
11597           hunting season on 0.9 is now OPEN