do CVS surgery and related build fixery to move elements and indexers in a new gstrea...
[platform/upstream/gstreamer.git] / ChangeLog
1 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2
3         * Makefile.am:
4         * configure.ac:
5         * plugins/elements/Makefile.am:
6         * plugins/elements/gstcapsfilter.c:
7         * plugins/elements/gstfilesink.c:
8         * plugins/elements/gstfilesrc.c:
9         * plugins/elements/gstidentity.c:
10         * plugins/indexers/Makefile.am:
11           do CVS surgery and related build fixery to move elements
12           and indexers in a new gstreamer/plugins directory, out of the
13           gst/ directory
14
15 2005-11-29  Andy Wingo  <wingo@pobox.com>
16
17         * check/Makefile.am:
18         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19         * pkgconfig/gstreamer-net.pc.in:
20         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
21         #322257.
22
23 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24
25         * tools/Makefile.am:
26         * tools/gst-complete.1.in:
27         * tools/gst-complete.c:
28         * tools/gst-compprep.1.in:
29         * tools/gst-compprep.c:
30           removing -compprep and -complete
31
32 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
33
34         * gst/gstevent.c: (gst_event_new_new_segment),
35         (gst_event_parse_new_segment):
36         * gst/gstevent.h:
37           fix #320529 - clean up new_segment API and structure.
38           Let's hope everyone was using the methods, and not the structure.
39
40 2005-11-29  Edward Hervey  <edward@fluendo.com>
41
42         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
43         (gst_base_sink_event), (gst_base_sink_do_sync),
44         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
45         Properly handle non GST_FORMAT_TIME segment
46         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
47         Properly handle non GST_FORMAT_TIME segment
48         * gst/gstsegment.c:
49         This function is valid if the accumulator is 0 and the format
50         is different from the requested format.
51         
52 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
53
54         * docs/gst/gstreamer-sections.txt:
55         Add gst_query_new_seeking and gst_query_parse_seeking to the
56         docs.
57
58 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
59
60         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
61           Treat a pad alloc with new caps the same as if we were not
62           negotiated, in order to allow a changing upstream output
63           to produce a new format of data.
64
65 2005-11-29  Edward Hervey  <edward@fluendo.com>
66
67         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
68         (gst_base_transform_event), (gst_base_transform_eventfunc):
69         The event virtual method is now properly implemented, with a default
70         handler
71         Sub classes should call the parent_class event method. They should
72         return FALSE if they had a problem handling the given event, or don't
73         want GstBaseTransform to send that even downstream
74         * gst/elements/gstidentity.c: (gst_identity_class_init),
75         (gst_identity_init), (gst_identity_event),
76         (gst_identity_transform_ip), (gst_identity_set_property),
77         (gst_identity_get_property):
78         * gst/elements/gstidentity.h:
79         Added the single-segment boolean property.
80         If set to TRUE, it will output a single segment of data, starting from
81         0, will eat up all incoming newsegment, and modify the timestamp of the
82         buffers accordingly
83
84 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
87           Don't ref NULL target pad (#322751). Improve docs.
88
89 2005-11-29  Michael Smith  <msmith@fluendo.com>
90
91         * gst/gstregistryxml.c: (load_plugin):
92           Don't crash if we failed to load a feature from a plugin. 
93
94 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
97         (GST_START_TEST):
98           use more check API and less GLib API
99
100 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
101
102         * Makefile.am:
103           don't run checks if we don't have check
104         * common/check.mak:
105           remove the registry when running make torture
106         * docs/gst/gstreamer-sections.txt:
107           remove second multiply
108         * gst/gstqueue.c: (gst_queue_loop):
109           fix a compile warning when disabling debug
110
111 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
112
113         * gst/gstinfo.h:
114         Hey! Let's print the pad name if the pointer != NULL instead
115         of when it == NULL :-)
116
117 2005-11-28  Wim Taymans  <wim@fluendo.com>
118
119         * check/gst/gstutils.c: (GST_START_TEST):
120         Updated check, add some scaling accuracy checking code.
121
122         * gst/gstutils.c: (gst_util_div128_64),
123         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
124         (gst_util_uint64_scale_int):
125         Fix 6 times faster division code. Optimize for common 
126         1/1 and less common X/1 cases.
127
128 2005-11-28  Wim Taymans  <wim@fluendo.com>
129
130         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
131         More checks.
132
133         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
134         (do_linear_regression), (gst_clock_add_observation):
135         Cleanups.
136         Release lock when the clock cannot be slaved.
137         Catch the case where the regression returned an invalid denominator.
138
139         * gst/gstutils.c: (gst_util_div128_64_iterate),
140         (gst_util_div128_64), (gst_util_uint64_scale_int64),
141         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
142         Add protentially more performant non-iterative 128/64 divide function
143         that unfortunatly does not work yet.
144         Shortcut the trivial 0/X = 0 case.
145         Remove the warnings on overflow.
146
147 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
148
149         * gst/gstplugin.c: (gst_plugin_register_func):
150           everything causing a plugin not to load should be at least a WARNING
151
152 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
153
154         * docs/random/ensonic/dparams.txt:
155           some TODOs for the next dev cycle
156         * libs/gst/controller/gstcontroller.c:
157         (gst_controlled_property_set_interpolation_mode),
158         (gst_controlled_property_new):
159         * libs/gst/controller/gstcontroller.h:
160           use base type to assign acccessor functions
161
162 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
163
164         * check/Makefile.am:
165         Oops, that should have been top_srcdir
166
167 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
168
169         * check/Makefile.am:
170         * check/elements/fdsrc.c: (GST_START_TEST):
171         Use a cmdline define to specify the location of a file to use for
172         testing, to avoid breaking distcheck.
173
174 2005-11-28  Andy Wingo  <wingo@pobox.com>
175
176         * gst/gstpad.c (fixate_value): Use array functions for arrays.
177
178 2005-11-28  Edward Hervey  <edward@fluendo.com>
179
180         * tools/gst-launch.c: (main):
181         Clarify the output strings, makes it easier to translate.
182         Fixes #322626
183
184 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
185
186         * gst/Makefile.am:
187           don't try and build net if we don't even have <sys/socket.h>
188
189 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
190
191         * check/Makefile.am:
192         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
193         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
194           Add tests for fdsrc seekability
195
196         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
197         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
198         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
199         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
200         * gst/elements/gstfdsrc.h:
201           fdsrc should not be a 'live' source.
202           Implement seeking on seekable fd's.
203
204         * gst/gstquery.c: (gst_query_new_seeking),
205         (gst_query_parse_seeking):
206         * gst/gstquery.h:
207           Implement SEEKING query functions: 
208             *_new_seeking and *_parse_seeking
209
210 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
211
212         * gst/gstelement.c: (gst_element_dispose):
213           don't loop forever
214
215         * gst/gstiterator.c:
216         * gst/gststructure.c:
217           doc fixes
218
219         * libs/gst/controller/gstcontroller.c:
220         (gst_controlled_property_set_interpolation_mode):
221         * libs/gst/controller/gstcontroller.h:
222         * libs/gst/controller/gstinterpolation.c:
223         (interpolate_none_get_enum_value_array):
224           support controlling enums
225
226 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
227
228         * gst/gstvalue.c:
229           Improve documentation for gst_value_union().
230
231         * gst/gstvalue.h:
232           Change return value for union, intersect and subtract functions
233           from gint to gboolean.
234
235 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
236
237         * gst/gstvalue.c: (gst_value_serialize_any_list),
238         (gst_value_transform_any_list_string),
239         (gst_value_deserialize_list), (gst_value_deserialize_array),
240         (gst_value_set_int_range), (gst_value_deserialize_int_range),
241         (gst_value_set_double_range), (gst_value_deserialize_double_range),
242         (gst_value_set_fraction_range_full),
243         (gst_value_deserialize_fraction_range),
244         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
245         (gst_value_deserialize_boolean),
246         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
247         (gst_value_serialize_float), (gst_value_deserialize_float),
248         (gst_string_wrap), (gst_value_deserialize_string),
249         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
250         (gst_value_union_int_range_int_range),
251         (gst_value_intersect_int_range_int_range),
252         (gst_value_intersect_double_range_double_range),
253         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
254         (gst_value_subtract_int_range_int_range),
255         (gst_value_subtract_double_double_range),
256         (gst_value_subtract_double_range_double_range),
257         (gst_value_deserialize_fraction):
258         * gst/gstvalue.h:
259           Use gint, gdouble and gchar in our API instead of int, double and
260           char (and make usage in gstvalue.c more consistent).
261
262 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
263
264         * check/Makefile.am:
265         * libs/gst/controller/Makefile.am:
266         * libs/gst/dataprotocol/Makefile.am:
267           fix up Makefile.am and remove GST_ENABLE_NEW
268
269 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
270
271         * configure.ac:
272         * gst/Makefile.am:
273         * gst/base/Makefile.am:
274         * gst/check/Makefile.am:
275         * gst/elements/Makefile.am:
276         * gst/net/Makefile.am:
277           update LDFLAGS use some more
278
279 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
280
281         * common/m4/gst-doc.m4:
282           Fixes #312589
283
284 2005-11-26  Edward Hervey  <edward@fluendo.com>
285
286         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
287         This shouldn't issue a g_warning since it returns NULL if it
288         couldn't find the plugin, and all functions using this behave
289         properly on a NULL return. Switching to a GST_WARNING.
290
291 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
292
293         * gst/gstbin.c: (gst_bin_handle_message_func):
294         Don't leak clock messages.
295
296 2005-11-25  Wim Taymans  <wim@fluendo.com>
297
298         * gst/gstutils.c: (gst_util_uint64_scale_int64),
299         (gst_util_uint64_scale_int):
300         Optimisations, remove unneeded vars.
301
302 2005-11-25  Wim Taymans  <wim@fluendo.com>
303
304         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
305         Added more checks for the high precision uint64 cases.
306
307         * gst/gstutils.c: (gst_util_uint64_scale_int64),
308         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
309         Implement high precission (guint64 * guint64) / guint64.
310
311 2005-11-24  Wim Taymans  <wim@fluendo.com>
312
313         * gst/base/gstbasesrc.c: (gst_base_src_query):
314         Fix wrong percentage query.
315
316         * gst/gstutils.c: (gst_util_uint64_scale),
317         (gst_util_uint64_scale_int):
318         Add some more common cases that can be handled 
319         efficiently to _scale.
320
321 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
322
323         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
324         (gst_mini_object_suite):
325           don't use check calls from threads; check probably isn't
326           threadsafe and using a lock to make it threadsafe would
327           defeat the purpose of this check
328         * gst/check/gstcheck.c:
329         * gst/check/gstcheck.h:
330           use GST_DEBUG some more
331
332 2005-11-24  Wim Taymans  <wim@fluendo.com>
333
334         * gst/gstutils.c: (gst_util_uint64_scale),
335         (gst_util_uint64_scale_int):
336         Chain trivial case to _scale_int.
337
338 2005-11-24  Wim Taymans  <wim@fluendo.com>
339
340         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
341         Added test for scaling.
342
343         * gst/gstclock.h:
344         Small doc fix.
345
346         * gst/gstutils.c: (gst_util_uint64_scale_int):
347         Implemented high precision scaling code.
348
349 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
350
351         * gst/gstinfo.h:
352           do not crash on pad==NULL
353
354 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
355
356         Patch by: Stefan Kost
357
358         * common/gtk-doc.mak:
359         * docs/gst/Makefile.am:
360         * docs/libs/Makefile.am:
361           Fix distcheck issues for the libraries docs build
362           Closes #319599.
363
364 2005-11-24  Michael Smith <msmith@fluendo.com>
365
366         * docs/manual/basics-helloworld.xml:
367           Fix bug #315027: memory leak in example code in docs.
368
369 2005-11-24  Michael Smith <msmith@fluendo.com>
370
371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
372           Unlock the PREROLL_LOCK in a failure case.
373
374 2005-11-24  Wim Taymans  <wim@fluendo.com>
375
376         * docs/gst/gstreamer-sections.txt:
377         * gst/base/gstadapter.h:
378         * gst/base/gstbasesink.h:
379         * gst/base/gstbasesrc.h:
380         * gst/base/gstbasetransform.h:
381         * gst/base/gstpushsrc.h:
382         * gst/elements/gstfakesink.h:
383         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
384         * gst/elements/gstfakesrc.h:
385         * gst/elements/gstfilesink.h:
386         * gst/elements/gstfilesrc.h:
387         * gst/gst.c:
388         * gst/gstbin.c:
389         * gst/gstbuffer.c: (_gst_buffer_copy):
390         * gst/gstbus.h:
391         * gst/gstcaps.c:
392         * gst/gstchildproxy.c:
393         * gst/gstclock.c:
394         * gst/gstelement.c:
395         * gst/gstelementfactory.c:
396         * gst/gstelementfactory.h:
397         * gst/gstevent.c:
398         * gst/gstghostpad.h:
399         * gst/gstindex.h:
400         * gst/gstinterface.h:
401         * gst/gstminiobject.c:
402         * gst/gstminiobject.h:
403         * gst/gstpad.c:
404         * gst/gstpad.h:
405         * gst/gstpadtemplate.h:
406         * gst/gstpipeline.h:
407         * gst/gstpluginfeature.h:
408         * gst/gstquery.h:
409         * gst/gstqueue.h:
410         * gst/gsttaglist.c:
411         * gst/gsttaglist.h:
412         * gst/gsttagsetter.c:
413         * gst/gsttagsetter.h:
414         * gst/gsttrace.c:
415         * gst/gsttrace.h:
416         * gst/gsttypefind.h:
417         * gst/gsturi.h:
418         * gst/gstvalue.c:
419         * gst/net/gstnetclientclock.c:
420         * gst/net/gstnetclientclock.h:
421         * gst/net/gstnettimepacket.c:
422         * gst/net/gstnettimeprovider.c:
423         * gst/net/gstnettimeprovider.h:
424         Doc fixes.
425
426 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
427
428         * configure.ac: back to HEAD
429
430 === release 0.9.6 ===
431
432 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
433
434         * configure.ac:
435           releasing 0.9.6, "Always On Time"
436
437 2005-11-23  Wim Taymans  <wim@fluendo.com>
438
439         * docs/gst/gstreamer-sections.txt:
440         * gst/glib-compat.c:
441         * gst/gsttagsetter.c:
442         * gst/gstvalue.c:
443         * gst/net/gstnetclientclock.c:
444         * gst/net/gstnettimepacket.h:
445         Doc updates.
446
447 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
448
449         * docs/faq/using.xml:
450         * docs/libs/tmpl/gstcontrol.sgml:
451         * docs/manual/advanced-dparams.xml:
452         * docs/manual/appendix-checklist.xml:
453         * docs/manual/basics-elements.xml:
454         * docs/pwg/other-source.xml:
455         * docs/random/moving-plugins:
456         * gst/gstpad.c:
457         * tools/gst-launch.1.in:
458           remove mentions of sinesrc
459
460 2005-11-23  Michael Smith <msmith@fluendo.com>
461
462         * docs/gst/gstreamer-sections.txt:
463           Update for new API and API changes.
464         * gst/gstobject.h:
465           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
466         * gst/gstvalue.c:
467           Documentation typo fix.
468         * gst/net/gstnettimepacket.c:
469           Documentation fixes for arguments.
470
471 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
472
473         * gst/gststructure.c: (gst_structure_get_fraction),
474         (gst_structure_parse_value),
475         (gst_structure_fixate_field_nearest_fraction):
476         * gst/gststructure.h:
477         * gst/gstutils.c: (gst_util_uint64_scale_int):
478         * gst/gstutils.h:
479         * scripts/update-funcnames:
480         API Changes. 
481         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
482         Make gst_structure_fixate_field_nearest_fraction take a numerator
483         and denominator argument instead of a GValue
484         add gst_structure_get_fraction helper function.
485
486 2005-11-23  Wim Taymans  <wim@fluendo.com>
487
488         * docs/design/part-TODO.txt:
489         Update TODO.
490
491         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
492         * gst/net/gstnetclientclock.h:
493         Use parent fields for timeout and window_size.
494
495 2005-11-23  Andy Wingo  <wingo@pobox.com>
496
497         * check/net/gstnetclientclock.c (test_functioning): Adjust to
498         rate_num/rate_denom change.
499
500         * gst/net/gstnetclientclock.c
501         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
502         OBJECT_LOCK. Don't call add_observation with the lock.
503
504         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
505         fraction.
506         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
507         rate fraction.
508         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
509         deal with rate as a fraction whose numerator and denominator are
510         GstClockTime values.
511         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
512         master; the other fields are protected by the SLAVE_LOCK.
513         (do_linear_regression): Note that this must be called with the
514         SLAVE_LOCK.
515         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
516         OBJECT_LOCK. Call set_calibration instead of touching the
517         variables directly.
518         (gst_clock_set_property, gst_clock_get_property): Protect
519         master/slave parameters with the SLAVE_LOCK.
520
521         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
522         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
523         note that all of the instance variables that add_observation and
524         the set_master functions use are protected by that lock and not
525         the OBJECT_LOCK.
526         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
527
528         * gst/gstclock.c (gst_clock_add_observation): No longer requires
529         the caller to take the object lock.
530
531 2005-11-23  Wim Taymans  <wim@fluendo.com>
532
533         * gst/gsterror.c: (_gst_core_errors_init):
534         * gst/gsterror.h:
535         Add error for clock stuff.
536
537         * gst/gstpipeline.c: (gst_pipeline_change_state),
538         (gst_pipeline_set_clock):
539         Post clock error when clock cannot be used in a pipeline.
540
541 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
542
543         * docs/gst/gstreamer-sections.txt:
544           make two symbols from gstinfo private for the docs
545         * gst/base/gstcollectpads.h:
546         * gst/gstutils.c:
547           fix doc typos, update docs
548
549 2005-11-22  Wim Taymans  <wim@fluendo.com>
550
551         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
552         (gst_base_sink_wait), (gst_base_sink_do_sync),
553         (gst_base_sink_handle_event):
554         * gst/base/gstbasesink.h:
555         No need to store the clock, the parent element class already
556         has it.
557
558         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
559         Updates for clock_set returning a gboolean
560
561         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
562         (gst_clock_id_wait_async), (gst_clock_class_init),
563         (gst_clock_init), (gst_clock_finalize),
564         (gst_clock_get_internal_time), (gst_clock_get_time),
565         (gst_clock_slave_callback), (gst_clock_set_master),
566         (gst_clock_get_master), (do_linear_regression),
567         (gst_clock_add_observation), (gst_clock_set_property),
568         (gst_clock_get_property):
569         * gst/gstclock.h:
570         Implement master/slave. When setting a clock as a slave, a
571         periodic timeout is scheduled to sample master and slave times.
572         Then the slave clock is recalibrated to match offset and rate
573         of the master clock.
574         Update logging a bit.
575         Add flag so that a clock can state that is cannot be slaved to
576         another clock.
577
578         * gst/gstelement.c: (gst_element_set_clock):
579         * gst/gstelement.h:
580         The set clock returns a gboolean for when an element cannot
581         deal with the selected clock in the pipeline. 
582
583         * gst/gstpipeline.c: (gst_pipeline_change_state),
584         (gst_pipeline_set_clock):
585         * gst/gstpipeline.h:
586         Handle the case where the selected clock cannot be set on
587         the pipeline.
588
589         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
590         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
591         (gst_net_client_clock_set_property),
592         (gst_net_client_clock_get_property),
593         (gst_net_client_clock_observe_times):
594         * gst/net/gstnetclientclock.h:
595         Use regression code in GstClock parent, remove duplicated
596         functionality.
597
598 2005-11-22  Michael Smith <msmith@fluendo.com>
599
600         * gst/gstutils.c: (gst_util_clock_time_scale):
601         * gst/gstutils.h:
602         * docs/gst/gstreamer-sections.txt:
603           Rename method to have extra underscore.
604
605 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
606
607         * gst/elements/Makefile.am:
608         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
609         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
610         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
611         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
612         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
613         * gst/elements/gstfakesrc.h:
614         * gst/gstqueue.c: (queue_leaky_get_type):
615           correctly fix GEnumValues so that nick is the short lowercase
616           dashed tag
617         * tools/gst-inspect.c: (print_element_properties_info):
618           also show the nick, since it's useful to use from parse_launch
619           syntax
620           Fixes #322139
621
622 2005-11-22  Michael Smith <msmith@fluendo.com>
623
624         * gst/gstutils.c: (gst_util_clocktime_scale):
625         * gst/gstutils.h:
626         * docs/gst/gstreamer-sections.txt:
627           Add util method for scaling a clocktime by a fraction. Useful 
628           implementation is left as an exercise for the reader.
629
630 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
631
632         * gst/gstvalue.c: (gst_value_collect_fraction_range):
633         If needed, allocate storage in the destination value during
634         collection.
635
636 2005-11-22  Edward Hervey  <edward@fluendo.com>
637
638         * docs/gst/gstreamer-sections.txt:
639         * gst/Makefile.am:
640         * gst/gst.h:
641         * gst/gsturitype.c:
642         * gst/gsturitype.h:
643         * gst/gstutils.c: (gst_util_set_object_arg):
644         * tools/gst-compprep.c: (main):
645         * tools/gst-inspect.c: (print_element_properties_info):
646         Removed GstURI, closes bug #321061
647
648 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
649
650         * check/gst/gststructure.c: (GST_START_TEST):
651         * gst/gststructure.c: (gst_structure_parse_value):
652           Oops, broke automatic string type parsing.
653           Add a test to catch it in future.
654
655 2005-11-22  Andy Wingo  <wingo@pobox.com>
656
657         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
658         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
659         Actually rename the function implementations. Grr.
660
661 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
662
663         * check/gst/capslist.h:
664           Comment test cases
665         * check/gst/gststructure.c: (GST_START_TEST),
666         (gst_structure_suite):
667           Test automatic value type detection in gst_structure_from_string.
668         * gst/gststructure.c: (gst_structure_parse_value):
669           Add fraction as a type we try and guess automatically in
670           caps/structure strings.
671
672 2005-11-22  Andy Wingo  <wingo@pobox.com>
673
674         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
675
676         * gst/gsttagsetter.h:
677         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
678         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
679         (gst_tag_setter_add_tag_valist)
680         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
681         _add_values, _add_valist, and _add_valist_values. Since this is an
682         interface the function suffixes should be more explicit so
683         language binding don't end up with element.add_valist ->
684         gst_tag_setter_add_valist, for example. Fixes #322069.
685
686 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
687
688         * check/gst/gstcaps.c: (GST_START_TEST):
689           Extend caps string tests to check that a caps to string
690           conversion is reversible and produces the same caps.
691
692         * gst/gststructure.c: (gst_structure_value_get_generic_type):
693           Output "fraction" as the generic type fraction range, so caps
694           serialisation and deserialisation works.
695         * check/gst/capslist.h:
696         * gst/gstvalue.c: (gst_value_deserialize_fraction):
697           Support 'MIN' and 'MAX' for deserialising fractions.
698
699 2005-11-22  Andy Wingo  <wingo@pobox.com>
700
701         * gst/gstevent.h (gst_event_new_new_segment)
702         (gst_event_parse_new_segment, gst_event_new_buffer_size)
703         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
704         Renamed from *_newsegment, *_buffersize, *_notarget.
705
706         * scripts/update-funcnames: New script, performs the changes
707         listed above.
708
709 2005-11-22  Wim Taymans  <wim@fluendo.com>
710
711         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
712         Make sure the GstFlowReturn is returned.
713
714         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
715         (gst_bus_add_signal_watch):
716         * gst/gstbus.h:
717         add gst_bus_add_signal_watch_full.
718
719         * gst/gstplugin.c: (gst_plugin_load_file):
720         Small style cleanup.
721
722 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
723
724         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
725           Block the fakesrc srcpad when we send an event, to avoid
726           contention on the stream_lock causing random test failures.
727
728 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
729
730         * check/gst/gstvalue.c: (GST_START_TEST):
731         * gst/gstvalue.c: (gst_value_fraction_subtract):
732           Fix subtraction.
733
734 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
735
736         * gst/gst.h:
737           include "gstchildproxy.h"
738         * gst/gstchildproxy.h:
739         * libs/gst/controller/gstcontroller.h:
740           use G_GNUC_NULL_TERMINATED
741
742 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
743
744         * check/gst/capslist.h:
745         * check/gst/gstcaps.c: (GST_START_TEST):
746         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
747         * gst/gststructure.c: (gst_structure_parse_range),
748         (gst_structure_fixate_field_nearest_fraction):
749         * gst/gststructure.h:
750         * gst/gstvalue.c: (gst_value_init_fraction_range),
751         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
752         (gst_value_collect_fraction_range),
753         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
754         (gst_value_set_fraction_range_full),
755         (gst_value_get_fraction_range_min),
756         (gst_value_get_fraction_range_max),
757         (gst_value_serialize_fraction_range),
758         (gst_value_transform_fraction_range_string),
759         (gst_value_compare_fraction_range),
760         (gst_value_deserialize_fraction_range),
761         (gst_value_intersect_fraction_fraction_range),
762         (gst_value_intersect_fraction_range_fraction_range),
763         (gst_value_subtract_fraction_fraction_range),
764         (gst_value_subtract_fraction_range_fraction),
765         (gst_value_subtract_fraction_range_fraction_range),
766         (gst_value_collect_fraction), (gst_value_fraction_multiply),
767         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
768         (gst_value_transform_string_fraction), (_gst_value_initialize):
769         * gst/gstvalue.h:
770           Implement fraction ranges and extend GstFraction to support
771           arithmetic subtraction, as well as deserialization from integer
772           strings such as "100"
773           Add a testsuite as for int and double range set operations
774
775 2005-11-21  Andy Wingo  <wingo@pobox.com>
776
777         * gst/gsttaglist.h: 
778         * gst/gstcaps.h: 
779         * gst/gststructure.h: Add glib-compat.h.
780
781 2005-11-21  Wim Taymans  <wim@fluendo.com>
782
783         * gst/gstbin.c: (gst_bin_change_state_func):
784         Fix for #321595
785
786 2005-11-21  Wim Taymans  <wim@fluendo.com>
787
788         * gst/gstsegment.h:
789         And add a nice define too.
790
791 2005-11-21  Wim Taymans  <wim@fluendo.com>
792
793         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
794         (gst_segment_new), (gst_segment_free), (gst_segment_init),
795         (gst_segment_set_duration), (gst_segment_set_last_stop),
796         (gst_segment_set_seek), (gst_segment_set_newsegment),
797         (gst_segment_to_stream_time), (gst_segment_to_running_time),
798         (gst_segment_clip):
799         * gst/gstsegment.h:
800         Make binding friendly.
801
802 2005-11-21  Andy Wingo  <wingo@pobox.com>
803
804         * gst/gsttagsetter.h: 
805         * gst/gsttaglist.h: 
806         * gst/gststructure.h: 
807         * gst/gstcaps.h: 
808         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
809         #319940.
810
811         * gst/gsterror.c (_gst_core_errors_init):
812         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
813         category.
814
815         * gst/Makefile.am (gst_headers): Add glib-compat.h.
816         (noinst_HEADERS): noinst the -private.
817
818 2005-11-21  Michael Smith <msmith@fluendo.com>
819
820         * gst/gstplugin.h:
821         * gst/gstregistry.h:
822           Remove unimplemented declarations for which we can see no sensible
823           use.
824
825 2005-11-21  Andy Wingo  <wingo@pobox.com>
826
827         * gst/gst.h: Include glib-compat.h.
828
829         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
830
831         * gst/glib-compat.c: Include the public and the private header.
832
833         * gst/glib-compat-private.h: Copied here from glib-compat.h.
834
835         * gst/gstvalue.c: 
836         * gst/gstpad.c: 
837         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
838
839         * check/gst/gstevent.c (create_custom_events): Check that
840         FLUSH_STOP is serialized.
841
842         * check/elements/identity.c (event_func): 
843         * check/elements/fakesrc.c (event_func): No stream lock, the core
844         takes it.
845
846         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
847         stream lock taking, yay.
848
849         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
850         ensure that core takes the stream lock.
851
852         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
853         lock name change.
854
855         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
856         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
857         it already. For the flush start we do take it though so we get the
858         right preroll state change messages.
859
860         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
861         the stream lock here, the core does it for us.
862
863         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
864         GST_STREAM_GET_LOCK.
865         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
866         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
867         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
868         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
869         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
870         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
871
872         * gst/gstpad.c: Update for stream lock name change.
873
874         * gst/base/gstbasesink.c: Update for preroll lock name change.
875
876 2005-11-21  Wim Taymans  <wim@fluendo.com>
877
878         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
879         (gst_clock_get_master):
880         * gst/gstclock.h:
881         * gst/gstsystemclock.c: (gst_system_clock_init):
882         Convert Clock flags to object flags.
883         Added methods to manage master/slave clocks.
884
885 2005-11-21  Wim Taymans  <wim@fluendo.com>
886
887         * check/gst/gstsegment.c: (GST_START_TEST):
888         * docs/design/part-TODO.txt:
889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
890         (gst_base_sink_event), (gst_base_sink_do_sync),
891         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
892         (gst_base_sink_query), (gst_base_sink_change_state):
893         * gst/base/gstbasesink.h:
894         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
895         (gst_base_src_default_newsegment),
896         (gst_base_src_configure_segment), (gst_base_src_do_seek),
897         (gst_base_src_get_range), (gst_base_src_loop),
898         (gst_base_src_change_state):
899         * gst/base/gstbasesrc.h:
900         * gst/base/gstbasetransform.c:
901         (gst_base_transform_prepare_output_buf),
902         (gst_base_transform_event), (gst_base_transform_change_state):
903         * gst/base/gstbasetransform.h:
904         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
905         (gst_collect_pads_event):
906         * gst/base/gstcollectpads.h:
907         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
908         (gst_fake_src_create):
909         * gst/elements/gstfakesrc.h:
910         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
911         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
912         (gst_segment_set_last_stop), (gst_segment_set_seek),
913         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
914         (gst_segment_to_running_time), (gst_segment_clip):
915         * gst/gstsegment.h:
916         More segment updates, replace code in plugins with segment
917         helper functions.
918
919 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
920
921         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
922         Don't ignore sscanf results
923
924 2005-11-21  Andy Wingo  <wingo@pobox.com>
925
926         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
927
928         * *.h:
929         * *.c: Ran scripts/update-macros. Oh yes.
930
931         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
932         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
933         GST_GET_LOCK, etc.
934
935         * scripts/update-macros: New script. Run it on your files to
936         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
937         well.
938
939 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
940
941         * docs/gst/Makefile.am:
942         * docs/gst/gstreamer-docs.sgml:
943         * docs/gst/gstreamer-sections.txt:
944         * docs/gst/gstreamer.types:
945         * gst/gstinfo.h:
946           more docs fixes, add new api to the docs
947
948 2005-11-21  Andy Wingo  <wingo@pobox.com>
949
950         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
951         state_broadcast call.
952
953         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
954
955 2005-11-21  Julien MOUTTE  <julien@moutte.net>
956
957         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
958         function calls for arrays.
959
960 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
961
962         * docs/random/ensonic/media-device-daemon.txt:
963           wild idea, can this be done?
964         * docs/gst/gstreamer-sections.txt:
965         * gst/gsterror.h:
966         * gst/gstfilter.c:
967         * gst/gstfilter.h:
968         * gst/gstplugin.h:
969         * gst/gstpluginfeature.c:
970         * gst/gsttrace.c:
971         * gst/gstvalue.c:
972         * gst/gstvalue.h:
973           doc fixes and additions
974
975 2005-11-21  Andy Wingo  <wingo@pobox.com>
976
977         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
978         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
979         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
980         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
981         private to the basesrc implementation.
982
983         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
984         behalf of event function if necessary. It should no longer be
985         necessary to take the stream lock in pad's event functions. Fixes
986         #320299.
987
988 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
989         * docs/gst/gstreamer-sections.txt:
990         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
991         (gst_structure_fixate_field_nearest_double),
992         (gst_structure_fixate_field_boolean):
993         * gst/gststructure.h:
994         * win32/common/libgstreamer.def:
995         * win32/gstreamer.def:
996
997         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
998         (#322027)
999
1000 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
1001
1002         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1003         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1004         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1005         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1006         (gst_fdsrc_uri_handler_init):
1007         * gst/elements/gstfdsrc.h:
1008           Port fd:// URI handler from 0.8 to fdsrc
1009
1010 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1011
1012         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1013         (gst_value_serialize_fourcc):
1014         * gst/gstvalue.h:
1015           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1016           consistent with our other format defines (#320324).
1017
1018 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1019
1020         * gst/gstvalue.c: (gst_value_is_fixed):
1021           Revert previous commit. Value lists are by definition
1022           not fixed, as they are a list of possible values.
1023
1024 2005-11-21  Andy Wingo  <wingo@pobox.com>
1025
1026         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1027         during the stable series if we need it. Fixes #319178.
1028
1029         * gst/gstevent.c (gst_event_new_filler): Removed.
1030
1031         * check/gst/gstevent.c: Update comment about filler events.
1032
1033 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1034
1035         * gst/gstvalue.c: (gst_value_is_fixed):
1036           Should handle both value arrays and value lists.
1037
1038 2005-11-21  Andy Wingo  <wingo@pobox.com>
1039
1040         patch by: Alessandro Dessina <alessandro nnva org>
1041
1042         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1043         functions to access arrays. Fixes #321962.
1044
1045 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1046
1047         * docs/gst/gstreamer.types:
1048           gst_collectpads_get_type => gst_collect_pads_get_type.
1049           
1050         * gst/base/gstbasetransform.c:
1051           Remove unused SIGNAL_HANDOFF enum.
1052
1053 2005-11-21  Andy Wingo  <wingo@pobox.com>
1054
1055         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1056         the event type (upstream, downstream, serialized). Renamed
1057         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1058         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1059         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1060
1061         * gst/gstevent.c: Update for new CUSTOM event names.
1062
1063         * check/gst/gstevent.c: Update check for new CUSTOM event names.
1064
1065         * gst/gstevent.h:
1066         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1067         bug #319392.
1068
1069 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1070
1071         * docs/gst/gstreamer-sections.txt:
1072         * win32/common/libgstbase.def:
1073         * win32/libgstbase.def:
1074         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1075         (gst_collect_pads_class_init), (gst_collect_pads_init),
1076         (gst_collect_pads_finalize), (gst_collect_pads_new),
1077         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1078         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1079         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1080         (gst_collect_pads_start), (gst_collect_pads_stop),
1081         (gst_collect_pads_peek), (gst_collect_pads_pop),
1082         (gst_collect_pads_available), (gst_collect_pads_read),
1083         (gst_collect_pads_flush), (gst_collect_pads_event),
1084         (gst_collect_pads_chain):
1085         * gst/base/gstcollectpads.h:
1086           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1087           unimplemented functions as unimplemented. Add padding to
1088           GstCollectData. (#320766, #320423)
1089
1090 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
1091
1092         * gst/gstmessage.c:
1093           Improve docs for DURATION message (usage of duration parameter)
1094           (#320113)
1095
1096 2005-11-20  Wim Taymans  <wim@fluendo.com>
1097
1098         * check/Makefile.am:
1099         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1100         (main):
1101         * gst/Makefile.am:
1102         * gst/gst.h:
1103         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1104         (gst_segment_set_seek), (gst_segment_set_newsegment),
1105         (gst_segment_to_stream_time), (gst_segment_to_running_time),
1106         (gst_segment_clip):
1107         * gst/gstsegment.h:
1108         Added segment helper structure and methods. Not fully implemented
1109         yet.
1110         Added segment check.
1111
1112 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
1113
1114         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1115           Add a deserialisation test for fractions
1116         * examples/metadata/read-metadata.c: (message_loop),
1117         (make_pipeline), (main):
1118           Fix up metadata reading sample.
1119         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1120           Debug format fix
1121         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1122           Don't try and fixate empty caps
1123         * gst/gst_private.h:
1124           Wrap in G_BEGIN_DECLS/G_END_DECLS
1125         * gst/gstvalue.c: (gst_value_collect_fraction),
1126         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1127         (gst_value_transform_string_fraction),
1128         (gst_value_compare_fraction):
1129           Add some extra guards to ensure that we don't end up 
1130           with an invalid denominator of 0 in a gstfraction and
1131           that fractions always get reduced.
1132
1133 2005-11-20  Wim Taymans  <wim@fluendo.com>
1134
1135         * docs/gst/gstreamer-sections.txt:
1136         * gst/gstbuffer.h:
1137         * gst/gstelement.c:
1138         * gst/gstformat.c:
1139         * gst/gstformat.h:
1140         * gst/gstindex.h:
1141         * gst/gstquery.c:
1142         * gst/gstquery.h:
1143         * gst/gstvalue.c:
1144         Doc fixes.
1145
1146 2005-11-20  Wim Taymans  <wim@fluendo.com>
1147
1148         * docs/design/part-TODO.txt:
1149         * gst/gstcaps.h:
1150         Make a proper enum of the flag.
1151
1152 2005-11-19  Wim Taymans  <wim@fluendo.com>
1153
1154         * docs/design/part-TODO.txt:
1155         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1156         (gst_format_to_quark), (gst_format_register):
1157         * gst/gstformat.h:
1158         * gst/gstquery.c: (_gst_query_initialize),
1159         (gst_query_type_get_name), (gst_query_type_to_quark),
1160         (gst_query_type_register):
1161         * gst/gstquery.h:
1162         Add type to quark and type to string conversions.
1163
1164 2005-11-19  Andy Wingo  <wingo@pobox.com>
1165
1166         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1167         #320097.
1168
1169 2005-11-19  Wim Taymans  <wim@fluendo.com>
1170
1171         * docs/design/part-TODO.txt:
1172         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1173         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1174         (gst_bin_handle_message_func):
1175         * gst/gstbin.h:
1176         Make message handling overridable.
1177
1178 2005-11-19  Andy Wingo  <wingo@pobox.com>
1179
1180         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1181
1182         * gst/gstclock.h:
1183         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1184         be a GstClockTime.
1185         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1186         is a GstClockTime. Fixes #321710.
1187
1188         * gst/gstclock.h (GstClock): Remove offset property. Add
1189         internal_calibration and external_calibration. Fix padding. Pad
1190         also by GstClockTime so we don't run into problems.
1191
1192         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1193         (gst_clock_get_rate_offset): Remove.
1194         (gst_clock_set_time_adjust): Remove. Fixes #321712.
1195
1196         * gst/gstutils.h:
1197         * gst/gstutils.c (g_static_rec_cond_wait)
1198         (g_static_rec_cond_timed_wait): Removed, no longer needed.
1199
1200         * gst/gstbin.c: Remove terrible continue_state prototype.
1201
1202         * gst/gstelement.h (gst_element_continue_state): Make public.
1203
1204         * gst/gstelement.h:
1205         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1206         by continue_state. Fixes #319389.
1207
1208         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1209         Really fixes #168438. However I don't see anywhere where the
1210         filter function is called... stupid GStreamer...
1211         
1212         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1213         don't have a dispose function, so it won't get called when the
1214         object is unreffed, but oh well!
1215
1216         * gst/gstindex.c (gst_index_set_filter_full): New API function,
1217         allows a destroy function to be set so user_data can be freed.
1218         Fixes #168438.
1219         (gst_index_set_filter): Call gst_index_set_filter_full.
1220
1221         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1222
1223         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1224         string should produce an error, given the lack of a way to
1225         represent NULL strings. Fixes #165650.
1226         
1227         * gst/gstvalue.h: 
1228         * gst/gstvalue.c (gst_value_array_append_value) 
1229         (gst_value_array_prepend_value, gst_value_array_get_size) 
1230         (gst_value_array_get_value): New API, copied from
1231         gst_value_list_*, only operates on arrays.
1232         (gst_value_list_append_value, gst_value_list_prepend_value) 
1233         (gst_value_list_concat, gst_value_list_get_size) 
1234         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1235
1236         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1237         init_list, because it works on both.
1238         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1239         (gst_value_copy_list_or_array): Renamed from copy_list.
1240         (gst_value_free_list_or_array): Renamed from free_list.
1241         (gst_value_collect_list_or_array): Renamed from collect_list.
1242         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1243         (gst_value_list_or_array_peek_pointer): Renamed from
1244         list_peek_pointer.
1245         (_gst_value_array_value_table, _gst_value_list_value_table):
1246         Update value table functions.
1247         (gst_value_compare_list_or_array): Renamed from compare_list.
1248
1249         * gsttaglist.h: Whoops, foreach function returns void. Also fix
1250         some constness.
1251
1252         * gst/gsttaglist.c:
1253         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1254         GstTagList*. Fixes #143472.
1255
1256         * gst/gststructure.h: Clarify what the foreach/map functions can
1257         or can't do to their arguments.
1258
1259 2005-11-18  Wim Taymans  <wim@fluendo.com>
1260
1261         * gst/gstclock.c: (gst_clock_set_calibration),
1262         (gst_clock_get_calibration):
1263         Doc and API fixes.
1264         Calibration can be set with internal time equal to current
1265         internal time too.
1266
1267 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
1268
1269         * gst/gsterror.c:
1270         * gst/gsterror.h:
1271           document
1272
1273 2005-11-18  Andy Wingo  <wingo@pobox.com>
1274
1275         * configure.ac: 
1276         * pkgconfig/gstreamer-net.pc.in:
1277         * pkgconfig/gstreamer-net-uninstalled.pc.in:
1278         * pkgconfig/Makefile.am: Add net pkgconfig files.
1279
1280 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
1281
1282         * gst/gstcaps.c:
1283         * gst/gstghostpad.c:
1284         * gst/gsttrace.c:
1285         * gst/gstvalue.c:
1286         * gst/gstvalue.h:
1287           docs fixes
1288
1289 2005-11-18  Andy Wingo  <wingo@pobox.com>
1290
1291         * gst/net/gstnetclientclock.c: Turn off debugging.
1292
1293         * check/net/gstnetclientclock.c (test_functioning): Assert that the
1294         times connverge somewhat. Can't make a real test.
1295
1296         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1297         integer arithmetic. Return the minimum of the domain, which can be
1298         set as "internal" for gst_clock_set_calibration.
1299         (gst_net_client_clock_observe_times): Call _set_calibration.
1300         (gst_net_client_clock_new): Call _set_calibration instead of
1301         rate_offset.
1302
1303         * check/net/gstnetclientclock.c (test_functioning): Use the right
1304         adjustment api.
1305
1306         * gst/gstclock.h:
1307         * gst/gstclock.c (gst_clock_get_calibration) 
1308         (gst_clock_set_calibration): New functions, obsolete the ones I
1309         added yesterday. Doh. Precision issues mean we have to extrapolate
1310         from a point in the more recent past than 1970.
1311         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1312         obsolete.
1313         (gst_clock_adjust_unlocked): Use the right calibration data.
1314
1315 2005-11-18  Edward Hervey  <edward@fluendo.com>
1316
1317         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
1318         Also reset the ->current_* values in READY->PAUSED
1319
1320 2005-11-18  Andy Wingo  <wingo@pobox.com>
1321
1322         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1323         Whoops, check the right fd. Also add some debugging.
1324         (gst_net_client_clock_observe_times): Adjust for int64 offset.
1325         (do_linear_regression): Add a crapload of debugging. Subtract off
1326         the minimum values from the input series to discard unneeded bits.
1327         Use only int arithmetic. There is still double arithmetic when
1328         calculating the intercept that needs fixing. Return boolean to
1329         indicate success; FALSE would mean the domain or range is too
1330         great. Still needs fixes.
1331
1332 2005-11-18  Wim Taymans  <wim@fluendo.com>
1333
1334         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1335         For the current position in stream time, we need to subtract
1336         accumulated time.
1337         
1338         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1339         Release lock before calling the callback function of async
1340         entries.
1341
1342 2005-11-18  Andy Wingo  <wingo@pobox.com>
1343
1344         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1345         Port goes all the way to MAXUINT16.
1346
1347         * gst/net/gstnettimeprovider.c: Make the port range the same as
1348         for the kernel: 0 assigns, otherwise ports are less than
1349         MAXUINT16.
1350
1351         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1352         port change.
1353
1354         * check/net/gstnetclientclock.c (test_functioning): Add the start
1355         of another test. 
1356
1357 2005-11-18  Wim Taymans  <wim@fluendo.com>
1358
1359         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1360         (gst_bin_remove_func), (bin_bus_handler):
1361         * gst/gstbin.h:
1362         Removing a clock provider from a bin, triggers a clock lost message
1363         so that a new clock will be selected.
1364         Adding a clock to a bin triggers a clock provider message.
1365         Make sure we reselect a clock when we received a clock lost message.
1366         Keep a reference to the element that provided the clock.
1367
1368 2005-11-18  Andy Wingo  <wingo@pobox.com>
1369
1370         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1371         the clock initially so it produces values around the base time.
1372         (gst_net_client_clock_class_init): Typo fix.
1373         (gst_net_client_clock_thread): Add note on when the socket gets
1374         closed.
1375
1376 2005-11-17  Wim Taymans  <wim@fluendo.com>
1377
1378         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1379         Free remote and local time arrays.
1380
1381 2005-11-17  Wim Taymans  <wim@fluendo.com>
1382
1383         * gst/net/gstnetclientclock.c: (do_linear_regression),
1384         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1385         Fix compilation, uninitialized vars and a forgotten continue.
1386
1387 2005-11-17  Andy Wingo  <wingo@pobox.com>
1388
1389         * check/Makefile.am (check_PROGRAMS): 
1390         * check/net/gstnetclientclock.c: Add a most minimal test for the
1391         net client clock. More to come later.
1392
1393         * gst/net/gstnet.h: 
1394         * gst/net/Makefile.am: Add netclientclock.
1395
1396         * gst/net/gstnetclientclock.h:
1397         * gst/net/gstnetclientclock.c: New files, implement an untested
1398         GstClock that takes its time from a network time provider.
1399         Implements the algorithm in network-clock.scm.
1400
1401         * tests/network-clock.scm (*window-size*): Rename from
1402         *queue-length*.
1403         * tests/network-clock.scm (network-time): 
1404         * tests/network-clock-utils.scm (q-push): Update callers.
1405
1406 2005-11-17  Wim Taymans  <wim@fluendo.com>
1407
1408         * gst/gstbin.c: (gst_bin_provide_clock_func),
1409         (gst_bin_sort_iterator_new):
1410         And unref the child too..
1411
1412 2005-11-17  Wim Taymans  <wim@fluendo.com>
1413
1414         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1415         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1416         Refactor the sort iterator so it can be used while holding the
1417         LOCK too.
1418         Make clock selection select a clock closest to the source.
1419
1420 2005-11-17  Michael Smith <msmith@fluendo.com>
1421
1422         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1423         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1424         * gst/gstclock.h:
1425           Anonymous structs are a gcc (and some other compilers) extension, so
1426           don't use them. Since this is only for ABI-compatibility, and our
1427           API/ABI freeze is over in a few days, this whole thing will only
1428           last a few days, so don't bother trying to think up a meaningful
1429           name for the struct.
1430
1431 2005-11-17  Andy Wingo  <wingo@pobox.com>
1432
1433         * gst/gstclock.h (GstClock): Add rate and offset properties,
1434         preserving ABI stability. Add rate/offset accessors. Will file bug
1435         for the freeze break.
1436
1437         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1438         and offset, trying to keep precision and avoiding
1439         underflow/overflow.
1440         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1441         functions. Make gst_clock_set_time_adjust obsolete.
1442         (gst_clock_set_time_adjust): Note that this function is obsolete.
1443         Will file bug soon.
1444
1445         * gst/base/gstbasetransform.h: Make the ABI-stability hack
1446         greppable by using GST_PADDING-1+1.
1447
1448 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
1449
1450         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1451
1452         * gst/gstmessage.c: (gst_message_parse_clock_lost):
1453           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
1454
1455         * gst/gstpadtemplate.h:
1456         * gst/gstpluginfeature.h:
1457           Don't use c++ style comments in headers (#321638).
1458
1459 2005-11-16  Andy Wingo  <wingo@pobox.com>
1460
1461         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
1462         buffer.
1463
1464         * check/net/gstnettimeprovider.c: Check to see that the time
1465         provider actually provides times. Works, yo!
1466
1467 2005-11-16  Wim Taymans  <wim@fluendo.com>
1468
1469         * check/Makefile.am:
1470         Enable more tests.
1471
1472         * check/elements/fakesrc.c: (GST_START_TEST):
1473         Set element to NULL before disposing it.
1474
1475 2005-11-16  Andy Wingo  <wingo@pobox.com>
1476
1477         * gst/net/Makefile.am:
1478         * gst/net/gstnet.h:
1479         * gst/net/gstnettimeprovider.c: 
1480         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
1481         provider, include it from gstnet.h, and add it to the build.
1482
1483         * gst/net/gstnettimepacket.h: 
1484         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
1485         sending and receiving.
1486
1487 2005-11-16  Wim Taymans  <wim@fluendo.com>
1488
1489         * check/Makefile.am:
1490         Enable valgrind check.
1491
1492         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
1493         (gst_fake_src_alloc_buffer):
1494         Fix memleak.
1495
1496 2005-11-16  Wim Taymans  <wim@fluendo.com>
1497
1498         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
1499         Call parent finalize too.
1500
1501 2005-11-16  Wim Taymans  <wim@fluendo.com>
1502
1503         * check/Makefile.am:
1504         Enable valgrind check that should work fine now.
1505
1506         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1507         * gst/gstqueue.c: (gst_queue_init):
1508         Fix memleaks in pad allocation.
1509
1510 2005-11-16  Andy Wingo  <wingo@pobox.com>
1511
1512         * gst/net/Makefile.am:
1513         * gst/net/gstnet.h: New part of core to hold network elements and
1514         objects. Put in core because it exposes API that applications want
1515         to use. The library is named libgstnet-tempname right now because
1516         of the existing libgstnet in gst-plugins-base. Solution is
1517         probably to rename the one in plugins-base; will file a bug for
1518         the freeze break.
1519
1520         * gst/net/gstnettimeprovider.c: 
1521         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
1522         get_time call over the network.
1523
1524         * configure.ac: 
1525         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
1526
1527         * check/Makefile.am:
1528         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
1529         get additions shortly.
1530
1531 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1532
1533         * gst/gstpad.c: (gst_pad_new_from_static_template):
1534         * gst/gstpad.h:
1535           add gst_pad_new_from_static_template functions
1536         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
1537         (gst_check_setup_sink_pad):
1538         * gst/elements/gsttee.c: (gst_tee_init):
1539           and use them
1540
1541 2005-11-16  Wim Taymans  <wim@fluendo.com>
1542
1543         * gst/gstpad.c: (gst_pad_pause_task):
1544         Removed warning, it's not really an error either.
1545
1546 2005-11-16  Wim Taymans  <wim@fluendo.com>
1547
1548         * gst/base/gstbasetransform.c:
1549         (gst_base_transform_prepare_output_buf),
1550         (gst_base_transform_event):
1551         Check if the caps are NULL, this can happen if the element
1552         is shutting down and the pad caps are set to NULL.
1553
1554 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1555
1556         * gst/elements/gsttee.c: (gst_tee_init):
1557           fix pad template leak in tee
1558
1559 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1560
1561         * gst/glib-compat.c: (g_value_dup_gst_object):
1562         * gst/glib-compat.h:
1563         * gst/gstpad.c: (gst_pad_set_property):
1564           use gst_object_ref when setting the pad template; this will
1565           trigger the pad template leaks on GLib 2.6 and the slaves
1566
1567 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1568
1569         * gst/glib-compat.c: (gst_flags_get_first_value):
1570         * gst/glib-compat.h:
1571         * gst/gstregistryxml.c:
1572           remove functions copied from GLib 2.6
1573
1574 2005-11-16  Michael Smith <msmith@fluendo.com>
1575
1576         * gst/Makefile.am:
1577           Don't link against VALGRIND_LIBS. That was always the wrong thing to
1578           do, but only breaks with newer valgrind versions. We're not a
1579           valgrind tool, we have no link-time dependencies on libcoregrind.
1580
1581 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1582
1583         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1584           some debug changes
1585         * gst/gstmessage.h:
1586           typo fixes
1587
1588 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
1589
1590         * gst/base/gstbasesrc.c: (gst_base_src_init):
1591         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1592         * gst/gstqueue.c: (gst_queue_init):
1593         * gst/gstregistryxml.c: (load_feature):
1594           Revert all these unrefs, they don't even pass make check !
1595
1596 2005-11-15  Johan Dahlin  <johan@gnome.org>
1597
1598         * gst/base/gstbasesrc.c: (gst_base_src_init):
1599         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1600         * gst/gstqueue.c: (gst_queue_init): 
1601         Free pad templates, fixes a couple of leaks.
1602
1603 2005-11-15  Daniel Fischer  <dan at f3c dot com>
1604
1605         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
1606
1607         * gst/gstpad.c: (gst_pad_get_property):
1608           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
1609           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
1610           (#321452)
1611
1612 2005-11-15  Wim Taymans  <wim@fluendo.com>
1613
1614         * gst/gstevent.c:
1615         Small doc update.
1616
1617 2005-11-15  Andy Wingo  <wingo@pobox.com>
1618
1619         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
1620
1621         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
1622         using GST_CLOCK_TIME_NONE to disable base time management.
1623         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
1624         time if it was NONE before.
1625         (gst_pipeline_change_state): Only munge the base time if
1626         stream_time != GST_CLOCK_TIME_NONE.
1627
1628         * check/gst/gstpipeline.c (test_base_time): Punt around the
1629         problem of the probe not being called, because that's not the
1630         issue I'm looking at. Add a check that setting stream_time to NONE
1631         disables base time management.
1632         
1633 2005-11-15  Wim Taymans  <wim@fluendo.com>
1634
1635         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1636         segment_stop == -1 at startup.
1637
1638         * gst/base/gstbasetransform.c: (gst_base_transform_event),
1639         (gst_base_transform_change_state):
1640         Init segment values at start.
1641
1642 2005-11-15  Wim Taymans  <wim@fluendo.com>
1643
1644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1645         0 segment values are 0 in any format.
1646
1647         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1648         * gst/base/gstbasetransform.h:
1649         Parse newsegment correctly in basetransform
1650
1651         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1652         Sync to clock using updated segment values.
1653
1654 2005-11-15  Andy Wingo  <wingo@pobox.com>
1655
1656         * check/gst/gstpipeline.c (test_base_time): Add check that the
1657         base time and stream time are reset correctly.
1658
1659 2005-11-15  Wim Taymans  <wim@fluendo.com>
1660
1661         * docs/design/part-TODO.txt:
1662         Some more TODO items.
1663
1664 2005-11-15  Andy Wingo  <wingo@pobox.com>
1665
1666         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
1667         error if the user selected "no clock" as the clocking method.
1668
1669         * check/gst/gstpipeline.c (test_base_time): New test for buffer
1670         timestamps with live capture.
1671
1672         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
1673         is 0 but we are a live source, timestamp the buffers using the
1674         element's clock.
1675
1676 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
1677
1678         * docs/gst/gstreamer-sections.txt:
1679         * gst/gsterror.c:
1680         * gst/gstghostpad.c:
1681         * gst/gstobject.h:
1682         * gst/gstxml.c:
1683           more section docs
1684
1685 2005-11-14  Wim Taymans  <wim@fluendo.com>
1686
1687         * common/gst.supp:
1688           add suppressions from Wim's Debian machine
1689
1690 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
1691
1692         * common/gst.supp:
1693           add suppressions from Andy's AMD64 Ubuntu machine
1694
1695 2005-11-14  Andy Wingo  <wingo@pobox.com>
1696
1697         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
1698         STATE_LOCK not necessary. Fixes #311489.
1699
1700         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
1701         #305291.
1702
1703         * gst/gstindex.c (gst_index_add_object): Note in the docs that
1704         this function is not implemented.
1705
1706 2005-11-14  Julien MOUTTE  <julien@moutte.net>
1707
1708         * gst/base/gstbasetransform.c:
1709         (gst_base_transform_prepare_output_buf):
1710         Ref the source pad caps while we need them.
1711         Fixes (#321386)
1712
1713 2005-11-11  Wim Taymans  <wim@fluendo.com>
1714
1715         * docs/gst/gstreamer-sections.txt:
1716         Added some docs for GstCollectData.
1717
1718         * gst/base/gstadapter.c:
1719         Some small code example fix.
1720
1721         * gst/base/gstcollectpads.c:
1722         * gst/base/gstcollectpads.h:
1723         Document some more.
1724
1725 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
1726
1727         * configure.ac: back to HEAD
1728
1729 === release 0.9.5 ===
1730
1731 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
1732
1733         * configure.ac:
1734           releasing 0.9.5, "Bike Lunch Day"
1735
1736 2005-11-11  Wim Taymans  <wim@fluendo.com>
1737
1738         * gst/gstbuffer.c: (_gst_buffer_copy):
1739         Copy more flags.
1740
1741         * gst/gstcaps.c: (gst_caps_is_equal):
1742         Fix some docs.
1743         Make _is_equal fast in the trivial cases.
1744
1745         * gst/gstminiobject.c:
1746         * gst/gstminiobject.h:
1747         More docs. Spifify .h file.
1748
1749         * gst/gstutils.c:
1750         Small doc update.
1751
1752 2005-11-11  Wim Taymans  <wim@fluendo.com>
1753
1754         * gst/base/gstbasetransform.c:
1755         (gst_base_transform_prepare_output_buf),
1756         (gst_base_transform_handle_buffer):
1757         Small cleanups.
1758         If we're processing a buffer and need to allocate an output
1759         buffer, we cannot accept a format change. If we did get a 
1760         format change, we have to alloc a buffer ourselves of the 
1761         right size.
1762
1763 2005-11-11  Wim Taymans  <wim@fluendo.com>
1764
1765         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
1766         While checking the flag for reentrancy in the gstcaps function
1767         is nice to detect recursive invocations, it also makes it 
1768         impossible to call getcaps from multiple threads, which must be
1769         possible. So, checking for recursive calls has to go.
1770
1771 2005-11-11  Michael Smith <msmith@fluendo.com>
1772
1773         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1774           Don't sync on buffers that fall partially outside our current
1775           segment. Prevents an assertion failure/abort playing some files.
1776
1777 2005-11-10  Andy Wingo  <wingo@pobox.com>
1778
1779         * check/gst/gstbin.c (test_message_state_changed_children): Style
1780         fix..
1781
1782         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
1783         gst_bus_poll with the signal watch. Ensures that poll and a signal
1784         watch see the same messages.
1785
1786         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
1787         a poll and a watch at the same time get the same messages.
1788
1789 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1790
1791         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
1792         * gst/gstcaps.c: (gst_caps_intersect):
1793           Don't call gst_caps_do_simplify - it doesn't respect order of caps
1794           and it's not needed.
1795
1796 2005-11-10  Wim Taymans  <wim@fluendo.com>
1797
1798         * docs/design/part-TODO.txt:
1799         Updated todo.
1800
1801 2005-11-10  Wim Taymans  <wim@fluendo.com>
1802
1803         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1804         * gst/base/gstbasesrc.c: (gst_base_src_wait),
1805         (gst_base_src_do_sync), (gst_base_src_get_range):
1806         Implement clock sync in base class.
1807
1808 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1809
1810         patch by: Tim-Philipp Müller <tim at centricular dot net>
1811
1812         * gst/gststructure.c: (gst_structure_parse_field),
1813         (gst_structure_from_string):
1814           Forward-port a 0.8 patch to handle escaped spaces in structure string,
1815           so that gst_parse_launch() can deal with spaces in filtered link
1816           caps (fixes #164479)
1817         * check/gst/capslist.h:
1818         * check/gst/gststructure.c: (GST_START_TEST):
1819           add unit tests for this change
1820
1821 2005-11-10  Wim Taymans  <wim@fluendo.com>
1822
1823         * docs/gst/gstreamer-sections.txt:
1824         * gst/gstelement.c:
1825         * gst/gstelement.h:
1826         Fix docs, move some STATE macros to private.
1827
1828 2005-11-10  Wim Taymans  <wim@fluendo.com>
1829
1830         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1831         Added check for bug #317341
1832
1833         * gst/gstbuffer.c:
1834         * gst/gstbuffer.h:
1835         Some more spiffifying.
1836
1837         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
1838         Call peer linkfunction if we are a source pad. Totally fixes
1839         #317341
1840
1841         * gst/gstpad.c:
1842         Update docs, source pads should call the peer linkfunction
1843         so they can atomically perform the pad link.
1844
1845 2005-11-09  Wim Taymans  <wim@fluendo.com>
1846
1847         * gst/gstbuffer.c:
1848         * gst/gstbuffer.h:
1849         Uber-spiffy-spiffify some more.
1850
1851 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
1854         * gst/elements/gstfilesink.c: (gst_file_sink_init):
1855         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
1856         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
1857         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
1858         * gst/gstpad.c: (gst_pad_init):
1859           Use GST_DEBUG_FUNCPTR() more extensively.
1860
1861 2005-11-09  Wim Taymans  <wim@fluendo.com>
1862
1863         * gst/gstobject.c: (gst_object_class_init):
1864         * gst/gstobject.h:
1865         Documentation fixes.
1866
1867 2005-11-09  Edward Hervey  <edward@fluendo.com>
1868
1869         * gst/gsttypefindfactory.c:
1870         Fix docs.
1871         
1872 2005-11-09  Edward Hervey  <edward@fluendo.com>
1873
1874         * gst/base/gsttypefindhelper.c:
1875         * gst/gsttypefind.c:
1876         * gst/gsttypefind.h:
1877         Fix docs.
1878
1879 2005-11-09  Wim Taymans  <wim@fluendo.com>
1880
1881         * gst/gstiterator.c:
1882         Fix revision data.
1883
1884         * gst/gsttask.c:
1885         * gst/gsttask.h:
1886         Fix docs.
1887
1888 2005-11-09  Wim Taymans  <wim@fluendo.com>
1889
1890         * gst/gstevent.h:
1891         * gst/gsturi.h:
1892         Fix docs.
1893
1894 2005-11-09  Wim Taymans  <wim@fluendo.com>
1895
1896         * docs/gst/gstreamer-sections.txt:
1897         Moved the message async delivery private lock and cond
1898         to the private section.
1899
1900         * gst/gstmessage.c:
1901         * gst/gstmessage.h:
1902         Fixed docs.
1903
1904 2005-11-09  Edward Hervey  <edward@fluendo.com>
1905
1906         * docs/gst/gstreamer-sections.txt:
1907         * gst/gsturi.c:
1908         * gst/gsturi.h:
1909         Document GstURIHandler
1910
1911 2005-11-09  Wim Taymans  <wim@fluendo.com>
1912
1913         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
1914         (gst_iterator_find_custom):
1915         * gst/gstiterator.h:
1916         Fix iterator docs.
1917
1918 2005-11-09  Wim Taymans  <wim@fluendo.com>
1919
1920         * gst/gstbin.h:
1921         Document another field.
1922
1923         * gst/gststructure.c:
1924         * gst/gststructure.h:
1925         Document.
1926
1927 2005-11-09  Wim Taymans  <wim@fluendo.com>
1928
1929         * gst/gstbin.h:
1930         Documented structs.
1931
1932 2005-11-09  Wim Taymans  <wim@fluendo.com>
1933
1934         * docs/gst/gstreamer-sections.txt:
1935         Added some new macros.
1936
1937         * gst/gstclock.c:
1938         * gst/gstclock.h:
1939         * gst/gstobject.h:
1940         Docs updates.
1941
1942 2005-11-09  Wim Taymans  <wim@fluendo.com>
1943
1944         * docs/design/part-TODO.txt:
1945         Some more items for the TODO
1946
1947         * gst/gstcaps.c:
1948         * gst/gstcaps.h:
1949         Document GstCaps.
1950
1951 2005-11-09  Andy Wingo  <wingo@pobox.com>
1952
1953         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
1954         to work on something else now tho...
1955
1956         * gst/base/gstadapter.c: More adapter docs.
1957
1958         * gst/elements/gstfilesink.c (gst_file_sink_start) 
1959         (gst_file_sink_stop): New functions, replace the state change
1960         handler.
1961         (gst_file_sink_class_init): Hook up the start and stop functions.
1962         (gst_file_sink_base_init): Don't set the state change handler any
1963         more. It was a bit ugly too, being set from here...
1964         (gst_file_sink_get_property, gst_file_sink_set_property):
1965         Cleanups...
1966         (gst_file_sink_set_location): More robust check that doesn't call
1967         GST_STATE. Ugggggg.
1968
1969 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
1970
1971         * gst/base/gstbasetransform.c: (gst_base_transform_event):
1972           Hold STREAM_LOCK while pushing newsegment or tag events as well.
1973
1974 2005-11-08  Wim Taymans  <wim@fluendo.com>
1975
1976         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1977         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1978         (gst_base_sink_chain), (gst_base_sink_change_state):
1979         * gst/base/gstbasesink.h:
1980         * gst/base/gstbasesrc.h:
1981         * gst/gstelement.h:
1982         * gst/gstevent.h:
1983         Avoid excessive typechecking in macros.
1984
1985         * gst/gstminiobject.c: (gst_mini_object_get_type),
1986         (gst_mini_object_init), (gst_mini_object_new),
1987         (gst_mini_object_free):
1988         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
1989         (gst_object_finalize):
1990         Remove cruft code, optimize alloc_trace.
1991
1992 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1993
1994         * docs/faq/gst-uninstalled:
1995           fix up PS1 for systems that try to reset it
1996
1997 2005-11-07  Wim Taymans  <wim@fluendo.com>
1998
1999         * gst/base/gstbasesrc.c: (gst_base_src_init),
2000         (gst_base_src_get_range):
2001         Set the segment_end to -1 initially. Fixed typefind.
2002
2003 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2004
2005         * gst/base/gstadapter.c:
2006           Debug category should be 'adapter', not 'GstAdapter'.
2007           
2008         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2009         (gst_collectpads_class_init), (gst_collectpads_init),
2010         (gst_collectpads_peek), (gst_collectpads_pop),
2011         (gst_collectpads_event), (gst_collectpads_chain):
2012           Add debug category and some debugging output. Use boilerplate
2013           macros. Remove some extraneous words from docs.
2014
2015 2005-11-05  Andy Wingo  <wingo@pobox.com>
2016
2017         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2018         macro.
2019
2020 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2021
2022         * docs/gst/gstreamer-sections.txt:
2023         * gst/gstcaps.h:
2024         * gst/gstinfo.c:
2025         * gst/gstminiobject.h:
2026         * gst/gstobject.h:
2027         * gst/gstutils.h:
2028           more docs added
2029
2030 2005-11-04  Wim Taymans  <wim@fluendo.com>
2031
2032         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2033         Small update to stop at the configured segment_end
2034         position.
2035
2036 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
2037
2038         * gst/gstregistry.c:
2039         * gst/gstregistry.h:
2040           added missing docs
2041
2042 2005-11-04  Edward Hervey  <edward@fluendo.com>
2043
2044         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2045         Check if we are doing a segment seek and have arrived at the
2046         end of that segment.
2047
2048 2005-11-04  Wim Taymans  <wim@fluendo.com>
2049
2050         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2051         Don't leak a mutex unlock in case of an error.
2052
2053         * gst/gstbus.h:
2054         Doc fixes.
2055
2056 2005-11-04  Wim Taymans  <wim@fluendo.com>
2057
2058         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2059         (gst_bus_post):
2060         Get the context to wake up only once.
2061
2062 2005-11-03  Wim Taymans  <wim@fluendo.com>
2063
2064         * check/states/sinks.c: (GST_START_TEST):
2065         Uncomment fixed check.
2066
2067         * docs/design/part-TODO.txt:
2068         Updated TODO.
2069
2070         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2071         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2072         (gst_base_sink_get_position):
2073         If we are going to PLAYING, post the right pending state
2074         when we post the intermediate paused message.
2075
2076         * gst/gstelement.c: (gst_element_continue_state),
2077         (gst_element_set_state_func), (gst_element_change_state):
2078         Don't post state changes that were between the same state
2079         and were not ASYNC.
2080
2081 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2082
2083         * docs/gst/gstreamer-sections.txt:
2084         * gst/gstcaps.h:
2085         * gst/gstinfo.c:
2086         * gst/gstminiobject.h:
2087         * gst/gstobject.h:
2088         * gst/gstutils.h:
2089           more docs and doc style fixes
2090
2091 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
2092
2093         * docs/gst/gstreamer-sections.txt:
2094         * gst/gstelement.c:
2095         * gst/gstminiobject.c:
2096         doc fixes
2097
2098 2005-11-03  Andy Wingo  <wingo@pobox.com>
2099
2100         * check/states/sinks.c (test_livesrc_sink): Add checks that the
2101         state-changed messages actually have the right order and the right
2102         values.
2103
2104 2005-11-03  Wim Taymans  <wim@fluendo.com>
2105
2106         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2107         Added some more checks. Specifically the case where NO_PREROLL
2108         elements are in the pipeline.
2109
2110         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2111         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2112         (gst_base_sink_get_position):
2113         Post READY->PAUSED state change messages too.
2114         Fix bug where VOID was posted as pending state...
2115
2116         * gst/gstbin.c: (gst_bin_recalc_state):
2117         use _element_continue_state() to continue the state change.
2118
2119         * gst/gstelement.c: (gst_element_continue_state),
2120         (gst_element_commit_state), (gst_element_set_state_func),
2121         (gst_element_change_state), (gst_element_change_state_func):
2122         Lots of state change cleanups, assign the STATE_RETURN in
2123         a new continue_state() function that also propagates the
2124         last return value from a state change to the app.
2125         Update some debug statements with proper category.
2126
2127 2005-11-03  Wim Taymans  <wim@fluendo.com>
2128
2129         * docs/design/part-events.txt:
2130         * docs/design/part-gstpipeline.txt:
2131         * docs/design/part-messages.txt:
2132         * docs/design/part-overview.txt:
2133         * docs/design/part-seeking.txt:
2134         * docs/design/part-states.txt:
2135         * docs/design/part-trickmodes.txt:
2136         * docs/manual/advanced-position.xml:
2137         Small docs updates.
2138
2139         * gst/gstobject.h:
2140         People think !! is ugly, this looks better.
2141
2142         * gst/gstpad.c: (gst_pad_set_blocked_async):
2143         Remove !! since it's fixed elsewhere now.
2144
2145 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2146
2147         * gst/gstminiobject.h:
2148         * gst/gstobject.h:
2149           Add !! to _FLAG_IS_SET macros to make the result boolean.
2150
2151 2005-11-03  Edward Hervey  <edward@fluendo.com>
2152
2153         * gst/gstpad.c: (gst_pad_set_blocked_async):
2154         comparing a flag and a gboolean rarely returns coherent results...
2155         Added two characters (!!) to make that work correctly.
2156         
2157 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         * gst/gstbus.c: (gst_bus_class_init):
2160           Fix some typos.
2161           
2162         * gst/gstqueue.c: (gst_queue_loop):
2163           Don't assume a miniobject that isn't a buffer is an
2164           event (it could be that there is a refcounting
2165           problem somewhere and the pointer is stale and
2166           refers to an already destroyed miniobject).
2167
2168 2005-11-03  Julien MOUTTE  <julien@moutte.net>
2169
2170         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2171
2172 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2173
2174         * docs/manual/advanced-position.xml:
2175           Update seek example and explanations to current 0.9 API.
2176
2177         * gst/elements/gsttypefindelement.c:
2178         (gst_type_find_element_activate):
2179           Remove FIXME comment now that the found caps
2180           are unreffed.
2181
2182 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2183
2184         * gst/gstregistryxml.c: (load_feature):
2185           Add another GST_STR_NULL instance
2186
2187 2005-11-02  Edward Hervey  <edward@fluendo.com>
2188
2189         * gst/gstpad.c: (handle_pad_block):
2190         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2191         
2192 2005-11-02  Wim Taymans  <wim@fluendo.com>
2193
2194         * gst/gstbin.c:
2195         Fix typo in docs.
2196
2197         * gst/gstelement.c: (gst_element_commit_state):
2198         Remove unused value.
2199
2200         * gst/gstiterator.c:
2201         Mention that the returned element is reffed in the docs.
2202
2203 2005-11-02  Wim Taymans  <wim@fluendo.com>
2204
2205         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2206         (gst_pad_push), (gst_pad_push_event):
2207         Unlock blocked pads when they are flushed.
2208
2209 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2210
2211         * docs/README:
2212         * docs/gst/gstreamer-sections.txt:
2213         * gst/gstbin.c:
2214           doc updates
2215         * gst/gstregistry.c: (gst_registry_scan_path_level):
2216           fix for a nasty little missed situation where an installed plug-in
2217           which was in the cache did not get overridden by an uninstalled one
2218           which was earlier in the plugin path because the newly created plugin
2219           for the uninstalled one (not in the registry) didn't get its
2220           ->registered set to TRUE
2221
2222 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2223
2224         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2225         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2226         (gst_collectpads_is_active), (gst_collectpads_collect),
2227         (gst_collectpads_collect_range), (gst_collectpads_start),
2228         (gst_collectpads_stop), (gst_collectpads_peek),
2229         (gst_collectpads_pop), (gst_collectpads_available),
2230         (gst_collectpads_read), (gst_collectpads_flush):
2231           Guard public API with assertions.
2232         
2233         * gst/gstpad.c:
2234           Fix docs for gst_pad_set_link_function().
2235
2236 2005-11-02  Johan Dahlin  <johan@gnome.org>
2237
2238         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
2239         Unref found_caps after we used it.
2240
2241 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2242
2243         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2244           Don't try to ref NULL.
2245
2246 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2247
2248         * win32/common/config.h.in:
2249           provide a GST_FUNCTION that just gives a string for now
2250
2251 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2252
2253         * win32/common/gstenumtypes.c: (register_gst_object_flags),
2254         (gst_object_flags_get_type), (register_gst_bin_flags),
2255         (gst_bin_flags_get_type), (register_gst_buffer_flag),
2256         (gst_buffer_flag_get_type), (register_gst_bus_flags),
2257         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2258         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2259         (gst_clock_return_get_type), (register_gst_clock_entry_type),
2260         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2261         (gst_clock_flags_get_type), (register_gst_state),
2262         (gst_state_get_type), (register_gst_state_change_return),
2263         (gst_state_change_return_get_type), (register_gst_state_change),
2264         (gst_state_change_get_type), (register_gst_element_flags),
2265         (gst_element_flags_get_type), (register_gst_core_error),
2266         (gst_core_error_get_type), (register_gst_library_error),
2267         (gst_library_error_get_type), (register_gst_resource_error),
2268         (gst_resource_error_get_type), (register_gst_stream_error),
2269         (gst_stream_error_get_type), (register_gst_event_type),
2270         (gst_event_type_get_type), (register_gst_seek_type),
2271         (gst_seek_type_get_type), (register_gst_seek_flags),
2272         (gst_seek_flags_get_type), (register_gst_format),
2273         (gst_format_get_type), (register_gst_index_certainty),
2274         (gst_index_certainty_get_type), (register_gst_index_entry_type),
2275         (gst_index_entry_type_get_type),
2276         (register_gst_index_lookup_method),
2277         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2278         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2279         (gst_index_resolver_method_get_type), (register_gst_index_flags),
2280         (gst_index_flags_get_type), (register_gst_debug_level),
2281         (gst_debug_level_get_type), (register_gst_debug_color_flags),
2282         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2283         (gst_iterator_result_get_type), (register_gst_iterator_item),
2284         (gst_iterator_item_get_type), (register_gst_message_type),
2285         (gst_message_type_get_type), (register_gst_mini_object_flags),
2286         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2287         (gst_pad_link_return_get_type), (register_gst_flow_return),
2288         (gst_flow_return_get_type), (register_gst_activate_mode),
2289         (gst_activate_mode_get_type), (register_gst_pad_direction),
2290         (gst_pad_direction_get_type), (register_gst_pad_flags),
2291         (gst_pad_flags_get_type), (register_gst_pad_presence),
2292         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2293         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2294         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2295         (gst_plugin_error_get_type), (register_gst_plugin_flags),
2296         (gst_plugin_flags_get_type), (register_gst_rank),
2297         (gst_rank_get_type), (register_gst_query_type),
2298         (gst_query_type_get_type), (register_gst_tag_merge_mode),
2299         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2300         (gst_tag_flag_get_type), (register_gst_task_state),
2301         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2302         (gst_alloc_trace_flags_get_type),
2303         (register_gst_type_find_probability),
2304         (gst_type_find_probability_get_type), (register_gst_uri_type),
2305         (gst_uri_type_get_type), (register_gst_parse_error),
2306         (gst_parse_error_get_type):
2307         * win32/common/gstversion.h:
2308           update win32 copies
2309
2310 2005-11-01  Luca Ognibene  <luogni@tin.it>
2311
2312         * gst/gst.c:
2313           fix docs. popt is dead, long live GOption.
2314
2315 2005-10-31  Wim Taymans  <wim@fluendo.com>
2316
2317         * gst/gstbuffer.h:
2318         Small doc fix.
2319
2320 2005-10-31  Andy Wingo  <wingo@pobox.com>
2321
2322         * Boo!
2323
2324         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2325
2326         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2327         need to serialize property notifications on GLib 2.8. GLib 2.6 has
2328         the possibility of deadlocks here if code calling notify() or
2329         set() has a lock that can be taken in another notify handler (ABBA
2330         with class lock and e.g. python GIL state lock).
2331
2332 2005-10-28  Julien MOUTTE  <julien@moutte.net>
2333
2334         * gst/gstbus.c: Doc updates.
2335
2336 2005-10-28  Wim Taymans  <wim@fluendo.com>
2337
2338         * docs/design/part-TODO.txt:
2339         * gst/gstiterator.c:
2340         * gst/gstsystemclock.c:
2341         * gst/gstsystemclock.h:
2342         Doc updates.
2343
2344 2005-10-28  Edward Hervey  <edward@fluendo.com>
2345
2346         * docs/gst/gstreamer-docs.sgml:
2347         * docs/gst/gstreamer-sections.txt:
2348         the GstURIType documentation page is private, it only defines GstURIType
2349         which should be defined in the GstURIHandler page
2350         
2351 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2352
2353         * gst/gstbin.c: (gst_bin_class_init):
2354         * gst/gstbin.h:
2355         * gst/gstutils.c:
2356         Documentation updates.
2357
2358 2005-10-28  Wim Taymans  <wim@fluendo.com>
2359
2360         * docs/gst/gstreamer-sections.txt:
2361         * gst/gstclock.c:
2362         * gst/gstclock.h:
2363         Documented the clocks.
2364
2365 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
2366
2367         * docs/gst/gstreamer-sections.txt:
2368           move some macros to private sections
2369         * gst/gstminiobject.c:
2370         * gst/gstminiobject.h:
2371           add descriptions provided by ds and some more
2372         * gst/gstpad.h:
2373           mark macro as to be removed
2374
2375 2005-10-28  Wim Taymans  <wim@fluendo.com>
2376
2377         * docs/design/part-TODO.txt:
2378         Add an item to TODO.
2379
2380         * gst/gstiterator.c: (gst_iterator_fold),
2381         (gst_iterator_find_custom):
2382         * gst/gstiterator.h:
2383         Add iterator docs.
2384
2385 2005-10-28  Wim Taymans  <wim@fluendo.com>
2386
2387         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2388         (gst_base_transform_init):
2389         Don't leak class.
2390
2391         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2392         An EOS event marks the queue as completely filled.
2393
2394 2005-10-27  Wim Taymans  <wim@fluendo.com>
2395
2396         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2397         (gst_base_sink_do_sync), (gst_base_sink_get_position):
2398         Some more debugging.
2399
2400         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2401         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2402         (gst_base_transform_event), (gst_base_transform_getrange),
2403         (gst_base_transform_chain):
2404         * gst/base/gstbasetransform.h:
2405         Fix debugging,
2406         Protect transform and concurrent buffer alloc with a new lock.
2407         Try not to break ABI/API.
2408
2409 2005-10-27  Wim Taymans  <wim@fluendo.com>
2410
2411         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2412         (gst_base_src_init), (gst_base_src_query),
2413         (gst_base_src_default_newsegment),
2414         (gst_base_src_configure_segment), (gst_base_src_do_seek),
2415         (gst_base_src_send_event), (gst_base_src_event_handler),
2416         (gst_base_src_pad_get_range), (gst_base_src_loop),
2417         (gst_base_src_unlock), (gst_base_src_default_negotiate),
2418         (gst_base_src_start), (gst_base_src_deactivate),
2419         (gst_base_src_activate_push), (gst_base_src_change_state):
2420         Move some stuff around and cleanup things.
2421
2422 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
2423
2424         * gst/base/gstbasesrc.c: (gst_base_src_query):
2425           Add missing break statements.
2426
2427 2005-10-27  Wim Taymans  <wim@fluendo.com>
2428
2429         * check/gst/gstbin.c: (GST_START_TEST):
2430         An extra refcount is taken in basesrc.
2431
2432         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2433         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2434         (gst_base_src_loop):
2435         Small cleanups, check for flushing after being unlocked from the 
2436         LIVE_LOCK. take refcounts correctly (not yet everywhere).
2437         Don't send out EOS when going to READY.
2438
2439 2005-10-27  Wim Taymans  <wim@fluendo.com>
2440
2441         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2442         (gst_base_sink_get_position):
2443         Some more debug.
2444
2445         * gst/gstbin.c: (message_check), (bin_replace_message),
2446         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2447         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2448         (bin_query_duration_init), (bin_query_duration_fold),
2449         (bin_query_duration_done), (bin_query_generic_fold),
2450         (gst_bin_query):
2451         * tools/gst-launch.c: (main):
2452         Remove old option.
2453
2454 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
2455
2456         * examples/controller/audio-example.c: (main):
2457         * examples/queue/queue.c: (event_loop):
2458         * gst/base/gstbasetransform.h:
2459         * gst/gstelement.c: (gst_element_send_event):
2460         * gst/gstevent.h:
2461         * gst/gstpad.c: (gst_pad_send_event):
2462           fixing examples
2463           fixing docs typos
2464           changing log priority in error situations
2465
2466 2005-10-25  Wim Taymans  <wim@fluendo.com>
2467
2468         * gst/gstbin.c: (message_check), (bin_replace_message),
2469         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2470         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2471         (bin_query_duration_init), (bin_query_duration_fold),
2472         (bin_query_duration_done), (bin_query_generic_fold),
2473         (gst_bin_query):
2474         Some doc and debug updates.
2475         Cache previously requested query DURATION for speed. invalidate
2476         cached duration if element posts a DURATION message.
2477
2478 2005-10-25  Wim Taymans  <wim@fluendo.com>
2479
2480         * docs/design/part-TODO.txt:
2481         Update TODO.
2482
2483         * gst/gstbin.c: (message_check), (bin_replace_message),
2484         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2485         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
2486         (bin_query_duration_init), (bin_query_duration_fold),
2487         (bin_query_duration_done), (bin_query_generic_fold),
2488         (gst_bin_query):
2489         Handle SEGMENT_START/DONE messages correctly.
2490         More evolved query algorithm that handles duration queries
2491         correctly.
2492
2493         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
2494         (gst_element_get_state_func), (gst_element_abort_state),
2495         (gst_element_commit_state), (gst_element_lost_state):
2496         Some more debugging.
2497
2498         * gst/gstmessage.h:
2499         Added doc.
2500
2501 2005-10-25  Wim Taymans  <wim@fluendo.com>
2502
2503         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2504         Don't use invalid stream_time.
2505
2506         * gst/gstevent.c: (gst_event_new_newsegment):
2507         stream_time in newsegment cannot be undefined.
2508
2509 2005-10-24  Wim Taymans  <wim@fluendo.com>
2510
2511         * gst/gstbus.c:
2512         Doc fix.
2513
2514         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2515         (gst_queue_loop):
2516         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
2517
2518 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
2519
2520         * docs/libs/tmpl/gstdparam.sgml:
2521         * docs/libs/tmpl/gstdplinint.sgml:
2522         * docs/libs/tmpl/gstdpman.sgml:
2523         * docs/libs/tmpl/gstdpsmooth.sgml:
2524         * docs/libs/tmpl/gstunitconvert.sgml:
2525           these are obsolete
2526
2527 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2528
2529         * configure.ac:
2530           back to HEAD
2531
2532 === release 0.9.4 ===
2533
2534 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2535
2536         * configure.ac:
2537           releasing 0.9.4, "Tyrannosaurus Rex"
2538
2539 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
2540
2541         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2542         (gst_file_sink_get_current_offset):
2543           Use fseeko() and ftello() if available. When falling back on
2544           lseek() to get the current offset, fflush() first to make sure
2545           everything is up-to-date and we get the right offset.
2546
2547 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2548
2549         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2550         * gst/base/gstbasesrc.c: (gst_base_src_loop):
2551         * gst/gsterror.c: (_gst_stream_errors_init):
2552         * gst/gsterror.h:
2553         * gst/gstqueue.c: (gst_queue_loop):
2554         * po/POTFILES.in:
2555           remove prematurely added error category and clean up the instances
2556
2557 2005-10-21  Wim Taymans  <wim@fluendo.com>
2558
2559         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2560         (gst_base_sink_get_position), (gst_base_sink_query),
2561         (gst_base_sink_change_state):
2562         Simply set the right flag when going to playing, that's all
2563         we need to do instead of calling a function inside the object
2564         lock (that could take the lock as well and deadlock)
2565
2566 2005-10-21  Wim Taymans  <wim@fluendo.com>
2567
2568         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
2569         (gst_base_src_loop):
2570         Don't warn, the peer element knows what to do best when
2571         the seek failed, it might try something else.
2572
2573 2005-10-21  Wim Taymans  <wim@fluendo.com>
2574
2575         * gst/base/gstbasesrc.c: (gst_base_src_init),
2576         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2577         Fix seeking.
2578
2579 2005-10-21  Wim Taymans  <wim@fluendo.com>
2580
2581         * docs/design/part-segments.txt:
2582         More docs.
2583
2584         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2585         Correctly set caps, even on the subbufer.
2586
2587 2005-10-21  Wim Taymans  <wim@fluendo.com>
2588
2589         * docs/gst/gstreamer-docs.sgml:
2590         * docs/gst/gstreamer-sections.txt:
2591         * gst/gstelement.h:
2592         * gst/gstevent.c:
2593         * gst/gstevent.h:
2594         * gst/gstmessage.h:
2595         * gst/gstpad.h:
2596         * gst/gstparse.h:
2597         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
2598         * gst/gsttask.h:
2599         * gst/gstutils.c:
2600         * gst/gstutils.h:
2601         And 2% more doc coverage.
2602
2603 2005-10-21  Andy Wingo  <wingo@pobox.com>
2604
2605         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
2606         position reporting.
2607
2608 2005-10-20  Wim Taymans  <wim@fluendo.com>
2609
2610         * gst/gsterror.c: (gst_error_get_message):
2611         * gst/gstparse.h:
2612         * gst/gstquery.h:
2613         * gst/gststructure.c:
2614         * gst/gsttrace.c:
2615         * gst/gstutils.c:
2616         More docs.
2617
2618 2005-10-20  Wim Taymans  <wim@fluendo.com>
2619
2620         * gst/gstbuffer.h:
2621         * gst/gstpad.c:
2622         * gst/gstparse.c:
2623         Another 1% more coverage.
2624
2625 2005-10-20  Wim Taymans  <wim@fluendo.com>
2626
2627         * docs/gst/gstreamer-sections.txt:
2628         * gst/gstelement.c: (gst_element_get_state_func),
2629         (gst_element_abort_state), (gst_element_commit_state),
2630         (gst_element_lost_state):
2631         * gst/gstevent.h:
2632         * gst/gstquery.c: (gst_query_set_position),
2633         (gst_query_parse_position), (gst_query_set_duration),
2634         (gst_query_parse_duration), (gst_query_new_convert):
2635         * gst/gstutils.c:
2636         Yay! 1% more docs coverage.
2637
2638 2005-10-20  Wim Taymans  <wim@fluendo.com>
2639
2640         * gst/gstpad.h:
2641         * gst/gstquery.c: (gst_query_set_position),
2642         (gst_query_parse_position), (gst_query_set_duration),
2643         (gst_query_parse_duration), (gst_query_new_convert):
2644         * gst/gstquery.h:
2645         * gst/gstutils.c: (gst_element_query_convert):
2646         * gst/gstutils.h:
2647         Docs and consistency fixes.
2648
2649 2005-10-20  Wim Taymans  <wim@fluendo.com>
2650
2651         * gst/gsttask.c:
2652         * gst/gsttask.h:
2653         More docs.
2654
2655 2005-10-20  Wim Taymans  <wim@fluendo.com>
2656
2657         * gst/gstbin.c: (message_check), (bin_replace_message),
2658         (bin_remove_messages), (is_eos), (gst_bin_add_func),
2659         (update_degree), (gst_bin_sort_iterator_next),
2660         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
2661         Reworked the message handling a bit, cache the messages instead of
2662         only the senders. alows us to do more in the future.
2663
2664 2005-10-20  Wim Taymans  <wim@fluendo.com>
2665
2666         * docs/design/part-TODO.txt:
2667         Update TODO
2668
2669         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2670         (gst_base_sink_query):
2671         Don't use clock time to report position when in EOS.
2672
2673 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
2674
2675         * tools/gst-inspect.c: (print_interfaces),
2676         (print_element_properties_info), (print_element_info):
2677           Fix interface output with gst-inspect -a; don't print
2678           newlines after double/float properties.
2679
2680 2005-10-20  Wim Taymans  <wim@fluendo.com>
2681
2682         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
2683         (gst_base_sink_query):
2684         Speed up current position calculation.
2685
2686         * gst/base/gstbasesrc.c: (gst_base_src_query),
2687         (gst_base_src_default_newsegment):
2688         Correctly set stream position in newsegment.
2689
2690         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
2691         (update_degree), (gst_bin_sort_iterator_next),
2692         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
2693         * gst/gstmessage.c: (gst_message_new_custom):
2694         Clean up debugging info
2695
2696         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2697         (gst_queue_loop), (gst_queue_handle_src_query):
2698         Pause task faster.
2699
2700 2005-10-19  Wim Taymans  <wim@fluendo.com>
2701
2702         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2703         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2704         Fix query handling again.
2705
2706 2005-10-19  Wim Taymans  <wim@fluendo.com>
2707
2708         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2709         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
2710         * gst/base/gstbasesrc.c: (gst_base_src_query):
2711         * gst/elements/gstfilesink.c: (gst_file_sink_query):
2712         * gst/elements/gsttypefindelement.c:
2713         (gst_type_find_handle_src_query), (find_element_get_length),
2714         (gst_type_find_element_activate):
2715         API change fix.
2716
2717         * gst/gstquery.c: (gst_query_new_position),
2718         (gst_query_set_position), (gst_query_parse_position),
2719         (gst_query_new_duration), (gst_query_set_duration),
2720         (gst_query_parse_duration), (gst_query_set_segment),
2721         (gst_query_parse_segment):
2722         * gst/gstquery.h:
2723         Bundling query position/duration is not a good idea since duration
2724         does not change much and we don't want to recalculate it for every
2725         position query, so they are separated again..
2726         Base value in segment query is not needed.
2727
2728         * gst/gstqueue.c: (gst_queue_handle_src_query):
2729         * gst/gstutils.c: (gst_element_query_position),
2730         (gst_element_query_duration), (gst_pad_query_position),
2731         (gst_pad_query_duration):
2732         * gst/gstutils.h:
2733         Updates for query API change.
2734         Added some docs here and there.
2735
2736 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
2737
2738         * check/gst/gstbin.c: (GST_START_TEST):
2739         * check/gst/gstghostpad.c: (GST_START_TEST):
2740         * check/pipelines/cleanup.c: (GST_START_TEST):
2741           wait on thread to die so we can check refcount correctly
2742
2743 2005-10-18  Wim Taymans  <wim@fluendo.com>
2744
2745         * check/pipelines/stress.c: (GST_START_TEST):
2746         Make check a little more time consuming.
2747
2748 2005-10-18  Wim Taymans  <wim@fluendo.com>
2749
2750         * check/Makefile.am:
2751         * check/pipelines/stress.c: (GST_START_TEST),
2752         (simple_launch_lines_suite), (main):
2753         Small state change torture test.
2754
2755         * docs/design/part-states.txt:
2756         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2757         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
2758         (gst_base_sink_change_state):
2759         Never take state lock from streaming thread, clean up ugly
2760         hacks. Unfortunatly core does not yet support nice ways to
2761         async commit state.
2762         
2763         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
2764         (bin_bus_handler):
2765         Start state recalc if a STATE_DIRTY message is posted, but only
2766         on the toplevel bin.
2767
2768         * gst/gstelement.c: (gst_element_sync_state_with_parent),
2769         (gst_element_get_state_func), (gst_element_abort_state),
2770         (gst_element_commit_state), (gst_element_lost_state),
2771         (gst_element_set_state_func), (gst_element_change_state):
2772         * gst/gstelement.h:
2773         State variables are now protected with the LOCK, the state
2774         lock is only used to serialize _set_state().
2775
2776 2005-10-18  Wim Taymans  <wim@fluendo.com>
2777
2778         * check/gst/gstbin.c: (GST_START_TEST):
2779         * check/gst/gstmessage.c: (GST_START_TEST):
2780         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2781         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
2782         (bin_bus_handler):
2783         * gst/gstelement.c: (gst_element_abort_state),
2784         (gst_element_commit_state), (gst_element_lost_state):
2785         * gst/gstmessage.c: (gst_message_new_state_changed),
2786         (gst_message_new_state_dirty), (gst_message_new_segment_start),
2787         (gst_message_new_segment_done), (gst_message_new_duration),
2788         (gst_message_parse_state_changed),
2789         (gst_message_parse_segment_start),
2790         (gst_message_parse_segment_done), (gst_message_parse_duration):
2791         * gst/gstmessage.h:
2792         * tools/gst-launch.c: (event_loop):
2793         Seriously, this is better than a previous commit as we only need
2794         to notify the fact that an element changed state in a streaming
2795         thread, marking the state of the parents dirty, hence the 
2796         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
2797         message.
2798
2799 2005-10-18  Wim Taymans  <wim@fluendo.com>
2800
2801         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2802         (gst_bin_recalc_func):
2803         * gst/gstelement.c: (gst_element_set_clock),
2804         (gst_element_abort_state), (gst_element_lost_state):
2805         Cleanups, prepare for state change fixes.
2806
2807 2005-10-18  Wim Taymans  <wim@fluendo.com>
2808
2809         * gst/gstbin.h:
2810         * gst/gstelement.c: (gst_element_class_init),
2811         (gst_element_set_state), (gst_element_set_state_func):
2812         * gst/gstelement.h:
2813         Pending ABI changes.
2814         GThreadPool in GstBinClass to monitor async state changes.
2815         state_cookie in GstElement to detect concurrent gst/set state.
2816         set_state is now virtual too in case a very complicated element
2817         has to be constructed.
2818
2819 2005-10-18  Wim Taymans  <wim@fluendo.com>
2820
2821         * check/gst/gstbin.c: (GST_START_TEST):
2822         * check/gst/gstmessage.c: (GST_START_TEST):
2823         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2824         * gst/gstbin.c: (bin_bus_handler):
2825         * gst/gstelement.c: (gst_element_commit_state),
2826         (gst_element_lost_state):
2827         * gst/gstmessage.c: (gst_message_new_state_changed),
2828         (gst_message_new_segment_start), (gst_message_new_segment_done),
2829         (gst_message_new_duration), (gst_message_parse_state_changed),
2830         (gst_message_parse_segment_start),
2831         (gst_message_parse_segment_done), (gst_message_parse_duration):
2832         * gst/gstmessage.h:
2833         * tools/gst-launch.c: (event_loop):
2834         Make messages future proof.
2835         state-change gets a flag if it was a message comming from the
2836         streaming thread.
2837         segment-start/stop can also be specified in other formats.
2838         A message to notify an app that a pipeline changed playback 
2839         duration.
2840         Also fix a GstMessage leak in -launch
2841
2842 2005-10-18  Andy Wingo  <wingo@pobox.com>
2843
2844         * gst/gstelement.c (gst_element_dispose): More helpful message.
2845
2846 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2847
2848         reviewed by: <delete if not using a buddy>
2849
2850         * common/gtk-doc.mak:
2851
2852 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
2853
2854         * gst/gstregistry.c: (gst_registry_scan_path_level):
2855           unref a plug-in we get that was already initialized
2856
2857 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
2858
2859         * docs/gst/gstreamer-sections.txt:
2860         * docs/libs/gstreamer-libs-sections.txt:
2861         * gst/gstelement.h:
2862           add new api entries
2863           hide internal macro
2864
2865 2005-10-17  Andy Wingo  <wingo@pobox.com>
2866
2867         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
2868         cleanup.
2869
2870         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
2871
2872         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
2873
2874         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
2875         (gst_element_get_state_func): Better debug message.
2876         (gst_element_commit_state): s/INFO/DEBUG/.
2877         (gst_element_lost_state, gst_element_change_state): 
2878
2879         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
2880         (gst_message_new_custom): s/INFO/LOG/.
2881
2882 2005-10-17  Michael Smith <msmith@fluendo.com>
2883
2884         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2885           Check if end time is valid using end time, not start time.
2886
2887 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
2888
2889         * check/gst-libs/controller.c: (GST_START_TEST),
2890         (gst_controller_suite):
2891         * libs/gst/controller/gstcontroller.c:
2892         (gst_controlled_property_set_interpolation_mode):
2893         * libs/gst/controller/gstcontroller.h:
2894         * libs/gst/controller/gstinterpolation.c:
2895         * testsuite/controller/.cvsignore:
2896         * testsuite/controller/Makefile.am:
2897         * testsuite/controller/interpolator.c:
2898           merge controller testsuites
2899           fix broken tests
2900           remove mem-chunk from docs
2901
2902 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2903
2904         * gst/gstmemchunk.c:
2905         * gst/gstmemchunk.h:
2906         * gst/gsttrashstack.c:
2907         * gst/gsttrashstack.h:
2908           out.  get out.  you're fired.  to the Attic !
2909
2910 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2911
2912         * gst/gstcaps.c: (gst_caps_intersect):
2913           fix signedness issues in a (hopefully) correct way
2914         * gst/gstelement.c: (gst_element_pads_activate):
2915           some debugging
2916         * gst/gstobject.c: (gst_object_set_parent):
2917           some debugging
2918
2919 2005-10-17  Julien MOUTTE  <julien@moutte.net>
2920
2921         * gst/gstvalue.h: Fix prototypes.
2922
2923 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2924
2925         * docs/gst/gstreamer-sections.txt:
2926         * gst/gst.c: (gst_version_string):
2927         * gst/gst.h:
2928         * gst/gstversion.h.in:
2929         * win32/common/libgstreamer.def:
2930           add gst_version_string ()
2931
2932 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2933
2934         * configure.ac:
2935           clean up further
2936         * gst/gst.c: (init_post):
2937         * win32/common/config.h.in:
2938           it's PLUGINDIR now
2939         * gst/gstcaps.c: (gst_caps_intersect):
2940           use gint64, the range could be bigger than a guint
2941
2942 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2943
2944         * gst/gstclock.h:
2945           document potential problem in 2038
2946
2947 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2948
2949         * gst/gstcaps.c: (gst_caps_intersect):
2950           Fix guint j diving under 0
2951
2952 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2953
2954         * configure.ac:
2955         * win32/common/config.h:
2956         * win32/common/config.h.in:
2957           check for process.h, declares getpid() on Windows
2958         * gst/gstinfo.c:
2959           include process.h if we have it
2960         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
2961         * gst/gstmemchunk.h:
2962           fix signedness issues
2963         * win32/common/libgstreamer.def:
2964           fix get_type's
2965
2966 2005-10-16  Julien MOUTTE  <julien@moutte.net>
2967
2968         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
2969         fix. Because of unsigned ints, caps intersection was going nuts and
2970         trying to access structures with G_MAXUINT index. That fixes
2971         videotestsrc ! ffmpegcolorspace ! fakesink
2972         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
2973         consistency.
2974
2975 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2976
2977         * configure.ac:
2978           use the gettext macro
2979         * gst/elements/gstelements.c:
2980         * gst/gst.c:
2981         * gst/indexers/gstindexers.c:
2982           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
2983         * win32/common/config.h:
2984           updated config.h
2985         * win32/common/config.h.in:
2986           add the template to generate config.h
2987         * win32/common/gstenumtypes.c:
2988         * win32/common/gstversion.h:
2989           updated copies
2990
2991 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
2992
2993         * gst/gst.c: (gst_version):
2994         * gst/gstversion.h.in:
2995           add the nano
2996
2997 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2998
2999         * gst/gstevent.h:
3000           Oops, add missing closing bracket.
3001
3002 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3003
3004         * configure.ac:
3005           use common m4's for argument checking
3006
3007 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3008
3009         * docs/gst/gstreamer-sections.txt:
3010         * gst/gstevent.h:
3011           Add GST_EVENT_TYPE_NAME() macro.
3012
3013 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3014
3015         * gst/gstinfo.c:
3016         * gst/gstpluginfeature.c:
3017         * gst/gsttask.c:
3018           privatize more symbols
3019
3020 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3021
3022         * configure.ac:
3023           add srcdir, builddir includes to GST_ALL_CFLAGS, since
3024           everything that uses GStreamer API should have the includes
3025
3026 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3027
3028         * docs/gst/gstreamer-sections.txt:
3029         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3030         * gst/gstvalue.h:
3031           give each value a _get_type, removes the DATA exports
3032
3033 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3034
3035         * gst/gst.c:
3036         * gst/gst.h:
3037           remove _gst_registry_auto_load, not used anymore
3038         * gst/gstbin.c: (gst_bin_get_type):
3039         * gst/gstbin.h:
3040         * gst/gstelement.c: (gst_element_get_type):
3041         * gst/gstelement.h:
3042         * gst/gstobject.c: (gst_object_get_type):
3043         * gst/gstobject.h:
3044         * gst/gstpad.c: (gst_pad_get_type):
3045         * gst/gstpad.h:
3046           make _get_type functions similar, fixes data export from library
3047
3048 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3049
3050         * configure.ac:
3051           correctly make conditionals
3052         * gst/elements/Makefile.am:
3053         * gst/elements/gstelements.c:
3054           fix typo causing fdsrc not to build
3055
3056 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3057
3058         * testsuite/Makefile.am:
3059         * testsuite/bytestream/.cvsignore:
3060         * testsuite/bytestream/Makefile.am:
3061         * testsuite/bytestream/filepadsink.c:
3062         * testsuite/bytestream/gstbstest.c:
3063         * testsuite/bytestream/test1.c:
3064         * testsuite/bytestream/testfile1:
3065         * testsuite/caps/normalisation.c:
3066         * testsuite/caps/random.c: (main):
3067         * testsuite/cleanup/.cvsignore:
3068         * testsuite/cleanup/Makefile.am:
3069         * testsuite/cleanup/cleanup1.c:
3070         * testsuite/cleanup/cleanup2.c:
3071         * testsuite/cleanup/cleanup3.c:
3072         * testsuite/cleanup/cleanup4.c:
3073         * testsuite/cleanup/cleanup5.c:
3074         * testsuite/controller/interpolator.c:
3075         * testsuite/debug/printf_extension.c: (main):
3076         * testsuite/elements/tee.c:
3077         * testsuite/negotiation/.cvsignore:
3078         * testsuite/negotiation/Makefile.am:
3079         * testsuite/negotiation/pad_link.c:
3080         * testsuite/pad/Makefile.am:
3081         * testsuite/pad/chainnopull.c:
3082         * testsuite/pad/getnopush.c:
3083         * testsuite/pad/link.c:
3084         * testsuite/refcounting/sched.c: (create_pipeline):
3085         * testsuite/registry/Makefile.am:
3086         * testsuite/registry/gst-print-formats.c:
3087         * testsuite/schedulers/.cvsignore:
3088         * testsuite/schedulers/142183-2.c:
3089         * testsuite/schedulers/142183.c:
3090         * testsuite/schedulers/143777-2.c:
3091         * testsuite/schedulers/143777.c:
3092         * testsuite/schedulers/147713.c:
3093         * testsuite/schedulers/147819.c:
3094         * testsuite/schedulers/147894-2.c:
3095         * testsuite/schedulers/147894.c:
3096         * testsuite/schedulers/Makefile.am:
3097         * testsuite/schedulers/group_link.c:
3098         * testsuite/schedulers/queue_link.c:
3099         * testsuite/schedulers/relink.c:
3100         * testsuite/schedulers/unlink.c:
3101         * testsuite/schedulers/unref.c:
3102         * testsuite/schedulers/useless_iteration.c:
3103         * testsuite/states/bin.c:
3104           clean out/remove some stuff from the testsuite directories
3105
3106 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3107
3108         * configure.ac:
3109           check for some headers
3110         * gst/elements/Makefile.am:
3111         * gst/elements/gstelements.c:
3112           don't compile fdsrc without sys/socket.h
3113         * gst/indexers/Makefile.am:
3114         * gst/indexers/gstindexers.c: (plugin_init):
3115           don't compile fileindex without mmap
3116
3117 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3118
3119         * configure.ac:
3120           reorganize
3121           clean up
3122           document more
3123           remove cruft
3124         * check/Makefile.am:
3125         * docs/gst/Makefile.am:
3126         * examples/helloworld/Makefile.am:
3127         * gst/Makefile.am:
3128         * gst/base/Makefile.am:
3129         * gst/check/Makefile.am:
3130         * gst/elements/Makefile.am:
3131         * gst/indexers/Makefile.am:
3132         * gst/parse/Makefile.am:
3133         * libs/gst/controller/Makefile.am:
3134         * libs/gst/dataprotocol/Makefile.am:
3135         * examples/helloworld/helloworld.c: (event_loop):
3136           compile fixes, though it's not being compiled currently
3137
3138 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3139
3140         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3141           Add some simple tests for the new taglist date API.
3142
3143 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3144
3145         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3146         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3147           Beautify 'last-message' output: print 'none' for buffer timestamps
3148           and durations if none is set; improve alignment with next messages.
3149
3150 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
3151
3152         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3153         * gst/gstpluginfeature.h:
3154         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3155         * gst/gstregistry.h:
3156         * docs/gst/gstreamer-sections.txt:
3157           Add new API to check plugin feature version requirements.
3158
3159         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3160           Some basic tests for the above.         
3161
3162 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3163
3164         * gst/gststructure.c: (gst_structure_to_string):
3165           guard against NULL printf - happens when for example
3166           a message structure with GstClock gets serialized
3167
3168 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3169
3170         * gst/base/gstcollectpads.c: (gst_collectpads_event):
3171           Fix presumable copy'n'pasto.
3172
3173 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3174
3175         * gst/elements/gstfakesrc.h:
3176         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3177         * gst/elements/gsttypefindelement.c:
3178           fix some signedness
3179         * gst/elements/gstfilesink.c: (gst_file_sink_render):
3180           I wonder if this could actually write +2GB files before
3181
3182 2005-10-13  Andy Wingo  <wingo@pobox.com>
3183
3184         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3185         Fix Timmeke Waymans bug.
3186         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3187         string of the proper length to gst_caps_from_string. There's a
3188         potential for, before this fix, that this could cause someone
3189         connecting over the network to cause a segfault if the payload is
3190         not NUL-terminated.
3191
3192 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3193
3194         * docs/design/draft-push-pull.txt:
3195         * docs/design/part-overview.txt:
3196         * docs/random/TODO-pre-0.9:
3197         * docs/random/old/ChangeLog.gstreamer:
3198         * gst/base/gstpushsrc.c:
3199         * gst/gstclock.c:
3200           fixed typos
3201
3202 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3203
3204         * gst/glib-compat.c: (gst_flags_get_first_value):
3205         * gst/glib-compat.h:
3206         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3207         (gst_value_compare_double), (gst_value_serialize_flags):
3208           GLib 2.6 g_flags_get_first_value has a bug that triggers an
3209           infinite loop
3210
3211 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3212
3213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3214         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3215           fix up debugging
3216         * tools/gst-launch.c: (event_loop):
3217           print out clock nicely
3218
3219 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3220
3221         * docs/gst/gstreamer-sections.txt:
3222         * gst/gsttaglist.h:
3223         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3224         (gst_tag_list_get_date_index):
3225           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3226           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3227
3228 2005-10-13  Julien MOUTTE  <julien@moutte.net>
3229
3230         * gst/base/gstcollectpads.c: (gst_collectpads_event),
3231         (gst_collectpads_chain):
3232         * gst/base/gstcollectpads.h: Handle newsegment and store informations
3233         in CollectData.
3234
3235 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
3236
3237         * docs/gst/gstreamer-sections.txt:
3238         * gst/gst.c:
3239         * gst/gsterror.h:
3240         * tools/gst-inspect.c: (main):
3241         * tools/gst-launch.c: (main):
3242         * tools/gst-run.c: (main):
3243         * tools/gst-xmlinspect.c: (main):
3244           fix GOption context leaks
3245           doc fixes
3246
3247 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3248
3249         * gst/gstbus.c:
3250           use HAVE_UNISTD_H
3251         * win32/common/config.h:
3252           update config
3253         * win32/vs6/grammar.dsp:
3254         * win32/vs6/libgstelements.dsp:
3255         * win32/vs6/libgstreamer.dsp:
3256           update vs6 files
3257
3258 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3259
3260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3261         * gst/base/gstbasesrc.c: (gst_base_src_query):
3262           fix more guint64<->gdouble conversions
3263
3264 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3265
3266         * Makefile.am:
3267           add win32-update target
3268         * win32/common/gstconfig.h:
3269         * win32/common/gstenumtypes.c:
3270         * win32/common/gstenumtypes.h:
3271         * win32/common/gstversion.h:
3272           add files that visual studio can't generate
3273
3274 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3275
3276         * Makefile.am:
3277           add a win32-update target
3278         * configure.ac:
3279
3280 2005-10-12  Wim Taymans  <wim@fluendo.com>
3281
3282         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3283         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3284         * gst/gstelement.c: (gst_element_commit_state),
3285         (gst_element_set_state):
3286         Protect flags with proper lock.
3287         unref provided cached clock in dispose.
3288
3289 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3290
3291         * gst/gst.c:
3292         * gst/gstminiobject.h:
3293         * gst/gstpad.h:
3294         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3295           removed unused flags from miniobject
3296           doc fixes
3297
3298 2005-10-12  Wim Taymans  <wim@fluendo.com>
3299
3300         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3301         (gst_file_sink_event), (gst_file_sink_render):
3302         Flush before seeking.
3303
3304 2005-10-12  Andy Wingo  <wingo@pobox.com>
3305
3306         * gst/gst.c (gst_init_check): Ignore unknown options, as has
3307         always been the case.
3308
3309 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
3310
3311         * check/gst/gstbin.c: (GST_START_TEST):
3312         * docs/gst/gstreamer-sections.txt:
3313         * gst/base/gstbasesink.c: (gst_base_sink_init):
3314         * gst/base/gstbasesrc.c: (gst_base_src_init),
3315         (gst_base_src_get_range), (gst_base_src_check_get_range),
3316         (gst_base_src_start), (gst_base_src_stop):
3317         * gst/base/gstbasesrc.h:
3318         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3319         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3320         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3321         (bin_bus_handler):
3322         * gst/gstbin.h:
3323         * gst/gstbuffer.h:
3324         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3325         * gst/gstbus.h:
3326         * gst/gstelement.c: (gst_element_is_locked_state),
3327         (gst_element_set_locked_state), (gst_element_commit_state),
3328         (gst_element_set_state):
3329         * gst/gstelement.h:
3330         * gst/gstindex.c: (gst_index_init):
3331         * gst/gstindex.h:
3332         * gst/gstminiobject.h:
3333         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3334         (gst_object_set_parent):
3335         * gst/gstobject.h:
3336         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3337         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3338         * gst/gstpad.h:
3339         * gst/gstpadtemplate.h:
3340         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3341         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3342         * gst/gstpipeline.h:
3343         * gst/indexers/gstfileindex.c: (gst_file_index_load),
3344         (gst_file_index_commit):
3345         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3346         * testsuite/pad/link.c: (gst_test_src_init),
3347         (gst_test_filter_init), (gst_test_sink_init):
3348         * testsuite/states/locked.c: (main):
3349           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3350           moved bitshift from macro to enum definition
3351
3352 2005-10-12  Wim Taymans  <wim@fluendo.com>
3353
3354         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3355         * gst/elements/gstfilesink.c: (gst_file_sink_event),
3356         (gst_file_sink_render):
3357         Some more debugging info.
3358
3359 2005-10-12  Wim Taymans  <wim@fluendo.com>
3360
3361         * docs/design/part-states.txt:
3362         * tools/gst-launch.c: (main):
3363         Some doc updates.
3364         Revert non-intentional change.
3365
3366 2005-10-12  Wim Taymans  <wim@fluendo.com>
3367
3368         * check/gst/gstbin.c: (GST_START_TEST):
3369         * check/gst/gstelement.c: (GST_START_TEST):
3370         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3371         * check/gst/gstghostpad.c: (GST_START_TEST):
3372         * check/gst/gstpipeline.c: (GST_START_TEST):
3373         * check/pipelines/simple_launch_lines.c: (run_pipeline):
3374         * check/states/sinks.c: (GST_START_TEST):
3375         * gst/elements/gsttypefindelement.c: (stop_typefinding):
3376         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3377         (gst_bin_remove_func), (gst_bin_get_state_func),
3378         (gst_bin_recalc_state), (gst_bin_change_state_func),
3379         (bin_bus_handler):
3380         * gst/gstelement.c: (gst_element_get_state_func),
3381         (gst_element_get_state), (gst_element_abort_state),
3382         (gst_element_commit_state), (gst_element_set_state),
3383         (gst_element_change_state), (gst_element_change_state_func):
3384         * gst/gstelement.h:
3385         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3386         (gst_pipeline_provide_clock_func):
3387         * gst/gstutils.c: (gst_element_link_pads_filtered):
3388         * tools/gst-launch.c: (main):
3389         * tools/gst-typefind.c: (main):
3390         Use GstClockTime in _get_state() instead of GTimeVal.
3391         Remove old code in gstutils.c
3392
3393 2005-10-12  Andy Wingo  <wingo@pobox.com>
3394
3395         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3396         removed.
3397
3398         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3399         there is no task. Shouldn't affect any code, as nothing in our
3400         plugins checks this return value.
3401         (gst_pad_stop_task): Also take the stream lock if the pad has no
3402         task. Docs updated.
3403
3404 2005-10-12  Wim Taymans  <wim@fluendo.com>
3405
3406         * gst/gstpad.c: (pre_activate), (post_activate),
3407         (gst_pad_activate_pull), (gst_pad_activate_push):
3408         Cleanup activation code. Reset old state if
3409         activation failed.
3410
3411 2005-10-12  Wim Taymans  <wim@fluendo.com>
3412
3413         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3414         (gst_base_sink_change_state):
3415         No need to prerol after receiving EOS.
3416
3417         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3418         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3419         * gst/elements/gstidentity.c: (gst_identity_event):
3420         Print events more verbosely.
3421
3422 2005-10-12  Wim Taymans  <wim@fluendo.com>
3423
3424         * check/Makefile.am:
3425         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3426         * check/states/sinks2.c:
3427         Moved sinks2 testcode in sinks check.
3428
3429         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3430         (gst_bin_remove_func), (gst_bin_recalc_state),
3431         (gst_bin_change_state_func), (bin_bus_handler):
3432         Fix potential race condition when _get_state() iterated over an
3433         ASYNC element right before it posted a state completion.
3434
3435         * gst/gstclock.h:
3436         Do proper cast here.
3437
3438         * gst/gstevent.c: (gst_event_new_newsegment),
3439         (gst_event_parse_newsegment):
3440         A playback rate of 0.0 is not allowed.
3441
3442 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3443
3444         * win32/common/config.h:
3445         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
3446         (_trewinddir), (_ttelldir), (_tseekdir):
3447         * win32/common/dirent.h:
3448         * win32/common/gtchar.h:
3449         * win32/common/libgstbase.def:
3450         * win32/common/libgstreamer.def:
3451         * win32/vs6/grammar.dsp:
3452         * win32/vs6/gst_inspect.dsp:
3453         * win32/vs6/gst_launch.dsp:
3454         * win32/vs6/gstreamer.dsw:
3455         * win32/vs6/libgstbase.dsp:
3456         * win32/vs6/libgstelements.dsp:
3457         * win32/vs6/libgstreamer.dsp:
3458           Visual Studio 6 project files, and a new common directory.
3459           Phear.
3460
3461 2005-10-11  Wim Taymans  <wim@fluendo.com>
3462
3463         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3464         (gst_base_sink_do_sync), (gst_base_sink_query),
3465         (gst_base_sink_change_state):
3466         * gst/base/gstbasesink.h:
3467         Correctly parse newsegment info.
3468
3469 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3470
3471         * gst/gst.c: (init_post):
3472           split plugin paths correctly
3473
3474 2005-10-11  Wim Taymans  <wim@fluendo.com>
3475
3476         * check/gst/gstevent.c: (GST_START_TEST):
3477         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3478         (gst_base_sink_change_state):
3479         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
3480         * gst/base/gstbasetransform.c: (gst_base_transform_event):
3481         * gst/elements/gstfilesink.c: (gst_file_sink_event):
3482         * gst/gstevent.c: (gst_event_new_newsegment),
3483         (gst_event_parse_newsegment):
3484         * gst/gstevent.h:
3485         Added extra flag to newsegment for future API freeze.
3486         Updated check and base elements.
3487
3488 2005-10-11  Julien MOUTTE  <julien@moutte.net>
3489
3490         * gst/base/gstcollectpads.c: (gst_collectpads_init),
3491         (gst_collectpads_add_pad), (gst_collectpads_pop),
3492         (gst_collectpads_event), (gst_collectpads_chain):
3493         * gst/base/gstcollectpads.h: Handle EOS correctly.
3494
3495 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3496
3497         * tools/gst-launch.c: (main):
3498           more null protecting
3499
3500 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3501
3502         * gst/gst-i18n-lib.h:
3503           check for ENABLE_NLS, not GETTEXT_PACKAGE
3504         * gst/gstregistry.c: (gst_registry_add_plugin),
3505         (gst_registry_scan_path_level),
3506         (_gst_registry_remove_cache_plugins):
3507           protect possibly NULL strings
3508         * gst/parse/types.h:
3509           config.h already included before
3510         * tools/gst-inspect.c: (main):
3511           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
3512           check for ENABLE_NLS, not GETTEXT_PACKAGE
3513         * tools/gst-launch.c: (main):
3514           check for ENABLE_NLS, not GETTEXT_PACKAGE
3515
3516 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3517
3518         * configure.ac:
3519           if we don't have glib, fail before testing 2.8
3520         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
3521           fix a leak, should fix plugins-base testsuite
3522
3523 2005-10-11  Andy Wingo  <wingo@pobox.com>
3524
3525         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
3526         take the mode we're going to as an arg. Go head and set the mode
3527         and flushing flags now, so that if the activate function starts a
3528         thread all the flags will be in the right state.
3529         (post_activate): Renamed also. Just handle making sure streaming
3530         finishes for the deactivation case, and setting the deactivated
3531         mode.
3532         (gst_pad_set_active): Complain loudly if deactivation fails.
3533         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
3534         (gst_pad_activate_push): Adapt to pre/post_activate changes,
3535         remove the terrible hack.
3536
3537 2005-10-11  Wim Taymans  <wim@fluendo.com>
3538
3539         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3540         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
3541         (gst_bin_recalc_state), (gst_bin_change_state_func),
3542         (gst_bin_dispose), (bin_bus_handler):
3543         * gst/gstbin.h:
3544         Prepare to make current EOS message queue more generic.
3545         Fix some typos.
3546
3547         * gst/gstevent.c: (gst_event_new_newsegment),
3548         (gst_event_parse_newsegment):
3549         * gst/gstevent.h:
3550         Rename base to stream_time.
3551
3552         * gst/gstmessage.h:
3553         Fix typo in docs.
3554
3555 2005-10-11  Wim Taymans  <wim@fluendo.com>
3556
3557         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
3558         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
3559         (gst_bin_change_state_func), (bin_bus_handler):
3560         * gst/gstbin.h:
3561         Work on proper clock selection.
3562
3563 2005-10-11  Edward Hervey  <edward@fluendo.com>
3564
3565         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
3566         * libs/gst/controller/gstcontroller.h:
3567         Added GList* version of _remove_properties() in order to be able to wrap
3568         it in bindings.
3569
3570 2005-10-11  Wim Taymans  <wim@fluendo.com>
3571
3572         * docs/design/part-states.txt:
3573         Some more docs.
3574
3575         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
3576         (gst_bin_change_state_func), (bin_bus_handler):
3577         Doc updates. Don't distribute the same clock over and over again.
3578
3579         * gst/gstclock.c:
3580         * gst/gstclock.h:
3581         Doc updates.
3582
3583         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
3584         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
3585         (gst_pad_send_event):
3586         * gst/gstpad.h:
3587         Make probe emission threadsafe again.
3588         Register quarks and move _get_name() from utils.
3589         Doc updates.
3590
3591         * gst/gstpipeline.c: (gst_pipeline_class_init),
3592         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3593         Only redistribute the clock of it changed.
3594
3595         * gst/gstsystemclock.h:
3596         Doc updates. 
3597
3598         * gst/gstutils.c:
3599         * gst/gstutils.h:
3600         Moved the _flow_get_name() to GstPad.
3601
3602 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3603
3604         * check/gst-libs/gdp.c: (GST_START_TEST):
3605         * check/gst/gstcaps.c: (GST_START_TEST):
3606         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
3607         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
3608         (gst_dp_packet_from_caps):
3609           fix more valgrind warnings before turning up the heat
3610
3611 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
3612
3613         * gst/parse/grammar.y:
3614           some cleanup before the hacking
3615
3616 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3617
3618         * gst/base/gstbasesrc.c: (gst_base_src_query):
3619           use conversions
3620         * gst/gstutils.c: (gst_guint64_to_gdouble),
3621         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
3622         * gst/gstutils.h:
3623           externalize, basesrc uses it
3624           obviously the implementation needs testing
3625
3626 2005-10-10  Wim Taymans  <wim@fluendo.com>
3627
3628         * tests/sched/Makefile.am:
3629         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
3630         (make_pipeline3), (make_pipeline4), (print_elem), (main):
3631
3632 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3633
3634         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
3635           apparently converting from guint64 to double is not implemented
3636           on MSVC
3637
3638 2005-10-10  Wim Taymans  <wim@fluendo.com>
3639
3640         * check/Makefile.am:
3641         * check/generic/states.c: (GST_START_TEST):
3642         * check/gst/gstbin.c: (GST_START_TEST):
3643         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3644         * check/states/sinks.c: (GST_START_TEST):
3645         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
3646         (main):
3647         Check fixes, use API as stated in design docs, remove hacks.
3648
3649         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3650         (gst_base_sink_change_state):
3651         Catch stopping our task while we're shutting down.
3652
3653         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3654         (gst_bin_remove_func), (gst_bin_get_state_func),
3655         (gst_bin_recalc_state), (gst_bin_change_state_func),
3656         (bin_bus_handler):
3657         * gst/gstbin.h:
3658         * gst/gstelement.c: (gst_element_init),
3659         (gst_element_get_state_func), (gst_element_abort_state),
3660         (gst_element_commit_state), (gst_element_lost_state),
3661         (gst_element_set_state), (gst_element_change_state),
3662         (gst_element_change_state_func):
3663         * gst/gstelement.h:
3664         New state change algorithm (see #318116)
3665
3666         * gst/gstpipeline.c: (gst_pipeline_class_init),
3667         (gst_pipeline_init), (gst_pipeline_set_property),
3668         (gst_pipeline_get_property), (do_pipeline_seek),
3669         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
3670         * gst/gstpipeline.h:
3671         Remove crude state change hacks.
3672
3673         * gst/gstutils.h:
3674         Remove crude hacks.
3675
3676         * tools/gst-launch.c: (main):
3677         Fixes for state change. Needs some more work to fully use the
3678         new stuff.
3679
3680 2005-10-10  Andy Wingo  <wingo@pobox.com>
3681
3682         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
3683
3684         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
3685         this flag, but it's not even in GLib 2.6. Odd. Hack around the
3686         issue.
3687
3688 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3689
3690         * gst/gstiterator.c: (gst_iterator_new):
3691           Fix my previous commit: GTypes passed to gst_iterator_new()
3692           can be fundamental types.
3693
3694 2005-10-10  Wim Taymans  <wim@fluendo.com>
3695
3696         * gst/gstelement.c: (gst_element_iterate_pad_list),
3697         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
3698         (gst_element_iterate_sink_pads):
3699         Use src/sink pads lists for the respective iterators instead
3700         of filtering.
3701
3702 2005-10-10  Andy Wingo  <wingo@pobox.com>
3703
3704         Merged in popt removal + GOption addition patch from Ronald, bug
3705         #169772.
3706
3707         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
3708         GstElement macros around, remove popt-related symbols, add goption
3709         stuff.
3710
3711         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
3712         
3713         * docs/gst/Makefile.am:
3714         * docs/libs/Makefile.am: No POPT_CFLAGS.
3715         
3716         * examples/manual/Makefile.am:
3717         * docs/manual/basics-init.xml: Doc updates with an example.
3718         
3719         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3720         (gst_init), (parse_one_option), (parse_goption_arg):
3721         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
3722         bit of hand merging and debugging to get the GOption stuff working
3723         tho.
3724         
3725         * tests/Makefile.am:
3726         * tools/Makefile.am:
3727         * tools/gst-inspect.c: (main):
3728         * tools/gst-launch.c: (main):
3729         * tools/gst-run.c: (main):
3730         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
3731
3732 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3733
3734         * gst/gstiterator.c: (gst_iterator_new):
3735           Add assertions to make sure passed GType is likely to really
3736           be a GType (as the compiler won't catch it if the size and
3737           GType arguments get mixed up, see #318447).
3738
3739 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
3740
3741         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3742
3743         * gst/gstbin.c: (gst_bin_iterate_sorted):
3744           Pass GType and size arguments to gst_iterator_new() in the right
3745           order (maybe we should make _new() take the GType as first argument
3746           just like _new_list()?) (#318447).
3747           
3748
3749 2005-10-10  Wim Taymans  <wim@fluendo.com>
3750
3751         * gst/gstelement.c: (gst_element_finalize):
3752         And free the GStaticRecMutex too
3753
3754 2005-10-10  Andy Wingo  <wingo@pobox.com>
3755
3756         * gst/gstelement.c (gst_element_init, gst_element_finalize):
3757         Allocate and free the mutex properly.
3758
3759         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
3760         New macros.
3761         (GstElement): The state_lock is now recursive. Rebuild your
3762         plugins, suckers. Old macros adapted.
3763
3764         * docs/gst/gstreamer-sections.txt: Doc updates.
3765
3766         * gst/gstutils.h:
3767         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
3768         (g_static_rec_cond_wait): Ported from state changes patch, while
3769         we wait on bug #317802 to be solved in a well-distributed GLib.
3770
3771         * gst/gstelement.c (gst_element_change_state_func): Renamed from
3772         gst_element_change_state, variable name changes.
3773         (gst_element_change_state): Split out of gst_element_set_state in
3774         preparation for the state change merge. Doesn't pay attention to
3775         the 'transition' argument.
3776         (gst_element_set_state): Updates, hopefully purely cosmetic.
3777         (gst_element_sync_state_with_parent): MT-safety. Ported from the
3778         state change patch.
3779         (gst_element_get_state_func): Renamed from get_state, cosmetic
3780         changes.
3781
3782 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3783
3784         * gst/elements/gstelements.c:
3785         * win32/GStreamer.vcproj:
3786         * win32/config.h:
3787         * win32/dirent.c: (_tseekdir):
3788         * win32/gst-inspect.vcproj:
3789         * win32/gst-launch.vcproj:
3790         * win32/gstconfig.h:
3791         * win32/gstelements.vcproj:
3792         * win32/gstenumtypes.c: (gst_object_flags_get_type):
3793         * win32/gstreamer.def:
3794         * win32/msvc71.sln:
3795           updates for the win32 build (patch from Sebastien Moutte)
3796
3797 2005-10-10  Andy Wingo  <wingo@pobox.com>
3798
3799         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
3800         gst_bin_get_state, cleaned up (but no logic changes).
3801         (bin_element_is_sink): Comment updates.
3802         (sink_iterator_filter): Remove needless cast.
3803         (gst_bin_iterate_sinks): Doc update.
3804         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
3805         cleaned up (but no logic changes).
3806
3807         * check/states/sinks.c (test_src_sink): Cleanups from the state
3808         change patch.
3809         (test_livesrc_sink): Sync on the state.
3810
3811         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
3812         the state change patch.
3813
3814         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
3815         change patch.
3816
3817         * check/gst/gstbin.c: Merge in some style fixes and additional
3818         checks from Wim's state change patch.
3819
3820 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3821
3822         * gst/base/gsttypefindhelper.c: (helper_find_peek),
3823         (gst_type_find_helper):
3824           Check whether we have the requested data already in our list of
3825           cached buffers before pulling a new buffer; also make the buffer
3826           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
3827
3828 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3829
3830         * gst/gstcaps.c:
3831         * gst/gstevent.c:
3832           doc updates
3833         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3834           don't use long long, it's not portable.  Replacing with
3835           gint64 seems to work; let's hope no skeletons fall out of the closet.
3836
3837 2005-10-10  Andy Wingo  <wingo@pobox.com>
3838
3839         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
3840
3841 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
3842
3843         * docs/gst/gstreamer-sections.txt:
3844         * gst/gstevent.c:
3845         * gst/gstevent.h:
3846         * gst/gstinfo.c:
3847         * gst/gstinfo.h:
3848         * gst/gstmessage.c: (gst_message_parse_state_changed):
3849         * gst/gstpad.c:
3850         * gst/gstpad.h:
3851           more docs, fix compilation
3852
3853 2005-10-09  Philippe Khalaf <burger@speedy.org>
3854         * gst/gstmessage.c:
3855           Fixed a few forgotten variables on previous commit
3856
3857 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * gst/base/gsttypefindhelper.c: (helper_find_peek):
3860           Fix evil typefind crasher: getrange() might return a short
3861           buffer at the end of a file, but gst_type_find_peek() must
3862           either return the full data as requested or NULL, but
3863           never a short buffer.
3864
3865 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3866
3867         * gst/gstmessage.c: (gst_message_new_state_changed),
3868         (gst_message_parse_state_changed):
3869         * gst/gstmessage.h:
3870           don't use "new", it's a C++ keyword
3871
3872 2005-10-08  Wim Taymans  <wim@fluendo.com>
3873
3874         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
3875         * gst/gstelement.c: (gst_element_post_message):
3876         * gst/gstpipeline.c: (gst_pipeline_change_state):
3877         Small docs and debug updates.
3878
3879 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3880
3881         * docs/gst/gstreamer-sections.txt:
3882         * gst/gstelementfactory.c:
3883         * gst/gstevent.c:
3884         * gst/gsttaglist.c:
3885           more docs
3886
3887 2005-10-08  Wim Taymans  <wim@fluendo.com>
3888
3889         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
3890         (gst_bin_dispose), (bin_bus_handler):
3891         Fix typos, add comments.
3892         Clear EOS list when going to PAUSED from any direction and do it
3893         in a threadsafe way.
3894         Get base time in a threadsafe way too.
3895         Fix confusing debug in the change_state function.
3896         Various other small cleanups.
3897         
3898         * gst/gstelement.c: (gst_element_post_message):
3899         Fix very verbose bus posting code.
3900
3901         * gst/gstpipeline.c: (gst_pipeline_class_init),
3902         (gst_pipeline_set_property), (gst_pipeline_get_property),
3903         (gst_pipeline_change_state):
3904         Small ARG_ -> PROP_ cleanup
3905
3906 2005-10-08  Wim Taymans  <wim@fluendo.com>
3907
3908         * gst/gstbin.c: (is_eos), (bin_bus_handler):
3909         Do a less CPU demanding EOS check because we can.
3910
3911 2005-10-08  Wim Taymans  <wim@fluendo.com>
3912
3913         * libs/gst/dataprotocol/dataprotocol.c:
3914         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
3915         (gst_dp_packet_from_event):
3916         * libs/gst/dataprotocol/dataprotocol.h:
3917         * libs/gst/dataprotocol/dp-private.h:
3918         It's about time we bump the version number.
3919         Since event types don't fit in the guint8 anymore describing
3920         the payload type, make payload type 16 bits wide.
3921
3922 2005-10-08  Wim Taymans  <wim@fluendo.com>
3923
3924         * docs/design/part-TODO.txt:
3925         * docs/design/part-clocks.txt:
3926         * docs/design/part-events.txt:
3927         * docs/design/part-gstbin.txt:
3928         * docs/design/part-gstelement.txt:
3929         * docs/design/part-gstpipeline.txt:
3930         * docs/design/part-live-source.txt:
3931         * docs/design/part-messages.txt:
3932         * docs/design/part-overview.txt:
3933         * docs/design/part-states.txt:
3934         Many doc updates.
3935
3936 2005-10-08  Wim Taymans  <wim@fluendo.com>
3937
3938         * gst/gstevent.c:
3939         * gst/gstevent.h:
3940         Fix event quark registration.
3941         Add some space between events so we can insert them in the
3942         right groups.
3943
3944 2005-10-08  Wim Taymans  <wim@fluendo.com>
3945
3946         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3947         (gst_base_sink_handle_buffer):
3948         Better log message.
3949
3950         * gst/gstbus.h:
3951         * gst/gstelement.h:
3952         More docs.
3953
3954         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
3955         (gst_queue_set_property), (gst_queue_get_property):
3956         * gst/gstqueue.h:
3957         Remove old unused properties.
3958
3959 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
3960         * docs/gst/gstreamer-sections.txt:
3961         * gst/gstmessage.c:
3962         * gst/gstmessage.h:
3963         * gst/gstminiobject.c:
3964         * gst/gstminiobject.h:
3965         * gst/gstobject.h:
3966         * gst/gstpad.h:
3967         * gst/gstutils.h:
3968           lots of new docs and doc fixes
3969
3970 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3971
3972         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
3973         * gst/gstplugin.h:
3974         * gst/gstregistry.c: (gst_registry_lookup_locked),
3975         (gst_registry_scan_path_level):
3976         * gst/gstregistryxml.c: (load_plugin):
3977           Only ever load one plugin for a given plugin basename.
3978           This ensures correct overriding of GST_PLUGIN_PATH over
3979           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
3980           system installed plugins.
3981
3982 2005-10-08  Wim Taymans  <wim@fluendo.com>
3983
3984         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3985         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
3986         Prepare for doing QOS.
3987
3988 2005-10-08  Wim Taymans  <wim@fluendo.com>
3989
3990         * check/gst/gstbin.c: (GST_START_TEST):
3991         * check/pipelines/cleanup.c: (GST_START_TEST):
3992         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3993         Allow new clock message too.
3994
3995 2005-10-08  Wim Taymans  <wim@fluendo.com>
3996
3997         * gst/gstmessage.c: (gst_message_new_error),
3998         (gst_message_new_warning), (gst_message_new_tag),
3999         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4000         (gst_message_new_clock_lost), (gst_message_new_new_clock),
4001         (gst_message_new_segment_start), (gst_message_new_segment_done),
4002         (gst_message_parse_state_changed),
4003         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4004         (gst_message_parse_new_clock):
4005         * gst/gstmessage.h:
4006         Also carry the clock in question.
4007
4008 2005-10-08  Wim Taymans  <wim@fluendo.com>
4009
4010         * gst/gstmessage.c: (gst_message_new_custom),
4011         (gst_message_new_eos), (gst_message_new_error),
4012         (gst_message_new_warning), (gst_message_new_tag),
4013         (gst_message_new_state_changed), (gst_message_new_clock_provide),
4014         (gst_message_new_new_clock), (gst_message_new_segment_start),
4015         (gst_message_new_segment_done), (gst_message_parse_state_changed),
4016         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4017         * gst/gstmessage.h:
4018         Clean up.
4019         Added clock related messages.
4020
4021         * gst/gstpipeline.c: (gst_pipeline_change_state):
4022         Post message when the clock changed.
4023
4024         * tools/gst-launch.c: (event_loop):
4025         Print new clock.
4026
4027 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4028
4029         * tools/gst-inspect.c: (print_element_properties_info):
4030           Can't pass NULL strings to g_print() on windows.
4031
4032 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4033
4034         * docs/Makefile.am:
4035         * docs/gst/Makefile.am:
4036         * docs/gst/gstreamer-docs.sgml:
4037         * docs/gst/running.xml:
4038         * docs/version.entities.in:
4039           add a chapter on running GStreamer.
4040           document GST_DEBUG and GST_PLUGIN* env vars
4041
4042 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4043
4044         * Makefile.am:
4045           remove include dir
4046         * configure.ac:
4047           remove PLUGINS_BUILDDIR stuff
4048         * gst/gst.c: (init_post):
4049           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4050         * idiottest.mak:
4051           remove, it was condescending and not needed
4052
4053 2005-10-08  Wim Taymans  <wim@fluendo.com>
4054
4055         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4056         (gst_base_sink_handle_object), (gst_base_sink_event),
4057         (gst_base_sink_wait), (gst_base_sink_handle_event),
4058         (gst_base_sink_change_state):
4059         * gst/base/gstbasesink.h:
4060         Repost EOS message while going to PLAYING if still EOS.
4061         Make sure that when receiving a FLUSH_START we don't attempt
4062         to sync on the clock anymore.
4063
4064 2005-10-08  Wim Taymans  <wim@fluendo.com>
4065
4066         * tools/gst-launch.c: (event_loop):
4067         Better message printout.
4068
4069 2005-10-08  Wim Taymans  <wim@fluendo.com>
4070
4071         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4072         (gst_bin_child_proxy_get_children_count):
4073         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4074         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4075         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4076         (gst_child_proxy_set_valist):
4077         * gst/parse/grammar.y:
4078         Make ChildProxy threadsafe and fix mem leaks.
4079
4080 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4081
4082         * gst/gst.c: (init_post):
4083           debug the GST_PLUGIN_ env vars
4084
4085 2005-10-08  Wim Taymans  <wim@fluendo.com>
4086
4087         * check/gst/gstbin.c: (GST_START_TEST):
4088         * check/gst/gstmessage.c: (GST_START_TEST):
4089         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4090         * gst/gstelement.c: (gst_element_commit_state),
4091         (gst_element_lost_state):
4092         * gst/gstmessage.c: (gst_message_new_state_changed),
4093         (gst_message_parse_state_changed):
4094         * gst/gstmessage.h:
4095         * tools/gst-launch.c: (event_loop):
4096         Added extra field to STATE_CHANGE message with the pending
4097         state, which will be different from the new state soon.
4098
4099 2005-10-08  Wim Taymans  <wim@fluendo.com>
4100
4101         * gst/gstbus.c: (gst_bus_pop):
4102         * gst/gstclock.c:
4103         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4104         Small cleanups and doc updates.
4105
4106 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
4107
4108         * gst/gst.c: (init_pre):
4109         * gst/gstbin.c: (gst_bin_add_func):
4110           log distributing clocks and base time
4111         * gst/gstregistry.c: (gst_registry_add_plugin),
4112         (gst_registry_scan_path_level), (gst_registry_scan_path):
4113           clean up the debugging output a little
4114         * gst/gstutils.c: (gst_element_state_get_name):
4115           warn about a memleak (I've actually seen this be used, though
4116           it was probably a bug)
4117
4118 2005-10-07  Wim Taymans  <wim@fluendo.com>
4119
4120         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4121         (gst_base_src_init), (gst_base_src_default_newsegment),
4122         (gst_base_src_newsegment), (gst_base_src_do_seek),
4123         (gst_base_src_loop), (gst_base_src_start):
4124         * gst/base/gstbasesrc.h:
4125         Make the newsegment event customizable by subclasses.
4126
4127 2005-10-07  Wim Taymans  <wim@fluendo.com>
4128
4129         * gst/gstevent.c: (gst_event_new_buffersize),
4130         (gst_event_parse_buffersize):
4131         * gst/gstevent.h:
4132         New event for future idea.
4133
4134 2005-10-07  Andy Wingo  <wingo@pobox.com>
4135
4136         * gst/gstelement.c (gst_element_post_message): Doc update.
4137
4138         * docs/gst/gstreamer-sections.txt: Update.
4139
4140         * gst/gstmessage.c (gst_message_new_application): Made into a
4141         function like honest API calls.
4142         (gst_message_new_element): New message type.
4143
4144         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4145
4146         * check/elements/fakesrc.c (test_no_preroll): New check, checks
4147         that setting a live fakesrc to PAUSED returns NO_PREROLL both
4148         times.
4149
4150         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4151         NO_PREROLL from gst_element_change_state to fall through.
4152
4153 2005-10-07  Wim Taymans  <wim@fluendo.com>
4154
4155         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4156         (gst_ghost_pad_do_activate_push):
4157         Activating a ghostpad with no internal pad in push mode
4158         is ok.
4159
4160 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4161
4162         * gst/gstobject.h:
4163           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4164           Fixes compilation on Windows.
4165
4166 2005-10-07  Michael Smith <msmith@fluendo.com>
4167
4168         * tools/gst-inspect.c:
4169           Print out feature and plugin count at the end when printing out
4170           all features.
4171
4172 2005-10-04  Michael Smith <msmith@fluendo.com>
4173
4174         * gst/gsterror.c: (_gst_stream_errors_init):
4175           Add another error string used in a few existing plugins.
4176
4177         * gst/gstplugin.c:
4178         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4179         * tools/gst-inspect.c: (print_element_info):
4180           When a feature disappears from a plugin (and the feature exists in
4181           the cached registry file), things went horribly wrong. This isn't a
4182           complete fix, we should actually be removing the 'missing' features
4183           from the features list when we load the actual plugin. That's not
4184           yet implemented. 
4185
4186 2005-10-04  Johan Dahlin  <johan@gnome.org>
4187
4188         * check/gst/gstiterator.c: (GST_START_TEST):
4189         * gst/gstbin.c: (gst_bin_iterate_elements),
4190         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4191         * gst/gstelement.c: (gst_element_iterate_pads):
4192         * gst/gstformat.c: (gst_format_iterate_definitions):
4193         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4194         (gst_iterator_new_list), (gst_iterator_filter):
4195         * gst/gstiterator.h:
4196         * gst/gstquery.c: (gst_query_type_iterate_definitions):
4197         Add a GType to GstIterator, update callsites and tests.
4198
4199 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4200
4201         * gst/gstpad.c: (gst_pad_event_default_dispatch):
4202           give events a chance to be handled by event probes when the pad
4203           is not linked
4204
4205 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4206
4207         * gst/gstevent.c: (gst_event_type_get_name),
4208         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4209         * gst/gstevent.h:
4210           add string representations for event types
4211
4212 2005-10-06  Wim Taymans  <wim@fluendo.com>
4213
4214         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4215         Don't use NULL pointers.
4216
4217 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4218
4219         * gst/gst_private.h:
4220         * gst/gstbus.c:
4221         * gst/gstelement.c:
4222         * gst/gstinfo.c:
4223         * gst/gstpluginfeature.c:
4224           widen the debug category in output to fit the biggest one we have
4225           add a bus category and use it
4226           play with the colors
4227           fix up some categories
4228
4229 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4230
4231         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4232           add push activation of sink ghost pads.
4233           Andye, please verify
4234
4235 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4236
4237         * gst/gstutils.c: (gst_element_link_pads):
4238           fix a bug in the case where neither element has a pad
4239         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4240           add a test for that case
4241
4242 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4243
4244         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4245           emit have-data before checking for peers.  This allows
4246           for probe handlers to connect elements.  This helps autopluggers.
4247         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4248         (gst_pad_suite):
4249           add six checks, linked/unlinked with no/true/false probe
4250
4251 2005-10-04  Wim Taymans  <wim@fluendo.com>
4252
4253         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4254         (gst_fake_sink_event), (gst_fake_sink_preroll),
4255         (gst_fake_sink_render), (gst_fake_sink_change_state):
4256         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4257         (gst_fake_src_get_property), (gst_fake_src_create),
4258         (gst_fake_src_stop):
4259         * gst/elements/gstidentity.c: (gst_identity_stop):
4260         Protect last_message with lock.
4261
4262 2005-10-04  Edward Hervey  <edward@fluendo.com>
4263
4264         * gst/gstformat.h: 
4265         Added precision in the comments for GST_FORMAT_DEFAULT
4266
4267 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
4268
4269         * tools/gst-launch.c: (main):
4270           Don't try to run erroneous pipelines.
4271
4272 2005-10-04  Julien MOUTTE  <julien@moutte.net>
4273
4274         * gst/gstbus.c: We don't need this header.
4275
4276 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4277
4278         * configure.ac:
4279           back to development
4280
4281 === release 0.9.3 ===
4282
4283 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
4284
4285         * README:
4286         * configure.ac:
4287           Releasing 0.9.3, "Unregistered"
4288
4289 2005-10-03  Andy Wingo  <wingo@pobox.com>
4290
4291         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4292         whereby calling a pad's activatepush() function can start a thread
4293         that starts to push or pull before the pad gets the FLUSHING flag
4294         unset. Hack around it by holding the stream lock until the flag is
4295         set. Need to replace this with a proper solution. Together with
4296         the ghost pad fixes, this fixes mp3 playing/tagreading.
4297
4298         * docs/design/part-gstghostpad.txt: Add a note about activation of
4299         proxy pads outside of ghost pads.
4300
4301         * gst/gstghostpad.c: Implement the ghost pad activation design.
4302
4303 2005-10-02  Andy Wingo  <wingo@pobox.com>
4304
4305         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4306         It is volatile, after all.
4307
4308         * docs/design/part-gstghostpad.txt: Flesh out activation with
4309         ghost pads.
4310
4311         * gst/base/gstbasesrc.c (gst_base_src_init): Use
4312         GST_DEBUG_FUNCPTR.
4313
4314 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
4315
4316         * configure.ac:
4317           Fix (unused) AM_CONDITIONAL tests.
4318
4319 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
4320
4321         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * gst/gstutils.c: (gst_pad_query_convert):
4324           Add assertion that makes sure src_val is >=0, just like
4325           gst_query_new_convert() has. (#315895)
4326
4327 2005-09-30  Edward Hervey  <edward@fluendo.com>
4328
4329         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4330         Let's not iterate pads we're not interested in, it avoids getting 
4331         sky-high refcounts on sinkpad.
4332
4333 2005-09-30  Wim Taymans  <wim@fluendo.com>
4334
4335         * gst/gstelement.c: (gst_element_set_state),
4336         (gst_element_change_state):
4337         Small tweak, element in ASYNC remains ASYNC.
4338
4339 2005-09-30  Wim Taymans  <wim@fluendo.com>
4340
4341         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4342         Only error is an error.
4343
4344         * gst/gstbin.c: (gst_bin_change_state):
4345         Better debugging.
4346
4347         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4348         Also call pad_block in pad alloc.
4349
4350         * gst/gstutils.c: (gst_flow_get_name):
4351         Better debugging.
4352
4353 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4354
4355         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4356         (gst_base_src_get_range):
4357           Fix documentation typos. Add some more debug info.
4358
4359 2005-09-29  David Schleef  <ds@schleef.org>
4360
4361         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4362           more end-user friendly.
4363         * tools/gst-inspect.c: (main): Check if command-line argument is
4364           a file and attempt to load that file as a plugin.
4365
4366 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4367
4368         * check/gst/gstbin.c:
4369         * check/states/sinks.c:
4370           fix tests for the new warning
4371         * check/gst/gstpipeline.c:
4372           add a test for pipeline and bus interaction
4373         * gst/gstelement.c:
4374           elements should be NULL if they get disposed; add a warning if not
4375
4376 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4377
4378         * gst/gstobject.c:
4379           for 2.6 refcounting, make debug log more correct by printing
4380           the actual refcounts at the time of swap (Wim)
4381
4382 2005-09-29  Andy Wingo  <wingo@pobox.com>
4383
4384         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4385         removes signal watches previously added via
4386         gst_bus_add_signal_watch.
4387         (gst_bus_add_signal_watch): Don't return the source id, just store
4388         it on the bus if there wasn't an id already.
4389
4390         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4391         add_signal_watch and remove_signal_watch.
4392
4393 2005-09-29  Edward Hervey  <edward@fluendo.com>
4394
4395         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
4396         Better if we actually iterate the list :)
4397
4398 2005-09-29  Wim Taymans  <wim@fluendo.com>
4399
4400         * check/gst/gstbin.c: (GST_START_TEST):
4401         Change for new bus API.
4402
4403         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4404         (send_messages), (GST_START_TEST), (gstbus_suite):
4405         Change for new bus signal API.
4406
4407         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4408         (gst_bus_source_prepare), (gst_bus_source_check),
4409         (gst_bus_create_watch), (gst_bus_add_watch_full),
4410         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4411         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4412         * gst/gstbus.h:
4413         Remove support for multiple GSources operating on different
4414         message types as it is too complex and unneeded when using
4415         signals.
4416         Added support for receiving signals from the bus.
4417
4418 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
4419
4420         * docs/libs/tmpl/gstdataprotocol.sgml:
4421         * docs/manual/advanced-dataaccess.xml:
4422         * gst/elements/gstcapsfilter.c:
4423         * gst/gstutils.c:
4424           rename filter-caps to caps property
4425
4426 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4427
4428         * gst/gstvalue.c: (gst_value_deserialize_fraction):
4429           More robust fraction string parsing.
4430
4431         * docs/pwg/appendix-porting.xml:
4432           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4433
4434 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
4435
4436         * gst/gstcaps.c: (gst_caps_do_simplify):
4437           Thou shalt not free a structure and then continue using it
4438           in the next loop iteration.
4439
4440         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4441         (gst_caps_suite):
4442           Add test case for caps simplification.
4443
4444 2005-09-29  Wim Taymans  <wim@fluendo.com>
4445
4446         * check/gst/gstbin.c: (GST_START_TEST):
4447         Oops.
4448
4449 2005-09-29  Wim Taymans  <wim@fluendo.com>
4450
4451         * check/gst/gstbin.c: (GST_START_TEST):
4452         Add bus to bin.
4453
4454         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4455         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4456         (find_element), (gst_bin_sort_iterator_next),
4457         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4458         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4459         (gst_bin_change_state), (gst_bin_dispose):
4460         A bin does not have a bus, it gets the bus from the parent.
4461
4462         * gst/gstelement.c: (gst_element_requires_clock),
4463         (gst_element_provides_clock), (gst_element_is_indexable),
4464         (gst_element_is_locked_state), (gst_element_change_state),
4465         (gst_element_set_bus_func):
4466         Small cleanups.
4467
4468         * gst/gstpipeline.c: (gst_pipeline_class_init),
4469         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
4470         The pipeline provides a bus.
4471
4472 2005-09-28  Johan Dahlin  <johan@gnome.org>
4473
4474         * gst/gstmessage.c (gst_message_parse_state_changed): Use
4475         gst_structure_get_enum instead of gst_structure_get_int
4476
4477         * gst/gststructure.c (gst_structure_get_enum): Impl.
4478
4479         * gst/gststructure.h (gst_structure_get_enum): Add
4480
4481         * docs/gst/gstreamer-sections.txt: Ditto
4482
4483         * gst/gstmessage.c (gst_message_new_state_changed): Use
4484         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
4485         which does introspection.
4486         Reviewed by Christian Schaller
4487
4488 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4489
4490         * gst/gstinfo.c: (gst_debug_log_default):
4491           don't do dummy g_strdup()s
4492         * libs/gst/controller/gstcontroller.c:
4493         (on_object_controlled_property_changed),
4494         (gst_controlled_property_new), (gst_controller_new_valist),
4495         (gst_controller_new_list),
4496         (gst_controller_remove_properties_valist), (gst_controller_set),
4497         (gst_controller_get), (gst_controller_sync_values),
4498         (gst_controller_get_value_array), (_gst_controller_class_init),
4499         (gst_controller_get_type):
4500         * libs/gst/controller/gstcontroller.h:
4501         * libs/gst/controller/gstinterpolation.c:
4502         (gst_controlled_property_find_timed_value_node):
4503           convert // to /**/ comments
4504
4505 2005-09-28  Wim Taymans  <wim@fluendo.com>
4506
4507         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
4508         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
4509         (gst_bus_sync_signal_handler):
4510         * gst/gstbus.h:
4511         Added async-message and sync-message signals to the bus.
4512         Added helper BusFunc to emit signals for all posted messages.
4513
4514         * gst/gstmessage.c: (gst_message_type_get_name),
4515         (gst_message_type_to_quark), (gst_message_get_type):
4516         * gst/gstmessage.h:
4517         Register quarks for message names.
4518
4519 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
4520
4521         * docs/libs/gstreamer-libs-sections.txt:
4522         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4523         (gst_controller_new_list):
4524         * libs/gst/controller/gstcontroller.h:
4525           added another constructor for language bindings
4526
4527 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4528
4529         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4530           add another check
4531         * gst/gstbus.c:
4532           add some doc
4533         * gst/gstinfo.c: (_gst_debug_init):
4534           slightly more readable color for refcount debugging
4535
4536 2005-09-28  Wim Taymans  <wim@fluendo.com>
4537
4538         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
4539         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
4540         (find_element), (gst_bin_sort_iterator_next),
4541         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4542         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4543         (gst_bin_change_state), (gst_bin_dispose):
4544         Small doc fixes. get_clock -> provide_clock.
4545
4546         * gst/gstelement.c: (gst_element_class_init),
4547         (gst_element_provides_clock), (gst_element_provide_clock),
4548         (gst_element_get_clock), (gst_element_commit_state),
4549         (gst_element_lost_state):
4550         * gst/gstelement.h:
4551         Make get/set_clock() symetric. Add provide_clock vmethod since
4552         that is actually what this function does.
4553
4554         * gst/gstpipeline.c: (gst_pipeline_class_init),
4555         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
4556         (gst_pipeline_get_clock):
4557         get_clock -> provide_clock.
4558
4559 2005-09-28  Andy Wingo  <wingo@pobox.com>
4560
4561         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
4562         lieu of real docs...
4563
4564         * gst/elements/gstfdsrc.c: Cleaned up a bit.
4565
4566 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/elements/gstcapsfilter.c:
4569         * gst/elements/gstfakesink.c:
4570         * gst/elements/gstfakesrc.c:
4571         * gst/elements/gstfdsink.c:
4572         * gst/elements/gstfdsrc.c:
4573         * gst/elements/gstfilesink.c:
4574         * gst/elements/gstfilesrc.c:
4575         * gst/elements/gstidentity.c:
4576         * gst/elements/gsttee.c:
4577         * gst/elements/gsttypefindelement.c:
4578           Make element details static.
4579
4580 2005-09-28  Wim Taymans  <wim@fluendo.com>
4581
4582         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4583         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4584         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4585         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4586         (gst_bin_change_state), (gst_bin_dispose):
4587         Some documentation updates.
4588         Clean up dispose handlers.
4589
4590         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
4591         * gst/gstpad.c: (gst_pad_dispose):
4592         Clean up dispose handler.
4593
4594         * gst/gstpipeline.c: (gst_pipeline_change_state):
4595         Removed spurious UNLOCK.
4596
4597 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
4598
4599         * docs/gst/gstreamer-sections.txt:
4600         * gst/base/gstbasesrc.h:
4601         * gst/gstelement.h:
4602         * gst/gstevent.h:
4603         * gst/gstobject.h:
4604         * gst/gstpad.h:
4605         * gst/gstpipeline.c:
4606         * gst/gstpipeline.h:
4607         * gst/gstutils.h:
4608         * gst/gstxml.h:
4609           added two new functions to the docs
4610                 documents all undocumented GstXXXFlags
4611                 completed some incomplete docs 
4612
4613 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
4614
4615         * gst/gstbin.c: (gst_bin_dispose):
4616         * gst/gstelement.c: (gst_element_dispose):
4617           remove now useless and leaky resurrection code in dispose
4618         * gst/base/gstbasesrc.c: (gst_base_src_init):
4619         * gst/gstelementfactory.c: (gst_element_factory_create):
4620         * gst/gstobject.c: (gst_object_set_parent):
4621           add some debugging
4622
4623 2005-09-27  Wim Taymans  <wim@fluendo.com>
4624
4625         * docs/design/part-TODO.txt:
4626         Update TODO.
4627
4628         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4629         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4630         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4631         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4632         (gst_bin_change_state):
4633         * gst/gstelement.h:
4634         Remove element variable, we keep element info in the iterator now.
4635
4636 2005-09-27  Andy Wingo  <wingo@pobox.com>
4637
4638         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
4639         values.
4640
4641 2005-09-27  Wim Taymans  <wim@fluendo.com>
4642
4643         * check/gst/gstbin.c: (GST_START_TEST):
4644         Enable check that works now.
4645
4646         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
4647         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
4648         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
4649         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
4650         (gst_bin_change_state):
4651         * gst/gstbin.h:
4652         Redid the state change algorithm using a topological sort algo.
4653         Handles all cases correctly.
4654         Exposed iterator for state change order.
4655
4656         * gst/gstelement.h:
4657         Temp storage for state changes. Need to get rid of this soon.
4658
4659 2005-09-27  Wim Taymans  <wim@fluendo.com>
4660
4661         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
4662         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
4663         (link_fold_func), (gst_pad_proxy_setcaps):
4664         Leak fixes, the fold functions need to unref the passed object and
4665         _get_parent_*() returns ref to parent.
4666
4667 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4668
4669         * check/gst/gstbuffer.c: (test_make_writable):
4670           Plug leak in test case and fix 'make check-valgrind'
4671
4672 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4673
4674         * gst/gstbuffer.c: (gst_subbuffer_init):
4675           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
4676           works correctly in all circumstances (we could have just copied
4677           the parent buffer's readonly flag, but conceptually it seems
4678           cleaner to mark all subbuffers as read-only). (based on patch
4679           by Alessandro Decina, #314710).
4680         
4681         * check/gst/gstbuffer.c: (create_read_only_buffer),
4682         (test_make_writable), (test_subbuffer_make_writable),
4683         (gst_test_suite):
4684           Add some tests for gst_buffer_make_writable().
4685
4686 2005-09-27  Wim Taymans  <wim@fluendo.com>
4687
4688         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
4689         use gst_object_has_ancestor().
4690
4691         * gst/gstobject.c: (gst_object_has_ancestor):
4692         * gst/gstobject.h:
4693         gst_object_has_ancestor() copied from gstbin.c as it is a
4694         usefull function.
4695
4696         * tests/instantiate/create.c: (create_all_elements):
4697         * tests/lat.c: (handoff_src), (handoff_sink):
4698         * tests/sched/runxml.c: (main):
4699         * tests/seeking/seeking1.c: (main):
4700         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4701         (main):
4702         Fix compilation of some tests.
4703
4704 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
4705
4706         * gst/gsterror.h:
4707           Remove comment. GST_TYPE_G_ERROR is here to stay,
4708           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
4709           (#316961, #300610).
4710
4711 2005-09-26  Wim Taymans  <wim@fluendo.com>
4712
4713         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4714         Added check that shows error in state change order.
4715
4716 2005-09-26  Wim Taymans  <wim@fluendo.com>
4717
4718         * gst/gstbin.c: (gst_bin_change_state):
4719         Make state change function use 3 queues again, we were
4720         adding elements in the wrong order.
4721
4722         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4723         Some debug info,
4724
4725         * gst/gstpad.c: (gst_pad_dispose):
4726         Added some debug info first.
4727
4728 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4729
4730         * docs/design/draft-push-pull.txt:
4731         * docs/design/part-events.txt:
4732         * docs/design/part-overview.txt:
4733         * docs/design/part-scheduling.txt:
4734           Replace all _pull_region() with _pull_range()
4735           
4736 2005-09-26  Andy Wingo  <wingo@pobox.com>
4737
4738         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
4739
4740         * check/gst-libs/controller.c: Update for controller api change.
4741
4742         * configure.ac: 
4743         * tests/Makefile.am:
4744         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
4745         over by GLib bug 118439.
4746         
4747         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
4748         routines to a function.
4749
4750         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
4751
4752         * libs/gst/controller/gsthelper.c:
4753         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
4754         (gst_object_sync_values): Renamed from sink_values. Ugh.
4755
4756         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
4757
4758         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
4759         Renamed from controller_key, as it is exported.
4760
4761         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
4762
4763 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
4764
4765         * gst/Makefile.am:
4766         * gst/gst.h:
4767         * gst/gstpad.h:
4768         * gst/gstpadtemplate.h:
4769         * gst/gstquery.c:
4770         * gst/gstquery.h:
4771         * gst/gstqueryutils.c:
4772         * gst/gstqueryutils.h:
4773           remove queryutils headers after moving the two used functions
4774           to gstquery.  also fixes build problem for gstsiddec
4775
4776 2005-09-26  Michael Smith <msmith@fluendo.com>
4777
4778         * tools/gst-launch.1.in:
4779         Correct documentation in manpage of debug syntax
4780
4781 2005-09-26  Wim Taymans  <wim@fluendo.com>
4782
4783         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4784         (gst_base_src_is_seekable), (gst_base_src_change_state):
4785         Some more debugging info.
4786
4787 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4788
4789         * docs/gst/gstreamer-sections.txt:
4790         * gst/base/gstbasetransform.h:
4791         * gst/gstindex.h:
4792           added more docs
4793
4794 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4795
4796         * docs/gst/.cvsignore:
4797         * docs/gst/tmpl/.cvsignore:
4798         * docs/gst/tmpl/gstpipeline.sgml:
4799         * docs/gst/tmpl/gstplugin.sgml:
4800         * gst/gstpipeline.c:
4801         * gst/gstplugin.c:
4802         * gst/gstplugin.h:
4803           inlined the last two docs files
4804           removed the tmpl directory from cvs (no more conflicts here!)
4805
4806 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
4807
4808         * docs/gst/gstreamer-sections.txt:
4809         * docs/gst/tmpl/.cvsignore:
4810         * docs/gst/tmpl/gstpad.sgml:
4811         * docs/gst/tmpl/gstpadtemplate.sgml:
4812         * gst/Makefile.am:
4813         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4814         (gst_pad_finalize), (gst_pad_set_pad_template):
4815         * gst/gstpad.h:
4816         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
4817         (gst_pad_template_class_init), (gst_pad_template_init),
4818         (gst_pad_template_dispose), (name_is_valid),
4819         (gst_static_pad_template_get), (gst_pad_template_new),
4820         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
4821         (gst_pad_template_pad_created):
4822         * gst/gstpadtemplate.h:
4823           inlined two more docs
4824           factored gstpadtemplate out of gstpad
4825
4826 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4829         (test_children_state_change_order_semi_sink):
4830           Fix test case: we can't rely on a fixed state change order when
4831           going from READY => PAUSED because the sink might commit its 
4832           new state first when the first buffer created by the source 
4833           reaches the sink before the source has finished its change state.
4834           (Test case still fails at times, see #316856, comment 5 onwards)
4835
4836 2005-09-24  Wim Taymans  <wim@fluendo.com>
4837
4838         * docs/design/part-events.txt:
4839         * docs/design/part-gstbus.txt:
4840         * docs/design/part-gstpipeline.txt:
4841         * docs/design/part-messages.txt:
4842         * docs/design/part-overview.txt:
4843         * docs/design/part-segments.txt:
4844         * gst/gstbin.c:
4845         * gst/gstbuffer.c:
4846         * gst/gstclock.c:
4847         * gst/gstelement.c:
4848         * gst/gstevent.c:
4849         * gst/gstfilter.c:
4850         * gst/gstiterator.c:
4851         Various documentation updates.
4852
4853 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4854
4855         * gst/gstclock.h:
4856           Well, that's embarassing.  Luckily we weren't using
4857           GST_CLOCK_DIFF anywhere.
4858
4859 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * common/gtk-doc.mak:
4862           don't fail on building XML, FC4 slave shows a bunch of doc
4863           missing bits that I don't get
4864         * gst/gstpad.c:
4865         * gst/gstpipeline.c:
4866         * gst/gststructure.c:
4867           some doc updates
4868
4869 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4870
4871         * docs/design/part-gstbin.txt:
4872         * docs/design/part-gstbus.txt:
4873         * gst/gstbus.c:
4874           Add blurb about how the bus goes into flushing mode and
4875           drops all messages when its bin goes from READY into NULL 
4876           state.
4877
4878 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4879
4880         * docs/gst/gstreamer-sections.txt:
4881         * gst/gststructure.c: (gst_structure_get_clock_time):
4882         * gst/gststructure.h:
4883           add a method to get a GstClockTime out of a structure
4884
4885 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
4888         (test_children_state_change_order_semi_sink), (gst_bin_suite):
4889           Added test to check state change order in bins (can still be made
4890           to fail here under heavy disk load; bails out with 'Push on pad
4891           fakesink:sink0, but it was not activated in push mode').
4892
4893         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
4894           Fix state change order when there is only a semi sink (#316856)
4895
4896         * gst/gstbus.c: (gst_bus_class_init):
4897           Use _class_peek_parent(), not _class_ref(); fix docs to say
4898           'default main context' instead of 'mainloop' where that is
4899           what's meant.
4900
4901         * gst/gstelement.c: (gst_element_commit_state),
4902         (gst_element_set_state):
4903           Fix typos in debug messages
4904
4905 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4906
4907         * docs/README:
4908         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
4909         * gst/gstpluginfeature.c:
4910         * gst/gstutils.c:
4911           various doc updates
4912         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4913           change an assert into an error until it gets fixed properly
4914
4915 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
4916
4917         * docs/gst/gstreamer-sections.txt:
4918         * docs/gst/tmpl/.cvsignore:
4919         * docs/gst/tmpl/gstelement.sgml:
4920         * docs/gst/tmpl/gstinfo.sgml:
4921         * docs/gst/tmpl/gstobject.sgml:
4922         * gst/gstelement.c:
4923         * gst/gstelement.h:
4924         * gst/gstinfo.c:
4925         * gst/gstinfo.h:
4926         * gst/gstobject.c: (gst_object_class_init):
4927         * gst/gstobject.h:
4928           inlined 3 more biiiig doc files and added some missing docs on the fly
4929
4930 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4931
4932         * check/gst/.cvsignore:
4933         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
4934         * gst/gstregistryxml.c: (load_plugin),
4935         (gst_registry_xml_save_plugin):
4936           put back source in registry.  add checks for find_plugin.
4937         * testsuite/states/bin.c: (assert_state), (empty_bin),
4938         (test_adding_one_element), (main):
4939         * testsuite/states/locked.c: (main):
4940           some compile/run fixes
4941
4942 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4943
4944         * check/gst/gstvalue.c: (GST_START_TEST):
4945           fix leaks in the test itself
4946
4947 2005-09-22  Wim Taymans  <wim@fluendo.com>
4948
4949         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
4950         (gst_base_sink_send_event), (gst_base_sink_peer_query),
4951         (gst_base_sink_query):
4952         Prepare for more accurate position reporting and query
4953         handling.
4954
4955         * gst/gstelement.c: (gst_element_send_event),
4956         (gst_element_set_state):
4957         Add some comment.
4958
4959 2005-09-22  Wim Taymans  <wim@fluendo.com>
4960
4961         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
4962         (gst_query_parse_segment):
4963         * gst/gstquery.h:
4964         More documentation.
4965         Add segment query for future use.
4966
4967 2005-09-22  Wim Taymans  <wim@fluendo.com>
4968
4969         * gst/gstbin.c: (gst_bin_add_func):
4970         Some more debug info.
4971
4972         * gst/gstelement.c: (gst_element_send_event):
4973         Simplify send_event
4974
4975         * gst/gstelement.h:
4976         Don't know how flags got broken.
4977
4978         * gst/gstquery.h:
4979         Added new query.
4980
4981 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4982
4983         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
4984           Add simplistic test suite for GST_TYPE_DATE serialisation and
4985           deserialisation.
4986
4987 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
4988
4989         * docs/gst/gstreamer-sections.txt:
4990         * gst/gststructure.c: (gst_structure_set_valist),
4991         (gst_structure_get_date):
4992         * gst/gststructure.h:
4993         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
4994         (gst_date_copy), (gst_value_compare_date),
4995         (gst_value_serialize_date), (gst_value_deserialize_date),
4996         (gst_value_transform_date_string),
4997         (gst_value_transform_string_date), (_gst_value_initialize):
4998         * gst/gstvalue.h:
4999           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5000           bunch of utility functions along with a hack that checks that
5001           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5002           is required. Part of the grand scheme in #170777.
5003
5004 2005-09-22  Andy Wingo  <wingo@pobox.com>
5005
5006         * gst/gstconfig.h.in: Psych out gtk-doc.
5007
5008         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5009
5010         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5011
5012         * tools/gst-inspect.c (print_element_list): Plug some
5013         inconsequential leaks.
5014
5015         * gst/gstregistry.c (gst_registry_get_default): Doc.
5016
5017         * check/gst/gstplugin.c: 
5018         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5019         * gst/gstelementfactory.c (gst_element_factory_create): 
5020         * gst/gstindexfactory.c (gst_index_factory_create): Update for
5021         refcount changes.
5022
5023         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5024         (gst_plugin_feature_load): Doc, don't eat refs.
5025
5026         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5027         (gst_plugin_list_free): Doc.
5028         (gst_plugin_load_file): Doc updates.
5029
5030         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5031         accessors returning refcounted objects, return a ref.
5032
5033         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5034         accessor for caps. IDEMPOTENCE. Oh yes.
5035
5036 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
5037
5038         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
5039
5040         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5041         (_gst_debug_register_funcptr):
5042           Add mutex to serialise access to the hash table with
5043           the function pointer => function name string mapping;
5044           make that hash table static scope (#316809).
5045
5046         * gst/registries/.cvsignore:
5047           Remove left-over file.
5048
5049 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         * docs/pwg/appendix-porting.xml:
5052           And something about newsegment events and caps-on-buffers to
5053           the porting guide (feel free to improve).
5054
5055 2005-09-21  Andy Wingo  <wingo@pobox.com>
5056
5057         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5058         data and event probes on the same pad.
5059         (test_buffer_probe_once): Test that removing probes from within
5060         the probe functions works.
5061
5062 2005-09-21  Andy Wingo  <wingo@pobox.com>
5063
5064         * check/gst/gstutils.c: New file.
5065         (test_buffer_probe_n_times): A simple buffer probe test. More to
5066         come, foolios.
5067
5068         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5069         have-data::buffer, not have-data.
5070         (gst_pad_add_event_probe): Likewise for have-data::event.
5071         (gst_pad_add_data_probe): More docs. The part about 'resolving the
5072         peer' isn't quite right yet though.
5073         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
5074         (gst_pad_remove_data_probe): Change to take the guint handler_id
5075         as their arg, not the function+data, which is more glib-like.
5076
5077         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5078         the signal emission to indicate if the data is a buffer or an
5079         event.
5080         (gst_pad_get_type): Initialize buffer and event quarks.
5081         (gst_pad_class_init): have-data is now a detailed signal, yes it
5082         is.
5083
5084 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5087         * gst/gstutils.c: (gst_util_set_value_from_string),
5088         (gst_util_set_object_arg):
5089           Don't put functional code in g_return_if_fail() or
5090           g_return_val_if_fail() statements, otherwise things will 
5091           break when G_DISABLE_CHECKS is defined during compilation.
5092
5093 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5094
5095         * docs/gst/tmpl/.cvsignore:
5096         * docs/gst/tmpl/gstvalue.sgml:
5097         * gst/gstvalue.c:
5098         * gst/gstvalue.h:
5099           inlied another one and added  some obvious docs
5100
5101 2005-09-21  Wim Taymans  <wim@fluendo.com>
5102
5103         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5104         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5105         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5106         (gst_fdsrc_get_property), (gst_fdsrc_create):
5107         * gst/elements/gstfdsrc.h:
5108         Properly implement fdsrc. Removed signal and timeout,
5109         better implemented somewhere else.
5110
5111 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5112
5113         * docs/gst/tmpl/.cvsignore:
5114         * docs/gst/tmpl/gstimplementsinterface.sgml:
5115         * gst/gstinterface.c:
5116           inlined more docs
5117
5118 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5119
5120         * docs/gst/gstreamer-sections.txt:
5121         * docs/gst/tmpl/.cvsignore:
5122         * docs/gst/tmpl/gstenumtypes.sgml:
5123           remove obsolete doc file
5124
5125 2005-09-21  David Schleef  <ds@schleef.org>
5126
5127         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5128         little beer, fix a little leak.
5129
5130 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
5131
5132         * docs/gst/gstreamer-docs.sgml:
5133         * docs/gst/gstreamer-sections.txt:
5134         * docs/gst/tmpl/.cvsignore:
5135         * gst/Makefile.am:
5136         * gst/gst.h:
5137         * gst/gstbin.c:
5138         * gst/gstelement.h:
5139         * gst/gstindex.c: (gst_index_class_init):
5140         * gst/gstindex.h:
5141         * gst/gstindexfactory.c: (gst_index_factory_get_type),
5142         (gst_index_factory_class_init), (gst_index_factory_init),
5143         (gst_index_factory_finalize), (gst_index_factory_new),
5144         (gst_index_factory_destroy), (gst_index_factory_find),
5145         (gst_index_factory_create), (gst_index_factory_make):
5146         * gst/gstindexfactory.h:
5147         * gst/gstpluginfeature.c:
5148         * gst/gstpluginfeature.h:
5149         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5150           more docs inlined, splitted gstindex.{c,h}
5151
5152 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5153
5154         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5155           fix a leak
5156
5157 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * gst/elements/gstfilesink.c: (gst_file_sink_init):
5160           Set sync to FALSE by default.
5161
5162 2005-09-20  Wim Taymans  <wim@fluendo.com>
5163
5164         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5165         (gst_base_sink_init):
5166         Make sync property settable from subclass.
5167
5168         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5169         (gst_fake_sink_change_state):
5170         Set sync to FALSE by default.
5171
5172 2005-09-20  Wim Taymans  <wim@fluendo.com>
5173
5174         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5175         * tools/gst-launch.c: (main):
5176         The timeout handler should have lower priority than the source
5177         so we don't timeout before popping a message with 0 timeout.
5178         Dump error messages after failed state change.
5179
5180 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
5181
5182         * tools/gst-inspect.c: (print_element_properties_info):
5183           Fix two typos.
5184
5185 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5186
5187         * check/gst/gstevent.c:
5188         * gst/elements/gstfakesink.c:
5189         * gst/elements/gstfakesink.h:
5190           remove the sync property from fakesink.
5191           has the side effect of setting sync TRUE
5192           for fakesink, which is a change.  Anyone who knows how
5193           to fix this nicely in a GObject-y way, feel free.
5194
5195 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5196
5197         * docs/gst/gstreamer-docs.sgml:
5198           remove probe refsection
5199
5200 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5201
5202         * check/Makefile.am:
5203           disable valgrinding the controller test again
5204         * docs/gst/gstreamer-sections.txt:
5205           update for api-changes
5206
5207 2005-09-20  Wim Taymans  <wim@fluendo.com>
5208
5209         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5210         (gst_base_sink_set_property), (gst_base_sink_get_property),
5211         (gst_base_sink_do_sync):
5212         * gst/base/gstbasesink.h:
5213         Added sync property to basesink to disable clock sync.
5214
5215 2005-09-20  Andy Wingo  <wingo@pobox.com>
5216
5217         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5218         eating the caller's refcount.
5219
5220         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
5221         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5222         refcount.
5223
5224         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5225         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5226         of GLib 2.8 public, so we can know which refcount to check in
5227         tests.
5228
5229         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5230         (gst_object_init): Only set the gst refcount if we're going ahead
5231         with the refcount hack.
5232
5233 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5234
5235         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5236         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5237           more leaks plumbed, added more debug-logging
5238         * gst/gstmacros.h:
5239           whitespace fix
5240
5241 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5242
5243         * gst/gstmessage.c:
5244           remove include of gstmemchunk.h
5245
5246 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5247
5248         * gst/gstclock.c: (_gst_clock_id_free):
5249           Commit from the Political Party For More Atomic CVS Commits,
5250           so that people don't waste too much of their day fishing
5251           out obvious leaks out of massive commits.
5252           Oh, and fix a pretty damn obvious leak in the memchunk
5253           removal code.
5254
5255 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
5256
5257         * check/Makefile.am:
5258         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5259           plug mem-leak, re-add to valgrindable tests
5260
5261 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5262
5263         * gst/gstplugin.h:
5264           unbreak the build for those who have chronic arthritis
5265           and typing "make check" is just too taxing on the hands
5266
5267 2005-09-20  Andy Wingo  <wingo@pobox.com>
5268
5269         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5270         really want it out, you should fix plugins at the same time.
5271
5272 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
5273
5274         * configure.ac:
5275         * docs/gst/gstreamer-sections.txt:
5276         * gst/gstobject.c:
5277           added missing symbols to api docs
5278           disable ref-count hack if we have glib >= 2.8
5279
5280 2005-09-19  David Schleef  <ds@schleef.org>
5281
5282         * docs/gst/Makefile.am: Ignore a few more internal headers
5283         * docs/gst/gstreamer-docs.sgml: Remove old sections
5284         * docs/gst/gstreamer-sections.txt: Remove old sections
5285         * docs/gst/tmpl/gstobject.sgml: update
5286         * docs/gst/tmpl/gstplugin.sgml: update
5287         * docs/gst/tmpl/gstpluginfeature.sgml: update
5288         * docs/random/ds/0.9-suggested-changes: update.
5289         * gst/Makefile.am: remove memchunk and trashstack, since they're
5290           not used.
5291         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5292         * gst/gst.h: don't include some headers
5293         * gst/gstchildproxy.c: add gstmarshal.h
5294         * gst/gstclock.c: Don't use memchunks
5295         * gst/gstminiobject.c: Add some docs
5296         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5297         * gst/gstobject.h: same
5298         * gst/gstplugin.c: include gstmacros.h
5299         * gst/gstplugin.h: don't include gstmacros.h, since it's private
5300         * gst/gstquery.c: don't use memchunks
5301         * gst/gstregistry.c: rename gst_registry_deinit()
5302         * gst/gstregistry.h: same
5303
5304 2005-09-19  David Schleef  <ds@schleef.org>
5305
5306         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5307         * docs/libs/gstreamer-libs-sections.txt:
5308         * docs/libs/tmpl/gstgetbits.sgml:
5309         * docs/libs/tmpl/gstputbits.sgml:
5310
5311 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5312
5313         * win32/gstenumtypes.c:
5314         * win32/gstenumtypes.h:
5315           Update.
5316
5317 2005-09-19  Wim Taymans  <wim@fluendo.com>
5318
5319         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5320         Automatically PAUSE and RESUME a pipeline when a flushing seek
5321         is performed.
5322
5323 2005-09-19  Andy Wingo  <wingo@pobox.com>
5324
5325         * gst/gstregistry.h: Spacing fixen.
5326
5327 2005-09-19  Wim Taymans  <wim@fluendo.com>
5328
5329         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5330         Handle state change failure more correctly.
5331
5332 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5333
5334         * check/Makefile.am:
5335         * check/pipelines/cleanup.c: (run_pipeline):
5336         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5337         (GST_START_TEST):
5338           enable cleanup again after fixing the leak
5339         * docs/README:
5340           some more info on docs
5341
5342 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5343
5344         * check/Makefile.am:
5345           re-enable tests now that leaks are plugged
5346         * check/gst/gst.c:
5347         * check/gst/gstbin.c:
5348         * check/gst/gstpipeline.c:
5349           add some more tests while fixing leaks
5350         * common/check.mak:
5351           make sure binaries are uptodate when valgrinding/gdbing
5352         * gst/gst.c:
5353         * gst/gstelementfactory.c:
5354           remove a ref too many, and add a FIXME for when we get
5355           round to disposing of classes
5356         * gst/gstplugin.c:
5357           fix the refcounting when loading a plugin from a file and
5358           the code pretends that the pointer is the same even though
5359           of course it can change
5360         * gst/gstpluginfeature.c:
5361           unref plugins marked cached (a bit confusing as a name)
5362           as the docs state should be done
5363           various doc additions to explain refcounting
5364         * gst/gstregistry.c:
5365         * gst/gstregistryxml.c:
5366           debugging
5367
5368 2005-09-19  Wim Taymans  <wim@fluendo.com>
5369
5370         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5371         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5372         (send_messages), (GST_START_TEST), (gstbus_suite):
5373         * check/gst/gstpipeline.c: (GST_START_TEST):
5374         * check/pipelines/cleanup.c: (run_pipeline):
5375         * check/pipelines/simple_launch_lines.c: (run_pipeline),
5376         (GST_START_TEST):
5377         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5378         (gst_bus_source_check), (gst_bus_source_dispatch),
5379         (gst_bus_create_watch), (gst_bus_add_watch_full),
5380         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5381         * gst/gstbus.h:
5382         * tools/gst-launch.c: (event_loop):
5383         * tools/gst-md5sum.c: (event_loop):
5384         GstBusHandler -> GstBusFunc, return value has the same meaning as
5385         any other GSource (FALSE == remove source).
5386         _add_watch() and _add_watch_full() now take a MessageType mask to
5387         only handle specific types of messages.
5388         _poll() returns the GstMessage instead of the message type to avoid
5389         race conditions.
5390         _have_pending() takes a MessageType mask now too.
5391         Added testsuite for multiple bus watches.
5392         Fix testsuites and applications for new bus API.
5393
5394 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
5395
5396         * check/Makefile.am:
5397           mark a bunch of the tests as to fix until we fix them
5398
5399 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5400
5401         * common/check.mak:
5402           use GST_PLUGIN settings for valgrind tests as well, so we're
5403           valgrinding the correct thing
5404         * gst/gst.c: (init_post):
5405           plug another leak
5406
5407 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5408
5409         * gst/gst.c: (init_post), (gst_deinit):
5410         * gst/gstelementfactory.c: (gst_element_factory_class_init),
5411         (gst_element_factory_finalize), (gst_element_factory_cleanup):
5412         * gst/gstindex.c: (gst_index_factory_class_init),
5413         (gst_index_factory_finalize):
5414         * gst/gstobject.c: (gst_object_dispose):
5415         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5416         (gst_plugin_load_file), (gst_plugin_desc_free):
5417         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5418         (gst_plugin_feature_finalize):
5419         * gst/gstregistry.c: (gst_registry_class_init),
5420         (gst_registry_init), (gst_registry_finalize),
5421         (gst_registry_get_default), (gst_registry_deinit):
5422         * gst/gstregistry.h:
5423         * gst/gstregistryxml.c: (load_feature), (load_plugin):
5424           various cleanups and memleak plugging.  make valgrind is happy now.
5425
5426 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
5427
5428         * common/check.mak:
5429           add a check-valgrind target
5430
5431 2005-09-18  David Schleef  <ds@schleef.org>
5432
5433         * tools/gst-inspect.c: Revert the GOption code.
5434
5435 2005-09-17  David Schleef  <ds@schleef.org>
5436
5437         * check/Makefile.am: Fix environment variables.
5438         * check/gst/gstplugin.c: Fix for API changes.
5439         * tools/gst-inspect.c: Fix for API changes.
5440         * tools/gst-xmlinspect.c: Fix for API changes.
5441         * gst/gstelementfactory.c:
5442         * gst/gstplugin.c:
5443         * gst/gstplugin.h:
5444         * gst/gstpluginfeature.c:
5445         * gst/gstpluginfeature.h:
5446         * gst/gstregistry.c:
5447         * gst/gstregistry.h:
5448         * gst/gstregistryxml.c:
5449         * gst/gsttypefind.c:
5450         * gst/gsttypefindfactory.c:
5451         * gst/indexers/gstfileindex.c:
5452         * gst/indexers/gstmemindex.c:
5453         * gst/schedulers/Makefile.am:
5454           Change registry to keep track of both plugins and features,
5455           removing the feature tracking from plugins themselves.
5456
5457 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5458
5459         * check/Makefile.am:
5460         * tools/gst-register.1.in:
5461           remove gst-register
5462
5463 2005-09-15  David Schleef  <ds@schleef.org>
5464
5465         * check/gst/gstplugin.c:
5466         * gst/gstelementfactory.c:
5467         * gst/gstplugin.c:
5468         * gst/gstpluginfeature.c:
5469         * gst/gstregistry.c:
5470           Getting tired of debugging.  Disabled all the unreffing of
5471           plugins and features, which fixes the segfaults, but of
5472           course leaks like crazy.  At least playbin works.
5473
5474 2005-09-15  David Schleef  <ds@schleef.org>
5475
5476         * check/gst/gstplugin.c: (register_check_elements),
5477         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
5478         More testing
5479         * gst/elements/gsttypefindelement.c: Fix refcounting.
5480         * gst/gsttypefind.c:
5481         * gst/gsttypefindfactory.c:
5482         * gst/gsttypefindfactory.h:
5483
5484 2005-09-15  David Schleef  <ds@schleef.org>
5485
5486         * gst/gstindex.c: get refcounting correct.
5487         * gst/gstregistry.c: Handle the case where a feature/plugin is
5488           not found.
5489
5490 2005-09-15  David Schleef  <ds@schleef.org>
5491
5492         * check/Makefile.am:
5493         * check/gst/gstplugin.c: Add test
5494         * gst/gstplugin.c: Fix problems noticed by testsuite
5495         * gst/gstplugin.h:
5496         * gst/gstregistry.c: 
5497         * gst/gstregistry.h:
5498
5499 2005-09-15  David Schleef  <ds@schleef.org>
5500
5501         * gst/gstplugin.c: Implement semi-decent recounting and locking
5502           in plugins and plugin features.
5503         * gst/gstplugin.h:
5504         * gst/gstpluginfeature.c:
5505         * gst/gstpluginfeature.h:
5506         * gst/gstregistry.c:
5507
5508 2005-09-15  Michael Smith <msmith@fluendo.com>
5509
5510         * gst/gstregistry.c: (gst_registry_get_feature_list):
5511           Implement this. Makes oggdemux work; decodebin still broken.
5512
5513 2005-09-14  David Schleef  <ds@schleef.org>
5514
5515         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
5516           #316076)
5517         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
5518         * gst/check/Makefile.am:
5519         * libs/gst/controller/Makefile.am:
5520         * libs/gst/dataprotocol/Makefile.am:
5521
5522 2005-09-14  David Schleef  <ds@schleef.org>
5523
5524         * configure.ac: Remove getbits library.  Nothing uses it, and
5525           it should be in something like liboil if someone did want
5526           to use it.
5527         * libs/gst/Makefile.am:
5528         * libs/gst/getbits/Makefile.am:
5529         * libs/gst/getbits/gbtest.c:
5530         * libs/gst/getbits/getbits.c:
5531         * libs/gst/getbits/getbits.h:
5532         * libs/gst/getbits/gstgetbits_generic.c:
5533         * libs/gst/getbits/gstgetbits_i386.s:
5534         * libs/gst/getbits/gstgetbits_inl.h:
5535
5536 2005-09-14  David Schleef  <ds@schleef.org>
5537
5538         * gst/Makefile.am: Dist glib-compat.h
5539
5540 2005-09-14  David Schleef  <ds@schleef.org>
5541
5542         * configure.ac: Remove gst/registries, since it's no longer used.
5543         * gst/registries/Makefile.am:
5544         * gst/registries/gstlibxmlregistry.c:
5545         * gst/registries/gstlibxmlregistry.h:
5546         * gst/registries/gstxmlregistry.c:
5547         * gst/registries/gstxmlregistry.h:
5548         * gst/registries/registrytest.c:
5549
5550 2005-09-14  David Schleef  <ds@schleef.org>
5551
5552         * gst/glib-compat.h:
5553         * gst/gstregistryxml.c:
5554           Convergence is near.  Seriously.
5555
5556 2005-09-14  David Schleef  <ds@schleef.org>
5557
5558         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5559         * gst/glib-compat.h:
5560           Attempt #4 to appease the buildbots.
5561
5562 2005-09-14  David Schleef  <ds@schleef.org>
5563
5564         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5565           Attempt #3.
5566
5567 2005-09-14  David Schleef  <ds@schleef.org>
5568
5569         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5570         Attempt #2.
5571
5572 2005-09-14  David Schleef  <ds@schleef.org>
5573
5574         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
5575           the new functions.
5576
5577 2005-09-14  David Schleef  <ds@schleef.org>
5578
5579         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
5580         * gst/glib-compat.h: Add some functions that are in newer versions
5581           of glib than we care to require.
5582         * gst/gstregistryxml.c: Use them.
5583
5584 2005-09-14  David Schleef  <ds@schleef.org>
5585
5586         * po/POTFILES.in: remove gst-register.c
5587
5588 2005-09-14  David Schleef  <ds@schleef.org>
5589
5590         * docs/gst/gstreamer-docs.sgml:
5591         * docs/gst/gstreamer-sections.txt:
5592         * docs/gst/gstreamer.types:
5593         * docs/gst/tmpl/gstelement.sgml:
5594         * docs/gst/tmpl/gstplugin.sgml:
5595         * docs/gst/tmpl/gstpluginfeature.sgml:
5596           Documentation updates for registry changes.
5597
5598 2005-09-14  David Schleef  <ds@schleef.org>
5599
5600         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
5601           because we don't require glib-2.8.
5602
5603 2005-09-14  David Schleef  <ds@schleef.org>
5604
5605         * gst/gstregistryxml.c: Added.  Essentially moved out of the
5606           registries directory.
5607
5608 2005-09-14  David Schleef  <ds@schleef.org>
5609
5610         * check/Makefile.am:
5611         * check/generic/states.c:
5612         * gst/Makefile.am:
5613         * gst/gst.c:
5614         * gst/gst.h:
5615         * gst/gst_private.h:
5616         * gst/gstelementfactory.c:
5617         * gst/gstindex.c:
5618         * gst/gstinfo.c:
5619         * gst/gstplugin.c:
5620         * gst/gstplugin.h:
5621         * gst/gstpluginfeature.c:
5622         * gst/gstpluginfeature.h:
5623         * gst/gstregistry.c:
5624         * gst/gstregistry.h:
5625         * gst/gstregistrypool.c: remove
5626         * gst/gstregistrypool.h: remove
5627         * gst/gsttypefind.c:
5628         * gst/gsttypefindfactory.c:
5629         * gst/gsturi.c:
5630         * tools/Makefile.am:
5631         * tools/gst-compprep.c:
5632         * tools/gst-inspect.c:
5633         * tools/gst-register.c: remove
5634         * tools/gst-xmlinspect.c:
5635           Registry rewrite.  Changes registry from being a file created
5636           by a tool into a simple cache file created automatically by 
5637           libgstreamer.  Removed gst-register (because it's no longer
5638           needed).  Remove registry pools, because we only have one
5639           registry implementation (XML).  Fix up other subsystems as
5640           necessary.
5641
5642 2005-09-13  Michael Smith <msmith@fluendo.com>
5643
5644         * gst/gstconfig.h.in:
5645           Don't Use windows linking attributes for MinGW. Fixes #316157
5646
5647 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5648
5649         * gst/gstutils.c: (set_state_async_thread_func),
5650         (gst_element_set_state_async):
5651           Apparently people think it's better if this function doesn't
5652           try to set the state to whatever state was asked for on the first
5653           call to this function for any object.  Seriously.
5654
5655 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5656
5657         * check/gst/gstpipeline.c: (GST_START_TEST):
5658         * docs/gst/gstreamer-sections.txt:
5659         * gst/gstutils.c: (set_state_async_thread_func),
5660         (gst_element_set_state_async):
5661         * gst/gstutils.h:
5662           add a "gst_element_set_state_async" method that
5663           sets the state and starts a thread to make sure the state
5664           change completes as best as it can
5665
5666 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5667
5668         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5669           codify design+behaviour in testsuite after discussion
5670
5671 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5672
5673         * docs/gst/tmpl/gstelement.sgml:
5674         * docs/manual/appendix-quotes.xml:
5675           add a quote
5676         * gst/gstelement.c: (gst_element_set_state):
5677           add some debug
5678
5679 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
5680
5681         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5682         (gst_base_transform_prepare_output_buf),
5683         (gst_base_transform_handle_buffer):
5684         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
5685         (gst_capsfilter_prepare_buf):
5686           Remove the requirement for sub-classes to call the parent
5687           implementation of prepare_output_buffer with a wrapper function.
5688           
5689         * gst/gsttaglist.h:
5690         * gst/gsttagsetter.h:
5691           Fix #define wrapper
5692
5693 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
5694
5695         * docs/gst/gstreamer-sections.txt:
5696           more doc cleanups
5697
5698 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5699
5700         * docs/gst/gstreamer-sections.txt:
5701         * docs/gst/tmpl/gstelement.sgml:
5702         * docs/gst/tmpl/gstplugin.sgml:
5703         * gst/gstminiobject.c:
5704         * gst/gstvalue.h:
5705           docs now stop throwing warnings
5706
5707 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5708
5709         * docs/gst/gstreamer-sections.txt:
5710         * docs/gst/gstreamer.types:
5711         * docs/gst/tmpl/gstpad.sgml:
5712         * docs/gst/tmpl/gsttypes.sgml:
5713         * gst/base/gstadapter.h:
5714         * gst/base/gstbasesink.h:
5715         * gst/base/gstbasesrc.h:
5716         * gst/gstbin.h:
5717         * gst/gstbuffer.h:
5718         * gst/gstbus.h:
5719         * gst/gstcaps.h:
5720         * gst/gstclock.h:
5721         * gst/gstelement.h:
5722         * gst/gstevent.h:
5723         * gst/gstmessage.h:
5724         * gst/gstpad.h:
5725         * gst/gststructure.c:
5726         * gst/registries/gstlibxmlregistry.h:
5727           various documentation fixes
5728
5729 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
5730
5731         * docs/gst/gstreamer-sections.txt:
5732         * docs/gst/tmpl/gstvalue.sgml:
5733           rearrange gstvalue section
5734         * gst/gstutils.c: (gst_element_state_get_name):
5735           NONE -> VOID
5736         * gst/gstvalue.c: (_gst_value_initialize):
5737         * gst/gstvalue.h:
5738           doc updates
5739
5740 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
5741
5742         * check/gst-libs/controller.c:
5743           Header include fix.
5744         * gst/base/gstbasetransform.c:
5745         (gst_base_transform_default_prepare_buf),
5746         (gst_base_transform_handle_buffer):
5747         * gst/base/gstbasetransform.h:
5748           Some more basetransform changes and fixes to enable sub-classes
5749           that modify buffer metadata only.
5750         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5751         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
5752         (gst_capsfilter_prepare_buf):
5753           If the output pad has fixed allowed caps and input buffers 
5754           don't have any, set the fixed caps on outgoing buffers.
5755
5756 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
5757         * check/elements/identity.c: (GST_START_TEST):
5758           Make the error a little clearer when the test fails because
5759           identity made a copy of the buffer.
5760         * docs/gst/gstreamer-sections.txt:
5761           New symbols in gstbasetransform.h
5762         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5763         (gst_base_transform_init), (gst_base_transform_transform_size),
5764         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5765         (gst_base_transform_default_prepare_buf),
5766         (gst_base_transform_get_unit_size),
5767         (gst_base_transform_buffer_alloc),
5768         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5769         (gst_base_transform_change_state),
5770         (gst_base_transform_set_passthrough),
5771         (gst_base_transform_set_in_place),
5772         (gst_base_transform_is_in_place):
5773         * gst/base/gstbasetransform.h:
5774           Change BaseTransform to separate in_place operate from same_caps
5775           output. in_place implies that the element can perform the transform
5776           on incoming buffers in-place, even if the caps on the output are
5777           different.
5778           Sub-class elements can now implement special buffer allocation
5779           methods for outgoing buffers if they wish to.
5780           Big documentation addition.
5781         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
5782         * gst/elements/gstelements.c:
5783           Changes for basetransform modifications.
5784         * gst/elements/Makefile.am:
5785         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
5786           Compile fix. Extra debug output.
5787
5788 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5789
5790         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
5791         (gst_pad_suite):
5792           add tests for valid pad naming
5793         * gst/check/gstcheck.c: (gst_check_log_message_func),
5794         (gst_check_log_critical_func):
5795           add ASSERT_WARNING
5796           remove printing of code, it is fragile when the code contains
5797           % and the line number is enough info
5798         * gst/check/gstcheck.h:
5799         * gst/gstpad.c: (gst_pad_template_new):
5800           fix memleaks
5801
5802 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5803
5804         * configure.ac:
5805           say what CHECK flags we use
5806         * docs/libs/gstreamer-libs.types:
5807         * libs/gst/controller/Makefile.am:
5808         * libs/gst/controller/gst-controller.c:
5809         * libs/gst/controller/gst-controller.h:
5810         * libs/gst/controller/gst-helper.c:
5811         * libs/gst/controller/gst-interpolation.c:
5812         * libs/gst/controller/gstcontroller.c:
5813         * libs/gst/controller/gsthelper.c:
5814         * libs/gst/controller/gstinterpolation.c:
5815         * tools/gst-inspect.c: (print_plugin_info):
5816           we don't use dashes in header names
5817
5818 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5819
5820         * check/Makefile.am:
5821         * check/gst/.cvsignore:
5822         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
5823         (gst_pipeline_suite), (main):
5824           adding a test for pipelines and state changes
5825         * gst/gstutils.c: (get_state_func):
5826           add some debugging
5827         * gstreamer.spec.in:
5828           fix up spec file
5829
5830 2005-09-08  Michael Smith <msmith@fluendo.com>
5831
5832         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
5833         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
5834         (gst_file_src_is_seekable), (gst_file_src_get_size),
5835         (gst_file_src_start):
5836         * gst/elements/gstfilesrc.h:
5837           Various fixes for unseekable, unmmapable, and non-normal files, so
5838           that fallback to read() rather than mmap() works.
5839         * gst/gstevent.c: (gst_event_new_newsegment):
5840           Allow newsegment events with segment_start == segment_end, as will
5841           correctly happen if you use filesrc on a zero-size file, for
5842           example.
5843
5844 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5845
5846         * gst/gstplugin.c: (gst_plugin_load_file):
5847           Call g_module_close when we don't load the module
5848
5849         * gst/registries/gstlibxmlregistry.c:
5850         (gst_xml_registry_get_property):
5851           Port leak fix from 0.8
5852
5853 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5854
5855         * docs/gst/gstreamer-docs.sgml:
5856         * docs/gst/tmpl/.cvsignore:
5857         * docs/gst/tmpl/gsttrace.sgml:
5858         * docs/gst/tmpl/gsttrashstack.sgml:
5859         * gst/Makefile.am:
5860         * gst/gst.h:
5861         * gst/gstelement.h:
5862         * gst/gstevent.h:
5863         * gst/gstmessage.c:
5864         * gst/gstmessage.h:
5865         * gst/gsttag.c:
5866         * gst/gsttag.h:
5867         * gst/gsttaginterface.c:
5868         * gst/gsttaginterface.h:
5869         * gst/gsttaglist.c:
5870         * gst/gsttaglist.h:
5871         * gst/gsttagsetter.c:
5872         * gst/gsttagsetter.h:
5873         * gst/gsttrace.c:
5874         * gst/gsttrace.h:
5875         * gst/gsttrashstack.c:
5876           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
5877           inlined docs for gsttrace, gsttrashstack
5878
5879 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * gst/Makefile.am:
5882         * gst/elements/gstbufferstore.h:
5883         * gst/elements/gsttypefindelement.c:
5884         * gst/elements/gsttypefindelement.h:
5885         * gst/gst.h:
5886         * gst/gsttypefind.c:
5887         * gst/gsttypefind.h:
5888         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
5889         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
5890         (gst_type_find_factory_dispose),
5891         (gst_type_find_factory_unload_thyself),
5892         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
5893         (gst_type_find_factory_get_caps),
5894         (gst_type_find_factory_get_extensions),
5895         (gst_type_find_factory_call_function):
5896         * gst/gsttypefindfactory.h:
5897         * gst/registries/gstlibxmlregistry.c:
5898         * gst/registries/gstxmlregistry.c:
5899           splitted gsttypefind into gsttypefind, gsttypefindfactory
5900
5901 2005-09-07  Andy Wingo  <wingo@pobox.com>
5902
5903         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
5904         condition whereby the pad's task function is entered before the
5905         pad_mode variable was set.
5906
5907 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
5908
5909         * gst/gstpad.c: (gst_pad_alloc_buffer):
5910           Catch misbehaving pad_alloc functions that don't
5911           set up caps and do it for them.
5912
5913 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * check/pipelines/simple_launch_lines.c: (run_pipeline):
5916           test for pipe!=NULL
5917         * docs/gst/tmpl/.cvsignore:
5918         * docs/gst/tmpl/gstmemchunk.sgml:
5919         * docs/gst/tmpl/gstparse.sgml:
5920         * docs/gst/tmpl/gsttaglist.sgml:
5921         * docs/gst/tmpl/gsttagsetter.sgml:
5922         * docs/gst/tmpl/gsttypefind.sgml:
5923         * docs/gst/tmpl/gsttypefindfactory.sgml:
5924         * gst/gstmemchunk.c:
5925         * gst/gstparse.c:
5926         * gst/gsttag.c:
5927         * gst/gsttaginterface.c:
5928         * gst/gsttypefind.c:
5929         * gst/gsttypefind.h:
5930           inlined more docs
5931
5932 === release 0.9.2 ===
5933
5934 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5935
5936         * NEWS:
5937         * RELEASE:
5938         * configure.ac:
5939           releasing 0.9.2, "South"
5940
5941 2005-09-05  Andy Wingo  <wingo@pobox.com>
5942
5943         * gst/registries/gstxmlregistry.h:
5944         * gst/registries/gstxmlregistry.c: Um... resurrect...
5945         
5946         * gst/registries/gstxmlregistry.h:
5947         * gst/registries/gstxmlregistry.c: and update to newer API.
5948         Incidentally they should be a bit faster now that they don't have
5949         to parse the caps.
5950         
5951 2005-09-05  Andy Wingo  <wingo@pobox.com>
5952
5953         * gst/registries/gstxmlregistry.h:
5954         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
5955         replaced by the libxml registry a while back
5956
5957 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5958
5959         * docs/gst/tmpl/gstplugin.sgml:
5960         * gst/elements/gstelements.c:
5961         * gst/gst.c:
5962         * gst/gstplugin.c: (gst_plugin_register_func),
5963         (gst_plugin_desc_copy), (gst_plugin_desc_free),
5964         (gst_plugin_get_source):
5965         * gst/gstplugin.h:
5966         * gst/registries/gstlibxmlregistry.c: (load_plugin),
5967         (gst_xml_registry_save_plugin):
5968         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
5969         (gst_xml_registry_save_plugin):
5970         * tools/gst-inspect.c: (print_plugin_info):
5971           add a "source" plugin description field, to represent the source
5972           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
5973           will set it to PACKAGE, which is automake's idea of the name of
5974           the source project.
5975
5976 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
5977
5978         * Makefile.am:
5979         * autogen.sh:
5980         * configure.ac:
5981         * docs/Makefile.am:
5982         * docs/faq/Makefile.am:
5983         * docs/gst/tmpl/gstelement.sgml:
5984         * docs/gst/tmpl/gsttypes.sgml:
5985         * docs/htmlinstall.mak:
5986         * docs/manual/Makefile.am:
5987         * docs/pwg/Makefile.am:
5988           reorganize doc build a little
5989           split out docbook and gtk-doc stuff
5990           have two separate --enable's and enable them through autogen
5991           but disable by default in configure (to be similar to other
5992           projects)
5993         * gstreamer.spec.in:
5994           clean up docs install
5995         * po/af.po:
5996         * po/az.po:
5997         * po/ca.po:
5998         * po/cs.po:
5999         * po/de.po:
6000         * po/en_GB.po:
6001         * po/fr.po:
6002         * po/it.po:
6003         * po/nb.po:
6004         * po/nl.po:
6005         * po/ru.po:
6006         * po/sq.po:
6007         * po/sr.po:
6008         * po/sv.po:
6009         * po/tr.po:
6010         * po/uk.po:
6011         * po/vi.po:
6012           translation updates
6013
6014 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6015
6016         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6017           Add comment.
6018           
6019         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6020         (gst_fake_sink_change_state):
6021           Make state change function thread-safe.
6022           
6023         * gst/gstpad.c: (gst_pad_alloc_buffer):
6024           Set offset on generic buffer allocated by fallback.
6025
6026 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
6027
6028         * docs/gst/gstreamer-sections.txt:
6029         * docs/gst/tmpl/gstelement.sgml:
6030         * gst/gstpad.c:
6031         * libs/gst/controller/gst-controller.c:
6032         (gst_controlled_property_set_interpolation_mode),
6033         (gst_controlled_property_new),
6034         (gst_controller_find_controlled_property):
6035          run the wingo-magic script against the docs
6036
6037 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6038
6039         * docs/gst/gstreamer-docs.sgml:
6040         * docs/gst/gstreamer-sections.txt:
6041         * docs/gst/tmpl/.cvsignore:
6042         * docs/gst/tmpl/gstelementdetails.sgml:
6043         * docs/gst/tmpl/gstelementfactory.sgml:
6044         * gst/gst.c:
6045         * gst/gstbus.c:
6046         * gst/gstelementfactory.c:
6047         * gst/gstelementfactory.h:
6048           merged elementdetails docs into elementfactory docs
6049           inlined both
6050
6051 2005-09-02  Andy Wingo  <wingo@pobox.com>
6052
6053         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6054         consider this enum an enum and not a flags.
6055
6056 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
6057
6058         * docs/gst/gstreamer-docs.sgml:
6059         * docs/gst/tmpl/.cvsignore:
6060         * docs/gst/tmpl/gstghostpad.sgml:
6061         * docs/gst/tmpl/gstiterator.sgml:
6062         * docs/gst/tmpl/gstmacros.sgml:
6063         * docs/gst/tmpl/gstrealpad.sgml:
6064         * docs/gst/tmpl/gstregistry.sgml:
6065         * docs/gst/tmpl/gstregistrypool.sgml:
6066         * docs/gst/tmpl/gststructure.sgml:
6067         * docs/gst/tmpl/gstsystemclock.sgml:
6068         * docs/gst/tmpl/gsttrace.sgml:
6069         * gst/gstghostpad.c:
6070         * gst/gstmacros.h:
6071         * gst/gstmemchunk.c:
6072         * gst/gstmemchunk.h:
6073         * gst/gstqueue.c:
6074         * gst/gstregistry.c:
6075         * gst/gstregistrypool.c:
6076         * gst/gststructure.c:
6077         * gst/gstsystemclock.c:
6078           more docs inlined
6079
6080 2005-09-02  Andy Wingo  <wingo@pobox.com>
6081
6082         * gst/gstelement.h (GstState): Renamed from GstElementState,
6083         changed to be a normal enum instead of flags.
6084         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6085         munged to be GST_STATE_CHANGE_*.
6086         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6087         work with the new state representation.
6088         (GstStateChange): New enumeration of possible state transitions.
6089         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6090         (GstElementClass::change_state): Pass the GstStateChange along as
6091         an argument. Helps language bindings, so they don't have to use
6092         tricky lock-needing macros like GST_STATE_CHANGE ().
6093
6094         * scripts/update-states (file): New script. Run it on a file to
6095         update it for state naming and API changes. Updates files in
6096         place.
6097
6098         * All files updated for the new API.
6099
6100 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6101
6102         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6103         * gst/gstutils.c: (gst_util_set_value_from_string),
6104         (gst_util_set_object_arg):
6105           fix a bunch of unchecked return values
6106         * tools/gst-complete.c: (main):
6107         * gstreamer.spec.in:
6108           clean up a little
6109
6110 2005-09-01  Wim Taymans  <wim@fluendo.com>
6111
6112         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6113         (gst_base_sink_event), (gst_base_sink_do_sync),
6114         (gst_base_sink_handle_event):
6115         * gst/base/gstbasesink.h:
6116         Handle newsegments more correctly.
6117
6118         * gst/gstbus.c:
6119         Fix docs.
6120
6121         * gst/gstevent.c: (gst_event_new_newsegment):
6122         A newsegment cannot have a start_time of -1
6123
6124 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6125
6126         * win32/gstenumtypes.c:
6127         * win32/gstenumtypes.h:
6128           Update
6129
6130 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6131
6132         * libs/gst/controller/gst-controller.c:
6133         (gst_controlled_property_set_interpolation_mode),
6134         (gst_controlled_property_new):
6135          fixed boolean again
6136
6137 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
6138
6139         * docs/faq/gst-uninstalled:
6140           add -good
6141         * gst/gstevent.c:
6142         * gst/gstevent.h:
6143           remove wrong docs
6144         * gst/gstutils.c: (gst_element_link_filtered):
6145         * gst/gstutils.h:
6146           add gst_element_link_filtered
6147
6148 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * docs/gst/gstreamer-docs.sgml:
6151         * docs/gst/gstreamer-sections.txt:
6152         * docs/gst/tmpl/.cvsignore:
6153         * docs/gst/tmpl/gsterror.sgml:
6154         * docs/gst/tmpl/gstfilter.sgml:
6155         * docs/gst/tmpl/gsturihandler.sgml:
6156         * docs/gst/tmpl/gsturitype.sgml:
6157         * docs/gst/tmpl/gstutils.sgml:
6158         * docs/gst/tmpl/gstxml.sgml:
6159         * gst/gsterror.c:
6160         * gst/gsterror.h:
6161         * gst/gstfilter.c:
6162         * gst/gsturi.c:
6163         * gst/gsturitype.c:
6164         * gst/gstutils.c:
6165         * gst/gstxml.c:
6166           inlined more docs, fixed double id-ref
6167
6168 2005-08-31  Wim Taymans  <wim@fluendo.com>
6169
6170         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6171         (gst_base_transform_handle_buffer):
6172         Passthrough elements don't need the caps as they don't care.
6173
6174 2005-08-31  Wim Taymans  <wim@fluendo.com>
6175
6176         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6177         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6178         Don't leak refcounts on buffers.
6179
6180 2005-08-31  Wim Taymans  <wim@fluendo.com>
6181
6182         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6183         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6184         (gst_base_transform_chain), (gst_base_transform_change_state):
6185         * gst/base/gstbasetransform.h:
6186         Handle the case where we are not negotiated more gracefully.
6187
6188 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6191         (gst_file_src_map_region):
6192           Set READONLY flag on mmap'ed buffers, otherwise
6193           gst_buffer_make_writable() won't work properly (#314708).
6194
6195 2005-08-31  Wim Taymans  <wim@fluendo.com>
6196
6197         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6198         passthrough elements can even do inplace on non writable
6199         buffers (as they don't touch them).
6200
6201 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
6202
6203         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6204         (gst_test_mono_source_set_property),
6205         (gst_test_mono_source_class_init), (GST_START_TEST),
6206         (gst_controller_suite):
6207           more tests (hehe I have the most)
6208         * gst/gstbus.c:
6209           describe popping messages whenusing mulltiple sources
6210         * libs/gst/controller/gst-controller.c:
6211         (gst_controlled_property_set_interpolation_mode),
6212         (gst_controlled_property_new):
6213         * libs/gst/controller/gst-controller.h:
6214         * libs/gst/controller/gst-interpolation.c:
6215           implement boolean properties
6216
6217 2005-08-31  Wim Taymans  <wim@fluendo.com>
6218
6219         * gst/gstminiobject.c: (gst_mini_object_ref):
6220         Cannot assert that the refcount has to be positive
6221         since a disposed object can be resurrected.
6222
6223 2005-08-31  Wim Taymans  <wim@fluendo.com>
6224
6225         * gst/gstpad.c: (gst_pad_init):
6226         Revert change, need to first fix badly behaving 
6227         apps.
6228
6229 2005-08-30  Wim Taymans  <wim@fluendo.com>
6230
6231         * check/elements/fakesrc.c: (setup_fakesrc):
6232         * check/elements/identity.c: (setup_identity):
6233         Activate pads before using them.
6234
6235 2005-08-30  Wim Taymans  <wim@fluendo.com>
6236
6237         * gst/base/gstadapter.c: (gst_adapter_flush):
6238         Flushing out 0 bytes is ok for this function.
6239
6240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6241         no newsegment gives a warning and sets the start/stop to 
6242         invalid.
6243
6244         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6245         (gst_base_transform_set_passthrough):
6246         Some debug info.
6247
6248         * gst/gstminiobject.c: (gst_mini_object_ref):
6249         Check refcount here too.
6250
6251         * gst/gstpad.c: (gst_pad_init):
6252         Pads are initially flushing and refusing data.
6253
6254         * gst/gstutils.c: (gst_element_link_pads_filtered):
6255         When adding a capsfilter element make sure it has the
6256         same state as the parent bin.
6257
6258 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6259
6260         * docs/gst/tmpl/.cvsignore:
6261         * docs/gst/tmpl/gstformat.sgml:
6262         * docs/gst/tmpl/gstversion.sgml:
6263         * gst/gstbus.h:
6264         * gst/gstformat.c:
6265         * gst/gstformat.h:
6266         * gst/gstversion.h.in:
6267           more docs and two more inlined
6268
6269 2005-08-30  Wim Taymans  <wim@fluendo.com>
6270
6271         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6272         Don't sync to clock.
6273
6274 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6275
6276         * docs/gst/gstreamer-sections.txt:
6277           ultral33t func10ns deserve to appear in the docs actually
6278         * docs/gst/tmpl/.cvsignore:
6279         * docs/gst/tmpl/gstcompat.sgml:
6280         * docs/gst/tmpl/gstconfig.sgml:
6281         * gst/check/gstcheck.c:
6282         * gst/gstcompat.h:
6283         * gst/gstconfig.h.in:
6284           inlined more docs
6285
6286 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6287
6288         * docs/gst/tmpl/.cvsignore:
6289         * docs/gst/tmpl/gstquery.sgml:
6290         * docs/gst/tmpl/gstutils.sgml:
6291         * gst/gstquery.c:
6292         * gst/gstquery.h:
6293           inlined and extended docs
6294
6295 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
6296
6297         * check/gst-libs/controller.c: (GST_START_TEST),
6298         (gst_controller_suite):
6299           more tests
6300         * docs/gst/tmpl/gstutils.sgml:
6301         * docs/libs/gstreamer-libs-sections.txt:
6302         * docs/libs/tmpl/gstdataprotocol.sgml:
6303           include path fixes
6304         * examples/controller/audio-example.c: (main):
6305           controller example works now
6306         * gst/gstclock.h:
6307           doc fixes
6308         * tools/gst-inspect.c: (print_element_properties_info):
6309           show param spec flags
6310
6311 2005-08-29  Andy Wingo  <wingo@pobox.com>
6312
6313         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6314
6315 2005-08-28  Andy Wingo  <wingo@pobox.com>
6316
6317         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6318         as having two arguments instead of just one. Allows superclasses
6319         to access information on subclasses -- see the terrible for() loop
6320         in gtype.c:g_type_create_instance for the reason why. All callers
6321         changed.
6322
6323 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6324
6325         * docs/design/part-messages.txt:
6326           update info
6327         * docs/gst/tmpl/.cvsignore:
6328         * docs/gst/tmpl/gstcaps.sgml:
6329         * docs/gst/tmpl/gstclock.sgml:
6330         * gst/gstbus.c:
6331         * gst/gstcaps.c:
6332         * gst/gstcaps.h:
6333         * gst/gstclock.c:
6334         * gst/gstclock.h:
6335         * gst/gstmessage.c:
6336           added descriptions for bus and message
6337           inline caps and clock docs
6338
6339 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6340
6341         * gst/gstmessage.c:
6342         * gst/gstmessage.h:
6343           doc fixes
6344
6345 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
6346
6347         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6348           fix div-by-zero
6349
6350 2005-08-26  Andy Wingo  <wingo@pobox.com>
6351
6352         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6353         element_set_state's return val.
6354         (test_2_elements): Add test that's been disabled for months.
6355
6356         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6357         can-activate-pull properties.
6358
6359         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6360         can-activate-pull properties. Implement is_seekable so fakesrc can
6361         operate in pull mode.
6362
6363         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6364         properties.
6365         (gst_base_sink_activate, gst_base_sink_activate_pull)
6366         (gst_base_sink_activate_push): Make activation mode choosing work.
6367         Cleanups.
6368         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6369         is right. Make pull mode work. Post an eos before pausing in pull
6370         mode.
6371         (gst_base_sink_change_state): Pay attention to the core's
6372         change_state() return val.
6373         
6374         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6375         has-getrange properties. Cleanups.
6376         
6377         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6378         has_getrange and replace with can_activate_pull and
6379         can_activate_push.
6380
6381         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6382         locking comments. Remove has_loop, has_chain and replace with
6383         can_activate_pull and can_activate_push.
6384
6385 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
6386
6387         * configure.ac:
6388         * examples/Makefile.am:
6389         * examples/metadata/Makefile.am:
6390         * examples/metadata/read-metadata.c: (message_loop),
6391         (have_pad_handler), (make_pipeline), (print_tag), (main):
6392           Add metadata reading example that loops over a list of filenames,
6393           dumping any tags found.
6394
6395         * gst/gstbus.c: (gst_bus_dispose):
6396         * gst/gstelement.c: (gst_element_dispose):
6397           Release a few potentially-held references in dispose.
6398
6399 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6400
6401         * docs/gst/tmpl/gstminiobject.sgml:
6402           do *not* add tmpl/*.sgml files to CVS!
6403
6404 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6405
6406         * libs/gst/bytestream/.cvsignore:
6407         * libs/gst/bytestream/Makefile.am:
6408         * libs/gst/bytestream/adapter.c:
6409         * libs/gst/bytestream/adapter.h:
6410         * libs/gst/bytestream/bytestream.c:
6411         * libs/gst/bytestream/bytestream.h:
6412         * libs/gst/bytestream/filepad.c:
6413         * libs/gst/bytestream/filepad.h:
6414           removing obsolete files
6415
6416 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6417
6418         * docs/gst/gstreamer-docs.sgml:
6419         * docs/libs/gstreamer-libs-docs.sgml:
6420           disabed additional index entries again, as this makes docs-gen just
6421           slow and they aren't useful yet
6422         * docs/libs/gstreamer-libs-sections.txt:
6423           little -section.txt cleanup for libs
6424
6425 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
6426
6427         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6428         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6429           fix up some debugging
6430         (gst_base_transform_get_unit_size),
6431         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6432         (gst_base_transform_handle_buffer):
6433         * gst/base/gstbasetransform.h:
6434           handle and store timed NEWSEGMENT events so that subclasses that
6435           calculate time by counting samples have a segment_start time they
6436           need to add to their timestamps - see audioresample
6437
6438 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
6439
6440         * gst/gstbin.h:
6441           removed ';' from the end of macro defs
6442         * docs/gst/gstreamer-docs.sgml:
6443         * docs/gst/gstreamer-sections.txt:
6444         * docs/gst/tmpl/.cvsignore:
6445         * gst/gstbus.h:
6446         * gst/gstelement.c: (gst_element_class_init),
6447         (gst_element_set_state), (activate_pads),
6448         (gst_element_save_thyself):
6449         * gst/gstevent.c: (gst_event_new_newsegment):
6450         * gst/gstevent.h:
6451         * gst/gstiterator.c:
6452         * gst/gstiterator.h:
6453         * gst/gstpad.c:
6454         * gst/gstprobe.h:
6455         * gst/gstutils.c: (gst_pad_query_convert):
6456         * gst/gstutils.h:
6457           fixed parameter name mismatches between source, header and docs
6458           added some more docs, resolved the last batch of unused elements in
6459           docs (now someone needs to doc them)
6460
6461 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6462
6463         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
6464         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
6465           don't walk through the plugins backwards.  Where is all this
6466           reversed logic coming from ?
6467
6468 2005-08-25  Wim Taymans  <wim@fluendo.com>
6469
6470         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6471         (gst_base_transform_transform_size),
6472         (gst_base_transform_configure_caps),
6473         (gst_base_transform_get_unit_size),
6474         (gst_base_transform_buffer_alloc),
6475         (gst_base_transform_change_state):
6476         * gst/base/gstbasetransform.h:
6477         Cache caps unit_size.
6478         Make sure we cannot negotiate up and downstream at the
6479         same time.
6480
6481 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6482
6483         * gst/gst.c: (init_pre), (init_post):
6484           register the installed plugin path after the env var
6485         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
6486         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
6487           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
6488           directories, so the tests can prefer uninstalled over installed
6489
6490 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
6491
6492         * gst/base/gstbasetransform.h:
6493           comment
6494         * gst/gstpad.c:
6495           add to docs
6496
6497 2005-08-25  Wim Taymans  <wim@fluendo.com>
6498
6499         * gst/gstbin.c: (bin_bus_handler):
6500         Be a bit more conservative about the posted message.
6501         
6502         * gst/gstbus.c: (gst_bus_post):
6503         Some cleanups, warn wrong return values.
6504
6505 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
6506
6507         * check/gst/gstbin.c: (GST_START_TEST):
6508         * gst/gstbin.c: (bin_bus_handler):
6509         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6510         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6511         (gst_message_new_warning), (gst_message_new_tag),
6512         (gst_message_new_state_changed), (gst_message_new_segment_start),
6513         (gst_message_new_segment_done), (gst_message_new_custom):
6514         * gst/gstmessage.h:
6515         * tools/gst-launch.c: (event_loop):
6516         * tools/gst-md5sum.c: (event_loop):
6517           Revert unpopular change for GST_MESSAGE_SRC to GObject.
6518
6519 2005-08-25  Wim Taymans  <wim@fluendo.com>
6520
6521         * check/generic/states.c: (GST_START_TEST):
6522         Cleanup can be done at the end.
6523
6524         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
6525         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6526         (gst_task_get_state), (gst_task_start), (gst_task_pause):
6527         Oh boy.. Thanks for finding this, Thomas. 
6528
6529 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6530
6531         * docs/gst/gstreamer.types:
6532           added missing types
6533
6534 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
6535
6536         * docs/gst/gstreamer-docs.sgml:
6537         * docs/gst/gstreamer-sections.txt:
6538         * docs/gst/tmpl/.cvsignore:
6539         * gst/gstbin.c:
6540         * gst/gstiterator.c:
6541         * gst/gstutils.c:
6542         * gst/registries/gstxmlregistry.h:
6543           added missing classes and symbols (123 more to go)
6544           removed removed symbols from section file
6545           fixed many doc-comments
6546
6547 2005-08-24  Wim Taymans  <wim@fluendo.com>
6548
6549         * check/generic/states.c: (GST_START_TEST):
6550         Make sure all tasks are stopped.
6551
6552         * check/gst/gstbin.c: (GST_START_TEST):
6553         Unref after usage for proper valgrinding.
6554
6555         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
6556         Really wait for the task to stop before destroying the
6557         mutex.
6558
6559         * gst/gstqueue.c: (gst_queue_sink_activate_push),
6560         (gst_queue_src_activate_push):
6561         Small cleanups. Don't stop the task when we did not start
6562         it.
6563
6564         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
6565         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
6566         (gst_task_get_state), (gst_task_start), (gst_task_pause),
6567         (gst_task_join):
6568         * gst/gsttask.h:
6569         Protect the stream lock with the object lock.
6570         Disallow setting the stream lock when running.
6571         Add cleanup_all to wait for the threadpool to finish.
6572         Remove code to autoallocate a mutex if none was provided.
6573         Add _join() to wait for a task to stop.
6574         Protect the thread pool with a global lock.
6575
6576 2005-08-24  Wim Taymans  <wim@fluendo.com>
6577
6578         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6579         (gst_base_sink_get_times), (gst_base_sink_do_sync),
6580         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
6581         * gst/base/gstbasesink.h:
6582         Handle newsegment events correctly.
6583         Drop buffers out of the segment range.
6584
6585 2005-08-22  Andy Wingo  <wingo@pobox.com>
6586
6587         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
6588         macro, implements an interface and gstimplementsinterface for a
6589         new type.
6590
6591 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6592
6593         * check/Makefile.am:
6594         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
6595           add a test that does a bunch of state changes on elements
6596           needs some fixing for valgrind
6597         * check/states/sinks.c: (gst_object_suite):
6598           whitespace
6599         * gst/gstcaps.h:
6600           add prototype for gst_caps_is_equal_fixed
6601         * gst/gstplugin.c:
6602         * gst/gstregistrypool.c:
6603           doc fixes
6604
6605 2005-08-24  Andy Wingo  <wingo@pobox.com>
6606
6607         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
6608         convert a negative value. Doesn't make much sense. Mostly this is
6609         here to force callers to ensure -1 maps to -1.
6610
6611 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6612
6613         * docs/pwg/advanced-types.xml:
6614           Well done to Michael for catching my deliberate introduction
6615           of this spelling mistake. 
6616         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
6617         * gst/gstelement.h:
6618           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
6619           unlink pads before removing the element from the bin.
6620
6621 2005-08-24  Andy Wingo  <wingo@pobox.com>
6622
6623         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
6624         the same thing as GST_DEBUG=*:4.
6625         (parse_debug_level, parse_debug_category): New helper parsers.
6626
6627 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6628
6629         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6630         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
6631         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
6632         (gst_base_transform_buffer_alloc),
6633         (gst_base_transform_handle_buffer):
6634           use gboolean return values and pointers to size so we can use the
6635           full GST_BUFFER_SIZE range (guint) for buffer sizes
6636           use GstPadDirection for transform_caps
6637         * gst/base/gstbasetransform.h:
6638           rename get_size to get_unit_size since that's what it is
6639         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
6640           use GstPadDirection for transform_caps
6641         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6642         * gst/gstutils.h:
6643           cleanup and debugging
6644
6645 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6646
6647         * gst/gstelement.c: (gst_element_class_init),
6648         (gst_element_set_state), (activate_pads),
6649         (gst_element_save_thyself):
6650         * tools/gst-compprep.c: (main):
6651         * tools/gst-inspect.c: (print_element_properties_info):
6652         * tools/gst-xmlinspect.c: (print_element_properties):
6653           Fixed long standing mem-leak
6654
6655 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
6656
6657         * check/gst/gstbin.c: (GST_START_TEST):
6658         * gst/gstbin.c: (bin_bus_handler):
6659         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
6660         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
6661         (gst_message_new_warning), (gst_message_new_tag),
6662         (gst_message_new_state_changed), (gst_message_new_segment_start),
6663         (gst_message_new_segment_done), (gst_message_new_custom):
6664         * gst/gstmessage.h:
6665         * tools/gst-launch.c: (event_loop):
6666         * tools/gst-md5sum.c: (event_loop):
6667           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
6668           that applications can sensibly post custom messages with references
6669           to their own objects.
6670
6671 2005-08-24  Andy Wingo  <wingo@pobox.com>
6672
6673         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
6674         already.
6675
6676 2005-08-24  Wim Taymans  <wim@fluendo.com>
6677
6678         * gst/base/gstbasetransform.c: (gst_base_transform_init),
6679         (gst_base_transform_transform_caps),
6680         (gst_base_transform_transform_size),
6681         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6682         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6683         (gst_base_transform_handle_buffer):
6684         * gst/base/gstbasetransform.h:
6685         Many fixes and new features added by Thomas. Can now also do
6686         transforms with variable sizes and a custom fixate_caps function.
6687
6688 2005-08-24  Wim Taymans  <wim@fluendo.com>
6689
6690         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6691         Some debugging.
6692
6693         * gst/gstclock.h:
6694         Cast to ClockTime before formatting to time.
6695
6696         * gst/gstutils.h:
6697         Cleanups.
6698
6699 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
6700
6701         * check/gst-libs/controller.c: (GST_START_TEST),
6702         (gst_controller_suite):
6703         * docs/gst/tmpl/gstcaps.sgml:
6704         * docs/gst/tmpl/gstghostpad.sgml:
6705         * docs/gst/tmpl/gstquery.sgml:
6706         * docs/gst/tmpl/gstutils.sgml:
6707         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
6708         (gst_object_sink_values), (gst_object_get_value_arrays),
6709         (gst_object_get_value_array):
6710           gracefully handle helper method calls to objects that are not beeing
6711           controlled, added test case for that          
6712
6713 2005-08-23  Wim Taymans  <wim@fluendo.com>
6714
6715         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
6716         (gst_event_new_newsegment), (gst_event_parse_newsegment),
6717         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
6718         (gst_event_parse_qos), (gst_event_new_seek),
6719         (gst_event_parse_seek):
6720         * gst/gstevent.h:
6721         Some more debugging output and doc cleanups.
6722
6723         * gst/gstqueue.c: (gst_queue_handle_sink_event):
6724         Fix possible deadlock.
6725
6726 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6727
6728         * docs/gst/gstreamer-docs.sgml:
6729         * docs/gst/gstreamer-sections.txt:
6730         * docs/gst/gstreamer.types:
6731         * docs/gst/tmpl/.cvsignore:
6732         * gst/gstbin.h:
6733         * gst/gstbus.c:
6734         * gst/gstelement.c:
6735         * gst/gstevent.h:
6736           added 100 symbols from gstreamer-unused.txt to the right sections
6737           fixed more broken comments
6738           added GstBus to docs
6739
6740 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6741
6742         * docs/gst/gstreamer-sections.txt:
6743         * docs/gst/tmpl/.cvsignore:
6744         * docs/gst/tmpl/gstbin.sgml:
6745         * docs/gst/tmpl/gstbuffer.sgml:
6746         * gst/base/gstbasesrc.c:
6747         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
6748         * gst/gstbuffer.c:
6749         * gst/gstbuffer.h:
6750         * tools/gst-launch.1.in:
6751           inlined more doc comments, added missing comments and fixed comments
6752           fixed typos
6753
6754 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6755
6756         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
6757           some debugging
6758         * gst/gstcaps.h:
6759           whitespace fixes
6760         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
6761           more debugging
6762         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
6763         * gst/gststructure.h:
6764           add a fixate function for booleans; add a FIXME that these func
6765           names should probably be gst_structure_fixate_*
6766
6767 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
6768
6769         * docs/gst/gstreamer-docs.sgml:
6770         * docs/gst/gstreamer-sections.txt:
6771         * gst/Makefile.am:
6772         * gst/gstbin.c: (gst_bin_get_type),
6773         (gst_bin_child_proxy_get_child_by_index),
6774         (gst_bin_child_proxy_get_children_count),
6775         (gst_bin_child_proxy_init):
6776         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
6777         (gst_child_proxy_get_child_by_index),
6778         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
6779         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
6780         (gst_child_proxy_get), (gst_child_proxy_set_property),
6781         (gst_child_proxy_set_valist), (gst_child_proxy_set),
6782         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
6783         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
6784         * gst/gstchildproxy.h:
6785         * gst/parse/grammar.y:
6786         * tools/gst-inspect.c: (print_interfaces),
6787         (print_element_properties_info), (print_element_info):
6788           ported gstchildproxy over from 0.8
6789           ported gst-inspect fixes and enhancements over from 0.8
6790
6791 2005-08-22  Wim Taymans  <wim@fluendo.com>
6792
6793         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6794         (gst_base_transform_handle_buffer):
6795         Also call the transform function if we have ANY caps.
6796
6797         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
6798         Fix debug info.
6799
6800 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6801
6802         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
6803           Don't pretend to handle seek events if the source is not seekable
6804
6805 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
6806
6807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6808           Remove extra parameter to debug output
6809
6810         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6811         (gst_base_src_do_seek), (gst_base_src_activate_push):
6812           Fix seek event handling.
6813
6814         * gst/gstpipeline.c: (gst_pipeline_change_state):
6815         * gst/gstqueue.c: (gst_queue_handle_sink_event),
6816         (gst_queue_src_activate_push):
6817           Don't start the src pad task on FLUSH_STOP if the pad
6818           isn't linked.
6819           Debug changes.
6820
6821 2005-08-22  Wim Taymans  <wim@fluendo.com>
6822
6823         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6824         Added check for gst_static_caps_get() refcounting.
6825
6826 2005-08-22  Wim Taymans  <wim@fluendo.com>
6827
6828         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
6829         Make _static_caps_get() refcounting sane.
6830         
6831         * gst/gstelement.c: (gst_element_set_state):
6832         Add g_return_val_if_fail() to protect against segfaults.
6833
6834 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
6835
6836         * docs/gst/tmpl/gstevent.sgml:
6837         * gst/gstevent.c:
6838         * gst/gstevent.h:
6839           inlined remaining docs, added missing doc comments
6840
6841 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6842
6843         * check/gst/gstbin.c: (GST_START_TEST):
6844           since we don't know when preroll is done, use refcount range
6845           check for the sink
6846         * gst/check/gstcheck.h:
6847           add macro for checking refcount range
6848
6849 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6850
6851         * check/Makefile.am:
6852           clean up environment for when registry gets built versus
6853           when actual tests are run; valgrind seems to not report
6854           leaks if GST_PLUGIN_PATH is set to some specific values
6855         * check/gst/gstbin.c: (GST_START_TEST):
6856           add more refcounting checks; maybe this exposes a
6857           preroll lock bug ?
6858         * common/check.mak:
6859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6860         * gst/check/gstcheck.h:
6861         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
6862         (gst_bin_change_state):
6863         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
6864           add/fix debugging/whitespace
6865
6866 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6867
6868         * check/gst/gstevent.c: (event_probe), (test_event),
6869         (GST_START_TEST):
6870          Er, don't call gst_bin_watch_for_state_change you idiot.
6871
6872 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
6873
6874         * check/Makefile.am:
6875           Use CHECK_CFLAGS and CHECK_LIBS
6876         * check/gst/gstevent.c: (event_probe), (test_event),
6877         (GST_START_TEST):
6878           Don't leak events.
6879         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6880         (gst_base_src_start), (gst_base_src_stop),
6881         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6882         (gst_base_src_change_state):
6883           Sprinkle gst_base_src_stop liberally around error paths to fix
6884           problems reusing a source after failed state changes.
6885         * gst/base/gsttypefindhelper.c: (helper_find_peek),
6886         (helper_find_suggest), (gst_type_find_helper):
6887           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
6888         * gst/gstevent.h:
6889         * docs/gst/tmpl/gstevent.sgml:
6890           Migrate part of the docs from the SGML file. Wait for ensonic to
6891           tell me how I did it wrong ;)
6892         * tools/gst-typefind.c: (main):
6893           Extra robustness to state changes between files.
6894
6895 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6896
6897         * check/Makefile.am:
6898           don't valgrind the controller test - it's leaking - Stefan, HELP
6899         * gst/check/gstcheck.c: (gst_check_message_error),
6900         (gst_check_chain_func), (gst_check_setup_element),
6901         (gst_check_teardown_element), (gst_check_setup_src_pad),
6902         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6903         (gst_check_teardown_sink_pad):
6904         * gst/check/gstcheck.h:
6905           add a bunch of methods to set up elements, and src and sink pads
6906         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
6907         * check/elements/identity.c: (setup_identity), (cleanup_identity),
6908         (GST_START_TEST):
6909           use them
6910         * gst/gstmessage.c:
6911         * gst/gsttag.h:
6912           whitespace/doc fixes
6913
6914 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6915
6916         * gst/gstelement.h:
6917           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
6918           be handled by the application and not always printed as well
6919
6920 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6921
6922         * check/Makefile.am:
6923           set GST_TOOLS_DIR
6924         * gst/check/gstcheck.c: (gst_check_message_error):
6925         * gst/check/gstcheck.h:
6926           add a fail_unless_equals_int
6927           add fail_unless for error messages
6928
6929 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6930
6931         * check/Makefile.am:
6932         * check/gst.supp:
6933         * common/Makefile.am:
6934         * common/check.mak:
6935         * common/gst.supp:
6936           factor out some of the common stuff so we can use it
6937
6938 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6939
6940         * check/Makefile.am:
6941         * check/gst/gstiterator.c: (GST_START_TEST):
6942         * check/gst/gstsystemclock.c: (GST_START_TEST),
6943         (gst_systemclock_suite):
6944         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6945         * gst/gstclock.c:
6946           valgrind more tests
6947
6948 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6949
6950         * check/elements/.cvsignore:
6951         * check/elements/gstfakesrc.c:
6952           rename to name of element
6953         * check/elements/identity.c: (chain_func), (event_func),
6954         (setup_identity), (cleanup_identity), (GST_START_TEST),
6955         (identity_suite), (main):
6956           add a test for identity
6957         * check/Makefile.am:
6958         * pkgconfig/Makefile.am:
6959         * pkgconfig/gstreamer-check.pc.in:
6960         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6961         * gst/check:
6962         * gst/Makefile.am:
6963         * configure.ac:
6964           move the check stuff to a library that gets installed
6965         * check/gst-libs/controller.c: (GST_START_TEST):
6966         * check/gst-libs/gdp.c:
6967         * check/gst/gst.c: (GST_START_TEST):
6968         * check/gst/gstbin.c:
6969         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6970         * check/gst/gstbus.c:
6971         * check/gst/gstcaps.c: (GST_START_TEST):
6972         * check/gst/gstelement.c:
6973         * check/gst/gstghostpad.c:
6974         * check/gst/gstiterator.c:
6975         * check/gst/gstmessage.c:
6976         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
6977         * check/gst/gstobject.c:
6978         * check/gst/gstpad.c: (GST_START_TEST):
6979         * check/gst/gststructure.c: (GST_START_TEST):
6980         * check/gst/gstsystemclock.c: (GST_START_TEST),
6981         (gst_systemclock_suite):
6982         * check/gst/gsttag.c: (gst_tag_suite):
6983         * check/gst/gstvalue.c:
6984         * check/pipelines/cleanup.c:
6985         * check/pipelines/simple_launch_lines.c:
6986         * check/states/sinks.c:
6987           change include statement
6988
6989         * docs/gst/gstreamer-sections.txt:
6990         * docs/gst/tmpl/gstpad.sgml:
6991           document more pad stuff
6992         * gst/gstminiobject.c: (gst_mini_object_ref),
6993         (gst_mini_object_unref):
6994           debug refcounting
6995
6996 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
6997
6998         * docs/gst/tmpl/gst.sgml:
6999         * gst/gst.c:
7000           eliminate another tmpl file, fix spelling in the long-description
7001
7002 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7003
7004         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7005         (test_event), (timediff), (gstevents_suite):
7006           Should fix build on 64-bit arch's
7007
7008 2005-08-18  Andy Wingo  <wingo@pobox.com>
7009
7010         Make sure that when a pipeline goes to PLAYING, that data has
7011         actually hit the sink.
7012
7013         * check/states/sinks.c (test_sink): A sink that doesn't get any
7014         data shouldn't return SUCCESS for going to either PLAYING or
7015         PAUSED. Test also the return values on the way back down.
7016
7017         * gst/gstelement.c (gst_element_set_state): When changing the
7018         state of an element currently changing state asynchronously, go to
7019         lost-state after commiting the pending state. Makes future calls
7020         to get_state continue to return ASYNC.
7021
7022         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7023         ASYNC when going to PLAYING if we still don't have preroll, as can
7024         happen with live sources.
7025
7026 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7027
7028         * docs/pwg/advanced-types.xml:
7029           Hack long paragraph into 2 chunks as a workaround for buggy
7030           jadetex version in sid and breezy that loops infinitely and
7031           eats all RAM.
7032
7033 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7034
7035         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7036         (test_event), (timediff), (gstevents_suite):
7037           Provide more error margin in clock measurements to allow for 
7038           g_get_current_time inaccuracies.
7039
7040 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7041
7042         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7043         (test_event), (timediff), (gstevents_suite):
7044            Fix error message output so I might be able to tell why the
7045            test works here but fails on the build farm.
7046
7047 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
7048
7049         * check/Makefile.am:
7050         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7051         (test_event), (timediff), (gstevents_suite), (main):
7052           I wrote a test!
7053
7054         * docs/design/part-seeking.txt:
7055           Spelling correction
7056
7057         * docs/gst/tmpl/gstevent.sgml:
7058         * docs/gst/tmpl/gstfakesrc.sgml:
7059           Docs updates.
7060
7061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7062           Treat a buffer-without-newsegment the same as a receiving 
7063           a newsegment not in time format, and disable syncing to the clock
7064           with a warning.
7065
7066         * gst/gstbus.c: (gst_bus_set_sync_handler):
7067           Assert if anyone tries to replace the existing sync_handler for bus, 
7068           as only the owner should be setting it.
7069
7070         * gst/gstevent.h:
7071           Have a fixed set of custom event enums with events identified by
7072           their structure name (as in 0.8), rather than a free-for-all
7073           allowing collisions between enum values from different plugins.
7074
7075         * gst/gstpad.c: (gst_pad_class_init):
7076           Docs change.
7077           
7078         * gst/gstqueue.c: (gst_queue_handle_sink_event):
7079           Handle out-of-band downstream events from the sending thread.
7080
7081 2005-08-17  Andy Wingo  <wingo@pobox.com>
7082
7083         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7084         play-timeout==0 to mean no timeout at all. In that case, don't
7085         bother with a get_state or a warning, just return directly, even
7086         if it's ASYNC.
7087
7088         * gst/base/gstbasetransform.c: Debug changes.
7089
7090         * gst/gstutils.h:
7091         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7092         ensure bins post state change messages. A bit of a hack but I can't
7093         think of a way to avoid it.
7094
7095         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7096
7097 2005-08-16  Andy Wingo  <wingo@pobox.com>
7098
7099         * gst/base/gstadapter.h:
7100         * gst/base/gstadapter.c (gst_adapter_take): New function, like
7101         peek() but you own the data. Not terribly efficient atm.
7102
7103 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7104
7105         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7106         (gst_element_found_tags):
7107         * gst/gstutils.h:
7108           Add two utility functions for tag handling.
7109
7110 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7111
7112         * docs/manual/advanced-dataaccess.xml:
7113         * docs/manual/basics-helloworld.xml:
7114           Fix docs to use _bin_add() before _link(), which fixes the examples
7115           with recent core versions (reported by Madhan Raj M
7116           <raj_madan@rediffmail.com>, #313199).
7117
7118 2005-08-16  Wim Taymans  <wim@fluendo.com>
7119
7120         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7121         Added subtract checks.
7122
7123         * docs/design/part-events.txt:
7124         Some more docs about newsegment
7125
7126         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7127         Fix FIXME
7128
7129         * gst/gstcaps.c: (gst_caps_to_string):
7130         Add comments, cleanups.
7131         
7132         * gst/gstelement.c: (gst_element_save_thyself):
7133         cleanups
7134         
7135         * gst/gstvalue.c: (gst_value_collect_int_range),
7136         (gst_string_unwrap), (gst_value_union_int_int_range),
7137         (gst_value_union_int_range_int_range),
7138         (gst_value_intersect_int_int_range),
7139         (gst_value_intersect_int_range_int_range),
7140         (gst_value_intersect_double_double_range),
7141         (gst_value_intersect_double_range_double_range),
7142         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7143         (gst_value_subtract_int_range_int),
7144         (gst_value_subtract_double_range_double),
7145         (gst_value_subtract_double_range_double_range),
7146         (gst_value_subtract_from_list), (gst_value_subtract_list),
7147         (gst_value_can_compare), (gst_value_compare_fraction):
7148         Cleanups, add comments, remove unneeded asserts.
7149
7150 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7151
7152         * tools/gst-launch.c: (event_loop):
7153           don't convert NULL structures to strings
7154
7155 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
7156
7157         * docs/gst/gstreamer-sections.txt:
7158           made some defines private
7159         * docs/gst/tmpl/gstconfig.sgml:
7160         * docs/gst/tmpl/gstqueue.sgml:
7161         * docs/gst/tmpl/gsttaglist.sgml:
7162         * docs/gst/tmpl/gsttypes.sgml:
7163         * docs/gst/tmpl/gstutils.sgml:
7164         * docs/pwg/appendix-porting.xml:
7165         * gst/base/gstbasesink.h:
7166         * gst/base/gstbasesrc.c:
7167         * gst/base/gstbasesrc.h:
7168         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7169         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7170         * gst/gstelement.c: (gst_element_class_init):
7171         * gst/gstpad.c: (gst_pad_class_init):
7172         * gst/gstqueue.c: (gst_queue_class_init):
7173         * gst/gstxml.c: (gst_xml_class_init):
7174           documented all undocumented signal inline
7175         * libs/gst/controller/gst-controller.h:
7176           added padding
7177
7178 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7179
7180         * docs/pwg/appendix-porting.xml:
7181           Document _set_link_function -> _set_setcaps_function.
7182
7183 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7184
7185         * check/Makefile.am:
7186           add a .check target for running the check
7187         * check/gst-libs/controller.c: (GST_START_TEST):
7188           cosmetic fixups
7189         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7190           complete checks for gstbuffer; would be nice if I could get the
7191           gcov stuff to work so I can see if I actually completed gstbuffer.c
7192         * check/gstcheck.h:
7193           add ASSERT_BUFFER_REFCOUNT
7194
7195 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
7196
7197         * docs/gst/gstreamer-sections.txt:
7198         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7199         * gst/gsttag.h:
7200           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7201           spew out a warning if a tag that is already registered
7202           is re-registered, unless it is re-registered with a 
7203           different type (#308438).
7204
7205 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
7206
7207         * docs/pwg/appendix-porting.xml:
7208         * docs/pwg/building-state.xml:
7209           Add some paragraphs about state changes in 0.9 to the PWG
7210           and the porting guide, in particular about the new meaning
7211           of GST_STATE_PAUSED and how to write state change functions
7212           with concurrent access by multiple threads in mind.
7213
7214 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
7215
7216         * docs/gst/gstreamer-docs.sgml:
7217         * docs/libs/gstreamer-libs-docs.sgml:
7218           added deprecation and since indexes
7219         * libs/gst/controller/gst-controller.c:
7220         * libs/gst/controller/gst-helper.c:
7221           added since tags
7222
7223
7224 2005-08-11  Wim Taymans  <wim@fluendo.com>
7225
7226         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7227         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7228         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7229         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7230         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7231         (gst_ghost_pad_set_target):
7232         Actually implement (re)setting the target on a ghostpad
7233         as described in the docs.
7234
7235 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7236
7237         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7238           Check whether GST_DEBUG_NO_COLOR environment variable is
7239           set and disable coloured debug output if that is the case.
7240
7241 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7242
7243         * gst/base/gsttypefindhelper.c: (helper_find_peek),
7244         (gst_type_find_helper):
7245           The memory returned by gst_type_find_peek() needs to
7246           stay valid until the end of a typefind function, and
7247           typefind functions may keep results from different 
7248           offsets around, so we can't just unref the buffer from
7249           the previous _peek(), but have to save all buffers 
7250           returned by _peek() until typefinding is done and only
7251           free them then.
7252
7253 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7254
7255         * docs/gst/gstreamer-sections.txt:
7256         * gst/gstutils.h:
7257           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7258
7259 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7260
7261         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7262           Fix a pretty good memleak.
7263
7264 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7265
7266         * gst/gstiterator.h:
7267           Fix wrong include and 'make distcheck'.
7268
7269 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7270
7271         * gst/gstbin.c: (bin_bus_handler):
7272           Use gst_element_post_message() instead.
7273
7274 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7275
7276         * gst/base/gstadapter.h:
7277         * gst/base/gstbasesink.h:
7278         * gst/base/gstbasesrc.h:
7279         * gst/base/gstbasetransform.h:
7280         * gst/base/gstcollectpads.h:
7281         * gst/base/gstpushsrc.h:
7282         * gst/gstiterator.h:
7283           Add padding to our base elements' class and instance structs and
7284           to GstIterator (you will need to rebuild all plugins and apps!)
7285
7286 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7287
7288         * gst/gstbin.c: (bin_bus_handler):
7289           Make default message forwarding from child->bus to bin->bus
7290           threadsafe and make it not emit warnings if the parent has no bus.
7291
7292 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7293
7294         * gst/gstelement.c: (activate_pads):
7295           On paused->ready, set pad->caps to NULL, as is the documented
7296           behaviour in this state change. Fixes playback of series of
7297           media files when visualization is enabled in Totem.
7298
7299 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7300
7301         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7302           Allow NULL as filter-caps (which means "any").
7303
7304 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7305
7306         * docs/libs/gstreamer-libs-sections.txt:
7307         * libs/gst/controller/gst-controller.c:
7308         * libs/gst/controller/gst-controller.h:
7309         * libs/gst/controller/gst-helper.c:
7310           adding more entries to the docs and fix small doc-bugs
7311
7312 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7313
7314         * docs/gst/gstreamer-docs.sgml:
7315         * docs/gst/gstreamer-sections.txt:
7316         * docs/gst/gstreamer.types:
7317         * docs/gst/tmpl/gstbasesink.sgml:
7318         * docs/gst/tmpl/gstbasesrc.sgml:
7319         * docs/gst/tmpl/gstbasetransform.sgml:
7320         * docs/gst/tmpl/gstfakesrc.sgml:
7321         * gst/base/gstcollectpads.c:
7322         * gst/base/gstcollectpads.h:
7323         * libs/gst/controller/gst-controller.c:
7324         * libs/gst/controller/gst-controller.h:
7325         * libs/gst/controller/gst-helper.c:
7326         * libs/gst/controller/gst-interpolation.c:
7327         * libs/gst/controller/lib.c:
7328           added long/short desc for controller docs
7329           added collectpads base class docs
7330           added correct includes to base-class docs
7331
7332 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7335         (gst_test_mono_source_set_property),
7336         (gst_test_mono_source_class_init), (GST_START_TEST),
7337         (gst_controller_suite):
7338         * docs/gst/gstreamer-docs.sgml:
7339         * docs/gst/gstreamer-sections.txt:
7340         * docs/gst/gstreamer.types:
7341         * docs/libs/gstreamer-libs-docs.sgml:
7342         * docs/libs/gstreamer-libs-sections.txt:
7343         * gst/base/gstadapter.c:
7344         * libs/gst/controller/gst-controller.c:
7345         (gst_controlled_property_new), (gst_controlled_property_free),
7346         (gst_controller_new_valist),
7347         (gst_controller_remove_properties_valist),
7348         (gst_controller_sink_values), (_gst_controller_finalize):
7349         * libs/gst/controller/gst-controller.h:
7350         * libs/gst/controller/gst-helper.c:
7351         (gst_object_control_properties), (gst_object_uncontrol_properties),
7352         (gst_object_get_controller), (gst_object_set_controller),
7353         (gst_object_sink_values), (gst_object_get_value_arrays),
7354         (gst_object_get_value_array):
7355           more tests (and fixes) for the controller
7356           more docs for the controller
7357           integrated companies docs for the adapter 
7358
7359 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7360
7361         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7362         (GST_START_TEST), (fakesrc_suite):
7363           add tests for sizetype
7364
7365 2005-08-04  Andy Wingo  <wingo@pobox.com>
7366
7367         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7368         fixes buffer_alloc proxying among other things.
7369
7370         * gst/base/gstbasetransform.c:
7371         * gst/base/gstbasetransform.h:
7372         Revert patch to gstbasetransform from 7-28 removing
7373         delay_configure.
7374
7375         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7376         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7377         Semantics changed, should return not the size of the output buffer
7378         but the byte size of a buffer with a given caps.
7379
7380         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7381         debug object.
7382         (gst_base_transform_configure_caps): Don't set out_size here: (in,
7383         out) are not the pad caps until setcaps finishes.
7384         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7385         not-in-place case as well. Deal with changing from in-place to
7386         not-in-place within calling pad_alloc_buffer. Still a bit
7387         concerned about the overhead here...
7388
7389 2005-08-03  Andy Wingo  <wingo@pobox.com>
7390
7391         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7392         fixating is an error.
7393
7394 2005-08-04  Edward Hervey  <edward@fluendo.com>
7395
7396         * gst/base/gstadapter.h: 
7397         Added gst_adapter_get_type() to the header
7398
7399 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7400
7401         * check/Makefile.am:
7402         * check/gst-libs/controller.c:
7403         * libs/gst/controller/gst-controller.c:
7404         (gst_controller_new_valist):
7405           added check test suite for the controller
7406         * gst/base/gstpushsrc.c:
7407           fixed a doc typo
7408
7409 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7410
7411         * docs/gst/Makefile.am:
7412         * docs/gst/gstreamer-docs.sgml:
7413         * docs/gst/gstreamer-sections.txt:
7414         * docs/gst/gstreamer.types:
7415         * docs/gst/tmpl/gstfakesrc.sgml:
7416         * gst/base/README:
7417         * gst/base/gstbasesink.c:
7418         * gst/base/gstbasesink.h:
7419         * gst/base/gstbasesrc.c:
7420         * gst/base/gstbasesrc.h:
7421         * gst/base/gstbasetransform.c:
7422         * gst/base/gstpushsrc.c:
7423         * gst/base/gstpushsrc.h:
7424           add short/long description docs to base classes
7425           add pushsrc to the docs
7426           remove consolidated doc fragments
7427
7428 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
7429
7430         * configure.ac:
7431         * docs/libs/Makefile.am:
7432         * docs/libs/gstreamer-libs-docs.sgml:
7433         * docs/libs/gstreamer-libs-sections.txt:
7434         * docs/libs/gstreamer-libs.types:
7435         * examples/Makefile.am:
7436         * examples/controller/.cvsignore:
7437         * examples/controller/Makefile.am:
7438         * examples/controller/audio-example.c: (main):
7439         * libs/gst/Makefile.am:
7440         * libs/gst/controller/.cvsignore:
7441         * libs/gst/controller/Makefile.am:
7442         * libs/gst/controller/gst-controller.c:
7443         (on_object_controlled_property_changed), (gst_timed_value_compare),
7444         (gst_timed_value_find),
7445         (gst_controlled_property_set_interpolation_mode),
7446         (gst_controlled_property_new), (gst_controlled_property_free),
7447         (gst_controller_find_controlled_property),
7448         (gst_controller_new_valist), (gst_controller_new),
7449         (gst_controller_remove_properties_valist),
7450         (gst_controller_remove_properties), (gst_controller_set),
7451         (gst_controller_set_from_list), (gst_controller_unset),
7452         (gst_controller_get), (gst_controller_get_all),
7453         (gst_controller_sink_values), (gst_controller_get_value_arrays),
7454         (gst_controller_get_value_array),
7455         (gst_controller_set_interpolation_mode),
7456         (_gst_controller_finalize), (_gst_controller_init),
7457         (_gst_controller_class_init), (gst_controller_get_type):
7458         * libs/gst/controller/gst-controller.h:
7459         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
7460         (g_object_uncontrol_properties), (g_object_get_controller),
7461         (g_object_set_controller), (g_object_sink_values),
7462         (g_object_get_value_arrays), (g_object_get_value_array):
7463         * libs/gst/controller/gst-interpolation.c:
7464         (gst_controlled_property_find_timed_value_node),
7465         (interpolate_none_get), (interpolate_trigger_get),
7466         (interpolate_trigger_get_value_array):
7467         * libs/gst/controller/lib.c: (gst_controller_init):
7468         * pkgconfig/Makefile.am:
7469         * pkgconfig/gstreamer-control-uninstalled.pc.in:
7470         * pkgconfig/gstreamer-control.pc.in:
7471         * testsuite/Makefile.am:
7472         * testsuite/controller/.cvsignore:
7473         * testsuite/controller/Makefile.am:
7474         * testsuite/controller/interpolator.c: (main):
7475           added controller code
7476           removed dparam pc files
7477
7478 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7479         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
7480         (gst_collectpads_stop):
7481           Broadcast the condition when shutting down, to make sure we wake all
7482           threads up. Shut down pads on finalize, for safety.
7483
7484 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
7485         * gst/base/gstbasetransform.c: (gst_base_transform_init),
7486         (gst_base_transform_handle_buffer),
7487         (gst_base_transform_change_state):
7488           Handle PAUSED->READY->PAUSED transition after negotiation
7489           occurred already.
7490         * gst/gstmessage.c: (gst_message_init):
7491           Extra piece of debug for new messages.
7492
7493 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
7494
7495         * configure.ac:
7496         * docs/gst/tmpl/gstbasesrc.sgml:
7497         * docs/gst/tmpl/gstelement.sgml:
7498         * docs/gst/tmpl/gstevent.sgml:
7499         * docs/gst/tmpl/gstfakesrc.sgml:
7500         * docs/gst/tmpl/gstformat.sgml:
7501         * docs/gst/tmpl/gstghostpad.sgml:
7502         * docs/gst/tmpl/gstpad.sgml:
7503         * docs/gst/tmpl/gstquery.sgml:
7504         * docs/gst/tmpl/gststructure.sgml:
7505         * docs/gst/tmpl/gsttaglist.sgml:
7506         * docs/gst/tmpl/gstvalue.sgml:
7507         * docs/libs/gstreamer-libs-docs.sgml:
7508         * docs/libs/gstreamer-libs-sections.txt:
7509         * docs/libs/gstreamer-libs.types:
7510         * libs/gst/Makefile.am:
7511         * libs/gst/control/.cvsignore:
7512         * libs/gst/control/Makefile.am:
7513         * libs/gst/control/control.c:
7514         * libs/gst/control/control.h:
7515         * libs/gst/control/dparam.c:
7516         * libs/gst/control/dparam.h:
7517         * libs/gst/control/dparam_smooth.c:
7518         * libs/gst/control/dparam_smooth.h:
7519         * libs/gst/control/dparamcommon.h:
7520         * libs/gst/control/dparammanager.c:
7521         * libs/gst/control/dparammanager.h:
7522         * libs/gst/control/dplinearinterp.c:
7523         * libs/gst/control/dplinearinterp.h:
7524         * libs/gst/control/unitconvert.c:
7525         * libs/gst/control/unitconvert.h:
7526         * testsuite/Makefile.am:
7527         * testsuite/dynparams/.cvsignore:
7528         * testsuite/dynparams/Makefile.am:
7529         * testsuite/dynparams/dparamstest.c:
7530         * tools/Makefile.am:
7531         * tools/gst-inspect.c: (print_element_info), (main):
7532         * tools/gst-xmlinspect.c: (print_element_info), (main):
7533           deactivate and remove dparams (libgstcontrol)
7534
7535 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7536
7537         * gst/elements/gsttypefindelement.c:
7538         (gst_type_find_element_have_type), (gst_type_find_element_init),
7539         (stop_typefinding), (gst_type_find_element_handle_event),
7540         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7541         * gst/elements/gsttypefindelement.h:
7542           Set caps on all outgoing buffers, not just the first one.
7543
7544 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7545
7546         * gst/elements/gsttypefindelement.c:
7547         (gst_type_find_element_have_type),
7548         (gst_type_find_element_check_set_buffer_caps),
7549         (gst_type_find_element_init), (stop_typefinding),
7550         (gst_type_find_element_handle_event),
7551         (gst_type_find_element_chain), (gst_type_find_element_getrange):
7552         * gst/elements/gsttypefindelement.h:
7553           Set caps on first outgoing buffer when we've found the type.
7554
7555 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * docs/gst/gstreamer-docs.sgml:
7558         * docs/gst/gstreamer-sections.txt:
7559         * docs/gst/tmpl/gstscheduler.sgml:
7560         * docs/gst/tmpl/gstschedulerfactory.sgml:
7561           Remove some old cruft from docs.
7562
7563 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
7564
7565         * gst/gstpad.h:
7566           Fix inline docs for GstPadLinkReturn.
7567           
7568         * gst/gststructure.c: (gst_structure_has_name):
7569         * gst/gststructure.h:
7570         * docs/gst/gstreamer-sections.txt:
7571           New API: gst_structure_has_name().
7572
7573 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
7574
7575         * configure.ac:
7576           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
7577           and _LARGEFILE_SOURCE in config.h as required. Do not 
7578           export those flags in our .pc files any longer (#142209).
7579
7580           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
7581
7582         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
7583         (gst_file_sink_do_seek), (gst_file_sink_event),
7584         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7585           Redo seek/tell calls with large file support in mind; add some
7586           debugging messages; add log message that tells us when large
7587           file support is unavailable or not enabled for some reason.
7588
7589         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
7590           Add log message that tells us when large file support 
7591           is unavailable or not enabled for some reason.
7592
7593 2005-07-29  Wim Taymans  <wim@fluendo.com>
7594
7595         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7596         Added test for removing an element with ghostpad from a bin.
7597         Fixed test as current implementation does the right thing.
7598
7599         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
7600         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
7601         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
7602         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
7603         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
7604         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7605         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7606         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7607         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
7608         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
7609         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
7610         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
7611         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7612         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
7613         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
7614         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7615         * gst/gstghostpad.h:
7616         Clean up ghostpads, remove properties for internal stuff.
7617         Make threadsafe.
7618         Fix refcounting.
7619         Prepare for switching targets, not all use cases work yet.
7620
7621 2005-07-29  Wim Taymans  <wim@fluendo.com>
7622
7623         * docs/design/part-gstghostpad.txt:
7624         Small update.
7625
7626         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7627         (gst_bin_remove_func):
7628         Unlinking pads while holding the bin LOCK is not a good
7629         idea.
7630
7631         * gst/gstpad.c: (gst_pad_class_init),
7632         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
7633         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
7634         No prob setting template after creating the pad.
7635
7636 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
7637
7638         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
7639         (gst_bus_peek), (gst_bus_source_dispatch),
7640         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
7641         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
7642           gst_bus_poll may be called from other threads. Handle
7643           this nicely by not making poll_data disappear off the
7644           stack once gst_bus_poll returns.
7645           gst_bus_peek now increments the refcount on the returned
7646           message.
7647
7648 2005-07-29  Wim Taymans  <wim@fluendo.com>
7649
7650         * docs/design/part-gstghostpad.txt:
7651         Overview of current GhostPad datastructures and use
7652         cases for changing the target.
7653
7654 2005-07-28  Wim Taymans  <wim@fluendo.com>
7655
7656         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7657         Added checks for hierarchy consistency whan adding linked
7658         elements to bins.
7659
7660         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7661         Added check to test element scheduling without bin/pipeline.
7662
7663         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7664         First add elements to bin, then link.
7665         
7666         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
7667         (gst_bin_remove_func):
7668         Unlink pads from elements added/removed from bin to maintain
7669         hierarchy consistency.
7670
7671 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7672
7673         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7674         (gst_base_transform_handle_buffer):
7675         * gst/base/gstbasetransform.h:
7676           Remove broken delay_configure (fixes renegotiation of software
7677           scaling pipelines); remove some leftover printf()s.
7678
7679 2005-07-28  Wim Taymans  <wim@fluendo.com>
7680
7681         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7682         Added some more tests for wrong hierarchy
7683
7684         * docs/design/part-overview.txt:
7685         Some updates.
7686
7687         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
7688         Cleanups.
7689
7690         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
7691         (gst_element_dispose):
7692         Some more cleanups.
7693
7694         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7695         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
7696         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7697         (gst_pad_set_caps), (gst_pad_send_event):
7698         Check for correct hierarchy when linking pads. Moving to
7699         strict requirement for ghostpads when linking elements in
7700         different bins.
7701
7702         * gst/gstpad.h:
7703         Clean ups. Added WRONG_HIERARCHY return value.
7704
7705 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7706
7707         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7708           Better debug if no transform is possible.
7709
7710 2005-07-27  Wim Taymans  <wim@fluendo.com>
7711
7712         * docs/random/wtay/network-transp:
7713         Some old doc I had.
7714
7715 2005-07-27  Wim Taymans  <wim@fluendo.com>
7716
7717         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7718         (gst_dp_event_from_packet):
7719         Fix serialization of seek events.
7720
7721 2005-07-27  Wim Taymans  <wim@fluendo.com>
7722
7723         * check/gst-libs/gdp.c: (GST_START_TEST):
7724         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7725         Fix compilation and fix event serialization.
7726
7727 2005-07-27  Wim Taymans  <wim@fluendo.com>
7728
7729         * CHANGES-0.9:
7730         * docs/design/part-TODO.txt:
7731         * docs/design/part-events.txt:
7732         Some docs updates
7733
7734         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7735         (gst_base_sink_event), (gst_base_sink_do_sync),
7736         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7737         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7738         (gst_base_src_do_seek), (gst_base_src_event_handler),
7739         (gst_base_src_loop):
7740         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7741         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7742         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7743         (gst_base_transform_event), (gst_base_transform_handle_buffer),
7744         (gst_base_transform_set_passthrough),
7745         (gst_base_transform_is_passthrough):
7746         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
7747         * gst/elements/gstfilesink.c: (gst_file_sink_event):
7748         Event updates.
7749
7750         * gst/gstbuffer.h:
7751         Use faster casts.
7752
7753         * gst/gstelement.c: (gst_element_seek):
7754         * gst/gstelement.h:
7755         Update gst_element_seek.
7756
7757         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
7758         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
7759         (gst_event_new_flush_start), (gst_event_new_flush_stop),
7760         (gst_event_new_eos), (gst_event_new_newsegment),
7761         (gst_event_parse_newsegment), (gst_event_new_tag),
7762         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
7763         (gst_event_parse_qos), (gst_event_new_seek),
7764         (gst_event_parse_seek), (gst_event_new_navigation):
7765         * gst/gstevent.h:
7766         Make GstEvent use GstStructure. Add parsing code, make sure the
7767         API is sufficiently generic.
7768         Mark possible directions of events and serialization.
7769
7770         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
7771         (_gst_message_copy), (gst_message_new_segment_start),
7772         (gst_message_new_segment_done), (gst_message_new_custom),
7773         (gst_message_parse_segment_start),
7774         (gst_message_parse_segment_done):
7775         Small cleanups.
7776
7777         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7778         (gst_pad_set_caps), (gst_pad_send_event):
7779         Update for new events. 
7780         Catch events sent in wrong directions.
7781
7782         * gst/gstqueue.c: (gst_queue_link_src),
7783         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7784         (gst_queue_handle_src_query):
7785         Event updates.
7786
7787         * gst/gsttag.c:
7788         * gst/gsttag.h:
7789         Remove event code from this file.
7790
7791         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7792         (gst_dp_event_from_packet):
7793         Event updates.
7794
7795 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7796
7797         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
7798         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7799         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
7800           Make debugging actually useful.
7801
7802 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7803
7804         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
7805         (gst_pad_fixate_caps):
7806           Implement default fixation once again, so that gst_pad_fixate()
7807           actually does anything at all. This probably needs to be some
7808           sort of a last resort, and use profile-based fixation first, but
7809           since that doesn't exist yet, this is the best we have. Fixes
7810           visualization in Totem.
7811
7812 2005-07-22  Wim Taymans  <wim@fluendo.com>
7813
7814         * docs/design/part-events.txt:
7815         Small update.
7816
7817         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7818         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
7819         (gst_base_sink_activate_pull):
7820         Some more comments.
7821
7822         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
7823         (gst_fake_src_create):
7824         Fix handoff marshall.
7825
7826         * gst/elements/gstidentity.c: (gst_identity_class_init),
7827         (gst_identity_transform_ip):
7828         We're a real inplace element.
7829
7830         * gst/gstbus.c: (gst_bus_post):
7831         Added some comments.
7832
7833         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
7834         * tests/muxing/case1.c: (main):
7835         * tests/sched/dynamic-pipeline.c: (main):
7836         * tests/sched/interrupt1.c: (main):
7837         * tests/sched/interrupt2.c: (main):
7838         * tests/sched/interrupt3.c: (main):
7839         * tests/sched/runxml.c: (main):
7840         * tests/sched/sched-stress.c: (main):
7841         * tests/seeking/seeking1.c: (event_received), (main):
7842         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
7843         (main):
7844         * tests/threadstate/threadstate3.c: (main):
7845         * tests/threadstate/threadstate4.c: (main):
7846         * tests/threadstate/threadstate5.c: (main):
7847         Fix the tests.
7848
7849 2005-07-21  Wim Taymans  <wim@fluendo.com>
7850
7851         * docs/design/part-seeking.txt:
7852         Some small additions.
7853
7854         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7855         (gst_base_sink_get_times), (gst_base_sink_do_sync),
7856         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
7857         * gst/base/gstbasesink.h:
7858         discont values are gint64, handle the math correctly.
7859
7860         * gst/base/gstbasesrc.c: (gst_base_src_loop):
7861         Make the basesrc report error if the source pad is not linked.
7862
7863         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
7864         (gst_queue_loop), (gst_queue_handle_src_query),
7865         (gst_queue_src_activate_push):
7866         Make queue collect data even if the srcpad is not linked.
7867         Start pushing out data as soon as it is linked.
7868
7869         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
7870         * gst/gstutils.h:
7871         Added gst_flow_get_name() to ease error reporting.
7872
7873 2005-07-20  Wim Taymans  <wim@fluendo.com>
7874
7875         * gst/gstmessage.c: (gst_message_new_segment_start),
7876         (gst_message_new_segment_done), (gst_message_parse_segment_start),
7877         (gst_message_parse_segment_done):
7878         * gst/gstmessage.h:
7879         Added a bunch of messages for advanced seeking.
7880
7881         * gst/parse/grammar.y:
7882         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
7883         (gst_dpman_state_changed):
7884         Fix some new-pad -> pad-added signals
7885
7886 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7887
7888         * docs/manual/appendix-porting.xml:
7889         * docs/pwg/appendix-porting.xml:
7890           Document new-pad/state-change signal renames and the FixedList
7891           type rename.
7892
7893 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7894
7895         * docs/manual/advanced-autoplugging.xml:
7896         * docs/manual/basics-helloworld.xml:
7897         * docs/manual/basics-pads.xml:
7898         * docs/random/ds/0.9-suggested-changes:
7899         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
7900         * gst/gstelement.h:
7901         * gst/gstevent.h:
7902         * gst/gstformat.h:
7903         * gst/gstquery.h:
7904         * gst/gststructure.c: (gst_structure_value_get_generic_type),
7905         (gst_structure_parse_array), (gst_structure_parse_value):
7906         * gst/gstvalue.c: (gst_type_is_fixed),
7907         (gst_value_list_prepend_value), (gst_value_list_append_value),
7908         (gst_value_list_get_size), (gst_value_list_get_value),
7909         (gst_value_transform_array_string), (gst_value_serialize_array),
7910         (gst_value_deserialize_array), (gst_value_intersect_array),
7911         (gst_value_is_fixed), (_gst_value_initialize):
7912         * gst/gstvalue.h:
7913           GstElement::new-pad -> pad-added, GstElement::state-change ->
7914           state-changed, GstValueFixedList -> GstValueArray, add format and
7915           flags as their own arguments in gst_element_seek() (should improve
7916           "bindeability"), remove function generators since they don't work
7917           under a whole bunch of compilers (they were deprecated already
7918           anyway).
7919
7920 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7921
7922         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
7923         (_gst_debug_register_funcptr):
7924         * gst/gstinfo.h:
7925           Fix illegal cast on some platforms (#309253).
7926
7927 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7928
7929         * gst/gstmessage.c: (gst_message_new_custom):
7930         * gst/gstmessage.h:
7931           Add _new_custom, make _new_application a macro to _new_custom.
7932
7933 2005-07-20  Wim Taymans  <wim@fluendo.com>
7934
7935         * gst/base/gstbasesrc.c: (gst_base_src_init),
7936         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
7937         * gst/base/gstbasesrc.h:
7938         Add a gboolean to decide when to push out a discont.
7939
7940         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7941         (gst_queue_loop), (gst_queue_handle_src_query),
7942         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
7943         (gst_queue_set_property), (gst_queue_get_property):
7944         Some cleanups.
7945
7946         * tests/threadstate/threadstate1.c: (main):
7947         Make a thread test compile and run... very silly..
7948
7949
7950 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7951
7952         * docs/manual/appendix-porting.xml:
7953           Mention removal of libgstgconf-0.9.la and existence of gconf
7954           elements.
7955
7956 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
7957
7958         * docs/pwg/advanced-clock.xml:
7959         * docs/pwg/appendix-porting.xml:
7960         * docs/pwg/intro-preface.xml:
7961         * docs/pwg/other-base.xml:
7962         * docs/pwg/other-manager.xml:
7963         * docs/pwg/other-nton.xml:
7964         * docs/pwg/other-ntoone.xml:
7965         * docs/pwg/other-oneton.xml:
7966         * docs/pwg/pwg.xml:
7967           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
7968           demuxer), remove n-to-n (was never written), fix some code examples
7969           and links and update the porting section to include all this.
7970
7971 2005-07-19  Wim Taymans  <wim@fluendo.com>
7972
7973         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
7974         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
7975         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
7976         (gst_queue_src_activate_push), (gst_queue_change_state),
7977         (gst_queue_get_property):
7978         * gst/gstqueue.h:
7979         Propagate GstFlowReturn more intelligently upstream and output
7980         an ERROR/EOS when streaming stopped due to fatal error.
7981
7982 2005-07-19  Wim Taymans  <wim@fluendo.com>
7983
7984         * tools/gst-launch.c: (check_intr), (event_loop), (main):
7985         Don't block forever for the state change to complete, the
7986         pipeline already did with a sensible timeout.
7987
7988 2005-07-19  Wim Taymans  <wim@fluendo.com>
7989
7990         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7991         Make sure we never call the create function is we
7992         got deactivated.
7993
7994 2005-07-19  Andy Wingo  <wingo@pobox.com>
7995
7996         * gst/parse/parse.l: Attempt to solve bug #172815.
7997
7998 2005-07-19  Wim Taymans  <wim@fluendo.com>
7999
8000         * docs/design/part-clocks.txt:
8001         * docs/design/part-events.txt:
8002         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8003         Small docs updates.
8004         Only update the seeking values when we are not
8005         busy streaming.
8006
8007 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8008
8009         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8010           Oops, ignore the result of gst_pad_push_event here.
8011
8012 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
8013
8014         * gst/base/gstbasesrc.c: (gst_base_src_loop),
8015         (gst_base_src_activate_push):
8016           Send discont event from the loop function, as pads
8017           aren't activated yet in the activate_push handler.
8018
8019         * gst/gstbin.c: (bin_bus_handler):
8020           Don't leak element name.
8021
8022 2005-07-18  Andy Wingo  <wingo@pobox.com>
8023
8024         * configure.ac: Use AS_LIBTOOL_TAGS.
8025
8026 2005-07-18  Wim Taymans  <wim@fluendo.com>
8027
8028         * docs/gst/gstreamer.types:
8029         Remove deleted types.
8030
8031 2005-07-18  Wim Taymans  <wim@fluendo.com>
8032
8033         * check/elements/gstfakesrc.c: (GST_START_TEST):
8034         * configure.ac:
8035         * gst/Makefile.am:
8036         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8037         (init_popt_callback):
8038         * gst/gst.h:
8039         * gst/gst_private.h:
8040         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8041         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8042         * gst/gstbin.h:
8043         * gst/gstbus.h:
8044         * gst/gstconfig.h.in:
8045         * gst/gstelement.c: (gst_element_class_init),
8046         (gst_element_set_base_time), (gst_element_get_base_time),
8047         (iterator_fold_with_resync), (gst_element_change_state),
8048         (gst_element_dispose), (gst_element_get_bus):
8049         * gst/gstelement.h:
8050         * gst/gstelementfactory.h:
8051         * gst/gsterror.c: (_gst_core_errors_init):
8052         * gst/gsterror.h:
8053         * gst/gstevent.h:
8054         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8055         * gst/gstindex.c:
8056         * gst/gstinfo.c: (_gst_debug_init):
8057         * gst/gstmessage.c: (_gst_message_copy):
8058         * gst/gstmessage.h:
8059         * gst/gstminiobject.h:
8060         * gst/gstobject.c:
8061         * gst/gstobject.h:
8062         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8063         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8064         * gst/gstpad.h:
8065         * gst/gstparse.h:
8066         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8067         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8068         (gst_pipeline_get_last_stream_time):
8069         * gst/gstpipeline.h:
8070         * gst/gstpluginfeature.h:
8071         * gst/gstquery.h:
8072         * gst/gstscheduler.c:
8073         * gst/gstscheduler.h:
8074         * gst/gststructure.h:
8075         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8076         (gst_task_finalize), (gst_task_func), (gst_task_create),
8077         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8078         (gst_task_stop), (gst_task_pause):
8079         * gst/gsttask.h:
8080         * gst/gsttypefind.h:
8081         * gst/gsttypes.h:
8082         * gst/registries/gstlibxmlregistry.c: (load_feature),
8083         (gst_xml_registry_load), (gst_xml_registry_save_feature):
8084         * gst/registries/gstxmlregistry.c:
8085         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8086         * gst/schedulers/threadscheduler.c:
8087         * libs/gst/control/dparammanager.h:
8088         * tools/gst-inspect.c: (print_element_list),
8089         (print_plugin_features), (print_element_features):
8090         * tools/gst-xmlinspect.c: (print_element_list),
8091         (print_plugin_info), (main):
8092         Removed plugable schedulers.
8093         Removed Scheduler/Manager from elements.
8094         Removed gsttypes.h, rearranged includes.
8095         Removed dependency pad<->element, element<>pipeline, and
8096         various others,  fix includes.
8097         implement gst_pad_get_parent() with gst_object_get_parent()
8098         Make GstTask sefcontained.
8099         Fix _get_state() on GstBin, it did not return ASYNC with a 0
8100         timeout.
8101         Fix endless loop in iterator_fold_with_resync.
8102
8103
8104 2005-07-18  Wim Taymans  <wim@fluendo.com>
8105
8106         * gst/Makefile.am:
8107         * gst/gstarch.h:
8108         Remove old file.
8109
8110 2005-07-18  Wim Taymans  <wim@fluendo.com>
8111
8112         * gst/Makefile.am:
8113         No more cothreads.h
8114
8115 2005-07-18  Wim Taymans  <wim@fluendo.com>
8116
8117         * gst/cothreads.c:
8118         * gst/cothreads.h:
8119         Let's remove these.
8120
8121 2005-07-18  Wim Taymans  <wim@fluendo.com>
8122
8123         * docs/design/part-dynamic.txt:
8124         * docs/design/part-events.txt:
8125         * docs/design/part-seeking.txt:
8126         Some more docs in the works.
8127
8128         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8129         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8130         (gst_base_transform_setcaps), (gst_base_transform_get_size),
8131         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8132         (gst_base_transform_handle_buffer),
8133         (gst_base_transform_sink_activate_push),
8134         (gst_base_transform_src_activate_pull),
8135         (gst_base_transform_set_passthrough),
8136         (gst_base_transform_is_passthrough):
8137         Refcounting fixes.
8138
8139         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8140         Cleanups.
8141
8142         * gst/gstevent.c: (gst_event_finalize):
8143         Set SRC to NULL.
8144
8145         * gst/gstutils.c: (gst_element_unlink),
8146         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8147         (gst_pad_proxy_setcaps):
8148         * gst/gstutils.h:
8149         Add _get_parent_element() to get a pads parent as an element.
8150
8151 2005-07-18  Wim Taymans  <wim@fluendo.com>
8152
8153         * check/gst/gstbin.c: (GST_START_TEST):
8154         Remove bogus test.
8155
8156 2005-07-18  Wim Taymans  <wim@fluendo.com>
8157
8158         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8159         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8160         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8161         (gst_base_sink_event), (gst_base_sink_do_sync),
8162         (gst_base_sink_chain), (gst_base_sink_loop),
8163         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8164         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8165         Refcounting fixes.
8166         Fix logic for returning ASYNC when not prerolled.
8167
8168 2005-07-18  Wim Taymans  <wim@fluendo.com>
8169
8170         * gst/gstqueue.c: (gst_queue_handle_sink_event):
8171         Fix nasty refcount bug.
8172
8173 2005-07-16 Philippe Khalaf <burger@speedy.org>
8174
8175         * gst/elements/gstfdsrc.c:
8176         * gst/elements/gstfdsrc.h:
8177         * gst/elements/gstelements.c:
8178         * gst/elements/Makefile.am:
8179         Ported fdsrc to 0.9.
8180
8181 2005-07-16  Wim Taymans  <wim@fluendo.com>
8182
8183         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8184         (gst_base_sink_do_sync):
8185         Fix compile error.
8186
8187 2005-07-16  Wim Taymans  <wim@fluendo.com>
8188
8189         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8190         (gst_base_sink_event), (gst_base_sink_get_times),
8191         (gst_base_sink_do_sync), (gst_base_sink_change_state):
8192         * gst/base/gstbasesink.h:
8193         Store and use discont values when syncing buffers as described
8194         in design docs.
8195         
8196         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8197         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8198         (gst_base_src_activate_push):
8199         Push discont event when starting.
8200
8201         * gst/elements/gstidentity.c: (gst_identity_transform):
8202         Small cleanups.
8203
8204         * gst/gstbin.c: (gst_bin_change_state):
8205         Small cleanups in base_time  distribution.
8206
8207         * gst/gstelement.c: (gst_element_set_base_time),
8208         (gst_element_get_base_time), (gst_element_change_state):
8209         * gst/gstelement.h:
8210         Added methods for the base_time of the element.
8211         Some MT fixes.
8212
8213         * gst/gstpipeline.c: (gst_pipeline_send_event),
8214         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8215         (gst_pipeline_get_last_stream_time):
8216         * gst/gstpipeline.h:
8217         MT fixes.
8218         Handle seeking as described in design doc, remove stream_time
8219         hack.
8220         Cleanups clock and stream_time selection code. Added accessors
8221         for the stream_time.
8222         
8223
8224 2005-07-16  Andy Wingo  <wingo@pobox.com>
8225
8226         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8227         (#305291).
8228
8229 2005-07-16  Wim Taymans  <wim@fluendo.com>
8230
8231         * check/gst/gstbin.c: (GST_START_TEST):
8232         Make elements silent as the deep_notify refs the
8233         parent, which might make the test fail.
8234
8235         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8236         Don't hold the lock for too long.
8237
8238 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
8239
8240         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8241           Don't unref the caps we passed to gst_caps_make_writable() after
8242           passing them. gst_caps_make_writable() will do that for us.
8243
8244 2005-07-15  Andy Wingo  <wingo@pobox.com>
8245
8246         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8247         (#157311).
8248
8249         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8250         own marshalling function for the handoff signal. Properly type the
8251         buffer as a buffer. Fixes some warnings. Should do a more general
8252         solution.
8253         (gst_identity_class_init): Plug into the right marshaller.
8254
8255 2005-07-15  Wim Taymans  <wim@fluendo.com>
8256
8257         * docs/design/part-TODO.txt:
8258         * docs/design/part-clocks.txt:
8259         * docs/design/part-element-sink.txt:
8260         * docs/design/part-events.txt:
8261         * docs/design/part-gstpipeline.txt:
8262         Updated docs, mostly DISCONT related.
8263
8264 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
8265
8266         * docs/pwg/building-pads.xml:
8267           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8268
8269 2005-07-15  Andy Wingo  <wingo@pobox.com>
8270
8271         * tools/gst-typefind.c: Update, add copyright block.
8272
8273         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8274         Normalize and truncate caps before fixation.
8275
8276         * gst/gstcaps.h:
8277         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8278         discards all but the first structure from its argument.
8279
8280 2005-07-15  Wim Taymans  <wim@fluendo.com>
8281
8282         * gst/base/gstbasetransform.c: (gst_base_transform_init),
8283         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8284         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8285         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8286         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8287         (gst_base_transform_chain), (gst_base_transform_change_state),
8288         (gst_base_transform_set_passthrough),
8289         (gst_base_transform_is_passthrough):
8290         * gst/base/gstbasetransform.h:
8291         Make passthrough work using the bufferpools.
8292         Changed API a bit, subclasses have to write into a buffer
8293         provided by the base class.
8294         More debug info in nego functions.
8295         
8296         * gst/elements/gstidentity.c: (gst_identity_init),
8297         (gst_identity_transform):
8298         Port to new base class.
8299
8300 2005-07-15  Wim Taymans  <wim@fluendo.com>
8301
8302         * gst/gstmessage.c: (gst_message_new_state_changed):
8303         * tools/gst-launch.c: (event_loop), (main):
8304         Totally dump messages in -launch with the -m option.
8305         Fix message name for State messages,
8306
8307 2005-07-14  Wim Taymans  <wim@fluendo.com>
8308
8309         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8310         Post error messages on errors.
8311
8312 2005-07-14  Wim Taymans  <wim@fluendo.com>
8313
8314         * gst/gstcaps.c: (gst_caps_do_simplify):
8315         Remove debug info.
8316
8317         * gst/gsterror.h:
8318         Define error for stream stopped.
8319
8320         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8321         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8322         Do proper return values.
8323
8324         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8325         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8326         (gst_pad_get_range):
8327         Better return values.
8328
8329         * gst/gstpad.h:
8330         Reorganise return values, add macro to check for fatal errors.
8331
8332         * gst/gstqueue.c: (gst_queue_chain):
8333         Return proper GstFlowReturn values,
8334
8335 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8336
8337         * docs/gst/gstreamer-sections.txt:
8338         * docs/gst/gstreamer.types:
8339         * docs/gst/tmpl/gst.sgml:
8340         * docs/gst/tmpl/gstbasesink.sgml:
8341         * docs/gst/tmpl/gstbasesrc.sgml:
8342         * docs/gst/tmpl/gstbasetransform.sgml:
8343         * docs/gst/tmpl/gstbin.sgml:
8344         * docs/gst/tmpl/gstbuffer.sgml:
8345         * docs/gst/tmpl/gstcaps.sgml:
8346         * docs/gst/tmpl/gstclock.sgml:
8347         * docs/gst/tmpl/gstcompat.sgml:
8348         * docs/gst/tmpl/gstconfig.sgml:
8349         * docs/gst/tmpl/gstelement.sgml:
8350         * docs/gst/tmpl/gstelementdetails.sgml:
8351         * docs/gst/tmpl/gstelementfactory.sgml:
8352         * docs/gst/tmpl/gstenumtypes.sgml:
8353         * docs/gst/tmpl/gsterror.sgml:
8354         * docs/gst/tmpl/gstevent.sgml:
8355         * docs/gst/tmpl/gstfakesink.sgml:
8356         * docs/gst/tmpl/gstfakesrc.sgml:
8357         * docs/gst/tmpl/gstfilesink.sgml:
8358         * docs/gst/tmpl/gstfilesrc.sgml:
8359         * docs/gst/tmpl/gstfilter.sgml:
8360         * docs/gst/tmpl/gstformat.sgml:
8361         * docs/gst/tmpl/gstghostpad.sgml:
8362         * docs/gst/tmpl/gstimplementsinterface.sgml:
8363         * docs/gst/tmpl/gstindex.sgml:
8364         * docs/gst/tmpl/gstindexfactory.sgml:
8365         * docs/gst/tmpl/gstinfo.sgml:
8366         * docs/gst/tmpl/gstiterator.sgml:
8367         * docs/gst/tmpl/gstmacros.sgml:
8368         * docs/gst/tmpl/gstmemchunk.sgml:
8369         * docs/gst/tmpl/gstminiobject.sgml:
8370         * docs/gst/tmpl/gstobject.sgml:
8371         * docs/gst/tmpl/gstpad.sgml:
8372         * docs/gst/tmpl/gstpadtemplate.sgml:
8373         * docs/gst/tmpl/gstparse.sgml:
8374         * docs/gst/tmpl/gstpipeline.sgml:
8375         * docs/gst/tmpl/gstplugin.sgml:
8376         * docs/gst/tmpl/gstpluginfeature.sgml:
8377         * docs/gst/tmpl/gstquery.sgml:
8378         * docs/gst/tmpl/gstqueue.sgml:
8379         * docs/gst/tmpl/gstregistry.sgml:
8380         * docs/gst/tmpl/gstregistrypool.sgml:
8381         * docs/gst/tmpl/gstscheduler.sgml:
8382         * docs/gst/tmpl/gstschedulerfactory.sgml:
8383         * docs/gst/tmpl/gststructure.sgml:
8384         * docs/gst/tmpl/gstsystemclock.sgml:
8385         * docs/gst/tmpl/gsttaglist.sgml:
8386         * docs/gst/tmpl/gsttagsetter.sgml:
8387         * docs/gst/tmpl/gsttrace.sgml:
8388         * docs/gst/tmpl/gsttrashstack.sgml:
8389         * docs/gst/tmpl/gsttypefind.sgml:
8390         * docs/gst/tmpl/gsttypefindfactory.sgml:
8391         * docs/gst/tmpl/gsttypes.sgml:
8392         * docs/gst/tmpl/gsturihandler.sgml:
8393         * docs/gst/tmpl/gsturitype.sgml:
8394         * docs/gst/tmpl/gstutils.sgml:
8395         * docs/gst/tmpl/gstvalue.sgml:
8396         * docs/gst/tmpl/gstversion.sgml:
8397         * docs/gst/tmpl/gstxml.sgml:
8398         * docs/libs/tmpl/gstcontrol.sgml:
8399         * docs/libs/tmpl/gstdataprotocol.sgml:
8400         * docs/libs/tmpl/gstdparam.sgml:
8401         * docs/libs/tmpl/gstdplinint.sgml:
8402         * docs/libs/tmpl/gstdpman.sgml:
8403         * docs/libs/tmpl/gstdpsmooth.sgml:
8404         * docs/libs/tmpl/gstgetbits.sgml:
8405         * docs/libs/tmpl/gstunitconvert.sgml:
8406         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8407         (gst_push_src_base_init), (gst_push_src_class_init),
8408         (gst_push_src_init), (gst_push_src_create):
8409         * gst/base/gstpushsrc.h:
8410         * gst/elements/gstelements.c:
8411         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8412         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8413         (gst_fake_sink_init), (gst_fake_sink_set_property),
8414         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8415         (gst_fake_sink_event), (gst_fake_sink_preroll),
8416         (gst_fake_sink_render), (gst_fake_sink_change_state):
8417         * gst/elements/gstfakesink.h:
8418         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8419         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8420         (gst_fake_src_base_init), (gst_fake_src_class_init),
8421         (gst_fake_src_init), (gst_fake_src_event_handler),
8422         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8423         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8424         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8425         (gst_fake_src_create_buffer), (gst_fake_src_create),
8426         (gst_fake_src_start), (gst_fake_src_stop):
8427         * gst/elements/gstfakesrc.h:
8428         * gst/elements/gstfilesink.c: (_do_init),
8429         (gst_file_sink_base_init), (gst_file_sink_class_init),
8430         (gst_file_sink_init), (gst_file_sink_dispose),
8431         (gst_file_sink_set_location), (gst_file_sink_set_property),
8432         (gst_file_sink_get_property), (gst_file_sink_open_file),
8433         (gst_file_sink_close_file), (gst_file_sink_query),
8434         (gst_file_sink_event), (gst_file_sink_render),
8435         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8436         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8437         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8438         * gst/elements/gstfilesink.h:
8439         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8440         (gst_file_src_class_init), (gst_file_src_init),
8441         (gst_file_src_finalize), (gst_file_src_set_location),
8442         (gst_file_src_set_property), (gst_file_src_get_property),
8443         (gst_file_src_map_region), (gst_file_src_map_small_region),
8444         (gst_file_src_create_mmap), (gst_file_src_create_read),
8445         (gst_file_src_create), (gst_file_src_is_seekable),
8446         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
8447         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
8448         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
8449         (gst_file_src_uri_handler_init):
8450         * gst/elements/gstfilesrc.h:
8451           more autistic cleanliness in functions/names/defines
8452
8453 2005-07-13  Andy Wingo  <wingo@pobox.com>
8454
8455         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
8456         source couldn't negotiate.
8457
8458         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
8459         connections again.
8460
8461         * gst/gstutils.h:
8462         * gst/gstutils.c (gst_element_link_pads_filtered): New old
8463         function. I am channeling Hades. Put your boots on suckers!!!
8464
8465 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8466
8467         * testsuite/caps/Makefile.am:
8468         * testsuite/caps/value_compare.c:
8469         * testsuite/caps/value_intersect.c:
8470         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8471           move two testsuite apps over to the check dir
8472
8473 2005-07-12  Wim Taymans  <wim@fluendo.com>
8474
8475         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8476         Added more debug info in the negotiate process.
8477
8478         * gst/gstmessage.h:
8479         Prepare for segment playback.
8480
8481         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
8482         Better debugging.
8483
8484         * gst/gstutils.c:
8485         Some more docs.
8486
8487         * tools/gst-launch.c: (main):
8488         NULL pipeline on errors.
8489
8490 2005-07-12  Andy Wingo  <wingo@pobox.com>
8491
8492         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
8493         not it comes from a malloc region. Make sure our copy gets freed.
8494
8495 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8496
8497         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8498         * check/gst/gstmessage.c: (GST_START_TEST):
8499         * check/gst/gststructure.c: (GST_START_TEST),
8500         (gst_structure_suite), (main):
8501           more testing
8502         * gst/gstelement.c: (gst_element_message_full):
8503           clean up GError and debug string now that they get copied
8504         * gst/gstmessage.c: (gst_message_new_error),
8505         (gst_message_new_warning), (gst_message_parse_error),
8506         (gst_message_parse_warning):
8507           use GST_TYPE_G_ERROR for structure_new, and take copies of
8508           arguments, so that we don't mess up refcounting
8509
8510 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8511
8512         * check/Makefile.am:
8513           add per-test valgrind targets
8514         * check/gst-libs/gdp.c: (GST_START_TEST),
8515         (gst_data_protocol_suite), (main):
8516           clean up
8517
8518 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8519
8520         * check/Makefile.am:
8521           instate more valgrindable tests
8522         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8523         (GST_START_TEST), (fakesrc_suite):
8524         * check/gst/gstpad.c: (GST_START_TEST):
8525         * check/gst/gststructure.c: (GST_START_TEST):
8526           fix test leaks
8527         * docs/gst/tmpl/gstminiobject.sgml:
8528         * gst/gstpad.c: (gst_pad_finalize):
8529           fix the static mutex leak
8530
8531 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8532
8533         * check/Makefile.am:
8534           add two more tests for valgrinding
8535         * check/gst/gstvalue.c: (GST_START_TEST):
8536           test refcount of deserialized buffer, found a leak
8537         * docs/gst/gstreamer-docs.sgml:
8538         * docs/gst/gstreamer-sections.txt:
8539         * docs/gst/gstreamer.types:
8540         * docs/gst/tmpl/gstminiobject.sgml:
8541           add miniobject to docs
8542         * gst/gstminiobject.c:
8543           add some docs
8544         * gst/gstvalue.c: (gst_value_deserialize_buffer),
8545         (gst_string_unwrap):
8546           fix a hard-to-find invalid write for one of the tests
8547           fix a leak for deserialized buffers
8548
8549 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8550
8551         * docs/pwg/advanced-events.xml:
8552         * docs/pwg/advanced-request.xml:
8553         * docs/pwg/advanced-scheduling.xml:
8554         * docs/pwg/appendix-porting.xml:
8555         * docs/pwg/building-boiler.xml:
8556         * docs/pwg/intro-preface.xml:
8557         * docs/pwg/other-ntoone.xml:
8558           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
8559           of example code and explanation for pad activation, loop() and
8560           getrange() functions and a bit more. Remove old comments pointing
8561           to loop-functions.
8562         * examples/pwg/Makefile.am:
8563           Add loop/getrange examples.
8564
8565 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8566
8567         * configure.ac:
8568           check for valgrind binary + some fixes
8569         * check/gst.supp:
8570           valgrind suppressions for the tests
8571         * check/Makefile.am:
8572           add a valgrind: target that valgrinds the unit tests
8573         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
8574         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
8575         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8576         * check/gst/gstghostpad.c:
8577           added some cleanup
8578         * check/gst/gstdata.c:
8579           removed
8580         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
8581         (thread_unref), (gst_mini_object_suite), (main):
8582           added
8583         * gst/gst.c: (gst_deinit):
8584         * gst/gst.h:
8585           add a method to clean up.
8586         * gst/gstsystemclock.c: (gst_system_clock_dispose),
8587         (gst_system_clock_obtain):
8588           allow for disposing the system clock.
8589         * tools/gst-launch.c: (main):
8590           deinit
8591
8592 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8593
8594         * docs/gst/tmpl/gstbasesrc.sgml:
8595         * docs/gst/tmpl/gstfakesrc.sgml:
8596         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8597         (gst_base_src_init), (gst_base_src_set_property),
8598         (gst_base_src_get_property), (gst_base_src_get_range),
8599         (gst_base_src_start):
8600         * gst/base/gstbasesrc.h:
8601           add num-buffers property
8602         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8603         (gst_fakesrc_init), (gst_fakesrc_set_property),
8604         (gst_fakesrc_get_property), (gst_fakesrc_create),
8605         (gst_fakesrc_start):
8606           remove num-buffers property
8607
8608 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8609
8610         * docs/gst/gstreamer-sections.txt:
8611         * docs/gst/tmpl/gstbasesink.sgml:
8612         * docs/gst/tmpl/gstbasesrc.sgml:
8613         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8614         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8615         (gst_base_sink_finalize), (gst_base_sink_set_clock),
8616         (gst_base_sink_set_property), (gst_base_sink_get_property),
8617         (gst_base_sink_handle_object), (gst_base_sink_event),
8618         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8619         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
8620         (gst_base_sink_loop), (gst_base_sink_deactivate),
8621         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
8622         (gst_base_sink_change_state):
8623         * gst/base/gstbasesink.h:
8624         * gst/base/gstbasesrc.h:
8625         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
8626         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8627         (gst_filesink_init):
8628           more macro splitting
8629
8630 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8631
8632         * gst/gstelement.c: (gst_element_get_bus):
8633           add debug
8634         * tools/gst-launch.c: (check_intr), (event_loop):
8635           fix bus leaks
8636
8637 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8638
8639         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8640           fix a caps leak
8641
8642 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8643
8644         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8645         (gst_base_src_finalize):
8646           add finalize method and clean up properly
8647         * gst/gstpipeline.c: (gst_pipeline_dispose):
8648           add debug
8649
8650 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8651
8652         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
8653         (gst_bin_suite):
8654           add more things to check
8655         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8656         * gst/gstelement.c:
8657           more debug
8658
8659 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8660
8661         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8662         (GST_START_TEST), (fakesrc_suite):
8663         * check/gst-libs/gdp.c: (GST_START_TEST):
8664         * check/gst/gst.c: (GST_START_TEST):
8665         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8666         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8667         * check/gst/gstbus.c: (GST_START_TEST):
8668         * check/gst/gstcaps.c: (GST_START_TEST):
8669         * check/gst/gstdata.c: (GST_START_TEST):
8670         * check/gst/gstelement.c: (GST_START_TEST):
8671         * check/gst/gstghostpad.c: (GST_START_TEST):
8672         * check/gst/gstiterator.c: (GST_START_TEST):
8673         * check/gst/gstmessage.c: (GST_START_TEST):
8674         * check/gst/gstobject.c: (GST_START_TEST):
8675         * check/gst/gstpad.c: (GST_START_TEST):
8676         * check/gst/gststructure.c: (GST_START_TEST):
8677         * check/gst/gstsystemclock.c: (GST_START_TEST),
8678         (gst_systemclock_suite):
8679         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8680         * check/gst/gstvalue.c: (GST_START_TEST):
8681         * check/pipelines/cleanup.c: (GST_START_TEST):
8682         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8683         * check/states/sinks.c: (GST_START_TEST):
8684         * check/gstcheck.c: (gst_check_init):
8685         * check/gstcheck.h:
8686           add debugging category
8687           use GST_START_TEST now, so we add a debug line
8688
8689 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8690
8691         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
8692           add test for state change message on a bin
8693         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
8694           add another test
8695         * gst/gstbin.c: (gst_bin_init):
8696         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
8697         * gst/gstelement.c: (gst_element_post_message),
8698         (gst_element_set_state):
8699         * gst/gstelementfactory.c: (gst_element_factory_create):
8700         * gst/gstmessage.c: (gst_message_new):
8701         * gst/gstscheduler.c:
8702           various debugging additions and cleanups
8703
8704 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8705
8706         * check/Makefile.am:
8707         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
8708         (main):
8709           adding tests for elements
8710         * gst/gstelement.c: (gst_element_dispose):
8711
8712 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8713
8714         * gst/registries/gstlibxmlregistry.c: (load_feature):
8715           plug more leaks.  A simple gst_init() now is leakfree, yay.
8716
8717 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8718
8719         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
8720         (gst_xml_registry_load):
8721           plug another memleak
8722
8723 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8724
8725         * configure.ac:
8726           use GST_SET_ERROR_CFLAGS
8727         * docs/faq/cvs.xml:
8728           change to ERROR_CFLAGS
8729
8730 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
8731
8732         * configure.ac:
8733           make GST_ERROR_CFLAGS overridable and re-enable Werror
8734         * docs/faq/cvs.xml:
8735           add a note about error CFLAGS
8736         * docs/gst/tmpl/gstfakesrc.sgml:
8737         * gst/elements/gstfakesrc.c:
8738           comment out some unused code
8739         * gst/gst.c: (split_and_iterate):
8740         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
8741         (load_feature):
8742           plug some memleaks
8743
8744 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8745
8746         * common/Makefile.am:
8747         * common/gtk-doc.mak:
8748         * docs/gst/Makefile.am:
8749           factor out gtk-doc.mak
8750
8751 2005-07-07  Wim Taymans  <wim@fluendo.com>
8752
8753         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
8754         (gst_thread_scheduler_dispose):
8755         Unlock the STREAM_LOCK completely.
8756
8757 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8758
8759         * check/Makefile.am:
8760         * check/elements/.cvsignore:
8761         * check/elements/gstfakesrc.c: (chain_func), (event_func),
8762         (START_TEST), (fakesrc_suite), (main):
8763         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8764         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8765         (gst_fakesrc_create), (gst_fakesrc_start):
8766         * gst/elements/gstfakesrc.h:
8767           adding a first element test
8768
8769 2005-07-07  Andy Wingo  <wingo@pobox.com>
8770
8771         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
8772         debug message.
8773
8774 2005-07-07  Wim Taymans  <wim@fluendo.com>
8775
8776         * gst/gstquery.c:
8777         * gst/gstquery.h:
8778         Remove old types
8779
8780 2005-07-07  Wim Taymans  <wim@fluendo.com>
8781
8782         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
8783         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
8784         Allow subclasses to implement their own negotiation.
8785
8786 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8787
8788         * docs/design/part-gstbin.txt:
8789         * docs/design/part-gstpipeline.txt:
8790           Update design notes to reflect the movement of
8791           responsibility for bus handling from GstPipeline to
8792           GstBin
8793
8794 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8795
8796         * configure.ac:
8797           Remove unnecessary queue2/3/4 examples.
8798
8799 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
8800
8801         * examples/Makefile.am:
8802         * examples/helloworld/helloworld.c: (event_loop), (main):
8803         * examples/queue/queue.c: (event_loop), (main):
8804         * examples/queue2/queue2.c: (main):
8805           Update a couple of the examples to work again.
8806
8807         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8808         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
8809          Spelling corrections and extra debug.
8810         
8811         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
8812         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
8813         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
8814         * gst/gstbin.h:
8815         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8816         (gst_pipeline_change_state):
8817         * gst/gstpipeline.h:
8818           Move the bus handler for children to the GstBin, and create a
8819           separate bus for receiving messages from children to the one the
8820           bus sends 'upwards' on.
8821
8822 2005-07-06  Wim Taymans  <wim@fluendo.com>
8823
8824         * gst/base/README:
8825         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8826         (gst_base_sink_handle_object), (gst_base_sink_loop),
8827         (gst_base_sink_change_state):
8828         * gst/base/gstbasesink.h:
8829         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8830         (gst_base_src_init), (gst_base_src_setcaps),
8831         (gst_base_src_getcaps), (gst_base_src_loop),
8832         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
8833         (gst_base_src_start), (gst_base_src_change_state):
8834         * gst/base/gstbasesrc.h:
8835         Make basesrc negotiate.
8836         Handle the case where preroll fails in basesink.
8837         Update README.
8838
8839 2005-07-06  Wim Taymans  <wim@fluendo.com>
8840
8841         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
8842         Implement the fixate function.
8843         Clean up acceptcaps.
8844
8845 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8846
8847         * docs/pwg/building-filterfactory.xml:
8848         * docs/pwg/pwg.xml:
8849           Remove never-written filter-factory chapter; I'll add the various
8850           base classes to part 4 ("other element types") later on.
8851
8852 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8853
8854         * docs/pwg/advanced-negotiation.xml:
8855         * docs/pwg/building-boiler.xml:
8856         * docs/pwg/building-pads.xml:
8857         * docs/pwg/pwg.xml:
8858         * examples/pwg/Makefile.am:
8859           Add a chapter on caps negotiation, simplify the original code
8860           samples a bit w.r.t. caps negotiation, add link to the advanced
8861           section. Add a bunch of examples showing different use cases of
8862           different types of caps negotiation. Upstream renegotiation isn't
8863           fully documented yet since nobody knows how that works.
8864
8865 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8866
8867         * check/gst/gstpad.c:
8868         * check/gstcheck.c:
8869         * gst/gstpad.c: (gst_pad_get_internal_links_default):
8870           if pad has no parent, return NULL as list of internal links
8871
8872 2005-07-05  Andy Wingo  <wingo@pobox.com>
8873
8874         * gst/elements/gstfilesrc.c:
8875         * gst/elements/gstfakesrc.c: 
8876         * gst/base/gstpushsrc.c:
8877         * gst/base/gstbasesrc.h: 
8878         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
8879         
8880 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
8881
8882         * Makefile.am:
8883           better report generation target (lcov needs a patch)
8884
8885 2005-07-05  Andy Wingo  <wingo@pobox.com>
8886
8887         * gst/elements, testsuite: Null if we got it...
8888
8889 2005-07-05  Wim Taymans  <wim@fluendo.com>
8890
8891         * configure.ac:
8892         * libs/gst/dataprotocol/Makefile.am:
8893         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
8894         * libs/gst/dataprotocol/dataprotocol.h:
8895         * pkgconfig/Makefile.am:
8896         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
8897         * pkgconfig/gstreamer-dataprotocol.pc.in:
8898         Ported dataprotol to 0.9. 
8899         Added pkgconfig files.
8900
8901 2005-07-05  Andy Wingo  <wingo@pobox.com>
8902
8903         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
8904         Default to returning TRUE for the case when tranform_caps returns
8905         a fixed caps, like for identity or volume.
8906
8907         * check/gst/gstbus.c (pound_bus_with_messages): 
8908         * check/gst/gstmessage.c (START_TEST): 
8909         * check/pipelines/simple_launch_lines.c (got_handoff): Application
8910         message API change.
8911
8912         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
8913         logic weaks here: always run transform_caps, trying passthrough
8914         operation only if the original caps intersects with the transform.
8915
8916         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
8917         source and sink caps.
8918
8919         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
8920         Intersect the peer caps with the pad template before going into
8921         transform_caps.
8922         (gst_base_transform_transform_caps): More debugging.
8923
8924         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
8925         src argument.
8926
8927 2005-07-04  Edward Hervey  <edward@fluendo.com>
8928
8929         * gst/gstutils.c:
8930         * gst/gstutils.h:
8931         (gst_pad_add_*_probe): now returns the signal id for better wrapping
8932         in bindings.
8933
8934 2005-07-04  Andy Wingo  <wingo@pobox.com>
8935
8936         * check/gst/gstpad.c: Only set explicit caps on pads.
8937
8938 2005-07-01  Andy Wingo  <wingo@pobox.com>
8939
8940         * tests/network-clock.scm: Commentary update.
8941
8942         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
8943         Didn't really make sense, not implementable with basetransform,
8944         etc.
8945         (gst_identity_transform): Unref inbuf via make_writable. Feeble
8946         attempt at implementing the sync property, needs an unlock method.
8947
8948         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
8949         New func, by default returns the same caps (the identity
8950         transformation).
8951         (gst_base_transform_getcaps): Uses transform_caps to return
8952         something sensible.
8953         (gst_base_transform_setcaps): Complicated logic to get caps on
8954         both pads, even if they are different, and to call set_caps once
8955         for every time both pads get their caps set.
8956         (gst_base_transform_handle_buffer): Give the ref to the transform
8957         function. Allows in-place modification of the buffer.
8958
8959         * gst/base/gstbasetransform.h (transform_caps): New class method.
8960         Given caps on one side, what can I do on the other.
8961         (set_caps): Take two caps, one for each side of the element.
8962
8963         * gst/gstpad.h:
8964         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
8965         caps in place. This is safe because we can check the mutability of
8966         the caps, and a good idea because fixate functions are just called
8967         as a matter of last resort. (Not actually implemented.)
8968         (gst_pad_set_caps): If the caps we're setting is actually the same
8969         as the existing pad caps, just update the pointer without calling
8970         setcaps. Assert that caps is either NULL or fixed, as per the
8971         docs.
8972
8973         * gst/gstghostpad.c: Update for fixate changes.
8974
8975 2005-07-02  Andy Wingo  <wingo@pobox.com>
8976
8977         * gst/gstcaps.c:
8978         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
8979         two refcounts makes it immutable, which is enough. Doc more.
8980
8981 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
8982
8983         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
8984           Put the mini_object into GValue as a mini_object,
8985           not a gpointer, since that's how we declared
8986           the signal.
8987
8988 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8989
8990         * examples/pwg/Makefile.am:
8991           Fix buildbot again.
8992
8993 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
8994
8995         * docs/pwg/building-testapp.xml:
8996           Add extra check.
8997         * examples/pwg/Makefile.am:
8998           Fix buildbot.
8999
9000 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9001
9002         * configure.ac:
9003         * examples/Makefile.am:
9004         * examples/pwg/Makefile.am:
9005         * examples/pwg/extract.pl:
9006           Enable building the PWG examples.
9007         * docs/pwg/advanced-interfaces.xml:
9008           Add URI interface stub.
9009         * docs/pwg/advanced-types.xml:
9010         * docs/pwg/other-autoplugger.xml:
9011         * docs/pwg/appendix-porting.xml:
9012         * docs/pwg/pwg.xml:
9013           Add porting guide (mostly stubs), remove autoplugging (see ADM).
9014         * docs/pwg/building-boiler.xml:
9015         * docs/pwg/building-chainfn.xml:
9016         * docs/pwg/building-pads.xml:
9017         * docs/pwg/building-props.xml:
9018         * docs/pwg/building-state.xml:
9019         * docs/pwg/building-testapp.xml:
9020           Update the building-*.xml parts for 0.9 changes. All examples
9021           code blocks compile in examples/pwg/*.
9022
9023 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9024
9025         * docs/manual/advanced-autoplugging.xml:
9026         * docs/manual/appendix-checklist.xml:
9027         * docs/manual/appendix-integration.xml:
9028         * docs/manual/highlevel-components.xml:
9029           Fix playbin/decodebin examples, update docs a bit, mention bus
9030           instead of signals in various places, mention kmplayer and
9031           kaffeine since they have a working GStreamer backend in the KDE
9032           section.
9033
9034 2005-06-30  Wim Taymans  <wim@fluendo.com>
9035
9036         * CHANGES-0.9:
9037         * docs/design/draft-ghostpads.txt:
9038         * docs/design/draft-push-pull.txt:
9039         * docs/design/draft-query.txt:
9040         * docs/design/part-TODO.txt:
9041         * docs/design/part-query.txt:
9042         Added CHANGES-0.9 doc, updated status of other docs.
9043         
9044         * gst/gstquery.h:
9045         Remove "hmm" macro
9046
9047 2005-06-30  Wim Taymans  <wim@fluendo.com>
9048
9049         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9050         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9051         (gst_base_sink_change_state):
9052         * gst/base/gstbasesink.h:
9053         Some tweaks, only EOS and a buffer complete a preroll.
9054
9055 2005-06-30  Andy Wingo  <wingo@pobox.com>
9056
9057         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9058         activate_push down to the internal pad as well.
9059
9060 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
9061
9062         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9063
9064         * gst/gsttaginterface.c:
9065           Some documentation fixes (#307394 and #307397).
9066
9067 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
9068
9069         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9070
9071         * gst/gstvalue.c: (gst_value_intersect_list):
9072           Fix memleak (#309125).
9073
9074 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9075
9076         * docs/manual/advanced-dataaccess.xml:
9077           Fix fakesrc example to compile; doesn't work, bug somewhere...?
9078         * docs/manual/basics-pads.xml:
9079           Add reference for filtered caps to above chapter.
9080
9081 2005-06-30  Wim Taymans  <wim@fluendo.com>
9082
9083         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9084         (gst_bin_change_state):
9085         Probes are gone.
9086         Lame attempt at making the state change function a bit
9087         more readable.
9088
9089 2005-06-30  Wim Taymans  <wim@fluendo.com>
9090
9091         * docs/design/part-clocks.txt:
9092         * docs/design/part-element-sink.txt:
9093         * docs/design/part-events.txt:
9094         * docs/design/part-preroll.txt:
9095         * docs/design/part-states.txt:
9096         Some more tweeks and additions to the docs.
9097
9098 2005-06-30  Wim Taymans  <wim@fluendo.com>
9099
9100         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9101         (default_have_data), (gst_pad_class_init), (gst_pad_init),
9102         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9103         (gst_pad_check_pull_range), (gst_pad_get_range),
9104         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9105         * gst/gstpad.h:
9106         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9107         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9108         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9109         (gst_pad_remove_buffer_probe):
9110         Removed atomic operations, use existing LOCK.
9111         Move exception handling out of main code path.
9112
9113 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9114
9115         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9116         (silly_return_true_function), (gst_pad_class_init),
9117         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9118         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9119         (gst_pad_send_event):
9120           Fix accumulator, add default value by using _emitv() instead
9121           of _emit() for signal emission.
9122
9123 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9124
9125         * docs/manual/advanced-dataaccess.xml:
9126         * examples/manual/Makefile.am:
9127           Add probe example.
9128         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9129           Make work (??).
9130
9131 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
9132
9133         * gst/elements/gstfilesink.c: (gst_filesink_render):
9134           Simplify code so that we don't have to handle short
9135           writes and return GST_FLOW_ERROR if an error occured.
9136
9137 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9138
9139         * docs/gst/gstreamer-docs.sgml:
9140           Remove probes more.
9141
9142 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9143
9144         * docs/gst/gstreamer-sections.txt:
9145         * docs/gst/tmpl/gstpad.sgml:
9146         * docs/gst/tmpl/gstprobe.sgml:
9147         * gst/Makefile.am:
9148         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9149         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9150         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9151         (gst_pad_push_event), (gst_pad_send_event):
9152         * gst/gstpad.h:
9153         * gst/gstutils.c: (gst_pad_add_data_probe),
9154         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9155         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9156         (gst_pad_remove_buffer_probe):
9157         * gst/gstutils.h:
9158           Remove old probes, add new g-signal-based probes and some utility
9159           functions.
9160
9161 2005-06-29  Edward Hervey  <edward@fluendo.com>
9162
9163         * gst/gstelementfactory.c:
9164         * gst/gstutils.h:
9165         * gst/gstutils.c:
9166         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9167         the definition to the header file.
9168
9169 2005-06-29  Andy Wingo  <wingo@pobox.com>
9170
9171         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9172         plugins from the source directory.
9173
9174 2005-06-29  Wim Taymans  <wim@fluendo.com>
9175
9176         * docs/gst/tmpl/gstbuffer.sgml:
9177         * docs/gst/tmpl/gstclock.sgml:
9178         Some fixings for blantently wrong text.
9179
9180 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9181
9182         * check/Makefile.am:
9183         * gst/gst.c: (add_path_func), (init_pre):
9184         * gst/gstregistry.c: (gst_registry_add_path):
9185           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9186           only scan the GST_PLUGIN_PATH locations, and not add
9187           system locations
9188
9189 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9190
9191         * docs/gst/gstreamer-sections.txt:
9192         * docs/gst/tmpl/gstbasesrc.sgml:
9193         * gst/gstelement.c:
9194         * gst/gstelement.h:
9195         * gst/gstevent.c:
9196         * gst/gstutils.c:
9197           doc fixes
9198
9199 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9200
9201         * docs/manual/advanced-autoplugging.xml:
9202           Fix autoplugging example.
9203
9204 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9205
9206         * docs/manual/advanced-autoplugging.xml:
9207         * docs/manual/mime-world.fig:
9208           Try to get autoplugging working, fix type detection. Fix text
9209           in hello-world image.
9210
9211 2005-06-29  Wim Taymans  <wim@fluendo.com>
9212
9213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9214         (gst_base_sink_change_state):
9215         Small debug line.
9216
9217         * gst/gstclock.h:
9218         map SIGNAL and BROADCAST to the right function.
9219
9220         * gst/gstobject.h:
9221         Remove redundant braces.
9222
9223         * gst/gstpad.c: (gst_pad_set_caps):
9224         Don't call setcaps function when reseting caps to NULL.
9225
9226         * gst/gstsystemclock.c: (gst_system_clock_dispose),
9227         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9228         (gst_system_clock_id_unschedule):
9229         Use BROADCAST as this is what we do.
9230
9231 2005-06-29  Wim Taymans  <wim@fluendo.com>
9232
9233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9234         We are actually prerolling before commiting the state
9235         change. 
9236
9237 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
9238
9239         * docs/manual/advanced-clocks.xml:
9240         * docs/manual/advanced-interfaces.xml:
9241         * docs/manual/advanced-metadata.xml:
9242         * docs/manual/advanced-position.xml:
9243         * docs/manual/advanced-schedulers.xml:
9244         * docs/manual/advanced-threads.xml:
9245         * docs/manual/appendix-porting.xml:
9246         * docs/manual/basics-bins.xml:
9247         * docs/manual/basics-bus.xml:
9248         * docs/manual/basics-elements.xml:
9249         * docs/manual/basics-helloworld.xml:
9250         * docs/manual/basics-pads.xml:
9251         * docs/manual/highlevel-components.xml:
9252         * docs/manual/manual.xml:
9253         * docs/manual/thread.fig:
9254           Update (until threads/scheduling) Application Development Manual;
9255           remove GstThread, add GstBus, add simple porting checklist, add
9256           documentation for tag writing, clocks, make all examples until this
9257           part compile and run.
9258         * examples/manual/Makefile.am:
9259           Update from changes to Application Development Manual; add bus
9260           example, remove thread example.
9261
9262 2005-06-28  Wim Taymans  <wim@fluendo.com>
9263
9264         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9265         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9266         (gst_bus_source_dispatch):
9267         Add debugging messages.
9268         Make internal methods static.
9269         Handle the case where the bus is flushed in the handler.
9270         
9271         * gst/gstelement.c: (gst_element_get_bus):
9272         Fix refcount in _get_bus();
9273
9274         * gst/gstpipeline.c: (gst_pipeline_change_state),
9275         (gst_pipeline_get_clock_func):
9276         Clock refcounting fixes.
9277         Handle the case where preroll timed out more gracefully.
9278         
9279         * gst/gstsystemclock.c: (gst_system_clock_dispose):
9280         Clean up the internal thread in dispose. This is needed
9281         for subclasses that actually get disposed.
9282         
9283         * gst/schedulers/threadscheduler.c:
9284         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9285         (gst_thread_scheduler_dispose):
9286         Free thread pool in dispose.
9287
9288 2005-06-28  Andy Wingo  <wingo@pobox.com>
9289
9290         * tests/network-clock-utils.scm (debug, print-event): New utils.
9291
9292         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9293         (*packet-loss*): Unified loss probability.
9294         (network-time): Report out-of-band events.
9295
9296         * tests/plot-data: Add support for out-of-band events. Hack it
9297         into this script instead of passing it down the pipe; should fix
9298         this later.
9299
9300 2005-06-28  Wim Taymans  <wim@fluendo.com>
9301
9302         * docs/gst/gstreamer.types:
9303         * docs/gst/tmpl/gstbasesrc.sgml:
9304         * docs/gst/tmpl/gstpad.sgml:
9305         Docs fixes.
9306
9307 2005-06-28  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9310         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9311         (gst_proxy_pad_do_fixatecaps):
9312         Correctly proxy the check_pull_range function.
9313
9314 2005-06-28  Andy Wingo  <wingo@pobox.com>
9315
9316         * tests/network-clock.scm: Removed need for slib.
9317         
9318 2005-06-28  Wim Taymans  <wim@fluendo.com>
9319
9320         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9321         (gst_basesink_preroll_queue_flush):
9322         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9323         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9324         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9325         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9326         (gst_proxy_pad_set_property):
9327         * gst/gstpad.c:
9328         * gst/gstpad.h:
9329         * gst/gstqueue.c: (gst_queue_init):
9330         The deprecated pad loop function is removed now.
9331
9332 2005-06-28  Andy Wingo  <wingo@pobox.com>
9333
9334         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9335         New parameters, simulate network packet loss.
9336
9337         * tests/network-clock-utils.scm: Initialize the RNG.
9338
9339 2005-06-28  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9342         (gst_basesink_event), (gst_basesink_deactivate):
9343         Flushing the preroll queue always needs to unlock the waiters.
9344
9345 2005-06-28  Edward Hervey  <edward@fluendo.com>
9346
9347         * gst/gstpipeline.c: (gst_pipeline_send_event): 
9348         Wheen a seek was successful on a pipeline, set the stream_time to the
9349         seek offset in order to have a synchronized stream_time.
9350
9351 2005-06-28  Wim Taymans  <wim@fluendo.com>
9352
9353         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9354         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9355         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9356         (gst_proxy_pad_do_fixatecaps):
9357         Call wrapper function instead of just calling the function
9358         pointers. This takes care of any locking and whatmore.
9359
9360 2005-06-28  Wim Taymans  <wim@fluendo.com>
9361
9362         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9363         (gst_pad_pull_range):
9364         * gst/gstpad.h:
9365         CONNECTED -> LINKED.
9366
9367 2005-06-28  Andy Wingo  <wingo@pobox.com>
9368
9369         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9370         source-munging commit!!!
9371
9372         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
9373         (gst_object_sink): Take gpointer arguments, not GstObject --
9374         avoids casts. Like GLib.
9375
9376         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9377         activate.
9378
9379 2005-06-27  Andy Wingo  <wingo@pobox.com>
9380
9381         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9382         remaining buffer.
9383
9384         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9385         returns a sorted copy of the trace list.
9386         (gst_alloc_trace_print_live): New API, only prints traces with
9387         live objects. Sort the list.
9388         (gst_alloc_trace_print_all): Sort the list.
9389         (gst_alloc_trace_print): Align columns.
9390
9391         * gst/elements/gstttypefindelement.c:
9392         * gst/elements/gsttee.c:
9393         * gst/base/gstbasesrc.c:
9394         * gst/base/gstbasesink.c:
9395         * gst/base/gstbasetransform.c:
9396         * gst/gstqueue.c: Adapt for pad activation changes.
9397
9398         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9399         sched.
9400         (gst_pipeline_dispose): Drop ref on sched.
9401
9402         * gst/gstpad.c (gst_pad_init): Set the default activate func.
9403         (gst_pad_activate_default): Push mode by default.
9404         (pre_activate_switch, post_activate_switch): New stubs, things to
9405         do before and after switching activation modes on pads.
9406         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9407         the pad's activate function to choose which mode to activate.
9408         Shortcut on deactivation and call the right function directly.
9409         (gst_pad_activate_pull): New API, (de)activates a pad in pull
9410         mode.
9411         (gst_pad_activate_push): New API, same for push mode.
9412         (gst_pad_set_activate_function) 
9413         (gst_pad_set_activatepull_function) 
9414         (gst_pad_set_activatepush_function): Setters for new API.
9415
9416         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9417         Trace all miniobjects.
9418         (gst_mini_object_make_writable): Unref the arg if we copy, like
9419         gst_caps_make_writable.
9420
9421         * gst/gstmessage.c (_gst_message_initialize): No trace init.
9422
9423         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
9424         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9425         Adapt for new pad API.
9426
9427         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9428
9429         * gst/gstelement.h:
9430         * gst/gstelement.c (gst_element_iterate_src_pads) 
9431         (gst_element_iterate_sink_pads): New API functions.
9432         
9433         * gst/gstelement.c (iterator_fold_with_resync): New utility,
9434         should fold into gstiterator.c in some form.
9435         (gst_element_pads_activate): Simplified via use of fold and
9436         delegation of decisions to gstpad->activate.
9437
9438         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9439         help in debugging.
9440
9441         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9442         class once in init, like gstmessage. Didn't run into this issue
9443         but it seems correct. Don't initialize a trace, gstminiobject does
9444         that.
9445
9446         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
9447         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
9448         to the bus.
9449         (assert_live_count): New util function, uses alloc traces to check
9450         cleanup.
9451
9452         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
9453         To be modified when unlink drops the internal pad.
9454
9455 2005-06-27  Wim Taymans  <wim@fluendo.com>
9456
9457         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
9458         (gst_bin_change_state):
9459         Cleanup the get_state() function a little, make sure it
9460         iterates the same set of elements.
9461         Added stub iterate_state_order().
9462
9463 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
9464
9465         * docs/gst/gstreamer-docs.sgml:
9466         * docs/gst/gstreamer-sections.txt:
9467         * docs/gst/gstreamer.types:
9468         * docs/gst/tmpl/gstbasesink.sgml:
9469         * docs/gst/tmpl/gstbasesrc.sgml:
9470         * docs/gst/tmpl/gstbasetransform.sgml:
9471         * docs/gst/tmpl/gstelement.sgml:
9472         * docs/gst/tmpl/gstiterator.sgml:
9473         * gst/base/gstbasesrc.c:
9474         * gst/base/gstbasesrc.h:
9475         * gst/base/gstbasetransform.h:
9476         * gst/gstelement.c:
9477         * gst/gstiterator.h:
9478           adding basetransform and iterator docs
9479
9480 2005-06-27  Andy Wingo  <wingo@pobox.com>
9481
9482         * docs/design/part-activation.txt: Notes on how activation should
9483         work -- not quite implemented yet.
9484
9485 2005-06-25  Wim Taymans  <wim@fluendo.com>
9486
9487         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
9488         At least get the chain function correct, needs more
9489         fixing.
9490
9491 2005-06-25  Wim Taymans  <wim@fluendo.com>
9492
9493         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9494         (gst_basesink_handle_object), (gst_basesink_event),
9495         (gst_basesink_do_sync), (gst_basesink_handle_event),
9496         (gst_basesink_change_state):
9497         * gst/gsttask.h:
9498         Right, two problems here: ghostpads don't take locks and
9499         glib _rec_mutex_lock_full() with depth==0 still locks.
9500         Catch illegal locking and g_warn them.
9501
9502 2005-06-25  Wim Taymans  <wim@fluendo.com>
9503
9504         * check/states/sinks.c: (START_TEST), (gst_object_suite):
9505         Have to check for completion now...
9506
9507 2005-06-25  Wim Taymans  <wim@fluendo.com>
9508
9509         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9510         (gst_basesink_handle_object), (gst_basesink_event),
9511         (gst_basesink_do_sync), (gst_basesink_handle_event),
9512         (gst_basesink_change_state):
9513         * gst/gstpad.h:
9514         Unlock STREAM_LOCK whatever the recursion was.
9515
9516 2005-06-25  Wim Taymans  <wim@fluendo.com>
9517
9518         * gst/base/gstbasesink.c: (gst_basesink_set_property),
9519         (gst_basesink_preroll_queue_empty),
9520         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
9521         (gst_basesink_event), (gst_basesink_do_sync),
9522         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
9523         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
9524         (gst_basesink_change_state):
9525         Reworked the base sink, handle event and buffer serialisation
9526         correctly and removed possible deadlock.
9527         Handle EOS correctly.
9528
9529 2005-06-25  Wim Taymans  <wim@fluendo.com>
9530
9531         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
9532         (gst_pipeline_change_state):
9533         * tools/gst-launch.c: (check_intr), (event_loop), (main):
9534         Allow elements to post EOS in the state change function.
9535         Fix up -launch, make it exit the poll loop when the
9536         pipeline actually changed state.
9537         Fix up warning parsing in -launch.
9538
9539 2005-06-25  Wim Taymans  <wim@fluendo.com>
9540
9541         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
9542         (gst_tee_sink_activate):
9543         Core takes STREAM_LOCK for us now.
9544
9545 2005-06-25  Wim Taymans  <wim@fluendo.com>
9546
9547         * gst/gstelement.c: (gst_element_get_state_func),
9548         (gst_element_set_state):
9549         * gst/gstelement.h:
9550         * gst/gstmessage.c: (gst_message_parse_error),
9551         (gst_message_parse_warning):
9552         Keep track of current target state while performing a state
9553         change so that subclasses can do something interesting.
9554         Fix parsing of warning/error messages when GError is NULL.
9555
9556 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * docs/gst/Makefile.am:
9559         * docs/gst/gstreamer-docs.sgml:
9560         * docs/gst/gstreamer-sections.txt:
9561         * docs/gst/gstreamer.types:
9562         * docs/gst/tmpl/gstbasesink.sgml:
9563         * docs/gst/tmpl/gstbasesrc.sgml:
9564         * docs/gst/tmpl/gstbin.sgml:
9565         * docs/gst/tmpl/gstcompat.sgml:
9566         * docs/gst/tmpl/gstfakesink.sgml:
9567         * docs/gst/tmpl/gstfakesrc.sgml:
9568         * docs/gst/tmpl/gstfilesink.sgml:
9569         * docs/gst/tmpl/gstfilesrc.sgml:
9570         * docs/gst/tmpl/gstindex.sgml:
9571         * docs/manual/appendix-quotes.xml:
9572         * gst/base/gstbasesrc.h:
9573         * gst/elements/gstfakesrc.h:
9574         * gst/gstmessage.h:
9575           start pulling in base classes and elements in our docs
9576
9577 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
9578
9579         * docs/gst/Makefile.am:
9580         * docs/libs/Makefile.am:
9581           fixed make distcheck with gtk-doc 1.3
9582
9583 2005-06-23  Wim Taymans  <wim@fluendo.com>
9584
9585         * gst/gstelement.c: (gst_element_get_state_func),
9586         (gst_element_set_state), (gst_element_change_state):
9587         When the state did not change, also report NO_PREROLL
9588         when it matters.
9589
9590 2005-06-23  Wim Taymans  <wim@fluendo.com>
9591
9592         * gst/gstpad.c: (gst_pad_event_default):
9593         * gst/gstqueue.c: (gst_queue_loop):
9594         No unsafe task pausing please.
9595
9596 2005-06-23  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/schedulers/threadscheduler.c:
9599         (gst_thread_scheduler_task_start),
9600         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
9601         Ref the task before pushing it on the threadpool. This
9602         makes sure that we have a ref when the threadfunction is
9603         actually called.
9604
9605 2005-06-23  Andy Wingo  <wingo@pobox.com>
9606
9607         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
9608         offset is greater than the file's size.
9609
9610         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
9611         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
9612         * gst/gstobject.c (gst_object_class_init): Make the class lock
9613         recursive. Wim won't let me drop deep_notify. Decodebin works
9614         again, whoopdy doo.
9615
9616         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
9617         internal pad, and hacks accordingly. Doesn't do it on the target
9618         pad because we change its caps. Probably catches all cases of
9619         interest tho.
9620         (gst_ghost_pad_set_property): Connect to notify::caps as
9621         appropritate.
9622
9623         * tests/network-clock.scm (plot-simulation): Pipe data to the
9624         elite python skript.
9625
9626         * tests/network-clock-utils.scm (define-parameter): New macro,
9627         defines a parameter that can be set via the command line.
9628         (set-parameter!, parse-parameter-arguments): Command line args
9629         parser.
9630
9631         * tests/plot-data: Simple matplotlib-based plotter, takes input on
9632         stdin.
9633
9634 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
9635
9636         * gst/elements/gsttypefindelement.c:
9637         (gst_type_find_element_handle_event):
9638           Don't restart typefinding on a discont.
9639         * gst/gstelement.c: (gst_element_set_state):
9640           Debug spelling fix.
9641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
9642           Allow changing mode of an active pad.
9643           Debug output fixes.
9644         * gst/registries/gstlibxmlregistry.c: (load_feature):
9645           Don't cast a static pad template to a normal pad template.
9646
9647 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
9648
9649         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9650         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9651           remove gst_strtoll completely, since it didn't actually do
9652           anything more than what g_ascii_strtoull already does.
9653           check for range errors when deserializing
9654           do a cast for the unsigned cases; but further fixing needs
9655           a decision on what the interpretation of "(int)" and
9656           deserialization should be for values that fall outside the
9657           type's boundaries (ie, refuse, or interpret as casting)
9658
9659 2005-06-23  Wim Taymans  <wim@fluendo.com>
9660
9661         * check/Makefile.am:
9662         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
9663         * docs/design/part-live-source.txt:
9664         * docs/design/part-states.txt:
9665         * gst/base/gstbasesrc.c: (gst_basesrc_init),
9666         (gst_basesrc_set_live), (gst_basesrc_is_live),
9667         (gst_basesrc_get_range), (gst_basesrc_activate),
9668         (gst_basesrc_change_state):
9669         * gst/base/gstbasesrc.h:
9670         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9671         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9672         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
9673         * gst/gstelement.c: (gst_element_get_state_func),
9674         (gst_element_set_state):
9675         * gst/gstelement.h:
9676         * gst/gsttypes.h:
9677         * tools/gst-launch.c: (event_loop), (main):
9678         Added support for live sources and other elements that
9679         cannot do preroll.
9680         Updated design docs, added live-source design doc.
9681         Implemented live source functionality in basesrc
9682         Fix error condition in _bin_get_state()
9683         Implement live source handling in -launch.
9684         Added check for live sources.
9685         Fixed case in GstBin where elements were changed state
9686         multiple times.
9687
9688
9689 2005-06-23  Andy Wingo  <wingo@pobox.com>
9690
9691         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
9692         borken refcounting.
9693
9694         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
9695         gst_caps_replace takes care of this for us.
9696
9697         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
9698         gst_pad_set_caps on the target, not just its setcaps() function.
9699
9700         * tests/network-clock.scm: 
9701         * tests/network-clock-utils.scm: A network clock simulator.
9702         Something of an algorithmic testbed before doing something in C.
9703
9704 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9705
9706         * check/Makefile.am:
9707         * check/gst/capslist.h:
9708           copy over from 0.8, and add two with bitmasks specified with
9709           (int) 0xFF...
9710         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9711           add test to parse everything from capslist.h
9712         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
9713         (main):
9714           add test for structure deserialization
9715         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9716           add tests for deserialization of strings to int types
9717         * gst/gststructure.c: (gst_structure_nth_field_name):
9718         * gst/gststructure.h:
9719           add a way to get the name of a field referenced by index
9720         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9721           instead of checking if the resulting long long lies between
9722           min and max, we check if the long long would fit into
9723           a number of bytes for the final type.
9724           This fixes cases where a string represents 2^32 - 1, which
9725           when cast to int would be the (valid) -1, but is bigger than
9726           G_MAXINT
9727
9728 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9729
9730         * gst/parse/grammar.y:
9731           add a log line for type deserialization
9732
9733 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9734
9735         * check/gst/gstvalue.c: (START_TEST):
9736         * gst/gstvalue.c: (gst_value_deserialize):
9737           return long long, not int, so gint64 deserialization actually
9738           works.  Is there any flag that makes the compiler check this ?
9739           Fixes #308559
9740
9741 2005-06-22  Wim Taymans  <wim@fluendo.com>
9742
9743         * gst/gstbuffer.h:
9744         Added convenience macros for setting buffers in GValue.
9745
9746 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9747
9748         * check/gst/.cvsignore:
9749         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
9750           add a test deserializing int64, and comment part out because
9751           it fails, yay !
9752
9753 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
9754
9755         * check/Makefile.am:
9756         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
9757         * testsuite/Makefile.am:
9758         * testsuite/caps/Makefile.am:
9759         * testsuite/caps/value_serialize.c:
9760         * testsuite/test_gst_init.c:
9761           move a value_serialize test over
9762
9763 2005-06-20  Wim Taymans  <wim@fluendo.com>
9764
9765         * gst/gstpad.c:
9766         Small doc updates.
9767         
9768         * gst/gstvalue.c: (gst_value_compare_buffer),
9769         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
9770         (gst_value_compare_flags), (gst_value_serialize_flags),
9771         (gst_value_deserialize_flags), (_gst_value_initialize):
9772         Fix serialisation of buffers, they are not boxed types anymore
9773
9774 2005-06-20  Wim Taymans  <wim@fluendo.com>
9775
9776         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
9777         Testcase to show error in buffer-on-caps serialisation.
9778
9779 2005-06-20  Andy Wingo  <wingo@pobox.com>
9780
9781         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
9782         will be adding to later.
9783
9784         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
9785         if its socks fill with rocks.
9786         (gst_system_clock_obtain): Set the name on object construction.
9787         Avoid double-checked locking.
9788
9789 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
9790
9791         * gst/gsturi.c: (gst_element_make_from_uri):
9792           Fix potential endless loop.
9793
9794 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9795
9796         * check/Makefile.am:
9797           add gsttag
9798         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
9799         (main):
9800           move over from testsuite dir and clean up
9801         * configure.ac:
9802         * gst/gsttag.c:
9803         * testsuite/Makefile.am:
9804         * testsuite/tags/.cvsignore:
9805         * testsuite/tags/Makefile.am:
9806         * testsuite/tags/merge.c:
9807           remove testsuite/tags
9808
9809 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9810
9811         * docs/gst/gstreamer-sections.txt:
9812         * docs/gst/tmpl/gstenumtypes.sgml:
9813         * win32/gstenumtypes.c:
9814           clean up documentation build a little
9815
9816 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9817
9818         * check/gstcheck.h:
9819           add macros for checking refcounts on objects and caps
9820         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
9821           add some more unit tests
9822         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9823         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
9824           fix leaked refcounts (I hope :)) so unittest works
9825         * gst/gstpad.h:
9826           whitespace removal
9827
9828 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9829
9830         * configure.ac: back to HEAD
9831
9832 === release 0.9.1 ===
9833
9834 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9835
9836         * NEWS:
9837         * RELEASE:
9838           updated
9839
9840 2005-06-17  Andy Wingo  <wingo@pobox.com>
9841
9842         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
9843         assert; it's always possible that the pad gets deactivated in
9844         between the checks in gstpad.c and the implementation. Rely on
9845         finish_preroll() to return a FLUSHING or similar instead of on the
9846         assert.
9847         
9848         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
9849         clock and post an EOS message if we come out of finish_preroll in
9850         the playing state.
9851
9852 2005-06-16  David Schleef  <ds@schleef.org>
9853
9854         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
9855         (gst_capsfilter_set_property): Allow NULL as possible value
9856         for filter_caps property, indicating GST_CAPS_ANY.
9857
9858 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9859
9860         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
9861           fix debug output
9862         * gst/schedulers/Makefile.am:
9863           use libgst prefix
9864         * gstreamer.spec.in:
9865           fix spec for it
9866
9867 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9868
9869         * gstreamer.spec.in:
9870           clean up
9871
9872 2005-06-08  Andy Wingo  <wingo@pobox.com>
9873
9874         * gst/gstutils.c: RPAD fixes all around.
9875         (gst_element_link_pads): Refcounting fixes.
9876
9877         * tools/gst-inspect.c:
9878         * tools/gst-xmlinspect.c:
9879         * parse/grammar.y:
9880         * gst/base/gsttypefindhelper.c:
9881         * gst/base/gstbasesink.c:
9882         * gst/gstqueue.c: RPAD fixes.
9883
9884         * gst/gstghostpad.h:
9885         * gst/gstghostpad.c: New ghost pad implementation as full proxy
9886         pads. The tricky thing is they provide both source and sink
9887         interfaces, since they proxy the internal pad for the external
9888         pad, and vice versa. Implement with lower-level ProxyPad objects,
9889         with the interior proxy pad as a child of the exterior ghost pad.
9890         Should write a doc on this.
9891         
9892         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
9893         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
9894         gst_object API.
9895         
9896         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
9897         pads are real pads. No ghost pads in this file. Not documenting
9898         the myriad s/RPAD/PAD/ and REALIZE fixes.
9899         (gst_pad_class_init): Add properties for "direction" and
9900         "template". Both are construct-only, so they can't change during
9901         the life of the pad. Fixes properly deriving from GstPad.
9902         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
9903         derived objects, just set properties when creating the objects via
9904         g_object_new.
9905         (gst_pad_get_parent): Implement as a function, return NULL if the
9906         parent is not an element.
9907         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
9908         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
9909         
9910         * gst/gstobject.c (gst_object_class_init): Make name a construct
9911         property. Don't set it in the object init.
9912
9913         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
9914         with UNKNOWN direction.
9915         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
9916         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
9917         (gst_element_remove_pad): Remove ghost-pad special cases.
9918         (gst_element_pads_activate): Remove rpad cruft.
9919
9920         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
9921         catch the pad's-parent-not-an-element case.
9922
9923         * gst/gst.h: Include gstghostpad.h.
9924
9925         * gst/gst.c (init_post): No more real, ghost pads.
9926
9927         * gst/Makefile.am: Add gstghostpad.[ch].
9928
9929         * check/Makefile.am:
9930         * check/gst/gstbin.c:
9931         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
9932         into a bin creates ghost pads, and that the refcounts are right.
9933         Partly moved from gstbin.c.
9934
9935 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         * check/gst-libs/.cvsignore:
9938         * check/gst/.cvsignore:
9939         * check/pipelines/.cvsignore:
9940           ignore more
9941         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
9942         (START_TEST), (cleanup_suite), (main):
9943           add some tests related to cleanup after running pipelines
9944
9945 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9946
9947         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
9948           add a testsuite for GstBuffer
9949
9950 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9951
9952         * gst/gstminiobject.h:
9953           add defines for accessing the refcount
9954
9955 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
9956
9957         * Makefile.am: added support for html unit test coverage reports
9958
9959 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
9960
9961         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
9962           Free existing caps if the capsfilter changes. Add a FIXME about
9963           setting those caps on the pads.
9964
9965         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
9966           Before adding a ghost pad to a parent bin, check that there isn't
9967           already one for the element on the bin. Prevents infinite recursion
9968           when using decodebin in parse pipelines. Andy says he'll rewrite the
9969           way this works anyway, so ignore the hack.
9970
9971 2005-06-02  Andy Wingo  <wingo@pobox.com>
9972
9973         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
9974         file size, pass it on to the type find helper.
9975
9976         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
9977         segment_start and segment_end properly according to the seek
9978         method. Segment_end is still a bit flaky because offset can be
9979         negative for CUR and END cases, but it takes -1 as an "unset"
9980         value.
9981
9982 2005-06-02  Wim Taymans  <wim@fluendo.com>
9983
9984         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
9985         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
9986         (gst_basesink_activate):
9987         * gst/base/gstbasesink.h:
9988         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
9989         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
9990         (gst_pad_query), (gst_pad_start_task):
9991         * gst/gstpad.h:
9992         * gst/gstqueue.c: (gst_queue_bufferalloc),
9993         (gst_queue_handle_sink_event), (gst_queue_chain):
9994         Bufferalloc: return GstFlowReturn to more accuratly report
9995         why allocation failed.
9996
9997 2005-06-02  Wim Taymans  <wim@fluendo.com>
9998
9999         * gst/gstpipeline.c: (gst_pipeline_send_event):
10000         Take snapshot of state without blocking.
10001
10002 2005-06-02  Wim Taymans  <wim@fluendo.com>
10003
10004         * docs/design/part-TODO.txt:
10005         * docs/design/part-caps.txt:
10006         * docs/design/part-clocks.txt:
10007         * docs/design/part-negotiation.txt:
10008         * docs/design/part-preroll.txt:
10009         Small doc updates 
10010
10011 2005-05-30  Wim Taymans  <wim@fluendo.com>
10012
10013         * gst/elements/gstidentity.c: (gst_identity_event),
10014         (gst_identity_transform), (gst_identity_get_property):
10015         Protect last_message property as it is accessed from
10016         multiple threads.
10017
10018 2005-05-30  Wim Taymans  <wim@fluendo.com>
10019
10020         * gst/gstelement.c: (gst_element_init),
10021         (gst_element_pads_activate), (gst_element_change_state):
10022         Slicker pad activation code.
10023
10024 2005-05-30  Wim Taymans  <wim@fluendo.com>
10025
10026         * gst/Makefile.am:
10027         * gst/gstelement.h:
10028         * gst/gstelementfactory.h:
10029         * gst/gsttypes.h:
10030         Move elementfactory methods to separate .h file.
10031
10032 2005-05-30  Wim Taymans  <wim@fluendo.com>
10033
10034         * docs/design/part-overview.txt:
10035         * gst/gstsystemclock.h:
10036         Small typo fixes, doc updates.
10037
10038 2005-05-30  Wim Taymans  <wim@fluendo.com>
10039
10040         * gst/gst.c: (gst_init_get_popt_table), (init_post),
10041         (init_popt_callback):
10042         Remove cpu-opt flag.
10043
10044 2005-05-30  Wim Taymans  <wim@fluendo.com>
10045
10046         * gst/gstbuffer.c: (gst_subbuffer_finalize),
10047         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10048         * gst/gstbuffer.h:
10049         Avoid typechecking in places where not needed.
10050         Added accessor for malloc_data.
10051
10052 2005-05-30  Wim Taymans  <wim@fluendo.com>
10053
10054         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10055         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10056         (gst_pad_configure_sink), (gst_pad_configure_src),
10057         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10058         (gst_pad_start_task):
10059         Propagate errors from _set_caps() in configure_src/sink
10060         functions instead of returning TRUE.
10061         FLUSH events can travel up and downstream
10062
10063
10064 2005-05-30  Wim Taymans  <wim@fluendo.com>
10065
10066         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10067         (gst_basesink_activate):
10068         Handle EOS in preroll.
10069
10070 2005-05-30  Wim Taymans  <wim@fluendo.com>
10071
10072         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10073         (gst_queue_loop), (gst_queue_handle_src_event):
10074         Remove old pieces of code
10075         Flushing the queue in an upstream event is a very bad idea.
10076
10077 2005-05-26  Andy Wingo  <wingo@pobox.com>
10078
10079         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10080         gst_value_set_mini_object so as to add a ref on the object (which
10081         will be removed when the value is unset).
10082
10083         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10084         arg type in ::handoff.
10085
10086         * gst/gstelement.c (gst_element_change_state): Also deactivate
10087         pads in READY->NULL, just in case the element didn't make it to
10088         PAUSED. Wingo tested, Wim approved.
10089
10090 2005-05-26  Wim Taymans  <wim@fluendo.com>
10091
10092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10093         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10094         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10095         A flushing pad cannot be used to alloc_buffer from.
10096
10097 2005-05-26  Wim Taymans  <wim@fluendo.com>
10098
10099         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10100         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10101         (gst_bus_source_dispatch), (gst_bus_source_finalize),
10102         (gst_bus_create_watch), (gst_bus_add_watch_full):
10103         * gst/gstbus.h:
10104         Implement a real GSource and use g_main_context_wakeup() to
10105         signal new messages instead of the socketpair.
10106
10107 2005-05-25  Wim Taymans  <wim@fluendo.com>
10108
10109         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10110         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10111         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10112         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10113         (gst_pad_send_event), (gst_pad_start_task):
10114         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10115         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10116         (gst_queue_sink_activate), (gst_queue_src_activate),
10117         (gst_queue_change_state):
10118         * gst/gstqueue.h:
10119         Fix state changes for non sinks. We now change sinks, then elements
10120         with unconnected srcpads, then the rest.
10121         More efficient queue unlocking in flush and state changes.
10122         Set the pad activate mode even if it does not have an activate
10123         function.
10124
10125 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10126
10127         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10128           Don't go in pull mode for non-seekable sources.
10129         * gst/elements/gsttypefindelement.h:
10130         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10131         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10132         (free_entry), (stop_typefinding),
10133         (gst_type_find_element_handle_event), (find_peek),
10134         (gst_type_find_element_chain), (do_pull_typefind),
10135         (gst_type_find_element_change_state):
10136           Allow typefinding (w/o seeking) in push-mode, simplified version
10137           of what was in 0.8.
10138         * gst/gstutils.c: (gst_buffer_join):
10139         * gst/gstutils.h:
10140           gst_buffer_join() from 0.8.
10141
10142 2005-05-25  Wim Taymans  <wim@fluendo.com>
10143
10144         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10145         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10146         (gst_pad_send_event), (gst_pad_start_task):
10147         Disable attempt at mode switching until it is figured out.
10148
10149 2005-05-25  Wim Taymans  <wim@fluendo.com>
10150
10151         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10152         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10153         (gst_basesink_finish_preroll), (gst_basesink_chain),
10154         (gst_basesink_loop), (gst_basesink_activate),
10155         (gst_basesink_change_state):
10156         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10157         (gst_basesrc_get_range), (gst_basesrc_loop),
10158         (gst_basesrc_activate):
10159         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10160         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10161         (gst_real_pad_init), (gst_real_pad_set_property),
10162         (gst_real_pad_get_property), (gst_pad_set_active),
10163         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10164         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10165         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10166         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10167         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10168         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10169         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10170         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10171         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10172         (gst_pad_stop_task):
10173         * gst/gstpad.h:
10174         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10175         (gst_queue_loop), (gst_queue_src_activate):
10176         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10177         (gst_task_get_state):
10178         * gst/gsttask.h:
10179         * gst/schedulers/threadscheduler.c:
10180         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10181         Implement gst_pad_pause/start/stop_task(), take STREAM lock
10182         in task function.
10183         Remove ACTIVE pad flag, use FLUSHING everywhere
10184         Added _pad_chain(), _pad_get_range() to call chain/getrange 
10185         functions.
10186         Add locks around IS_FLUSHING when reading.
10187         Take STREAM lock in chain(), get_range() functions so plugins
10188         don't need to take it anymore.
10189         
10190
10191
10192 2005-05-25  Wim Taymans  <wim@fluendo.com>
10193
10194         * tools/gst-launch.c: (event_loop):
10195         Unref message after using its contents instead of
10196         before.
10197
10198 2005-05-24  Wim Taymans  <wim@fluendo.com>
10199
10200         * docs/design/draft-ghostpads.txt:
10201         * docs/design/draft-push-pull.txt:
10202         * docs/design/draft-query.txt:
10203         * docs/design/part-overview.txt:
10204         Docs updates, added general overview doc.
10205
10206 2005-05-21  David Schleef  <ds@schleef.org>
10207
10208         * docs/gst/tmpl/old/GstBin.sgml:
10209         * docs/gst/tmpl/old/GstBuffer.sgml:
10210         * docs/gst/tmpl/old/GstCaps.sgml:
10211         * docs/gst/tmpl/old/GstClock.sgml:
10212         * docs/gst/tmpl/old/GstCompat.sgml:
10213         * docs/gst/tmpl/old/GstData.sgml:
10214         * docs/gst/tmpl/old/GstElement.sgml:
10215         * docs/gst/tmpl/old/GstEvent.sgml:
10216         * docs/gst/tmpl/old/GstIndex.sgml:
10217         * docs/gst/tmpl/old/GstStructure.sgml:
10218         * docs/gst/tmpl/old/GstTag.sgml:
10219         * docs/gst/tmpl/old/cothreads.sgml:
10220         * docs/gst/tmpl/old/cothreads_compat.sgml:
10221         * docs/gst/tmpl/old/gettext.sgml:
10222         * docs/gst/tmpl/old/gobject2gtk.sgml:
10223         * docs/gst/tmpl/old/grammar.tab.sgml:
10224         * docs/gst/tmpl/old/gst-i18n-app.sgml:
10225         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10226         * docs/gst/tmpl/old/gst_private.sgml:
10227         * docs/gst/tmpl/old/gstaggregator.sgml:
10228         * docs/gst/tmpl/old/gstarch.sgml:
10229         * docs/gst/tmpl/old/gstatomic_impl.sgml:
10230         * docs/gst/tmpl/old/gstbufferstore.sgml:
10231         * docs/gst/tmpl/old/gstdata_private.sgml:
10232         * docs/gst/tmpl/old/gstdisksink.sgml:
10233         * docs/gst/tmpl/old/gstdisksrc.sgml:
10234         * docs/gst/tmpl/old/gstelementfactory.sgml:
10235         * docs/gst/tmpl/old/gstextratypes.sgml:
10236         * docs/gst/tmpl/old/gstfakesink.sgml:
10237         * docs/gst/tmpl/old/gstfakesrc.sgml:
10238         * docs/gst/tmpl/old/gstfdsink.sgml:
10239         * docs/gst/tmpl/old/gstfdsrc.sgml:
10240         * docs/gst/tmpl/old/gstfilesink.sgml:
10241         * docs/gst/tmpl/old/gstfilesrc.sgml:
10242         * docs/gst/tmpl/old/gsthttpsrc.sgml:
10243         * docs/gst/tmpl/old/gstidentity.sgml:
10244         * docs/gst/tmpl/old/gstindexfactory.sgml:
10245         * docs/gst/tmpl/old/gstmarshal.sgml:
10246         * docs/gst/tmpl/old/gstmd5sink.sgml:
10247         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10248         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10249         * docs/gst/tmpl/old/gstpadtemplate.sgml:
10250         * docs/gst/tmpl/old/gstpipefilter.sgml:
10251         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10252         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10253         * docs/gst/tmpl/old/gstshaper.sgml:
10254         * docs/gst/tmpl/old/gstspider.sgml:
10255         * docs/gst/tmpl/old/gstspideridentity.sgml:
10256         * docs/gst/tmpl/old/gststatistics.sgml:
10257         * docs/gst/tmpl/old/gsttee.sgml:
10258         * docs/gst/tmpl/old/gsttimecache.sgml:
10259         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10260         * docs/gst/tmpl/old/gstxmlregistry.sgml:
10261         * docs/gst/tmpl/old/gthread-cothreads.sgml:
10262         * docs/gst/tmpl/old/types.sgml:
10263           I didn't intend to add these or check them in.
10264
10265 2005-05-19  David Schleef  <ds@schleef.org>
10266
10267         * configure.ac: Use -no-common everywhere.  In a sane world, it
10268           would be the default in libtool, because without it, you can't
10269           build DLLs on Windows.
10270         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10271         * docs/gst/gstreamer-sections.txt:
10272         * docs/gst/tmpl/gstcpu.sgml:
10273         * docs/gst/tmpl/gstdata.sgml:
10274         * docs/gst/tmpl/gstthread.sgml:
10275
10276 2005-05-19  David Schleef  <ds@schleef.org>
10277
10278         * gst/gstminiobject.c: (gst_value_set_mini_object),
10279         (gst_value_take_mini_object), (gst_value_get_mini_object):
10280         * gst/gstminiobject.h: Add GValue set/get functions.
10281
10282 2005-05-19  Wim Taymans  <wim@fluendo.com>
10283
10284         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10285         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10286         (gst_subbuffer_init), (gst_buffer_is_span_fast):
10287         * gst/gstbuffer.h:
10288         * gst/gstbus.c: (gst_bus_post):
10289         * gst/gstelement.c: (gst_element_get_random_pad):
10290         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10291         Make subbufer unref the parent in finalize.
10292         some more debugging info.
10293
10294
10295 2005-05-19  Wim Taymans  <wim@fluendo.com>
10296
10297         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10298         (gst_basesink_init), (gst_basesink_finalize),
10299         (gst_basesink_activate), (gst_basesink_change_state):
10300         Don't free preroll queue too early.
10301
10302 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10303
10304         * gst/Makefile.am:
10305         * gst/ROADMAP:
10306           Hi, I'm outdated. Please shoot me.
10307
10308 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10309
10310         * gst/gstpipeline.c: (gst_pipeline_send_event):
10311           Do not access variables after they have been deleted.
10312
10313 2005-05-19  Wim Taymans  <wim@fluendo.com>
10314
10315         * tools/gst-inspect.c: (print_plugin_features):
10316         A plugin feature does unfortunatly not use the
10317         object name yet...
10318
10319 2005-05-18  Wim Taymans  <wim@fluendo.com>
10320
10321         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10322         Port _span() functions to new subbuffers.
10323
10324 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10325
10326         * gst/gstbin.c: (gst_bin_add_func):
10327           Fix clock settery in bins when adding kids after the clock has
10328           been selected.
10329
10330 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10331
10332         * gst/elements/gstidentity.c: (gst_identity_class_init):
10333           Workaround until signals support GstMiniObject.
10334
10335 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10336
10337         * gst/gstbuffer.c:
10338         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10339
10340 2005-05-18  Wim Taymans  <wim@fluendo.com>
10341
10342         * gst/base/Makefile.am:
10343         * gst/base/gstadapter.c: (gst_adapter_base_init),
10344         (gst_adapter_class_init), (gst_adapter_init),
10345         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10346         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10347         (gst_adapter_flush), (gst_adapter_available),
10348         (gst_adapter_available_fast):
10349         * gst/base/gstadapter.h:
10350         Ported and added adapter to the base classes.
10351
10352 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10353
10354         * gst/gst.c:
10355         * gst/gstmessage.c:
10356           Make sure the class is reffed/unreffed once before threads can be
10357           used.  Fixes #304551.
10358
10359 2005-05-17  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10362         (gst_basesink_chain_unlocked), (gst_basesink_activate):
10363         * gst/gstminiobject.c: (gst_mini_object_get_type),
10364         (gst_mini_object_free):
10365         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10366         (gst_pad_push), (gst_pad_push_event):
10367         * gst/gstqueue.c: (gst_queue_change_state):
10368         Don't queue buffers in basesink when we are flushing.
10369         Unref buffer when flushing in basesink.
10370         Flush queue when going to READY
10371         Unref buffer when _push() returns an error.
10372         Don't free MiniObject instance when refcount is incremented
10373         in _finalize() so that we can recover objects.
10374
10375 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10376
10377         * docs/manual/advanced-schedulers.xml:
10378         * docs/manual/appendix-checklist.xml:
10379         * docs/pwg/advanced-clock.xml:
10380         * docs/pwg/advanced-interfaces.xml:
10381         * docs/pwg/advanced-request.xml:
10382         * docs/pwg/advanced-types.xml:
10383         * docs/pwg/intro-preface.xml:
10384         * examples/plugins/example.c: (gst_example_get_type),
10385         (gst_example_class_init), (gst_example_chain),
10386         (gst_example_set_property), (gst_example_get_property),
10387         (gst_example_change_state), (plugin_init):
10388         * examples/plugins/example.h:
10389           small doc fixes
10390
10391 2005-05-17  Wim Taymans  <wim@fluendo.com>
10392
10393         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10394         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10395         * gst/gstqueue.c: (gst_queue_change_state):
10396         Clear queue when going to READY.
10397         Remove IN_SETCAPS flag too.
10398
10399 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
10400
10401         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10402           Remove implicit cast from gboolean to GstElementStateReturn;
10403           make sure we still return failure in paused => ready case if
10404           the parent class fails to change state and our own stop 
10405           vfunc succeeds.
10406
10407 2005-05-17  Wim Taymans  <wim@fluendo.com>
10408
10409         * tools/gst-launch.c: (event_loop):
10410         Message was unreffed too soon.
10411
10412 2005-05-16  Andy Wingo  <wingo@pobox.com>
10413
10414         * gst/gstbin.c (sink_iterator_filter): Err... um...
10415
10416         * check/gst/gstbin.c (test_ghost_pads): New test for the
10417         ghosting-if-elements-not-in-same-bin behavior.
10418
10419 2005-05-16  David Schleef  <ds@schleef.org>
10420
10421         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10422         accessing refcount directly.
10423
10424 2005-05-15  David Schleef  <ds@schleef.org>
10425
10426         * check/Makefile.am: remove GstData checks
10427         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10428         * gst/Makefile.am: add miniobject, remove data
10429         * gst/gst.h: add miniobject, remove data
10430         * gst/gstdata.c: remove
10431         * gst/gstdata.h: remove
10432         * gst/gstdata_private.h: remove
10433         * gst/gsttypes.h: remove GstEvent and GstMessage
10434         * gst/gstelement.c: (gst_element_post_message): fix for API changes
10435         * gst/gstmarshal.list: change BOXED -> OBJECT
10436
10437         Implement GstMiniObject.
10438         * gst/gstminiobject.c:
10439         * gst/gstminiobject.h:
10440
10441         Modify to be subclasses of GstMiniObject.
10442         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10443         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
10444         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
10445         (gst_subbuffer_get_type), (gst_subbuffer_init),
10446         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
10447         (gst_buffer_span):
10448         * gst/gstbuffer.h:
10449         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
10450         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
10451         (_gst_event_copy), (gst_event_new):
10452         * gst/gstevent.h:
10453         * gst/gstmessage.c: (_gst_message_initialize),
10454         (gst_message_get_type), (gst_message_class_init),
10455         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
10456         (gst_message_new), (gst_message_new_error),
10457         (gst_message_new_warning), (gst_message_new_tag),
10458         (gst_message_new_state_changed), (gst_message_new_application):
10459         * gst/gstmessage.h:
10460         * gst/gstprobe.c: (gst_probe_perform),
10461         (gst_probe_dispatcher_dispatch):
10462         * gst/gstprobe.h:
10463         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
10464         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
10465         (_gst_query_copy), (gst_query_new):
10466
10467         Update elements for GstData -> GstMiniObject changes
10468         * gst/gstquery.h:
10469         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
10470         (gst_queue_chain), (gst_queue_loop):
10471         * gst/elements/gstbufferstore.c:
10472         (gst_buffer_store_add_buffer_func),
10473         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
10474         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10475         (gst_fakesink_render):
10476         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10477         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
10478         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
10479         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
10480         (gst_filesrc_create_read):
10481         * gst/elements/gstidentity.c: (gst_identity_class_init):
10482         * gst/elements/gsttypefindelement.c:
10483         (gst_type_find_element_src_event), (free_entry_buffers),
10484         (gst_type_find_element_handle_event):
10485         * libs/gst/dataprotocol/dataprotocol.c:
10486         (gst_dp_header_from_buffer):
10487         * libs/gst/dataprotocol/dataprotocol.h:
10488         * libs/gst/dataprotocol/dp-private.h:
10489
10490 2005-05-15  David Schleef  <ds@schleef.org>
10491
10492         * gst/elements/gstelements.c: Don't include headers that were
10493         just removed.
10494
10495 2005-05-15  David Schleef  <ds@schleef.org>
10496
10497         * gst/elements/Makefile.am: Remove some elements that don't
10498         need to be in the core (or even exist at all).
10499         * gst/elements/gstaggregator.c:
10500         * gst/elements/gstaggregator.h:
10501         * gst/elements/gstmd5sink.c:
10502         * gst/elements/gstmd5sink.h:
10503         * gst/elements/gstmultifilesrc.c:
10504         * gst/elements/gstmultifilesrc.h:
10505         * gst/elements/gstpipefilter.c:
10506         * gst/elements/gstpipefilter.h:
10507         * gst/elements/gstshaper.c:
10508         * gst/elements/gstshaper.h:
10509         * gst/elements/gststatistics.c:
10510         * gst/elements/gststatistics.h:
10511         * po/POTFILES.in: Remove above files.
10512
10513 2005-05-14  Andy Wingo  <wingo@pobox.com>
10514
10515         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
10516         so as to get the refs right.
10517         (sink_iterator_filter): New function, wraps bin_element_is_sink,
10518         unreffing objects that don't pass the filter.
10519
10520         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
10521         gst_element_set_bus.
10522         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
10523         normal cases, this will destroy the bus.
10524
10525         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
10526         object.
10527
10528         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
10529         has no sinks.
10530
10531 2005-05-13  Andy Wingo  <wingo@pobox.com>
10532
10533         * gst/gstutils.c (gst_element_link_pads): Instead of calling
10534         gst_pad_link, call pad_link_maybe_ghosting,
10535         (pad_link_maybe_ghosting): Links pads, making sure that the
10536         elements being linked are in the same bin.
10537         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
10538         Helpers for pad_link_maybe_ghosting.
10539
10540 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10541
10542         * configure.ac:
10543           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
10544
10545 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10546
10547         * docs/design/part-element-source.txt:
10548           Mention GstPushSrc
10549
10550 2005-05-12  Wim Taymans  <wim@fluendo.com>
10551
10552         * gst/base/gstbasesink.c: (gst_basesink_init),
10553         (gst_basesink_activate):
10554         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
10555         (gst_basesrc_is_seekable):
10556         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10557         (bin_element_is_sink), (gst_bin_change_state):
10558         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10559         * gst/gstelement.h:
10560         Identify sinks by their flag to avoid overly complicated
10561         checks (fow now).
10562         Do state changes even for elements not reachable from the
10563         sinks.
10564         BaseSink is a sink now :)
10565         Some more debugging info in the basesrc.
10566
10567
10568 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10569
10570         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
10571           Implement _query on a bin, similar to _send_event.
10572
10573 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
10576           Discont event offset format should be GST_FORMAT_BYTES,
10577           not GST_FORMAT_TIME.
10578
10579 2005-05-12  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
10582         Same fix as Ronald's but without the signal. 
10583
10584 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10585
10586         * gst/gstutils.c: (gst_element_query_position):
10587           No, an element is not a pad.
10588
10589 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10590
10591         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
10592         (gst_bin_get_state):
10593           If a child is removed from a bin while we remove the child from
10594           the bin and while we're retrieving its state, signal this to the
10595           get_state function so we abort the wait (instead of waiting for
10596           a timeout) and can immediately re-iterate over all other elements.
10597
10598 2005-05-12  Wim Taymans  <wim@fluendo.com>
10599
10600         * gst/base/Makefile.am:
10601         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
10602         (gst_basesrc_start):
10603         * gst/base/gstbasesrc.h:
10604         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
10605         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
10606         (gst_pushsrc_init), (gst_pushsrc_create):
10607         * gst/base/gstpushsrc.h:
10608         Added is_seekable to BaseSrc
10609         Added simple PushSrc.
10610
10611 2005-05-11  Wim Taymans  <wim@fluendo.com>
10612
10613         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
10614         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10615         (gst_element_link_pads), (gst_element_query_position),
10616         (gst_element_query_convert), (intersect_caps_func),
10617         (gst_pad_query_position), (gst_pad_query_convert):
10618         Fix refcounting in utils function.
10619         No point in trying to activate a pad when it's added, it could
10620         be added from the state change function and then we deadlock, the
10621         element has to decide what to do.
10622
10623 2005-05-10  Andy Wingo  <wingo@pobox.com>
10624
10625         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
10626         *all* the arguments.
10627
10628         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
10629         stream lock if it's a FLUSH_DONE; normal flushes don't get the
10630         lock (according to the docs -- if this is wrong change the docs).
10631
10632         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
10633         flush messages in the NULL state.
10634
10635         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
10636         message immediately and return.
10637         (gst_bus_set_flushing): New function. If a bus is flushing, it
10638         flushes out any queued messages and immediately unrefs new
10639         messages. This is so when an element goes to NULL, all of the
10640         unhandled messages coming from it can be freed, and their
10641         references to the element dropped. In other words: message source
10642         ref considered harmful :P
10643
10644         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
10645         we're finished with it.
10646
10647         * gst/gstmessage.c (gst_message_new_state_changed): 
10648
10649 2005-05-10  Wim Taymans  <wim@fluendo.com>
10650
10651         * gst/gstvalue.c: (gst_value_compare_flags),
10652         (gst_value_serialize_flags), (gst_value_deserialize_flags),
10653         (_gst_value_initialize):
10654         Added flags serialize/deserialize/compare code.
10655
10656 2005-05-09  Andy Wingo  <wingo@pobox.com>
10657
10658         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
10659         Intersect the peer's caps with our caps.
10660
10661 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
10662
10663         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10664         * gst/elements/gsttypefindelement.c: (find_peek):
10665           Handle negative offsets better. Fixes decodebin.
10666
10667 2005-05-09  Wim Taymans  <wim@fluendo.com>
10668
10669         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
10670         (gst_base_transform_event):
10671         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
10672         Implement accept_caps.
10673         Fix silly lock/unlock mismatch in base class.
10674
10675 2005-05-09  Wim Taymans  <wim@fluendo.com>
10676
10677         * docs/design/draft-push-pull.txt:
10678         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
10679         * gst/elements/gstfilesink.c: (gst_filesink_init),
10680         (gst_filesink_query):
10681         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10682         (gst_type_find_handle_src_query), (find_element_get_length):
10683         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
10684         * gst/gstelement.h:
10685         * gst/gstmessage.c:
10686         * gst/gstmessage.h:
10687         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
10688         (gst_real_pad_get_caps_unlocked),
10689         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
10690         (gst_pad_event_default_dispatch), (gst_pad_event_default),
10691         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
10692         (gst_real_pad_dispose), (gst_real_pad_finalize),
10693         (gst_pad_load_and_link), (gst_pad_save_thyself),
10694         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
10695         (gst_pad_check_pull_range), (gst_pad_pull_range),
10696         (gst_pad_template_get_type), (gst_pad_template_class_init),
10697         (gst_pad_template_init), (gst_pad_template_dispose),
10698         (name_is_valid), (gst_static_pad_template_get),
10699         (gst_pad_template_new), (gst_static_pad_template_get_caps),
10700         (gst_pad_template_get_caps), (gst_pad_set_element_private),
10701         (gst_pad_get_element_private), (gst_pad_start_task),
10702         (gst_pad_pause_task), (gst_pad_stop_task),
10703         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
10704         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10705         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
10706         (gst_ghost_pad_new):
10707         * gst/gstpad.h:
10708         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
10709         (gst_query_new_position), (gst_query_set_position),
10710         (gst_query_parse_position), (gst_query_new_convert),
10711         (gst_query_set_convert), (gst_query_parse_convert):
10712         * gst/gstquery.h:
10713         * gst/gstqueryutils.c:
10714         * gst/gstqueryutils.h:
10715         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10716         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10717         (gst_queue_handle_src_query):
10718         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10719         (gst_element_query_position), (gst_element_query_convert),
10720         (intersect_caps_func), (gst_pad_query_position),
10721         (gst_pad_query_convert):
10722         * gst/gstutils.h:
10723         * tools/gst-inspect.c: (print_pad_info):
10724         * tools/gst-xmlinspect.c: (print_element_info):
10725         Remove old query functions. Ported old code.
10726         Added position/convert helper functions to gstutils.
10727         Reordered gstpad.c code, grouping relevant things.
10728         Remove gst_message_new(), always need to speficy a specific
10729         message.
10730
10731
10732 2005-05-09  Andy Wingo  <wingo@pobox.com>
10733
10734         * gst/gstiterator.h: Add some includes.
10735
10736         * gst/gstqueryutils.h: Include more headers.
10737
10738         * gst/gstpad.h:
10739         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
10740         some uses of gst_pad_query.
10741
10742         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
10743         NULL out parameters.
10744         (gst_query_new_position): New proc, allocates a new position
10745         query.
10746
10747         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
10748         gstqueryutils.c to the build.
10749
10750         * gst/gststructure.c (gst_structure_set_valist): Implement with
10751         the generic G_VALUE_COLLECT.
10752         
10753 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
10754
10755         * gst/Makefile.am: (gst_headers):
10756         Added gstqueryutils.h to the list of headers to install, that was
10757         a 'nachty' move wingo :)
10758
10759 2005-05-06  Andy Wingo  <wingo@pobox.com>
10760
10761         * gst/gstquery.h
10762         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
10763         GstData, init a memchunk.
10764         (standard_definitions): Add a few query types, deprecate a few.
10765         (gst_query_get_type): New proc.
10766         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
10767         implementation.
10768         (gst_query_new_application, gst_query_get_structure): New public
10769         procs.
10770
10771         * docs/design/draft-query.txt: Removed LINKS from the query types,
10772         because all the rest can be dispatched to other pads -- seemed
10773         ugly to have a query that couldn't be dispatched. internal_links
10774         is fine as a pad method.
10775
10776         * gst/gstpad.h: Add query2 as a pad method, add the new functions
10777         in gstpad.c, but maintain binary compatibility for the moment.
10778         Will fix before 0.9 is out.
10779
10780         * gst/gstqueryutils.c: 
10781         * gst/gstqueryutils.h: New files, implement 3 methods for each
10782         query type: parse_query, parse_response, and set. Probably need an
10783         allocator as well.
10784
10785         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
10786
10787         * gst/elements/gstfilesink.c (gst_filesink_query2):
10788         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
10789         query_types, and formats methods.
10790
10791         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
10792         (gst_pad_set_query2_function): New functions.
10793         (gst_real_pad_init): Set query2_default as the default query2
10794         function. Basically just dispatches to internally linked pads.
10795
10796         Needs review!
10797         
10798         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
10799         without using the atomic operations. Only one thread can possibly
10800         be accessing the data at this point. Changed so as to avoid
10801         gst_atomic operations.
10802
10803 2005-05-06  Wim Taymans  <wim@fluendo.com>
10804
10805         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
10806         Also set caps if we use the fallback buffer alloc.
10807
10808 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * docs/gst/Makefile.am:
10811         * docs/gst/gstreamer-docs.sgml:
10812         * docs/gst/gstreamer-sections.txt:
10813         * docs/gst/tmpl/gstatomic.sgml:
10814         * docs/gst/tmpl/gstmemchunk.sgml:
10815         * testsuite/elements/struct_i386.h:
10816         * win32/GStreamer.vcproj:
10817         * win32/Makefile:
10818           Purge GstAtomic stuff from docs and win32 makefiles as well
10819
10820 2005-05-06  Wim Taymans  <wim@fluendo.com>
10821
10822         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
10823         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
10824         * gst/gstpad.c: (gst_pad_peer_get_caps):
10825         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
10826         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
10827         (gst_queue_src_activate), (gst_queue_change_state):
10828         * gst/gstqueue.h:
10829         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10830         (intersect_caps_func):
10831         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
10832         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
10833         Some fixes for the peer_get_caps() change.
10834
10835 2005-05-06  Wim Taymans  <wim@fluendo.com>
10836
10837         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10838         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
10839         (gst_basesink_activate):
10840         Actually do something with error codes returned from the push
10841         functions.
10842
10843 2005-05-06  Wim Taymans  <wim@fluendo.com>
10844
10845         * docs/design/part-element-sink.txt:
10846         * docs/design/part-element-source.txt:
10847         * gst/base/gstbasesink.c: (gst_basesink_class_init),
10848         (gst_basesink_event), (gst_basesink_activate):
10849         * gst/base/gstbasesink.h:
10850         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
10851         (gst_basesrc_activate):
10852         * gst/base/gstbasesrc.h:
10853         * gst/gstelement.c: (gst_element_pads_activate):
10854         Some more documentation.
10855         Fixed scheduling decision in _pads_activate().
10856
10857 2005-05-05  Andy Wingo  <wingo@pobox.com>
10858
10859         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
10860         the test suite.
10861
10862 2005-05-05  Wim Taymans  <wim@fluendo.com>
10863
10864         * gst/base/Makefile.am:
10865         * gst/base/gstbasesink.h:
10866         * gst/base/gstbasesrc.c: (gst_basesrc_init),
10867         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
10868         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
10869         (gst_collectpads_class_init), (gst_collectpads_init),
10870         (gst_collectpads_finalize), (gst_collectpads_new),
10871         (gst_collectpads_set_function), (gst_collectpads_add_pad),
10872         (find_pad), (gst_collectpads_remove_pad),
10873         (gst_collectpads_is_active), (gst_collectpads_collect),
10874         (gst_collectpads_collect_range), (gst_collectpads_start),
10875         (gst_collectpads_stop), (gst_collectpads_peek),
10876         (gst_collectpads_pop), (gst_collectpads_available),
10877         (gst_collectpads_read), (gst_collectpads_flush),
10878         (gst_collectpads_chain):
10879         * gst/base/gstcollectpads.h:
10880         * gst/elements/Makefile.am:
10881         * gst/elements/gstelements.c:
10882         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10883         (gst_fakesink_get_times), (gst_fakesink_event),
10884         (gst_fakesink_preroll), (gst_fakesink_render):
10885         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10886         (gst_filesink_init), (gst_filesink_set_location),
10887         (gst_filesink_open_file), (gst_filesink_close_file),
10888         (gst_filesink_pad_query), (gst_filesink_event),
10889         (gst_filesink_render), (gst_filesink_change_state):
10890         * gst/elements/gstfilesink.h:
10891         Added object to help in making collect pad based elements.
10892         Ported filesink.
10893         Make event function in sink baseclass return gboolean.
10894
10895 2005-05-05  Wim Taymans  <wim@fluendo.com>
10896
10897         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
10898         (gst_bin_get_by_name):
10899         * gst/gstbuffer.h:
10900         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
10901         (gst_clock_finalize):
10902         * gst/gstdata.c: (gst_data_replace):
10903         * gst/gstdata.h:
10904         * gst/gstelement.c: (gst_element_request_pad),
10905         (gst_element_pads_activate):
10906         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10907         (gst_object_unref):
10908         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10909         (gst_pad_set_checkgetrange_function),
10910         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
10911         (gst_pad_check_pull_range), (gst_pad_pull_range),
10912         (gst_static_pad_template_get_caps), (gst_pad_start_task),
10913         (gst_pad_pause_task), (gst_pad_stop_task):
10914         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10915         (gst_element_request_pad), (gst_pad_proxy_getcaps):
10916         Fix name lookup in GstBin.
10917         Added _data_replace() function and _buffer_replace()
10918         Use finalize method to clean up clock.
10919         Fix refcounting on request pads.
10920         Fix pad schedule mode error.
10921         Some more object refcounting debug info,
10922
10923
10924 2005-05-04  Andy Wingo <wingo@pobox.com>
10925
10926         * check/Makefile.am:
10927         * docs/gst/tmpl/gstatomic.sgml:
10928         * docs/gst/tmpl/gstplugin.sgml:
10929         * gst/base/gstbasesink.c: (gst_basesink_activate):
10930         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
10931         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
10932         (gst_basesrc_query), (gst_basesrc_set_property),
10933         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
10934         (gst_basesrc_activate):
10935         * gst/base/gstbasesrc.h:
10936         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
10937         (gst_base_transform_src_activate):
10938         * gst/elements/gstelements.c:
10939         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10940         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10941         * gst/elements/gsttee.c: (gst_tee_sink_activate):
10942         * gst/elements/gsttypefindelement.c: (find_element_get_length),
10943         (gst_type_find_element_checkgetrange),
10944         (gst_type_find_element_activate):
10945         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
10946         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
10947         (gst_caps_load_thyself):
10948         * gst/gstelement.c: (gst_element_pads_activate),
10949         (gst_element_save_thyself), (gst_element_restore_thyself):
10950         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
10951         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
10952         * gst/gstpad.h:
10953         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
10954         (gst_xml_parse_file), (gst_xml_parse_memory),
10955         (gst_xml_get_element), (gst_xml_make_element):
10956         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10957         (_file_index_id_save_xml), (gst_file_index_commit):
10958         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
10959         (read_enum), (load_pad_template), (load_feature), (load_plugin),
10960         (load_paths):
10961         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
10962         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
10963         * tools/gst-complete.c: (main):
10964         * tools/gst-compprep.c: (main):
10965         * tools/gst-inspect.c: (print_element_properties_info):
10966         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10967         * tools/gst-xmlinspect.c: (print_element_properties):
10968         GCC 4 fixen.
10969         
10970 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10971
10972         * gst/gstplugin.c: (gst_plugin_check_module),
10973         (gst_plugin_check_file), (gst_plugin_load_file):
10974             apply patch from #172526 to make register work on MacOSX
10975
10976 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10977
10978         * docs/gst/tmpl/gstconfig.sgml:
10979         * gst/gstconfig.h.in:
10980           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
10981         * testsuite/debug/printf_extension.c: (main):
10982           Do not use GST_PTR_FORMAT on pointers to types with
10983           sizeof < sizeof(gpointer).  Fixes test on 64-bit
10984         * testsuite/elements/property.h:
10985           use correct printf format
10986
10987 2005-05-02  Wim Taymans  <wim@fluendo.com>
10988
10989         * docs/design/draft-push-pull.txt:
10990         * docs/design/draft-query.txt:
10991         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
10992         (gst_basesrc_start):
10993         Added draft for new query API.
10994         Added draft for better selecting scheduling methods.
10995         Make basesrc ignore length if the subclass does not support
10996         it.
10997
10998 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10999
11000         * gst/Makefile.am:
11001           possible fixes for automake-1.5 - _LIBADD is reserved
11002
11003 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11004
11005         * docs/faq/Makefile.am:
11006         * docs/manual/Makefile.am:
11007         * docs/manuals.mak:
11008         * docs/pwg/Makefile.am:
11009         * gst/Makefile.am:
11010           possible fixes for automake-1.5
11011
11012 2005-04-28  Wim Taymans  <wim@fluendo.com>
11013
11014         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11015         (gst_basesink_pad_getcaps), (gst_basesink_init),
11016         (gst_basesink_do_sync):
11017         * gst/gstclock.c: (gst_clock_entry_new):
11018         * gst/gstevent.c: (gst_event_discont_get_value):
11019         * gst/gstpipeline.c: (pipeline_bus_handler),
11020         (gst_pipeline_change_state):
11021         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11022         Better debugging of clocking info.
11023         Allow NULL values when getting discont values.
11024
11025 2005-04-27  Wim Taymans  <wim@fluendo.com>
11026
11027         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11028         * check/gst/gstpad.c: (gst_pad_suite):
11029         Increase timeout for checks.
11030
11031 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11032
11033         * check/Makefile.am:
11034           fix the broken rule for cleanup.  Apparently this rule is
11035           only needed on FC2, so maybe this warrants further autotool
11036           inspection.
11037
11038 2005-04-26  Wim Taymans  <wim@fluendo.com>
11039
11040         * gst/gsttrashstack.h:
11041         Ooohh. a nasty one! After having a failed pop() from the stack,
11042         it's possible that the stack is empty. In that case, don't
11043         follow the NULL pointer.
11044
11045 2005-04-25  Wim Taymans  <wim@fluendo.com>
11046
11047         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11048         (gst_pad_set_checkgetrange_function),
11049         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11050         (gst_pad_check_pull_range), (gst_pad_pull_range),
11051         (gst_static_pad_template_get_caps), (gst_pad_start_task),
11052         (gst_pad_pause_task), (gst_pad_stop_task):
11053         * gst/gstplugin.c: (gst_plugin_load):
11054         * gst/gstplugin.h:
11055         Remove gst_library_load as it does more harm than good with
11056         the new g_module flags.
11057         Revert bogus caps template check in pad linking, pad caps
11058         are important when linking not the template, which is more
11059         general than the current caps.
11060
11061 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11062
11063         * gst/autoplug/.cvsignore:
11064         * gst/autoplug/Makefile.am:
11065         * gst/autoplug/gstsearchfuncs.c:
11066         * gst/autoplug/gstsearchfuncs.h:
11067         * gst/autoplug/gstspider.c:
11068         * gst/autoplug/gstspider.h:
11069         * gst/autoplug/gstspideridentity.c:
11070         * gst/autoplug/gstspideridentity.h:
11071         * gst/autoplug/spidertest.c:
11072           Die, spider, die.
11073
11074 2005-04-25  Wim Taymans  <wim@fluendo.com>
11075
11076         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11077         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11078         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11079         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11080         * gst/gstpad.h:
11081         Added stubs for unimplemented functions. 
11082
11083 2005-04-24  David Schleef  <ds@schleef.org>
11084
11085         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
11086         please fix.
11087
11088 2005-04-24  David Schleef  <ds@schleef.org>
11089
11090         Convert everything from GstAtomicInt to g_atomic_int_*, and
11091         remove gstatomic.
11092         * gst/Makefile.am:
11093         * gst/gstatomic.c:
11094         * gst/gstatomic.h:
11095         * gst/gstatomic_impl.h:
11096         * gst/gstbuffer.c:
11097         * gst/gstcaps.c:
11098         * gst/gstcaps.h:
11099         * gst/gstclock.c:
11100         * gst/gstclock.h:
11101         * gst/gstdata.c:
11102         * gst/gstdata.h:
11103         * gst/gstdata_private.h:
11104         * gst/gstevent.c:
11105         * gst/gstinfo.c:
11106         * gst/gstinfo.h:
11107         * gst/gstmessage.c:
11108         * gst/gstobject.c:
11109         * gst/gstobject.h:
11110         * gst/gststructure.c:
11111         * gst/gststructure.h:
11112         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11113         * gst/gstutils.h:
11114
11115 2005-04-24  David Schleef  <ds@schleef.org>
11116
11117         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11118         make the regressions tests work.  Remove some code that is no
11119         longer true.
11120         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11121         Disable warning for pads without templates.
11122
11123 2005-04-24  David Schleef  <ds@schleef.org>
11124
11125         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
11126         functions that handle filtered links.
11127         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11128         removed functions.
11129         * gst/gstutils.c: Fix/remove utility functions that handle
11130         filtered caps.
11131         * gst/gstutils.h:
11132         * gst/gstvalue.c: Add serialization/deserialization of caps
11133         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
11134         requires fixing so that the filter caps notation creates
11135         a capsfilter element and sets the filter_caps property.  I
11136         think everyone probably wants to keep the shorthand notation.
11137         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11138         * docs/gst/tmpl/gstpad.sgml:
11139
11140         * gst/elements/gstelements.c: Register capsfilter element.
11141         * gst/Makefile.am: fix spacing
11142         * docs/random/ds/0.9-suggested-changes: random
11143
11144 2005-04-23  David Schleef  <ds@schleef.org>
11145
11146         * gst/elements/Makefile.am:
11147         * gst/elements/gstcapsfilter.c: New element that acts like an
11148         identity, but filters caps.  Will eventually replace filtered
11149         caps in pad linking.
11150         * gst/gstutils.c: (gst_element_create_all_pads): New function
11151         to create all the ALWAYS pads that are registered with an
11152         element class.  This functionality should eventually be
11153         merged in with GstElement initialization.
11154         * gst/gstutils.h:
11155         * testsuite/trigger/README: part of trigger test code that should
11156         have been checked in a long time ago.
11157
11158 2005-04-23  David Schleef  <ds@schleef.org>
11159
11160         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
11161         needed with new versions of libtool (nobody will confirm this),
11162         and hard to carry around.
11163         * gst/autoplug/Makefile.am:
11164         * gst/base/Makefile.am:
11165         * gst/elements/Makefile.am:
11166         * gst/indexers/Makefile.am:
11167         * gst/schedulers/Makefile.am:
11168         * libs/gst/bytestream/Makefile.am:
11169         * libs/gst/control/Makefile.am:
11170         * libs/gst/dataprotocol/Makefile.am:
11171         * libs/gst/getbits/Makefile.am:
11172
11173 2005-04-21  Wim Taymans  <wim@fluendo.com>
11174
11175         * docs/design/draft-push-pull.txt:
11176         * docs/design/part-MT-refcounting.txt:
11177         * docs/design/part-TODO.txt:
11178         * docs/design/part-caps.txt:
11179         * docs/design/part-events.txt:
11180         * docs/design/part-gstbus.txt:
11181         * docs/design/part-gstpipeline.txt:
11182         * docs/design/part-messages.txt:
11183         * docs/design/part-push-pull.txt:
11184         * docs/design/part-query.txt:
11185         Some more docs.
11186
11187 2005-04-21  Wim Taymans  <wim@fluendo.com>
11188
11189         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11190         (gst_message_new), (gst_message_new_error),
11191         (gst_message_new_warning), (gst_message_new_tag),
11192         (gst_message_new_state_changed), (gst_message_new_application),
11193         (gst_message_get_structure):
11194         * gst/gstmessage.h:
11195         * gst/gststructure.c: (gst_structure_set_parent_refcount),
11196         (gst_structure_copy_conditional):
11197         Use parent refcount in GstMessage to ensure GstStructure
11198         consistency.
11199         Cleaned up headers a bit.
11200         
11201
11202 2005-04-20  Wim Taymans  <wim@fluendo.com>
11203
11204         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11205         (gst_basesink_pad_getcaps), (gst_basesink_init),
11206         (gst_basesink_chain_unlocked):
11207         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11208         (gst_type_find_helper):
11209         * gst/elements/gsttypefindelement.c:
11210         (gst_type_find_element_have_type), (gst_type_find_element_init),
11211         (stop_typefinding), (gst_type_find_element_handle_event),
11212         (find_suggest), (gst_type_find_element_chain),
11213         (gst_type_find_element_checkgetrange),
11214         (gst_type_find_element_getrange), (do_typefind),
11215         (gst_type_find_element_activate):
11216         * gst/gstbuffer.c: (_gst_buffer_sub_free),
11217         (gst_buffer_default_free), (gst_buffer_default_copy),
11218         (gst_buffer_set_caps):
11219         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11220         (gst_caps_replace):
11221         * gst/gstmessage.c: (gst_message_new),
11222         (gst_message_new_state_changed):
11223         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11224         (gst_pad_set_checkgetrange_function),
11225         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11226         (gst_pad_set_caps), (gst_pad_check_pull_range),
11227         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11228         * gst/gstpad.h:
11229         * gst/gsttypefind.c: (gst_type_find_register):
11230         Make gst_caps_replace() work like other _replace() functions.
11231         Use _caps_replace() where possible.
11232         Make sure _message_new() initialises its field.
11233         Add gst_static_pad_template_get_caps()
11234
11235
11236 2005-04-18  Andy Wingo  <wingo@pobox.com>
11237
11238         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11239         on the peer, not the pad. I think that was a typo. Pass an extra
11240         arg to see if random access is possible. Activate the pads as
11241         PULL_RANGE if possible.
11242
11243         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11244
11245         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
11246         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11247         to PROP_....
11248
11249 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11250
11251         * docs/faq/using.xml:
11252           Add note on gstreamer-properties (#154996).
11253
11254 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11255
11256         * docs/random/bbb/optional-properties:
11257           Some analysis on optional properties.
11258
11259 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11260
11261         * docs/gst/tmpl/gstelementfactory.sgml:
11262         * gst/gstelement.h:
11263         * gst/gstelementfactory.c: (gst_element_factory_init),
11264         (gst_element_factory_cleanup), (gst_element_register),
11265         (__gst_element_factory_add_static_pad_template),
11266         (gst_element_factory_get_static_pad_templates),
11267         (gst_element_factory_can_src_caps),
11268         (gst_element_factory_can_sink_caps):
11269         * gst/registries/Makefile.am:
11270         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11271         (gst_xml_registry_class_init), (gst_xml_registry_init),
11272         (gst_xml_registry_new), (gst_xml_registry_set_property),
11273         (gst_xml_registry_get_property), (get_time), (make_dir),
11274         (gst_xml_registry_get_perms_func),
11275         (plugin_times_older_than_recurse), (plugin_times_older_than),
11276         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11277         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11278         (add_to_char_array), (read_string), (read_uint), (read_enum),
11279         (load_pad_template), (load_feature), (load_plugin), (load_paths),
11280         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11281         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11282         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11283         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11284         (gst_xml_registry_rebuild):
11285         * gst/registries/gstlibxmlregistry.h:
11286         * tools/gst-compprep.c: (main):
11287         * tools/gst-inspect.c: (print_pad_templates_info):
11288         * tools/gst-xmlinspect.c: (print_element_info):
11289           Use libxml2 for registry parsing, use staticpadtemplates in
11290           elementfactories. Makes gst_init() +/- 10x faster.
11291
11292 2005-04-12  Wim Taymans  <wim@fluendo.com>
11293
11294         * gst/base/Makefile.am:
11295         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11296         (gst_basesink_pad_getcaps), (gst_basesink_init),
11297         (gst_basesink_event), (gst_basesink_change_state):
11298         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11299         (gst_basesrc_init), (gst_basesrc_query),
11300         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11301         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11302         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11303         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11304         (gst_basesrc_stop), (gst_basesrc_activate),
11305         (gst_basesrc_change_state):
11306         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11307         (helper_find_suggest), (gst_type_find_helper):
11308         * gst/base/gsttypefindhelper.h:
11309         * gst/elements/Makefile.am:
11310         * gst/elements/gstelements.c:
11311         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11312         (gst_fakesink_get_times), (gst_fakesink_event),
11313         (gst_fakesink_preroll), (gst_fakesink_render):
11314         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11315         (gst_fakesrc_init), (gst_fakesrc_event_handler),
11316         (gst_fakesrc_get_property), (gst_fakesrc_create),
11317         (gst_fakesrc_start), (gst_fakesrc_stop):
11318         * gst/elements/gstfakesrc.h:
11319         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11320         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11321         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11322         (gst_filesrc_create_read), (gst_filesrc_create),
11323         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11324         (gst_filesrc_start):
11325         * gst/elements/gsttypefindelement.c:
11326         (gst_type_find_element_have_type), (gst_type_find_element_init),
11327         (start_typefinding), (stop_typefinding), (push_buffer_store),
11328         (gst_type_find_element_handle_event),
11329         (gst_type_find_element_chain),
11330         (gst_type_find_element_checkgetrange),
11331         (gst_type_find_element_getrange), (do_typefind),
11332         (gst_type_find_element_activate),
11333         (gst_type_find_element_change_state):
11334         * gst/elements/gsttypefindelement.h:
11335         * gst/gstpipeline.c: (pipeline_bus_handler):
11336         Added typefind helper.
11337         Small preroll fix in the base sink.
11338         Disable typefind code in basesrc.
11339         Crude port of typefindelement.
11340         Fakesrc cleanups.
11341
11342
11343 2005-04-11  Wim Taymans  <wim@fluendo.com>
11344
11345         * check/gst/gstbus.c: (gstbus_suite):
11346         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11347         * check/gstcheck.h:
11348           Fix up the timeout so that the test does not fail.
11349
11350 2005-04-06  Wim Taymans  <wim@fluendo.com>
11351
11352         * gst/base/README:
11353         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11354         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11355         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11356         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11357         (gst_basesrc_check_get_range), (gst_basesrc_loop),
11358         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11359         (gst_basesrc_stop), (gst_basesrc_activate),
11360         (gst_basesrc_change_state), (basesrc_find_peek),
11361         (basesrc_find_suggest), (gst_basesrc_type_find):
11362         * gst/base/gstbasesrc.h:
11363         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11364         (gst_filesrc_class_init), (gst_filesrc_init),
11365         (gst_filesrc_finalize), (gst_filesrc_set_location),
11366         (gst_filesrc_set_property), (gst_filesrc_get_property),
11367         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11368         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11369         (gst_filesrc_create_read), (gst_filesrc_create),
11370         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11371         * gst/elements/gstfilesrc.h:
11372         * gst/gstelement.c: (gst_element_get_state_func),
11373         (gst_element_lost_state), (gst_element_pads_activate):
11374         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11375         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11376         (gst_pad_pull_range):
11377         * gst/gstpad.h:
11378         More work on the generic source base class, implement seeking,
11379         query.
11380         Make filesrc extend the base source class.
11381         Added gst_pad_set_checkgetrange_function to GstPad.
11382
11383 2005-04-06  Andy Wingo  <wingo@pobox.com>
11384
11385         * pkgconfig/gstreamer-base.pc.in:
11386         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11387
11388         * pkgconfig/Makefile.am:
11389         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11390
11391 2005-04-04  Wim Taymans  <wim@fluendo.com>
11392
11393         * gst/base/Makefile.am:
11394         * gst/base/README:
11395         * gst/base/gstbasesink.c: (gst_basesink_base_init),
11396         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11397         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11398         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11399         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11400         (gst_basesrc_base_init), (gst_basesrc_class_init),
11401         (gst_basesrc_init), (gst_basesrc_get_formats),
11402         (gst_basesrc_get_query_types), (gst_basesrc_query),
11403         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11404         (gst_basesrc_set_property), (gst_basesrc_get_property),
11405         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11406         (gst_basesrc_loop), (gst_basesrc_activate),
11407         (gst_basesrc_change_state):
11408         * gst/base/gstbasesrc.h:
11409         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11410         (gst_fakesrc_class_init), (gst_fakesrc_init),
11411         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11412         (gst_fakesrc_get_property), (gst_fakesrc_create):
11413         * gst/elements/gstfakesrc.h:
11414         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11415         (gst_filesrc_open_file), (gst_filesrc_loop),
11416         (gst_filesrc_activate), (filesrc_find_peek),
11417         (gst_filesrc_type_find):
11418         Made base source class, make fakesrc extend it.
11419         Add comments to basesink class.
11420         Some filesrc cleanup.
11421
11422 2005-03-31  David Schleef  <ds@schleef.org>
11423
11424         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11425         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11426         expected to link against libgstreamer.
11427         * gst/base/Makefile.am: link against libgstreamer
11428         * gst/elements/Makefile.am: same
11429
11430 2005-03-31  Andy Wingo  <wingo@pobox.com>
11431
11432         * tests/instantiate/Makefile.am:
11433         * tests/instantiate/caps.c: Add test to test speed of caps copy
11434         and free.
11435
11436         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11437         GMemChunk to be fair.
11438
11439         * gst/gsttrashstack.h: Remove warning about using the fallback
11440         trash stack implementation, it's still faster than malloc.
11441
11442 2005-03-30  Andy Wingo  <wingo@pobox.com>
11443
11444         * tests/complexity.c: Add a copyright.
11445
11446 2005-03-31  Wim Taymans  <wim@fluendo.com>
11447
11448         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
11449         (gst_base_transform_class_init), (gst_base_transform_init),
11450         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11451         (gst_base_transform_get_property),
11452         (gst_base_transform_sink_activate),
11453         (gst_base_transform_src_activate),
11454         (gst_base_transform_change_state):
11455         * gst/base/gstbasetransform.h:
11456         * gst/elements/gstidentity.c: (gst_identity_class_init),
11457         (gst_identity_event), (gst_identity_check_perfect),
11458         (gst_identity_transform), (gst_identity_start),
11459         (gst_identity_stop):
11460         Added start/stop methods to transform base class so subclasses 
11461         don't need to deal with state changes even.
11462
11463 2005-03-31  Wim Taymans  <wim@fluendo.com>
11464
11465         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
11466         (gst_event_new_discontinuous), (gst_event_discont_get_value):
11467         * gst/gstevent.h:
11468         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11469         (gst_pad_pull_range):
11470         Added rate to the discont event to prepare for variable speed
11471         and reverse playback.
11472
11473 2005-03-29  David Schleef  <ds@schleef.org>
11474
11475         * configure.ac:
11476         * testsuite/trigger/Makefile.am:
11477         * testsuite/trigger/trigger.c: A little example program to show
11478         how trigger-based elements can work.
11479
11480 2005-03-29  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/base/Makefile.am:
11483         * gst/base/README:
11484         * gst/base/gstbasesink.c: (gst_basesink_get_type),
11485         (gst_basesink_base_init), (gst_basesink_class_init),
11486         (gst_basesink_pad_getcaps), (gst_basesink_init),
11487         (gst_basesink_activate), (gst_basesink_change_state):
11488         * gst/base/gstbasesink.h:
11489         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
11490         (gst_base_transform_base_init), (gst_base_transform_finalize),
11491         (gst_base_transform_class_init), (gst_base_transform_init),
11492         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
11493         (gst_base_transform_event), (gst_base_transform_getrange),
11494         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
11495         (gst_base_transform_set_property),
11496         (gst_base_transform_get_property),
11497         (gst_base_transform_sink_activate),
11498         (gst_base_transform_src_activate),
11499         (gst_base_transform_change_state):
11500         * gst/base/gstbasetransform.h:
11501         * gst/elements/gstidentity.c: (gst_identity_finalize),
11502         (gst_identity_class_init), (gst_identity_init),
11503         (gst_identity_event), (gst_identity_check_perfect),
11504         (gst_identity_transform), (gst_identity_set_property),
11505         (gst_identity_get_property), (gst_identity_change_state):
11506         * gst/elements/gstidentity.h:
11507         * gst/gstelement.c: (gst_element_get_state_func),
11508         (gst_element_lost_state), (gst_element_pads_activate):
11509         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11510         (gst_pad_check_pull_range), (gst_pad_pull_range):
11511         * gst/gstpad.h:
11512         Simplify pad activation.
11513         Added function to check if pull_range can be performed.
11514         Error out when pulling inactive or flushing pads.
11515         Removed const from refcounted types as it does not make sense.
11516         Simplify pad templates in basesink
11517         Added base class for simple 1-to-1 transforms.
11518         Make identity subclass the base transform.
11519
11520 2005-03-29  Andy Wingo  <wingo@pobox.com>
11521
11522         * docs/libs/gstreamer-libs-overrides.txt: 
11523         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
11524         really don't understand what's going on, but like whatever. I want
11525         green buildbot!
11526
11527         * docs/gst/Makefile.am:
11528         * docs/libs/Makefile.am: Dist the overrides files.
11529
11530         * check/Makefile.am (clean-local): Remove .libs directories.
11531
11532         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
11533         elements to EXTRA_DIST, so po/ files are happy.
11534
11535         * po/POTFILES.in: Er, remove it here.
11536
11537         * po/POTFILES: Remove gstspider.c.
11538
11539         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
11540
11541         * docs/libs/gstreamer-libs-docs.sgml: 
11542         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
11543         bytestream.
11544
11545         * tests/complexity.c (main): Set the length of the preroll queue
11546         on the sinks to prevent a lockup.
11547
11548         * libs/gst/dataprotocol/Makefile.am: 
11549         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
11550         the same as the one in check/gst-libs/gdp.c.
11551
11552         * po/, docs/gst/: Commit automatic changes to docs and po files.
11553
11554         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
11555         the versioned libgstbase.
11556
11557         * check/Makefile.am: Depend on an unversioned gst-register, seems
11558         to make autoconf happier.
11559
11560         * gst/base/Makefile.am: Make libgstbase a versioned lib.
11561
11562 2005-03-28  Wim Taymans  <wim@fluendo.com>
11563
11564         * configure.ac:
11565         * docs/design/part-gstelement.txt:
11566         * docs/design/part-negotiation.txt:
11567         * docs/design/part-preroll.txt:
11568         * docs/design/part-scheduling.txt:
11569         * docs/design/part-states.txt:
11570         * gst/Makefile.am:
11571         * gst/base/Makefile.am:
11572         * gst/base/README:
11573         * gst/base/gstbasesink.c: (gst_basesink_get_template),
11574         (gst_basesink_base_init), (gst_basesink_class_init),
11575         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11576         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11577         (gst_basesink_set_pad_functions),
11578         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
11579         (gst_basesink_set_property), (gst_basesink_get_property),
11580         (gst_base_sink_get_template), (gst_base_sink_get_caps),
11581         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
11582         (gst_basesink_preroll_queue_push),
11583         (gst_basesink_preroll_queue_empty),
11584         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
11585         (gst_basesink_event), (gst_basesink_get_times),
11586         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
11587         (gst_basesink_chain_unlocked), (gst_basesink_chain),
11588         (gst_basesink_loop), (gst_basesink_activate),
11589         (gst_basesink_change_state):
11590         * gst/base/gstbasesink.h:
11591         * gst/elements/Makefile.am:
11592         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
11593         (gst_fakesink_class_init), (gst_fakesink_init),
11594         (gst_fakesink_set_property), (gst_fakesink_get_property),
11595         (gst_fakesink_get_times), (gst_fakesink_event),
11596         (gst_fakesink_preroll), (gst_fakesink_render),
11597         (gst_fakesink_change_state):
11598         * gst/elements/gstfakesink.h:
11599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11600         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
11601         * gst/gstelement.c: (gst_element_add_pad),
11602         (gst_element_get_state_func), (gst_element_abort_state),
11603         (gst_element_commit_state), (gst_element_lost_state),
11604         (gst_element_set_state), (gst_element_pads_activate):
11605         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
11606         * gst/gstpipeline.c: (gst_pipeline_send_event),
11607         (gst_pipeline_change_state):
11608         Added state change code.
11609         Added/updated docs.
11610         Added sink base class, make fakesink extend the base class.
11611         Small cleanups in GstPipeline.
11612
11613 2005-03-26  David Schleef  <ds@schleef.org>
11614
11615         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
11616         is broken and should be implemented in a different library.
11617         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
11618         * gst/gst.h: remove gstcpu.h
11619         * gst/gstcpu.c: remove
11620         * gst/gstcpu.h: remove
11621         * gst/Makefile.am.future: Remove this file.  It's ancient.
11622
11623 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11624
11625         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
11626         (gst_bin_send_event):
11627           Add default event/set_manager handlers. The set_manager handler
11628           takes care that the manager is distributed over kids that were
11629           already in the bin before the manager was set. The event handler
11630           is a utility virtual function that sends the event over all sinks,
11631           so that gst_element_send_event (bin, event); has the expected
11632           behaviour.
11633         * gst/gstpad.c: (gst_pad_event_default):
11634           Re-install default event handling for discontinuities, so that
11635           seeking works without requiring hacks in applications or extra
11636           code in sinks.
11637         * gst/gstpipeline.c: (gst_pipeline_class_init),
11638         (gst_pipeline_send_event):
11639           Half hack, half utility: set a pipeline to PAUSED for seek events,
11640           since that is the only way we can guarantee a/v sync. Means that
11641           you can do gst_element_seek (pipeline, method, pos); on a pipeline
11642           and it "just works".
11643
11644 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
11645
11646         * gst/gstpipeline.c: (gst_pipeline_use_clock):
11647           Lock/unlock mismatch.
11648
11649 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11650
11651         * docs/faq/gst-uninstalled:
11652           add gst-plugins-base
11653         * docs/gst/Makefile.am:
11654           don't error out until docs are fixed
11655         * docs/gst/gstreamer.types:
11656           remove thread
11657
11658 2005-03-22  Wim Taymans  <wim@fluendo.com>
11659
11660         * check/Makefile.am:
11661         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
11662         * gst/gststructure.c: (gst_structure_set_valist),
11663         (gst_structure_copy_conditional):
11664         Activated more tests.
11665         Added message test.
11666         Added G_TYPE_POINTER to GstStructure.
11667         
11668
11669 2005-03-22  Wim Taymans  <wim@fluendo.com>
11670
11671         * docs/design/part-TODO.txt:
11672         * docs/design/part-events.txt:
11673         * docs/design/part-gstbin.txt:
11674         * docs/design/part-gstbus.txt:
11675         * docs/design/part-gstpipeline.txt:
11676         * docs/design/part-messages.txt:
11677         * gst/gstbus.c:
11678         * gst/gstmessage.c:
11679         Docs updates
11680
11681 2005-03-21  Wim Taymans  <wim@fluendo.com>
11682
11683         * gst/gstbus.c: (gst_bus_post):
11684         Fix copy-and-paste error.
11685
11686 2005-03-21  Wim Taymans  <wim@fluendo.com>
11687
11688         * check/Makefile.am:
11689         * gst/Makefile.am:
11690         * gst/elements/Makefile.am:
11691         * gst/elements/gstelements.c:
11692         * gst/elements/gstfakesink.c: (gst_fakesink_init),
11693         (gst_fakesink_event), (gst_fakesink_chain):
11694         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11695         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
11696         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
11697         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
11698         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
11699         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
11700         (gst_fakesrc_loop), (gst_fakesrc_activate),
11701         (gst_fakesrc_change_state):
11702         * gst/elements/gstfakesrc.h:
11703         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11704         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
11705         (gst_filesrc_open_file), (gst_filesrc_loop),
11706         (gst_filesrc_activate), (gst_filesrc_change_state),
11707         (filesrc_find_peek), (filesrc_find_suggest),
11708         (gst_filesrc_type_find):
11709         * gst/elements/gstidentity.c: (gst_identity_finalize),
11710         (gst_identity_class_init), (gst_identity_init),
11711         (gst_identity_proxy_getcaps), (identity_queue_push),
11712         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
11713         (gst_identity_getrange), (gst_identity_chain),
11714         (gst_identity_sink_loop), (gst_identity_src_loop),
11715         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
11716         (gst_identity_set_property), (gst_identity_get_property),
11717         (gst_identity_change_state):
11718         * gst/elements/gstidentity.h:
11719         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11720         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
11721         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
11722         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
11723         (gst_tee_sink_activate):
11724         * gst/elements/gsttee.h:
11725         * gst/gst.c: (gst_register_core_elements), (init_post):
11726         * gst/gst.h:
11727         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
11728         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
11729         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
11730         (gst_bin_change_state):
11731         * gst/gstbin.h:
11732         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
11733         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
11734         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
11735         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
11736         (gst_bus_set_sync_handler), (gst_bus_create_watch),
11737         (bus_watch_callback), (bus_watch_destroy),
11738         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
11739         (poll_timeout), (gst_bus_poll):
11740         * gst/gstbus.h:
11741         * gst/gstcaps.h:
11742         * gst/gstdata.h:
11743         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
11744         (gst_element_post_message), (gst_element_message_full),
11745         (gst_element_get_state_func), (gst_element_get_state),
11746         (gst_element_abort_state), (gst_element_commit_state),
11747         (gst_element_lost_state), (gst_element_set_state),
11748         (gst_element_pads_activate), (gst_element_change_state),
11749         (gst_element_dispose), (gst_element_set_manager_func),
11750         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
11751         (gst_element_set_manager), (gst_element_get_manager),
11752         (gst_element_set_bus), (gst_element_get_bus),
11753         (gst_element_set_scheduler), (gst_element_get_scheduler):
11754         * gst/gstelement.h:
11755         * gst/gstevent.c: (gst_event_new_segment_seek),
11756         (gst_event_new_flush):
11757         * gst/gstevent.h:
11758         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
11759         (_gst_message_free), (gst_message_get_type), (gst_message_new),
11760         (gst_message_new_eos), (gst_message_new_error),
11761         (gst_message_new_warning), (gst_message_new_tag),
11762         (gst_message_new_state_changed), (gst_message_new_application),
11763         (gst_message_get_structure), (gst_message_parse_tag),
11764         (gst_message_parse_state_changed), (gst_message_parse_error),
11765         (gst_message_parse_warning):
11766         * gst/gstmessage.h:
11767         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
11768         (gst_real_pad_set_property), (gst_pad_set_active),
11769         (gst_pad_is_active), (gst_pad_set_blocked_async),
11770         (gst_pad_set_blocked), (gst_pad_is_blocked),
11771         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
11772         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
11773         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11774         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
11775         (gst_pad_link_filtered), (gst_pad_relink_filtered),
11776         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
11777         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
11778         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
11779         (gst_pad_set_caps), (gst_pad_configure_sink),
11780         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
11781         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
11782         (gst_real_pad_dispose), (gst_real_pad_finalize),
11783         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
11784         (gst_pad_event_default_dispatch), (gst_pad_event_default),
11785         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
11786         * gst/gstpad.h:
11787         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
11788         (pipeline_bus_handler), (gst_pipeline_change_state),
11789         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
11790         * gst/gstpipeline.h:
11791         * gst/gstprobe.h:
11792         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11793         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
11794         (gst_queue_link_src), (gst_queue_bufferalloc),
11795         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11796         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
11797         (gst_queue_loop), (gst_queue_handle_src_event),
11798         (gst_queue_handle_src_query), (gst_queue_src_activate),
11799         (gst_queue_change_state):
11800         * gst/gstqueue.h:
11801         * gst/gstscheduler.c: (gst_scheduler_init),
11802         (gst_scheduler_dispose), (gst_scheduler_create_task),
11803         (gst_scheduler_factory_create):
11804         * gst/gstscheduler.h:
11805         * gst/gststructure.c: (gst_structure_get_type),
11806         (gst_structure_copy_conditional):
11807         * gst/gststructure.h:
11808         * gst/gsttaginterface.h:
11809         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
11810         (gst_task_init), (gst_task_dispose), (gst_task_create),
11811         (gst_task_get_state), (gst_task_start), (gst_task_stop),
11812         (gst_task_pause):
11813         * gst/gsttask.h:
11814         * gst/gstthread.c:
11815         * gst/gstthread.h:
11816         * gst/gsttypes.h:
11817         * gst/schedulers/Makefile.am:
11818         * gst/schedulers/cothreads_compat.h:
11819         * gst/schedulers/entryscheduler.c:
11820         * gst/schedulers/faircothreads.c:
11821         * gst/schedulers/faircothreads.h:
11822         * gst/schedulers/fairscheduler.c:
11823         * gst/schedulers/gstbasicscheduler.c:
11824         * gst/schedulers/gstoptimalscheduler.c:
11825         * gst/schedulers/gthread-cothreads.h:
11826         * gst/schedulers/threadscheduler.c:
11827         (gst_thread_scheduler_task_get_type),
11828         (gst_thread_scheduler_task_class_init),
11829         (gst_thread_scheduler_task_init),
11830         (gst_thread_scheduler_task_start),
11831         (gst_thread_scheduler_task_stop),
11832         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
11833         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
11834         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
11835         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
11836         (plugin_init):
11837         * libs/gst/Makefile.am:
11838         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
11839         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
11840         (gst_file_pad_parent_set):
11841         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11842         (gst_dp_event_from_packet):
11843         * tests/complexity.c: (main):
11844         * tests/mass_elements.c: (main):
11845         * testsuite/states/locked.c: (message_received), (main):
11846         * testsuite/states/parent.c: (main):
11847         * tools/gst-inspect.c: (print_element_flag_info),
11848         (print_implementation_info), (print_pad_info):
11849         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
11850         (main):
11851         * tools/gst-md5sum.c: (event_loop), (main):
11852         * tools/gst-typefind.c: (main):
11853         * tools/gst-xmlinspect.c: (print_element_info):
11854         Next big merge.
11855         Added GstBus for mainloop integration.
11856         Added GstMessage for sending notifications on the bus.
11857         Added GstTask as an abstraction for pipeline entry points.
11858         Removed GstThread.
11859         Removed Schedulers.
11860         Simplified GstQueue for multithreaded core.
11861         Made _link threadsafe, removed old capsnego.
11862         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
11863         Added pad blocking functions.
11864         Reworked scheduling functions in GstPad to prepare for
11865         scheduling updates soon.
11866         Moved events out of data stream.
11867         Simplified GstEvent types.
11868         Added return values to push/pull.
11869         Removed clocking from GstElement.
11870         Added prototypes for state change function for next merge.
11871         Removed iterate from bins and state change management.
11872         Fixed some elements, disabled others for now.
11873         Fixed -inspect and -launch.
11874         Added check for GstBus.
11875
11876 2005-03-10  Wim Taymans  <wim@fluendo.com>
11877
11878         * docs/design/part-MT-refcounting.txt:
11879         * docs/design/part-clocks.txt:
11880         * docs/design/part-gstelement.txt:
11881         * docs/design/part-gstobject.txt:
11882         * docs/design/part-standards.txt:
11883         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11884         (gst_bin_remove_func), (gst_bin_remove):
11885         * gst/gstbin.h:
11886         * gst/gstbuffer.c:
11887         * gst/gstcaps.h:
11888         * testsuite/clock/clock1.c: (main):
11889         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
11890         (main):
11891         * testsuite/dlopen/loadgst.c: (do_test):
11892         * testsuite/refcounting/bin.c: (add_remove_test1),
11893         (add_remove_test2), (main):
11894         * testsuite/refcounting/element.c: (main):
11895         * testsuite/refcounting/element_pad.c: (main):
11896         * testsuite/refcounting/pad.c: (main):
11897         * tools/gst-launch.c: (sigint_handler_sighandler):
11898         * tools/gst-typefind.c: (main):
11899         Doc updates.
11900         Added doc about clock.
11901         removed gst_bin_iterate_recurse_up(), marked methods
11902         for removal.
11903         Fix more testsuites.
11904
11905 2005-03-09  Wim Taymans  <wim@fluendo.com>
11906
11907         * gst/gstpad.c: (gst_pad_get_direction),
11908         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
11909         (gst_pad_collect_valist):
11910         * testsuite/bins/interface.c: (main):
11911         * testsuite/caps/audioscale.c: (test_caps):
11912         * testsuite/caps/caps.c: (test1), (test2), (test3):
11913         * testsuite/caps/deserialize.c: (main):
11914         * testsuite/caps/enumcaps.c: (main):
11915         * testsuite/caps/filtercaps.c: (main):
11916         * testsuite/caps/intersect2.c: (main):
11917         * testsuite/caps/random.c: (main):
11918         * testsuite/caps/renegotiate.c: (my_fixate), (main):
11919         * testsuite/caps/sets.c: (check_caps):
11920         * testsuite/caps/simplify.c: (check_caps), (main):
11921         * testsuite/caps/subtract.c: (check_caps):
11922         Fix _pad_get_direction wrt ghostpads.
11923         Fix caps testsuite.
11924
11925 2005-03-09  Wim Taymans  <wim@fluendo.com>
11926
11927         * check/Makefile.am:
11928         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
11929         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
11930         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
11931         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
11932         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
11933         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
11934         (gst_bin_remove), (gst_bin_iterate_recurse_up),
11935         (bin_element_is_sink), (gst_bin_iterate_sinks),
11936         (gst_bin_iterate_all_by_interface):
11937         * gst/gstbin.h:
11938         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
11939         (gst_element_change_state), (gst_element_dispose),
11940         (gst_element_finalize), (gst_element_set_loop_function):
11941         * gst/gstelement.h:
11942         * gst/gstiterator.c: (find_custom_fold_func):
11943         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11944         (gst_pad_collectv), (gst_pad_collect_valist),
11945         (gst_pad_template_new):
11946         * gst/gstpipeline.c: (gst_pipeline_class_init),
11947         (gst_pipeline_dispose), (gst_pipeline_set_property),
11948         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
11949         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
11950         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
11951         * gst/gstutils.h:
11952         * gst/schedulers/entryscheduler.c:
11953         * gst/schedulers/gstbasicscheduler.c:
11954         (gst_basic_scheduler_cothreaded_chain),
11955         (gst_basic_scheduler_chain_add_element):
11956         * testsuite/bins/interface.c: (main):
11957         Added GstBin test.
11958         Added GstSystemClock test.
11959         Implemented clock distribution code in GstBin.
11960         Implemented iterate sinks method for future use.
11961         Rearranged gstelement.h
11962         Fix GstIterator comparison bug.
11963         Moved some code to GstPipeline, mostly clocking related.
11964
11965 2005-03-09  Wim Taymans  <wim@fluendo.com>
11966
11967         * configure.ac:
11968         * gst/gst_private.h:
11969         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
11970         (gst_bin_remove_func), (gst_bin_remove),
11971         (gst_bin_get_by_name_recurse_up):
11972         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
11973         (gst_clock_id_compare_func), (gst_clock_id_wait),
11974         (gst_clock_id_wait_async), (gst_clock_init),
11975         (gst_clock_adjust_unlocked), (gst_clock_get_time):
11976         * gst/gstelement.h:
11977         * gst/gstinfo.c: (_gst_debug_init):
11978         * gst/gstobject.h:
11979         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
11980         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
11981         * gst/gstpad.h:
11982         Bump version number, we're now 0.9.0
11983         Add future debugging category.
11984         Fix NULL _unref() in _get_by_name_recurse_up
11985         Rearrange gstpad.h.
11986         Update some docs.
11987
11988 2005-03-08  Wim Taymans  <wim@fluendo.com>
11989
11990         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
11991         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
11992         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11993         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
11994         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
11995         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
11996         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
11997         * gst/elements/gstidentity.c: (gst_identity_class_init):
11998         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
11999         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12000         * gst/elements/gstshaper.c: (gst_shaper_class_init):
12001         * gst/elements/gststatistics.c: (gst_statistics_class_init):
12002         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12003         (gst_tee_link):
12004         * gst/gstelement.c: (gst_element_class_init),
12005         (gst_element_base_class_init), (gst_element_init),
12006         (gst_element_get_random_pad), (gst_element_wait_state_change),
12007         (gst_element_change_state), (gst_element_dispose),
12008         (gst_element_finalize), (gst_element_set_loop_function):
12009         * gst/gstelement.h:
12010         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12011         * gst/gstthread.c: (gst_thread_class_init),
12012         (gst_thread_release_children_locks), (gst_thread_change_state):
12013         * gst/schedulers/gstbasicscheduler.c:
12014         (gst_basic_scheduler_loopfunc_wrapper),
12015         (gst_basic_scheduler_chain_wrapper),
12016         (gst_basic_scheduler_src_wrapper),
12017         (gst_basic_scheduler_remove_element):
12018         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12019         Remove threadsafe properties. Fix elements because GObject
12020         complains when installing a property before declaring a
12021         set/get_property handler.
12022         Rearrange gstelement.h file, use STATE macros for state locks.
12023         Free mutexes in the finalize method instead of dispose.
12024
12025 2005-03-08  Wim Taymans  <wim@fluendo.com>
12026
12027         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12028         * gst/gstthread.c: (gst_thread_release_children_locks):
12029         Added parentage check.
12030         Fix build og GstThread again.
12031
12032 2005-03-08  Wim Taymans  <wim@fluendo.com>
12033
12034         * docs/design/part-MT-refcounting.txt:
12035         * docs/design/part-conventions.txt:
12036         * docs/design/part-gstobject.txt:
12037         * docs/design/part-relations.txt:
12038         * docs/design/part-standards.txt:
12039         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12040         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12041         (gst_bin_get_by_name), (gst_bin_get_by_interface),
12042         (gst_bin_iterate_all_by_interface):
12043         * gst/gstbuffer.h:
12044         * gst/gstclock.h:
12045         * gst/gstelement.c: (gst_element_class_init),
12046         (gst_element_change_state), (gst_element_set_loop_function):
12047         * gst/gstelement.h:
12048         * gst/gstiterator.c:
12049         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12050         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12051         (gst_object_dispatch_properties_changed), (gst_object_set_name),
12052         (gst_object_set_parent), (gst_object_unparent),
12053         (gst_object_check_uniqueness):
12054         * gst/gstobject.h:
12055         Docs updates, clean up some headers.
12056
12057 2005-03-07  Wim Taymans  <wim@fluendo.com>
12058
12059         * check/.cvsignore:
12060         * check/Makefile.am:
12061         * check/gst-libs/.cvsignore:
12062         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12063         * check/gst/.cvsignore:
12064         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12065         (START_TEST), (gstbus_suite), (main):
12066         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12067         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12068         (gst_data_suite), (main):
12069         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12070         (add_fold_func), (gstiterator_suite), (main):
12071         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12072         (thread_name_object), (thread_name_object_default),
12073         (gst_object_name_compare), (gst_object_suite), (main):
12074         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12075         (gst_pad_suite), (main):
12076         * check/gstcheck.c: (gst_check_log_message_func),
12077         (gst_check_log_critical_func), (gst_check_init):
12078         * check/gstcheck.h:
12079         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12080         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12081         Added checks.
12082
12083 2005-03-07  Wim Taymans  <wim@fluendo.com>
12084
12085         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12086         (gst_list_iterator_next), (gst_list_iterator_resync),
12087         (gst_list_iterator_free), (gst_iterator_new_list),
12088         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12089         (gst_iterator_free), (gst_iterator_push), (filter_next),
12090         (filter_resync), (filter_uninit), (filter_free),
12091         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12092         (gst_iterator_foreach), (find_custom_fold_func),
12093         (gst_iterator_find_custom):
12094         * gst/gstiterator.h:
12095         Added missing files.
12096
12097 2005-03-07  Wim Taymans  <wim@fluendo.com>
12098
12099         * Makefile.am:
12100         * configure.ac:
12101         * docs/design/part-MT-refcounting.txt:
12102         * docs/design/part-conventions.txt:
12103         * docs/design/part-gstobject.txt:
12104         * docs/design/part-relations.txt:
12105         * examples/mixer/mixer.c: (main):
12106         * examples/thread/thread.c: (eos), (main):
12107         * gst/Makefile.am:
12108         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12109         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12110         (gst_spider_plug_from_srcpad):
12111         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12112         (gst_spider_identity_change_state),
12113         (gst_spider_identity_sink_loop_type_finding):
12114         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12115         * gst/elements/gstidentity.c: (gst_identity_init):
12116         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12117         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12118         * gst/elements/gsttypefindelement.c: (free_entry):
12119         * gst/gst.c:
12120         * gst/gst.h:
12121         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12122         (gst_bin_set_clock_func), (gst_bin_auto_clock),
12123         (gst_bin_set_index), (gst_bin_set_element_sched),
12124         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12125         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12126         (gst_bin_iterate_elements), (iterate_child_recurse),
12127         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12128         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12129         (compare_interface), (gst_bin_get_by_interface),
12130         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12131         * gst/gstbin.h:
12132         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12133         (gst_buffer_default_free), (gst_buffer_default_copy),
12134         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12135         (gst_buffer_create_sub):
12136         * gst/gstbuffer.h:
12137         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12138         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12139         (gst_caps_unref), (gst_static_caps_get),
12140         (gst_caps_remove_and_get_structure), (gst_caps_append),
12141         (gst_caps_append_structure), (gst_caps_remove_structure),
12142         (gst_caps_copy_nth), (gst_caps_set_simple),
12143         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12144         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12145         (gst_caps_structure_intersect_field), (gst_caps_intersect),
12146         (gst_caps_structure_subtract_field), (gst_caps_subtract),
12147         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12148         (gst_caps_structure_figure_out_union),
12149         (gst_caps_switch_structures), (gst_caps_do_simplify),
12150         (gst_caps_replace), (gst_caps_from_string),
12151         (gst_caps_copy_conditional):
12152         * gst/gstcaps.h:
12153         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12154         (_gst_clock_id_free), (gst_clock_id_unref),
12155         (gst_clock_id_compare_func), (gst_clock_id_wait),
12156         (gst_clock_id_wait_async), (gst_clock_class_init),
12157         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12158         (gst_clock_get_time), (gst_clock_set_time_adjust),
12159         (gst_clock_set_property), (gst_clock_get_property):
12160         * gst/gstclock.h:
12161         * gst/gstcompat.h:
12162         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12163         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12164         * gst/gstdata.h:
12165         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12166         (gst_element_requires_clock), (gst_element_provides_clock),
12167         (gst_element_set_clock), (gst_element_clock_wait),
12168         (gst_element_wait), (gst_element_set_time_delay),
12169         (gst_element_is_indexable), (gst_element_add_pad),
12170         (gst_element_add_ghost_pad), (gst_element_remove_pad),
12171         (pad_compare_name), (gst_element_get_static_pad),
12172         (gst_element_request_pad), (gst_element_get_request_pad),
12173         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12174         (gst_element_class_get_pad_template_list),
12175         (gst_element_class_get_pad_template), (gst_element_error_func),
12176         (gst_element_get_random_pad), (gst_element_get_event_masks),
12177         (gst_element_send_event), (gst_element_seek),
12178         (gst_element_get_query_types), (gst_element_query),
12179         (gst_element_get_formats), (gst_element_convert),
12180         (gst_element_is_locked_state), (gst_element_set_locked_state),
12181         (gst_element_sync_state_with_parent), (gst_element_change_state),
12182         (gst_element_finalize), (gst_element_yield),
12183         (gst_element_interrupt), (gst_element_set_scheduler),
12184         (gst_element_get_scheduler), (gst_element_set_loop_function):
12185         * gst/gstelement.h:
12186         * gst/gstevent.h:
12187         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12188         (gst_format_get_by_nick), (gst_format_get_details),
12189         (gst_format_iterate_definitions):
12190         * gst/gstformat.h:
12191         * gst/gstindex.c: (gst_index_gtype_resolver):
12192         * gst/gstinfo.c:
12193         * gst/gstinfo.h:
12194         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12195         (gst_mem_chunk_free):
12196         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12197         (gst_object_ref), (gst_object_unref), (gst_object_sink),
12198         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12199         (gst_object_dispatch_properties_changed),
12200         (gst_object_set_name_default), (gst_object_set_name),
12201         (gst_object_get_name), (gst_object_set_name_prefix),
12202         (gst_object_get_name_prefix), (gst_object_set_parent),
12203         (gst_object_get_parent), (gst_object_unparent),
12204         (gst_object_check_uniqueness), (gst_object_save_thyself),
12205         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12206         (gst_object_set_property), (gst_object_get_property),
12207         (gst_object_get_path_string):
12208         * gst/gstobject.h:
12209         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12210         (gst_real_pad_init), (gst_real_pad_get_property),
12211         (gst_pad_custom_new), (gst_pad_get_direction),
12212         (gst_pad_set_active), (gst_pad_is_active),
12213         (gst_pad_set_event_function), (gst_pad_is_linked),
12214         (gst_pad_link_free), (gst_pad_link_intersect),
12215         (gst_pad_link_fixate), (gst_pad_set_caps),
12216         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12217         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12218         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12219         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12220         (gst_pad_get_caps), (gst_pad_peer_get_caps),
12221         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12222         (gst_pad_realize), (gst_pad_get_allowed_caps),
12223         (gst_real_pad_dispose), (gst_real_pad_finalize),
12224         (gst_pad_collectv), (gst_pad_collect_valist),
12225         (gst_pad_template_dispose), (gst_pad_template_new),
12226         (gst_pad_get_internal_links):
12227         * gst/gstpad.h:
12228         * gst/gstpipeline.c: (gst_pipeline_dispose),
12229         (gst_pipeline_change_state):
12230         * gst/gstpipeline.h:
12231         * gst/gstplugin.c:
12232         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12233         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12234         * gst/gstpluginfeature.h:
12235         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12236         * gst/gstquery.c: (_gst_query_type_initialize),
12237         (gst_query_type_register), (gst_query_type_get_by_nick),
12238         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12239         * gst/gstquery.h:
12240         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12241         * gst/gstscheduler.c: (gst_scheduler_add_element),
12242         (gst_scheduler_factory_create):
12243         * gst/gststructure.c: (gst_structure_set_parent_refcount),
12244         (gst_structure_free), (gst_structure_set_name),
12245         (gst_structure_id_set_value), (gst_structure_set_value),
12246         (gst_structure_set_valist), (gst_structure_remove_field),
12247         (gst_structure_remove_fields),
12248         (gst_structure_remove_fields_valist),
12249         (gst_structure_remove_all_fields), (gst_structure_foreach),
12250         (gst_structure_map_in_place),
12251         (gst_caps_structure_fixate_field_nearest_int),
12252         (gst_caps_structure_fixate_field_nearest_double):
12253         * gst/gststructure.h:
12254         * gst/gstsystemclock.c: (gst_system_clock_class_init),
12255         (gst_system_clock_init), (gst_system_clock_dispose),
12256         (gst_system_clock_async_thread),
12257         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12258         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12259         * gst/gstsystemclock.h:
12260         * gst/gsttag.c: (gst_tag_list_add_value_internal),
12261         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12262         * gst/gsttaginterface.c:
12263         * gst/gstthread.c: (gst_thread_dispose),
12264         (gst_thread_release_children_locks), (gst_thread_change_state),
12265         (gst_thread_main_loop):
12266         * gst/gsttrashstack.h:
12267         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12268         * gst/gsttypes.h:
12269         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12270         (gst_element_request_pad), (gst_element_get_pad_from_template),
12271         (gst_element_request_compatible_pad),
12272         (gst_element_get_compatible_pad_filtered),
12273         (gst_element_get_compatible_pad), (gst_element_state_get_name),
12274         (gst_element_link_pads_filtered), (gst_element_link_filtered),
12275         (gst_element_link_many), (gst_element_link),
12276         (gst_element_link_pads), (gst_element_unlink_pads),
12277         (gst_element_unlink_many), (gst_element_unlink),
12278         (gst_pad_can_link_filtered), (gst_pad_can_link),
12279         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12280         (gst_object_default_error), (gst_bin_add_many),
12281         (gst_bin_remove_many), (gst_element_populate_std_props),
12282         (gst_element_class_install_std_props), (gst_buffer_merge),
12283         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12284         (link_fold_func), (gst_pad_proxy_setcaps):
12285         * gst/gstutils.h:
12286         * gst/gstvalue.c: (gst_value_deserialize_string):
12287         * gst/parse/grammar.y:
12288         * gst/schedulers/gstbasicscheduler.c:
12289         (gst_basic_scheduler_cothreaded_chain),
12290         (gst_basic_scheduler_chain_recursive_add),
12291         (gst_basic_scheduler_pad_link):
12292         * gst/schedulers/gstoptimalscheduler.c:
12293         (get_group_schedule_function),
12294         (gst_opt_scheduler_state_transition),
12295         (gst_opt_scheduler_add_element), (element_get_reachables_func):
12296         * libs/gst/bytestream/bytestream.c:
12297         * libs/gst/dataprotocol/dataprotocol.c:
12298         (gst_dp_header_from_buffer):
12299         * po/nb.po:
12300         * po/ru.po:
12301         * tests/threadstate/threadstate2.c: (eos):
12302         * tools/gst-compprep.c: (main):
12303         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12304         (print_pad_info), (print_children_info):
12305         * tools/gst-launch.c: (idle_func), (main):
12306         * tools/gst-md5sum.c: (idle_func), (main):
12307         * tools/gst-xmlinspect.c: (print_element_info):
12308         First THREADED backport attempt, focusing on adding locks and
12309         making sure the API is threadsafe. Needs more work. More docs
12310         follow this week.
12311
12312 2005-02-24  Andy Wingo  <wingo@pobox.com>
12313
12314         * tests/bench-complexity.scm:
12315         * tests/complexity.gnuplot: New files, good for running complexity
12316         benchmarks.
12317
12318         * tests/Makefile.am:
12319         * tests/complexity.c: New test, sets up N elements, at each level
12320         teeing into M streams per element. Eeeenteresting.
12321
12322         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12323         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12324         running bench-mass_elements.scm.
12325
12326         * tests/bench-mass_elements.scm: New script, runs mass_elements
12327         for various numbers of identities, outputting the results to a
12328         file. Requires guile 1.6. Just for testing.
12329
12330 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12331
12332         * gst/schedulers/fairscheduler.c:
12333           compile with debug disabled
12334
12335 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12336
12337         * configure.ac:
12338           hunting season on 0.9 is now OPEN